HALCON Reference Manual 10.0.2
Name
clear_templateclear_templateclear_templateClearTemplateClearTemplate — Deallocation of the memory of a template.
The operator clear_templateclear_templateclear_templateClearTemplateClearTemplate deallocates the memory of
a template which has been created by create_templatecreate_templatecreate_templateCreateTemplateCreateTemplate
or create_template_rotcreate_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRot.
After execution of the operator clear_templateclear_templateclear_templateClearTemplateClearTemplate
the template can no longer be used. The value
of TemplateIDTemplateIDTemplateIDTemplateIDtemplateID is not valid.
However, the number can be used again by further calls of
create_templatecreate_templatecreate_templateCreateTemplateCreateTemplate or create_template_rotcreate_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRot.
- Multithreading type: exclusive (runs in parallel only with independent operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
If the number of the template is valid, the operator
clear_templateclear_templateclear_templateClearTemplateClearTemplate returns the value 2 (H_MSG_TRUE).
If necessary an exception is raised.
create_templatecreate_templatecreate_templateCreateTemplateCreateTemplate,
create_template_rotcreate_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRot,
read_templateread_templateread_templateReadTemplateReadTemplate,
write_templatewrite_templatewrite_templateWriteTemplateWriteTemplate
clear_all_templatesclear_all_templatesclear_all_templatesClearAllTemplatesClearAllTemplates
Matching
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |