[Insight-users] RE: CT and window Levels

Iván Macía imacia at vicomtech.es
Wed Nov 29 09:58:56 EST 2006


Hi again,

You are right. If you are using VTK volume rendering it will only accept
type unsigned short. What you can do is using itk::ShiftScaleImageFilter
with input pixel type "short" and output pixel type "unsigned short". Then
set the scale to 1.0 and the shift to 1125.0 (as the minimum value for the
CT image is -1125). But this only for volume rendering purposes, for image
analysis I would keep working with the original "short" data.

This way it should work

HTH

Iván


-----Mensaje original-----
De: yasser salman [mailto:yass71 at yahoo.com] 
Enviado el: miércoles, 29 de noviembre de 2006 15:41
Para: Iván Macía
CC: insight-users at itk.org
Asunto: CT and window Levels

Hi Ivan,
yes i agree with you, but how i can render it using volume rendering when
i'm using it as Type short , as i know volume rendering can render only Type
unsigned short or unsigned Char  should i re-cast again? 
i mean using  type cast for display as 2D and tpye cast when i render it
using volume rendering?

Yasser

----- Original Message ----
From: Iván Macía <imacia at vicomtech.es>
To: yasser salman <yass71 at yahoo.com>; Luis Ibanez <luis.ibanez at kitware.com>
Cc: insight-users at itk.org
Sent: Wednesday, November 29, 2006 10:59:39 AM
Subject: RE: [Insight-users] CT and window Levels


Hi Yasser,

For CT images you need a "short" pixel type capable of storing the negative
values of the CT. You probably are using "unsigned short" which is adequate
for MRI images but not for CT.

HTH

Iván


-----Mensaje original-----
De: insight-users-bounces+imacia=vicomtech.es at itk.org
[mailto:insight-users-bounces+imacia=vicomtech.es at itk.org] En nombre de
yasser salman
Enviado el: martes, 28 de noviembre de 2006 22:39
Para: Luis Ibanez
CC: insight-users at itk.org
Asunto: [Insight-users] CT and window Levels

Hi All,
i'm reading a series of MRI DICOM format using vtk dicom image reader and
display it using vtkplane widget and segment it using itk, every thing is ok
with the series of MRI images (note: these images have a Min gray level 0
and max 450) but when i need to open a CT image (Gray levels from -1125 to
2024) the colors in the displayed images over-crashed and it seems to be
black and white except some region looks normal. how can i over come these
problem and
how can i get my displaying images Independence of the gray levels from the
reading images?



____________________________________________________________________________
________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/555 - Release Date: 27/11/2006
18:09


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 28/11/2006
15:22


_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


 
____________________________________________________________________________
________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 28/11/2006
15:22
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.14.19/556 - Release Date: 28/11/2006
15:22
 



More information about the Insight-users mailing list