Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use the function in detector_deblur.py #137

Open
Y7NINE opened this issue Nov 19, 2024 · 2 comments
Open

How do I use the function in detector_deblur.py #137

Y7NINE opened this issue Nov 19, 2024 · 2 comments

Comments

@Y7NINE
Copy link

Y7NINE commented Nov 19, 2024

Hi,

I recently discovered a new gadget in the leap kit demo under demo_leapctype/d15_detector_deblur.py, and I’ve been exploring its potential with my own data. I’m really fascinated by the functionality, but I’m finding it a bit challenging to fully grasp the effects demonstrated in the provided examples.

To better understand, I’ve stored the intermediate post-processing results. From left to right, I’ve saved the original post-processed image and the error result. However, I’m unsure how to analyze these results to assess the enhancement effect effectively.

Could you kindly guide me or point me toward any relevant literature or resources that could help me deepen my understanding?

Thank you so much for your time and support!
image

@Y7NINE
Copy link
Author

Y7NINE commented Nov 19, 2024

image
Are these fixed or do they need to be changed depending on the data I'm using? Can I use them directly on my own data

@kylechampley
Copy link
Collaborator

Flat panel x-ray detectors have point spread functions with very long tails. In some cases, these long tails can cause cupping and streaking artifacts in reconstructed images that are similar in appearance to scatter and beam hardening artifacts. This is the motivation for providing these routines in LEAP.

The PSF depends on the detector you are using and the x-ray spectra. Higher energy x-rays produce wider PSFs with longer tails. Determining the PSF of your detector can either be done using Monte Carlo modeling or it can be done empirically. Check out PySABER for routines to determine the PSF empirically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants