OpenCV  4.10.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Functions

Detailed Description

Hamming norm of a vector

Parameters
apointer to vector data
nlength of a vector
cellSizehow many bits of the vector will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4
resultpointer to result output

Hamming distance between two vectors

Parameters
apointer to first vector data
bpointer to second vector data
nlength of vectors
cellSizehow many bits of the vectors will be added and treated as a single bit, can be 1 (standard Hamming distance), 2 or 4
resultpointer to result output

Functions

int hal_ni_normHamming8u (const uchar *a, int n, int cellSize, int *result)
 
int hal_ni_normHammingDiff8u (const uchar *a, const uchar *b, int n, int cellSize, int *result)
 

Function Documentation

◆ 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