Commit Graph
5047 Commits
Author SHA1 Message Date
Josh Warner 2e162478c9 Merge pull request #1897 from grlee77/simple_metrics
FEAT: Simple image comparison metrics (PSNR, NRMSE)
2016-01-30 22:22:27 -06:00
Himanshu Mishra 4997fda94f Raise error when normalise in not none in hog 2016-01-31 09:32:27 +05:30
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
Johannes Schönberger e12df17514 Add relative threshold to corner_peaks 2016-01-30 14:10:46 +01:00
Himanshu Mishra 63b893d4c6 Fix test and doctest for multichannel kwarg in denoise_bilateral 2016-01-29 17:47:31 +05:30
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 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
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 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
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