set_ncc_model_paramSetNccModelParamSetNccModelParamset_ncc_model_paramT_set_ncc_model_param
説明
set_ncc_model_paramSetNccModelParamSetNccModelParamset_ncc_model_paramT_set_ncc_model_param — NCC モデルの選択パラメーターを設定する。
書式
set_ncc_model_param( ncc_model ModelID, attribute.name GenParamName, attribute.value GenParamValue )void SetNccModelParam( const HTuple& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue )static void HOperatorSet.SetNccModelParam( HTuple modelID, HTuple genParamName, HTuple genParamValue )def set_ncc_model_param( model_id: HHandle, gen_param_name: Sequence[str], gen_param_value: Sequence[Union[float, int, str]] ) -> None
Herror T_set_ncc_model_param( const Htuple ModelID, const Htuple GenParamName, const Htuple GenParamValue )
void HNCCModel::SetNccModelParam( const HTuple& GenParamName, const HTuple& GenParamValue ) const
static void HImage::SetNccModelParam( const HNCCModel& ModelID, const HTuple& GenParamName, const HTuple& GenParamValue )
void HNCCModel.SetNccModelParam( HTuple genParamName, HTuple genParamValue )
static void HImage.SetNccModelParam( HNCCModel modelID, HTuple genParamName, HTuple genParamValue )
説明
オペレーター set_ncc_model_paramSetNccModelParam は NCC モデル
ModelIDmodelIDmodel_id 中の選択したパラメーター GenParamNamegenParamNamegen_param_name を設定
します。以下のパラメーターを修正することができます。
'timeout'"timeout"
NCC モデル ModelIDmodelIDmodel_id
を検出するために使用するオペレーター(find_ncc_modelFindNccModel)の最大実行時間を設定します。こ
れは、最大サイクル時間を保証する必要がある場合に非常に有効です。
'timeout'"timeout" の単位はミリ秒です。時間の精度はモデルの大き
さ、コンピュータの処理速度、set_systemSetSystem で設定する
'timer_mode'"timer_mode" などの要素が影響します。検索時間はタイムアウ
トを有効化することで最大 10 パーセント長くなることに注意してくださ
い。
タイムアウトを無効にするには、負の値か 'false'"false" のいずれか
を設定してください。
実行情報
実行情報
このオペレータは以下の入力パラメータの状態を変更します :
このパラメータの値は外部同期なしには複数スレッド間で共有されません。
パラメーター
ModelIDmodelIDmodel_id (input_control, 状態が変更されました) ncc_model → (handle)HTuple (HHandle)HNCCModel, HTuple (IntPtr)HHandleHtuple (handle)
モデルのハンドル
GenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)
パラメーター名
値のリスト: 'timeout'"timeout"
GenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → (real / integer / string)HTuple (double / Hlong / HString)HTuple (double / int / long / string)Sequence[Union[float, int, str]]Htuple (double / Hlong / char*)
パラメーター値
結果
パラメーターが有効ならば、オペレーター
set_ncc_model_paramSetNccModelParam は値 2 (H_MSG_TRUE) を返します。必要に応じて、例
外処理が発生します。
他のオペレーターとの組み合わせ
組み合わせ
前処理の候補
create_ncc_modelCreateNccModel
後処理の候補
find_ncc_modelFindNccModel
モジュール
Matching