[Insight-users] How to form a three dimensional vector image using three normal images

Dženan Zukić dzenanz at gmail.com
Thu Jul 22 10:05:14 EDT 2010


Load 3 input image, Instantiate 3-component vector image, use iterators to
go through input images to read pixels, use iterator to go through vector
image and write pixels.
You will probably have something like this:
vecImage[vecIterator][0]=it1.Get();
vecImage[vecIterator][1]=it2.Get();
vecImage[vecIterator][2]=it3.Get();
in a for loop.

Dženan

On Thu, Jul 22, 2010 at 15:42, habibbaluwala2010 <habibbaluwala at gmail.com>wrote:

> Hi everyone , My problem is that I have three normal images and I want to
> generate a three dimensional vector image using these images. For example 1.
> In the the first image I have the values for x deformation , in the second
> image I have the values for the Y deformation and in the third image I have
> the values for the z deformation . 2. I want to combine the above three
> images to produce a single vector image representing the deformation field.
> I just cant find the right filter/ function to do this step and if anyone
> could recommend any ideas it will be very helpful .
> ------------------------------
> View this message in context: How to form a three dimensional vector image
> using three normal images<http://old.nabble.com/How-to-form-a-three-dimensional-vector-image-using-three-normal-images-tp29236989p29236989.html>
> Sent from the ITK - Users mailing list archive<http://old.nabble.com/ITK---Users-f14224.html>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.html
>
> 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://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100722/b0efd47f/attachment.htm>


More information about the Insight-users mailing list