|
libfovis
|
Calculates the Sum of Absolute Deviations (SAD) score between two vectors of length descriptor_len. More...
Public Member Functions | |
| int | getWorstScore () const |
| SAD (int descriptor_len) | |
| int32_t | score (const uint8_t *ref_desc, const uint8_t *target_desc) |
Calculates the Sum of Absolute Deviations (SAD) score between two vectors of length descriptor_len.
|
inline |
Calculate SAD score between ref_desc and target_desc. ref_desc and target_desc must be padded with zero-filled pad bytes up to multiple of 16.
1.8.9.1