#include <Utils.h>
Public Member Functions | |
Utils (void) | |
Utils constructor. | |
~Utils (void) | |
Utils destructor. | |
Static Public Member Functions | |
static int | hamming (char *img1, char *img2) |
static void | save_script_data (char *file_path, language_profile *language, jcluster *first_cluster, int height, int width) |
Utils class contain utility functions for Jargon
Definition at line 9 of file Utils.h.
Utils::Utils | ( | void | ) |
Utils constructor.
Utils::~Utils | ( | void | ) |
Utils destructor.
static int Utils::hamming | ( | char * | img1, | |
char * | img2 | |||
) | [static] |
Harmming /param img1 /param img2 /return int
static void Utils::save_script_data | ( | char * | file_path, | |
language_profile * | language, | |||
jcluster * | first_cluster, | |||
int | height, | |||
int | width | |||
) | [static] |
save_script_data is a function to save out to training data to a text file in a defined format /param file_path file name to be saved /param language pointer pointing to the language list /param first_cluster pointer pointing to the first cluster /param height height of the component /param width width of the component