[Rtk-users] rotating the detector around itself

Nikolay Filatov filatovna83 at gmail.com
Tue Jul 9 12:55:45 CEST 2024


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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.creatis.insa-lyon.fr/pipermail/rtk-users/attachments/20240709/98dc14b9/attachment.htm>


More information about the Rtk-users mailing list