Johannes Schönberger
c1b2d5159d
Add test for reflected padding
2013-12-10 09:29:51 +01:00
Johannes Schönberger
50e155e254
Fix test case
2013-12-09 11:43:32 +01:00
Johannes Schönberger
7924c46cfd
Add tests for wrong input shapes
2013-12-09 00:44:36 +01:00
Johannes Schönberger
baa0b2cfbf
Add tests for 3-D template matching
2013-12-09 00:42:20 +01:00
Johannes Schönberger
783c04baec
Fix bug in array padding, template matching
2013-12-08 18:54:02 +01:00
Andreas Mueller
f7b3d8062c
COSMIT pep8
2012-06-29 11:27:23 +02:00
Tony S Yu
7326b1949f
BUG: fix test images (float images between 0 and 1).
2012-05-09 18:35:38 -04:00
Tony S Yu
a2f91585ef
Add test for pad_input = True.
2012-05-08 21:32:08 -04:00
Tony S Yu
383ca6220a
Set match_template to default to no padding and fix test.
2012-05-08 21:32:08 -04:00
Tony S Yu
ad99285bc0
Prevent match_template from returning NaNs.
2012-05-08 21:32:08 -04:00
Tony S Yu
0c1e3541b3
Check that image is larger than template.
2012-05-08 21:32:08 -04:00
Tony S Yu
f21f032bfe
Add normalization test and remove unnecessary clipping.
2012-05-08 21:32:07 -04:00
Tony S Yu
5682d27eb0
Rewrite normalization algorithm.
...
This is a major revision that removes the `method` parameter of `match_template` and uses a new normalization method.
Note that the example result is different with this new normalization.
2012-05-08 21:32:07 -04:00
Tony S Yu
425a4ea707
Use feature.peak_local_max instead of custom peak detection.
2012-05-08 21:32:06 -04:00
Tony S Yu
2a00e24b12
Change _template.match_template variables to float.
...
Template and image in test are converted to float32 before passing to `match_template`. This change is temporary: `match_template` should convert these variables internally.
2012-05-08 21:32:06 -04:00
Tony S Yu
e8461e22dd
Move template matching to feature subpackage
2012-05-08 21:32:05 -04:00