• 検索結果がありません。

Tap Concept (タップ概要)

ドキュメント内 CoaXPress Standard (ページ 113-117)

9 Data Streams (データストリーム)

9.4 Image Streams (画像ストリーム)

9.4.5 Tap Concept (タップ概要)

Taps apply to vertical scanning only (see comment above). The number of taps shall be read or set by the Host via a Device register. The tap geometry naming follows the Tap Geometry proposal revision 0.1 for GenICam, as shown in Table 35.

Table 35 ― Vertical tap formats

Name Valid Values Description

ZoneY 1, 2 The number of zones across the vertical direction.

TapY Null, 2 The number of consecutive lines in the vertical direction that output pixels simultaneously from a zone.

‘Null’ means the default of a single line.

ExtractorY Null, E The location of the pixel extractors across vertical direction.

‘Null’ means the default of pixel extractors all at the top line.

‘E’ means pixel extractors are at both top and bottom lines.

タップは垂直スキャンにのみ適用される(上記※参照)。タップ数はデバイスのレジスタ経由でホストから読出しを 行うこと<SHALL>。表 35に示すようにタップのジオメトリの名前はGenICam のTap Geometry proposal revision 0.1 に準拠している。

表 35 ― 垂直タップフォーマット

名前 有効な値 説明

ZoneY 1, 2 垂直方向のゾーン数

TapY Null, 2 あるゾーンから連続して出力されるピクセルの,垂直方向に連続するラインの数

“Null”はラインが1つだけの場合の初期値を表す ExtractorY Null, E 垂直方向におけるピクセルエクストラクタの位置。

“Null”は全てのピクセルエクストラクタが開始ラインに存在する,デフォルト状態 を意味する。

“E”はピクセルエクストラクタが開始ライン/最終ラインのどちらにも存在すること を意味する。

The tap format is defined: 1X-<ZoneY>Y<TapY><ExtractorY>

The following tap scan geometries are supported:

 1X-1Y (default single tap format, also used for line scan)

 1X-1Y2

 1X-2YE

Both Devices and Hosts shall support at least one of these tap formats.

Comment: A typical frame grabber Host would support all tap formats.

タップフォーマットは次のように定義される: 1X-<ZoneY>Y<TapY><ExtractorY>

また,以下のタップスキャンジオメトリがサポートされている:

 1X-1Y (単一タップフォーマット時の初期値, ラインスキャンでも使われる)

 1X-1Y2

 1X-2YE

デバイスとホストのどちらも,これらのタップフォーマットのうち最低1つをサポートすること<SHALL>。

コメント: 標準的なフレームグラバは全てのタップフォーマットをサポートすると考えられる。

Scanning examples for both supported multi-tap geometries are illustrated in Figure 28.

サポートする2つの複数タップジオメトリにおけるスキャン例を図 28に示す。

‘1X-1Y2’ ‘1X-2YE’

Figure 28 ― Scanning example 28 ―スキャン例

Each tap shall form a separate stream.

The tap format code is formed as shown in Table 36. This code is used in the TapG field in the image headers, and the TapGeometry XML feature.

Table 36 ― TapG coding

Bits Usage Bit Definition

15..12 ThisTap The tap number this stream is from.

“N-1”, i.e.

0000: Tap 1.

0001: Tap 2.

Other values are reserved.

Note: This is always set to zero for XML file use.

11..10 Reserved 00

9..6 ZoneY “N-1” coding, i.e.

0000: 1.

0001: 2.

Other values are reserved.

5..2 TapY “N-1” coding, i.e.

0000: Null.

0001: 2.

Other values are reserved.

1..0 ExtractorY 00: Null.

01: E.

Other values are reserved.

Tap(0) Tap(0)

Tap(1)

Tap(1)

各タップは別々のストリームを形成すること<SHALL>。

タップフォーマットのコードを表 36に示す。このコードは画像ヘッダのTapGフィールド,およびタップジオメトリの XML機能にて使用される。

表 36 ― TapGのコーディング

ビット範囲 割り当て Bitの説明

15..12 ThisTap このストリームがどのタップから形成されたものかを示す番号

“N-1”で表す。例えば 0000: タップ1 0001: タップ2 ほかの値は予約

注:XMLファイル使用時,これは常にゼロを設定する。

11..10 Reserved 00

9..6 ZoneY “N-1”で表す。例えば 0000: 1

0001: 2 他の値は予約 5..2 TapY N-1”で表す。例えば

0000: Null 0001: 2 他の値は予約 1..0 ExtractorY 00: Null

01: E 他の値は予約

The resulting TapG values for the defined formats are shown in Table 37.

Table 37 ― TapG values

Tap format TapG Code

1X-1Y 0x0000 1X-1Y2, tap 1 0x0004

1X-1Y2, tap 2 0x1004 1X-2YE, tap 1 0x0041 1X-2YE, tap 2 0x1041

定義されたフォーマットにおけるTapGの値は表 37のように表わされる。

37 ― TagGの値

タップフォーマット TapGコード

1X-1Y 0x0000 1X-1Y2, タップ1 0x0004

1X-1Y2, タップ2 0x1004 1X-2YE, タップ1 0x0041 1X-2YE, タップ2 0x1041

ドキュメント内 CoaXPress Standard (ページ 113-117)