Commit Graph

36 Commits

Author SHA1 Message Date
Johannes Schönberger 6a0d81a047 Remove backwards-compatability of skimage.measure.regionprops 2014-04-11 10:06:59 -04:00
Vighnesh Birodkar e6ea9efa1c formatting, used assert_equals in test 2014-03-30 17:46:45 +05:30
Vighnesh Birodkar 764c59693c removed array cast, added not equals test 2014-03-28 00:12:18 +05:30
Vighnesh Birodkar 77b91e633b added tests, accounted for nan case 2014-03-26 03:50:04 +05:30
Johannes Schönberger 6e6505ecb6 Increase test coverage of regionprops 2013-11-22 12:16:44 +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 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
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 13957123b7 Make moments functions public, rename, add tests 2013-08-17 18:00:53 +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 918332c4c6 Refactor regionprops 2013-08-06 14:27:37 +02:00
Johannes Schönberger 387c72b018 Remove colon as multi-line comment symbol 2013-03-06 16:43:41 +01:00
Johannes Schönberger fb9099eec3 Update perimeter test case which was correct for buggy previous version 2012-12-22 20:09:29 +01:00
Johannes Schönberger 7741d906ed Fix failing perimeter test caused by bug in scipy 2012-10-10 09:09:52 +02:00
Johannes Schönberger dc0d4eff74 Add missing empty lines between test functions 2012-10-09 08:04:25 +02:00
Johannes Schönberger db76b212c7 Full test coverage for regionprops 2012-10-06 19:23:58 +02:00
Johannes Schönberger cdff128a43 Add new Coordinates property to regionprops 2012-08-30 21:38:33 +02:00
Tomas Kazmar 5efb3d41c2 Wrap long lines. 2012-08-16 16:16:56 +02:00
Tomas Kazmar 31ba6a59b4 BUG: Fix Orientation for diagonal regions in regionprops. 2012-08-16 14:05:03 +02:00
Johannes Schönberger 8e28e39887 add test case for correct quadrant determination 2012-08-04 10:54:15 +02:00
Johannes Schönberger c0c23968bf add perimeter measurement 2012-07-14 14:14:28 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Stefan van der Walt 2eb0a2552f BUG: Remove debugging print statement that broke Py3k. 2012-05-22 17:38:19 -07:00
Johannes Schönberger 7b0703f663 regionprops takes optional intensity images 2012-05-22 23:28:14 +02:00
Johannes Schönberger 06759d2bdf make all test cases of regionprops work 2012-05-22 23:28:13 +02:00
Johannes Schönberger b04138c39c parameters of ellipse match Matlab results 2012-05-22 23:28:13 +02:00
Johannes Schönberger 8ec52869c7 fix wrong indentation 2012-05-22 23:28:13 +02:00
Johannes Schönberger 87ddbbeabe more constistent way of determining ellipse parameters 2012-05-22 23:28:13 +02:00
Johannes Schönberger 04e444d90f added test cases for regionprops 2012-05-22 23:28:13 +02:00