CERN / TIGRE

TIGRE: Tomographic Iterative GPU-based Reconstruction Toolbox
BSD 3-Clause "New" or "Revised" License
527 stars 180 forks source link

Add DBT example in python version #517

Closed zhangyu233 closed 2 months ago

zhangyu233 commented 5 months ago

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?

AnderBiguri commented 5 months ago

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.

zhangyu233 commented 5 months ago

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

AnderBiguri commented 5 months ago

@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.

timcogan commented 3 months ago

I've adapted d19_DBTexample.m to Python here: https://github.com/CERN/TIGRE/pull/527