This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#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 !~
#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.html2. 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.