[Insight-developers] "strange" default values in ITK

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Mon Jul 18 05:08:04 EDT 2005


Hi,

Can someone have a look at this propositions ?
Should I fill a bug report for that, instead of posting to this list ?

Gaetan

On Wed, 29 Jun 2005 11:44:17 +0200, Gaetan Lehmann  
<gaetan.lehmann at jouy.inra.fr> wrote:

>
> Hi dear ITK developers,
>
> Some of default values in ITK are difficult to understand. I can be  
> wrong, but I think other values should be chosen :
>
> in BinaryErodeImageFilter, ErodeValue is 0 by default. The maximum value  
> of the pixel type (as in BinaryDilateImageFilter) seems to be a better  
> choice to me.
>
> in RescaleIntensityImageFilter, OutputMaximum is 0 and OutputMinimum is  
> the maximum value of the pixel type. I think it should be a good idea to  
> set OutputMaximum to the maximum value of the pixel type, and  
> OutputMinimum to the minimum value of the pixel type (even if it is  
> negative), so values are scaled on all avaible range by default
>
> Print() method should have sdt::err as default stream parameter. It  
> shouldn't change lot of things for c++ developers, but it should be very  
> usefull for other languages developers where c++ streams can't be easily  
> used.
>
> and there is surely some more "strange" default values :-)
>
> WDYT ?
>
> Gaetan
>



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 29 66
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
Web: http://voxel.jouy.inra.fr


More information about the Insight-developers mailing list