Loading...

16-bit grayscale images

General discussions about GdPicture.NET.

16-bit grayscale images

Postby cyockey » Tue Jun 01, 2010 11:38 pm

How are 16-bit grayscale images handled by GdPicture? I assume that they are mapped down to 8-bit. Is there a Look Up Table that allows me to adjust which shades show up? Thanks.

Calvin
cyockey
 
Posts: 3
Joined: Tue Jun 01, 2010 11:28 pm

Re: 16-bit grayscale images

Postby Loïc » Thu Jun 03, 2010 10:11 am

Hi Calvin,

16 bpp grayscale bitmap are converted to 8bpp grayscale using linear conversion:

0-255 becode RGB(0,0,0)
256-511 become RGB(1,1,1)
512-767 become RGB(2,2,2)
...

Hope this helps.
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: 16-bit grayscale images

Postby cyockey » Thu Jun 03, 2010 3:31 pm

Thanks for the reply, Loïc.

Do you store the entire 16-bits in memory and just do the transform upon display? This would give me the opportunity to apply my own LUT which is necessary for medical images. Any chance you might add a LUT option?

Calvin
cyockey
 
Posts: 3
Joined: Tue Jun 01, 2010 11:28 pm

Re: 16-bit grayscale images

Postby Loïc » Mon Jun 07, 2010 9:47 am

Hi Calvin,

Sorry for the delay. No we convert the image to 8 bit based components on loading time. This for performance & easy usage purpose.

For the LUT option why not ? We have some research to do but I think we can easily bring this feature. I added it into our wish list for future investigation.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: 16-bit grayscale images

Postby cyockey » Mon Jun 07, 2010 4:36 pm

Thanks for considering the LUT, Loïc. That would be very useful for diagnostic imaging.

Cheers,

Calvin
cyockey
 
Posts: 3
Joined: Tue Jun 01, 2010 11:28 pm


Return to General discussions

Who is online

Users browsing this forum: No registered users and 1 guest