[ITK] How itk and vtk images are stored
Gib Bogle
g.bogle at auckland.ac.nz
Sat Mar 21 05:14:46 EDT 2015
An ITK image is stored in a contiguous block. I'm not sure about VTK - why not just try it?
Gib
________________________________________
From: Community [community-bounces at itk.org] on behalf of Zein Salah [zeinsalah at gmail.com]
Sent: Saturday, 21 March 2015 4:47 a.m.
To: VTK Users; community at itk.org
Subject: [ITK] How itk and vtk images are stored
Hi,
I am wandering about the way itk and vtk images are stored in memory.
Is actually a contiguous block allocated for the image and the data is
simply stored in slice order?
In other words, if I have an itk and a vtk images of the same
attributes (dimensions, spacings, pixel type, etc.), would a memcpy
safely copy the contents of one to the other?
Much thanks,
Zeno
_______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community
More information about the Community
mailing list