boofcv.factory.segmentation
Class FactorySegmentationAlg
- java.lang.Object
-
- boofcv.factory.segmentation.FactorySegmentationAlg
-
public class FactorySegmentationAlg extends java.lang.ObjectFactory for low level segmentation algorithms.
-
-
Constructor Summary
Constructors Constructor and Description FactorySegmentationAlg()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static <T extends ImageBase>
SegmentFelzenszwalbHuttenlocher04<T>fh04(ConfigFh04 config, ImageType<T> imageType)static <T extends ImageBase>
SegmentMeanShift<T>meanShift(ConfigSegmentMeanShift config, ImageType<T> imageType)Creates an instance ofSegmentMeanShift.static <T extends ImageBase>
ComputeRegionMeanColor<T>regionMeanColor(ImageType<T> imageType)Creates an instance ofComputeRegionMeanColorfor the specified image type.static <T extends ImageBase>
SegmentSlic<T>slic(ConfigSlic config, ImageType<T> imageType)static WatershedVincentSoille1991watershed(ConnectRule rule)static <T extends ImageBase>
FhEdgeWeights<T>weightsFelzenszwalb04(ConnectRule rule, ImageType<T> imageType)
-
-
-
Method Detail
-
regionMeanColor
public static <T extends ImageBase> ComputeRegionMeanColor<T> regionMeanColor(ImageType<T> imageType)
Creates an instance ofComputeRegionMeanColorfor the specified image type.- Parameters:
imageType- image type- Returns:
- ComputeRegionMeanColor
-
meanShift
public static <T extends ImageBase> SegmentMeanShift<T> meanShift(ConfigSegmentMeanShift config, ImageType<T> imageType)
Creates an instance ofSegmentMeanShift. Uniform distributions are used for spacial and color weights.- Parameters:
config- Specify configuration for mean-shiftimageType- Type of input image- Returns:
- SegmentMeanShift
-
weightsFelzenszwalb04
public static <T extends ImageBase> FhEdgeWeights<T> weightsFelzenszwalb04(ConnectRule rule, ImageType<T> imageType)
-
fh04
public static <T extends ImageBase> SegmentFelzenszwalbHuttenlocher04<T> fh04(ConfigFh04 config, ImageType<T> imageType)
-
slic
public static <T extends ImageBase> SegmentSlic<T> slic(ConfigSlic config, ImageType<T> imageType)
-
watershed
public static WatershedVincentSoille1991 watershed(ConnectRule rule)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG