Herror ::write_template (
    const HTuple &TemplateID,
    const HTuple &FileName
)

Writing a template to file.

The operator ::write_template writes a matching template to file which can be read again with ::read_template.


Parameters

TemplateID (input_control)
template -> HTuple.long
Template number.

FileName (input_control)
filename -> HTuple.char *
file name.


Result

If the file name is valid (permission to write), the operator ::write_template returns the value H_MSG_TRUE. If necessary an exception handling will be raised.


Possible Predecessors

::create_template, ::create_template_rot


Module

Gray value template matching



Copyright © 1996-2002 MVTec Software GmbH