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
Johannes Schönberger
5f012cb19d
Set random seed value to ensure tests always pass
2013-01-17 09:07:48 +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
48210ecb38
Add note about random test failure for some systems
2012-10-09 07:53:54 +02:00
Johannes Schönberger
2c36d34f9a
Change Exception type for wrong input dims
2012-10-08 10:55:19 +02:00
Johannes Schönberger
5117803b79
Improve test coverage of find_contours
2012-10-06 21:34:41 +02:00
Johannes Schönberger
aa85b22f6d
Full test coverage for structural similarity
2012-10-06 19:36:09 +02:00
Johannes Schönberger
db76b212c7
Full test coverage for regionprops
2012-10-06 19:23:58 +02:00
Johannes Schönberger
bee7223481
Full test coverage for polygon approximation and subdivision
2012-10-06 19:06:17 +02:00
Andreas Mueller
6c59e04714
MISC remove unused imports, some pep8 corrections.
2012-09-27 20:01:45 +01:00
Johannes Schönberger
757c4972b7
Add test case for memory order
2012-09-08 18:28:32 +02:00