Commit Graph

164 Commits

Author SHA1 Message Date
Stefan van der Walt 0286d2d30f Use int32 for labelling. 2013-06-29 10:17:42 -05:00
Stefan van der Walt eb66e34351 Fix label casting for numpy 1.7. 2013-06-29 10:17:41 -05:00
François Boulogne 8aad4d6e94 fix missing space 2013-06-21 19:13:18 +02:00
François Boulogne a165cf3dca pep8 2013-06-20 23:28:49 +02:00
François Boulogne a9f962695e add spaces for travis (pep8) 2013-06-20 23:12:16 +02:00
Johannes Schönberger 2ac42c4619 Merge pull request #587 from sciunto/import
MIN: fix unused import
2013-06-12 13:23:28 -07:00
François Boulogne e258e05468 MIN: fix unused import 2013-06-12 21:36:28 +02:00
François Boulogne eb9de1d7eb MIN: use print() instead of print 2013-06-12 21:16:23 +02:00
Chintak Sheth a6caac07eb new line 2013-05-29 10:56:32 +05:30
Chintak Sheth 7eeda7c935 Add convex_hull_object to __all__ 2013-05-29 10:40:45 +05:30
Chintak Sheth afd2208ff2 Space 2013-05-29 10:38:28 +05:30
Chintak Sheth 390a6c664b Whitespaces and note 2013-05-29 10:38:28 +05:30
Chintak Sheth 054360f834 Note re-worded 2013-05-29 10:38:28 +05:30
Chintak Sheth 8bc70cd2ea Added test for checking ValueError 2013-05-29 10:38:28 +05:30
Chintak Sheth ab2a82746f Endline 2013-05-29 10:38:28 +05:30
Chintak Sheth bec3b4e324 Note rewritten 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 1ef98dae8c Ability to choose the type of connectivity and ValueError 2013-05-29 10:38:28 +05:30
Chintak Sheth e49994976d Minor changes 2013-05-29 10:38:28 +05:30
Chintak Sheth 14302318ab Add convex_hull_object in __init__.py 2013-05-29 10:38:27 +05:30
Chintak Sheth 9797ae0e72 Blank at the end of docstring 2013-05-29 10:38:27 +05:30
Chintak Sheth 7836e2b012 Using labeled_im == i 2013-05-29 10:38:27 +05:30
Chintak Sheth b6d15c91c7 Remove trailing whitespace 2013-05-29 10:38:27 +05:30
Chintak Sheth 1814cc44ca Remove trailing whitespace 2013-05-29 10:38:27 +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
Chintak Sheth db84262ba3 Note and relative import 2013-05-29 10:38:26 +05:30
Chintak Sheth 48932b6bb2 Update convex_hull.py 2013-05-29 10:38:26 +05:30
Chintak Sheth 6fcaaee807 Added the note in docstring as suggested by Josh 2013-05-29 10:38:26 +05:30
Chintak Sheth d63ee467ee Trailing whitespace 2013-05-29 10:38:26 +05:30
Chintak Sheth e66d73ac7c Added convex_hull_object function 2013-05-29 10:38:26 +05:30
Josh Warner (Mac) 494a235d02 DOCFIX: "\" in label docstring now escaped 2013-05-25 22:26:54 -05:00
Johannes Schönberger 8080e04484 Fix selem test cases 2013-04-28 23:20:01 +02:00
Johannes Schönberger 6cae50cd40 Add __all__ to morphology package 2013-04-28 23:20:00 +02:00
Johannes Schönberger 2b505a33bd Replace all occurences of bresenham with line 2013-04-28 13:12:10 +02:00
Emmanuelle Gouillart 5123692f45 Blank lines in reconstruction docstring for nicer display 2013-04-23 23:56:07 +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
Stefan van der Walt baae1d9a48 Merge pull request #501 from ahojnnes/skeletonize
BUG: Fix `skeletonize` return type.
2013-04-14 10:23:34 -07:00
Johannes Schönberger 9eabaf3cd9 Remove unnecessary conversion step to numpy array 2013-04-13 20:12:13 +02:00
Johannes Schönberger 3c038f8db3 Reformat code to comply with PEP8 2013-04-13 20:11:22 +02:00
Johannes Schönberger 0238e388ac Make return type of skeletonize function boolean 2013-04-13 20:09:36 +02:00
Johannes Schönberger ecdfd518c6 Add test case for number of labels 2013-04-09 22:54:57 +02:00
Johannes Schönberger 9fc3f3d77f Add option to return number of labels 2013-04-09 22:50:30 +02:00
Johannes Schönberger 4e87f3f54e Inline helper functions of label 2013-04-09 19:49:14 +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
Almar 77192b6e9a Adding octahedron selem (3D equivalent of diamond). 2013-03-28 09:48:25 +01:00
Almar fa6a30198c Fix typo in docstring of disk(). 2013-03-27 21:54:49 +01:00
Almar 42c72ab106 Add ball selem. I verified in 2D that this usage of np.mgrid yields the exact same results as np.meshgrid (np.meshgrid is not available for 3D). 2013-03-27 21:52:07 +01:00
Almar cbf1657ee7 Add cube selem. 2013-03-27 21:50:08 +01:00