Commit Graph

1209 Commits

Author SHA1 Message Date
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 62d3b5590b Remove density parameter in histogram
The `density` (or `normed`) parameter was set in the original implementation of `equalize`, but it is unnecessary since `cumulative_distribution` renormalizes values. The only other function in scikits-image that calls `histogram` (`filter.threshold_otsu`) is not affected by renormalization.
2011-12-22 10:58:02 -08:00
Tony S Yu d4ca519ca5 Rename equalize_hist to equalize and minor cleanup 2011-12-22 10:48:28 -08: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
Stefan van der Walt c78ea107aa ENH: Add background labelling. 2011-12-22 04:47:24 -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
Stefan van der Walt 4df36631f6 BUG: Dispatch threads to process entire image. 2011-12-20 00:18:17 -08:00
Tony S Yu c87b1ad90e Add exposure module with histogram equalization function 2011-12-19 14:24:53 -05:00
tonysyu c7b3f1e84c Merge pull request #98 from tonysyu/thresholding
Add thresholding function using Otsu's method to filter module.
2011-12-18 07:14:38 -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
Tony S Yu 94c89d9020 Add test using big-endian uint16 image. 2011-12-14 21:21:00 -05:00
Tony S Yu abcbe673a9 Add test for reading uint16 image 2011-12-13 10:17:12 -05:00
Tony S Yu 341c2e40be Fix imread regression for int16 images with PIL plugin.
Regression introduced in PR 101.
2011-12-13 09:58:25 -05:00
cgohlke af01a41279 Merged some code paths 2011-12-12 22:04:16 -08:00
Stefan van der Walt 77f68861c6 BUG: Correctly load bi-level images via PIL. 2011-12-12 16:01:04 -08: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
tonysyu 0e551fd40c Merge pull request #91 from stefanv/imshow_plugin_scales
ENH: Use dtype scaling routines in qt and pil plugins.
2011-12-11 14:18:24 -08:00
Tony S Yu d9186c90a1 Remove thresholding subpackage and integrate into filter subpackage. 2011-12-11 17:04:46 -05:00
cgohlke 038db9d1ab Rewrite dtype._convert function 2011-12-11 12:01:33 -08:00
Tony S Yu e7d37997d9 Fix minor typo in docstring example 2011-12-10 19:33:29 -05:00
Tony S Yu 6a6e273d06 Remove thresholding example from user guide in favor of docstring example. 2011-12-09 10:16:23 -05:00
Tony S Yu 5a171a2bfb Remove binarize function 2011-12-08 23:52:10 -05:00
Tony S Yu 10c1f471a0 Change docstring threshold_otsu output 2011-12-08 23:38:51 -05:00
Tony S Yu 9a89fab612 Add handling for images with negative integers 2011-12-08 23:34:08 -05:00
Tony S Yu f3e5a30125 Rename otsu_threshold to threshold_otsu 2011-12-08 23:24:48 -05:00
Tony S Yu fbbe38765d Add thresholding module with Otsu's method to calculate threshold. 2011-12-08 22:58:14 -05:00
Stefan van der Walt 7cd37ae883 Merge pull request #97 from cgohlke/patch-1
BUG: Fix reading 16 bit big-endian images with PIL.
2011-12-08 19:19:59 -08:00
emmanuelle 2f3da9cc8f BUG: greycomatrix, one of the tests was failing for symmetric case
test_glcm.TestGLCM.test_output_symmetric_1 was failing on my computer.
I think this is because np.transpose returns a view when possible,
so P += np.transpose(P) must do weird things.
2011-12-08 21:53:31 +01:00
cgohlke c825548d23 Fix reading 16 bit big-endian images with PIL 2011-12-08 11:29:46 -08:00
Stefan van der Walt 0fa504f320 Merge pull request #90 from stefanv/plugin_load_fix
BUG: Fix selective plugin loading. Also provide a function to inspect the current plugin configuration.
2011-12-05 20:26:55 -08:00
Stefan van der Walt 50b33dbdd6 ENH: Tie imshow and _app_show together. 2011-12-05 17:35:56 -08:00
Stefan van der Walt f6458f18ef ENH: Use dtype scaling routines in qt and pil plugins. 2011-12-05 16:43:24 -08:00
Stefan van der Walt 468b63886b BUG: Fix selective plugin loading. Provide function to inspect current plugin configuration. 2011-12-05 16:28:27 -08:00
cgohlke 9b19bd9afc Workaround 16 bit image to numpy array conversion bug in PIL 2011-12-05 15:57:09 -08:00
cgohlke 9f329286e9 Fix docstring use_plugin example 2011-12-05 12:25:18 -08:00
cgohlke 14c89fefa5 Fix ImportError on Python 3 2011-12-03 15:47:22 -08:00
cgohlke 9133ab932c Fix ImportError on Python 3 2011-12-03 15:46:41 -08:00
cgohlke cd6d97012f Fix ImportError on Python 3 2011-12-03 15:45:40 -08:00
Stefan van der Walt 4bb7be7cf6 BUG: Python 3 fixes. 2011-12-03 14:30:42 -08:00
Stefan van der Walt bf609dfca0 DOC: Fix some scikits.image mentions. 2011-12-02 10:55:41 -08:00
Stefan van der Walt 207079ff1d Merge pull request #82 from zachrahan/find-contours
Add contour finding.
2011-12-01 12:53:55 -08:00
Zach Pincus fbb07734fc Tighten up _find_contours.pyx
Remove some redundant operations in _find_contours.pyx -- will speed
things especially in common case where most pixels DON'T have a contour
nearby.
2011-12-01 12:34:08 -05:00
Stefan van der Walt 62754ef66c STY: Remove unused imports. 2011-11-30 16:00:15 -08:00
Stefan van der Walt 8579ef0183 STY: Clean up docstrings. 2011-11-30 15:56:21 -08:00
Stefan van der Walt 2d4abbaa86 BUG: Import imread from renamed _io module. 2011-11-30 12:28:04 -08:00
Stefan van der Walt c0b3601056 REF: Convert find_contours to Cython. 2011-11-30 12:23:32 -08:00
Stefan van der Walt 053b27e623 ENH: Whitespace cleanup. 2011-11-30 10:56:42 -08:00