Apply LUT
Applies LUT (look-up table) correction.
Сode 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
Output
ApplyLut.jpg
For AI-assisted development: Download Graphics Mill Code Samples XML Catalog