Hamming norm of a vector
- Parameters
-
a | pointer to vector data |
n | length of a vector |
cellSize | how many bits of the vector will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4 |
result | pointer to result output |
Hamming distance between two vectors
- Parameters
-
a | pointer to first vector data |
b | pointer to second vector data |
n | length of vectors |
cellSize | how many bits of the vectors will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4 |
result | pointer to result output |
◆ hal_ni_normHamming8u()
int hal_ni_normHamming8u |
( |
const uchar * |
a, |
|
|
int |
n, |
|
|
int |
cellSize, |
|
|
int * |
result |
|
) |
| |
|
inline |
◆ hal_ni_normHammingDiff8u()
int hal_ni_normHammingDiff8u |
( |
const uchar * |
a, |
|
|
const uchar * |
b, |
|
|
int |
n, |
|
|
int |
cellSize, |
|
|
int * |
result |
|
) |
| |
|
inline |