diff options
author | wen <wen@FreeBSD.org> | 2010-12-17 16:40:31 +0800 |
---|---|---|
committer | wen <wen@FreeBSD.org> | 2010-12-17 16:40:31 +0800 |
commit | e11713dab3c2666348376bbe06d7b504b73cfcf8 (patch) | |
tree | bb0d20421a4cd279d8377dd1ceeb6c3f2fc1e99c /graphics | |
parent | 51d21753c3ca79721ca4cf4d8805f9e65fd81cd9 (diff) | |
download | freebsd-ports-gnome-e11713dab3c2666348376bbe06d7b504b73cfcf8.tar.gz freebsd-ports-gnome-e11713dab3c2666348376bbe06d7b504b73cfcf8.tar.zst freebsd-ports-gnome-e11713dab3c2666348376bbe06d7b504b73cfcf8.zip |
Mahotas is an Image Processing Library for Python.
It includes a couple of algorithms implemented in C++ for speed while
operating in numpy arrays.
Notable algorithms:
- watershed.
- thresholding.
- convex points calculations.
- hit & miss. thinning.
- Zernike & Haralick features.
- freeimage based numpy image loading (requires freeimage libraries
to be installed).
- Release the GIL in morphological functions
- Convolution
WWW: http://packages.python.org/mahotas/
PR: ports/153183
Submitted by: Pedro Garcia Freitas <sawp@sawp.com.br>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/mahotas/Makefile | 24 | ||||
-rw-r--r-- | graphics/mahotas/distinfo | 2 | ||||
-rw-r--r-- | graphics/mahotas/pkg-descr | 16 | ||||
-rw-r--r-- | graphics/mahotas/pkg-plist | 142 |
5 files changed, 185 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index f580f18bcc20..544fa8158275 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -546,6 +546,7 @@ SUBDIR += lprof-devel SUBDIR += luminance SUBDIR += luxrender + SUBDIR += mahotas SUBDIR += makehuman SUBDIR += mapnik SUBDIR += mapserver diff --git a/graphics/mahotas/Makefile b/graphics/mahotas/Makefile new file mode 100644 index 000000000000..b252d1fedf48 --- /dev/null +++ b/graphics/mahotas/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: py-mahotas +# Date created: 2010-12-14 +# Whom: Pedro Garcia Freitas <sawp@sawp.com.br> +# +# $FreeBSD$ +# + +PORTNAME= mahotas +PORTVERSION= 0.6.1 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sawp@sawp.com.br +COMMENT= An Efficient Image Processing Library for Python + +BUILD_DEPENDS+= ${PYNUMPY} + +USE_GCC= 4.5+ +USE_PYTHON= 2.4+ +USE_PYDISTUTILS= easy_install +PYEASYINSTALL_ARCHDEP= yes + +.include <bsd.port.mk> diff --git a/graphics/mahotas/distinfo b/graphics/mahotas/distinfo new file mode 100644 index 000000000000..c7e522043996 --- /dev/null +++ b/graphics/mahotas/distinfo @@ -0,0 +1,2 @@ +SHA256 (mahotas-0.6.1.tar.gz) = d2eadfa55a60689d7d62c12688ec7acecd7cf10a4e7796a6e24a3457091bf992 +SIZE (mahotas-0.6.1.tar.gz) = 55084 diff --git a/graphics/mahotas/pkg-descr b/graphics/mahotas/pkg-descr new file mode 100644 index 000000000000..1cc717026416 --- /dev/null +++ b/graphics/mahotas/pkg-descr @@ -0,0 +1,16 @@ +Mahotas is an Image Processing Library for Python. +It includes a couple of algorithms implemented in C++ for speed while +operating in numpy arrays. + +Notable algorithms: + - watershed. + - thresholding. + - convex points calculations. + - hit & miss. thinning. + - Zernike & Haralick features. + - freeimage based numpy image loading (requires freeimage libraries +to be installed). + - Release the GIL in morphological functions + - Convolution + +WWW: http://packages.python.org/mahotas/ diff --git a/graphics/mahotas/pkg-plist b/graphics/mahotas/pkg-plist new file mode 100644 index 000000000000..9f3d53c17a75 --- /dev/null +++ b/graphics/mahotas/pkg-plist @@ -0,0 +1,142 @@ +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/native_libs.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/__init__.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/__init__.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/__init__.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_bbox.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_bbox.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_bbox.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_bbox.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_center_of_mass.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_center_of_mass.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_center_of_mass.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_center_of_mass.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convex.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convex.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convex.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convex.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convolve.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convolve.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convolve.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_convolve.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_distance.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_distance.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_distance.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_distance.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_filters.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_filters.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_filters.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_histogram.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_histogram.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_histogram.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_histogram.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_labeled.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_labeled.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_labeled.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_labeled.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_lbp.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_lbp.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_lbp.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_lbp.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_morph.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_morph.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_morph.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_morph.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_surf.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_surf.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_surf.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_surf.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_texture.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_texture.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_texture.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_texture.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_thin.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_thin.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_thin.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_thin.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_zernike.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_zernike.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_zernike.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/_zernike.so +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bbox.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bbox.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bbox.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bwperim.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bwperim.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/bwperim.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/center_of_mass.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/center_of_mass.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/center_of_mass.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/convolve.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/convolve.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/convolve.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/distance.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/distance.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/distance.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/edge.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/edge.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/edge.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/euler.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/euler.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/euler.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/features.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/features.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/features.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/freeimage.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/freeimage.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/freeimage.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/histogram.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/histogram.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/histogram.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/labeled.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/labeled.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/labeled.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/lbp.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/lbp.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/lbp.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/mahotas_version.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/mahotas_version.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/mahotas_version.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/moments.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/moments.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/moments.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/morph.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/morph.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/morph.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/polygon.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/polygon.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/polygon.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/resize.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/resize.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/resize.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/segmentation.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/segmentation.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/segmentation.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/stretch.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/stretch.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/stretch.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/surf.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/surf.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/surf.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/tas.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/tas.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/tas.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/texture.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/texture.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/texture.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thin.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thin.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thin.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thresholding.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thresholding.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/thresholding.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/zernike.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/zernike.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas/zernike.pyo +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mahotas +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% |