[Insight-users] Calculations on vector images
luis.ibanez at kitware.com
Sat Mar 19 20:35:50 EST 2005
ImageAdaptors may be a good option for your computation.
Examples of image adaptors are available in the "Image Adaptors"
chapter of the ITK Software Guide
You could also use the UnaryFunctor filter, in which case you
don't have to worry about iterators at all. Simply define the
Functor that performs the pixel-wise operation that you need.
You may find useful to follow the style of the filter in
Karl Fritscher wrote:
> I am looking for an effiecient way to implement calculationswith vector
> images (e.g multiplying a vector image with a scalar value, adding two
> vector images). Can I use iterators or functors for this task without
> extracting the components of the vector at first? Or can I use the
> Thanks for any suggestions,
> Insight-users mailing list
> Insight-users at itk.org
More information about the Insight-users