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

odl.tomo.backends.skimage_randon.skimage_radon_back_projector not compatible with skimage==0.19 #1618

Open
Yao1993 opened this issue Apr 26, 2022 · 0 comments

Comments

@Yao1993
Copy link

Yao1993 commented Apr 26, 2022

# Rotate back from (rows, cols) to (x, y), then back-project (no filter)
backproj = iradon(
skimage_sinogram.asarray().T,
theta,
output_size=vol_space.shape[0],
filter=None,
circle=False,
)

The function skimage_radon_back_projector call iradon whith the keyword argument filter, but this argument is removed since skimage v0.19.

@deprecate_kwarg(kwarg_mapping={'filter': 'filter_name'},
                 removed_version="0.19")
def iradon(radon_image, theta=None, output_size=None,
           filter_name="ramp", interpolation="linear", circle=True):

https://github.com/scikit-image/scikit-image/blob/26cb086a6d829aa4d17b10831be5bcde3c359925/skimage/transform/radon_transform.py#L192-L195

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

1 participant