Welcome Guest! You need to login or register to make posts.



Go to last post Go to first unread
#1 Posted : Friday, February 16, 2018 10:08:43 AM(UTC)

Rank: Newbie

Groups: Member
Joined: 2/16/2018(UTC)
Posts: 2


first of all great product you have there!

I am using the evaluation version right now and have set up a simple pipeline.

It all works nicely with 24bpp but I would like to run the whole pipeline from input to output in 48bpp.

Let's say for example I have:

JpegReader --> Brightness --> LUT --> Bitmap

How do I specify that I want to convert the read image to 48bpp and keep that setting through the whole pipeline?

Also: Is it possible to switch the LUT to floating point mode? So instead of doing:

lut.SetPoint(0, 0);
lut.SetPoint(128, 100);
lut.SetPoint(255, 255);

I would like:

lut.SetPoint(0.0, 0.0);
lut.SetPoint(0.5, 0.3);
lut.SetPoint(1.0, 1.0);

And my last question: Are you planning on supporting 32bits per channel in the future?


Edited by user Friday, February 16, 2018 12:12:31 PM(UTC)  | Reason: Not specified

Eugene Kosmin  
#2 Posted : Sunday, February 18, 2018 5:25:16 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 439

Was thanked: 22 time(s) in 22 post(s)

Thanks for your suggestion. I'll add it to our bug tracking system. Now you can set up LutTransform from OnInit event handler and use it with both types of pixel formats.
using (var reader = ImageReader.Create("input.tif"))
using (var writer = ImageWriter.Create("output.tif"))
using (var lt = new LutTransform())
    lt.OnInit += (sender, e) =>
        var lutTransform = (LutTransform)sender;
        lutTransform.Lut = new Lut();
        lutTransform.Lut.InterpolationMode = LutInterpolationMode.Linear;

        if (e.ImageParams.PixelFormat.IsExtended)
            lutTransform.Lut.SetPoint(0, 65535);
            lutTransform.Lut.SetPoint(65536, 0);
            lutTransform.Lut.SetPoint(0, 255);
            lutTransform.Lut.SetPoint(256, 0);

    Pipeline.Run(reader + lt + writer);

And my last question: Are you planning on supporting 32bits per channel in the future? Thanks!

At the moment, we have no plans for adding 32bpc pixel formats.
Best regards,
Eugene Kosmin.
Aurigma Development Team
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.