Package boofcv.alg.video
Class RelativeBetter.ErrorHardRatioSq
java.lang.Object
boofcv.alg.video.RelativeBetter.ErrorHardRatioSq
- All Implemented Interfaces:
RelativeBetter
- Enclosing interface:
- RelativeBetter
Same as
RelativeBetter.ErrorHardRatio
but it assumes the input has been squared-
Nested Class Summary
Nested classes/interfaces inherited from interface boofcv.alg.video.RelativeBetter
RelativeBetter.ErrorHardRatio, RelativeBetter.ErrorHardRatioSq, RelativeBetter.MaximizeSoftRatio
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
computeBetterValue
(double valueA, double valueB) Computes how good valueA is relative to valueB.
-
Constructor Details
-
ErrorHardRatioSq
public ErrorHardRatioSq(double minimumB)
-
-
Method Details
-
computeBetterValue
public double computeBetterValue(double valueA, double valueB) Description copied from interface:RelativeBetter
Computes how good valueA is relative to valueB. If equal or N is better than 0.0 is returned. Otherwise a positive value is returned.- Specified by:
computeBetterValue
in interfaceRelativeBetter
- Parameters:
valueA
- Goodness value for AvalueB
- Goodness value for B- Returns:
- goodness ratio of A over B
-