Commit Graph

4889 Commits

Author SHA1 Message Date
Juan Nunez-Iglesias d199ab2dc6 Merge pull request #1839 from grlee77/nd_denoise_tv
replace separate 2D and 3D Chambolle TV denoising functions with a single nD function
2016-01-25 13:36:15 +11:00
Gregory R. Lee 682f0895e7 TST: add test for constent TV weighting across number of image dimensions for Chambolle algorithm 2016-01-24 12:27:10 -05:00
Himanshu Mishra 0b285100a4 Use astronaut instead of lena in test_match 2016-01-24 16:24:45 +05:30
Gregory R. Lee 53742be9c6 fix axis bug in multichannel case and add a corresponding test 2016-01-24 02:24:37 -05:00
Gregory R. Lee a30592a22a MAINT: explicitly specify axis argument 2016-01-23 11:23:21 -05:00
Gregory R. Lee e6a1a19337 update default weight to reflect the bugfix from hardcoded 0.5 to 1/(2*ndim)
use the default weight in all the tests as well.
2016-01-23 11:01:48 -05:00
Gregory R. Lee dd5a708a33 minor bugfix so that weight gives a consistent amount of smoothing regardless of the number of dimensions.
As in the original reference, the stepsize should be in both the numerator and denominator of p.
2016-01-23 11:01:15 -05:00
Gregory R. Lee 9f419024ad Switch _denoise_tv_chambolle to use C-ordering 2016-01-23 10:59:33 -05:00
Gregory R. Lee 4a8a2189f2 use Fortran order for g and p in _denoise_chambolle_nd to avoid a performance regression 2016-01-23 10:59:32 -05:00
Gregory R. Lee 4bc4f0a169 remove try/except in _denoise_chambolle_nd. just use the numpy 1.6 compatible case 2016-01-23 10:59:32 -05:00
Gregory R. Lee 4a0ad77780 update tests for denoise_tv_chambolle 2016-01-23 10:59:32 -05:00
Gregory R. Lee c2b86d8a02 fix numpy 1.6 compatibility 2016-01-23 10:59:32 -05:00
Gregory R. Lee 2d326a464e ENH: n-dimensional refactor of TV denoising.
_denoise_tv_chambolle_2d and _denoise_tv_chambolle_3d are replaced by _denoise_tv_chambolle_nd

The restriction to 2D and 3D in denoies_tv_chambolle was removed.
2016-01-23 10:59:32 -05:00
Stefan van der Walt b9c951335a Merge pull request #1887 from ahojnnes/rot-fix
Fix rotation with resizing and custom center
2016-01-22 08:58:04 -08:00
Stefan van der Walt dfc6b3a893 Merge pull request #1888 from ahojnnes/hessian-matrix-fix
Fix Gaussian kernels in hessian_matrix
2016-01-22 08:56:50 -08:00
Johannes Schönberger 7222d1fb93 Fix hessian_matrix doctest 2016-01-22 09:00:37 +01:00
Stefan van der Walt 699c345237 Merge pull request #1891 from OrkoHunter/test_brief_lena
Do not use lena in test_brief.py
2016-01-21 11:16:27 -08:00
Stefan van der Walt 2fafef17fe Merge pull request #1892 from OrkoHunter/test_corner_lena
Remove use of lena in test_corner.py
2016-01-21 11:15:15 -08:00
Himanshu Mishra c41376c60e Remove test_otsu_lena_image 2016-01-21 23:36:30 +05:30
Himanshu Mishra a4ceabb1ff Remove use of lena in test_corner.py 2016-01-21 23:29:10 +05:30
Himanshu Mishra 795a9f64de Do not use lena in test_brief.py 2016-01-21 23:13:20 +05:30
Johannes Schönberger 6fd0cecffd Fix Gaussian kernels in hessian_matrix 2016-01-20 22:11:23 +01:00
Johannes Schönberger 3edce08eb5 Fix rotation with resizing and custom center 2016-01-20 21:52:06 +01:00
Josh Warner f2d9cf4d59 Merge pull request #1877 from OrkoHunter/test_hog_lena_deprecate
TST: Use Astronaut in place of Lena in test_hog.py
2016-01-17 21:09:02 -07:00
Juan Nunez-Iglesias e53d7daaa3 Merge pull request #1804 from soupault/inpainting
ENH: Inpainting with biharmonic equation
2016-01-18 10:56:24 +11:00
Egor Panfilov 3ae2f1236b TST, DOC: Added test for 3D spatial data, cleaned up gallery example 2016-01-16 20:02:24 +03:00
Egor Panfilov 98fec5211a FIX: Returned handle for empty input arrays 2016-01-15 20:04:08 +03:00
Egor Panfilov 893d937491 ENH: Moved nested functions, refactor code 2016-01-15 13:59:32 +03:00
Himanshu Mishra a2d75de834 Add expected_warnings to the tests using threshold_otsu 2016-01-15 10:34:26 +05:30
Himanshu Mishra 296438d08e Raise a warning if the image is not grayscale 2016-01-15 10:06:43 +05:30
Himanshu Mishra 421ef45b42 Use astronaut image instead of lena in test_hog.py 2016-01-14 23:42:52 +05:30
Himanshu Mishra f034081650 Document the input image type 2016-01-14 13:49:17 +05:30
Stefan van der Walt 2487681272 Merge pull request #1866 from sergiopasra/deprecate-lena
Add deprecation warning to `data.lena`
2016-01-13 06:45:49 -08:00
Sergio Pascual 49eb2f3a54 Suggest 'skimage.data.astronaut' as alternative test image 2016-01-13 11:10:13 +01:00
Vighnesh Birodkar 22bf68d9b4 removed failing doctest line 2016-01-08 21:49:01 -05:00
Vighnesh Birodkar 753c8caf4e correct variable name mistake 2016-01-08 14:11:56 -05:00
Juan Nunez-Iglesias 802214d5ac Hold pixel count in mean boundary RAG edges
This value is needed to combine edges when merging nodes.
2016-01-08 22:11:31 +11:00
Juan Nunez-Iglesias 30145ab7f4 Use function to update graph edges from CSR 2016-01-08 22:10:20 +11:00
Juan Nunez-Iglesias f9dfa1d81d Make mean boundary RAG testing more robust 2016-01-08 17:25:10 +11:00
Sergio Pascual c6c8ff9359 Add deprecation warning to 'data.lena()' 2016-01-08 00:05:45 +01:00
Vighnesh Birodkar ea18fcb99b use as strided 2016-01-06 16:23:43 -05:00
Vighnesh Birodkar a5f6db59cb doc example 2016-01-06 15:42:10 -05:00
Vighnesh Birodkar 422dfc6c22 cleanup 2016-01-06 15:17:48 -05:00
Vighnesh Birodkar e8f2805d64 changed to eosion/dilation logic 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar a95c0bdddc passing selem argument 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar 4c05e65670 changed logic to use erosion/dilation 2016-01-06 15:07:35 -05:00
Vighnesh Birodkar caba3041d1 indentation correction 2016-01-06 15:06:18 -05:00
Vighnesh Birodkar 1769cdddcf added boundary rag construction 2016-01-06 15:06:18 -05:00
Emmanuelle Gouillart 8f2839e1b3 Merge pull request #1747 from JGoutin/OptimizeLevel2Compilation-patch
Import fail if python is running with -OO
2015-12-30 23:14:03 +01:00
Emmanuelle Gouillart 33a2182e06 Merge pull request #1705 from deledalle/ref_nlmeans
DOC : add ref to nlmeans
2015-12-30 22:06:19 +01:00