Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: About ApplyLinearVoiLut
Started by Neo.Ko at 07-19-2008 4:26. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  07-19-2008, 4:26
Neo.Ko is not online. Last active: 12/15/2008 1:32:57 AM Neo.Ko

Top 50 Posts
Joined on 01-25-2008
Posts 45
About ApplyLinearVoiLut
Reply Quote

Environment :
 - Leadtools V15 Medical Suite
 - Visual Basic .Net 2005

I load 16bit TIFF type image.
It was displayed almost black.

After run ApplyLinearVoiLut or HistogramEqualizer , It was shown correctly as I guess

I get pixel value of each pixels in this image by using MinMaxValuesCommand
'----------------------
                 Dim cmd As CopyRectangleCommand = New CopyRectangleCommand
                cmd.Rectangle = New Rectangle(x, y, 1, 1)
                cmd.Run(Img)
                Dim RImg As RasterImage = cmd.DestinationImage.Clone
                RImg.HighBit = Img.HighBit
                Dim cmd2 As MinMaxValuesCommand = New MinMaxValuesCommand
                cmd2.Run(RImg)
'--------------------

This code returns the value(0~4095) correctly

What is problem ? Why was Image shown so dark ?
What is the effect of ApplyLinearVoiLookupTableCommand?

I will attatch original image(TIFF) and send e-mail to support@leadtools.com linked this post

I need your help
Thank you.


   Report 
  07-19-2008, 4:45
Neo.Ko is not online. Last active: 12/15/2008 1:32:57 AM Neo.Ko

Top 50 Posts
Joined on 01-25-2008
Posts 45
Re: About ApplyLinearVoiLut
Reply Quote

I Sent e-mail

[Ticket#: 2008071910000115]


   Report 
  07-20-2008, 10:31
Adnan Ismail is not online. Last active: 1/6/2009 4:12:02 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,367
Re: About ApplyLinearVoiLut
Reply Quote
The range 0 to 4095 indicates the data is stored in the lower 12-bits of the image. This means the higher 4 bits are all zero.
When you treat the image as 16-bit, all the values are in the lower 6.25% of the grayscale range. In other words, all the lighter shades (4096 to 65535) are all missing from the image. Since the image only has the dark gray shades, it will appear almost black.

When you modify its histogram using some image processing functions, its gray shades will be expanded to fill a bigger part of the 16-bit range (0 to 65535), and you will see the bright area.

The ApplyLinearVoiLookupTableCommand Class does not modify the pixel data, but translates the intensify values from the 12-bit range to a different range based on the values you pass to the command.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Developer » Image Compressi... » Re: About ApplyLinearVoiLut

Powered by Community Server, by Telligent Systems