for my purposes I had to load a 2D dicom series (I used the example DicomSeriesReadSeriesWrite) and create a volume, then I had to change pixel format because my filter accepts only ‘float’ type. I used the CastImageFilter for this, and the RescaleIntensityImageFilter to scale my image between 0 and 255… would it be better for filtering and mathematical operations to put the range between 0 and 1? Do I really have to rescale the original intensity (-3200 and 3200) ?
Now I have to save the filtered volume into 2D slices, so I have to change again the pixel type into the original one…do I need to rescale the intensity into the original -3200, +3200? Or can i leave it between 0 - 255? Does it change something?
Thanks in advance for any help!