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 and Stefan van der Walt
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 and 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
Stefan van der Walt
6156182600
Merge branch 'ccomp'
2011-04-11 10:43:54 +02:00
Stefan van der Walt
7833aceb5e
DOC: morphology: Document connectivity in ccomp.
2011-04-11 10:38:05 +02:00
Stefan van der Walt
8d74f9cc5f
BUG: Import PIL.Image correctly. Skip tests if not available.
2011-04-11 08:53:26 +02:00
Stefan van der Walt
520c54f5ec
ENH: Add faster numpy hough version as well as a Cython version. Add appropriate setup.py files to build the Cython module. Fix hough tests.
...
Conflicts:
scikits/image/setup.py
scikits/image/transform/hough_transform.py
scikits/image/transform/tests/test_hough_transform.py
2011-04-08 19:07:58 +02:00
Dan Farmer
5264e9d1d4
Fix docstrings and one more pep8 issue
2011-04-06 22:11:17 -07:00
Stefan van der Walt
f6f14ad290
ENH: morphology: Add connected components labelling.
2011-04-05 23:12:21 +02:00
Dan Farmer
e60d38892e
Converted logical ops to bitwise ops and made cosmetic changes wrt pep8 compliance
2011-04-04 22:48:40 -07:00
Dan Farmer
1ce0936e3d
Update docs and convert convolution to ndimage sobel function
2011-04-04 21:33:44 -07:00
Dan Farmer
58b632a536
Remove smooth.py for now
2011-04-01 21:35:21 -07:00
Dan Farmer
2961147e27
Format for pep8 compliance, improve documentation, and make mask optional.
2011-03-31 22:42:13 -07:00
Dan Farmer
22f983ce17
Add init entry so importing works right
2011-03-30 14:20:21 -07:00
Dan Farmer
6905ed25b4
Merge Cell Profiler Canny edge detector
2011-03-26 07:39:56 -07:00
Stefan van der Walt
71631bfca4
ENH: Also scan /home/stefan/lib for freeimage.so.
2011-03-15 01:23:51 +02:00
Stefan van der Walt
0fb8156760
BUG: Do not rely on PIL by default.
2011-03-15 01:16:03 +02:00
Stefan van der Walt
eab0bd6478
BUG: Fix filename handling under Python 3.
2011-03-15 00:59:58 +02:00