CERN / TIGRE

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

"RNG.add_noise" function #487

Closed Love-Sunshine closed 9 months ago

Love-Sunshine commented 9 months ago

I have a new question. In the "CTnoise.py" file, I cannot see the specific execution steps of the "RNG.add_noise" function. Can you open-source the code for the "add_noise" function? Thanks a lot!

AnderBiguri commented 9 months ago

Hi @Love-Sunshine , here it is!: https://github.com/CERN/TIGRE/blob/master/Common/CUDA/RandomNumberGenerator.cu

In any case, the noise should be a mix of Poisson noise in absorbtion projections +gaussian noise.