set_descriptor_model_originT_set_descriptor_model_originSetDescriptorModelOriginSetDescriptorModelOriginset_descriptor_model_origin (Operator)

Name

set_descriptor_model_originT_set_descriptor_model_originSetDescriptorModelOriginSetDescriptorModelOriginset_descriptor_model_origin — Sets the origin of a descriptor model.

Signature

set_descriptor_model_origin( : : ModelID, Row, Column : )

Herror T_set_descriptor_model_origin(const Htuple ModelID, const Htuple Row, const Htuple Column)

void SetDescriptorModelOrigin(const HTuple& ModelID, const HTuple& Row, const HTuple& Column)

void HDescriptorModel::SetDescriptorModelOrigin(const HTuple& Row, const HTuple& Column) const

void HDescriptorModel::SetDescriptorModelOrigin(double Row, double Column) const

static void HOperatorSet.SetDescriptorModelOrigin(HTuple modelID, HTuple row, HTuple column)

void HDescriptorModel.SetDescriptorModelOrigin(HTuple row, HTuple column)

void HDescriptorModel.SetDescriptorModelOrigin(double row, double column)

def set_descriptor_model_origin(model_id: HHandle, row: Union[float, int], column: Union[float, int]) -> None

Description

The operator set_descriptor_model_originset_descriptor_model_originSetDescriptorModelOriginSetDescriptorModelOriginSetDescriptorModelOriginset_descriptor_model_origin sets the origin (reference point) of the descriptor model ModelIDModelIDModelIDModelIDmodelIDmodel_id to a new value. 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_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, or create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model. 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. The new setting affects the succeeding find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModelFindUncalibDescriptorModelfind_uncalib_descriptor_model and find_calib_descriptor_modelfind_calib_descriptor_modelFindCalibDescriptorModelFindCalibDescriptorModelFindCalibDescriptorModelfind_calib_descriptor_model calls.

Execution Information

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control, state is modified)  descriptor_model HDescriptorModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a descriptor model.

RowRowRowRowrowrow (input_control)  real HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Translation of origin in row direction.

Default: 0

ColumnColumnColumnColumncolumncolumn (input_control)  real HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Translation of origin in column direction.

Default: 0

Possible Predecessors

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model, read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModelread_descriptor_model

See also

get_descriptor_model_originget_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOriginGetDescriptorModelOriginget_descriptor_model_origin, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model

Module

Matching