get_descriptor_model_origin — Return the origin of a descriptor model.
The operator get_descriptor_model_origin returns the origin (reference point) of the descriptor model ModelID. 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_model, or create_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.
A descriptor model 'ModelID' cannot be shared between two or more user's threads. Different descriptor models can be used independently and safely in different threads.
Handle of a descriptor model.
Position of origin in row direction.
Position of origin in column direction.