Dear, It really helps. Now I fully understand what you and Simon said. Thank you for the solution, and I will try as you recommended.
Best regards, Chang -----Original Message----- From: Rtk-users <rtk-users-boun...@public.kitware.com> On Behalf Of rtk-users-requ...@public.kitware.com Sent: Monday, November 28, 2022 4:18 PM To: rtk-users@public.kitware.com Subject: Rtk-users Digest, Vol 119, Issue 11 Send Rtk-users mailing list submissions to rtk-users@public.kitware.com To subscribe or unsubscribe via the World Wide Web, visit https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users or, via email, send a message with subject or body 'help' to rtk-users-requ...@public.kitware.com You can reach the person managing the list at rtk-users-ow...@public.kitware.com When replying, please edit your Subject line so it is more specific than "Re: Contents of Rtk-users digest..." Today's Topics: 1. Re: Simulating geometric error on detector (Vincent Libertiaux) ---------------------------------------------------------------------- Message: 1 Date: Mon, 28 Nov 2022 07:40:15 +0100 From: Vincent Libertiaux <v...@xris.eu> To: rtk-users@public.kitware.com Subject: Re: [Rtk-users] Simulating geometric error on detector Message-ID: <88dc932a-49ee-66f7-1127-fa614c639...@xris.eu> Content-Type: text/plain; charset="utf-8"; Format="flowed" Hi Chang, I was faced with the same problem not long ago. Here is the solution that worked for me: If we call this extra angle "c", the following modifications have to be made in rtksimulatedgeometry: - first angle = c - sdd = sdd_0 * cos(c) - sid = sid_0 * cos(c) - source_x = source_x0 - sid*sin(c) - proj_iso_x = proj_iso_x0 + (sdd-sid)*sin(c) Hope it helps ! Best regards, Vincent On 27.11.22 22:44, gameboy...@gmail.com wrote: > > Dear, > > Thank you for your reply, but I still have a question. > > I am trying to use Rtksimulatedgeometry which employs Addprojection. > It supports in_angle and out_angle, which is clear. > > There is also a parameter for gantry angle, but it does not seem that > simulation of slant can be done by simply changing the gantry angle. > > Left side of the figure is the schematic of simulation that I want > which only slants the detector. > > But if I perform the simulation as you suggest, the result that I will > get would be like the right side of the figure. > > To my understanding, the results of these two are not the same. (Slant > degree itself is same, but in the perspective of distance reaching to > side of the detector, it would be different.) > > It would be appreciated to help me to simulate only the slant of the > detector. > > Regards, > > Chang. > > *From:*Simon Rit <simon....@creatis.insa-lyon.fr> > *Sent:* Friday, November 25, 2022 7:49 PM > *To:* ???<gameboy...@gmail.com> > *Cc:* rtk-users@public.kitware.com > *Subject:* Re: [Rtk-users] Simulating geometric error on detector > > Hi, > > There are three rotations to chose the orientation of the detector: > GantryAngle, InPlaneAngle and OutOfPlane. Any orientation can be set. > If you want a slant around the detector center, then a change in the > GantryAngle will imply a change in SourceToIsocenter, SourceToDetector > (both measured in the direction orthogonal to the detector) and > SourceOffsetX / ProjectionOffsetX. The geometry documentation should help: > > http://www.openrtk.org/Doxygen/DocGeo3D.html > > If you mind find it to set one detector position by setting the source > position, detector origin position and the u and v axes. See all the > different versions of AddProjection in the doxygen > <http://www.openrtk.org/Doxygen/classrtk_1_1ThreeDCircularProjectionGeometry .html>. > > Best regards, > > Simon > > On Fri, Nov 25, 2022 at 10:21 AM ???<gameboy...@gmail.com> wrote: > > Dear all, > > I am now generating the simulation data with geometric distortions > on the detector, by using RTK. > > Translation can be easily implemented by adjusting the parameters > (proj_iso_x and proj_iso_y). > > However, for the rotation, it seems that there are only two > parameters I can manage. (in_angle and out_angle). > > Thus, at this moment, tilt and skew are available to implement, > but for the slant, it seems that there is no such way. > > Please let me know if there is any way to implement rotation about > one other axis. > > (Image from Wang, Zhao, et al. "Improvements in micro-CT method > for characterizing x-ray monocapillary optics." /Optics > Communications/?504 (2022): 127474.) > > _______________________________________________ > Rtk-users mailing list > Rtk-users@public.kitware.com > https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users > > > _______________________________________________ > Rtk-users mailing list > Rtk-users@public.kitware.com > https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20221128/c46c73b8 /attachment.htm> -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 206619 bytes Desc: not available URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20221128/c46c73b8 /attachment.png> ------------------------------ Subject: Digest Footer _______________________________________________ Rtk-users mailing list Rtk-users@public.kitware.com https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users ------------------------------ End of Rtk-users Digest, Vol 119, Issue 11 ****************************************** _______________________________________________ Rtk-users mailing list Rtk-users@public.kitware.com https://public.kitware.com/cgi-bin/mailman/listinfo/rtk-users