[Insight-users] Not so Silly questions about registration

Luis Ibanez luis.ibanez@kitware.com
Sun, 09 Mar 2003 15:28:12 -0500


Hi David, Daniel,


The GradientRecursiveGaussianFilter has been fixed
in order to manage any basic C type as pixel type
of the input image. It now uses internally float
images in order to store intermediate results.

This filter has an internal pipeline with N filters
(N = image dimension). The type conversion is done
in the first filter. After that, all operations are
performed in 'float'. The result is casted to the
output pixel type selected by the user.


This closes bug 283 in gnats.


Thanks for your suggestions


   Luis


------------------------------------

Luis Ibanez wrote:
> 
> 
> David, Daniel
> 
> 
> I'll take back some of my statements:
> 
> 
> 1) I have to admit that the gradient filter should
> 
>    a) produce valid output with all types
> 
>       or
> 
>    b) prevent users from instantiating it for
>       the types that are known not to be valid.
> 
>    So, a bug report has been filled to this end.
>    Bug Id  283 in Gnats.
> 
>    http://www.itk.org/cgi-bin/gnatsweb.pl/Insight/
> 
> 
> 2)  Documentation of the filters should state the
>     valid types on which they can be instantiated,
>     and mention those types that are known to be
>     invalid.
> 
> 
> 3)  The MeanSquaresImageMetric should produce valid
>     output when instantiated on unsigned char,
> 
>     or
> 
>     It should prevent users from performing such
>     instantiation. (through concept checking for
>     example, as Josh pointed out).
> 
>     A bug has been logged in Gnats:  Bug Id 284
> 
>