-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
SKIP: gray vs grey #2604
Comments
What does RFC mean for those of us that are uninitiated? =) My preference is for both to work. (I think this is what we do with rgb2grey/rgb2gray?) |
Is seems that |
Request For Comments, but I have no idea what SKIEP means :D |
@sciunto It is our new brand for labelling strategic discussions: SciKit-Image Enhancement Proposal (copy from PEP) 😄 . |
needs a little TM them :) |
Is it trivial to support |
I notice that in mrphology, we have grey.py and greyreconstruct.py. Ndimage uses grey as well... |
matplotlib and Pillow use @sciunto Sorry, I didn't catch your second proposal. |
What I meant is:
I prefer solution 2. However, if we go this way (ie in favour of gray), we have to change a lot of stuffs. |
I'd go with |
@sciunto is there anything else you would like to change? |
I just opened a small PR #3098 but ideally, it would be good to replace other places but deprecations are needed... :( |
As a new user of skimage it seems very strange to keep two versions of the API whenever there is a gray. This pollutes the API surface and for no good reason. I think it makes sense to choose one, deprecate the other and remove it in a major version release. |
@PinkFloyded I actually agree with you and disagree with past me. 😂 🤷♂️ The intention going forward is to follow US convention everywhere. However, this will take time as it requires breaking changes and deprecations. (Not least in |
Description
Recently, I saw a student stuck after typing
Silently, it loads as a RGB image.
Indeed, the API is
as_grey
. The problem is that our API is not homogeneous. It seems that US spelling is in majority in our library. I would suggest to either:Any suggestion @scikit-image/core ?
The text was updated successfully, but these errors were encountered: