[ITK Community] [Insight-users] read vtkImageData
David Doria
daviddoria at gmail.com
Thu Nov 14 13:11:32 EST 2013
On Thu, Nov 14, 2013 at 1:08 PM, David Doria <daviddoria at gmail.com> wrote:
> On Thu, Nov 14, 2013 at 2:52 AM, Massinissa Bandou
> <Massinissa.Bandou at usherbrooke.ca> wrote:
>> Hi everyone!
>>
>> Is there any example or way how to read a vtkImageData with ITK because I
>> want to perform a mutual information registration??
>>
>> thank you for your help!
>>
>> Massi
Oops, sorry, too fast on the trigger - I missed that you wanted to do
this in ITK.
You could probably use VTK's 'imageData->GetScalarPointer'
(demonstrated here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/IterateImageData)
as the input to:
http://www.itk.org/Wiki/ITK/Examples/IO/ImportImageFilter
David
_____________________________________
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://www.itk.org/mailman/listinfo/insight-users
More information about the Community
mailing list