241a45bd76
This release contains the following changes from 0.14.0: Enhancements * "Reflect" mode in transforms now works fine when an image dimension has size 1 * img_as_float now allows single-precision (32-bit) float arrays to pass through unmodified, rather than being up-converted to 64-bit * Speed up rgb2gray computation * The scikit-image viewer now works with different PyQt versions * The cycle_spin function for enhanced denoising works single-threaded when dask is not installed now * scikit-image's io module will no longer inadvertently set the matplotlib backend when imported * Fix deprecated get keyword from dask in favor of scheduler * Add missing cval parameter to threshold_local API changes * Remove deprecated dynamic_range in measure.compare_psnr 0.14.0 New Features * Lookfor function to search across the library: skimage.lookfor. * nD support for skimage.transform.rescale, skimage.transform.resize, and skimage.transform.pyramid_* transforms. * Chan-Vese segmentation algorithm. * Manual segmentation with matplotlib for fast data annotation: skimage.future.manual_polygon_segmentation, skimage.future.manual_lasso_segmentation. * Hysteresis thresholding: skimage.filters.apply_hysteresis_threshold. * Segmentation with morphological snakes: skimage.segmentation.morphological_chan_vese (2D), skimage.segmentation.morphological_geodesic_active_contour (2D and 3D). * nD support for image moments: skimage.measure.moments_central, skimage.measure.moments_central, skimage.measure.moments_normalized, skimage.measure.moments_hu. This change leads to 3D/nD compatibility for many regionprops. * Image moments from coordinate input: skimage.measure.moments_coords, skimage.measure.moments_coords_central. * Added 3D support to blob_dog and blob_log. * Inertia tensor and its eigenvalues can now be computed outside of regionprops; available in skimage.measure.inertia_tensor. * Cycle-spinning function for approximating shift-invariance by averaging results from a series of spatial shifts: skimage.restoration.cycle_spin. * Haar-like feature: skimage.feature.haar_like_feature, skimage.feature.haar_like_feature_coord, skimage.feature.draw_haar_like_feature. * Data generation with random_shapes function: skimage.draw.random_shapes. * Subset of LFW (Labeled Faces in the Wild) database: skimage.data.cbcl_face_database. * Fully reworked montage function (now with a better padding behavior): skimage.util.montage. * YDbDr colorspace conversion routines: skimage.color.rgb2ydbdr, skimage.color.ydbdr2rgb. Improvements * VisuShrink method for skimage.restoration.denoise_wavelet. * New max_ratio parameter for skimage.feature.match_descriptors. * skimage.transform.resize and skimage.transform.rescale have a new anti_aliasing option to avoid aliasing artifacts when down-sampling images. * Support for multichannel images for skimage.feature.hog. * Non-local means denoising (skimage.restoration.denoise_nl_means) has a new optional parameter, sigma, that can be used to specify the noise standard deviation. This enables noise-robust patch distance estimation. * New alignment parameter in skimage.feature.plot_matches. * New seed parameter in skimage.transform.probabilistic_hough_line. * Various performance improvements. API Changes * skimage.util.montage. namespace has been removed, and skimage.util.montage.montage2d function is now available as skimage.util.montage2d. * skimage.morphology.binary_erosion now uses True as border value, and is now consistent with skimage.morphology.erosion. Deprecations * freeimage plugin has been removed from skimage.io. * skimage.util.montage2d is deprecated and will be removed in 0.15. Use skimage.util.montage function instead. * skimage.novice is deprecated and will be removed in 0.16. * skimage.transform.resize and skimage.transform.rescale have a new anti_aliasing option that avoids aliasing artifacts when down-sampling images. This option will be enabled by default in 0.15. * regionprops will use row-column coordinates in 0.16. * skimage.morphology.remove_small_holes min_size argument is deprecated and will be removed in 0.16. Use area_threshold instead.
28 lines
996 B
Makefile
28 lines
996 B
Makefile
# $NetBSD: Makefile,v 1.3 2018/11/13 09:57:10 markd Exp $
|
|
|
|
DISTNAME= scikit-image-0.14.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=s/scikit-image/}
|
|
|
|
MAINTAINER= jihbed.research@gmail.com
|
|
HOMEPAGE= http://scikit-image.org
|
|
COMMENT= Image processing routines for SciPy
|
|
LICENSE= modified-bsd
|
|
|
|
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
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} skivi skivi${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../devel/py-cython/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|