Basics
Guides
API Reference
Basics
Guides
API Reference
[149:7] extends: object
ConfigWatershed wraps boofcv.factory.segmentation.ConfigWatershed.
ConfigWatershed (string RuleName = "EIGHT", int MinimumRegionSize = 20)
Creates a watershed config.
RuleName is FOUR or EIGHT.MinimumRegionSize is the minimum region size.get (string Name)
Gets a config field.
Name is connectRule or minimumRegionSize.The field value.set (string Name, Value)
Sets a config field.
Name is connectRule or minimumRegionSize.Value is the new field value.checkValidity ()
Validates this config.
[40:7] extends: object
ImageSuperpixels wraps boofcv.abst.segmentation.ImageSuperpixels.
ImageSuperpixels (object Obj)
Wraps a BoofCV ImageSuperpixels object.
Obj is an existing ImageSuperpixels Java object or wrapper.segment (object Input, object Output)
Segments an image into labeled superpixels.
Input is the input image.Output is a GrayS32 label image.getTotalSuperpixels ()
Gets the total number of superpixels from the most recent segmentation.
The total number of superpixels.getRule ()
Gets the connectivity rule.
A ConnectRule Java object.getImageType ()
Gets the image type.
An ImageType Java object.[120:7] extends: object
ConfigFh04 wraps boofcv.factory.segmentation.ConfigFh04.
ConfigFh04 (K = 300.0, int MinimumRegionSize = 20)
Creates an FH04 config.
K is the merge threshold.MinimumRegionSize is the minimum region size.get (string Name)
Gets a config field.
Name is K, minimumRegionSize, connectRule, or approximateSortBins.The field value.set (string Name, Value)
Sets a config field.
Name is K, minimumRegionSize, connectRule, or approximateSortBins.Value is the new field value.checkValidity ()
Validates this config.
[73:7] extends: object
ConfigSlic wraps boofcv.factory.segmentation.ConfigSlic.
ConfigSlic (int NumberOfRegions = 100)
Creates a SLIC config.
NumberOfRegions is the requested region count.get (string Name)
Gets a config field.
Name is numberOfRegions, spacialWeight, totalIterations, or connectRule.The field value.set (string Name, Value)
Sets a config field.
Name is numberOfRegions, spacialWeight, totalIterations, or connectRule.Value is the new field value.setTotalIterations (int TotalIterations)
Sets the total iteration count.
TotalIterations is the number of SLIC iterations.setSpacialWeight (SpacialWeight)
Sets the spatial weight.
SpacialWeight is the SLIC spatial weight.setConnectRule (string RuleName)
Sets the connectivity rule.
RuleName is FOUR or EIGHT.checkValidity ()
Validates this config.
[178:7] extends: object
ConfigSegmentMeanShift wraps boofcv.factory.segmentation.ConfigSegmentMeanShift.
ConfigSegmentMeanShift (int SpacialRadius = 10, ColorRadius = 10.0, int MinimumRegionSize = 20, bool Fast = true)
Creates a mean-shift segment config.
SpacialRadius is the spatial radius.ColorRadius is the color radius.MinimumRegionSize is the minimum region size.Fast selects the fast implementation.get (string Name)
Gets a config field.
Name is spacialRadius, colorRadius, minimumRegionSize, fast, or connectRule.The field value.set (string Name, Value)
Sets a config field.
Name is spacialRadius, colorRadius, minimumRegionSize, fast, or connectRule.Value is the new field value.checkValidity ()
Validates this config.
[6:14] static extends: object
Static wrappers for boofcv.factory.segmentation.FactoryImageSegmentation.
meanShift (object Config, object ImageTypeValue)
Creates a mean-shift superpixel segmenter.
Config is a ConfigSegmentMeanShift wrapper or Java object.ImageTypeValue is an ImageType wrapper or Java object.An ImageSuperpixels wrapper.slic (object Config, object ImageTypeValue)
Creates a SLIC superpixel segmenter.
Config is a ConfigSlic wrapper or Java object.ImageTypeValue is an ImageType wrapper or Java object.An ImageSuperpixels wrapper.fh04 (object Config, object ImageTypeValue)
Creates an FH04 superpixel segmenter.
Config is a ConfigFh04 wrapper or Java object.ImageTypeValue is an ImageType wrapper or Java object.An ImageSuperpixels wrapper.watershed (object Config, object ImageTypeValue)
Creates a watershed superpixel segmenter.
Config is a ConfigWatershed wrapper or Java object.ImageTypeValue is an ImageType wrapper or Java object.An ImageSuperpixels wrapper.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.