-
Notifications
You must be signed in to change notification settings - Fork 60
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
Sync cuCIM API with scikit-image 0.21 #573
Conversation
rename deprecated utility to deprecate_func style: list->tuple in delta_e.py xyz_tristimulus_values should be public
add test_adapthist_incorrect_kernel_size test case
add mask test
remove deprecated iterations kwarg from richardson_lucy
make accessing Delaunay simplices robust across SciPy versions
seems to avoid bug with larger signed integer ranges and CUDA 12.x
Thanks Greg! 🙏 Does this depend on scikit-image 0.21.0 packages ( conda-forge/scikit-image-feedstock#103 )? Edit: Rerunning CI now that those packages are out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @grlee77 This change looks good to me!
No, it should still work on older scikit-image as currently pinned |
/merge |
Thank you both! 🙏 |
Follow up to PR ( #573 ) This allows `scikit-image` version `0.21.0` to be installed alongside `cucim`. Authors: - https://github.com/jakirkham Approvers: - Ray Douglass (https://github.com/raydouglass) - Gregory Lee (https://github.com/grlee77) URL: #580
Description
This MR ports several recent changes implemented upstream in scikit-image 0.21rc0. Some are just minor refactoring or documentation fixes, but I have commented on the more significant changes below so we can reuse that for the release note.
If preferred, I can split the items below into separate small PRs.
API Changes / Deprecations
The
random_state
argument ofmedial_axis
andunsupervised_wiener
is now deprecated and will be removed in the future. The new argument name,seed
, should be used instead.The formerly private function
_invariant_denoise
has been renameddenoise_invariant
and is now part of the publiccucim.skimage.restoration
API.The existing function
cucim.skimage.color.get_xyz_coords
has been renamedcucim.skimage.color.xyz_tristimulus_values
. The former function name is deprecated and will be removed in the future.Enhancements
A new
return_mapping
option was added tojoin_segmentations
. This provides an additional output with a mapping between the labels in the joined segmentation and the original ones.Added support for y-axis shear to the 2D AffineTransform
Backwards Incompatible Changes
chan_vese
may result in different output from previous versions.Bug Fixes
Fixed bug in energy calculation in Chan-Vese
Fixed a bug in 2D shear calculations for
AffineTransform