Skip to content

Update dependency scikit-image to v0.19.3#74

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate-scikit-image-0.x
Open

Update dependency scikit-image to v0.19.3#74
renovate[bot] wants to merge 1 commit into
masterfrom
renovate-scikit-image-0.x

Conversation

@renovate

@renovate renovate Bot commented May 8, 2020

Copy link
Copy Markdown

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
scikit-image (source) ==0.16.2 -> ==0.19.3 age adoption passing confidence

Release Notes

scikit-image/scikit-image

v0.19.3

Compare Source

Announcement: scikit-image 0.19.3

We're happy to announce the release of scikit-image v0.19.3!

scikit-image is an image processing toolbox for SciPy that includes algorithms
for segmentation, geometric transformations, color space manipulation,
analysis, filtering, morphology, feature detection, and more.

For more information, examples, and documentation, please visit our website:

https://scikit-image.org

Bugs Fixed

  • Revert unintentional change to default multichannel behavior introduced in v0.19.0 for skimage.restoration.cycle_spin (now defaults to single channel again)
  • Fix corner case with an optimal angle of 0 degrees in hough_line_peaks
  • Fixed the gallery example involving registration with log-polar transformations
  • Update test suite for compatibility with the most recent tifffile release.
  • warp/rotate: fixed a bug with clipping when cval is not in the input range
  • Fix computation of histogram bins for multichannel integer-valued images

General Maintenance

  • Update skimage.future.manual_polygon_segmentation to work with Matplotlib 3.5.
  • Update skimage.io.imread to avoid warnings when using imageio>=2.16.2.
  • Now compatible with Pillow >= 9.1 (palette may contain <256 entries)
  • Added support for NumPy 1.23

