Commit Graph

7847 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
Panfilov Egor 2d20d4ad39 Merge pull request #1901 from OrkoHunter/test_match_fix_lena
Use astronaut instead of lena in test_match
2016-01-24 16:45:46 +03: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
Stefan van der Walt 93d68d879f Merge pull request #1893 from OrkoHunter/test_thresholding_lena
Remove duplicate threshold functionality test
2016-01-21 11:11:22 -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
Panfilov Egor ce4bc59c11 Merge pull request #1885 from OrkoHunter/find_available_plugins
DOC : Update plugins page
2016-01-20 17:20:48 +03:00
Himanshu Mishra a7bcee2694 Update plugins doc page 2016-01-20 15:27:41 +05:30
Emmanuelle Gouillart 9050a52acb Merge pull request #1883 from soupault/credits_pr1804
DOC: Add credits for #1804
2016-01-18 21:16:22 +01:00
Egor Panfilov f1abc51f85 DOC: Added credits for #1804 2016-01-18 09:07:42 +03: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
Juan Nunez-Iglesias b7fa0acd86 Merge pull request #1876 from OrkoHunter/threshold_otsu_grayscale
Show warnings for input image type in threshold_otsu
2016-01-18 10:38:17 +11:00
Panfilov Egor f08ddcdf5d Merge pull request #1880 from OrkoHunter/fix_doc
Fix circular mask example in the user_guide
2016-01-17 10:25:41 +03:00
Egor Panfilov 3ae2f1236b TST, DOC: Added test for 3D spatial data, cleaned up gallery example 2016-01-16 20:02:24 +03:00
Himanshu Mishra b4bf4ed768 Fix circular mask example in the user_guide 2016-01-16 10:47:09 +05:30
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
Juan Nunez-Iglesias 9c93816dd8 Merge pull request #1495 from vighneshbirodkar/edge_rag
Region boundary based RAGs
2016-01-11 11:13:35 +11: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
Vighnesh Birodkar 79c9637e11 Merge pull request #1 from jni/edge-rag-fixup
Edge rag modifications
2016-01-08 13:30:57 -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