scikit-image 0.23.2 (2024-04-20)
connectivity
skimage.segmentation.watershed
Maintenance
Use numpy.inf instead of deprecated numpy.infty (#7386).
Update Ruff config (#7387).
Update matrix and names of Azure pipelines configuration (#7390).
Use upload- and download-artifact v4 (#7389).
Ignore arch specific cast warnings originating from astype in tests (#7393).
Update link to numpydoc example.py (#7395).
skimage.morphology
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 new parameter spacing to segmentation.expand_labels to support anisotropic images (#7080).
skimage.feature.plot_matches
skimage.feature.plot_matched_features
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).
TypeError
edge_function
mask
Ensure cache stays empty when cache=False is passed to skimage.measure.regionprops (#7333).
xarray.DataArray
pandas.DataFrame
Fix broken function calls and syntax issues in user guide (#7234).
Use correct default mode in docstring of skimage.transform.swirl (#7241).
Add missing documentation about spacing parameter in moments_normalized (#7248).
Update docstring & example in the hough_ellipse transform (#6893).
Point binder tag/branch to commit corresponding to docs/release (#7252).
Add example to FundamentalMatrixTransform class (#6863).
Adds explanation of what the optional dependency on Matplotlib offers to the install instructions (#7286).
Use correct symbol θ for tightness in the docstring of skimage.registration.optical_flow_tvl1 (#7314).
The description of the parameter cval is modified in “int or float”. cval is a numerical value not a string (#7319).
Remove obsolete instruction about documenting changes (#7321).
Added comment to clarify that dt corresponds to tau, i.e. the time step. Changed gray scale in grayscale in the entire registration module (#7324).
Create SECURITY.md (#7230).
Remove deprecated parameter coordinates from docstring example of skimage.segmentation.active_contour (#7329).
Include dates in release note headings (#7269).
Update description of how to document pull requests for inclusion in the release notes (#7267).
Clarify description of data_range parameter in skimage.metrics.structural_similarity (#7345).
Use object-oriented Matplotlib style in longer gallery examples and demonstrations (doc/examples/applications) (#7346).
In the gallery example on segmenting human cells (in mitosis), include the border when generating basin markers for watershed (#7362).
Add missing minus sign in docstring of skimage.transform.EuclideanTransform (#7097).
pre-commit[bot]
Pin Pillow to <10.1.0 until incompatibility with imageio is fixed (#7208).
Apply black to _hog.py after previous merge lacking black (#7215).
Unpin Cython after release of Cython 3.0.4 (#7214).
[pre-commit.ci] pre-commit autoupdate (#7236).
Cleanup for Python 3.12 (#7173).
Make Python 3.12 default CI Python (#7244).
Add explicit noexcept to address Cython 3.0 warnings (#7250).
Update imageio to fix Pillow incompatibility (#7245).
Upgrade docker/setup-qemu-action to v3 (#7134).
Fix warningfilter for deprecation in SciPy 1.12.0rc1 (#7275).
Update to numpy>=1.23 and matplotlib>=3.6 according to SPEC 0 (#7284).
Add new deprecate_parameter helper (#7256).
Update meson and Cython (#7283).
Handle floating point warning for empty images in skimage.registration.phase_cross_correlation (#7287).
Update spin (0.8) (#7285).
Complete deprecations that were scheduled for our 0.23 release. Remove now unused deprecate_kwarg and remove_arg; they are entirely succeeded by deprecate_parameter (#7290).
For security best practices, use the scientific-python/upload-nightly-action GitHub Action from known commit shas that correspond to tagged releases. These can be updated automatically via Dependabot (#7306).
Update pre-commits repos (#7303).
The test suite can now be run without numpydoc installed (#7307).
Deal with parallel write warning from Pydata theme (#7311).
Test nightly wheel build with NumPy 2.0 (#7288).
Make it clear that funcs in _optical_flow_utils are private (#7328).
Update dependencies (spec 0) (#7335).
Follow-up cleaning & fixes for compatibility with NumPy 1 & 2 (#7326).
Replace ignored teardown with autouse fixture in test_fits.py (#7340).
Address new copy semantics & broadcasting in np.solve in NumPy 2 (#7341).
Ignore table of execution times by Sphinx gallery (#7327).
Allow a very small floating point tolerance for pearson test (#7356).
Update numpydoc to version 1.7 (#7355).
[pre-commit.ci] pre-commit autoupdate (#7365).
Simplify warning filters in test suite (#7349).
Build against NumPy >=2.0.0rc1 (#7367).
Remove ensure_python_version function (#7370).
Update GitHub actions to setup-python@v5, cache@v4, upload-artifact@v4, and download-artifact@v4 (#7368).
Update lazyloader to v0.4 (#7373).
Juan Nunez-Iglesias (@jni)
21 reviewers added to this release (alphabetically):
_These lists are automatically generated, and may not be complete or may contain duplicates._