protected override void Process(ref byte pixelBlue, ref byte pixelGreen, ref byte pixelRed) { float diff = ColorMath.ColorDistance(pixelRed, pixelGreen, pixelBlue, _red, _green, _blue); bool needAdjust = diff < _colorTorence; if (needAdjust) { ColorAdjust(ref pixelRed, ref pixelGreen, ref pixelBlue, _hue, _saturation, _lightness); } }