[vtkusers] why the DICOM image is completely white when I use lung color level and window?
David Gobbi
david.gobbi at gmail.com
Mon Sep 4 13:28:07 EDT 2017
Hi Liu Peng,
Use the reader's GetRescaleSlope() and GetRescaleIntercept(). See
http://dgobbi.github.io/vtk-dicom/doc/api/image_display.html and scroll
down to the "Grayscale image display" section.
For a run-down on some of the complications of Window/Level in DICOM, see
the following:
http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.11.html
http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.11.2.html
- David
On Mon, Sep 4, 2017 at 8:18 AM, Liu_tj <tjlp at netease.com> wrote:
> Hi,
>
> I use vtkImageViewer2 to display DICOM series. If I set the lung color
> level and window, which is -600 and 1200, to the vtkImageViewer2, the image
> is completely white.
>
> If I use other DICOM browser tool, with the same level and window, the
> DICOM is displayed correclty.
>
> What's wrong with the level and window setting to vtkImageViewer2?
>
> Thanks
>
> Liu Peng
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170904/a5a324ab/attachment.html>
More information about the vtkusers
mailing list