segment

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package segment provides basic image segmentation and clusterring methods.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Threshold

func Threshold(img image.Image, level uint8) *image.Gray

Threshold returns a grayscale image in which values from the param img that are smaller than the param level are set to black and values larger than or equal to it are set to white. Level must be of the range 0 to 255.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL