[Insight-developers] changing RescaleIntensityImageFilter default values

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Oct 18 10:09:16 EDT 2006


Nobody seems to be against that, and all the test are green, so I'm  
committing the changes

Gaetan


On Tue, 17 Oct 2006 13:34:00 +0200, Gaetan Lehmann  
<gaetan.lehmann at jouy.inra.fr> wrote:

>
> Hi,
>
> Currently, the default values of RescaleIntensityImageFilter make that  
> filter not usable without changing both OutputMaximum and OutputMinimum.  
> If no one is against, and because it shouldn't break backward  
> compatibility, I would like change the default values from:
>
> m_OutputMaximum   = NumericTraits<OutputPixelType>::Zero;
> m_OutputMinimum   = NumericTraits<OutputPixelType>::max();
>
> to:
>
> m_OutputMaximum   = NumericTraits<OutputPixelType>::max();
> m_OutputMinimum   = NumericTraits<OutputPixelType>::NonpositiveMin();
>
> If I shouldn't do that, please just tell me
>
> Regards,
>
> Gaetan
>
>
>



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list