get_shape_model_contours🔗
説明🔗
get_shape_model_contours — 形状モデルの輪郭情報を返す。
書式🔗
get_shape_model_contours( out xld_cont ModelContours, shape_model ModelID, integer Level )
説明🔗
オペレーター get_shape_model_contours は形状モデル
ModelID の XLD オブジェクト表現 ModelContours を
返します。パラメーター Level はモデルのどのピラミッドレベ
ルで XLD オブジェクト表現を返すべきかを指定します。例えば、XLD オ
ブジェクトは画像内でのモデルの検出インスタンスを可視化するために使
用することができます。モデルの参照点(
set_shape_model_origin を参照してください)がピクセル位置
\((0,0)\) になるように、ModelContours の位置が正規化されま
す。
従って、輪郭情報は単純に画像中の検出位置に平行移動されれば良いこと
になります(また、この点を中心に回転と伸縮を加えることもできます)。
実行情報🔗
実行情報
-
マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)
-
マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)
-
並列演算処理には未対応
パラメーター🔗
ModelContours (output_object) xld_cont-array → object
形状モデルの輪郭情報(XLD オブジェクト)
ModelID (input_control) shape_model → (handle)
モデルのハンドル
Level (input_control) integer → (integer)
XLD オブジェクト表現を返す必要がある ピラミッドレベル
初期値: 1
推奨値: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10
制限: Level >= 1
結果🔗
モデルのハンドルが有効であれば、オペレーター
get_shape_model_contours は、値 2 (H_MSG_TRUE) を返します。必要に応
じて、例外処理が発生します。
他のオペレーターとの組み合わせ🔗
組み合わせ
前処理の候補
create_shape_model, create_scaled_shape_model, create_aniso_shape_model, read_shape_model
他の選択候補
get_generic_shape_model_object
関連項目
find_shape_model, find_scaled_shape_model, find_aniso_shape_model, find_shape_models, find_scaled_shape_models, find_aniso_shape_models
モジュール🔗
Matching