Commit Graph

91 Commits

Author SHA1 Message Date
blink1073 5677dafe41 Move away from random.random in favor of random.rand 2014-07-19 18:18:23 -05:00
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
Josh Warner (Mac) e9ac84b77c TST: Add unit test for mesh orientation correction. 2014-03-13 23:34:46 -05:00
Juan Nunez-Iglesias 4bc5d66060 Add numerous (14) tests for profile_line() 2014-01-29 22:50:19 +11:00
Johannes Schönberger 9905ff218f Get rid of trailing underscore for params attribute 2014-01-22 18:39:35 -05:00
Johannes Schönberger c262ad2d44 Use public attribute for parameter values 2014-01-19 09:40:42 -05:00
Johannes Schönberger 4d6308c810 Fix error in line model test 2013-11-22 13:28:53 +01:00
Johannes Schönberger 6e6505ecb6 Increase test coverage of regionprops 2013-11-22 12:16:44 +01:00
Johannes Schönberger 2e8a36a283 Rename test to enable hidden line model test 2013-11-22 12:11:47 +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
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 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
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) 997339beae FEAT: add tests for marching cubes and mesh surface area 2013-08-30 12:36:32 -05:00
Johannes Schönberger ce924c7279 Add test cases for moments functions 2013-08-17 18:04:35 +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 486909c5f5 Rename and combine local_* functions to block_reduce 2013-07-15 21:52:25 +02:00
Johannes Schönberger 4f6b39dcd3 Rename block_* functions to local_* 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 04b14b42c9 Refactor local block functions and add additional functionality. 2013-07-05 17:34:38 +02:00
Johannes Schönberger 24c0c40977 Merge pull request #511 from ankit-maverick/resample
Resampling of nD arrays
2013-07-04 22:47:09 -07:00
Ankit Agrawal 6f9d7c5d1a Cleaning up downsampling for integer factors 2013-07-04 17:34:55 +08:00
François Boulogne 5c3eef0d86 delete comment 2013-06-20 22:53:32 +02:00
François Boulogne 6f6d207eb2 fix import 2013-06-20 22:53:13 +02:00
Johannes Schönberger 219d621725 Set random seed to avoid random test failures 2013-05-06 18:34:34 +02:00
Johannes Schönberger 01124f5bcc Use boolean mask for inlier return value of RANSAC 2013-05-06 18:08:21 +02:00
Johannes Schönberger 785e602aba Fix last remaining PEP8 errors 2013-05-06 15:32:33 +02:00
Johannes Schönberger 231596b351 Add test cases for residuals 2013-05-06 12:08:12 +02:00
Johannes Schönberger 434eb48620 Add test case for underdetermined LineModel estimation 2013-05-06 11:51:20 +02:00
Johannes Schönberger c8fa3b48e5 Replace is_degenerate tests with is_data_valid and is_model_valid tests 2013-05-02 18:30:08 +02:00
Johannes Schönberger 82566157f6 Add test case for ransac applied to geometric transform 2013-05-02 18:30:07 +02:00
Johannes Schönberger 80827d3959 Add test case for ransac algorithm 2013-05-02 18:30:07 +02:00
Johannes Schönberger e880f155a9 Add test cases for circle model 2013-05-02 18:30:07 +02:00
Johannes Schönberger 53b7e6e418 Add test cases for line model 2013-05-02 18:30:07 +02:00
Johannes Schönberger 387c72b018 Remove colon as multi-line comment symbol 2013-03-06 16:43:41 +01:00