Commit Graph

270 Commits

Author SHA1 Message Date
Johannes Schönberger dd572a696f Fix medial_axis and skeletonize doctests 2013-11-03 23:50:53 +01:00
Johannes Schönberger facc8f5c71 Fix watershed doctest 2013-11-03 09:31:54 +01:00
Johannes Schönberger c7fbd3282b Fix doctest of remove_small_objects 2013-11-03 09:28:46 +01:00
Johannes Schönberger 1b66ab479a Speed up memory views in watershed function 2013-10-18 21:00:40 +02:00
Johannes Schönberger 3e28168914 Speed up memory views in skeletonize function 2013-10-18 20:56:18 +02:00
Johannes Schönberger 2bf47ada90 Change data type of convolution to more general uint 2013-10-15 18:11:03 +02:00
Johannes Schönberger 505467008d Fix dtype error on 32bit systems as convolve is only implemented for 32bit integers 2013-10-15 15:49:10 +02:00
Johannes Schönberger 5e2b04c486 Remove deprecated is_local_maximum function 2013-10-14 19:52:32 +02:00
Johannes Schönberger 29d8e0d1d9 Merge pull request #778 from stefanv/binary_morph_out
Simplify output handling for binary morphology.
2013-10-14 08:22:46 -07:00
Stefan van der Walt d182286e53 Always use uint8 for binary view. 2013-10-14 16:41:08 +02:00
François Boulogne eb4c5c9ee4 PEP8 2013-10-14 16:14:30 +02:00
Stefan van der Walt f83c7a95e3 Tweak markup of docstring. 2013-10-14 13:58:04 +02:00
Stefan van der Walt 2a944ef689 Update docs to match output. 2013-10-14 13:11:51 +02:00
Stefan van der Walt d5e2ab0b13 Allocate less memory, if possible. 2013-10-14 13:02:38 +02:00
Stefan van der Walt 89d703ca46 Pre-allocate memory for convolution and re-use for output, if no user-override specified. 2013-10-14 12:58:27 +02:00
Stefan van der Walt 6111831994 Revert to >0 for determining binary values. Document that input should be binary. 2013-10-12 21:55:13 +02:00
Stefan van der Walt 4f74a007d9 Test that output argument is correct. 2013-10-12 19:57:35 +02:00
Stefan van der Walt ceb2e4c5d4 Test that output argument is utilized. 2013-10-12 19:51:00 +02:00
Stefan van der Walt 9329d0ad56 Restore @ahojnnes's overflow test. Correctly assign out argument. 2013-10-12 19:44:14 +02:00
Stefan van der Walt 9ff4316cbb Fix overflow in NumPy 1.7 as suggested by Julian Taylor. 2013-10-12 19:23:54 +02:00
Stefan van der Walt b022dd6dfb Simplify output handling for binary morphology. 2013-10-12 19:10:23 +02:00
Johannes Schönberger f8d34e8bf9 Deprecate out parameter 2013-10-11 19:05:18 +02:00
Johannes Schönberger b187144a5f Add support older numpy versions 2013-10-11 19:04:42 +02:00
Johannes Schönberger 2a84e45389 Remove unused import 2013-10-11 19:04:42 +02:00
Johannes Schönberger ecf10a7a48 Reduce number of specializations 2013-10-11 19:04:42 +02:00
Johannes Schönberger 95a5a98c93 Fix overflow error 2013-10-11 19:04:42 +02:00
Johannes Schönberger 895b025a3a Split grey and binary erosion tests in two files 2013-10-11 19:04:41 +02:00
Johannes Schönberger 6a8889d0b0 Fix numpy 1.8 bug 2013-10-11 19:04:41 +02:00
François Boulogne 4a7d2e8429 PEP8 2013-10-02 18:14:21 +02:00
François Boulogne 90db96f3eb DOC: add missing import 2013-10-02 18:14:21 +02:00
François Boulogne 741d6fda95 PEP8: comparison 2013-10-02 18:14:20 +02:00
Juan Nunez-Iglesias 2af5c41571 Fix type hierarchy check in remove_small_objects 2013-09-09 13:53:33 +10:00
Emmanuelle Gouillart 4d80670925 Merge pull request #672 from jni/chull-fix
Convex hull fix
2013-08-25 04:48:20 -07:00
Johannes Schönberger 05aeb7c7fe Convert to int for Py_ssize_t 2013-08-21 07:48:39 +02:00
Johannes Schönberger 5f82c206b4 Fix bugs in usage of typed memoryviews 2013-08-19 19:31:40 +02:00
Johannes Schönberger b8b2a63884 Use typed memoryviews in morphology package 2013-08-19 19:14:56 +02:00
Ankit Agrawal ffbeeaee27 Correcting selem.star for Python 3 2013-08-15 16:37:07 +05:30
Ankit Agrawal 6e8dcd3ddd Adding tests for smallest selem 2013-08-07 12:12:23 +05:30
Ankit Agrawal 6455d9b6e9 Adding test for star 2013-08-06 04:14:40 +05:30
Ankit Agrawal 8569d73d57 Adding namespace 2013-08-06 04:13:27 +05:30
Ankit Agrawal 55d7eaa87d Improving the implementation of star 2013-08-06 03:48:06 +05:30
Ankit Agrawal 67165363bf Test for Octagon 2013-08-06 03:38:52 +05:30
Ankit Agrawal 060a4dd273 Minor doc changes 2013-08-06 03:02:58 +05:30
Ankit Agrawal ac6f282253 Added star structural element 2013-08-05 10:04:58 +05:30
Juan Nunez-Iglesias c3582f21f8 Add (previously) pathological qhull test case 2013-08-05 10:39:42 +10:00
Juan Nunez-Iglesias e9c9c2ca07 Move code comment to appropriate line 2013-08-05 10:20:48 +10:00
Juan Nunez-Iglesias b03fa92478 Unique rows after getting the pixel corners 2013-08-05 10:09:37 +10:00
Juan Nunez-Iglesias a6ec1741dc Remove repeated coordinates before computing convex hull 2013-08-05 09:42:23 +10:00
Ankit Agrawal 93819c74bb Making the doc more explicit 2013-07-30 03:28:58 +05:30
Ankit Agrawal 8a062617d0 Correcting grammatical typo 2013-07-30 03:22:45 +05:30