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

Inverse Radon transform: Expand functionality #683

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

josteinbf
Copy link
Contributor

This PR does two things:

  • Adds a projection_shifts argument to iradon, with identical functionality as for iradon_sart
  • Enables using user-defined filters for the filtered back projection by supplying a callable

Both changes are intended to be backwards compatible.

From my side, this is ready for merge.

@josteinbf
Copy link
Contributor Author

@stefanv @emmanuelle Any chance of a review?

@@ -156,6 +160,10 @@ def iradon(radon_image, theta=None, output_size=None,
Assume the reconstructed image is zero outside the inscribed circle.
Also changes the default output_size to match the behaviour of
``radon`` called with ``circle=True``.
projection_shifts : 1D array, dtype=float
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional

@sciunto
Copy link
Member

sciunto commented Sep 7, 2013

I put two comments. Is it possible to illustrate this option in the gallery?

@josteinbf
Copy link
Contributor Author

@sciunto Thanks for looking into this. About the gallery, I think we should be careful with including too many features in what is now intended to be an introductory example. The correct place for examples of the use of these features is in a longer, tutorial-like introduction to tomography in scikit-image, I think. And I don't want to write that yet, as the tomography part of scikit-image still feels somewhat incomplete.

@sciunto
Copy link
Member

sciunto commented Sep 7, 2013

oki :)

@josteinbf
Copy link
Contributor Author

@stefanv Any suggestions for who I can ask for a review for this one?

Base automatically changed from master to main February 18, 2021 18:22
@grlee77 grlee77 added the ⏩ type: Enhancement Improve existing features label Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏩ type: Enhancement Improve existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants