Commit Graph
42 Commits
Author SHA1 Message Date
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
Tony S Yu 8fb597b141 Fix dtype compatibility for functions in morphology.grey
Cast input images using ``img_as_ubyte``. Note, tests don't currently pass for integer arrays (test skipped).
2012-05-03 16:22:00 -04:00
Tony S Yu 284753a7a4 Make test module runnable. 2012-05-03 16:21:59 -04:00
Tony S Yu cfa9bbfc40 Rename greyscale morphology functions.
Remove "greyscale" prefix on functions in ``morphology.grey``. To avoid confusion (and name clashes), ``greyscale_open`` and ``greyscale_close`` were renamed ``opening`` and ``closing`` (instead of ``open`` and ``close``). As a bonus, these names match scipy.ndimage.
2012-05-03 16:21:59 -04:00
Tony S Yu 29a2fc3c22 Remove unused imports 2012-05-03 16:21:59 -04:00
Stefan van der Walt c78ea107aa ENH: Add background labelling. 2011-12-22 04:47:24 -08:00
Stefan van der Walt b83ece8b05 ENH: Allow choice between 4 and 8 neighbor mode. Improve documentation. 2011-12-16 23:47:32 -08:00
Stefan van der Walt 3495767358 ENH: Rename convex_hull to convex_hull_image to allow later clean API addition of convex_hull with labels. 2011-11-02 09:38:54 -07:00
Stefan van der Walt 33469fa69e BUG: Allow test suite to pass with scipy < 0.9. 2011-10-28 14:56:41 -07:00
Stefan van der Walt 2191d29611 ENH: In test, do not compute hull twice. 2011-10-28 14:36:05 -07:00
Stefan van der Walt b34b9d8ddd ENH: Only perform convex hull on select candidate pixels. Gets us a factor 30 speedup. 2011-10-26 23:17:00 -07:00
Stefan van der Walt 74f7e01e42 ENH: Improve convex_hull execution speed. 2011-10-26 19:55:46 -07:00
Stefan van der Walt b5ad567a68 ENH: Add binary convex hull computation. 2011-10-26 17:43:30 -07:00
emmanuelle 736802bad4 Medial axis transform (skeletonization) from cell profiler
* medial_axis function in morphology.skeletonize
 * plot_medial_axis.py example for the gallery

Compared to the skeletonize algorithm in morphology.skeletonize,
medial_axis is faster because it processes all pixel in one pass.
However, the resulting skeleton has more branches, that may be unwanted
depending on the application.
2011-10-24 23:22:58 +02:00
emmanuelle 0f31034a46 First integration of cell profiler medial axis transform
(skeletonization in cell profiler)
2011-10-24 23:22:58 +02:00
Stefan van der Walt 5ec4fdec09 PKG: Import skimage instead of scikits.image in changes made since rename. 2011-10-23 22:55:55 -07:00
Stefan van der Walt 91d9949282 PKG: Move remaining files that changed since skimage rename. 2011-10-23 22:34:28 -07:00
Nelle Varoquaux 114cf44c77 Renamed scikits.image to skimage 2011-10-18 21:12:27 +02:00