Package boofcv.factory.disparity
Class ConfigDisparityError.HMI
java.lang.Object
boofcv.factory.disparity.ConfigDisparityError.HMI
- All Implemented Interfaces:
ConfigDisparityError
,Configuration
,Serializable
- Enclosing interface:
- ConfigDisparityError
Configuration for Hierarchical Mutual Information.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface boofcv.factory.disparity.ConfigDisparityError
ConfigDisparityError.Census, ConfigDisparityError.HMI, ConfigDisparityError.NCC
-
Field Summary
Modifier and TypeFieldDescriptionint
Number of additional iterations to perform.Specifies the smallest layer in pyramid.int
Radius of Gaussian kernel when applying smoothing during Mutual Information computation.int
Number of possible pixel values. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks to see if the configuration is valid.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
-