Package boofcv.factory.disparity
Class ConfigDisparityError.HMI
java.lang.Object
boofcv.factory.disparity.ConfigDisparityError.HMI
- All Implemented Interfaces:
ConfigDisparityError
,Configuration
,Serializable
- Enclosing interface:
- ConfigDisparityError
public static class ConfigDisparityError.HMI extends Object implements ConfigDisparityError
Configuration for Hierarchical Mutual Information.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface boofcv.factory.disparity.ConfigDisparityError
ConfigDisparityError.Census, ConfigDisparityError.HMI, ConfigDisparityError.NCC
-
Field Summary
Fields Modifier and Type Field Description int
extraIterations
Number of additional iterations to perform.ConfigDiscreteLevels
pyramidLayers
Specifies the smallest layer in pyramid.int
smoothingRadius
Radius of Gaussian kernel when applying smoothing during Mutual Information computation.int
totalGrayLevels
Number of possible pixel values. -
Constructor Summary
Constructors Constructor Description HMI()
-
Method Summary
Modifier and Type Method Description void
checkValidity()
Checks to see if the configuration is valid.ConfigDisparityError.HMI
setTo(ConfigDisparityError.HMI 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
-
totalGrayLevels
public int totalGrayLevelsNumber of possible pixel values. MI was designed around 8-bit images and performance will degrade for large values. -
pyramidLayers
Specifies the smallest layer in pyramid. Used to compute Mutual Information Cost -
smoothingRadius
public int smoothingRadiusRadius of Gaussian kernel when applying smoothing during Mutual Information computation. -
extraIterations
public int extraIterationsNumber of additional iterations to perform. This should improve the MI estimate, but the cost is significant.
-
-
Constructor Details
-
HMI
public HMI()
-
-
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
-