Commit Graph

142 Commits

Author SHA1 Message Date
tonysyu 118cd49c18 Merge pull request #105 from stefanv/label_cleanup
ENH: Allow choice between 4 and 8 neighbor mode.  Improve documentation.
2012-02-03 21:12:47 -08:00
Stefan van der Walt e18fb678ec ENH: Cleanups as suggested by Tony. 2012-02-03 20:31:02 -08:00
Stefan van der Walt cfc1dfa16b Merge pull request #99 from cgohlke/patch-2
ENH: More efficient dtype conversion.
2012-02-02 20:24:16 -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 8bb8d93552 Use ndimage.maximum_filter to simplify peak detection.
This change should give identitical results to the previous implementation.
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 5c5de01523 STY: Whitespace cleanup freeimage patch. 2012-02-02 16:56:54 -08:00
Zach Pincus 12e67e781e ENH: Clarify FreeImage IO flags, improve tests, and fix documentation 2012-02-02 11:05:27 -05:00
Zach Pincus a4c986b02f DOC: Fix read_multipage docstring 2012-02-01 22:57:44 -05:00
Zach Pincus b5dce45446 ENH: Add metadata reading functions
Required small refactoring of file IO to provide a saner interface.
2012-02-01 22:48:01 -05:00
zachrahan 3a1641f799 Merge pull request #117 from zachrahan/freeimage-library_loader
ENH: Make FreeImage library-loading more robust and provide better errors
2012-02-01 10:43:44 -08:00
Zach Pincus 960ca18b71 Fix indentation error 2012-02-01 13:41:41 -05:00
Stefan van der Walt ec6ed76a8d Merge pull request #112 from zachrahan/freeimage-64-bit-cleanup
BUG: 64-bit fixes for FreeImage (and preventative maintenance).
2012-02-01 01:50:56 -08:00
Zach Pincus 273e8ffc04 Make library-loading more robust and provide better errors 2012-01-31 15:04:31 -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
emmanuelle 46d330591f ENH Tony's comments on random walker 2012-01-23 19:47:16 +01:00
Zach Pincus 981775d137 Clean up void-pointer handling to clarify intent and fix multipage 64-bit bugs 2012-01-22 18:34:28 -05:00
emmanuelle 6559b8f31d ENH Removed unused argument in random_walker_segmentation 2012-01-21 12:34:34 +01:00
emmanuelle 528187c2b0 ENH: addressed Tony's comments (renaming of functions, doc) 2012-01-21 11:43:53 +01:00
emmanuelle b9d6090c5e Cross-See also in watershed and random walker 2012-01-17 22:17:15 +01:00
emmanuelle 09e3a43f58 More explanations about the algorithm
Also: removed copyright
      changed module name
2012-01-17 21:32:08 +01:00
emmanuelle 1cf2da0399 __init__.py in segmentation submodule 2012-01-15 17:28:40 +01:00
emmanuelle d1e608bfe9 Random walker algo for segmentation + example 2012-01-15 17:22:59 +01:00
tonysyu 23d0bc5bc0 Merge pull request #106 from NelleV/harris_corner_detection
Harris corner detection
2012-01-09 17:38:00 -08:00
Pieter Holtzhausen 0aaa6aecf6 Fixed opencv reversion to using cv.fromarray, fixed numpy datatype. 2012-01-09 10:19:38 -08:00
Warren Weckesser 69444305e8 DOC: fix probabilistic_hough docstring--use correct keyword arg in the docstring, plus a few spacing tweaks. 2012-01-08 16:52:39 -06:00
Stefan van der Walt 7fd7d297be Merge branch 'tony-exposure' 2011-12-26 02:03:27 -08:00
Stefan van der Walt d74295c7f1 DOC: Explain why bincount is used to histogram integer arrays. 2011-12-26 01:53:59 -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 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