Commit Graph

198 Commits

Author SHA1 Message Date
François Boulogne ca6ecf08e6 DOCTEST: fix 2013-10-14 16:28:53 +02:00
Josh Warner (Mac) a229d19eb0 DOC: Change sampling to spacing in skimage.draw.ellipsoid and tests 2013-10-13 13:11:11 -05:00
Josh Warner (Mac) 1de6d93850 DOC: Change sampling kwarg name to spacing in marching_cubes
The preference is to follow VTK's convention for anisotropic
rectangularly sampled data, using the keyword `spacing` rather
than `sampling`. This change converts the last remaining use of
`sampling` in scikit-image to `spacing`.
2013-10-13 13:00:40 -05:00
Johannes Schönberger 4e9cb03aeb Add missing perimeter function to __all__ 2013-10-11 17:37:26 +02:00
Johannes Schönberger f10c362b1a Fix euler number bug for scipy-0.13 2013-10-11 17:34:47 +02:00
François Boulogne 8f20fff3f8 PEP8: fix indentation 2013-10-02 18:14:21 +02:00
Johannes Schönberger 78a849cc37 Fix dtype bug in perimeter 2013-10-02 14:16:24 +02:00
Johannes Schönberger d7824000fe Raise error for non 2-D images 2013-10-02 14:14:29 +02:00
Johannes Schönberger c1ea012c9b Add support for unsigned integer label images 2013-10-02 14:05:30 +02:00
Johannes Schönberger 99fb8b992e Some improvements for perimeter 2013-10-02 13:55:52 +02:00
Luis Pedro Coelho ff0b315110 RFCT Simpler code for initializing array
Also, replaced skimage.measures.histogram by np.bincount.

Both changes were suggested in the pull request discussion by Juan
Nunez-Iglesias (jni):

https://github.com/scikit-image/scikit-image/pull/746
2013-10-01 15:19:42 +02:00
Luis Pedro Coelho f81fbf5b25 ENH Faster perimeter computation
Measured a 30% speedup on a 640x640 image. Fundamentally, this makes
fewer passes over the image; so it should never be worse that the
previous implementation.
2013-10-01 13:07:17 +02:00
Josh Warner (Mac) 1174d6fbc5 FIX: Errors in unit tests 2013-09-01 22:05:39 -05:00
Josh Warner (Mac) 14a0685838 MAINT: Refactor ellipsoid generator into skimage.draw 2013-09-01 20:51:20 -05:00
Josh Warner (Mac) d0d9fee36e DOC: Minor documentation formatting fixes in marching cubes 2013-09-01 20:49:58 -05:00
Josh Warner (Mac) 997339beae FEAT: add tests for marching cubes and mesh surface area 2013-08-30 12:36:32 -05:00
Josh Warner (Mac) b6f25906d6 DOCFIX: clarify docstrings and output vertex dimension ordering 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 19b8831a0d FIX: incorrect name for unpack_unique_verts, revert axis ordering 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) fcd20e5660 FIX: use memoryviews, docfix, and change tri_list to face_list 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 164b416bd9 FIX: volume now directly cast, docfixes, C-contiguous ordering 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) f8cc4799da FIX: dimension ordering now correct (x, y, z) 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 165de870d0 fix error in triangulation of case 120 2013-08-30 12:36:31 -05:00
JDWarner 296d102047 fix: symmetric ambiguous dual-plane cases require special treatment 2013-08-30 12:36:31 -05:00
JDWarner 44c04996c7 move unpack_unique_verts to Cython for speed 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) d2e51aa035 fix import error from _marching_cubes_cy 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 9a86aba226 rename files to conform with naming conventions 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 9779cd5e4a fix: bug in second _append_tris call in case 125 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 5b990a0856 fix import of _marching_cubes 2013-08-30 12:36:31 -05:00
Josh Warner (Mac) 855031ad47 add _marching_cubes.pyx to list of Cython modules to build 2013-08-30 12:36:30 -05:00
Josh Warner (Mac) 84618af7c7 import marching_cubes and mesh_surface_area 2013-08-30 12:36:30 -05:00
Josh Warner (Mac) 5eba5a42a7 FEAT: Full 3d anisotropic implementation of marching cubes
Also includes surface area calculation algorithm from
generated mesh.
Convenient output to visualize with `mayavi.mlab`.
Efficient Cython implementation.
2013-08-30 12:34:55 -05:00
Johannes Schönberger 8524203f13 Use typed memoryviews in measure package 2013-08-19 18:42:08 +02:00
Johannes Schönberger cc91324625 Fix PEP8 issues and typos 2013-08-17 21:44:07 +02:00
Johannes Schönberger ce924c7279 Add test cases for moments functions 2013-08-17 18:04:35 +02:00
Johannes Schönberger c4caf8b7b8 Sort functions in alphabetical order 2013-08-17 18:04:07 +02:00
Johannes Schönberger 13957123b7 Make moments functions public, rename, add tests 2013-08-17 18:00:53 +02:00
Johannes Schönberger 752e395835 Improve moments code and use typed memoryviews 2013-08-17 15:51:15 +02:00
Johannes Schönberger f019ed1fed Fix missing label property description and backwards compatibility 2013-08-13 15:08:50 +02:00
Johannes Schönberger 4f8d4ce3f2 Hide cached_property and caching flag 2013-08-07 20:06:33 +02:00
Johannes Schönberger fea0c3f56c Improve fromatting of regionprops doc string 2013-08-07 20:04:19 +02:00
Johannes Schönberger 92e70547fa Use asbolute import for Cython lib 2013-08-06 14:39:38 +02:00
Johannes Schönberger 01871c153d Remove legacy doc strings 2013-08-06 14:34:36 +02:00
Johannes Schönberger 918332c4c6 Refactor regionprops 2013-08-06 14:27:37 +02:00
Johannes Schönberger 7efb010051 Add short doc string example 2013-07-15 22:00:56 +02:00
Johannes Schönberger 486909c5f5 Rename and combine local_* functions to block_reduce 2013-07-15 21:52:25 +02:00
Johannes Schönberger 06aaf93e63 Use pad function and add option to define cval 2013-07-05 17:59:27 +02:00
Johannes Schönberger 4f6b39dcd3 Rename block_* functions to local_* 2013-07-05 17:34:38 +02:00
Johannes Schönberger 9d806eb413 Update doc string for new functionality 2013-07-05 17:34:38 +02:00
Johannes Schönberger c0a019eb12 Update test cases for block functions 2013-07-05 17:34:38 +02:00
Johannes Schönberger 5579aa2298 Fix doc string examples 2013-07-05 17:34:38 +02:00