Commit Graph

410 Commits

Author SHA1 Message Date
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
Emmanuelle Gouillart 13d1a3d111 New module for total variation denoising, for 2D and 3D arrays. 2011-05-28 14:55:01 +02:00
Dan Farmer 0f438564c9 Remove debugging text 2011-05-20 16:11:40 -07:00
Dan Farmer c8533488b9 Fix more indentation errors 2011-05-20 16:04:05 -07:00
Dan Farmer 59425666d0 Fix indentation error that broke linux support 2011-05-20 15:54:00 -07:00
Dan Farmer bff3cc9e28 Modified load_library for windll 2011-05-19 22:43:33 -07:00
Stefan van der Walt c8059960d4 Merge remote branch 'zach/FreeImage64' 2011-05-17 19:26:17 +02:00
Stefan van der Walt f09c1208e7 ENH: graph: Fix typo. 2011-05-17 19:24:05 +02:00
Zach Pincus c2664f087e Fixed (?) segfaults on 64-bit platforms
This bug was caused by the fact that ctypes silently converts returned
c_void_p instances into python int values, even if the restype of a function
is c_void_p. Then, without explicit argtypes (which this module doesn't use,
out of laziness on my part), python ints passed to functions are treated as
32-bit ints.

Solution: explicitly wrap returned pointers as c_void_p, so that they'll get
treated right when passed back to C. No more segfaults!

I also reverted the _wrap_bitmap_bits_in_array code to what I wrote, as I
can vouch for that on 64-bit, whereas the other version had a "still crashes"
note...
2011-05-09 11:52:35 -04:00
Zach Pincus 340d92c711 Fix memory leak due to not properly using __cinit__ in heap classes 2011-05-09 10:04:32 -04:00
Stefan van der Walt 430821a910 BUG: Correctly convolve integer and floating point arrays. 2011-04-19 17:44:50 +02:00
Stefan van der Walt cbb84d5588 ENH: Minor clean-ups to edge-detection patch. 2011-04-19 14:57:11 +02:00
Pieter Holtzhausen f3dd496d1f Fixed PEP8 and added numpy documentation. 2011-04-18 12:07:27 +02:00
Pieter Holtzhausen 8a35b3f950 Added CellProfiler sobel and prewitt functions. 2011-04-18 00:17:48 +02:00