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