pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/py-scikit-image py-scikit-image: updated to 0.15.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/3327904a2943
branches: trunk
changeset: 397143:3327904a2943
user: adam <adam%pkgsrc.org@localhost>
date: Mon Jun 17 15:03:46 2019 +0000
description:
py-scikit-image: updated to 0.15.0
scikit-image 0.15.0
We're happy to announce the release of scikit-image v0.15.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.
0.15 is the first scikit-image release that is only compatible with Python 3.5 and above. Python 2.7 users should strongly consider upgrading to Python 3.5+, or use the 0.14 long term support
releases.
New Features
N-dimensional flood fill, with tolerance
Attribute operators
Extension of register_translation to enable subpixel precision in 3D and optionally disable error calculation
unsharp mask filtering
New options connectivity, indices and allow_borders for skimage.morphology.local_maxima and local_minima.
Image translation registration for masked data (skimage.feature.masked_register_translation)
Frangi (vesselness), Meijering (neuriteness), and Sato (tubeness) filters
Allow float->float conversion of any range
Let lower precision float arrays pass through img_as_float
Lazy apply_parallel (allows optimization of dask array operations)
Add range option for histogram.
Add histogram matching
Improvements
Replace morphology.local_maxima with faster flood-fill based Cython version
skivi is now using qtpy for Qt4/Qt5/PySide/PySide2 compatibility (a new optional dependency).
Performance is now monitored by Airspeed Velocity. Benchmark results will appear at https://pandas.pydata.org/speed/
Speed up inner loop of GLCM
Allow tuple to define kernel in threshold_niblack and threshold_sauvola
Add support for anisotropic blob detection in blob_log and blob_dog
API Changes
skimage.transform.seam_carve has been removed because the algorithm is patented.
Parameter dynamic_range in skimage.measure.compare_psnr has been removed. Use parameter data_range instead.
imageio is now the preferred plugin for reading and writing images.
imageio is now a dependency of scikit-image.
regular_grid now returns a tuple instead of a list for compatibility with numpy 1.15
colorconv.separate_stains and colorconv.combine_stains now uses base10 instead of the natural logarithm as discussed in issue 2995.
Default value of clip_negative parameter in skimage.util.dtype_limits has been set to False.
Default value of circle parameter in skimage.transform.radon has been set to True.
Default value of circle parameter in skimage.transform.iradon has been set to True.
Default value of mode parameter in skimage.transform.swirl has been set to reflect.
Deprecated skimage.filters.threshold_adaptive has been removed. Use skimage.filters.threshold_local instead.
Default value of multichannel parameter in skimage.restoration.denoise_bilateral has been set to False.
Default value of multichannel parameter in skimage.restoration.denoise_nl_means has been set to False.
Default value of mode parameter in skimage.transform.resize and skimage.transform.rescale has been set to reflect.
Default value of anti_aliasing parameter in skimage.transform.resize and skimage.transform.rescale has been set to True.
Removed the skimage.test function. This functionality can be achieved by calling pytest directly.
morphology.local_maxima now returns a boolean array
Bugfixes
Correct bright ridge detection for Frangi filter
skimage.morphology.local_maxima and skimage.morphology.local_minima no longer raise an error if any dimension of the image is smaller 3 and the keyword allow_borders was false.
skimage.morphology.local_maxima and skimage.morphology.local_minima will return a boolean array instead of an array of 0s and 1s if the parameter indices was false.
When compare_ssim is used with gaussian_weights set to True, the boundary crop used when computing the mean structural similarity will now exactly match the width of the Gaussian used. The Gaussian
filter window is also now truncated at 3.5 rather than 4.0 standard deviations to exactly match the original publication on the SSIM. These changes should produce only a very small change in the
computed SSIM value. There is no change to the existing behavior when gaussian_weights is False.
erroneous use of cython wrap around
Speed up block reduce by providing the appropriate parameters to numpy
Add urllib.request again
Repeat pixels in reflect mode when image has dimension 1
Improve Li thresholding
diffstat:
math/py-scikit-image/ALTERNATIVES | 2 +-
math/py-scikit-image/DESCR | 2 +-
math/py-scikit-image/Makefile | 22 +++++----
math/py-scikit-image/PLIST | 82 ++++++++++++++++++++++++++++++++------
math/py-scikit-image/distinfo | 10 ++--
5 files changed, 87 insertions(+), 31 deletions(-)
diffs (truncated from 332 to 300 lines):
diff -r 3347556144fe -r 3327904a2943 math/py-scikit-image/ALTERNATIVES
--- a/math/py-scikit-image/ALTERNATIVES Mon Jun 17 15:01:45 2019 +0000
+++ b/math/py-scikit-image/ALTERNATIVES Mon Jun 17 15:03:46 2019 +0000
@@ -1,1 +1,1 @@
-bin/skivi @PREFIX@/bin/skivi@PYVERSSUFFIX@
+bin/skivi @PREFIX@/bin/skivi-@PYVERSSUFFIX@
diff -r 3347556144fe -r 3327904a2943 math/py-scikit-image/DESCR
--- a/math/py-scikit-image/DESCR Mon Jun 17 15:01:45 2019 +0000
+++ b/math/py-scikit-image/DESCR Mon Jun 17 15:03:46 2019 +0000
@@ -1,1 +1,1 @@
-scikit-image is a collection of algorithms for image processing.
+scikit-image is a collection of algorithms for image processing.
diff -r 3347556144fe -r 3327904a2943 math/py-scikit-image/Makefile
--- a/math/py-scikit-image/Makefile Mon Jun 17 15:01:45 2019 +0000
+++ b/math/py-scikit-image/Makefile Mon Jun 17 15:03:46 2019 +0000
@@ -1,26 +1,28 @@
-# $NetBSD: Makefile,v 1.3 2018/11/13 09:57:10 markd Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/17 15:03:46 adam Exp $
-DISTNAME= scikit-image-0.14.1
+DISTNAME= scikit-image-0.15.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/scikit-image/}
MAINTAINER= jihbed.research%gmail.com@localhost
-HOMEPAGE= http://scikit-image.org
+HOMEPAGE= https://scikit-image.org/
COMMENT= Image processing routines for SciPy
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-Pillow>=4.3.0:../../graphics/py-Pillow
+DEPENDS+= ${PYPKGPREFIX}-imageio>=2.0.1:../../graphics/py-imageio
+DEPENDS+= ${PYPKGPREFIX}-pywavelets>=0.5.2:../../math/py-pywavelets
+DEPENDS+= ${PYPKGPREFIX}-networkx>=2.0:../../math/py-networkx
+DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+
USE_LANGUAGES= c c++
-DEPENDS+= ${PYPKGPREFIX}-Pillow>=2.9.0:../../graphics/py-Pillow
-DEPENDS+= ${PYPKGPREFIX}-PyWavelets>=0.5.2:../../math/py-pywavelets
-DEPENDS+= ${PYPKGPREFIX}-matplotlib-[0-9]*:../../graphics/py-matplotlib
-DEPENDS+= ${PYPKGPREFIX}-networkx>=1.9:../../math/py-networkx
-DEPENDS+= ${PYPKGPREFIX}-scipy>=0.15.1:../../math/py-scipy
-DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
+PYTHON_VERSIONS_INCOMPATIBLE= 27
post-install:
- cd ${DESTDIR}${PREFIX}/bin && ${MV} skivi skivi${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} skivi skivi-${PYVERSSUFFIX} || ${TRUE}
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/egg.mk"
diff -r 3347556144fe -r 3327904a2943 math/py-scikit-image/PLIST
--- a/math/py-scikit-image/PLIST Mon Jun 17 15:01:45 2019 +0000
+++ b/math/py-scikit-image/PLIST Mon Jun 17 15:03:46 2019 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.2 2018/11/13 09:57:10 markd Exp $
-bin/skivi${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.3 2019/06/17 15:03:46 adam Exp $
+bin/skivi-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -115,6 +115,9 @@
${PYSITELIB}/skimage/color/tests/test_delta_e.py
${PYSITELIB}/skimage/color/tests/test_delta_e.pyc
${PYSITELIB}/skimage/color/tests/test_delta_e.pyo
+${PYSITELIB}/skimage/conftest.py
+${PYSITELIB}/skimage/conftest.pyc
+${PYSITELIB}/skimage/conftest.pyo
${PYSITELIB}/skimage/data/__init__.py
${PYSITELIB}/skimage/data/__init__.pyc
${PYSITELIB}/skimage/data/__init__.pyo
@@ -122,6 +125,9 @@
${PYSITELIB}/skimage/data/_binary_blobs.pyc
${PYSITELIB}/skimage/data/_binary_blobs.pyo
${PYSITELIB}/skimage/data/_blobs_3d_fiji_skeleton.tif
+${PYSITELIB}/skimage/data/_detect.py
+${PYSITELIB}/skimage/data/_detect.pyc
+${PYSITELIB}/skimage/data/_detect.pyo
${PYSITELIB}/skimage/data/astronaut.png
${PYSITELIB}/skimage/data/astronaut_GRAY_hog_L1.npy
${PYSITELIB}/skimage/data/astronaut_GRAY_hog_L2-Hys.npy
@@ -130,6 +136,8 @@
${PYSITELIB}/skimage/data/bw_text.png
${PYSITELIB}/skimage/data/bw_text_skeleton.npy
${PYSITELIB}/skimage/data/camera.png
+${PYSITELIB}/skimage/data/cells_qpi.npz
+${PYSITELIB}/skimage/data/cells_qpi_zipped.zip
${PYSITELIB}/skimage/data/checker_bilevel.png
${PYSITELIB}/skimage/data/chelsea.png
${PYSITELIB}/skimage/data/chessboard_GRAY.png
@@ -153,8 +161,10 @@
${PYSITELIB}/skimage/data/horse.png
${PYSITELIB}/skimage/data/hubble_deep_field.jpg
${PYSITELIB}/skimage/data/ihc.png
+${PYSITELIB}/skimage/data/lbpcascade_frontalface_opencv.xml
${PYSITELIB}/skimage/data/lfw_subset.npy
${PYSITELIB}/skimage/data/logo.png
+${PYSITELIB}/skimage/data/microaneurysms.png
${PYSITELIB}/skimage/data/moon.png
${PYSITELIB}/skimage/data/motorcycle_disp.npz
${PYSITELIB}/skimage/data/motorcycle_left.png
@@ -170,6 +180,7 @@
${PYSITELIB}/skimage/data/palette_gray.png
${PYSITELIB}/skimage/data/phantom.png
${PYSITELIB}/skimage/data/rank_filter_tests.npz
+${PYSITELIB}/skimage/data/retina.jpg
${PYSITELIB}/skimage/data/rocket.jpg
${PYSITELIB}/skimage/data/rough-wall.png
${PYSITELIB}/skimage/data/simple.fits
@@ -249,6 +260,7 @@
${PYSITELIB}/skimage/feature/_canny.py
${PYSITELIB}/skimage/feature/_canny.pyc
${PYSITELIB}/skimage/feature/_canny.pyo
+${PYSITELIB}/skimage/feature/_cascade.so
${PYSITELIB}/skimage/feature/_daisy.py
${PYSITELIB}/skimage/feature/_daisy.pyc
${PYSITELIB}/skimage/feature/_daisy.pyo
@@ -277,6 +289,9 @@
${PYSITELIB}/skimage/feature/haar.py
${PYSITELIB}/skimage/feature/haar.pyc
${PYSITELIB}/skimage/feature/haar.pyo
+${PYSITELIB}/skimage/feature/masked_register_translation.py
+${PYSITELIB}/skimage/feature/masked_register_translation.pyc
+${PYSITELIB}/skimage/feature/masked_register_translation.pyo
${PYSITELIB}/skimage/feature/match.py
${PYSITELIB}/skimage/feature/match.pyc
${PYSITELIB}/skimage/feature/match.pyo
@@ -299,6 +314,12 @@
${PYSITELIB}/skimage/feature/tests/__init__.py
${PYSITELIB}/skimage/feature/tests/__init__.pyc
${PYSITELIB}/skimage/feature/tests/__init__.pyo
+${PYSITELIB}/skimage/feature/tests/data/OriginalX-130Y130.png
+${PYSITELIB}/skimage/feature/tests/data/OriginalX130Y130.png
+${PYSITELIB}/skimage/feature/tests/data/OriginalX75Y75.png
+${PYSITELIB}/skimage/feature/tests/data/TransformedX-130Y130.png
+${PYSITELIB}/skimage/feature/tests/data/TransformedX130Y130.png
+${PYSITELIB}/skimage/feature/tests/data/TransformedX75Y75.png
${PYSITELIB}/skimage/feature/tests/test_blob.py
${PYSITELIB}/skimage/feature/tests/test_blob.pyc
${PYSITELIB}/skimage/feature/tests/test_blob.pyo
@@ -308,6 +329,9 @@
${PYSITELIB}/skimage/feature/tests/test_canny.py
${PYSITELIB}/skimage/feature/tests/test_canny.pyc
${PYSITELIB}/skimage/feature/tests/test_canny.pyo
+${PYSITELIB}/skimage/feature/tests/test_cascade.py
+${PYSITELIB}/skimage/feature/tests/test_cascade.pyc
+${PYSITELIB}/skimage/feature/tests/test_cascade.pyo
${PYSITELIB}/skimage/feature/tests/test_censure.py
${PYSITELIB}/skimage/feature/tests/test_censure.pyc
${PYSITELIB}/skimage/feature/tests/test_censure.pyo
@@ -323,6 +347,9 @@
${PYSITELIB}/skimage/feature/tests/test_hog.py
${PYSITELIB}/skimage/feature/tests/test_hog.pyc
${PYSITELIB}/skimage/feature/tests/test_hog.pyo
+${PYSITELIB}/skimage/feature/tests/test_masked_register_translation.py
+${PYSITELIB}/skimage/feature/tests/test_masked_register_translation.pyc
+${PYSITELIB}/skimage/feature/tests/test_masked_register_translation.pyo
${PYSITELIB}/skimage/feature/tests/test_match.py
${PYSITELIB}/skimage/feature/tests/test_match.pyc
${PYSITELIB}/skimage/feature/tests/test_match.pyo
@@ -353,19 +380,21 @@
${PYSITELIB}/skimage/filters/__init__.py
${PYSITELIB}/skimage/filters/__init__.pyc
${PYSITELIB}/skimage/filters/__init__.pyo
-${PYSITELIB}/skimage/filters/_ctmf.so
-${PYSITELIB}/skimage/filters/_frangi.py
-${PYSITELIB}/skimage/filters/_frangi.pyc
-${PYSITELIB}/skimage/filters/_frangi.pyo
${PYSITELIB}/skimage/filters/_gabor.py
${PYSITELIB}/skimage/filters/_gabor.pyc
${PYSITELIB}/skimage/filters/_gabor.pyo
${PYSITELIB}/skimage/filters/_gaussian.py
${PYSITELIB}/skimage/filters/_gaussian.pyc
${PYSITELIB}/skimage/filters/_gaussian.pyo
+${PYSITELIB}/skimage/filters/_median.py
+${PYSITELIB}/skimage/filters/_median.pyc
+${PYSITELIB}/skimage/filters/_median.pyo
${PYSITELIB}/skimage/filters/_rank_order.py
${PYSITELIB}/skimage/filters/_rank_order.pyc
${PYSITELIB}/skimage/filters/_rank_order.pyo
+${PYSITELIB}/skimage/filters/_unsharp_mask.py
+${PYSITELIB}/skimage/filters/_unsharp_mask.pyc
+${PYSITELIB}/skimage/filters/_unsharp_mask.pyo
${PYSITELIB}/skimage/filters/edges.py
${PYSITELIB}/skimage/filters/edges.pyc
${PYSITELIB}/skimage/filters/edges.pyo
@@ -394,19 +423,18 @@
${PYSITELIB}/skimage/filters/rank/tests/test_rank.py
${PYSITELIB}/skimage/filters/rank/tests/test_rank.pyc
${PYSITELIB}/skimage/filters/rank/tests/test_rank.pyo
+${PYSITELIB}/skimage/filters/ridges.py
+${PYSITELIB}/skimage/filters/ridges.pyc
+${PYSITELIB}/skimage/filters/ridges.pyo
${PYSITELIB}/skimage/filters/setup.py
${PYSITELIB}/skimage/filters/setup.pyc
${PYSITELIB}/skimage/filters/setup.pyo
-${PYSITELIB}/skimage/filters/tests/.coverage
${PYSITELIB}/skimage/filters/tests/__init__.py
${PYSITELIB}/skimage/filters/tests/__init__.pyc
${PYSITELIB}/skimage/filters/tests/__init__.pyo
${PYSITELIB}/skimage/filters/tests/test_edges.py
${PYSITELIB}/skimage/filters/tests/test_edges.pyc
${PYSITELIB}/skimage/filters/tests/test_edges.pyo
-${PYSITELIB}/skimage/filters/tests/test_frangi.py
-${PYSITELIB}/skimage/filters/tests/test_frangi.pyc
-${PYSITELIB}/skimage/filters/tests/test_frangi.pyo
${PYSITELIB}/skimage/filters/tests/test_gabor.py
${PYSITELIB}/skimage/filters/tests/test_gabor.pyc
${PYSITELIB}/skimage/filters/tests/test_gabor.pyo
@@ -419,9 +447,15 @@
${PYSITELIB}/skimage/filters/tests/test_median.py
${PYSITELIB}/skimage/filters/tests/test_median.pyc
${PYSITELIB}/skimage/filters/tests/test_median.pyo
+${PYSITELIB}/skimage/filters/tests/test_ridges.py
+${PYSITELIB}/skimage/filters/tests/test_ridges.pyc
+${PYSITELIB}/skimage/filters/tests/test_ridges.pyo
${PYSITELIB}/skimage/filters/tests/test_thresholding.py
${PYSITELIB}/skimage/filters/tests/test_thresholding.pyc
${PYSITELIB}/skimage/filters/tests/test_thresholding.pyo
+${PYSITELIB}/skimage/filters/tests/test_unsharp_mask.py
+${PYSITELIB}/skimage/filters/tests/test_unsharp_mask.pyc
+${PYSITELIB}/skimage/filters/tests/test_unsharp_mask.pyo
${PYSITELIB}/skimage/filters/thresholding.py
${PYSITELIB}/skimage/filters/thresholding.pyc
${PYSITELIB}/skimage/filters/thresholding.pyo
@@ -719,7 +753,13 @@
${PYSITELIB}/skimage/morphology/__init__.pyc
${PYSITELIB}/skimage/morphology/__init__.pyo
${PYSITELIB}/skimage/morphology/_convex_hull.so
+${PYSITELIB}/skimage/morphology/_extrema_cy.so
+${PYSITELIB}/skimage/morphology/_flood_fill.py
+${PYSITELIB}/skimage/morphology/_flood_fill.pyc
+${PYSITELIB}/skimage/morphology/_flood_fill.pyo
+${PYSITELIB}/skimage/morphology/_flood_fill_cy.so
${PYSITELIB}/skimage/morphology/_greyreconstruct.so
+${PYSITELIB}/skimage/morphology/_max_tree.so
${PYSITELIB}/skimage/morphology/_skeletonize.py
${PYSITELIB}/skimage/morphology/_skeletonize.pyc
${PYSITELIB}/skimage/morphology/_skeletonize.pyo
@@ -728,6 +768,9 @@
${PYSITELIB}/skimage/morphology/_skeletonize_3d.pyo
${PYSITELIB}/skimage/morphology/_skeletonize_3d_cy.so
${PYSITELIB}/skimage/morphology/_skeletonize_cy.so
+${PYSITELIB}/skimage/morphology/_util.py
+${PYSITELIB}/skimage/morphology/_util.pyc
+${PYSITELIB}/skimage/morphology/_util.pyo
${PYSITELIB}/skimage/morphology/_watershed.so
${PYSITELIB}/skimage/morphology/binary.py
${PYSITELIB}/skimage/morphology/binary.pyc
@@ -744,6 +787,9 @@
${PYSITELIB}/skimage/morphology/greyreconstruct.py
${PYSITELIB}/skimage/morphology/greyreconstruct.pyc
${PYSITELIB}/skimage/morphology/greyreconstruct.pyo
+${PYSITELIB}/skimage/morphology/max_tree.py
+${PYSITELIB}/skimage/morphology/max_tree.pyc
+${PYSITELIB}/skimage/morphology/max_tree.pyo
${PYSITELIB}/skimage/morphology/misc.py
${PYSITELIB}/skimage/morphology/misc.pyc
${PYSITELIB}/skimage/morphology/misc.pyo
@@ -768,9 +814,15 @@
${PYSITELIB}/skimage/morphology/tests/test_extrema.py
${PYSITELIB}/skimage/morphology/tests/test_extrema.pyc
${PYSITELIB}/skimage/morphology/tests/test_extrema.pyo
+${PYSITELIB}/skimage/morphology/tests/test_flood_fill.py
+${PYSITELIB}/skimage/morphology/tests/test_flood_fill.pyc
+${PYSITELIB}/skimage/morphology/tests/test_flood_fill.pyo
${PYSITELIB}/skimage/morphology/tests/test_grey.py
${PYSITELIB}/skimage/morphology/tests/test_grey.pyc
${PYSITELIB}/skimage/morphology/tests/test_grey.pyo
+${PYSITELIB}/skimage/morphology/tests/test_max_tree.py
+${PYSITELIB}/skimage/morphology/tests/test_max_tree.pyc
+${PYSITELIB}/skimage/morphology/tests/test_max_tree.pyo
${PYSITELIB}/skimage/morphology/tests/test_misc.py
${PYSITELIB}/skimage/morphology/tests/test_misc.pyc
${PYSITELIB}/skimage/morphology/tests/test_misc.pyo
@@ -944,7 +996,6 @@
${PYSITELIB}/skimage/transform/_geometric.pyo
${PYSITELIB}/skimage/transform/_hough_transform.so
${PYSITELIB}/skimage/transform/_radon_transform.so
-${PYSITELIB}/skimage/transform/_seam_carving.so
${PYSITELIB}/skimage/transform/_warps.py
${PYSITELIB}/skimage/transform/_warps.pyc
${PYSITELIB}/skimage/transform/_warps.pyo
@@ -952,6 +1003,9 @@
${PYSITELIB}/skimage/transform/finite_radon_transform.py
${PYSITELIB}/skimage/transform/finite_radon_transform.pyc
${PYSITELIB}/skimage/transform/finite_radon_transform.pyo
+${PYSITELIB}/skimage/transform/histogram_matching.py
+${PYSITELIB}/skimage/transform/histogram_matching.pyc
+${PYSITELIB}/skimage/transform/histogram_matching.pyo
${PYSITELIB}/skimage/transform/hough_transform.py
${PYSITELIB}/skimage/transform/hough_transform.pyc
${PYSITELIB}/skimage/transform/hough_transform.pyo
@@ -979,6 +1033,9 @@
${PYSITELIB}/skimage/transform/tests/test_geometric.py
${PYSITELIB}/skimage/transform/tests/test_geometric.pyc
Home |
Main Index |
Thread Index |
Old Index