Commit Graph

21 Commits

Author SHA1 Message Date
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
Stefan van der Walt d182286e53 Always use uint8 for binary view. 2013-10-14 16:41:08 +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 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 6a8889d0b0 Fix numpy 1.8 bug 2013-10-11 19:04:41 +02:00
Johannes Schönberger f478b6a397 Fix bug in binary dilation and test case 2012-09-11 20:11:55 +02:00
Johannes Schönberger aa08e8a559 Fix for predefined output array 2012-09-02 13:41:25 +02:00
Johannes Schönberger 2c37c70ca3 Fix support for predefined output array 2012-09-02 13:35:12 +02:00
Johannes Schönberger de47332bd2 Add fast morphological operations for binary images 2012-09-02 13:25:52 +02:00