Skip to content

get_shape_model_contoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contoursT_get_shape_model_contours🔗

説明🔗

get_shape_model_contoursGetShapeModelContoursGetShapeModelContoursget_shape_model_contoursT_get_shape_model_contours — 形状モデルの輪郭情報を返す。

書式🔗

get_shape_model_contours( out xld_cont ModelContours, shape_model ModelID, integer Level )void GetShapeModelContours( HObject* ModelContours, const HTuple& ModelID, const HTuple& Level )static void HOperatorSet.GetShapeModelContours( out HObject modelContours, HTuple modelID, HTuple level )def get_shape_model_contours( model_id: HHandle, level: int ) -> HObject

Herror T_get_shape_model_contours( Hobject* ModelContours, const Htuple ModelID, const Htuple Level )

HXLDCont HShapeModel::GetShapeModelContours( Hlong Level ) const

HXLDCont HShapeModel.GetShapeModelContours( int level )

説明🔗

オペレーター get_shape_model_contoursGetShapeModelContours は形状モデル ModelIDmodelIDmodel_id の XLD オブジェクト表現 ModelContoursmodelContoursmodel_contours を 返します。パラメーター Levellevellevel はモデルのどのピラミッドレベ ルで XLD オブジェクト表現を返すべきかを指定します。例えば、XLD オ ブジェクトは画像内でのモデルの検出インスタンスを可視化するために使 用することができます。モデルの参照点( set_shape_model_originSetShapeModelOrigin を参照してください)がピクセル位置 \((0,0)\) になるように、ModelContoursmodelContoursmodel_contours の位置が正規化されま す。 従って、輪郭情報は単純に画像中の検出位置に平行移動されれば良いこと になります(また、この点を中心に回転と伸縮を加えることもできます)。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

ModelContoursmodelContoursmodel_contours (output_object) xld_cont-array → objectHObjectHXLDContHObjectHobject *

形状モデルの輪郭情報(XLD オブジェクト)

ModelIDmodelIDmodel_id (input_control) shape_model → (handle)HTuple (HHandle)HShapeModel, HTuple (IntPtr)HHandleHtuple (handle)

モデルのハンドル

Levellevellevel (input_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

XLD オブジェクト表現を返す必要がある ピラミッドレベル

初期値: 11
推奨値: 1, 2, 3, 4, 5, 6, 7, 8, 9, 101, 2, 3, 4, 5, 6, 7, 8, 9, 10
制限: Level >= 1

結果🔗

モデルのハンドルが有効であれば、オペレーター get_shape_model_contoursGetShapeModelContours は、値 2 (H_MSG_TRUE) を返します。必要に応 じて、例外処理が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

create_shape_modelCreateShapeModel, create_scaled_shape_modelCreateScaledShapeModel, create_aniso_shape_modelCreateAnisoShapeModel, read_shape_modelReadShapeModel

他の選択候補

get_generic_shape_model_objectGetGenericShapeModelObject

関連項目

find_shape_modelFindShapeModel, find_scaled_shape_modelFindScaledShapeModel, find_aniso_shape_modelFindAnisoShapeModel, find_shape_modelsFindShapeModels, find_scaled_shape_modelsFindScaledShapeModels, find_aniso_shape_modelsFindAnisoShapeModels

モジュール🔗

Matching