class: ConfigWatershed
[165:7] extends: object
ConfigWatershed wraps boofcv.factory.segmentation.ConfigWatershed.
Members
- obj
Methods
-
ConfigWatershed (
string RuleName = "EIGHT", int MinimumRegionSize = 20)Creates a watershed config.
- @p
RuleNameis FOUR or EIGHT. - @p
MinimumRegionSizeis the minimum region size.
- @p
-
get (
string Name)Gets a config field.
- @p
Nameis connectRule or minimumRegionSize. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a config field.
- @p
Nameis connectRule or minimumRegionSize. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ImageSuperpixels
[56:7] extends: object
ImageSuperpixels wraps boofcv.abst.segmentation.ImageSuperpixels.
Members
- obj
Methods
-
ImageSuperpixels (
object Obj)Wraps a BoofCV ImageSuperpixels object.
- @p
Objis an existing ImageSuperpixels Java object or wrapper.
- @p
-
segment (
object Input, object Output)Segments an image into labeled superpixels.
- @p
Inputis the input image. - @p
Outputis a GrayS32 label image.
- @p
-
getTotalSuperpixels ()
Gets the total number of superpixels from the most recent segmentation.
- @r
Thetotal number of superpixels.
- @r
-
getRule ()
Gets the connectivity rule.
- @r
AConnectRule Java object.
- @r
-
getImageType ()
Gets the image type.
- @r
AnImageType Java object.
- @r
class: ConfigFh04
[136:7] extends: object
ConfigFh04 wraps boofcv.factory.segmentation.ConfigFh04.
Members
- obj
Methods
-
ConfigFh04 (
K = 300.0, int MinimumRegionSize = 20)Creates an FH04 config.
- @p
Kis the merge threshold. - @p
MinimumRegionSizeis the minimum region size.
- @p
-
get (
string Name)Gets a config field.
- @p
Nameis K, minimumRegionSize, connectRule, or approximateSortBins. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a config field.
- @p
Nameis K, minimumRegionSize, connectRule, or approximateSortBins. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: ConfigSlic
[89:7] extends: object
ConfigSlic wraps boofcv.factory.segmentation.ConfigSlic.
Members
- obj
Methods
-
ConfigSlic (
int NumberOfRegions = 100)Creates a SLIC config.
- @p
NumberOfRegionsis the requested region count.
- @p
-
get (
string Name)Gets a config field.
- @p
Nameis numberOfRegions, spacialWeight, totalIterations, or connectRule. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a config field.
- @p
Nameis numberOfRegions, spacialWeight, totalIterations, or connectRule. - @p
Valueis the new field value.
- @p
-
setTotalIterations (
int TotalIterations)Sets the total iteration count.
- @p
TotalIterationsis the number of SLIC iterations.
- @p
-
setSpacialWeight (
SpacialWeight)Sets the spatial weight.
- @p
SpacialWeightis the SLIC spatial weight.
- @p
-
setConnectRule (
string RuleName)Sets the connectivity rule.
- @p
RuleNameis FOUR or EIGHT.
- @p
-
checkValidity ()
Validates this config.
class: ConfigSegmentMeanShift
[194:7] extends: object
ConfigSegmentMeanShift wraps boofcv.factory.segmentation.ConfigSegmentMeanShift.
Members
- obj
Methods
-
ConfigSegmentMeanShift (
int SpacialRadius = 10, ColorRadius = 10.0, int MinimumRegionSize = 20, bool Fast = true)Creates a mean-shift segment config.
- @p
SpacialRadiusis the spatial radius. - @p
ColorRadiusis the color radius. - @p
MinimumRegionSizeis the minimum region size. - @p
Fastselects the fast implementation.
- @p
-
get (
string Name)Gets a config field.
- @p
Nameis spacialRadius, colorRadius, minimumRegionSize, fast, or connectRule. - @r
Thefield value.
- @p
-
set (
string Name, Value)Sets a config field.
- @p
Nameis spacialRadius, colorRadius, minimumRegionSize, fast, or connectRule. - @p
Valueis the new field value.
- @p
-
checkValidity ()
Validates this config.
class: FactoryImageSegmentation
[22:14] static extends: object
Static wrappers for boofcv.factory.segmentation.FactoryImageSegmentation.
Methods
-
meanShift (
object Config, object ImageTypeValue)Creates a mean-shift superpixel segmenter.
- @p
Configis a ConfigSegmentMeanShift wrapper or Java object. - @p
ImageTypeValueis an ImageType wrapper or Java object. - @r
AnImageSuperpixels wrapper.
- @p
-
slic (
object Config, object ImageTypeValue)Creates a SLIC superpixel segmenter.
- @p
Configis a ConfigSlic wrapper or Java object. - @p
ImageTypeValueis an ImageType wrapper or Java object. - @r
AnImageSuperpixels wrapper.
- @p
-
fh04 (
object Config, object ImageTypeValue)Creates an FH04 superpixel segmenter.
- @p
Configis a ConfigFh04 wrapper or Java object. - @p
ImageTypeValueis an ImageType wrapper or Java object. - @r
AnImageSuperpixels wrapper.
- @p
-
watershed (
object Config, object ImageTypeValue)Creates a watershed superpixel segmenter.
- @p
Configis a ConfigWatershed wrapper or Java object. - @p
ImageTypeValueis an ImageType wrapper or Java object. - @r
AnImageSuperpixels wrapper.
- @p