<div dir="ltr"><div><div><div><div>Hi all,<br><br></div>I am trying to use the B spline multi grid registration method in ITK, as given by the example code deformableregistration7.cxx. I used to 3D MRI images in analyze format (.img). I received the following error information:<br><br>terminate called after throwing an instance of 'std::bad_alloc'<br><br></div>I was wondering what is wrong and how to fix it?<br><br></div>Thanks!<br><br></div>Lianli<br><div><div><div><br></div></div></div></div>