Commit Graph
4901 Commits
Author SHA1 Message Date
Antony LeeandJohannes Schönberger bd2ecff62f WIP: fix impl. of peak_local_max, update tests. 2016-01-29 09:26:12 +01:00
Antony LeeandJohannes Schönberger 58283e7bd5 Change default min_distance; improve docstring. 2016-01-29 09:26:12 +01:00
Antony LeeandJohannes Schönberger f3771aba7e Saner defaults for peak_local_max, untested.
First attempt at fixing #1246.
2016-01-29 09:26:12 +01:00
Juan Nunez-Iglesias aae7f2b615 Merge pull request #1907 from OrkoHunter/threshold_adaptive_block_size
Modify threshold_adaptive
2016-01-26 10:26:56 +11:00
Juan Nunez-Iglesias f3a98250ad Merge pull request #1903 from OrkoHunter/threshold_otsu_min_color
threshold_otsu can't work with one color images
2016-01-26 10:05:09 +11:00
Josh Warner e6f66a2691 Merge pull request #1902 from OrkoHunter/test_orb_fix_lena
TSTFIX: Do not use lena in test_orb
2016-01-25 13:44:58 -06:00
Himanshu Mishra 41afd05d0a Modify threshold_adaptive
1. Improve docstring
2. Raise error for even block_size
3. Test for the ValueError
2016-01-25 19:46:21 +05:30
Himanshu Mishra 1740767a3a Add test for threshold_otsu on single color image 2016-01-25 13:56:45 +05:30
Himanshu Mishra d677015806 Do not use lena in test_orb 2016-01-25 13:48:11 +05:30
Juan Nunez-Iglesias a2379182dc Merge pull request #1904 from OrkoHunter/clarify_generic_filter_rag
Add comment in ndi.generic_filter for the use of output, in RAG
2016-01-25 18:48:25 +11:00
Himanshu Mishra b9199fe765 DOC : Add comment for the use of strided output array for generic_filter in RAG 2016-01-25 12:50:45 +05:30
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 28f19d3076 Raise error when single colored image is passed in threshold_otsu method 2016-01-24 20:57:40 +05:30
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. LeeandGregory 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. LeeandGregory 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. LeeandGregory R. Lee 4a0ad77780 update tests for denoise_tv_chambolle 2016-01-23 10:59:32 -05:00
Gregory R. LeeandGregory R. Lee c2b86d8a02 fix numpy 1.6 compatibility 2016-01-23 10:59:32 -05:00
Gregory R. LeeandGregory 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