<div dir="ltr">Hi!<div><br></div><div>is this the right place for a SimpleITK problem?</div><div><br></div><div>I&#39;m using SimpleITK for carrying out transformations on large images within a python environment.</div><div>

<br></div><div>My problem is that when I want to transform python arrays bigger than 2^32 bytes (for example size (1400,1600,2000), uint16) into SimpleITK images, it will complain saying</div><div><br></div><div><div>SimpleITK-0.6.1-py2.6-linux-x86_64.egg_FILES/SimpleITK.pyc in GetImageFromArray(arr, isVector)</div>

<div>    298       img = Image( z.shape[::-1], id )</div><div>    299 </div><div>--&gt; 300     _SimpleITK._SetImageFromArray( z.tostring(), img )</div><div>    301 </div><div>    302     return img</div><div><br></div><div>

RuntimeError: Size mismatch of image and Buffer.</div></div><div><br></div><div>As you can see, I&#39;m using the 64Bit binary of SimpleITK under linux and there shouldn&#39;t be a problem right?</div><div><br></div><div>

Thanks a lot in advance!</div><div>Best,</div><div>Marvin</div></div>