Commit Graph

5928 Commits

Author SHA1 Message Date
Stefan van der Walt b32bd12e16 Allow test_sift to be ran independently. 2011-07-10 14:03:07 -07:00
Stefan van der Walt 0379e52a7a Merge Tony Yu's tv denoise fixes. 2011-07-10 13:52:14 -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 06b0ddab67 DOC: Update contributors. 2011-05-31 13:03:03 +02: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
Stefan van der Walt ceb2e419c3 DOC: Update contributors. 2011-05-31 12:50:21 +02:00
Stefan van der Walt 2d4fc6e480 Merge remote-tracking branch 'emmanuelle/tv_denoise' 2011-05-31 12:48:18 +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 cef53c172d Merge branches 'holtzhau_edge_filters' and 'ccomp'. 2011-04-19 15:06:49 +02:00
Stefan van der Walt 887ca31399 DOC: Add Pieter Holtzhausen as a contributor. 2011-04-19 14:58:43 +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 924451f48b Update Chris's contribution. 2011-04-08 19:09:19 +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
Stefan van der Walt 97806c76f4 DOC: Add Dan Farmer as contributor. 2011-04-07 15:08:22 +02:00
Stefan van der Walt f66043c95f Merge remote branch 'dfarmer/dfarmer-filters-canny' 2011-04-07 15:06:44 +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
Stefan van der Walt 97c2a71f4b DOC: Update tasks. 2011-04-05 18:09:19 +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 05f0015867 BUG: Fix sed in docs build script. 2011-03-15 01:54:20 +02:00
Stefan van der Walt 8f8726f0a6 DOC: Update tasks. 2011-03-15 01:46:14 +02: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
Stefan van der Walt 694fe204cd BUG: Do not break on import if PIL isn't available. 2011-03-14 17:09:05 +02:00
Stefan van der Walt 082ff69549 BUG: More Python3 fixes by Christoph Gohlke. 2011-03-14 17:06:22 +02:00