Package boofcv.factory.disparity
Class ConfigDisparityError.NCC
java.lang.Object
boofcv.factory.disparity.ConfigDisparityError.NCC
- All Implemented Interfaces:
ConfigDisparityError
,Configuration
,Serializable
- Enclosing interface:
- ConfigDisparityError
Normalized cross correlation error
- 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 TypeFieldDescriptiondouble
Used to avoid a divide by zero error when dividing by the standard deviation.boolean
If true then the input will be normalized so that it has zero mean and a max absolute value of one. -
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
-
eps
public double epsUsed to avoid a divide by zero error when dividing by the standard deviation. Only used with NCC. Smaller values are more mathematically accurate but make it more sensitive to floating point error. This has been tuned to work with pixel values that have been scaled to -1 to 1. -
normalizeInput
public boolean normalizeInputIf true then the input will be normalized so that it has zero mean and a max absolute value of one. Reduces numerical issues.
-
-
Constructor Details
-
NCC
public NCC()
-
-
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
-