ClassesClassesClassesClasses | | | | Operators

get_shape_model_3d_paramsget_shape_model_3d_paramsGetShapeModel3dParamsget_shape_model_3d_paramsGetShapeModel3dParamsGetShapeModel3dParams (Operator)

Name

get_shape_model_3d_paramsget_shape_model_3d_paramsGetShapeModel3dParamsget_shape_model_3d_paramsGetShapeModel3dParamsGetShapeModel3dParams — Return the parameters of a 3D shape model.

Signature

get_shape_model_3d_params( : : ShapeModel3DID, GenParamNames : GenParamValues)

Herror get_shape_model_3d_params(const Hlong ShapeModel3DID, const char* GenParamNames, char* GenParamValues)

Herror T_get_shape_model_3d_params(const Htuple ShapeModel3DID, const Htuple GenParamNames, Htuple* GenParamValues)

Herror get_shape_model_3d_params(const HTuple& ShapeModel3DID, const HTuple& GenParamNames, char* GenParamValues)

Herror get_shape_model_3d_params(const HTuple& ShapeModel3DID, const HTuple& GenParamNames, HTuple* GenParamValues)

HTuple HShapeModel3D::GetShapeModel3dParams(const HTuple& GenParamNames) const

void GetShapeModel3dParams(const HTuple& ShapeModel3DID, const HTuple& GenParamNames, HTuple* GenParamValues)

HTuple HShapeModel3D::GetShapeModel3dParams(const HTuple& GenParamNames) const

HTuple HShapeModel3D::GetShapeModel3dParams(const HString& GenParamNames) const

HTuple HShapeModel3D::GetShapeModel3dParams(const char* GenParamNames) const

void HOperatorSetX.GetShapeModel3dParams(
[in] VARIANT ShapeModel3DID, [in] VARIANT GenParamNames, [out] VARIANT* GenParamValues)

VARIANT HShapeModel3DX.GetShapeModel3dParams([in] VARIANT GenParamNames)

static void HOperatorSet.GetShapeModel3dParams(HTuple shapeModel3DID, HTuple genParamNames, out HTuple genParamValues)

HTuple HShapeModel3D.GetShapeModel3dParams(HTuple genParamNames)

HTuple HShapeModel3D.GetShapeModel3dParams(string genParamNames)

Description

The operator get_shape_model_3d_paramsget_shape_model_3d_paramsGetShapeModel3dParamsget_shape_model_3d_paramsGetShapeModel3dParamsGetShapeModel3dParams allows to query parameters of the 3D shape model. The names of the desired parameters are passed in the generic parameter GenParamNamesGenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames, the corresponding values are returned in GenParamValuesGenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues.

The following parameters can be queried:

'cam_param'"cam_param""cam_param""cam_param""cam_param""cam_param":

Internal parameters of the camera that is used for the matching.

'ref_rot_x'"ref_rot_x""ref_rot_x""ref_rot_x""ref_rot_x""ref_rot_x":

Reference orientation: Rotation around x-axis or x component of the Rodriguez vector (in radians or without unit).

'ref_rot_y'"ref_rot_y""ref_rot_y""ref_rot_y""ref_rot_y""ref_rot_y":

Reference orientation: Rotation around y-axis or y component of the Rodriguez vector (in radians or without unit).

'ref_rot_z'"ref_rot_z""ref_rot_z""ref_rot_z""ref_rot_z""ref_rot_z":

Reference orientation: Rotation around z-axis or z component of the Rodriguez vector (in radians or without unit).

'order_of_rotation'"order_of_rotation""order_of_rotation""order_of_rotation""order_of_rotation""order_of_rotation":

Meaning of the rotation values of the reference orientation.

'longitude_min'"longitude_min""longitude_min""longitude_min""longitude_min""longitude_min":

Minimum longitude of the model views.

'longitude_max'"longitude_max""longitude_max""longitude_max""longitude_max""longitude_max":

Maximum longitude of the model views.

'latitude_min'"latitude_min""latitude_min""latitude_min""latitude_min""latitude_min":

Minimum latitude of the model views.

'latitude_max'"latitude_max""latitude_max""latitude_max""latitude_max""latitude_max":

Maximum latitude of the model views.

'cam_roll_min'"cam_roll_min""cam_roll_min""cam_roll_min""cam_roll_min""cam_roll_min":

Minimum camera roll angle of the model views.

'cam_roll_max'"cam_roll_max""cam_roll_max""cam_roll_max""cam_roll_max""cam_roll_max":

Maximum camera roll angle of the model views.

'dist_min'"dist_min""dist_min""dist_min""dist_min""dist_min":

Minimum camera-object-distance of the model views.

