Commit Graph

96 Commits

Author SHA1 Message Date
Stefan van der Walt 4df36631f6 BUG: Dispatch threads to process entire image. 2011-12-20 00:18:17 -08: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 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
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
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
Stefan van der Walt bea1b751d2 BUG: Import find_contours from correct location. 2011-11-30 10:55:40 -08:00
Zach Pincus 1cb10a5bd9 add _find_contours.c 2011-11-30 13:16:40 -05:00
Neil Yager 7df8486231 Update to docstring 2011-11-28 11:22:31 +00:00
Zach Pincus 077a080389 Move to measure submodule
Code moved to new "measure" submodule and another test and better
documentation added.
2011-11-27 17:05:27 -05:00
Zach Pincus 3e9945cf93 Make it work
bug fixes to make it install
2011-11-26 00:36:36 -05:00
Zach Pincus 51d643c527 Add contour-finding
Bring some old code for "marching-squares" contour-finding into
skimage. Only one crummy test and c code may not be up to style
standards...
2011-11-26 00:23:03 -05:00
Neil Yager 7a191d8d20 Long lines, remove doctest, division by zero, data type ranges 2011-11-23 11:23:03 +00:00
Neil Yager 67b408a3fc BUG: Fixed warning suppression error 2011-11-22 11:55:40 +00:00
Neil Yager 830c6b650b ENH: Address division by zero errors 2011-11-22 11:48:51 +00:00
Neil Yager 0597cec006 BUG: Fix typo and docstrng 2011-11-21 10:06:59 +00:00
Neil Yager ab780b1ecd ENH: Updates based on review comments 2011-11-21 09:51:20 +00:00
Neil Yager 1d540c2b56 BUG: Make sure image array is contiguous 2011-11-21 09:51:20 +00:00
Neil Yager 80a83c182f ENH: Use Cython to compute GLCM 2011-11-21 09:51:20 +00:00