#define TEXTONS_FULL_SAMPLING
#define TEXTONS_PATCH_SIZE
uint8_t dictionary_number
void DistributionExtraction(uint8_t *frame, uint16_t width, uint16_t height)
Function that extracts a texton histogram from an image.
uint32_t n_learning_samples
#define TEXTONS_DICTIONARY_NUMBER
void save_texton_dictionary(void)
Save the texton dictionary.
#define TEXTONS_LOAD_DICTIONARY
#define TEXTONS_N_TEXTONS
void load_texton_dictionary(void)
Load a texton dictionary.
#define TEXTONS_N_LEARNING_SAMPLES
static FILE * dictionary_logger
struct image_t * texton_func(struct image_t *img)
Main texton processing function that first either loads or learns a dictionary and then extracts the ...
#define TEXTONS_BORDER_WIDTH
float * texton_distribution
#define TEXTONS_N_SAMPLES
uint8_t dictionary_initialized
void DictionaryTrainingYUV(uint8_t *frame, uint16_t width, uint16_t height)
Function that performs one pass for dictionary training.
#define TEXTONS_BORDER_HEIGHT