We're happy to announce the release of scikit-image 0.23.1!
[!NOTE]
Due to an issue with the CI system scikit-image 0.23.0 was never released.
This release is identical to what 0.23.0 would have been other than the CI fix and the version number.
Highlights
Ensure skimage.morphology.closing and skimage.morphology.opening are extensive and anti-extensive, respectively, if the footprint is not mirror symmetric (#6695).
Add parameter mode to binary_erosion, binary_dilation, binary_opening and binary_closing in skimage.morphology. These new parameters determine how array borders are handled (#6695).
Add parameters mode and cval to erosion, dilation, opening, closing, white_tophat, and black_tophat in skimage.morphology. These new parameters determine how array borders are handled (#6695).
Speedup skimage.util.map_array by parallelization with Cython's prange (#7266).
New Features
Add new intensity_std property to skimage.measure.regionprops which computes the standard deviation of the intensity in a region (#6712).
Add parameter mode to binary_erosion, binary_dilation, binary_opening and binary_closing in skimage.morphology. These new parameters determine how array borders are handled (#6695).
Add functions mirror_footprint and pad_footprint to skimage.morphology (#6695).
Add parameters mode and cval to erosion, dilation, opening, closing, white_tophat, and black_tophat in skimage.morphology. These new parameters determine how array borders are handled (#6695).
Add new parameter spacing to segmentation.expand_labels to support anisotropic images (#7080).
Parameters shift_x and shift_y in skimage.morphology.erosion and skimage.morphology.dilation are deprecated. Use pad_footprint or modify the footprint manually instead (#6695).
Remove unexpected value scaling in skimage.morphology.skeletonize_3d for non-binary input images. skeletonize_3d now always returns a binary array like similar functions (#7095).
Deprecate function skimage.feature.plot_matches in favor of skimage.feature.plot_matched_features (#7255).
Deprecate skimage.morphology.skeletonize_3d in favor of just skimage.morphology.skeletonize (#7094).
Deprecate parameter output in skimage.filters.gaussian; use out instead (#7225).
Change the default value of the parameters shift_x, shift_y and shift_z from False to 0 in the skimage.filters.rank functions. This has not impact on the results. Warn in case boolean shifts are provided from now on (#7320).
Performance
Add lazy loading to skimage.metrics module (#7211).
Speedup skimage.util.map_array by parallelization with Cython's prange (#7266).
Bug Fixes
Add exception to avoid surprising result when image is too small for the given parameters in skimage.feature.hog (#7153).
Ensure skimage.morphology.closing and skimage.morphology.opening are extensive and anti-extensive, respectively, if the footprint is not mirror symmetric (#6695).
Avoid a TypeError in skimage.registration.phase_cross_correlation when the real-time shift cannot be determined (disambiguate=True). Display a warning instead (#7259).
Fix logic in skimage.graph.pixel_graph which raised a TypeError when the parameter edge_function was provided without a mask (#7310).
Ensure cache stays empty when cache=False is passed to skimage.measure.regionprops (#7333).
Documentation
Update instructions for updating dev environment (#7160).
NumPy 1.26.4 is a maintenance release that fixes bugs and regressions
discovered after the 1.26.3 release. The Python versions supported by
this release are 3.9-3.12. This is the last planned release in the
1.26.x series.
Contributors
A total of 13 people contributed to this release. People with a "+" by
their names contributed a patch for the first time.
Charles Harris
Elliott Sales de Andrade
Lucas Colley +
Mark Ryan +
Matti Picus
Nathan Goldbaum
Ola x Nilsson +
Pieter Eendebak
Ralf Gommers
Sayed Adel
Sebastian Berg
Stefan van der Walt
Stefano Rivera
Pull requests merged
A total of 19 pull requests were merged for this release.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 2 updates: scikit-image and numpy.
Updates
scikit-image
from 0.19.3 to 0.23.1Release notes
Sourced from scikit-image's releases.
... (truncated)
Commits
bf08f8f
Designate 0.23.1 release6a60e5b
Revert to older artifacat uploader and downloader51c47c9
Bump versionc23ebd1
Designate 0.23.0 releaseb8ef57a
Fix docstring (missing minus sign) forEuclideanTransform
. (#7097)a61e04e
Update lazyloader (#7373)eab8481
Include border when generating basin markers for watershed. (#7362)8cc2c24
Update GH actions (#7368)286efab
Remove ensure_python_version function (#7370)a823601
Bump versionUpdates
numpy
from 1.26.2 to 1.26.4Release notes
Sourced from numpy's releases.
... (truncated)
Commits
9815c16
Merge pull request #25770 from charris/prepare-1.26.4114ed25
REL: Prepare for the NumPy 1.26.4 release2fae4d3
Merge pull request #25323 from stefanor/import-asstrce89a0a
Merge pull request #25756 from charris/backport-24711f62dfc6
Merge pull request #25755 from charris/backport-25709fee88ab
BUG: Fix np.quantile([Fraction(2,1)], 0.5) (#24711)659be68
MAINT: Include header defining backtrace837cd38
Merge pull request #25748 from rgommers/unvendor-mesonpythonf984240
CI: upgrade cibuildwheel from 2.16.4 to 2.16.5 [wheel build]3548f9d
BLD: unvendor meson-python [wheel build]Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show