[Insight-developers] Re: [Insight-users] concept checking in
AccumulateImageFilter
Gaetan Lehmann
gaetan.lehmann at jouy.inra.fr
Wed Mar 1 15:42:11 EST 2006
Hi,
The check is correct. The output is an image of the same dimension to keep the
info of the output image on the same dimension (the docstring is surely a lot
more clear than me).
I don't think it will work if you try to build it with a dim=3 in input and
dim=2 in output.
It would be nice to be able to set the dim=3 or dim=2 in output, but the code
will surely be difficult to write.
Gaetan
On Wednesday 01 March 2006 21:04, Amy Squillacote wrote:
> Hi all,
>
> There is currently a check in the header file of the
> AccumulateImageFilter (in Code/BasicFilters) for whether the input
> and output images have the same dimension. Another ITK developer
> pointed out to me a couple days ago that this concept check is
> probably wrong. He suggested that the dimension of the output should
> actually be one less than that of the input. Luis and I discussed
> this earlier today, and we believe that the output's dimension should
> be one less than that of the input. However, if we make this change,
> anyone's code depending on the input and output to have the same
> dimensionality would break.
>
> What has been the experience of other people using this filter? What
> is your opinion about the dimensionality of the input and output of
> this filter?
>
> - Amy
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://www.itk.org/mailman/private/insight-developers/attachments/20060301/214545b2/attachment.pgp
More information about the Insight-developers
mailing list