Apply LUT
View as MarkdownApplies 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
Output
ApplyLut.jpg
Used APIs
- Aurigma.GraphicsMill.Bitmap.ColorAdjustment
- Aurigma.GraphicsMill.ColorAdjustmentProvider.ApplyLut(Lut)
- Aurigma.GraphicsMill.Transforms.Lut
- Aurigma.GraphicsMill.Transforms.Lut.InterpolationMode
- Aurigma.GraphicsMill.Transforms.Lut.SetPoint(Int32,Int32)
- Aurigma.GraphicsMill.Transforms.LutInterpolationMode