adapt_template ( Image : : TemplateID : )

Adapting a template to the size of an image.

The operator adapt_template serves to adapt a template which has been created by create_template to the size of an image. The operator adapt_template has to be called before the first use of a template and whenever the template shall be used for images of another size. The content of the image is hereby irrelevant; only the height and width of Image will be considered.


Parameters

Image (input_object)
image(-array) -> object : byte
Image which determines the size of the later matching.

TemplateID (input_control)
integer -> integer
Template number.


Possible Predecessors

create_template


Possible Successors

best_match, fast_match, fast_mg_match



Copyright © 1996-1997 MVTec Software GmbH