Commit Graph
183 Commits
Author SHA1 Message Date
Nicolas Pinto cae47eda18 STY: fix typos 2012-02-13 09:37:44 -05:00
Nicolas Pinto 96f5d14000 FIX: revert version.py 2012-02-12 15:06:58 -05:00
Nicolas Pinto c1c954e19d STY: pep8 in util.shape + its tests 2012-02-12 14:59:58 -05:00
Nicolas Pinto 1108bd892e ENH: move 'util.array_views' to 'util.shape' 2012-02-12 14:59:06 -05:00
Nicolas Poilvert 93cd71553e make doctests pass with nose 2012-02-12 12:52:01 -05:00
Nicolas Poilvert 41a259ee26 simplifying code for clarity and modifying tests 2012-02-12 12:24:09 -05:00
Nicolas Poilvert 39a487834c more tests on rolling views 2012-02-12 01:06:47 -05:00
Nicolas Poilvert b4a1bf18ba remove empty line in __init__ 2012-02-12 00:10:40 -05:00
Nicolas Poilvert da707a78ed initial push of array view codes. tests for block views 2012-02-12 00:09:49 -05:00
Stefan van der Walt b127f60533 STY: Whitespace cleanup. 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt f2321d0441 STY: Clarify logic of code for FreeImage loading. 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt 6a31ea8508 BUG: Make it work actually... 2012-02-10 15:36:11 -08:00
Zach PincusandStefan van der Walt 99ac9e44ff ENH: load libfreeimage based on case-insensitive libname prefixes 2012-02-10 15:36:11 -08:00
Stefan van der Walt 5d276146ee BUG: Fix FreeImage tests. 2012-02-10 15:34:26 -08:00
tonysyu 12ac179d26 Merge pull request #130 from stefanv/grey2rgb
ENH: Add grey2rgb.
2012-02-09 20:55:20 -08:00
Stefan van der Walt 9c7752eecf DOC: Fix outdated docstring. 2012-02-09 20:45:23 -08:00
Stefan van der Walt 36b37e960f Merge pull request #129 from tonysyu/minor-build-fixes
PKG: Minor fixes to build process.
2012-02-08 20:12:28 -08:00
Stefan van der Walt f4330db90d ENH: Add grey2rgb. 2012-02-08 19:58:26 -08:00
Stefan van der Walt ec8f62ef5f ENH: Fix dtype conversion before hsv2rgb and rgb2hsv. 2012-02-08 19:56:00 -08:00
Tony S Yu 0deba46d26 Minor fixes to build process.
* Fix name error when running setup.py from within main package.

* Change `make clean` so that it removes hash files.

* Remove unused import.
2012-02-08 22:38:46 -05:00
Stefan van der Walt 5c9c8c1867 DOC: Fix Other Parameters section. 2012-02-08 13:07:37 -08:00
Stefan van der Walt 2fcbfd809e DOC: Expand on Tony's module summary. 2012-02-08 01:21:36 -08:00
Stefan van der Walt 295c4540ec Merge pull request #127 from tonysyu/module-docstrings
DOC: Add description of subpackages to package docstring.
2012-02-08 01:03:53 -08:00
K.-Michael Aye 7efb0988b0 Fixed 2 typos and 2 wrong argument types in the docs. 2012-02-07 17:21:36 +01:00
Tony S Yu 06acc5aab8 DOC: Add description of subpackages to package docstring. 2012-02-06 23:50:59 -05:00
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 YuandStefan van der Walt 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