// file: $USFS/class/image_segmentation/v1.0/image_segmentation_constants.h
//
// this file defines global paths, file names and constants of the image
// segmentation class

// make sure the definitions are made only once
//
#ifndef __ISIP_IMAGE_SEGMENTATION_CONSTANTS
#define __ISIP_IMAGE_SEGMENTATION_CONSTANTS

// isip include files
//
#ifndef __ISIP_INTEGRAL
#include <integral.h>
#endif

#ifndef __ISIP_INTEGRAL_CONSTANTS
#include <integral_constants.h>
#endif

// define the class name
//
#define IMAGE_SEGMENTATION_CLASS_NAME (char_1*)"Image_segmentation"

// define available modes
//
#define IMAGS_MODE_TEST (int_4)0
#define IMAGS_MODE_TEST_NAME (char_1*)"test"

#define IMAGS_MODE_TRAIN (int_4)1
#define IMAGS_MODE_TRAIN_NAME (char_1*)"train"

// define the number of the models
//
#define IMAGS_NUM_MODELS (int_4)6

// define constants used to distinguish segmentation results.
// we use six colors of: brown, red, yellow, green, light blue and
// dark blue, to stand for the six available transcriptions of: tree,
// foliage, bush, grass, bgsky(background sky) and sky. the intensity
// values in the following arrays are in the same order as the
// transpcriptions listed above
//
static const uint_1 intensity_r[IMAGS_NUM_MODELS] = {
  120, 255, 255, 0, 0, 0
};

static const uint_1 intensity_g[IMAGS_NUM_MODELS] = {
  30, 0, 255, 255, 255, 0
};

static const uint_1 intensity_b[IMAGS_NUM_MODELS] = {
  30, 0, 0, 0, 255, 255
};

// end of file
//
#endif
