Commit Graph

58 Commits

Author SHA1 Message Date
Andreas Wuerl c851053084 specified float array result in docstring 2012-09-02 21:18:00 +02:00
Andreas Wuerl 12b8d8d051 cleanup of tests hence all results of tv denoise operations are returned as float 2012-09-02 21:17:18 +02:00
Andreas Wuerl 42ae537a69 convert image to float before performing tv_denoise operation now
removed keep_type argument from tv_denoise which becomes obsolete with the previos change
adapted tests
2012-08-27 19:44:30 +02:00
Andreas Wuerl bcf4594170 use existing functionality for fix 2012-08-27 15:18:03 +02:00
Andreas Wuerl 14d0923959 fixed data of tv_denoise result images with float datatype to be in default range [0.0:1.0] 2012-08-27 12:41:29 +02:00
Johannes Schönberger 4fe9f39c45 Fix shape format of arrays in doc strings 2012-08-26 00:16:52 +02:00
Stefan van der Walt 6410905b3b BUG: Fix broken import in ctmf. 2012-08-20 07:55:17 -07:00
Tony S Yu 13caa41fa7 BUG: Rename modules with duplicate function names.
Modules with functions of the same name can cause confusion (in general) and causes issues when running `nosetests --with-doctest`.
2012-08-02 22:49:53 -04:00
Matt McCormick 67eb914ef6 TST: Add buffer for threshold tests.
In case conversion from float to integer is imprecise.
2012-07-20 19:09:05 -04:00
Matt McCormick 4b53c92c14 BUG: Fix OTSU thresholding tests with matplotlib IO plugin.
The matplotlib IO returns float arrays from [0, 1], which gives difference
results than a ubyte array.  Explicitly convert to a ubyte array in the tests.
2012-07-20 18:49:44 -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 d7f1a3abec COSMIT minor stype improvements, whitespace in error messages 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 ee0fd867da COSMIT fix ugly line breaks. 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 12669d62e6 BUG: Remove import of non-existent module. 2012-04-30 12:08:02 -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
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 e99f18be5a BUG: Fix imports for Python 3.2. 2012-03-03 11:18:16 -08:00
Tony S Yu 5ed5c070c7 Fix test: clip image that exceeded float range. 2012-02-05 09:39:40 -08:00
Tony S Yu 96ba7eb4bd Move harris corner detection from filter to feature subpackage. 2012-02-02 22:45:23 -05:00
Tony S Yu 1c9b340fe6 Rename peak_min_dist to peak_local_max. 2012-02-02 22:33:57 -05:00
Tony S Yu 4831185b4c Make test more robust.
Test shouldn't depend on the order of the detected corners.
2012-02-02 22:33:57 -05:00
Tony S Yu 83dc4a1d40 Refactor peak detection algorithm from Harris detector. 2012-02-02 22:33:57 -05:00
Tony S Yu 63f17344e5 Fix peak detection algorithm.
Reverse sorted values so that max peak is checked first.
2012-02-02 22:33:57 -05:00
Tony S Yu fd0e88b986 Minor modifications to Harris corner detector
* Add some references.
* Make keyword argument explicit in example.
* Remove test class in favor of functions since no setup was required.
* Clean up docstrings.
2012-02-02 22:33:56 -05:00
Stefan van der Walt e2c155d09a BUG: Edge detection routines returned images with invalid ranges [0-255] but dtype float. 2012-01-27 15:30:02 -08:00
tonysyu 23d0bc5bc0 Merge pull request #106 from NelleV/harris_corner_detection
Harris corner detection
2012-01-09 17:38:00 -08:00
Nelle Varoquaux 3c2988b4bc small fixes on the Harris' documentation: added capital letters where needed 2011-12-25 09:54:47 +01:00
Nelle Varoquaux 374c446715 Added parameter to Harris corner detector to set the deviation for the gaussian kernel of the harris response computation 2011-12-23 17:32:03 +01:00
Nelle Varoquaux bc0f77622e Added tests for harris, and small fixes 2011-12-23 17:21:55 +01:00
Nelle Varoquaux 7ff98597e2 Small fixes on the Harris corner detector - documentation, method renaming etc 2011-12-22 22:08:27 +01:00
Tony S Yu 87c2353845 Change API for equalize_hist and cumulative_distribution.
`equalize_hist`: "max_intensity" parameter no longer exists---img_as_float normalizes intensity range

`cumulative_distribution`: Return centers of bins instead of the edges.

Move `histogram` function from filter subpackage.

Add test of equalize_hist

Add example of histogram equalization.
2011-12-22 10:16:32 -08:00
Nelle Varoquaux 5d8110bab2 Added tests 2011-12-22 12:27:06 +01:00
Nelle Varoquaux c6f16dbff5 Harris corner detector 2011-12-21 19:09:40 +01:00
Tony S Yu 756dfd5020 Rename bins parameter to nbins.
This change distinguishes it from the `bins` argument in numpy.histogram, which can accept both the number of bins or a sequence bin edges. Also, this name matches other function parameters in the scikit (e.g. `histograms` in io/_plugins/util.py).
2011-12-12 13:51:27 -05:00