Apply LUT

View as Markdown

BitmapColor Adjustment

Applies LUT (look-up table) correction.

Code Snippet

using (var bitmap = new Bitmap("Chicago.jpg"))
using (var lut = new Lut())
{
    lut.SetPoint(50, 70);
    lut.SetPoint(100, 150);
    lut.InterpolationMode = LutInterpolationMode.Cubic;

    bitmap.ColorAdjustment.ApplyLut(lut);

    bitmap.Save("ApplyLut.jpg");
}

Input

Chicago.jpg

Chicago.jpg

Output

ApplyLut.jpg

ApplyLut.jpg

Used APIs