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

multichannel to channel_axis (5 of 6): restoration #5288

Merged
merged 16 commits into from
May 12, 2021

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Mar 23, 2021

follows #5287. Implements channel_axis for the restoration module

Description

Checklist

For reviewers

  • Check that the PR title is short, concise, and will make sense 1 year
    later.
  • Check that new functions are imported in corresponding __init__.py.
  • Check that new features, API changes, and deprecations are mentioned in
    doc/release/release_dev.rst.

@grlee77 grlee77 added the 📜 type: API Involves API change(s) label Mar 23, 2021
@grlee77 grlee77 added this to In progress in skimage2 API Mar 23, 2021
@grlee77 grlee77 added this to the 0.19 milestone Apr 21, 2021
@alexdesiqueira
Copy link
Member

Hey @grlee77, could you check 4c06e3c and see if I fixed the conflicts as you needed? Thanks!

@alexdesiqueira
Copy link
Member

Otherwise, LGTM 🙂

@alexdesiqueira
Copy link
Member

Nope, I broke everything 😢 Sorry! Could you undo 4c06e3c and fix the conflicts?

@grlee77
Copy link
Contributor Author

grlee77 commented May 11, 2021

Nope, I broke everything cry Sorry! Could you undo 4c06e3c and fix the conflicts?

No worries, the inpainting file was modified in two other recently merged PRs as well, so that became a bit more tricky. It should be ready now if CI passes

@alexdesiqueira
Copy link
Member

Thank you Greg! @jni wanna check and merge? 🙂

for c in range(image.shape[-1]):
out[..., c] = _denoise_tv_chambolle_nd(image[..., c], weight, eps,
for c in range(image.shape[channel_axis]):
out[_at(c)] = _denoise_tv_chambolle_nd(image[_at(c)], weight, eps,
Copy link
Member

Choose a reason for hiding this comment

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

cute! 😂

@jni jni merged commit 8776fb4 into scikit-image:main May 12, 2021
@grlee77 grlee77 moved this from In progress to Done in skimage2 API Jun 21, 2021
@grlee77 grlee77 moved this from In progress to Done in skimage2 API Jun 21, 2021
@grlee77 grlee77 deleted the channel_axis_restoration branch July 8, 2021 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 type: API Involves API change(s)
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants