예제 #1
0
RgbChannelCorrection::RgbChannelCorrection() :
	_correctionR(255),
	_correctionG(255),
	_correctionB(255)
{
	initializeMapping();
}
예제 #2
0
RgbChannelCorrection::RgbChannelCorrection(int correctionR, int correctionG, int correctionB) :
	_correctionR(correctionR),
	_correctionG(correctionG),
	_correctionB(correctionB)
{
	initializeMapping();
}
예제 #3
0
ColorTransform::ColorTransform() :
	_threshold(0),
	_gamma(1.0),
	_blacklevel(0.0),
	_whitelevel(1.0)
{
	initializeMapping();
}
예제 #4
0
ColorTransform::ColorTransform(double threshold, double gamma, double blacklevel, double whitelevel) :
	_threshold(threshold),
	_gamma(gamma),
	_blacklevel(blacklevel),
	_whitelevel(whitelevel)
{
	initializeMapping();
}
예제 #5
0
void ColorTransform::setWhitelevel(double whitelevel)
{
	_whitelevel = whitelevel;
	initializeMapping();
}
예제 #6
0
void ColorTransform::setBlacklevel(double blacklevel)
{
	_blacklevel = blacklevel;
	initializeMapping();
}
예제 #7
0
void ColorTransform::setGamma(double gamma)
{
	_gamma = gamma;
	initializeMapping();
}
예제 #8
0
void ColorTransform::setThreshold(double threshold)
{
	_threshold = threshold;
	initializeMapping();
}
예제 #9
0
void RgbChannelTransform::setWhitelevel(double whitelevel)
{
	_whitelevel = whitelevel;
	initializeMapping();
}
예제 #10
0
void RgbChannelTransform::setBlacklevel(double blacklevel)
{
	_blacklevel = blacklevel;
	initializeMapping();
}
예제 #11
0
void RgbChannelTransform::setGamma(double gamma)
{
	_gamma = gamma;
	initializeMapping();
}
예제 #12
0
void RgbChannelTransform::setThreshold(double threshold)
{
	_threshold = threshold;
	initializeMapping();
}
예제 #13
0
void RgbChannelCorrection::setcorrectionB(uint8_t correctionB)
{
	_correctionB = correctionB;
	initializeMapping();
}
예제 #14
0
void RgbChannelCorrection::setcorrectionG(uint8_t correctionG)
{
	_correctionG = correctionG;
	initializeMapping();
}
예제 #15
0
void RgbChannelCorrection::setcorrectionR(uint8_t correctionR)
{
	_correctionR = correctionR;
	initializeMapping();
}