[vtkusers] window-level problem

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Jul 5 04:10:04 EDT 2007

Hi fu,

  What is the scalar range you get when doing:

  vtkDICOMImageReader *reader = vtkDICOMImageReader::New();
  reader->SetFileName( ... );
  double *range = reader->GetOutput()->GetScalarRange();


On 7/5/07, orientation fu <fuzengliang435 at gmail.com> wrote:
> hi,
> I read the CT image with vtkDICOMImageReader function, and get per-pixel's
> value with the function GetScalarComponentAsDouble() of vtkImageData class.
> But the value range is very large, so there maybe some problem when I
> process the image with the value( for example, the processed CT image shows
> nothing after a 3×3 sobel operator, and the high value of the processed
> pixel is considerable high).
> Maybe the pixel value should be undered a window-level transfer process, but
> I know a little about it. please give me some suggestion or material.
> thank you very much!
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers


More information about the vtkusers mailing list