Commit Graph

8051 Commits

Author SHA1 Message Date
Himanshu Mishra b1e0597ee1 Raise warning for 3D images in denoise_bilateral 2016-01-29 17:47:31 +05:30
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
Gregory R. Lee b8e7740159 use dtype=np.float64 in calls to np.mean 2016-01-28 22:10:02 -05:00
Gregory R. Lee 8483a62e76 make suggested naming changes in simple_metrics.py 2016-01-28 22:09:52 -05: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
Stefan van der Walt 31b6adb778 Bump numpy requirement to 1.7.2 2016-01-28 11:24:29 -08:00
Stefan van der Walt 772dc48337 Simplify alpha vector generation 2016-01-27 14:28:40 -08:00
Gregory R. Lee 0f71278a10 revert simple_metrics to np.float64 computations for all input types 2016-01-27 12:36:22 -05:00
Gregory R. Lee 64f62032c3 psnr: update dynamic range calculation
also moved the identical dtype and shape checks into a separate utility function
2016-01-27 11:56:12 -05:00
Gregory R. Lee ea3ad97b3e TST: add MSE, NRMSE test that would fail in case of int overflow 2016-01-27 11:24:56 -05:00
Gregory R. Lee acef026676 fixed outdated import name _simple_metrics in __init__.py 2016-01-26 18:21:12 -05:00
Gregory R. Lee a8124166c1 Fix the default dynamic_range in PSNR and warn if inputs don't meet the assumptions made 2016-01-26 18:17:56 -05:00
Gregory R. Lee f4773e303d NRMSE, MSE, PSNR: make sure all inputs are float prior to the calculations. 2016-01-26 18:17:02 -05:00
Gregory R. Lee a681ccd3ee TST: add test for invalid normalization type in NRMSE 2016-01-26 17:56:38 -05: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
Stefan van der Walt c8ba77d5f9 Clean up implementation 2016-01-24 19:42:24 -08:00
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 72607ca99e update NRMSE docstrings and include run_module_suite in the corresponding test file 2016-01-24 12:41:18 -05: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
Himanshu Mishra 3ec41555c7 Modify tests for hog after renaming kwarg normalise 2016-01-24 15:16:46 +05:30
Himanshu Mishra f7d18a56ad Replace normalise kwarg in hog with transform_sqrt 2016-01-24 15:01:30 +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 cfb9c760db TST: fix broken test 2016-01-23 21:35:36 -05:00
Gregory R. Lee 69e73ea52b TST: add tests for nrmse, psnr 2016-01-23 21:09:22 -05:00
Gregory R. Lee ef3896d013 add new metrics to API 2016-01-23 21:09:22 -05:00