RgbChannelCorrection::RgbChannelCorrection() : _correctionR(255), _correctionG(255), _correctionB(255) { initializeMapping(); }
RgbChannelCorrection::RgbChannelCorrection(int correctionR, int correctionG, int correctionB) : _correctionR(correctionR), _correctionG(correctionG), _correctionB(correctionB) { initializeMapping(); }
ColorTransform::ColorTransform() : _threshold(0), _gamma(1.0), _blacklevel(0.0), _whitelevel(1.0) { initializeMapping(); }
ColorTransform::ColorTransform(double threshold, double gamma, double blacklevel, double whitelevel) : _threshold(threshold), _gamma(gamma), _blacklevel(blacklevel), _whitelevel(whitelevel) { initializeMapping(); }
void ColorTransform::setWhitelevel(double whitelevel) { _whitelevel = whitelevel; initializeMapping(); }
void ColorTransform::setBlacklevel(double blacklevel) { _blacklevel = blacklevel; initializeMapping(); }
void ColorTransform::setGamma(double gamma) { _gamma = gamma; initializeMapping(); }
void ColorTransform::setThreshold(double threshold) { _threshold = threshold; initializeMapping(); }
void RgbChannelTransform::setWhitelevel(double whitelevel) { _whitelevel = whitelevel; initializeMapping(); }
void RgbChannelTransform::setBlacklevel(double blacklevel) { _blacklevel = blacklevel; initializeMapping(); }
void RgbChannelTransform::setGamma(double gamma) { _gamma = gamma; initializeMapping(); }
void RgbChannelTransform::setThreshold(double threshold) { _threshold = threshold; initializeMapping(); }
void RgbChannelCorrection::setcorrectionB(uint8_t correctionB) { _correctionB = correctionB; initializeMapping(); }
void RgbChannelCorrection::setcorrectionG(uint8_t correctionG) { _correctionG = correctionG; initializeMapping(); }
void RgbChannelCorrection::setcorrectionR(uint8_t correctionR) { _correctionR = correctionR; initializeMapping(); }