[ITK] [ITK-users] Setting constants in ternary functor filters
Bradley Lowekamp
blowekamp at mail.nih.gov
Fri Jan 16 12:06:12 EST 2015
Hello,
You will need to look at the implementation of the TernaryFunctorImageFilter. You'll see that it expects the inputs to be images. I used image iterators and dynamics casts under this assumption.
On the other hand the implementation BinaryFunctorImageFilter, this handles the case where the inputs are decorators and the other complications that are needed.
Now, this is certainly a nice feature that could be added to the TernaryFunctorImageFilter, but I think there are really to many possible permutations for it to be worth the effort.
Brad
On Jan 16, 2015, at 11:56 AM, jmerkow <jmerkow at gmail.com> wrote:
> I originally debated using a unary functor, though this will generally be
> used with constants, there may be some cases where don't want it to be
> constant, so I thought it best to write one image filter and have the
> ability to set constants or image inputs.
> Is there any reason that what Im trying to do won't work?
>
> -Jameson
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.com/Setting-constants-in-ternary-functor-filters-tp35125p35130.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
_____________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users
More information about the Community
mailing list