Package boofcv.abst.disparity
Class ConfigSpeckleFilter
java.lang.Object
boofcv.abst.disparity.ConfigSpeckleFilter
- All Implemented Interfaces:
Configuration
,Serializable
Configuration for
DisparitySmootherSpeckleFilter
.- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionfinal ConfigLength
The maximum area (in pixels) for a region to be filtered.float
How similar two pixel values need to be for them to be considered connected -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.setTo
(ConfigSpeckleFilter 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
-
similarTol
public float similarTolHow similar two pixel values need to be for them to be considered connected -
maximumArea
The maximum area (in pixels) for a region to be filtered. If relative, then it's relative to width*height
-
-
Constructor Details
-
ConfigSpeckleFilter
public ConfigSpeckleFilter()
-
-
Method Details
-
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
-
setTo
-