CERN/TIGRE

Add DBT example in python version

zhangyu233 opened this issue · 4 comments

I found that there is a d19_DBTexample in the MATLAB version, but there python version is missing. I tried to adapt the geometry setting in the d19_DBTexample.m into the python version. But the results seems to be failed. Could you add the code in the python version?

Hi @zhangyu233,
Thanks for opening the issue. Indeed we don't have a python version of the code. Whenever I have time I'll try to make one, but unfortunately I am quite busy now so it may take a while.

Hi, I have modified the code and got the following results.
Figure_1
Figure_2

@zhangyu233 I can not debug anything from an image, of course.

If you are able to post the code your produced in python and:

1 - does the geometry utility for DBT that you coded produce the same values than the MATLAB one? Show the comparison
2 - Does FBP produce the same result? Show the comparison
3- Does SART produce the same result? Show the comparison

Otherwise I can unfortunately only say the same thing as you, that those images look a bad.

I've adapted d19_DBTexample.m to Python here: #527