[Insight-users] get 3D DICOM image size and rescale DICOM intensity

Karthik Krishnan Karthik.Krishnan at kitware.com
Wed Dec 21 13:14:26 EST 2005



Zien wrote:

> Hi,all :
> I want to read a 3D DICOM image then get intensity in every pixel.
> These intensity value will be rescale to the range between 0 to 255,
> and then assign to C-style array.
>
> I am encountering some question as below.
>
> 1)How to get 3D DICOM image size and save it to array?
>
See Examples/DataRepresentation/Image/Image5.cxx on how to import/export 
the image data into CStyle arrays

> 2)How to rescale DICOM intensity to the range between [0,255]?

Use the RescaleIntensityImageFilter . 

>
> Thanks ..
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>  
>


More information about the Insight-users mailing list