Commit Graph

67 Commits

Author SHA1 Message Date
Johannes Schönberger 5e2b04c486 Remove deprecated is_local_maximum function 2013-10-14 19:52:32 +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 b022dd6dfb Simplify output handling for binary morphology. 2013-10-12 19:10:23 +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
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
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 67165363bf Test for Octagon 2013-08-06 03:38:52 +05:30
Juan Nunez-Iglesias c3582f21f8 Add (previously) pathological qhull test case 2013-08-05 10:39:42 +10:00
François Boulogne 8aad4d6e94 fix missing space 2013-06-21 19:13:18 +02:00
François Boulogne a9f962695e add spaces for travis (pep8) 2013-06-20 23:12:16 +02:00
Chintak Sheth 8bc70cd2ea Added test for checking ValueError 2013-05-29 10:38:28 +05:30
Chintak Sheth a2a40de83e Test for the two neighborhood values 2013-05-29 10:38:28 +05:30
Chintak Sheth 4ff28908d8 Resolve fast forward 2013-05-29 10:38:27 +05:30
Chintak Sheth 2419285602 Unit tests added 2013-05-29 10:38:27 +05:30
Chintak Sheth 20ca89d8b8 Added unit test for convex_hull_object function in test_convex_hull.py 2013-05-29 10:38:26 +05:30
Johannes Schönberger 8080e04484 Fix selem test cases 2013-04-28 23:20:01 +02:00
Johannes Schönberger 2b505a33bd Replace all occurences of bresenham with line 2013-04-28 13:12:10 +02:00
Stefan van der Walt 65457a95b6 Merge pull request #496 from ahojnnes/label-performance
ENH: Inline helper functions of label and add number of regions as an optional return.
2013-04-18 06:26:52 -07:00
Johannes Schönberger ecdfd518c6 Add test case for number of labels 2013-04-09 22:54:57 +02:00
Almar 644ab324dd Added test for ball and octahedton selems.
Note that only the center slice (in each dimension is tested)
since there is no reference data available for these selems.
I did visualize the 3D shapes to see whether they look right.
2013-03-28 10:03:02 +01:00
Juan Nunez-Iglesias b306f9b70f Revert remove_small_objects to raise TypeError 2013-03-10 19:23:04 +11:00
Stefan van der Walt dae9b7adfd STY: Minor cleanup. 2013-03-04 11:30:19 +02:00
Juan Nunez-Iglesias 6b9ecd80b9 Add raise and labeled image tests 2013-03-04 01:32:05 +11:00
Juan Nunez-Iglesias b07f7fd9bd Rename function to remove_small_objects 2013-03-04 01:32:05 +11:00
Juan Nunez-Iglesias 5222fb5ff7 Add tests for remove_small_connected_components 2013-03-04 01:32:05 +11:00
Andreas Mueller 6c59e04714 MISC remove unused imports, some pep8 corrections. 2012-09-27 20:01:45 +01:00
Johannes Schönberger 56b1476789 Add test case for non-square images 2012-09-11 20:27:18 +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 b1d99be735 Fix bug in grey erosion and dilation 2012-09-11 09:09:10 +02:00
Johannes Schönberger 373b3293ee Use numpy testing functions 2012-09-02 13:28:07 +02:00
Johannes Schönberger de47332bd2 Add fast morphological operations for binary images 2012-09-02 13:25:52 +02:00
Emmanuelle Gouillart 0644026250 Fixed two tests that were failing because of draw imports 2012-08-27 12:04:30 +02:00
Tony S Yu 7d8bc48378 ENH: Change assert statement for better error output 2012-08-26 16:36:28 -04:00
Stefan van der Walt 544fec7560 Merge pull request #215 from tonysyu/morph-reconstruction
ENH: Add morphological reconstruction.
2012-08-25 07:42:36 -07:00
Neil Yager d7d1faec46 Fix bug in skeletonize LUT 2012-08-20 21:56:10 +01:00
Tony S Yu b614b34eab ENH: Add test of reconstruction by erosion. 2012-08-18 23:20:49 -04:00
Tony S Yu e4dd658daf STY: PEP8 and other clean up. 2012-08-09 00:23:58 -04:00
Tony S Yu 25efae8269 Add morphological reconstruction with test and example. 2012-07-13 00:53:51 -04:00
Andreas Mueller 46e959a9d9 COSMIT some manual pep8, removed unused imports, removed unused variables and fixed a bug in a ValueError statement. 2012-06-29 11:27:23 +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
Stefan van der Walt 944f79cdce BUG: Fix background labelling for case when (0, 0) belongs to the background. 2012-06-12 09:51:16 -07:00
Tony S Yu dc6c3d0222 Rename test module to match module. 2012-05-03 17:45:36 -04:00
Tony S Yu 0edefedc50 Replace import * with import grey. 2012-05-03 17:35:11 -04:00