Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Monday, December 14, 2009 10:50:34 PM(UTC)


Groups: Registered
Posts: 19

how to convert the image pixel data by a defined lut ? at .net  and Leadtools 16.5..

relation to pure grayscales,

1. it seems that the RasterImage.SetLookupTable() is just for painting , does LT provide cmd to invert the pixel datas by lut ?

2. I know that usually image(grayscales) will be converted to 8-bit for painting , if the original image is 16-bit, how dose the pixels be changed? for example :0~255 to 0 , 256~511 to 1,  512~767 to 2, ... and  65280~65535(16bit img) to 255(8bit img).  whether or not?


thanks !~


Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, December 15, 2009 7:03:01 AM(UTC)


Groups: Guests
Posts: 3,022

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

1. If you have a lookup table that you want to apply to the pixel data to change the bitmap to 24-bit RGB permanently (not only the display of the image), you can use the WindowLevelCommand class to do it. For more details, see the help: http://www.leadtools.com....WindowLevelCommand.html

2. I believe you asked a similar question in a different forum post, and the answer was to divide by 256 using integer division. If this is does not answer you, please go back to the original forum post and continue the discussion there.
#3 Posted : Wednesday, December 16, 2009 12:14:16 AM(UTC)


Groups: Registered
Posts: 19

1.  OK, I got it ...

2. May be I got something from what u said !~

thank u !~.

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.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.046 seconds.