Commit Graph
46 Commits
Author SHA1 Message Date
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
Johannes Schönberger c0c23968bf add perimeter measurement 2012-07-14 14:14:28 +02:00
Andreas Mueller f7c56202d0 COSMIT no spaces around power `**`. Fun: https://gist.github.com/1671995 2012-06-29 11:27:23 +02:00
Andreas Mueller f7b3d8062c COSMIT pep8 2012-06-29 11:27:23 +02:00
Johannes Schönberger 7b0703f663 regionprops takes optional intensity images 2012-05-22 23:28:14 +02:00
Johannes Schönberger 58d07c0a05 replace inline latex equations in doc string with plain text 2012-05-22 23:28:13 +02:00
Johannes Schönberger 0c22521916 reduce parameter choice of properties 2012-05-22 23:28:13 +02:00
Johannes Schönberger 627ac3cbb9 change reference note in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger e30fcfc493 make matrix shape more readable in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger 8d1f2dc38f remove unused variables 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 87ddbbeabe more constistent way of determining ellipse parameters 2012-05-22 23:28:13 +02:00
Johannes Schönberger 19614cc8d7 euler number now behaves like MATLAB implementation 2012-05-22 23:28:13 +02:00
Johannes Schönberger 4eb3028a64 fixed typo and improved example in doc string 2012-05-22 23:28:13 +02:00
Johannes Schönberger 1b2bed7501 renamed regionprops source files for better separation between function name and source file 2012-05-22 23:28:12 +02:00