HALCON Reference Manual 10.0.2
Name
set_shape_model_originset_shape_model_originset_shape_model_originSetShapeModelOriginSetShapeModelOrigin — Set the origin (reference point) of a shape model.
Herror set_shape_model_origin(const Hlong ModelID, double Row, double Column)
Herror T_set_shape_model_origin(const Htuple ModelID, const Htuple Row, const Htuple Column)
The operator set_shape_model_originset_shape_model_originset_shape_model_originSetShapeModelOriginSetShapeModelOrigin sets the origin
(reference point) of the shape model ModelIDModelIDModelIDModelIDmodelID 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 shape
model with create_shape_modelcreate_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModel,
create_scaled_shape_modelcreate_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModel, or
create_aniso_shape_modelcreate_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModel. 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.
- Multithreading type: exclusive (runs in parallel only with independent operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
RowRowRowRowrow (input_control) point.y → HTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double)
Row coordinate of the origin of the shape model.
Column coordinate of the origin of the shape model.
If the handle of the model is valid, the operator
set_shape_model_originset_shape_model_originset_shape_model_originSetShapeModelOriginSetShapeModelOrigin returns the value 2 (H_MSG_TRUE). If necessary
an exception is raised.
create_shape_modelcreate_shape_modelcreate_shape_modelCreateShapeModelCreateShapeModel,
create_scaled_shape_modelcreate_scaled_shape_modelcreate_scaled_shape_modelCreateScaledShapeModelCreateScaledShapeModel,
create_aniso_shape_modelcreate_aniso_shape_modelcreate_aniso_shape_modelCreateAnisoShapeModelCreateAnisoShapeModel,
read_shape_modelread_shape_modelread_shape_modelReadShapeModelReadShapeModel
find_shape_modelfind_shape_modelfind_shape_modelFindShapeModelFindShapeModel,
find_scaled_shape_modelfind_scaled_shape_modelfind_scaled_shape_modelFindScaledShapeModelFindScaledShapeModel,
find_aniso_shape_modelfind_aniso_shape_modelfind_aniso_shape_modelFindAnisoShapeModelFindAnisoShapeModel,
find_shape_modelsfind_shape_modelsfind_shape_modelsFindShapeModelsFindShapeModels,
find_scaled_shape_modelsfind_scaled_shape_modelsfind_scaled_shape_modelsFindScaledShapeModelsFindScaledShapeModels,
find_aniso_shape_modelsfind_aniso_shape_modelsfind_aniso_shape_modelsFindAnisoShapeModelsFindAnisoShapeModels,
get_shape_model_originget_shape_model_originget_shape_model_originGetShapeModelOriginGetShapeModelOrigin
area_centerarea_centerarea_centerAreaCenterAreaCenter
Matching
| HALCON Reference Manual 10.0.2 |
Copyright © 1996-2011 MVTec Software GmbH |