[Insight-users] Convert image to (multi-dimensional) array in SimpleITK
Zhongliu Xie
zhongliu.xie10 at imperial.ac.uk
Sun Jan 12 13:35:03 EST 2014
Dear fellow ITK users,
Recently I have been using Simple ITK under C# environment. I wonder
whether there is a way to quickly convert an image into an array of
intensities (leaving out the meta info)? In particular, is it possible
to directly convert to a multidimensional array such as intensity[x,y,z]
(or intensity[x][y][z] in C++) indicating the intensity of voxel at
<x,y,z>?
BTW, I also noticed there is something called Buffer which seems
related. Could someone explain what buffer is more explicitly so that I
can make sure I understand it correctly?
Thanks in advance,
Zhongliu
More information about the Insight-users
mailing list