Pull Requests Included

  • Backport PR #​6306 on branch v0.19.x (Fix for error in 'Using Polar and Log-Polar Transformations for Registration') (#​6312)
  • Backport PR #​6271 on branch v0.19.x (hough_line_peaks fix for corner case with optimal angle=0) (#​6313)
  • Backport PR #​6261 on branch v0.19.x (Ignore sparse matrix deprecation warning) (#​6316)
  • backport PR 6328: Fix issue with newer versions of matplotlib in manual segmentation (#​6334)
  • Backport PR #​6343 on branch v0.19.x (avoid warnings about change to v3 API from imageio) (#​6344)
  • Backport PR #​6355 on branch v0.19.x (remove use of deprecated kwargs from test_tifffile_kwarg_passthrough) (#​6357)
  • Backport PR #​6352 on branch v0.19.x (Fix channel_axis default for cycle_spin) (#​6358)
  • Backport PR #​6348 on branch v0.19.x (Fix smoothed image computation when mask is None in canny) (#​6359)
  • Backport PR #​6361 on branch v0.19.x (Document support for Path objects in io functions) (#​6363)
  • Backport PR #​6400 on branch v0.19.x (Add support for NumPy 1.23) (#​6403)
  • Backport PR #​6335 on branch v0.19.x (warp/rotate: fixed a bug with clipping when cval is not in the input range) (#​6411)
  • Backport PR #​6413 on branch v0.19.x (Fix computation of histogram bins for multichannel integer-valued images) (#​6414)

10 authors added to this release [alphabetical by first name or login]

  • Albert Y. Shih
  • Bartłomiej Śmietanka
  • Dave Mellert
  • Gregory Lee
  • Graham Inggs
  • Jarrod Millman
  • John Hagen
  • Mark Harfouche
  • Riadh Fezzani
  • Stefan van der Walt

7 reviewers added to this release [alphabetical by first name or login]

  • Alexandre de Siqueira
  • Gregory Lee
  • Jarrod Millman
  • Juan Nunez-Iglesias
  • Lars Grüter
  • Mark Harfouche
  • Riadh Fezzani

v0.19.2

Compare Source

scikit-image 0.19.2

We're happy to announce the release of scikit-image v0.19.2! This is primarily
a bug fix release, although there is one new gallery example related to
detection of fluorescence at the nuclear envelope of mammalian cells.

Pull Requests Included

  • fix mistake in tests.yml made during backport (gh-6129)
  • Backport PR #​6145 on branch v0.19.x (Fix channel_axis handling in pyramid_gaussian and pyramid_laplace) (gh-6155)
  • Backport PR #​6130 on branch v0.19.x (bump deprecated Azure windows environment) (gh-6131)
  • Backport PR #​6148 on branch v0.19.x (deprecate n_iter_max (should be max_num_iter)) (gh-6156)
  • Backport PR #​6152 on branch v0.19.x (specify python version used by mybinder.org for gallery demos) (gh-6157)
  • Backport PR #​6139 on branch v0.19.x (fix phase_cross_correlation typo) (gh-6158)
  • Backport PR #​6133 on branch v0.19.x (Update user warning message for viewer module.) (gh-6159)
  • Backport PR #​6169 on branch v0.19.x (Fix unintended change to output dtype of match_histograms) (gh-6172)
  • Backport PR #​6184 on branch v0.19.x (Fix SIFT wrong octave indices + typo) (gh-6186)
  • Backport PR #​6191 on branch v0.19.x (Fix issue6190 - inconsistent default parameters in pyramids.py) (gh-6193)
  • Backport PR #​6207 on branch v0.19.x (Always set params to nan when ProjectiveTransform.estimate fails) (gh-6210)
  • Backport PR #​5262 on branch v0.19.x (Add textbook-like tutorial on measuring fluorescence at nuclear envelope.) (gh-6213)
  • Backport PR #​6087 on branch v0.19.x (Add two datasets for use in upcoming scientific tutorials.) (gh-6215)
  • Backport PR #​6214 on branch v0.19.x (EuclideanTransform.estimate should return False when NaNs are present) (gh-6221)
  • Backport PR #​6219 on branch v0.19.x (Allow the output_shape argument to be any iterable for resize and resize_local_mean) (gh-6222)
  • Backport PR #​6223 on branch v0.19.x (Update filename in testing instructions.) (gh-6225)
  • Backport PR #​6231 on branch v0.19.x (Update imports/refs from deprecated scipy.ndimage.filters namespace) (gh-6233)
  • Backport PR #​6229 on branch v0.19.x (Remove redundant testing on Appveyor) (gh-6234)
  • Backport PR #​6183 on branch v0.19.x (Fix decorators warnings stacklevel) (gh-6238)
  • Backport PR #​6239 on branch v0.19.x (DOC: fix SciPy intersphinx) (gh-6241)
  • Backport PR #​6232 on branch v0.19.x (Include Cython sources via package_data) (gh-6244)
  • Backport PR #​6227 on branch v0.19.x (Fix calculation of Z normal in marching cubes) (gh-6245)
  • Backport PR #​6242 on branch v0.19.x (Fix bug in SLIC superpixels with enforce_connectivity=True and start_label > 0) (gh-6246)
  • Backport PR #​6211 on branch v0.19.x (PiecewiseAffineTransform.estimate return should reflect underlying transforms) gh-6247
  • update MacOS libomp installation in wheel building script (gh-6249)

9 authors added to this release [alphabetical by first name or login]

  • Chris Roat
  • Fabian Schneider
  • Gregory Lee
  • Hande Gözükan
  • Larry Bradley
  • Marianne Corvellec
  • Mark Harfouche
  • Miles Lucas
  • Riadh Fezzani

8 reviewers added to this release [alphabetical by first name or login]

  • Alexandre de Siqueira
  • Gregory Lee
  • Juan Nunez-Iglesias
  • Marianne Corvellec
  • Mark Harfouche
  • Riadh Fezzani
  • Robert Haase
  • Stefan van der Walt

v0.19.1

Compare Source

scikit-image 0.19.1

We're happy to announce the release of scikit-image v0.19.1!

This is a small bug fix release that resolves a couple of backwards compatibility issues and a couple of issues with the wheels on PyPI. Specifically, MacOS wheels for Apple M1 (arm64) on PyPI were broken in 0.19.0, but should now be repaired. The arm64 wheels are for MacOs >= 12 only. Wheel sizes are also greatly reduced relative to 0.19.0 by stripping debug symbols from the binaries and making sure that Cython-generated source files are not bundled in the wheels.

Pull Requests Included

  • Backport PR #​6097 on branch v0.19.x (Restore non-underscore functions in skimage.data) (gh-6099)
  • Backport PR #​6095 on branch v0.19.x (Preserve backwards compatibility for channel_axis parameter in transform functions) (gh-6100)
  • Backport PR #​6103 on branch v0.19.x (Make rank filter test comparisons robust across architectures) (gh-6106)
  • Backport PR #​6105 on branch v0.19.x (Pass a specific random_state into ransac in test_ransac_geometric) (gh-6107)
  • Fix two equality comparison bugs in the wheel build script (gh-6098)
  • Backport of gh-6109 (Add linker flags to strip debug symbols during wheel building) (gh-6110)
  • Pin setuptools maximum in v0.19.x to avoid breaking on planned distutils API changes (gh-6112)
  • Avoid potential circular import of rgb2gray (gh-6113)
  • Backport PR #​6089 on branch v0.19.x (Skip tests requiring fetched data) (gh-6115)
  • Backport PR #​6118 on branch v0.19.x (Fixes to tests.yml and fixes for expected warnings) (gh-6127)
  • Backport PR #​6114 on branch v0.19.x (Relax test condition to make it more robust to variable CI load) (gh-6128)

3 authors added to this release [alphabetical by first name or login]

  • Gregory R. Lee
  • Joshua Newton
  • Mark Harfouche

5 reviewers added to this release [alphabetical by first name or login]

  • Gregory R. Lee
  • Juan Nunez-Iglesias
  • Marianne Corvellec
  • Mark Harfouche
  • Stefan van der Walt

v0.19.0

Compare Source

Announcement: scikit-image 0.19.0

We're happy to announce scikit-image v0.19.0!

scikit-image is an image processing toolbox for SciPy that includes algorithms for segmentation, geometric transformations, color space manipulation, analysis, filtering, morphology, feature detection, and more.

For more information, examples, and documentation, please visit our website: https://scikit-image.org

A highlight of this release is the addition of the popular scale-invariant feature transform (SIFT) feature detector and descriptor. This release also
introduces a perceptual blur metric, new pixel graph algorithms, and most functions now operate in single-precision when single-precision inputs are provided. Many other bug fixes, enhancements and performance improvements are detailed below.

A significant change in this release is in the treatment of multichannel images. The existing multichannel argument to functions has been deprecated in favor of a new channel_axis argument. channel_axis can be used to specify which axis of an array contains channel information (with channel_axis=None indicating a grayscale image).

scikit-image now uses "lazy loading", which enables users to access the functions from all skimage submodules without the overhead of eagerly importing all submodules. As a concrete example, after calling "import skimage" a user can directly call a function such as skimage.transform.warp whereas previously it would have been required to first "import skimage.transform".

An exciting change on the development side is the introduction of support for Pythran as an alternative to Cython for generating compiled code. We plan to keep Cython support as well going forward, so developers are free to use either one as appropriate. For those curious about Pythran, a good overview was given in the SciPy 2021 presentation, "Building SciPy Kernels with Pythran" (https://www.youtube.com/watch?v=6a9D9WL6ZjQ).

This release now supports 3.7-3.10. Apple M1 architecture (arm64) support is new to this release. MacOS 12 wheels are provided for Python 3.8-3.10.

New Features

  • Added support for processing images with channels located along any array axis. This is in contrast to previous releases where channels were required to be the last axis of an image. See more info on the new channel_axis argument under the API section of the release notes.
  • A no-reference measure of perceptual blur was added (skimage.measure.blur_effect).
  • Non-local means (skimage.restoration.denoise_nl_means) now supports 3D multichannel, 4D and 4D multichannel data when fast_mode=True.
  • An n-dimensional Fourier-domain Butterworth filter (skimage.filters.butterworth) was added.
  • Color conversion functions now have a new channel_axis keyword argument that allows specification of which axis of an array corresponds to channels. For backwards compatibility, this parameter defaults to channel_axis=-1, indicating that channels are along the last axis.
  • Added a new keyword only parameter random_state to morphology.medial_axis and restoration.unsupervised_wiener.
  • Seeding random number generators will not give the same results as the underlying generator was updated to use numpy.random.Generator.
  • Added saturation parameter to skimage.color.label2rgb
  • Added normalized mutual information metric skimage.metrics.normalized_mutual_information
  • threshold_local now supports n-dimensional inputs and anisotropic block_size
  • New skimage.util.label_points function for assigning labels to points.
  • Added nD support to several geometric transform classes
  • Added skimage.metrics.hausdorff_pair to find points separated by the Hausdorff distance.
  • Additional colorspace illuminants and observers parameter options were added to skimage.color.lab2rgb, skimage.color.rgb2lab,
    skimage.color.xyz2lab, skimage.color.lab2xyz, skimage.color.xyz2luv and skimage.color.luv2xyz.
  • skimage.filters.threshold_multiotsu has a new hist keyword argument to allow use with a user-supplied histogram. (gh-5543)
  • skimage.restoration.denoise_bilateral added support for images containing negative values. (gh-5527)
  • The skimage.feature functions blob_dog, blob_doh and blob_log now support a threshold_rel keyword argument that can be used to specify a relative threshold (in range [0, 1]) rather than an absolute one. (gh-5517)
  • Implement lazy submodule importing (gh-5101)
  • Implement weighted estimation of geometric transform matrices (gh-5601)
  • Added new pixel graph algorithms in skimage.graph: pixel_graph generates a graph (network) of pixels according to their adjacency, and central_pixel finds the geodesic center of the pixels. (gh-5602)
  • scikit-image now supports use of Pythran in contributed code. (gh-3226)

Improvements

  • Many more functions throughout the library now have single precision (float32) support.
  • Biharmonic inpainting (skimage.restoration.inpaint_biharmonic) was refactored and is orders of magnitude faster than before.
  • Salt-and-pepper noise generation with skimage.util.random_noise is now faster.
  • The performance of the SLIC superpixels algorithm (skimage.segmentation.slice) was improved for the case where a mask is supplied by the user (gh-4903). The specific superpixels produced by masked SLIC will not be identical to those produced by prior releases.
  • exposure.adjust_gamma has been accelerated for uint8 images thanks to a LUT (gh-4966).
  • measure.label has been accelerated for boolean input images, by using scipy.ndimage's implementation for this case (gh-4945).
  • util.apply_parallel now works with multichannel data (gh-4927).
  • skimage.feature.peak_local_max supports now any Minkowski distance.
  • Fast, non-Cython implementation for skimage.filters.correlate_sparse.
  • For efficiency, the histogram is now precomputed within skimage.filters.try_all_threshold.
  • Faster skimage.filters.find_local_max when given a finite num_peaks.
  • All filters in the skimage.filters.rank module now release the GIL, enabling multithreaded use.
  • skimage.restoration.denoise_tv_bregman and
    skimage.restoration.denoise_bilateral now release the GIL, enabling multithreaded use.
  • A skimage.color.label2rgb performance regression was addressed.
  • Improve numerical precision in CircleModel.estimate. (gh-5190)
  • Add default keyword argument values to skimage.restoration.denoise_tv_bregman, skimage.measure.block_reduce, and skimage.filters.threshold_local. (gh-5454)
  • Make matplotlib an optional dependency (gh-5990)
  • single precision support in skimage.filters (gh-5354)
  • Support nD images and labels in label2rgb (gh-5550)
  • Regionprops table performance refactor (gh-5576)
  • add regionprops benchmark script (gh-5579)
  • remove use of apply_along_axes from greycomatrix & greycoprops (gh-5580)
  • refactor gabor_kernel for efficiency (gh-5582)
  • remove need for channel_as_last_axis decorator in skimage.filters (gh-5584)
  • replace use of scipy.ndimage.gaussian_filter with skimage.filters.gaussian (gh-5872)
  • add channel_axis argument to quickshift (gh-5987)
  • add MacOS arm64 wheels (gh-6068)

API Changes

  • The multichannel boolean argument has been deprecated. All functions with multichannel support now use an integer channel_axis to specify which axis corresponds to channels. Setting channel_axis to None is used to indicate that the image is grayscale. Specifically, existing code with multichannel=True should be updated to use channel_axis=-1 and code with multichannel=False should now specify channel_axis=None.
  • Most functions now return float32 images when the input has float32 dtype.
  • A default value has been added to measure.find_contours, corresponding to the half distance between the min and max values of the image (gh-4862).
  • data.cat has been introduced as an alias of data.chelsea for a more descriptive name.
  • The level parameter of measure.find_contours is now a keyword argument, with a default value set to (max(image) - min(image)) / 2.
  • p_norm argument was added to skimage.feature.peak_local_max to add support for Minkowski distances.
  • skimage.transforms.integral_image now promotes floating point inputs to double precision by default (for accuracy). A new dtype keyword argument can be used to override this behavior when desired.
  • Color conversion functions now have a new channel_axis keyword argument (see New Features section).
  • SLIC superpixel segmentation outputs may differ from previous versions for data that was not already scaled to [0, 1] range. There is now an automatic internal rescaling of the input to [0, 1] so that the compactness parameter has an effect that is independent of the input image's scaling.
  • A bug fix to the phase normalization applied within skimage.register.phase_cross_correlation may result in a different result as compared to prior releases. The prior behavior of "unnormalized" cross correlation is still available by explicitly setting normalization=None. There is no change to the masked cross-correlation case, which uses a different algorithm.

Bugfixes

  • Input labels argument renumbering in skimage.feature.peak_local_max is avoided (gh-5047).
  • fix clip bug in resize when anti_aliasing is applied (gh-5202)
  • Nonzero values at the image edge are no longer incorrectly marked as a boundary when using find_bounaries with mode='subpixel' (gh-5447).
  • Fix return dtype of _label2rgb_avg function.
  • Ensure skimage.color.separate_stains does not return negative values.
  • Prevent integer overflow in EllipseModel.
  • Fixed off-by one error in pixel bins in Hough line transform, skimage.transform.hough_line.
  • Handle 1D arrays properly in skimage.filters.gaussian.
  • Fix Laplacian matrix size bug in skimage.segmentation.random_walker.
  • Regionprops table (skimage.measure.regionprops_table) dtype bugfix.
  • Fix skimage.transform.rescale when using a small scale factor.
  • Fix skimage.measure.label segfault.
  • Watershed (skimage.segmentation.watershed): consider connectivity when calculating markers.
  • Fix skimage.transform.warp output dtype when order=0.
  • Fix multichannel intensity_image extra_properties in regionprops.
  • Fix error message for skimage.metric.structural_similarity when image is too small.
  • Do not mark image edges in 'subpixel' mode of skimage.segmentation.find_boundaries.
  • Fix behavior of skimage.exposure.is_low_contrast for boolean inputs.
  • Fix wrong syntax for the string argument of ValueError in skimage.metric.structural_similarity .
  • Fixed NaN issue in skimage.filters.threshold_otsu.
  • Fix skimage.feature.blob_dog docstring example and normalization.
  • Fix uint8 overflow in skimage.exposure.adjust_gamma.
  • Work with pooch 1.5.0 for fetching data (gh-5529).
  • The offsets attribute of skimage.graph.MCP is now public. (gh-5547)
  • Fix io.imread behavior with pathlib.Path inputs (gh-5543)
  • Make scikit-image imports from Pooch, compatible with pooch >= 1.5.0 (gh-5529)
  • Fix several broken doctests and restore doctesting on GitHub Actions (gh-5505)
  • Fix broken doctests in skimage.exposure.histogram and skimage.measure.regionprops_table. (gh-5522)
  • Rescale image consistently during SLIC superpixel segmentation. (gh-5518)
  • Correct phase correlation in skimage.register.phase_cross_correlation. (gh-5461)
  • Fix hidden attribute 'offsets' in skimage.graph.MCP (gh-5551)
  • fix phase_cross_correlation for 3D with reference masks (gh-5559)
  • fix return shape of blob_log and blob_dog when no peaks are found (gh-5567)
  • Fix find contours key error (gh-5577)
  • Refactor measure.ransac and add warning when the estimated model is not valid (gh-5583)
  • Restore integer image rescaling for edge filters (gh-5589)
  • trainable_segmentation: re-raise in error case (gh-5600)
  • allow regionprops_table to be called with deprecated property names (gh-5908)
  • Fix weight calculation in fast mode of non-local means (gh-5923)
  • fix for #​5948: lower boundary 1 for kernel_size in equalize_adapthist (gh-5949)
  • convert pathlib.Path to str in imsave (gh-5971)
  • Fix slic spacing (gh-5974)
  • Add small regularization to avoid zero-division in richardson_lucy (gh-5976)
  • Fix benchmark suite (watershed function was moved) (gh-5982)
  • catch QhullError and return empty array (convex_hull) (gh-6008)
  • add property getters for all newly deprecated regionprops names (gh-6000)
  • Fix the estimation of ellipsoid axis lengths in the 3D case (gh-6013)
  • Fix peak local max segfault (gh-6035)
  • Avoid circular import errors when EAGER_IMPORT=1 (gh-6042)
  • remove all use of the deprecated distutils package (gh-6044)
  • Backport PR #​6061 on branch v0.19.x (remove use of deprecated np.int in SIFT) (gh-6062)
  • Backport PR #​6060 on branch v0.19.x (Fix test failures observed with numpy 1.22rc0) (gh-6063)

Completed Deprecations from Prior Releases

  • In measure.label, the deprecated neighbors parameter has been removed (use connectivity instead).
  • The deprecated skimage.color.rgb2grey and skimage.color.grey2rgb functions have been removed (use skimage.color.rgb2gray and
    skimage.color.gray2rgb instead).
  • skimage.color.rgb2gray no longer allows grayscale or RGBA inputs.
  • The deprecated alpha parameter of skimage.color.gray2rgb has now been removed. Use skimage.color.gray2rgba for conversion to RGBA.
  • Attempting to warp a boolean image with order > 0 now raises a ValueError.
  • When warping or rescaling boolean images, setting anti-aliasing=True will raise a ValueError.
  • The bg_label parameter of skimage.color.label2rgb is now 0.
  • The deprecated filter parameter of skimage.transform.iradon has now been removed (use filter_name instead).
  • The deprecated skimage.draw.circle function has been removed (use skimage.draw.disk instead).
  • The deprecated skimage.feature.register_translation function has been removed (use skimage.registration.phase_cross_correlation instead).
  • The deprecated skimage.feature.masked_register_translation function has been removed (use skimage.registration.phase_cross_correlation instead).
  • The deprecated skimage.measure.marching_cubes_classic function has been removed (use skimage.measure.marching_cubes instead).
  • The deprecated skimage.measure.marching_cubes_lewiner function has been removed (use skimage.measure.marching_cubes instead).
  • The deprecated skimage.segmentation.circle_level_set function has been removed (use skimage.segmentation.disk_level_set instead).
  • The deprecated inplace parameter of skimage.morphology.flood_fill has been removed (use in_place instead).
  • The deprecated skimage.util.pad function has been removed (use numpy.pad instead).
  • The default mode in skimage.filters.hessian is now 'reflect'.
  • The default boundary mode in skimage.filters.sato is now 'reflect'.
  • The default boundary mode in skimage.measure.profile_line is now 'reflect'.
  • The default value of preserve_range in skimage.restoration.denoise_nl_means is now False.
  • The default value of start_label in skimage.segmentation.slic is now 1.

Newly introduced deprecations:

  • The multichannel argument is now deprecated throughout the library and will be removed in 1.0. The new channel_axis argument should be used instead. Existing code with multichannel=True should be updated to use channel_axis=-1 and code with multichannel=False should now specify channel_axis=None.

  • skimage.feature.greycomatrix and skimage.feature.greycoprops are deprecated in favor of skimage.feature.graycomatrix and
    skimage.feature.graycoprops.

  • The skimage.morphology.grey module has been renamed skimage.morphology.gray. The old name is deprecated.

  • The skimage.morphology.greyreconstruct module has been renamed skimage.morphology.grayreconstruct. The old name is deprecated.

  • see API Changes section regarding functions with deprecated argument names related to the number of iterations. num_iterations and
    max_num_iter are now used throughout the library.

  • see API Changes section on deprecation of the selem argument in favor of footprint throughout the library

  • Deprecate in_place in favor of the use of an explicit out argument in skimage.morphology.remove_small_objects,
    skimage.morphology.remove_small_holes and skimage.segmentation.clear_border

  • The input argument of skimage.measure.label has been renamed label_image. The old name is deprecated.

  • standardize on num_iter for paramters describing the number of iterations and max_num_iter for parameters specifying an iteration limit. Functions where the old argument names have now been deprecated are::

    Function Name
    skimage.filters.threshold_minimum
    skimage.morphology.thin
    skimage.restoration.denoise_tv_bregman
    skimage.restoration.richardson_lucy
    skimage.segmentation.active_contour
    skimage.segmentation.chan_vese
    skimage.segmentation.morphological_chan_vese
    skimage.segmentation.morphological_geodesic_active_contour
    skimage.segmentation.slic
  • The names of several parameters in skimage.measure.regionprops
    have been updated so that properties are better grouped by the first
    word(s) of the name. The old names will continue to work for
    backwards compatibility. The specific names that were updated are:

    Old Name New Name
    max_intensity intensity_max
    mean_intensity intensity_mean
    min_intensity intensity_min
    bbox_area area_bbox
    convex_area area_convex
    filled_area area_filled
    convex_image image_convex
    filled_image image_filled
    intensity_image image_intensity
    local_centroid centroid_local
    weighted_centroid centroid_weighted
    weighted_local_centroid centroid_weighted_local
    major_axis_length axis_major_length
    minor_axis_length axis_minor_length
    weighted_moments moments_weighted
    weighted_moments_central moments_weighted_central
    weighted_moments_hu moments_weighted_hu
    weighted_moments_normalized moments_weighted_normalized
    equivalent_diameter equivalent_diameter_area
  • The selem argument has been renamed to footprint throughout the library. The selem argument is now deprecated.

Additional details at: https://raw.githubusercontent.com/scikit-image/scikit-image/v0.19.0/doc/release/release\_0.19.rst

v0.18.3

Compare Source

scikit-image 0.18.3

This is a small bugfix release for compatibility with Pooch 1.5 and SciPy 1.7.

Bug fixes

  • Only import from Pooch's public API. This resolves an import failure with
    Pooch 1.5.0. (#​5531, backport of #​5529)
  • Do not use deprecated scipy.linalg.pinv2 in random_walker when
    using the multigrid solver. (#​5531, backport of #​5437)

v0.18.2

Compare Source

v0.18.1

Compare Source

scikit-image 0.18.1

This is a bug fix release and contains the following two bug fixes:

  • Fix indexing error for labelling in large (>2GB) arrays (#​5143, #​5151)
  • Only use retry_if_failed with recent pooch (#​5148)

See below for the new features and API changes in 0.18.0.

Announcement: scikit-image 0.18.0

We're happy to announce the release of scikit-image v0.18.0!

scikit-image is an image processing toolbox for SciPy that includes algorithms
for segmentation, geometric transformations, color space manipulation,
analysis, filtering, morphology, feature detection, and more.

This release of scikit-image drops support for Python 3.6 in accordance with
the NEP-29 Python and Numpy version support community standard <https://numpy.org/neps/nep-0029-deprecation_policy.html>_: Python 3.7 or
newer is required to run this version.

For more information, examples, and documentation, please visit our website:

https://scikit-image.org

New Features

  • Add the iterative Lucas-Kanade (iLK) optical flow method (#​4161)
  • Add Feret diameter in region properties (#​4379, #​4820)
  • Add functions to compute Euler number and Crofton perimeter estimation (#​4380)
  • Add a function to compute the Hausdorff distance (#​4382)
  • Added 3D support for many filters in skimage.filters.rank.
  • An experimental implementation of trainable pixel segmentation, aiming for
    compatibility with the scikit-learn API, has been added to
    skimage.future. Try it out! (#​4739)
  • Add a new function segmentation.expand_labels to dilate labels while
    preventing overlap (#​4795)
  • It is now possible to pass extra measurement functions to
    measure.regionprops and regionprops_table (#​4810)
  • Add rolling ball algorithm for background subtraction (#​4851)
  • New sample images have been added in the data subpackage: data.eagle
    (#​4922), data.human_mitosis (#​4939), data.cells3d (#​4951), and
    data.vortex (#​5041). Also note that the image for data.camera has
    been changed due to copyright issues (#​4913).
  • skimage.feature.structure_tensor now supports 3D (and nD) images as input
    (#​5002)
  • Many thresholding methods can now receive a precomputed histogram as input,
    resulting in significant speedups if multiple methods are tried on the same
    image, or if a fast histogram method is used. (#​5006)
  • measure.regionprops now supports multichannel intensity images (#​5037)

Documentation

  • Add an example to the flood fill tutorial (#​4619)
  • Docstring enhancements for marching cubes and find_contours (#​4641)
  • A new tutorial presenting a cell biology example has been added to the
    gallery (#​4648). Special thanks to Pierre Poulain and Fred Bernard
    (Université de Paris and Institut Jacques Monod) for scientific review of
    this example!
  • Improve register rotation example with notes and references (#​4723)
  • Add versionadded for new scalar type support for "scale" param in
    transform.AffineTransform (#​4733)
  • New tutorial on visualizing 3D data <https://scikit-image.org/docs/dev/auto_examples/applications/plot_3d_image_processing.html>_ (#​4850)
  • Add example for 3D adaptive histogram equalization (AHE) (#​4658)
  • Automatic formatting of docstrings for improved consistency (#​4849)
  • Improved docstring for rgb2lab (#​4839) and marching_cubes (#​4846)
  • Improved docstring for measure.marching_cubes, mentioning how to decimate a
    mesh using mayavi (#​4846)
  • Document how to contribute a gallery example. (#​4857)
  • Fix and improve entropy example (#​4904)
  • expand the benchmarking section of the developer docs (#​4905)
  • Improved docstring for util.random_noise (#​5001)
  • Improved docstrings for morphology.h_maxima and morphology.h_minima
    (#​4929).
  • Improved docstring for util.img_as_int (#​4888).
  • A new example demonstrates interactive exploration of regionprops results
    using the PyData stack (pandas, seaborn) at
    https://scikit-image.org/docs/dev/auto_examples/segmentation/plot_regionprops.html`_
    (#​5010).
  • Documentation has been added to explain
    how to download example datasets <https://scikit-image.org/docs/dev/install.html#downloading-all-demo-datasets>_
    which are not installed with scikit-image (#​4984). Similarly, the contributor
    guide has been updated to mention how to host new datasets in a gitlab
    repository (#​4892).
  • The benchmarking section of the developer documentation <https://scikit-image.org/docs/dev/contribute.html#benchmarks>_
    has been expanded (#​4905).
  • Added links to the image.sc forum in example pages (#​5094, #​5096)
  • Added missing datasets to gallery examples (#​5116, #​5118)
  • Add farid filters in all, to populate the documentation (#​5128, #​5129)
  • Proofread gallery example for rank filters. (#​5126, #​5136)

Improvements

  • float32 support for SLIC (#​4683), ORB (#​4684, #​4697), BRIEF (#​4685),
    pyramid_gaussian (#​4696), Richardson-Lucy deconvolution (#​4880)
  • In skimage.restoration.richardson_lucy, computations are now done in
    single-precision when the input image is single-precision. This can give a
    substantial performance improvement when working with single precision data.
  • Richardson-Lucy deconvolution now has a filter_epsilon keyword argument
    to avoid division by very small numbers (#​4823)
  • Add default level parameter (max-min) / 2 in measure.find_contours (#​4862)
  • The performance of the SLIC superpixels algorithm
    (skimage.segmentation.slice) was improved for the case where a mask
    is supplied by the user (#​4903). The specific superpixels produced by
    masked SLIC will not be identical to those produced by prior releases.
  • exposure.adjust_gamma has been accelerated for uint8 images by using
    a look-up table (LUT) (#​4966).
  • measure.label has been accelerated for boolean input images, by using
    scipy.ndimage's implementation for this case (#​4945).
  • util.apply_parallel now works with multichannel data (#​4927).
  • skimage.feature.peak_local_max supports now any Minkowski distance.
  • We now use sparse cross-correlation to accelerate local thresholding
    functions (#​4912)
  • morphology.convex_hull_image now uses much less memory by checking hull
    inequalities in sequence (#​5020)
  • Polygon rasterization is more precise and will no longer potentially exclude
    input vertices. (#​5029)
  • Add data optional requirements to allow pip install scikit-image[data]
    (#​5105, #​5111)
  • OpenMP support in MSVC (#​4924, #​5111)
  • Restandardize handling of Multi-Image files (#​2815, #​5132)
  • Consistent zoom boundary behavior across SciPy versions (#​5131, #​5133)

API Changes

  • skimage.restoration.richardson_lucy returns a single-precision output
    when the input is single-precision. Prior to this release, double-precision
    was always used. (#​4880)
  • The default value of threshold_rel in skimage.feature.corner has
    changed from 0.1 to None, which corresponds to letting
    skimage.feature.peak_local_max decide on the default. This is currently
    equivalent to threshold_rel=0.
  • In measure.label, the deprecated neighbors parameter has been
    removed. (#​4942)
  • The image returned by data.camera has changed because of copyright
    issues (#​4913).

Bug fixes

  • A bug in label2rgb has been fixed when the input image had np.uint8
    dtype (#​4661)
  • Fixed incorrect implementation of skimage.color.separate_stains (#​4725)
  • Many bug fixes have been made in peak_local_max (#​2592, #​4756, #​4760,
    #​5047)
  • Fix bug in random_walker when input labels have negative values (#​4771)
  • PSF flipping is now correct for Richardson-Lucy deconvolution work in >2D (#​4823)
  • Fix equalize_adapthist (CLAHE) for clip value 1.0 (#​4828)
  • For the RANSAC algorithm, improved the case where all data points are
    outliers, which was previously raising an error
    (#​4844)
  • An error-causing bug has been corrected for the bg_color parameter in
    label2rgb when its value is a string (#​4840)
  • A normalization bug was fixed in metrics.variation_of_information
    (#​4875)
  • Euler characteristic property of skimage.measure.regionprops was erroneous
    for 3D objects, since it did not take tunnels into account. A new implementation
    based on integral geometry fixes this bug (#​4380).
  • In skimage.morphology.selem.rectangle the height argument
    controlled the width and the width argument controlled the height.
    They have been replaced with nrow and ncol. (#​4906)
  • skimage.segmentation.flood_fill and skimage.segmentation.flood
    now consistently handle negative values for seed_point.
  • Segmentation faults in segmentation.flood have been fixed (#​4948, #​4972)
  • A segfault in draw.polygon for the case of 0-d input has been fixed
    (#​4943).
  • In registration.phase_cross_correlation, a ValueError is raised when
    NaNs are found in the computation (as a result of NaNs in input images).
    Before this fix, an incorrect value could be returned where the input images
    had NaNs (#​4886).
  • Fix edge filters not respecting padding mode (#​4907)
  • Use v{} for version tags with pooch (#​5104, #​5110)
  • Fix compilation error in XCode 12 (#​5107, #​5111)

Deprecations

  • The indices argument in skimage.feature.peak_local_max has been
    deprecated. Indices will always be returned. (#​4752)
  • In skimage.feature.structure_tensor, an order argument has been
    introduced which will default to 'rc' starting in version 0.20. (#​4841)
  • skimage.feature.structure_tensor_eigvals has been deprecated and will be
    removed in version 0.20. Use skimage.feature.structure_tensor_eigenvalues
    instead.
  • The skimage.viewer subpackage and the skivi script have been
    deprecated and will be removed in version 0.20. For interactive visualization
    we recommend using dedicated tools such as napari <https://napari.org>_ or
    plotly <https://plotly.com>_. In a similar vein, the qt and skivi
    plugins of skimage.io have been deprecated
    and will be removed in version 0.20. (#​4941, #​4954)
  • In skimage.morphology.selem.rectangle the arguments width and
    height have been deprecated. Use nrow and ncol instead.
  • The explicit setting threshold_rel=0` was removed from the Examples of the following docstrings: skimage.feature.BRIEF,skimage.feature.corner_harris, skimage.feature.corner_shi_tomasi,skimage.feature.corner_foerstner, skimage.feature.corner_fast,skimage.feature.corner_subpix, skimage.feature.corner_peaks,skimage.feature.corner_orientations, andskimage.feature._detect_octave``.
  • In skimage.restoration._denoise, the warning regarding
    rescale_sigma=None was removed.
  • In skimage.restoration._cycle_spin, the # doctest: +SKIP was removed.

Development process

  • Fix #​3327: Add functionality for benchmark coverage (#​3329)
  • Release process notes have been improved. (#​4228)
  • pyproject.toml has been added to the sdist.
  • Build and deploy dev/master documentation using GitHub Actions (#​4852)
  • Website now deploys itself (#​4870)
  • build doc on circle ci and link artifact (#​4881)
  • Benchmarks can now run on older scikit-image commits ([#​4891](https://togithu

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate Bot force-pushed the renovate-scikit-image-0.x branch from d5a5478 to e84c3a7 Compare May 13, 2020 11:58
@renovate renovate Bot changed the title Update dependency scikit-image to v0.17.1 Update dependency scikit-image to v0.17.2 May 13, 2020
@renovate renovate Bot force-pushed the renovate-scikit-image-0.x branch from e84c3a7 to e87bb09 Compare January 6, 2021 01:59
@renovate renovate Bot changed the title Update dependency scikit-image to v0.17.2 Update dependency scikit-image to v0.18.1 Jan 6, 2021
@renovate renovate Bot force-pushed the renovate-scikit-image-0.x branch from e87bb09 to 364658f Compare October 20, 2021 06:03
@renovate renovate Bot changed the title Update dependency scikit-image to v0.18.1 Update dependency scikit-image to v0.18.3 Oct 20, 2021
@renovate renovate Bot force-pushed the renovate-scikit-image-0.x branch from 364658f to 430cd28 Compare March 7, 2022 12:58
@renovate renovate Bot changed the title Update dependency scikit-image to v0.18.3 Update dependency scikit-image to v0.19.2 Mar 7, 2022
@renovate renovate Bot force-pushed the renovate-scikit-image-0.x branch from 430cd28 to 6e0d4c7 Compare June 18, 2022 16:40
@renovate renovate Bot changed the title Update dependency scikit-image to v0.19.2 Update dependency scikit-image to v0.19.3 Jun 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant