Commit Graph

423 Commits

Author SHA1 Message Date
andy b3759c8a2f bug: color convertion. make tests arrays float. 2011-09-27 23:38:57 +02:00
andy c1b72ea638 use dtype.img_as_float in _convert for colorspaces.
All conversions are done as matrix multiplications with floats, so this is the only
way not to lose precision.
2011-09-27 21:11:30 +02:00
andy 01723d7f66 pep8 2011-09-27 20:56:12 +02:00
Stefan van der Walt 0b7df2626a ENH: Add img_as_ubyte. 2011-09-27 01:16:35 -07:00
Stefan van der Walt 5ec5c55b1a BUG: Fix typo in dtype converter integer list. 2011-09-26 17:12:14 -07:00
Stefan van der Walt edfb8262ba DOC: Fix dtype converter docstring typos. 2011-09-26 16:56:09 -07:00
Stefan van der Walt dff2ee74b0 ENH: Add dtype converters. 2011-09-26 16:34:00 -07:00
Stefan van der Walt b0798eb55f ENH: Minor setup.py cleanups. 2011-09-26 11:01:52 -07:00
Stefan van der Walt 8da0ea52c0 ENH: Minor clean ups of data loader. 2011-09-25 15:15:07 -07:00
andy 41ed86d49b Convenience functions to load example images. 2011-09-25 15:04:51 -07:00
Stefan van der Walt 42ca806112 Merge Emmanuelle's work on documentation examples / build. 2011-09-24 14:48:04 -07:00
Stefan van der Walt 3b1fb71ce9 ENH: Expose data module. Currently just provides scipy's lena in a more convenient location. 2011-09-24 13:21:44 -07:00
Stefan van der Walt 5ba4ebf30b ENH: Rename sat and sat_sum to be in-line with CV community convention. 2011-09-20 08:43:54 -07:00
Stefan van der Walt b2be624de1 DOC: Update sat docs after feedback from Brian Holt. 2011-09-18 14:20:38 -07:00
Stefan van der Walt b56c370dfa Add summed area table, using Nicolas Pinto's suggestion for a pure
Python implementation.
2011-09-18 09:28:21 -07:00
Stefan van der Walt bcd7069b7b Merge pull request #17 from emmanuelle/change_repo_name
Update config files with new repo location. Update build instructions for windows.
2011-08-29 13:20:39 -07:00
Gael varoquaux 372266601d MISC: Clean ups in TV 2011-08-29 21:31:27 +02:00
Emmanuelle Gouillart 805be0ab3f Name of new github repository in setup.py of submodules 2011-08-29 20:55:00 +02:00
Stefan van der Walt fa422d5084 Correctly detect missing FreeImage. 2011-08-24 03:54:22 -07:00
Stefan van der Walt ae2b253289 Use absolute path for scikits.image.data_dir. 2011-08-20 21:34:54 -07:00
Tony S Yu 8f0f253aeb Fix docstring so Sphinx doesn't complain about indentation.
Same indentation fix in 3 places, but only one warning fixed because 2 of the fixes are private functions.
2011-07-18 01:08:23 -04:00
Stefan van der Walt b24f2a099c Merge Neil's fixes, including those for py3k. 2011-07-16 17:25:42 -05:00
Neil a595f267fd Remove as_grey from plugins 2011-07-17 00:21:43 +02:00
Neil 435a2dab55 Revert "Pass as_grey to the imread plugins"
This reverts commit 8f16ca1242, as the
as_grey keyword should disappear from the plugins.
2011-07-17 00:14:09 +02:00
James Turner f049cfc12a Warn user when Cython can't be imported 2011-07-16 16:41:30 -05:00
Neil b5c85b6eb8 Don't rely on pil for plugin_priority test. Skip test if neither pil or freeimage are available 2011-07-16 23:01:42 +02:00
Neil e7a69bbfc5 Skip pil_plugin tests if PIL isn't available 2011-07-16 22:14:00 +02:00
Neil 8f16ca1242 Pass as_grey to the imread plugins 2011-07-16 21:55:57 +02:00
Neil 8ceb250bee Return correct type for as_grey with freeimage 2011-07-16 21:53:30 +02:00
Neil 26402a7e67 Replace old raise form 2011-07-16 19:01:15 +02:00
Neil 1a48914811 Remove temporary files 2011-07-16 19:01:15 +02:00
Neil 2409bbce9f Only call MultiImage if PIL is available to ensure nose handles this case properly 2011-07-16 19:01:15 +02:00
Neil f64ddb1fd1 replace TemporaryFile with NamedTemporaryFile, for compatability with later python versions 2011-07-16 19:01:15 +02:00
Neil 12c1829b78 Fix logic error in _load_library 2011-07-16 19:01:15 +02:00
Neil fc17f50d8b Rework exception handling logic in freeimage_plugin.py 2011-07-16 19:01:15 +02:00
Neil d061967cdb Convert from CRLF line endings 2011-07-16 19:01:15 +02:00
Neil 319081d874 Remove outdated reference to 'load_plugins' 2011-07-16 19:01:15 +02:00
Stefan van der Walt a55d426d49 DOC: Update hough docstring. 2011-07-16 11:13:00 -05:00
Stefan van der Walt 39e81a72a8 DOC: Add missing space. 2011-07-15 17:46:00 -05:00
Stefan van der Walt 7eed21194a TST: Test both Cython and Python versions of the hough tf. 2011-07-15 17:45:51 -05:00
Martin Bergtholdt 2f0d63955e BUG: Windows does not have round in math.h 2011-07-15 15:06:28 -05:00
Stefan van der Walt b8149aca1b _hough_transform: Type fix. 2011-07-10 14:28:38 -07:00
Stefan van der Walt b32bd12e16 Allow test_sift to be ran independently. 2011-07-10 14:03:07 -07:00
Tony S Yu 8c0d798896 Reorder eps and weight keyword args to tv_denoise 2011-06-23 11:15:31 -04:00
Tony S Yu 680a89e5ce Make test_tv_denoise_2d more strict.
Original test only checked that tv_denoise reduced the total variation. This change makes sure that the reduction is significant.
2011-05-31 15:50:09 -04:00
Tony S Yu 637a568ae4 Fix order of keyword arguments to _tv_denoise_2d.
tv_denoise passes keyword arguments `eps` and `weight` as positional arguments, but the order in _tv_denoise_2d was switched.
2011-05-31 15:46:02 -04:00
Tony S Yu 65021f481c Remove print statements 2011-05-31 15:40:48 -04:00
Stefan van der Walt 76cfe181fb Merge Dan Farmer's Windows platform updates to the NumPy ctypes library loader. 2011-05-31 13:01:53 +02:00
Emmanuelle Gouillart a0f7eb51cd documented the input dtype in tv_denoise 2011-05-30 23:11:04 +02:00
Emmanuelle Gouillart edbb4dcc48 Moved the tests of tv_denoise to filter/tests 2011-05-30 22:55:38 +02:00