[Insight-users] GetPixel problems

Alex Houston ahouston_29 at yahoo.com
Wed Mar 16 11:47:05 EST 2005

Hi Guys,

I have problems replicating pixel values in ITK.

I have a problem regarding the mismatch of pixel
values read from Matlab and same values read from ITK
for dicom images.

Here is what I have done.

In Matlab, I create a text file containing
co-ordinates of pixels with a particular intensity.

I then read this text file in ITK and use GetPixel()
to read the pixel values. However these values are
very different from ones in Matlab. (The change in the
pixel value is not linear.... it seems to be random)

Has somebody faced this problems please advise, 

Thanks in advance

A. Houston

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!

More information about the Insight-users mailing list