Hello RTK users. I've got a question about geometry. I want to rotate the
detector for all orientations around itself and InPlaneAngle,
OutOfPlaneAngle perform two rotations, but GantryAngle is not exactly what
I need (https://imgur.com/a/kDpfk5G)
Thanks to geometry invariant I can specify this angle through source_x,
detector_x offset, but source_x affects InPlaneAngle and OutOfPlaneAngle.
IMHO one of the possible solutions is to change RTK geometry final matrix -
swap Mrotation and Mtranslation, so source_x shouldn't affect InPlaneAngle
and OutOfPlaneAngle.

Here
rtkThreeDCircularProjectionGeometry.cxx
void rtk::ThreeDCircularProjectionGeometry::AddProjectionInRadians(...)
{
...
  matrix = this->GetProjectionTranslationMatrices().back().GetVnlMatrix() *
           this->GetMagnificationMatrices().back().GetVnlMatrix() *
           this->GetSourceTranslationMatrices().back().GetVnlMatrix();
           this->GetRotationMatrices().back().GetVnlMatrix();
--->
  matrix = this->GetProjectionTranslationMatrices().back().GetVnlMatrix() *
           this->GetMagnificationMatrices().back().GetVnlMatrix() *
           this->GetRotationMatrices().back().GetVnlMatrix();
           this->GetSourceTranslationMatrices().back().GetVnlMatrix();
...
}
didn't give desired result.

So, is it somehow possible to specify this angle along with InPlaneAngle,
OutOfPlaneAngle ?
_______________________________________________
Rtk-users mailing list
rtk-us...@openrtk.org
https://www.creatis.insa-lyon.fr/mailman/listinfo/rtk-users

Reply via email to