'dist_max'"dist_max""dist_max""dist_max""dist_max""dist_max":

Maximum camera-object-distance of the model views.

'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast":

Minimum contrast of the objects in the search images.

'num_levels'"num_levels""num_levels""num_levels""num_levels""num_levels":

User-specified number of pyramid levels.

'num_levels_max'"num_levels_max""num_levels_max""num_levels_max""num_levels_max""num_levels_max":

Maximum number of used pyramid levels over all model views.

'optimization'"optimization""optimization""optimization""optimization""optimization":

Kind of optimization by reducing the number of model points.

'metric'"metric""metric""metric""metric""metric":

Match metric.

'part_size'"part_size""part_size""part_size""part_size""part_size":

Size of the model parts that is used when 'metric'"metric""metric""metric""metric""metric" is set to 'ignore_part_polarity'"ignore_part_polarity""ignore_part_polarity""ignore_part_polarity""ignore_part_polarity""ignore_part_polarity".

'min_face_angle'"min_face_angle""min_face_angle""min_face_angle""min_face_angle""min_face_angle":

Minimum 3D face angle for which 3D object model edges are included in the 3D shape model.

'min_size'"min_size""min_size""min_size""min_size""min_size":

Minimum size of the projected 3D object model edge (in number of pixels) to include the projected edge in the 3D shape model.

'model_tolerance'"model_tolerance""model_tolerance""model_tolerance""model_tolerance""model_tolerance":

Maximum acceptable tolerance of the projected 3D object model edges (in pixels).

'num_views_per_level'"num_views_per_level""num_views_per_level""num_views_per_level""num_views_per_level""num_views_per_level":

Number of model views per pyramid level. For each pyramid level the number of views that are stored in the 3D shape model are returned. Thus, the number of returned elements corresponds to the number of used pyramid levels, which can be queried with 'num_levels_max'"num_levels_max""num_levels_max""num_levels_max""num_levels_max""num_levels_max". Note that for pyramid levels below 'lowest_model_level'"lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level" (see documentation of create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3d), the value 0 is returned.

'reference_pose'"reference_pose""reference_pose""reference_pose""reference_pose""reference_pose":

Reference position and orientation of the 3d shape model. The returned pose describes the pose of the internally used reference coordinate system of the 3D shape model with respect to the coordinate system that is used in the underlying 3D object model. With this pose, points given in the object coordinate system can be transformed into the reference coordinate system.

'reference_point'"reference_point""reference_point""reference_point""reference_point""reference_point":

3D coordinates of the reference point of the underlying 3D object model.

'bounding_box1'"bounding_box1""bounding_box1""bounding_box1""bounding_box1""bounding_box1":

Smallest enclosing axis-parallel cuboid of the underlying 3D object model in the following order: [min_x, min_y, min_z, max_x, max_y, max_z].

'fast_pose_refinement'"fast_pose_refinement""fast_pose_refinement""fast_pose_refinement""fast_pose_refinement""fast_pose_refinement":

Describes whether the pose refinement during the search is performed in a sped up mode ('true'"true""true""true""true""true") or in the conventional mode ('false'"false""false""false""false""false").

'lowest_model_level'"lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level":

Lowest pyramid level down to which views are stored in the model.

'union_adjacent_contours'"union_adjacent_contours""union_adjacent_contours""union_adjacent_contours""union_adjacent_contours""union_adjacent_contours":

Describes whether in project_shape_model_3dproject_shape_model_3dProjectShapeModel3dproject_shape_model_3dProjectShapeModel3dProjectShapeModel3d adjacent contours should be joined or not.

A detailed description of the parameters can be looked up with the operator create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3d.

It is possible to query the values of several parameters with a single operator call by passing a tuple containing the names of all desired parameters to GenParamNamesGenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames. As a result a tuple of the same length with the corresponding values is returned in GenParamValuesGenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues. Note that this is solely possible for parameters that return only a single value.

Parallelization

Parameters

ShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDShapeModel3DIDshapeModel3DID (input_control)  shape_model_3d HShapeModel3D, HTupleHTupleHShapeModel3D, HTupleHShapeModel3DX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the 3D shape model.

