Commit Graph

1103 Commits

Author SHA1 Message Date
Stefan van der Walt 6cc5503c79 Merge pull request #123 from tonysyu/doc-user-guide-dtypes
DOC: Improve description of image data types in user's guide.
2012-02-05 15:42:34 -08:00
Tony S Yu 303cf3a802 DOC: Improve description of image data types in user's guide. 2012-02-05 16:04:47 -05:00
Stefan van der Walt a17f339b82 BUG: Fix import of harris. 2012-02-05 09:58:30 -08:00
Stefan van der Walt c85ab69064 PKG: Add back version file, but with version unbuilt-dev. 2012-02-05 09:55:23 -08:00
Stefan van der Walt 56331c76ff Merge pull request #121 from tonysyu/dtype-convert-updates
BUG: Clean up dtype conversion

- Fix casting error in numpy dev.
- Assert that float images are in [0, 1], and fix tests to comply.
- Add tests for full coverage.
- Rename _convert to convert since it is used by other modules,
  such as match_template, to convert to "non-standard" types such as
  float32.
2012-02-05 09:42:22 -08:00
Tony S Yu 5ed5c070c7 Fix test: clip image that exceeded float range. 2012-02-05 09:39:40 -08:00
Stefan van der Walt 9be0ad25d8 PKG: Remove version file that should be auto-generated. 2012-02-05 09:27:46 -08:00
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
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