How do I convert distance in mm to pixels in MATLAB functions?

Functions fanbeam, fan2para, para2fan, ifanbeam ask for parameters like "distance from fan-beam vertex to center of rotation", "FanSensorSpacing", "ParallelSensorSpacing" etc.
And these functions ask for pixels, but the DICOM files provide these values in millimeters. I am wondering how do I covert these values from mm to pixels for simulating real-world sinograms?
It would be best if you could give me a simple example. Thank you.

추가 답변 (0개)

제품

릴리스

R2018b

질문:

2019년 6월 2일

댓글:

2019년 12월 30일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by