7 #ifndef __COLOR_IMAGE_H__
8 #define __COLOR_IMAGE_H__
10 #include "ImageBase.h"
11 #include "BinaryImage.h"
12 #include "Threshold.h"
20 BinaryImage *
ThresholdHSL(
int hueLow,
int hueHigh,
int saturationLow,
int saturationHigh,
int luminenceLow,
int luminenceHigh);
21 BinaryImage *
ThresholdHSV(
int hueLow,
int hueHigh,
int saturationLow,
int saturationHigh,
int valueHigh,
int valueLow);
22 BinaryImage *
ThresholdHSI(
int hueLow,
int hueHigh,
int saturationLow,
int saturationHigh,
int intensityLow,
int intensityHigh);
52 void LuminanceEqualize();
55 BinaryImage *ComputeThreshold(ColorMode colorMode,
int low1,
int high1,
int low2,
int high2,
int low3,
int high3);
56 void Equalize(
bool allPlanes);
57 MonoImage * ExtractColorPlane(ColorMode mode,
int planeNumber);
58 MonoImage * ExtractFirstColorPlane(ColorMode mode);
59 MonoImage * ExtractSecondColorPlane(ColorMode mode);
60 MonoImage * ExtractThirdColorPlane(ColorMode mode);
61 void ReplacePlane(ColorMode mode,
MonoImage *plane,
int planeNumber);
62 void ReplaceFirstColorPlane(ColorMode mode,
MonoImage *plane);
63 void ReplaceSecondColorPlane(ColorMode mode,
MonoImage *plane);
64 void ReplaceThirdColorPlane(ColorMode mode,
MonoImage *plane);
void ReplaceGreenPlane(MonoImage *plane)
void ReplaceLuminancePlane(MonoImage *plane)
void ReplaceHSIHuePlane(MonoImage *plane)
void ReplaceHSVSaturationPlane(MonoImage *plane)
BinaryImage * ThresholdHSI(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int intensityLow, int intensityHigh)
BinaryImage * ThresholdHSV(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int valueHigh, int valueLow)
void ReplaceHSLHuePlane(MonoImage *plane)
void ReplaceHSLSaturationPlane(MonoImage *plane)
void ReplaceBluePlane(MonoImage *plane)
BinaryImage * ThresholdHSL(int hueLow, int hueHigh, int saturationLow, int saturationHigh, int luminenceLow, int luminenceHigh)
void ReplaceHSISaturationPlane(MonoImage *plane)
void ReplaceValuePlane(MonoImage *plane)
void ReplaceIntensityPlane(MonoImage *plane)
void ReplaceHSVHuePlane(MonoImage *plane)
BinaryImage * ThresholdRGB(int redLow, int redHigh, int greenLow, int greenHigh, int blueLow, int blueHigh)
void ReplaceRedPlane(MonoImage *plane)