[Insight-users] How to get the Dicom image intensity range?

Luis Ibanez luis.ibanez at kitware.com
Wed Dec 10 16:31:19 EST 2008


Hi Orientation f,

Use the itkMinimumMaximumImageCalculator:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1MinimumMaximumImageCalculator.html

or the StatisticsImageFilter:
http://www.itk.org/Insight/Doxygen/html/classitk_1_1StatisticsImageFilter.html


   Regards,


       Luis


------------------
orientation f wrote:
> Hi,
> I read the series dicom images with class itk::ImageSeriesReader, then 
> change them to vtk data with itk::ImageToVTKImageFilter.
> The pixel intensity value is:
> int pixelValue=data->GetScalarComponentAsFloat(point_x,point_y,0,0)
> I read heart, head and knee CT and MR images respectively, but all the 
> pixel intensity values in the image domain are between 0 and 255
> The DICOM image intensity range should be more bigger than 0~255, is 
> there any problem with above method to get the pixel value?
>  
> Best wishes


More information about the Insight-users mailing list