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
FieldsModifier and TypeFieldDescriptionintNumber of additional iterations to perform.Specifies the smallest layer in pyramid.intRadius of Gaussian kernel when applying smoothing during Mutual Information computation.intNumber of possible pixel values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidChecks to see if the configuration is valid.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
-
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:ConfigurationChecks to see if the configuration is valid. If it is invalid, throw an exception explaining what is incorrect.- Specified by:
checkValidityin interfaceConfiguration
-
setTo
-