Commit Graph

7882 Commits

Author SHA1 Message Date
Steven Silvester cfc5db7a6c Add missing space 2016-01-30 19:09:44 -06:00
Steven Silvester 040d0475c1 More cleanup 2016-01-30 15:58:07 -06:00
Steven Silvester 4b2692b7c0 Cleanup 2016-01-30 15:56:19 -06:00
Steven Silvester 4f54b9ed5a Work around limitation in warnings.warn 2016-01-30 10:37:30 -06:00
Steven Silvester e24953cf74 Cleanup the _warnings module 2016-01-30 09:17:47 -06:00
Steven Silvester f4483b775e Make warn() more explicit 2016-01-30 09:14:55 -06:00
Steven Silvester 6170a7e532 Include the pyx files 2016-01-30 08:59:31 -06:00
Steven Silvester b710bd21d2 Use a stacklevel of 2 by default for all warnings 2016-01-30 08:57:46 -06:00
Josh Warner 114f7f8ae0 Merge pull request #1898 from ahojnnes/anntzer-peak-local-max
ENH: Improved defaults for peak_local_max
2016-01-29 20:53:19 -06:00
Johannes Schönberger 433523805f Fix matching test cases 2016-01-29 09:27:01 +01:00
Johannes Schönberger 91ed378019 Fix bug in exclude_border option 2016-01-29 09:26:12 +01:00
Johannes Schönberger e552002e72 Fix BRIEF test cases 2016-01-29 09:26:12 +01:00
Johannes Schönberger dfae40f9a8 Change default threshold_abs value to minimum image intensity 2016-01-29 09:26:12 +01:00
Johannes Schönberger bbb427b9ea Fix peak_local_max doctest 2016-01-29 09:26:12 +01:00
Johannes Schönberger e74da89ede Fix corner_fast doctest 2016-01-29 09:26:12 +01:00
Johannes Schönberger 024c4328f2 Fix corner_peaks doctest 2016-01-29 09:26:12 +01:00
Johannes Schönberger 88ee3ce96e Raise error for invalid min_distance values 2016-01-29 09:26:12 +01:00
Johannes Schönberger 3f912903cb Fix corner orientations unit test 2016-01-29 09:26:12 +01:00
Johannes Schönberger 5751b0cb28 Some improvements to the doc string and code formatting 2016-01-29 09:26:12 +01:00
Johannes Schönberger fe9d7c73a1 Fix coordinate extraction 2016-01-29 09:26:12 +01:00
Antony Lee bd2ecff62f WIP: fix impl. of peak_local_max, update tests. 2016-01-29 09:26:12 +01:00
Antony Lee 58283e7bd5 Change default min_distance; improve docstring. 2016-01-29 09:26:12 +01:00
Antony Lee f3771aba7e Saner defaults for peak_local_max, untested.
First attempt at fixing #1246.
2016-01-29 09:26:12 +01:00
Juan Nunez-Iglesias ad51119da1 Merge pull request #1913 from stefanv/contribute_2plus
Update contributor's guide: all PRs must get two +1's by core team before merge
2016-01-29 14:22:22 +11:00
Stefan van der Walt 9a522c8b44 Update contributor's guide: all PRs must get two +1's by core team before merge 2016-01-28 18:56:57 -08: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
Himanshu Mishra df18b53aed Correct example for threshold_adaptive 2016-01-26 01:59:18 +05:30
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
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