create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRot — Preparing a pattern for template matching with rotation.
Warning
create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRot is obsolete and is only provided for
reasons of backward compatibility. New applications should use the
shape-based or NCC-based operators instead.
You have to be aware, that all possible rotations
are calculated beforehand to reduce runtime during matching.
This leads to a higher execution time for
create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRot and high memory
requirements for the template.
The amount of memory depends on the parameters
AngleExtendAngleExtendAngleExtendAngleExtendangleExtend and AngleStepAngleStepAngleStepAngleStepangleStep.
The number of pyramid levels can be neglected.
If A is the number of pixels of
TemplateTemplateTemplateTemplatetemplate, the memory M needed for the template
in byte is about:
You have to be aware, that depending on the resolution a large
number of pre calculated patterns have to be created
which might result in a large amount of memory needed.
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
List of values: 'gradient'"gradient""gradient""gradient""gradient", 'normalized'"normalized""normalized""normalized""normalized", 'original'"original""original""original""original", 'sobel'"sobel""sobel""sobel""sobel"
If the parameters are valid, the operator
create_template_rotcreate_template_rotCreateTemplateRotCreateTemplateRotCreateTemplateRot returns the value 2 (H_MSG_TRUE).
If necessary an exception is raised.