Commit Graph

376 Commits

Author SHA1 Message Date
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
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
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
Stefan van der Walt 4760fc3dd4 BUG: Python 3 compatibility fixes by Christoph Gohlke. 2011-03-14 00:27:11 +02:00
Stefan van der Walt b47ae98ffb BUG: Cython build: Open file correctly under Python 3 [patch by Nadav Horesh]. 2011-03-14 00:14:33 +02:00
Stefan van der Walt 8c73f52d18 BUG: Fix mcp tests. 2011-03-13 17:13:48 +02:00
Stefan van der Walt e45b6e0129 BUG: Fix building under Python 3. 2011-03-13 17:13:02 +02:00
Stefan van der Walt 386ad23f55 DOC: Give credit to Lee Kamentsky and Thouis Jones. 2011-03-13 16:30:24 +02:00
Stefan van der Walt 10dd45d01d ENH: Execute median filter without mask array by default. 2011-03-13 16:26:13 +02:00
Stefan van der Walt 2f11eea665 ENH: Clean up whitespace and remove class in ctmf tests. 2011-03-13 15:52:17 +02:00
Stefan van der Walt 056208c534 DOC: Update median_filter doc to numpy format. 2011-03-13 14:50:11 +02:00
Stefan van der Walt bf89088220 ENH: Stylistic changes. 2011-03-13 14:44:02 +02:00
Stefan van der Walt 9d9cce479b ENH: Remove unnecessary C defines. 2011-03-13 14:24:46 +02:00
Stefan van der Walt ac5b70e527 ENH: Allow stand-alone execution of ctmf test suite. 2011-03-13 14:15:18 +02:00
Thouis (Ray) Jones b7f1386b36 Constant time per pixel median filter 2011-03-08 15:34:48 +01:00
Stefan van der Walt 9ff324b0fa Merge branch 'mcp_infinite' of ssh://github.com/zachrahan/scikits.image 2011-02-11 11:53:40 +02:00
Stefan van der Walt 84781fc987 Fix Cython build on Windows [patch by Christoph Gohlke]. 2011-01-28 15:38:43 +02:00
Zachary Pincus 61084612e7 add tests 2011-01-07 08:58:05 -05:00
Zachary Pincus 0994d80d4e allow negative-cost elements 2011-01-07 08:08:54 -05:00
Zachary Pincus 171bd18f80 fix infinite-handling in mcp and precision issues in heap 2011-01-07 08:01:21 -05:00