[ITK-users] ITK PyBuffer get physical point coordinates

D'Isidoro Fabio fisidoro at ethz.ch
Thu Apr 27 16:58:07 EDT 2017


Hallo,

I know it's possible to get a numpy array of an itk image with:

itk.PyBuffer[ImageType].GetArrayFromImage(Image)

Is it by any chance also possible to obtain a (flattended) numpy array of the physical coordinates of the image pixels too?

Thank you!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20170427/6c089844/attachment.html>


More information about the Insight-users mailing list