boofcv.factory.segmentation
Class ConfigSlic
- java.lang.Object
-
- boofcv.factory.segmentation.ConfigSlic
-
public class ConfigSlic extends java.lang.ObjectConfiguration used when creatingSegmentSlicviaFactoryImageSegmentation.
-
-
Field Summary
Fields Modifier and Type Field and Description ConnectRuleconnectRuleConnection rule that is used when merging small regions.intnumberOfRegionsNumber of regions which will be initially seeded.floatspacialWeightLarger values place more weight on the spacial component.inttotalIterationsNumber of mean-shift iterations.
-
Constructor Summary
Constructors Constructor and Description ConfigSlic(int numberOfRegions)ConfigSlic(int numberOfRegions, float spacialWeight)
-
-
-
Field Detail
-
numberOfRegions
public int numberOfRegions
Number of regions which will be initially seeded. The actually number of regions at the end will vary a bit due to merging of small regions and the image border.
-
spacialWeight
public float spacialWeight
Larger values place more weight on the spacial component. For 8-bit RGB a value of 200 works well.
-
totalIterations
public int totalIterations
Number of mean-shift iterations. Typically has converged by 10 iterations.
-
connectRule
public ConnectRule connectRule
Connection rule that is used when merging small regions.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG