[vtkusers] window-level problem
mathieu.malaterre at gmail.com
Thu Jul 5 04:10:04 EDT 2007
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:
> 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:
> Follow this link to subscribe/unsubscribe:
More information about the vtkusers