The following examples demonstrate the various operations available with the MIL Color Analysis module:
The example ColorRelativeCalibration.cpp shows you how to use relative color calibration to perform:
Food inspection, with M_HISTOGRAM_BASED (McolSetMethod()).
Print inspection, with M_COLOR_TO_COLOR (McolSetMethod()).
Electronic board inspection, with M_GLOBAL_MEAN_VARIANCE (McolSetMethod()).
The example Mcol.cpp shows you how to use color processing operations to perform:
Color segmentation of an image by classifying each pixel with 1 out of 6 color-samples. The ratio of each color in the image is then calculated.
Color identification of circular regions in objects located with the MIL Model Finder module.
Color separation of a signature and a stamp.