[vtkusers] FillComponent and GetScalarRange
O'Connor, Aonghus
A.OConnor at ucc.ie
Tue Feb 20 11:49:28 EST 2007
Hello all,
I have been using vtk and itk for some time. It's pretty useful.
Question:
I have imported some data from a DICOM series and I want to fill the whole
region with a particular scalar value:
ImageImport.GetOutput().GetPointData().GetScalars().FillComponent(0, val);
ImageImport.UpdateWholeExtent();
double [] range = ImageImport.GetOutput().GetScalarRange();
The scalar range is (-1024,2000) but does not change after I fill the
region.
Why does the scalar range not change to (0.0,0.0) ?
Regards,
Aonghus
More information about the vtkusers
mailing list