Package boofcv.factory.segmentation
Class ConfigWatershed
java.lang.Object
boofcv.factory.segmentation.ConfigWatershed
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
WatershedVincentSoille1991
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionConnectivity ruleint
Regions which are smaller than this are merged into a neighbor. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigWatershed src) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface boofcv.struct.Configuration
serializeActiveFields, serializeInitialize
-
Field Details
-
connectRule
Connectivity rule -
minimumRegionSize
public int minimumRegionSizeRegions which are smaller than this are merged into a neighbor. Regions which have a similar color are merged together.
-
-
Constructor Details
-
ConfigWatershed
public ConfigWatershed() -
ConfigWatershed
-
-
Method Details
-
setTo
-
checkValidity
public void checkValidity()Description copied from interface:Configuration
Checks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidity
in interfaceConfiguration
-