InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.41k stars 663 forks source link

About principles on generating DRR #4098

Closed fanyigao closed 1 year ago

fanyigao commented 1 year ago

Hello! your work is brilliant! But I am confused about princples on on generating DRRs, could you tell me more about it? I remember a paper in itk website focused on it ,maybe published in 2010, but I cannot find it on itk website now.

github-actions[bot] commented 1 year ago

Thank you for contributing an issue! 🙏

Welcome to the ITK community! 🤗👋☀️

We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. 📜 Also, please check existing open issues and consider discussion on the ITK Discourse. 📖

SimonRit commented 1 year ago

DRR is the discretization of the x-ray transform, i.e., line integrals. There are several solutions to do it, e.g., https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1118/1.595715 or, the implemented version in ITK, https://ieeexplore.ieee.org/document/4307572. I'm not aware of such an ITK article, maybe https://doi.org/10.54294/6f280b? It doesn't seem to contain an article... Maybe youvcan continue the discussion on discourse.itk.org, it does not seem to be a real issue in ITK.

fanyigao commented 1 year ago

DRR is the discretization of the x-ray transform, i.e., line integrals. There are several solutions to do it, e.g., https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1118/1.595715 or, the implemented version in ITK, https://ieeexplore.ieee.org/document/4307572. I'm not aware of such an ITK article, maybe https://doi.org/10.54294/6f280b? It doesn't seem to contain an article... Maybe youvcan continue the discussion on discourse.itk.org, it does not seem to be a real issue in ITK.

Thanks for replying,you have already solved the problem for me!

fanyigao commented 1 year ago

DRR is the discretization of the x-ray transform, i.e., line integrals. There are several solutions to do it, e.g., https://aapm.onlinelibrary.wiley.com/doi/pdf/10.1118/1.595715 or, the implemented version in ITK, https://ieeexplore.ieee.org/document/4307572. I'm not aware of such an ITK article, maybe https://doi.org/10.54294/6f280b? It doesn't seem to contain an article... Maybe youvcan continue the discussion on discourse.itk.org, it does not seem to be a real issue in ITK.

Hello!I want to verify if the example given bellow https://github.com/InsightSoftwareConsortium/ITK/blob/master/Examples/Filtering/DigitallyReconstructedRadiograph1.cxx use joseph's method to generate drrs?

SimonRit commented 1 year ago

I think it does do a bilinear interpolation along each intersecting plane in the main direction of each ray which is Joseph's method to generate DRRs as far as my knowledge goes. Code is in itkRayCastInterpolateImageFunction.hxx if you want to check.

fanyigao commented 1 year ago

Thanks, I will read the code.