Skip to content

get_framegrabber_paramGetFramegrabberParamGetFramegrabberParamget_framegrabber_paramT_get_framegrabber_param🔗

説明🔗

get_framegrabber_paramGetFramegrabberParamGetFramegrabberParamget_framegrabber_paramT_get_framegrabber_param — 画像取得デバイスに設定されたパラメーターを取得する。

書式🔗

get_framegrabber_param( framegrabber AcqHandle, string Param, out string Value )void GetFramegrabberParam( const HTuple& AcqHandle, const HTuple& Param, HTuple* Value )static void HOperatorSet.GetFramegrabberParam( HTuple acqHandle, HTuple param, out HTuple value )def get_framegrabber_param( acq_handle: HHandle, param: MaybeSequence[str] ) -> Sequence[HTupleElementType]

def get_framegrabber_param_s( acq_handle: HHandle, param: MaybeSequence[str] ) -> HTupleElementTypeHerror T_get_framegrabber_param( const Htuple AcqHandle, const Htuple Param, Htuple* Value )

HTuple HFramegrabber::GetFramegrabberParam( const HTuple& Param ) const

HTuple HFramegrabber::GetFramegrabberParam( const HString& Param ) const

HTuple HFramegrabber::GetFramegrabberParam( const char* Param ) const

HTuple HFramegrabber::GetFramegrabberParam( const wchar_t* Param ) const (Windows only)

HTuple HFramegrabber.GetFramegrabberParam( HTuple param )

HTuple HFramegrabber.GetFramegrabberParam( string param )

説明🔗

オペレーター get_framegrabber_paramGetFramegrabberParam は、 AcqHandleacqHandleacq_handle によって指定された画像取得デバイスのパラメーターを返します。下記の標準 パラメーターは、すべての画像取得デバイスに利用できます。画像取得デバイスに 応じて、追加のパラメーターがサポートされる場合があります。パラメーターの 内容については、 info_framegrabberInfoFramegrabber の 'parameter'"parameter" で確認できます。

Paramparamparam の標準値については、 open_framegrabberOpenFramegrabber をご参照ください:

  • 'name'"name" 画像取得デバイスインターフェースの名前

  • 'horizontal_resolution'"horizontal_resolution" 画像取得デバイスの水平方向解像度

  • 'vertical_resolution'"vertical_resolution" 画像取得デバイスの垂直方向解像度

  • 'image_width'"image_width" 画像の幅

  • 'image_height'"image_height" 画像の高さ

  • 'start_row'"start_row" 画像の左上隅の行座標

  • 'start_column'"start_column" 画像の左上隅の列座標

  • 'field'"field" 画像サイズの選択(フルサイズまたはハーフサイズ)

  • 'bits_per_channel'"bits_per_channel" 1ピクセルあたりのビット深度

  • 'color_space'"color_space" カラー画像のカラー空間

  • 'generic'"generic" 画像取得デバイス固有の設定可能な値

  • 'external_trigger'"external_trigger" 外部トリガー設定 ('true'"true" / 'false'"false")

  • 'camera_type'"camera_type" 使用するカメラの種類(画像取得デバイスに固有)

  • 'device'"device" 画像取得デバイスの名前

  • 'port'"port" ビデオ信号が接続された画像取得デバイスのポート

  • 'line_in'"line_in" マルチプレクサのカメラ入力ライン(オプション)

注意🔗

マルチスレッドアプリケーションにおいて、info_framegrabberInfoFramegrabber、 open_framegrabberOpenFramegrabber、 close_framegrabberCloseFramegrabber は排他的に実行されます。 このグループの内外問わず、get_framegrabber_paramGetFramegrabberParam は非排他的な すべてのオペレーターと並列に動作します。

実行情報🔗

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

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

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

パラメーター🔗

AcqHandleacqHandleacq_handle (input_control) framegrabber → (handle)HTuple (HHandle)HFramegrabber, HTuple (IntPtr)HHandleHtuple (handle)

使用される画像取得デバイスのハンドル

Paramparamparam (input_control) string(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

要求するパラメーターの種類

初期値: 'revision'"revision"
推奨値: 'bits_per_channel', 'camera_type', 'color_space', 'continuous_grabbing', 'device', 'external_trigger', 'field', 'generic', 'grab_timeout', 'horizontal_resolution', 'image_available', 'image_height', 'image_width', 'line_in', 'name', 'port', 'revision', 'start_column', 'start_row', 'vertical_resolution', 'volatile'"bits_per_channel", "camera_type", "color_space", "continuous_grabbing", "device", "external_trigger", "field", "generic", "grab_timeout", "horizontal_resolution", "image_available", "image_height", "image_width", "line_in", "name", "port", "revision", "start_column", "start_row", "vertical_resolution", "volatile"

Valuevaluevalue (output_control) string(-array) → (string / real / integer / handle)HTuple (HString / double / Hlong / HHandle)HTuple (string / double / int / long / HHandle)Sequence[HTupleElementType]Htuple (char* / double / Hlong / handle)

パラメーターの値

結果🔗

画像取得デバイスが初期化されていて、指定されたパラメーターがサポート されているならば、 get_framegrabber_paramGetFramegrabberParam は、値 2 (H_MSG_TRUE) を 返します。そうでない場合は、例外処理が発生します。

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

組み合わせ

前処理の候補

open_framegrabberOpenFramegrabber, set_framegrabber_paramSetFramegrabberParam

後処理の候補

grab_imageGrabImage, grab_dataGrabData, grab_image_startGrabImageStart, grab_image_asyncGrabImageAsync, grab_data_asyncGrabDataAsync, set_framegrabber_paramSetFramegrabberParam, close_framegrabberCloseFramegrabber

関連項目

open_framegrabberOpenFramegrabber, info_framegrabberInfoFramegrabber, set_framegrabber_paramSetFramegrabberParam

モジュール🔗

Foundation