Commit Graph

1092 Commits

Author SHA1 Message Date
Tony S Yu 0dcd5dc38e ENH: Check that float images are between 0 and 1. 2012-02-03 17:36:06 -05:00
Tony S Yu 74b0f41e15 ENH: Add tests for full coverage.
The extra dtype tests are not exhaustive, but, instead, were added to test specific code paths in `_convert`.
2012-02-03 16:25:11 -05:00
Tony S Yu 078ed488c8 Fix casting error when converting from int8 to uint16.
This error only comes up in development versions of numpy, which refuses to cast the input to the correct type for inplace operations.
2012-02-03 15:46:43 -05: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
Stefan van der Walt 5c71545aa4 Merge pull request #110 from tonysyu/peak-detection
ENH: Add peak detection.
2012-02-02 20:18:49 -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 5999c7ed01 Merge pull request #118 from 'zachrahan-freeimage-new-metadata'
ENH: Add metadata reading functions.
2012-02-02 17:00:35 -08: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 3725f44460 Merge pull request #115 from stefanv/edges_float_conversion
BUG: Edge detection routines returned images with invalid ranges [0-255] but dtype float.
2012-01-27 15:32:17 -08: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
Stefan van der Walt 570e5cf4bb DOC: Ignore random.js generated file. 2012-01-26 17:51:07 -08:00
Stefan van der Walt b3cc37ce6b DOC: Generate correct link to gallery and build javascript before gh-pages upload. 2012-01-26 17:49:57 -08:00
Stefan van der Walt 945f85cf64 DOC: Add script to randomly link to a gallery image. 2012-01-26 17:06:16 -08:00
emmanuelle a438cddca7 Merge branch 'random_walker' 2012-01-23 19:49:39 +01: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
Stefan van der Walt aa82ba4010 BUG: Fix OpenCV array conversion in video loader. 2012-01-09 10:20:38 -08:00
Pieter Holtzhausen 0aaa6aecf6 Fixed opencv reversion to using cv.fromarray, fixed numpy datatype. 2012-01-09 10:19:38 -08:00
tonysyu edf0cf56bd Merge pull request #108 from WarrenWeckesser/ph-doc-fix
DOC: fix probabilistic_hough docstring
2012-01-08 15:21:01 -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
Nelle Varoquaux 7285cbe296 Added Gaël Varoquaux to the corner detector contributors 2012-01-05 18:20:39 +01:00
Stefan van der Walt 111a3c1584 DOC: Better x-axis labelling of PR plot. 2011-12-26 09:15:47 -08:00
Stefan van der Walt e6224d939f DOC: Add script to plot GitHub pull-request activity. 2011-12-26 06:25:27 -08:00
Stefan van der Walt 92fe9d0d07 DOC: Display thresholding example with gray colormap. 2011-12-26 02:12:34 -08:00
Stefan van der Walt 7fd7d297be Merge branch 'tony-exposure' 2011-12-26 02:03:27 -08:00
Stefan van der Walt 4e054fce7c DOC: Move around plot statements so that all axes are labeled. 2011-12-26 02:01:08 -08:00
Stefan van der Walt 19fa34f269 DOC: Rename equalize example to match function name. 2011-12-26 01:55:00 -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
Stefan van der Walt 60f146c780 DOC: Update contributors. 2011-12-26 01:53:37 -08:00
Nelle Varoquaux 3c2988b4bc small fixes on the Harris' documentation: added capital letters where needed 2011-12-25 09:54:47 +01:00