Commit Graph

219 Commits

Author SHA1 Message Date
Johannes Schönberger 2bc4cf6074 Skip failing ransac doctest 2013-11-18 12:42:19 +01:00
Johannes Schönberger ffc28d1224 Enable doc tests of ransac function 2013-11-15 13:42:57 +01:00
Johannes Schönberger e282b3e9b3 Revert ellipsis to skip directive 2013-11-04 08:21:03 +01:00
Johannes Schönberger bb1f7df444 Improve usage of doctest directives 2013-11-04 08:04:14 +01:00
Johannes Schönberger 863e89ba41 Fix data type issue in python 3 2013-11-04 00:31:07 +01:00
Johannes Schönberger ad0347d929 Fix regionprops doctest 2013-11-03 23:48:13 +01:00
Johannes Schönberger 099b428da2 Fix marching_cubes doctest 2013-11-03 23:47:24 +01:00
Johannes Schönberger f038a959ee Skip ransac doctests 2013-11-03 18:26:47 +01:00
Johannes Schönberger e92f4151cb Fix duplicate find_contours names in namespace 2013-11-03 17:59:56 +01:00
Johannes Schönberger 45eae57b4c Use NORMALIZE_WHITESPACE directive for block_reduce doctest 2013-11-03 09:49:48 +01:00
Johannes Schönberger 41d12463fd Fix RANSAC doctest 2013-11-03 09:45:33 +01:00
Johannes Schönberger c7378614d9 Fix block_reduce doctest 2013-11-03 09:40:39 +01:00
Jostein Bø Fløystad eff276c99b Bug: Fix label sequence in regionprops.
Closes gh-806.
2013-10-29 11:58:59 +01:00
Stefan van der Walt f5f8a2c289 Fix markup error in marching cubes docs. 2013-10-19 16:08:42 +02:00
Stefan van der Walt 94cad284ce Fix Python 3 list handling. 2013-10-17 13:43:18 +02:00
Stefan van der Walt 14687d0510 Dictionary interface to preserve backward compatibility for RegionProps. 2013-10-17 13:07:41 +02:00
Josh Warner 783e120e75 Merge pull request #788 from ahojnnes/patch-1
Weighted central moments
2013-10-15 10:45:50 -07:00
Johannes Schönberger 6711bfb3c8 Rename weighted central moments property 2013-10-15 15:12:00 +02:00
cgohlke e75126a4d8 TST: Fix RuntimeError: data type not supported on Python 2.6
On Python >=2.7, C extensions that use integer format codes with the PyArg_Parse* family of functions will raise a TypeError exception instead of triggering a DeprecationWarning (Python 2.6). The RuntimeError is raised by ndimage for unsupported array data types.
2013-10-15 00:42:40 -07:00
cgohlke f5337e3616 TST: Fix AttributeError: '_RegionProperties' object has no attribute 'weighted_moments_central' 2013-10-14 23:49:53 -07:00
cgohlke 4b02e31dfb TST: Fix test_weighted_moments is defined twice 2013-10-14 23:36:16 -07:00
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