<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello everyone,<div class=""><br class=""><div class="">I have a probably naive question about simpleITK. I find simpleITK extremely useful to process medical data such as MRI scans but I would like also to enjoy being able to convert my images in numpy format while respecting the transformation of the volume.</div></div><div class=""><br class=""></div><div class="">In other words I would like to get the MRI image in numpy rotated by the correct amount around each axis with zero padding for example.</div><div class=""><br class=""></div><div class="">when i do simply <span style="color: rgb(128, 128, 128); font-style: italic; font-family: Menlo; font-size: 9pt; background-color: rgb(255, 255, 255);" class="">sitk.GetArrayFromImage(imgResampledCropped)</span>I get back the raw data itself, but what I would like to do is to have a numpy array that contains the data “ready to visualise” by simple slicing of the array itself.</div><div class=""><br class=""></div><div class="">Do you think this is doable? Is there a standard way of doing it?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Kind regards,</div><div class=""><br class=""></div><div class="">Fausto</div><div class=""><br class=""></div></body></html>