public class FactoryImageSegmentation
extends java.lang.Object
| Constructor and Description |
|---|
FactoryImageSegmentation() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageBase> |
fh04(ConfigFh04 config,
boofcv.struct.image.ImageType<T> imageType) |
static <T extends boofcv.struct.image.ImageBase> |
meanShift(ConfigSegmentMeanShift config,
boofcv.struct.image.ImageType<T> imageType) |
static <T extends boofcv.struct.image.ImageBase> |
slic(ConfigSlic config,
boofcv.struct.image.ImageType<T> imageType) |
static <T extends boofcv.struct.image.ImageBase> |
watershed(ConfigWatershed config,
boofcv.struct.image.ImageType<T> imageType)
Creates an instance of
WatershedVincentSoille1991. |
public static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> meanShift(ConfigSegmentMeanShift config, boofcv.struct.image.ImageType<T> imageType)
public static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> slic(ConfigSlic config, boofcv.struct.image.ImageType<T> imageType)
public static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> fh04(ConfigFh04 config, boofcv.struct.image.ImageType<T> imageType)
public static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> watershed(ConfigWatershed config, boofcv.struct.image.ImageType<T> imageType)
WatershedVincentSoille1991. Watershed works better when initial seeds
are provided. In this adaptation of watershed to ImageSuperpixels only the more basic algorithm
is used where each local minima is a region, which causes over segmentation. Watershed also only can process
gray scale U8 images. All other image types are converted into that format.T - config - Configuration. If null default is used.WatershedVincentSoille1991