Commit Graph

1443 Commits

Author SHA1 Message Date
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
Tony S Yu 8941798daf DOC: emphasize annotation in histogram. 2011-12-18 10:10:00 -05:00
Tony S Yu 1e12ca0044 Improve thresholding example 2011-12-18 09:31:10 -05:00
Tony S Yu 8ed834a3ab Add example for threshoding
This example was removed in a previous commit.
2011-12-17 22:02:10 -05:00
Stefan van der Walt 0ae507d9d5 DOC: Add Emmanuelle's SciPy India segmentation tutorial. 2011-12-17 01:34:36 -08:00
Stefan van der Walt 9ee513ca10 DOC: Add index of tutorials to user guide. 2011-12-17 01:30:35 -08:00
Stefan van der Walt ce27120134 Merge pull request #104 from tonysyu/pil-big-endian
ENH: Add test using big-endian uint16 image.
2011-12-17 00:08:26 -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
emmanuelle 1bb446e7d0 Merge pull request #1 from tonysyu/scipy_india
Merge Tony's improvements on segmentation tutorial
2011-12-16 12:25:42 -08:00
Tony S Yu 94c89d9020 Add test using big-endian uint16 image. 2011-12-14 21:21:00 -05:00
Stefan van der Walt 6cd01885d3 Merge pull request #102 from tonysyu/pil-big-endian
BUG: Fix PIL big endian regression.
2011-12-13 12:57:06 -08: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
tonysyu 497b327be8 Merge pull request #101 from stefanv/pil_bilevel_png
BUG: Correctly load bi-level images via PIL.
2011-12-12 17:00:28 -08:00
Stefan van der Walt 77f68861c6 BUG: Correctly load bi-level images via PIL. 2011-12-12 16:01:04 -08:00
Stefan van der Walt f020edc5e6 Ignore auto examples. 2011-12-12 15:58:27 -08:00
Stefan van der Walt c0fd4a19da DOC: Update 0.4 release notes (wrong gallery url). 2011-12-12 15:58:27 -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
Tony S Yu 1fb89aff0f Minor changes in wording. 2011-12-11 18:07:43 -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 6872e9cdf3 Add thresholding example 2011-12-09 00:13:49 -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
Stefan van der Walt a635c23797 Merge pull request #96 from emmanuelle/glcm
BUG: greycomatrix, one of the tests was failing for symmetric case.
2011-12-08 16:24:08 -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
emmanuelle 4e3895b44b ENH contours of segmentation in segmentation tutorial 2011-12-08 11:04:34 +01:00
emmanuelle d5994c6715 Short tutorial on segmentation for the user guide +
example on the same subject used to generate the figures
2011-12-07 20:57:29 +01:00
Stefan van der Walt 1aec5f045b DOC: Update Cython dependency. 2011-12-06 19:21:03 -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