Skip to content

Add nD support to colorconv module - #4418

Merged
emmanuelle merged 42 commits into
scikit-image:masterfrom
rfezzani:Fix_rgb2gray
May 4, 2020
Merged

emmanuelle merged 42 commits into
scikit-image:masterfrom
rfezzani:Fix_rgb2gray

Conversation

@rfezzani

@rfezzani rfezzani commented Jan 28, 2020 •

Copy link
Copy Markdown
Member

Description

This PR is an attempt to Fix #3185. If accepted, it also closes #4417.

  • nD support is added to colorconv module,
  • gray level image conversion with rgb2gray is deprecated,
  • RGBA image conversion with rgb2gray is deprecated.

Comments are welcome.

Reequired PRs:

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.
  • Consider backporting the PR with @meeseeksdev backport to v0.14.x

@pep8speaks

pep8speaks commented Jan 28, 2020 •

Copy link
Copy Markdown

Hello @rfezzani! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-04-29 22:24:38 UTC

Comment thread skimage/color/colorconv.py Resolved
@rfezzani rfezzani mentioned this pull request Jan 30, 2020
3 of 9 tasks
@emmanuelle emmanuelle added this to the 0.17 milestone Jan 31, 2020
@emmanuelle emmanuelle added the 🔽 Deprecation Involves deprecation label Jan 31, 2020
@hmaarrfk

Copy link
Copy Markdown
Member

i added a checklist at the top.

Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/tests/test_colorconv.py Resolved
@emmanuelle

Copy link
Copy Markdown
Member

Thanks @rfezzani for a PR which must have been a lot of work! I only had two minor comments. It'd be great if another person could review this one @skimage/core.

@emmanuelle

Copy link
Copy Markdown
Member

The conflict is a tiny one so it shouldn't deter anyone from reviewing ;-).

@jni jni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@rfezzani this is great! Thank you @emmanuelle for the ping to review! The size of the diff was intimidating but actually it's not a bad review at all. =) I've left some minor code suggestions that I think would tidy things up, but am approving so that this is not held up. Thanks again!

Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
Comment thread skimage/color/colorconv.py Resolved
@jni

jni commented Apr 20, 2020

Copy link
Copy Markdown
Member

@scikit-image/core this is ready to merge imho!

@rfezzani

rfezzani commented May 4, 2020

Copy link
Copy Markdown
Member Author

Is this PR candidate for 0.17?

@emmanuelle
emmanuelle merged commit b8a5e5d into scikit-image:master May 4, 2020
@emmanuelle

Copy link
Copy Markdown
Member

It's in the box @rfezzani !

@rfezzani

rfezzani commented May 4, 2020

Copy link
Copy Markdown
Member Author

🍾 Thank you @emmanuelle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔽 Deprecation Involves deprecation ⏩ type: Enhancement Improve existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ND multichannel arrays in color conversion

5 participants