adapt_template — Adapting a template to the size of an image.
adapt_template is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
shape-based or NCC-based operators instead.
adapt_template serves to adapt a
template which has been created by
to the size of an image.
adapt_template can be called before
the template is used with images of another size,
or if the image used to create the template had
If it is not called explicitly it will be called
internally each time another image size is used.
The contents of the image is hereby irrelevant; only the
Image will be considered.
This operator modifies the state of the following input parameter:
During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.
Image which determines the size of the later matching.
TemplateID(input_control, state is modified) template
If the parameter values are correct, the operator
returns the value 2 (H_MSG_TRUE).
If necessary, an exception is raised.