Commit Graph

7 Commits

Author SHA1 Message Date
Johannes Schönberger b8b2a63884 Use typed memoryviews in morphology package 2013-08-19 19:14:56 +02:00
Tony S Yu e350db23a2 Change reconstruction to support Cython 0.15.
This removes use of Cython's typed memoryviews.

This reverts commit b5d9106966: "ENH: Use Cython data types instead of Numpy dtypes."

Conflicts:

	skimage/morphology/_greyreconstruct.pyx
2012-08-25 14:04:48 -04:00
Tony S Yu 682f064f86 DOC: Fix docstring to match rank order. 2012-08-19 16:23:14 -04:00
Tony S Yu b5d9106966 ENH: Use Cython data types instead of Numpy dtypes.
Conversion to Memoryviews didn't improve performance, unfortunately. Minor slow-down of 5--10%.
2012-08-19 11:56:16 -04:00
Tony S Yu ab7626da3d STY: Rename variables for clarity.
In particular, it wasn't clear whether `image` was the seed image or the mask image rnd `values` was used to refer to both image intensity values and their rank-order.
2012-08-18 21:41:01 -04:00
Tony S Yu 7a56a7f35e DOC: Clarify code comments and docstring 2012-08-18 18:04:01 -04:00
Tony S Yu 25efae8269 Add morphological reconstruction with test and example. 2012-07-13 00:53:51 -04:00