changing docstring to make clear that only 2-D images are currently supported

This commit is contained in:
Raphael Ackermann
2013-12-01 23:11:33 +01:00
parent 86c90a336f
commit 0c81e14bfa
+2 -2
View File
@@ -5,7 +5,7 @@ from . import _template
def match_template(image, template, pad_input=False):
"""Match a template to an image using normalized correlation.
"""Match a template to a 2-D image using normalized correlation.
The output is an array with values between -1.0 and 1.0, which correspond
to the probability that the template is found at that position.
@@ -13,7 +13,7 @@ def match_template(image, template, pad_input=False):
Parameters
----------
image : array_like
Image to process.
2-D Image to process.
template : array_like
Template to locate.
pad_input : bool