[vtkusers] vtkImageViewer --> SetColorWindow , SetColorLevel

Joeri Nicolaes joeri_vtk at hotmail.com
Wed Aug 25 06:15:12 EDT 2004


Hi Serhat,

With the SetColorWindow and SetColorLevel methods you can perform a gray
scale transformation. See attach (windowlevel.jpg) for a figure that shows
the significance of window and level. If you read in medical images in DICOM
format, the window and level configuration of the original image are
mentioned in the DICOM header (tags (0028,1050) and (0028,1051) ).

Greetz,

Joeri


----- Original Message ----- 
From: "Serhat Guneyli" <serhatguneyli at yahoo.com>
To: <vtkusers at vtk.org>
Sent: Wednesday, August 25, 2004 11:37 AM
Subject: [vtkusers] vtkImageViewer --> SetColorWindow , SetColorLevel


> Hi all,
>
> i try to visualize 2D images via vtkImageViewer
> (without any change) but the output I obtain is
> different from the original source. I obtain mostly
> black screen. can anyone give me some information
> about SetColorWindow and SetColorLevel methodes. Which
> parameters should I give so that I visualise the
> original image??
>
> Thanks in advance,
>
> Serhat
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile phone.
> http://mobile.yahoo.com/maildemo
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windowlevel.jpg
Type: image/jpeg
Size: 69070 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040825/f3dbcc3d/attachment.jpg>


More information about the vtkusers mailing list