Hi, I was using GetDRRSiddonJacobsRayTracing.cxx to generate DRR images. However I can’t generate the right DRR images as the images generated by the author.
The parameters are set as the author proposed, which are -rp 0 -rx -3 -ry 4 -rz 2 -t 5 5 5 -iso 99.62 101.18 65 -res 1 1 -size 256 256. Here is the DRR image I got:
boxheadDRRDev1_G0.tif (64.2 KB)
The DRR image generated by the author is:
boxheadDRRDev1_G0-Author.tif (64.3 KB)
I have try many times and I don’t know how to generate the right DRR image as the author. Are there some other parameters in the code should I set, such as the origin of the 2D Image? Is there someone can help me?
@eewujian are you the author of https://www.insight-journal.org/browse/publication/784?
I guess it is due to a change in the way the physical space is accounted for, see
You can try to revert this commit or to modify -iso.
Hi, simon:
I have found that it may be the problem of transform center. When I set the rotation parameters separately, the results is:
the parameters are: -rp 0 -t 5 5 5 -iso 255 259 130 -res 0.5 0.5 -size 512 512
boxheadfullDRRDev1_G0t555.tif (256.2 KB)
the parameters are: -rp 0 -t 5 5 5 -iso 255 259 130 -res 0.5 0.5 -size 512 512 -rz 2
boxheadfullDRRDev1_G0rz2t555.tif (256.2 KB)
the parameters are: -rp 0 -t 5 5 5 -iso 255 259 130 -res 0.5 0.5 -size 512 512 -ry 4
boxheadfullDRRDev1_G0ry4t555.tif (256.2 KB)
the parameters are: -rp 0 -t 5 5 5 -iso 255 259 130 -res 0.5 0.5 -size 512 512 -rx -3
boxheadfullDRRDev1_G0rx-3t555.tif (256.2 KB)
It seems that the rotation center is not within the CT image. What can I do to figure it out?
It expect a rotation around the isocenter so maybe play with the -iso parameter?