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

Update float32 dtype support to match scikit-image 0.19 behavior #189

Closed

Conversation

grlee77
Copy link
Contributor

@grlee77 grlee77 commented Dec 28, 2021

This PR builds on top of #188 and makes float32 and float16 handling consistent with scikit-image 0.19. (must functions support float32, float16 gets promoted to float32)

It is also related to #98.

implements the channel_axis argument from scikit-image 0.19

* drop alpha argument from gray2rgb (deprecated)
* remove deprecated grey2rgb and rgb2grey
* label2rgb: bg_label default changed
* ENH: new saturation argument to label2rgb
raise error in structure_similariy when input images are smaller than win_size
support integer block_size in block_reduce

set block_size for block_reduce
Fixes euler angles for the 3D case and makes behavior otherwise consistent.
fix behavior of warp/rescale/resize/etc for integer and boolean input types
add random_state kwarg to unsupervised_wiener
@grlee77 grlee77 added breaking Introduces a breaking change feature request New feature or request labels Dec 28, 2021
@grlee77 grlee77 requested a review from a team as a code owner December 28, 2021 21:19
@grlee77 grlee77 requested a review from a team as a code owner December 28, 2021 21:19
@grlee77 grlee77 added the skimage 0.19 update PRs related to updating the API to match scikit-image 0.19 label Jan 3, 2022
Copy link
Member

@ajschmidt8 ajschmidt8 left a comment

Choose a reason for hiding this comment

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

@grlee77
Copy link
Contributor Author

grlee77 commented Jan 17, 2022

As discussed last week, I will close this and we will make all changes related to scikit-image 0.19 in one PR (#190)

@grlee77 grlee77 closed this Jan 17, 2022
rapids-bot bot pushed a commit that referenced this pull request Jan 26, 2022
This PR builds on top of #189 and introduces new deprecations as in scikit-image 0.19.

closes #98

Specifically:
 `selem` -> `footprint`
`grey` -> `gray`
`iterations` -> `num_iter`
`max_iter` -> `max_num_iter`
`min_iter` -> `min_num_iter`

Authors:
  - Gregory Lee (https://github.com/grlee77)

Approvers:
  - Jordan Jacobelli (https://github.com/Ethyling)
  - Gigon Bae (https://github.com/gigony)
  - AJ Schmidt (https://github.com/ajschmidt8)
  - https://github.com/jakirkham

URL: #190
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Introduces a breaking change feature request New feature or request skimage 0.19 update PRs related to updating the API to match scikit-image 0.19
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants