<div dir="ltr">Hi all,<br><br>How am I rotating my image according to a line&#39;s perpendicular direction (its normal) ?<br><br>my image is a 3d image and the line is a poly data. I&#39;m aware that I should extract both of the geometries orientation, and reorienting the image&#39;s axis due to the extracted line&#39;s angle.<br>
<br>maybe it&#39;s a start:<br><br>    mitk::Geometry3D::Pointer surf_geom = m_line-&gt;GetGeometry();<br>    mitk::Geometry3D::Pointer im_geom = m_mri_img-&gt;GetGeometry();<br><br><br>so how should I do this?<br><br>in literature it&#39;s called probe eye view because we can view the image as the probe&#39;s view (in mu case, the line surface).<br>
<br>a code example would be a very good choice, please help me it&#39;s an urgent task for a very important day...<br><br>Hila <br><br><br></div>