Commit Graph

283 Commits

Author SHA1 Message Date
Stefan van der Walt 0cede58828 Merge pull request #182 from tonysyu/threshold-example
DOC: Add example for adaptive thresholding.
2012-05-03 15:30:25 -07:00
Stefan van der Walt 01c7d036aa Merge pull request #186 from holtzhau/radon_fixes
BUG: Fixed padding in radon, iradon. Tests for small images.
2012-05-03 15:27:37 -07:00
Tony S Yu dc6c3d0222 Rename test module to match module. 2012-05-03 17:45:36 -04:00
Tony S Yu 9358d785c3 Add __all__ to grey module. 2012-05-03 17:44:08 -04:00
Tony S Yu 136a020088 Remove unused variable. 2012-05-03 17:42:39 -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
Tony S Yu 942dd52316 Add "page.png" and use for threshold example. 2012-05-03 12:11:33 -04:00
Pieter Holtzhausen 31e3ab52b3 Fixed padding in radon, iradon. Tests for small images. 2012-05-03 16:36:35 +02:00
Tony S Yu cb9f030eb1 Change "text" image to grayscale. 2012-04-30 21:37:41 -04:00
Stefan van der Walt 12669d62e6 BUG: Remove import of non-existent module. 2012-04-30 12:08:02 -07:00
Stefan van der Walt 43193a8b05 Merge pull request #178 from ahojnnes/adaptive-thresholding
ENH: Adaptive thresholding.
2012-04-30 11:11:10 -07:00
Johannes Schönberger 7b4fea2db4 fixed bug when sigma is set manually 2012-04-30 16:33:58 +02:00
Johannes Schönberger def7698cd7 fixed typo in doc string 2012-04-30 09:05:04 +02:00
Johannes Schönberger ffcade8a25 removed unnecessary cast step 2012-04-30 09:04:35 +02:00
Johannes Schönberger a3d336f560 cython implementation of adaptive thresholding replaced with pure python version 2012-04-29 17:49:33 +02:00
Tony S Yu 3ab6300218 BUG: fix logging for Python < 2.7. 2012-04-28 13:34:47 -04:00
Johannes Schönberger 13c716f5eb changed name of array variable 2012-04-27 10:06:36 +02:00
Johannes Schönberger 59376a7c20 improved doc string of adaptive threshold with more detailed description and example 2012-04-27 10:00:10 +02:00
Johannes Schönberger 829f6ad770 separated filter masks of mean filtering in adaptive thresholding 2012-04-26 20:28:14 +02:00
Johannes Schönberger 4ad79cb73e replaced unicode characters in doc string 2012-04-25 23:44:06 +02:00
Johannes Schönberger 8b8b6d0d60 added generic method to adaptive thresholding 2012-04-25 23:44:06 +02:00
Johannes Schönberger bacde61e39 updated test cases for adaptive thresholding 2012-04-25 23:44:06 +02:00
Johannes Schönberger f8e3ba42ef adapted new function name for adaptive threshold in test cases 2012-04-25 23:44:06 +02:00
Johannes Schönberger 243a5ec1c6 clarified comment 2012-04-25 23:44:06 +02:00
Johannes Schönberger aca8522ac4 renamed adaptive_threshold to threshold_adaptive 2012-04-25 23:44:06 +02:00
Johannes Schönberger d0d71427af added mean method to adaptive thresholding 2012-04-25 23:44:06 +02:00
Johannes Schönberger d81650f992 fixed some typos 2012-04-25 23:44:06 +02:00
Johannes Schönberger 238d4eb4ad added adaptive threshold 2012-04-25 23:44:06 +02:00
Stefan van der Walt f4e7e3e437 Merge pull request #169 from stefanv/local_logging
ENH: Do not use global root logger state in skimage.
2012-04-25 10:46:12 -07:00
Tony S Yu a0c3e49742 Merge pull request #166 from 'vincent-albufera/exemple_modif'
DOC: Improve harris corners and peak detection examples and docstrings.
2012-04-25 00:52:53 -04:00
Stefan van der Walt abca94e16f BUG: Provide bresenham as backward compatible name for line. 2012-04-24 13:05:36 -07:00
Stefan van der Walt 6cdd36c178 Merge pull request #177 from ahojnnes/draw-polygon-alt
ENH: Polygon, circle and ellipse drawing.
2012-04-24 12:32:26 -07:00
Johannes Schönberger 9fdfdc9708 added explicit cython list type and changed creation of contiguous arrays 2012-04-23 22:06:26 +02:00
Johannes Schönberger 5b854d9b3c changed interface of draw.polygon function for a more consistent usage 2012-04-23 18:38:20 +02:00
Johannes Schönberger 53ac34a8d0 renamed function bresenham to line 2012-04-23 17:07:27 +02:00
Johannes Schönberger d83592cc05 improved doc string 2012-04-23 16:22:37 +02:00
Johannes Schönberger de8369be50 added draw circle and ellipse functions 2012-04-23 16:20:49 +02:00
Johannes Schönberger 7191eaf058 removed geometry package from setup script 2012-04-23 15:39:26 +02:00
Johannes Schönberger 4834d7eb4d added example script for draw.polygon function 2012-04-23 15:37:07 +02:00
Johannes Schönberger 0db612724d removed area function and removed old comment 2012-04-22 10:46:37 +02:00
Johannes Schönberger 649d912071 improved doc string 2012-04-21 16:59:29 +02:00
Johannes Schönberger 0aa008712a replaced fixed output array size with dynamic lists
area of polygon is not suitable to determine the size of the
number of filled pixels for output array
2012-04-21 16:56:14 +02:00
Johannes Schönberger 4565a49cfa added draw.polygon function with test cases 2012-04-19 23:37:35 +02:00
Tony S Yu c3af26d37c ENH: Add num_peaks to limit the number of peaks. 2012-04-16 00:19:56 -04:00
Tony S Yu 8bdc9f2ab4 Rename for clarity
"corner" is a relic from the original implementation in the harris filter.
2012-04-16 00:05:49 -04:00
Tony S Yu 0b33dd5811 Add docstring comment about flat peaks. 2012-04-16 00:02:45 -04:00