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

habibbaluwala2010 habibbaluwala at gmail.com
Fri Jul 23 11:21:15 EDT 2010


Hi Dženan, 
                I am very tahnkful for your reply but later on on scanning
through the different filters I found an easier alternative which is the 

#include <itkCompose3DVectorImageFilter.h>
 This does the job that I require and hence I ma using this filter. However
what you sufggested will be useful in cases of more dimensions. Again I
thank you for the reply. 

 

Dženan Zukić wrote:
> 
> 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
>>
>>
> 
> _____________________________________
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/How-to-form-a-three-dimensional-vector-image-using-three-normal-images-tp29236989p29248557.html
Sent from the ITK - Users mailing list archive at Nabble.com.



More information about the Insight-users mailing list