Upgrading scikit-image 0.23 to 0.24
Breaking0.23.2 → 0.24.0Platform1Deprecated1New2Changed1Fixed1Other19
BreakingUpgrade verdict
A platform requirement change.
In plain terms
- Python 3.9 is supported again, which helps with NumPy 2 compatibility.
- The image2 option of compare_images is being retired; pass the two images as image0 and image1 instead.
Must act 2 items need code or config changes
Python requirement changed in 0.24.0rc1: >=3.10 → >=3.9.
What you must change
Platform1
Adds support back for Python 3.9 to enhance compatibility with NumPy 2.
Deprecations to plan for
Deprecated1
Deprecates the image2 parameter of skimage.util.compare_images in favor of image0 and image1.
skimage.util.compare_imagesimage2image0image1API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- added:
export remove_objects_by_distance
- added:
function remove_objects_by_distance(label_image, min_distance, *, priority=…, p_norm=…, spacing=…, out=…)
- added:
export ThinPlateSplineTransform
- changed:
function compare_images(image1, image2, method=…, *, n_tiles=…) → function compare_images(image0, image1, *, method=…, n_tiles=…)