GenParamNamesGenParamNamesGenParamNamesGenParamNamesGenParamNamesgenParamNames (input_control)  attribute.name(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Names of the generic parameters that are to be queried for the 3D shape model.

Default value: 'num_levels_max' "num_levels_max" "num_levels_max" "num_levels_max" "num_levels_max" "num_levels_max"

List of values: 'bounding_box1'"bounding_box1""bounding_box1""bounding_box1""bounding_box1""bounding_box1", 'cam_param'"cam_param""cam_param""cam_param""cam_param""cam_param", 'cam_roll_max'"cam_roll_max""cam_roll_max""cam_roll_max""cam_roll_max""cam_roll_max", 'cam_roll_min'"cam_roll_min""cam_roll_min""cam_roll_min""cam_roll_min""cam_roll_min", 'dist_max'"dist_max""dist_max""dist_max""dist_max""dist_max", 'dist_min'"dist_min""dist_min""dist_min""dist_min""dist_min", 'fast_pose_refinement'"fast_pose_refinement""fast_pose_refinement""fast_pose_refinement""fast_pose_refinement""fast_pose_refinement", 'latitude_max'"latitude_max""latitude_max""latitude_max""latitude_max""latitude_max", 'latitude_min'"latitude_min""latitude_min""latitude_min""latitude_min""latitude_min", 'longitude_max'"longitude_max""longitude_max""longitude_max""longitude_max""longitude_max", 'longitude_min'"longitude_min""longitude_min""longitude_min""longitude_min""longitude_min", 'lowest_model_level'"lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level""lowest_model_level", 'metric'"metric""metric""metric""metric""metric", 'min_contrast'"min_contrast""min_contrast""min_contrast""min_contrast""min_contrast", 'min_face_angle'"min_face_angle""min_face_angle""min_face_angle""min_face_angle""min_face_angle", 'min_size'"min_size""min_size""min_size""min_size""min_size", 'model_tolerance'"model_tolerance""model_tolerance""model_tolerance""model_tolerance""model_tolerance", 'num_levels'"num_levels""num_levels""num_levels""num_levels""num_levels", 'num_levels_max'"num_levels_max""num_levels_max""num_levels_max""num_levels_max""num_levels_max", 'num_views_per_level'"num_views_per_level""num_views_per_level""num_views_per_level""num_views_per_level""num_views_per_level", 'optimization'"optimization""optimization""optimization""optimization""optimization", 'order_of_rotation'"order_of_rotation""order_of_rotation""order_of_rotation""order_of_rotation""order_of_rotation", 'part_size'"part_size""part_size""part_size""part_size""part_size", 'ref_rot_x'"ref_rot_x""ref_rot_x""ref_rot_x""ref_rot_x""ref_rot_x", 'ref_rot_y'"ref_rot_y""ref_rot_y""ref_rot_y""ref_rot_y""ref_rot_y", 'ref_rot_z'"ref_rot_z""ref_rot_z""ref_rot_z""ref_rot_z""ref_rot_z", 'reference_point'"reference_point""reference_point""reference_point""reference_point""reference_point", 'reference_pose'"reference_pose""reference_pose""reference_pose""reference_pose""reference_pose", 'union_adjacent_contours'"union_adjacent_contours""union_adjacent_contours""union_adjacent_contours""union_adjacent_contours""union_adjacent_contours"

GenParamValuesGenParamValuesGenParamValuesGenParamValuesGenParamValuesgenParamValues (output_control)  attribute.name(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Values of the generic parameters.

Result

If the parameters are valid, the operator get_shape_model_3d_paramsget_shape_model_3d_paramsGetShapeModel3dParamsget_shape_model_3d_paramsGetShapeModel3dParamsGetShapeModel3dParams returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

create_shape_model_3dcreate_shape_model_3dCreateShapeModel3dcreate_shape_model_3dCreateShapeModel3dCreateShapeModel3d, read_shape_model_3dread_shape_model_3dReadShapeModel3dread_shape_model_3dReadShapeModel3dReadShapeModel3d

Possible Successors

find_shape_model_3dfind_shape_model_3dFindShapeModel3dfind_shape_model_3dFindShapeModel3dFindShapeModel3d

See also

convert_point_3d_cart_to_spherconvert_point_3d_cart_to_spherConvertPoint3dCartToSpherconvert_point_3d_cart_to_spherConvertPoint3dCartToSpherConvertPoint3dCartToSpher, convert_point_3d_spher_to_cartconvert_point_3d_spher_to_cartConvertPoint3dSpherToCartconvert_point_3d_spher_to_cartConvertPoint3dSpherToCartConvertPoint3dSpherToCart, create_cam_pose_look_at_pointcreate_cam_pose_look_at_pointCreateCamPoseLookAtPointcreate_cam_pose_look_at_pointCreateCamPoseLookAtPointCreateCamPoseLookAtPoint, trans_pose_shape_model_3dtrans_pose_shape_model_3dTransPoseShapeModel3dtrans_pose_shape_model_3dTransPoseShapeModel3dTransPoseShapeModel3d

Module

3D Metrology


ClassesClassesClassesClasses | | | | Operators