Commit Graph
97 Commits
Author SHA1 Message Date
emmanuelle 6c9325aadf Minor fixes: errant indent, functools.wraps and python3 style 2015-12-28 21:13:22 +01:00
emmanuelle fab4265f47 Removed @property decorator, that made _install_properties_doc crash 2015-12-25 12:37:41 +01:00
emmanuelle add3352284 Euler number is only2d 2015-12-25 11:38:23 +01:00
Juan Nunez-Iglesiasandemmanuelle 9317b7be34 Make area a cached property; use np.sum 2015-12-24 19:02:15 +01:00
Juan Nunez-Iglesiasandemmanuelle d8cc148d8c Replace individual errors by 2D decorator 2015-12-24 19:00:43 +01:00
emmanuelle 0359284623 Modified some methods in _RegionProperties class to make them
dimension-agnostic. Removed the NotImplementedError for 3-D images in
regionprops function.
2015-12-24 18:56:49 +01:00
Emmanuelle Gouillart 4509338aac Merge pull request #1777 from stevendbrown/rp_intensity_check
Added label vs. intensity shape checking to regionprops
2015-12-23 22:34:59 +01:00
emmanuelle d62524f103 Mentioned Euler characteristic (instead of Euler number) in docstring of
regionprops.
2015-12-23 16:26:23 +01:00
emmanuelle a56c6071c2 Corrected bug in the computation of the Euler characteristic. 2015-12-23 16:09:13 +01:00
Stefan van der Walt 4aa08fe353 Simplify cache 2015-12-14 00:42:29 -08:00
Stefan van der Walt bf5ba4540b Fix doc setting for Python 2.x 2015-12-14 00:42:29 -08:00
Stefan van der Walt 024dd34b19 Clean up style and PEP8 2015-12-14 00:42:29 -08:00
Stefan van der Walt 5e848f5889 Auto-generate _RegionProps property docstrings 2015-12-14 00:42:29 -08:00
Juan Nunez-Iglesias 966e0fd685 Merge pull request #1770 from stefanv/list_regionprops
Only iterate over available region properties
2015-12-09 11:21:56 +11:00
Johannes Schönberger ba3c0c02cd Fix circular import loop 2015-11-18 09:02:02 -05:00
stevendbrown 6638c92125 fixed error language 2015-11-17 08:16:58 -08:00
Johannes Schönberger 1278b02161 Fix circular import between regionprops and convex_hull_image 2015-11-17 10:19:09 -05:00
Johannes Schönberger 1a598be98e Fix region props deprecation problem with label function 2015-11-17 10:07:29 -05:00
stevendbrown 87adb532e7 Changed to scikit-image preferred syntax 2015-11-09 18:30:27 -08:00
stevendbrown 157fef3963 Added label vs. intensity shape checking to regionprops 2015-11-09 10:50:20 -08:00
Stefan van der Walt 52594d0bd8 Only iterate over available region properties 2015-11-05 15:41:00 -08:00
Johannes Schönberger ca5de50079 Enforce integral type for label images 2015-09-03 16:22:32 -04:00
Juan Nunez-Iglesias 0d134987f9 Harmonize all ndimage usage across the library
Only two forms remain in use:

- `from scipy import ndimage as ndi`
- `from scipy.ndimage import function`
2015-06-09 15:18:37 +10:00
dan ff1322938e pep line width violation corrected 2015-05-21 07:58:56 +02:00
dan bcb5b34fef more formal documentation 2015-05-21 02:06:27 +02:00
dan 98c4e2366e ellipse documentation was corrected 2015-05-21 01:30:17 +02:00
Joel Frederico 575689baf2 Update measure.regionprops.weighted_moments_central doc
The documentation is misleading. In fact, the code does do what a user would expect: use the weighted centroid coordinates, not the centroid coordinates. It's one word, but it's an important one!

https://github.com/scikit-image/scikit-image/blob/master/skimage/measure/_regionprops.py#L291
2015-05-14 17:15:00 -07:00
Johannes Schönberger d3c4c704fe Speedup regionprops 2015-01-22 07:53:10 -05:00
Steven Silvester a4e4e57ba5 Create new expected_warnings helper and some cleanup
Add new helper function for expected warnings during test

Indentation cleanups and avoid skipping doctests if possible.
2014-12-23 16:50:18 -06:00
Steven Silvester 6db92d387b More doctest and pil_plugin fixes
Fix Python2 imread in pil_plugin.

Load from data

Use all_warnings when importing the other packages

More fixes for regionprops doctest
2014-12-23 16:49:38 -06:00
Steven Silvester 4680f30466 Add a test setup helper function
Add a function to set up a skimage test

Switch to new test helper function

Import local packages that raise warnings in test setup function

More fixes to doctests

Fix regionprops doc test

Try and fix the test_rank failure.

Remove no longer needed RectangleSelector shim

Skip more doctests in _regionprops

Try importing another scipy subpackage
2014-12-23 16:49:20 -06:00
Jacopo 77a78a287c Updated docs for regionprops to reflect the dropping of regions with label value 0 2014-12-03 11:09:46 +10:00
Johannes Schönberger fc0a6064d7 Use uint8 type for simple moments functions 2014-11-26 17:08:42 -05:00
Johannes L. Schönberger 6546b9dba4 Merge pull request #1007 from stefanv/label_refactor
Move `morphology.label` to `measure.label` and prepare for 0-label transition
2014-05-25 21:56:42 -04:00
Stefan van der Walt 135965fbe4 Avoid circular imports 2014-05-25 20:05:17 +02:00
Stefan van der Walt 1de102a885 Fix broken and circular imports 2014-05-09 02:53:57 +02:00
Stefan van der Walt 5ba3ea421c Fix imports and suppress deprecation warnings 2014-05-08 19:14:38 +02:00
Stefan van der Walt 0b6e48fe2a Clarify regionprops output 2014-05-08 10:45:04 +02:00
Johannes Schönberger 46b2bd5bb1 Remove print statement 2014-04-12 11:34:03 -04: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 3f5b3892ed reverted irrelevant changes 2014-03-26 03:59:56 +05:30
Vighnesh Birodkar 1fc24294ff reverted irrelevant changes 2014-03-26 03:58:32 +05:30
Vighnesh Birodkar b0dbfffb45 reverted irrelevant changes 2014-03-26 03:56:40 +05:30
Vighnesh Birodkar dd8a14bf69 reverted irrelevant changes: 2014-03-26 03:55:22 +05:30
Vighnesh Birodkar ab06d0177b pep8 2014-03-26 03:51:59 +05:30
Vighnesh Birodkar ace11b852e added nan case 2014-03-26 03:50:24 +05:30
Vighnesh Birodkar a748df0b55 removed blankline 2014-03-26 02:59:59 +05:30
Vighnesh Birodkar 12ba5905a7 overrided __eq__ method of region props 2014-03-26 02:56:49 +05:30