Commit Graph

3708 Commits

Author SHA1 Message Date
tonysyu 46e5f0a04e Merge pull request #120 from stefanv/scivi_rename
PKG: Rename scivi to skivi.
2012-02-05 19:39:51 -08:00
tonysyu 5655f7e3d9 Merge pull request #116 from stefanv/matplotlib_interpolation
ENH: Use nearest neighbor interpolation by default in matplotlib plugin.
2012-02-05 19:26:32 -08:00
Stefan van der Walt 538747746a Merge pull request #107 from tonysyu/rescale-intensity
ENH: Add rescale_intensity function with test and example.
2012-02-05 15:47:18 -08: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
Stefan van der Walt e4a14ee3a3 PKG: Rename scivi to skivi. 2012-02-03 21:18:52 -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 782fbabff3 ENH: Add contrast stretching to histogram equalization example. 2012-02-02 21:18:31 -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 a322c0d676 ENH: When displaying images using matplotlib, use the grey colormap by default. 2012-02-02 17:06:06 -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 f9907ffd21 ENH: Use nearest neighbor interpolation by default in matplotlib plugin. 2012-01-27 17:02:21 -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
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
Tony S Yu f5037203f2 Add rescale_intensity function with test and example. 2011-12-27 11:01:53 -08: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