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.<div>You will probably have something like this:</div>
<div><font class="Apple-style-span" face="'courier new', monospace">vecImage[vecIterator][0]=it1.Get();</font></div><div><font class="Apple-style-span" face="'courier new', monospace">vecImage[vecIterator][1]=it2.Get();</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">vecImage[vecIterator][2]=it3.Get();</font></div><div>in a for loop.</div><div><br></div><div>Dženan<br><br><div class="gmail_quote">On Thu, Jul 22, 2010 at 15:42, habibbaluwala2010 <span dir="ltr"><<a href="mailto:habibbaluwala@gmail.com">habibbaluwala@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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 .
<br><hr align="left" width="300">
View this message in context: <a href="http://old.nabble.com/How-to-form-a-three-dimensional-vector-image-using-three-normal-images-tp29236989p29236989.html" target="_blank">How to form a three dimensional vector image using three normal images</a><br>
Sent from the <a href="http://old.nabble.com/ITK---Users-f14224.html" target="_blank">ITK - Users mailing list archive</a> at Nabble.com.<br>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>