[Insight-users] vtk vs mhd images

Luis Ibanez luis.ibanez at kitware.com
Tue Mar 17 19:03:32 EDT 2009


David Pastor wrote:
>  
> As I don't want negative values, I get the minimum of the image (a 
> negative value) and create and offset image so adding it to the output 
> of SubtractImageFilter will return an image with positive values that i 
> template as unsigned short to avoid problems.
>  


BTW: You could have done this (with a lot less pain) by using
the RescaleIntensityImageFilter or the ShiftScaleImageFilter.



    Regards,



       Luis



More information about the Insight-users mailing list