Commit Graph

7911 Commits

Author SHA1 Message Date
Johannes Schönberger 65a29071fe Speedup rgb2gray and return congiguous array 2016-01-31 19:21:03 +01:00
Josh Warner d91aff47df Merge pull request #1817 from blink1073/upgrade-imshow
ENH: Allow axes to be provided to imshow and fix colorbar
2016-01-31 10:03:16 -06:00
Steven Silvester 0aafbaf78b Add another note about the new warning 2016-01-31 08:37:49 -06:00
Steven Silvester bbb35134a7 Add a note about the new warning 2016-01-31 08:36:38 -06:00
Steven Silvester da038c4d88 Debugging appveyor warning 2016-01-31 07:48:47 -06:00
Johannes Schönberger a3313abd20 Merge pull request #1916 from blink1073/warn-stacklevel
Use a stacklevel of 2 by default for all warnings
2016-01-31 11:25:39 +01:00
Josh Warner a08d75a786 Merge pull request #1899 from OrkoHunter/hog_normalise
FIX: Replace hog normalise kwarg with transform_sqrt
2016-01-30 23:11:31 -06:00
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
Josh Warner 371bfad10a Merge pull request #1915 from ahojnnes/corner-fix
FIX/STY: Add relative threshold 0.1 to corner_peaks
2016-01-30 10:21:14 -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
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
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
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