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
FieldsModifier and TypeFieldDescriptionConnectivity ruleintRegions which are smaller than this are merged into a neighbor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks 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, waitMethods 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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-