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

Change default filter (ram-lak) for FBP #631

Closed
EB79 opened this issue Jan 26, 2025 · 1 comment
Closed

Change default filter (ram-lak) for FBP #631

EB79 opened this issue Jan 26, 2025 · 1 comment

Comments

@EB79
Copy link

EB79 commented Jan 26, 2025

Hi, I hope you're doing well.

I’m using the Core Imaging Library (CIL) for my 3D cone-beam reconstructions and have been examining the source code to determine if I can change the default filter used in the Filtered Back Projection (FBP). While tracing the code, I discovered that CIL relies on TIGRE’s FBP, with some translation between the geometries defined in the two packages.

Image

Could you clarify where I should make the modification to change the default filter from ram-lak to hamming? Should this be done directly in the TIGRE package, or would it require changes in the CIL package?

Thank you!

@AnderBiguri
Copy link
Member

Heya!
Seems that FBP was not accepting optional filters, but it is now.

From TIGRE, you just need to do

recon = fbp(proj,geo,angles,filter="hamming")

or any of the other non-default 4 supported:

opts: "shep_logan"
"cosine"
"hamming"
"hann"

From CIL, I have no idea, you'd need to ask them.

@EB79 EB79 closed this as completed Jan 29, 2025
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