#include <JHamming.h>
Static Public Member Functions | |
static void | CreateHammingLUT32 (int *hamming_lookup, int bits_needed) |
static int | bytewise_hamming (char *img1, char *img2, int size) |
The JHamming class contains several routines that are aimed at facilitating calculation of the hamming distance between two arrays.
Definition at line 10 of file JHamming.h.
static void JHamming::CreateHammingLUT32 | ( | int * | hamming_lookup, | |
int | bits_needed | |||
) | [static] |
Creates a lookup table that is used to speed up the calculation of the hamming distance
static int JHamming::bytewise_hamming | ( | char * | img1, | |
char * | img2, | |||
int | size | |||
) | [static] |
Calculates the hamming distance