get_descriptor_model_originT_get_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOrigin (Operator)
Name
get_descriptor_model_originT_get_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOrigin
— Return the origin of a descriptor model.
Signature
Herror T_get_descriptor_model_origin(const Htuple ModelID, Htuple* Row, Htuple* Column)
Description
The operator get_descriptor_model_originget_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOriginGetDescriptorModelOrigin
returns the origin
(reference point) of the descriptor model ModelIDModelIDModelIDModelIDmodelID
.
The origin is specified relative to the center of gravity of the domain
(region) of the image that was used to create the descriptor model
with create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel
, or
create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel
. Hence, an origin of (0,0) means
that the center of gravity of the domain of the model image is used as
the origin. An origin of (-20,-40) means that the origin lies to the
upper left of the center of gravity.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ModelIDModelIDModelIDModelIDmodelID
(input_control) descriptor_model →
HDescriptorModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of a descriptor model.
RowRowRowRowrow
(output_control) real →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Position of origin in row direction.
ColumnColumnColumnColumncolumn
(output_control) real →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Position of origin in column direction.
Possible Predecessors
create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel
,
read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModel
See also
set_descriptor_model_originset_descriptor_model_originSetDescriptorModelOriginSetDescriptorModelOriginSetDescriptorModelOrigin
,
create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel
Module
Matching