Package boofcv.misc

Interface Compare_F32

All Known Implementing Classes:
SelectCorrelationSubpixel.F32_F32, SelectCorrelationWithChecks_F32, SelectCorrelationWithChecks_F32.DispU8, SelectCorrelationWta_F32_U8, SelectErrorBasicWta_F32_U8, SelectErrorSubpixel.F32_F32, SelectErrorWithChecks_F32, SelectErrorWithChecks_F32.DispU8

public interface Compare_F32
Compares two scores to see which is better
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    compare(float scoreA, float scoreB)
    1 = scoreA is better than scoreB 0 = scoreA is equivalent than scoreB -1 = scoreA is worse than scoreB
  • Method Details

    • compare

      int compare(float scoreA, float scoreB)
      • 1 = scoreA is better than scoreB
      • 0 = scoreA is equivalent than scoreB
      • -1 = scoreA is worse than scoreB