get_descriptor_model_originT_get_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOriginget_descriptor_model_origin (Operator)

Name

get_descriptor_model_originT_get_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOriginget_descriptor_model_origin — Return the origin of a descriptor model.

Signature

get_descriptor_model_origin( : : ModelID : Row, Column)

Herror T_get_descriptor_model_origin(const Htuple ModelID, Htuple* Row, Htuple* Column)

void GetDescriptorModelOrigin(const HTuple& ModelID, HTuple* Row, HTuple* Column)

void HDescriptorModel::GetDescriptorModelOrigin(HTuple* Row, HTuple* Column) const

void HDescriptorModel::GetDescriptorModelOrigin(double* Row, double* Column) const

static void HOperatorSet.GetDescriptorModelOrigin(HTuple modelID, out HTuple row, out HTuple column)

void HDescriptorModel.GetDescriptorModelOrigin(out HTuple row, out HTuple column)

void HDescriptorModel.GetDescriptorModelOrigin(out double row, out double column)

def get_descriptor_model_origin(model_id: HHandle) -> Tuple[Union[float, int], Union[float, int]]

Description

The operator get_descriptor_model_originget_descriptor_model_originGetDescriptorModelOriginGetDescriptorModelOriginGetDescriptorModelOriginget_descriptor_model_origin returns the origin (reference point) of the descriptor model ModelIDModelIDModelIDModelIDmodelIDmodel_id. 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.

Execution Information

Parameters

ModelIDModelIDModelIDModelIDmodelIDmodel_id (input_control)  descriptor_model HDescriptorModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of a descriptor model.

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

Position of origin in row direction.

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

Position of origin in column direction.

Possible Predecessors

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModelread_descriptor_model

See also

set_descriptor_model_originset_descriptor_model_originSetDescriptorModelOriginSetDescriptorModelOriginSetDescriptorModelOriginset_descriptor_model_origin, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model

Module

Matching