LLNL / LEAP

comprehensive library of 3D transmission Computed Tomography (CT) algorithms with Python and C++ APIs, a PyQt GUI, and fully integrated with PyTorch
https://leapct.readthedocs.io
MIT License
120 stars 12 forks source link

Bug report on modularBeamBackprojectorKernel_eSF() function #114

Closed hws203 closed 1 month ago

hws203 commented 1 month ago

@kchampley I can see that your modularBeamBackprojectorKernel_eSF() function works different from modularBeamBackprojectorKernel_SF() and the result of modularBeamBackprojectorKernel_eSF() makes only all blank slice as like below. Please check this modularBeamBackprojectorKernel_eSF().

blank

hws203 commented 1 month ago

I am using temporary solution to make params->voxelSizeWorksForFastSF() return true always. So the doFBP() always uses the modularBeamBackprojectorKernel_SF() function. Then there is no such issue. But this method is not recommendable.

kylechampley commented 1 month ago

I did test it and everything seems to be working fine. Thus it seems that there must be something special about the particular geometry that you are using. Would you mind sending me a script that recreates this issue?

kylechampley commented 1 month ago

BTW, please do not use (at)kchampley. Notice that my correspondence is always with @kylechampley. Thanks.

hws203 commented 1 month ago

@kylechampley For your regeneration of this issue, I made a test script by python code, but this python code does not make this issue. All looks good. Maybe it is related to my own native c++ base code. I will check it more.