Commit Graph

64 Commits

Author SHA1 Message Date
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
Ankit Agrawal 292f9dce9b Fix regionprops doc typo 2014-02-12 19:17:54 +05:30
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
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 14687d0510 Dictionary interface to preserve backward compatibility for RegionProps. 2013-10-17 13:07:41 +02:00
Johannes Schönberger 6711bfb3c8 Rename weighted central moments property 2013-10-15 15:12:00 +02: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
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
Johannes Schönberger cc91324625 Fix PEP8 issues and typos 2013-08-17 21:44:07 +02:00
Johannes Schönberger c4caf8b7b8 Sort functions in alphabetical order 2013-08-17 18:04:07 +02:00
Johannes Schönberger 13957123b7 Make moments functions public, rename, add tests 2013-08-17 18:00:53 +02:00
Johannes Schönberger 752e395835 Improve moments code and use typed memoryviews 2013-08-17 15:51:15 +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 4f8d4ce3f2 Hide cached_property and caching flag 2013-08-07 20:06:33 +02:00
Johannes Schönberger fea0c3f56c Improve fromatting of regionprops doc string 2013-08-07 20:04:19 +02:00
Johannes Schönberger 92e70547fa Use asbolute import for Cython lib 2013-08-06 14:39:38 +02:00
Johannes Schönberger 01871c153d Remove legacy doc strings 2013-08-06 14:34:36 +02:00
Johannes Schönberger 918332c4c6 Refactor regionprops 2013-08-06 14:27:37 +02:00
Johannes Schönberger 61ab5ed077 Fix convolution bug in perimeter function 2012-12-22 20:08:06 +01:00
Johannes Schönberger 257cf9585b Fix typo bug in perimeter function 2012-12-22 20:07:36 +01:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Johannes Schönberger d7bf0c5fc1 Add Coordinates property to property list 2012-09-04 17:40:54 +02:00
Tony S Yu 398344787f DOC: Reformat shape argument 2012-09-02 17:53:23 -04:00
Tony S Yu ec22dba257 DOC: Fix Sphinx warnings for regionprops
In particular:
- Indented equations in docstring for the `properties` parameter *must* be surrounded by whitespace to prevent Sphinx warnings.
- Fix reference rendering
2012-09-02 17:53:22 -04:00
Johannes Schönberger cdff128a43 Add new Coordinates property to regionprops 2012-08-30 21:38:33 +02:00
Tomas Kazmar 31ba6a59b4 BUG: Fix Orientation for diagonal regions in regionprops. 2012-08-16 14:05:03 +02:00
Johannes Schönberger f614afaa08 fix orientation of regionprops with correct quadrant determination 2012-08-02 07:46:34 +02:00