public class FactoryImageSegmentation
extends java.lang.Object
ImageSuperpixels algorithms, which are used to segment the image into super pixels.| 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)
Creates a new instance of
SegmentFelzenszwalbHuttenlocher04 which is in a wrapper for ImageSuperpixels. |
static <T extends boofcv.struct.image.ImageBase> |
meanShift(ConfigSegmentMeanShift config,
boofcv.struct.image.ImageType<T> imageType)
Creates a new instance of
SegmentMeanShift which is in a wrapper for ImageSuperpixels. |
static <T extends boofcv.struct.image.ImageBase> |
slic(ConfigSlic config,
boofcv.struct.image.ImageType<T> imageType)
Creates a new instance of
SegmentSlic which is in a wrapper for ImageSuperpixels. |
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)
SegmentMeanShift which is in a wrapper for ImageSuperpixels.T - Image typeconfig - Configuration. If null then defaults are used.imageType - Type of input image.ImageSuperpixelsSegmentMeanShiftpublic static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> slic(ConfigSlic config, boofcv.struct.image.ImageType<T> imageType)
SegmentSlic which is in a wrapper for ImageSuperpixels.T - Image typeconfig - Configuration.imageType - Type of input image.ImageSuperpixelsSegmentSlicpublic static <T extends boofcv.struct.image.ImageBase> ImageSuperpixels<T> fh04(ConfigFh04 config, boofcv.struct.image.ImageType<T> imageType)
SegmentFelzenszwalbHuttenlocher04 which is in a wrapper for ImageSuperpixels.T - Image typeconfig - Configuration. If null defaults are used.imageType - Type of input image.ImageSuperpixelsSegmentFelzenszwalbHuttenlocher04public 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 - Image typeconfig - Configuration. If null default is used.ImageSuperpixelsWatershedVincentSoille1991