JHamming Class Reference

Utilities to facilitate calculation of the hamming distance. More...

#include <JHamming.h>

List of all members.

Static Public Member Functions

static void CreateHammingLUT32 (int *hamming_lookup, int bits_needed)
static int bytewise_hamming (char *img1, char *img2, int size)


Detailed Description

Utilities to facilitate calculation of the hamming distance.

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.


Member Function Documentation

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


The documentation for this class was generated from the following file:
Generated on Fri Feb 23 15:32:33 2007 for Jargon by  doxygen 1.5.1