コンテンツにスキップ

Multiple ROI#

Multiple ROIカメラ機能を使用すると、単一の画像として送信されるセンサーアレイ上の複数の領域を定義できます。

これらの領域からのピクセルデータのみが転送されます。これにより、カメラのフレームレートが増加します。

The Multiple ROI feature is similar to the Stacked ROI feature, which is only available on Basler ace cameras.

機能を使用する#

仕組み#

このMultiple ROI機能を使用すると、センサーアレイに領域を定義できます。領域の最大数は、カメラのモデルによって異なります。

画像を取得すると、領域内のピクセル情報のみがセンサーから読み取られ、単一の画像として送信されます。

領域のサイズと位置を個別に定義する代わりに、センサー配列に行と列を定義します。その後、列と行の各交差によって領域が作成されます。

次の例では、2つの行と2つの列が定義されています。これにより、次の4つの領域が作成されます:

Multiple ROI例

Region 11、Region 21、Region12、およびRegion 22内のピクセル情報は、1つの画像として送信されます。

Configuring the Rows and Columns#

情報

On some camera models, you can only configure rows and not columns when you're creating regions. In this case, each region covers the entire sensor width and can be considered to have a single column.

行と列は次のように設定します。

  1. カメラがアイドル状態であること、つまり画像をキャプチャしていないことを確認します。
  2. Reverse X and Reverse Y機能が無効になっていること
    を確認します。行と列を設定した後で、画像ミラーリングを再度有効にできます。
  3. 列を設定します。
    1. 単一の列を定義する場合、
      1. Set the BslMultipleROIColumnsEnable parameter to false.
      2. Set the OffsetX parameter to the desired horizontal offset of the column. This value is applied to all regions.
      3. Set the Width parameter to the desired width of the column. This value is applied to all regions.
    2. 複数の列を定義する場合:
      1. Set the BslMultipleROIColumnsEnable parameter to true.
      2. Set the BslMultipleROIColumnSelector parameter to the desired column, e.g., Column1.
      3. Set the BslMultipleROIColumnOffset parameter to the desired horizontal offset of the column, e.g., 100.
      4. Set the BslMultipleROIColumnSize parameter to the desired width of the column, e.g., 50.
      5. 設定するすべての列について、上記の手順を繰り返します。
        注:望ましくない副作用を避けるため、列は常に昇順に設定してください。つまり、列1から始めて、列2を設定して続けます。
  4. 行を設定する:
    1. 1つの行を定義する場合:
      1. Set the BslMultipleROIRowsEnable parameter to false.
      2. Set the OffsetY parameter to the desired vertical offset of the row. This value is applied to all regions.
      3. Set the Height parameter to the desired height of the row. This value is applied to all regions.
    2. 複数の行を定義する場合:
      1. Set the BslMultipleROIRowsEnable parameter to true.
      2. Set the BslMultipleROIRowSelector parameter to the desired row, e.g., Row1.
      3. Set the BslMultipleROIRowOffset parameter to the desired vertical offset of the row, e.g., 100.
      4. Set the BslMultipleROIRowSize parameter to the desired height of the row, e.g., 50.
      5. 設定するすべての行について、上記の手順を繰り返します。
        注: 望ましくない副作用を避けるため、行は常に昇順に設定してください。つまり、行1から始めて、行2を設定して続けます。
  5. 必要に応じて、Reverse X and Reverse Yを再度有効にします。
    これにより、列と行の位置がミラー画像に自動的に調整されます。

Considerations When Using the Multiple ROI Feature#

  • There's a sensor-specific minimum width and height for all regions combined, i.e., for the images created by the Multiple ROI feature. During configuration, the camera automatically adjusts the parameter values and ranges to meet the minimum width and height. The last column is always used to reach the minimum total width. Because the increment of the BslMultipleROIColumnSize parameter is also taken into account, the resulting total width may be larger than the minimum.
    Example: The sensor of your camera has a minimum total width of 530 and allows you to configure up to two columns. If you set the width of column 1 to 200, the camera automatically sets the minimum width of column 2 to 330.
    Example 2: Assume you are using the same sensor as in the example above. Also assume the resolution of that sensor is 1920 x 1200. Now, if you'd set the vertical offset of column 0 to 900, there wouldn't be enough space to define a region that meets the minimum width requirement. Therefore, the camera automatically sets the maximum vertical offset for any column to 670 (1200 sensor width minus 530 minimum total region width).
  • 上記の制約のため、Baslerでは、列と行を昇順に設定することを強くお勧めします。つまり、列1から始めて、列2を設定して続けます。
  • カラーカメラでは、ピクセルフォーマットがデベイヤリングを伴うフォーマット(RGBまたはYCbCrのピクセルフォーマット)に設定されている場合、デベイヤリング領域のサイズ以上の領域(3x3ピクセルなど)では、カメラが意味のあるカラー情報のみを計算できることを考慮してください。
  • If the BslMultipleROIColumnsEnable parameter is set to true, the following parameters become read-only:

    • OffsetX: The parameter is set to the horizontal offset of column 1.
    • Width: The parameter is set to the total width of all regions, i.e., the width of the images created by the Multiple ROI feature.
  • If the BslMultipleROIRowsEnable parameter is set to true, the following parameters become read-only:

    • OffsetY: The parameter is set to the vertical offset of row 1.
    • Height: The parameter is set to the total height of all regions, i.e., the height of the images created by the Multiple ROI feature.
  • 画像サイズに影響を与えるその他のカメラ機能(BinningまたはPixel Beyond)は、Multiple ROI機能の後に適用されます。したがって、行と列を構成するときに、これらの機能の効果を考慮する必要はありません。

  • The auto function ROI positions and sizes automatically adapt to the output of the Multiple ROI feature. For example, if the width of all regions combined is 500, the maximum value of the AutoFunctionROIWidth parameter will be 500.

特性#

すべてのカメラモデルを表示します

カメラモデル Maximum Number of Regions (Rows x Columns)
a2A640-240gmSWIR 64(8 x 8)
a2A640-240umSWIR 64(8 x 8)
a2A1280-80gmSWIR 64(8 x 8)
a2A1280-125umSWIR 64(8 x 8)
a2A1920-51gcBAS 4 (2 x 2)
a2A1920-51gcPRO 4 (2 x 2)
a2A1920-51gmBAS 4 (2 x 2)
a2A1920-51gmPRO 4 (2 x 2)
a2A1920-160ucBAS 4 (2 x 2)
a2A1920-160ucPRO 4 (2 x 2)
a2A1920-160umBAS 4 (2 x 2)
a2A1920-160umPRO 4 (2 x 2)
a2A1920-165g5cBAS 4 (2 x 2)
a2A1920-165g5mBAS 4 (2 x 2)
a2A2440-98g5cBAS 64(8 x 8)
a2A2440-98g5mBAS 64(8 x 8)
a2A2448-23gcBAS 64(8 x 8)
a2A2448-23gcPRO 64(8 x 8)
a2A2448-23gmBAS 64(8 x 8)
a2A2448-23gmPRO 64(8 x 8)
a2A2448-75ucBAS 64(8 x 8)
a2A2448-75ucPRO 64(8 x 8)
a2A2448-75umBAS 64(8 x 8)
a2A2448-75umPRO 64(8 x 8)
a2A2448-105g5cBAS 64(8 x 8)
a2A2448-105g5mBAS 64(8 x 8)
a2A2448-120cc 64(8 x 8)
a2A2448-120cm 64(8 x 8)
a2A2448-210cc 64(8 x 8)
a2A2448-210cm 64(8 x 8)
a2A2590-22gcBAS Multiple ROI機能はサポートされていません
a2A2590-22gcPRO Multiple ROI機能はサポートされていません
a2A2590-22gmBAS Multiple ROI機能はサポートされていません
a2A2590-22gmPRO Multiple ROI機能はサポートされていません
a2A2590-60ucBAS Multiple ROI機能はサポートされていません
a2A2590-60ucPRO Multiple ROI機能はサポートされていません
a2A2590-60umBAS Multiple ROI機能はサポートされていません
a2A2590-60umPRO Multiple ROI機能はサポートされていません
a2A2600-20gcBAS 16 (16 x 1)a
a2A2600-20gcPRO 16 (16 x 1)a
a2A2600-20gmBAS 16 (16 x 1)a
a2A2600-20gmPRO 16 (16 x 1)a
a2A2600-64ucBAS 16 (16 x 1)a
a2A2600-64ucPRO 16 (16 x 1)a
a2A2600-64umBAS 16 (16 x 1)a
a2A2600-64umPRO 16 (16 x 1)a
a2A2840-14gcBAS 64(8 x 8)
a2A2840-14gcPRO 64(8 x 8)
a2A2840-14gmBAS 64(8 x 8)
a2A2840-14gmPRO 64(8 x 8)
a2A2840-14gmUV 64(8 x 8)
a2A2840-48ucBAS 64(8 x 8)
a2A2840-48ucPRO 64(8 x 8)
a2A2840-48umBAS 64(8 x 8)
a2A2840-48umPRO 64(8 x 8)
a2A2840-48umUV 64(8 x 8)
a2A2840-67g5cBAS 64(8 x 8)
a2A2840-67g5mBAS 64(8 x 8)
a2A2840-67g5mUV 64(8 x 8)
a2A2840-86cc 64(8 x 8)
a2A2840-86cm 64(8 x 8)
a2A3840-13gcBAS Multiple ROI機能はサポートされていません
a2A3840-13gcPRO Multiple ROI機能はサポートされていません
a2A3840-13gmBAS Multiple ROI機能はサポートされていません
a2A3840-13gmPRO Multiple ROI機能はサポートされていません
a2A3840-45ucBAS Multiple ROI機能はサポートされていません
a2A3840-45ucPRO Multiple ROI機能はサポートされていません
a2A3840-45umBAS Multiple ROI機能はサポートされていません
a2A3840-45umPRO Multiple ROI機能はサポートされていません
a2A4096-9gcBAS 64(8 x 8)
a2A4096-9gcPRO 64(8 x 8)
a2A4096-9gmBAS 64(8 x 8)
a2A4096-9gmPRO 64(8 x 8)
a2A4096-30ucBAS 64(8 x 8)
a2A4096-30ucPRO 64(8 x 8)
a2A4096-30umBAS 64(8 x 8)
a2A4096-30umPRO 64(8 x 8)
a2A4096-44g5cBAS 64(8 x 8)
a2A4096-44g5mBAS 64(8 x 8)
a2A4096-67cc 64(8 x 8)
a2A4096-67cm 64(8 x 8)
a2A4200-12gcBAS 16 (16 x 1)a
a2A4200-12gcPRO 16 (16 x 1)a
a2A4200-12gmBAS 16 (16 x 1)a
a2A4200-12gmPRO 16 (16 x 1)a
a2A4200-40ucBAS 16 (16 x 1)a
a2A4200-40ucPRO 16 (16 x 1)a
a2A4200-40umBAS 16 (16 x 1)a
a2A4200-40umPRO 16 (16 x 1)a
a2A4504-5gcBAS 64(8 x 8)
a2A4504-5gcPRO 64(8 x 8)
a2A4504-5gmBAS 64(8 x 8)
a2A4504-5gmPRO 64(8 x 8)
a2A4504-18ucBAS 64(8 x 8)
a2A4504-18ucPRO 64(8 x 8)
a2A4504-18umBAS 64(8 x 8)
a2A4504-18umPRO 64(8 x 8)
a2A4504-27g5cBAS 64(8 x 8)
a2A4504-27g5mBAS 64(8 x 8)
a2A4504-42cc 64(8 x 8)
a2A4504-42cm 64(8 x 8)
a2A4508-6gcBAS 16 (16 x 1)a
a2A4508-6gcPRO 16 (16 x 1)a
a2A4508-6gmBAS 16 (16 x 1)a
a2A4508-6gmPRO 16 (16 x 1)a
a2A4508-20ucBAS 16 (16 x 1)a
a2A4508-20ucPRO 16 (16 x 1)a
a2A4508-20umBAS 16 (16 x 1)a
a2A4508-20umPRO 16 (16 x 1)a
a2A5320-7gcBAS 64(8 x 8)
a2A5320-7gcPRO 64(8 x 8)
a2A5320-7gmBAS 64(8 x 8)
a2A5320-7gmPRO 64(8 x 8)
a2A5320-23ucBAS 64(8 x 8)
a2A5320-23ucPRO 64(8 x 8)
a2A5320-23umBAS 64(8 x 8)
a2A5320-23umPRO 64(8 x 8)
a2A5320-34g5cBAS 64(8 x 8)
a2A5320-34g5mBAS 64(8 x 8)
a2A5320-52cc 64(8 x 8)
a2A5320-52cm 64(8 x 8)
a2A5328-4gcBAS 64(8 x 8)
a2A5328-4gcPRO 64(8 x 8)
a2A5328-4gmBAS 64(8 x 8)
a2A5328-4gmPRO 64(8 x 8)
a2A5328-15ucBAS 64(8 x 8)
a2A5328-15ucPRO 64(8 x 8)
a2A5328-15umBAS 64(8 x 8)
a2A5328-15umPRO 64(8 x 8)
a2A5328-22g5cBAS 64(8 x 8)
a2A5328-22g5mBAS 64(8 x 8)
a2A5328-35cc 64(8 x 8)
a2A5328-35cm 64(8 x 8)
acA640-121gm Multiple ROI機能はサポートされていません
acA640-300gc Multiple ROI機能はサポートされていません
acA640-300gm Multiple ROI機能はサポートされていません
acA640-750uc Multiple ROI機能はサポートされていません
acA640-750um Multiple ROI機能はサポートされていません
acA720-290gc Multiple ROI機能はサポートされていません
acA720-290gm Multiple ROI機能はサポートされていません
acA720-520uc Multiple ROI機能はサポートされていません
acA720-520um Multiple ROI機能はサポートされていません
acA800-200gc Multiple ROI機能はサポートされていません
acA800-200gm Multiple ROI機能はサポートされていません
acA800-510uc Multiple ROI機能はサポートされていません
acA800-510um Multiple ROI機能はサポートされていません
acA1280-60gc Multiple ROI機能はサポートされていません
acA1280-60gm Multiple ROI機能はサポートされていません
acA1300-60gc Multiple ROI機能はサポートされていません
acA1300-60gm Multiple ROI機能はサポートされていません
acA1300-60gmNIR Multiple ROI機能はサポートされていません
acA1300-75gc Multiple ROI機能はサポートされていません
acA1300-75gm Multiple ROI機能はサポートされていません
acA1300-200uc Multiple ROI機能はサポートされていません
acA1300-200um Multiple ROI機能はサポートされていません
acA1440-73gc Multiple ROI機能はサポートされていません
acA1440-73gm Multiple ROI機能はサポートされていません
acA1440-220uc Multiple ROI機能はサポートされていません
acA1440-220um Multiple ROI機能はサポートされていません
acA1600-20gc Multiple ROI機能はサポートされていません
acA1600-20uc Multiple ROI機能はサポートされていません
acA1600-60gc Multiple ROI機能はサポートされていません
acA1600-60gm Multiple ROI機能はサポートされていません
acA1920-25gc Multiple ROI機能はサポートされていません
acA1920-25gm Multiple ROI機能はサポートされていません
acA1920-25uc Multiple ROI機能はサポートされていません
acA1920-25um Multiple ROI機能はサポートされていません
acA1920-40gc Multiple ROI機能はサポートされていません
acA1920-40gm Multiple ROI機能はサポートされていません
acA1920-40uc Multiple ROI機能はサポートされていません
acA1920-40ucMED Multiple ROI機能はサポートされていません
acA1920-40um Multiple ROI機能はサポートされていません
acA1920-40umMED Multiple ROI機能はサポートされていません
acA1920-48gc Multiple ROI機能はサポートされていません
acA1920-48gm Multiple ROI機能はサポートされていません
acA1920-50gc Multiple ROI機能はサポートされていません
acA1920-50gm Multiple ROI機能はサポートされていません
acA1920-150uc Multiple ROI機能はサポートされていません
acA1920-150um Multiple ROI機能はサポートされていません
acA1920-155uc Multiple ROI機能はサポートされていません
acA1920-155ucMED Multiple ROI機能はサポートされていません
acA1920-155um Multiple ROI機能はサポートされていません
acA1920-155umMED Multiple ROI機能はサポートされていません
acA2000-50gc Multiple ROI機能はサポートされていません
acA2000-50gm Multiple ROI機能はサポートされていません
acA2000-165uc Multiple ROI機能はサポートされていません
acA2000-165um Multiple ROI機能はサポートされていません
acA2040-25gc Multiple ROI機能はサポートされていません
acA2040-25gm Multiple ROI機能はサポートされていません
acA2040-25gmNIR Multiple ROI機能はサポートされていません
acA2040-35gc Multiple ROI機能はサポートされていません
acA2040-35gm Multiple ROI機能はサポートされていません
acA2040-55uc Multiple ROI機能はサポートされていません
acA2040-55um Multiple ROI機能はサポートされていません
acA2040-90uc Multiple ROI機能はサポートされていません
acA2040-90um Multiple ROI機能はサポートされていません
acA2040-90umNIR Multiple ROI機能はサポートされていません
acA2040-120uc Multiple ROI機能はサポートされていません
acA2040-120um Multiple ROI機能はサポートされていません
acA2440-20gc Multiple ROI機能はサポートされていません
acA2440-20gm Multiple ROI機能はサポートされていません
acA2440-35uc Multiple ROI機能はサポートされていません
acA2440-35ucMED Multiple ROI機能はサポートされていません
acA2440-35um Multiple ROI機能はサポートされていません
acA2440-35umMED Multiple ROI機能はサポートされていません
acA2440-75uc Multiple ROI機能はサポートされていません
acA2440-75ucMED Multiple ROI機能はサポートされていません
acA2440-75um Multiple ROI機能はサポートされていません
acA2440-75umMED Multiple ROI機能はサポートされていません
acA2500-14gc Multiple ROI機能はサポートされていません
acA2500-14gm Multiple ROI機能はサポートされていません
acA2500-14uc Multiple ROI機能はサポートされていません
acA2500-14um Multiple ROI機能はサポートされていません
acA2500-20gc Multiple ROI機能はサポートされていません
acA2500-20gcMED Multiple ROI機能はサポートされていません
acA2500-20gm Multiple ROI機能はサポートされていません
acA2500-20gmMED Multiple ROI機能はサポートされていません
acA2500-60uc Multiple ROI機能はサポートされていません
acA2500-60um Multiple ROI機能はサポートされていません
acA3088-16gc Multiple ROI機能はサポートされていません
acA3088-16gm Multiple ROI機能はサポートされていません
acA3088-57uc Multiple ROI機能はサポートされていません
acA3088-57ucMED Multiple ROI機能はサポートされていません
acA3088-57um Multiple ROI機能はサポートされていません
acA3088-57umMED Multiple ROI機能はサポートされていません
acA3800-10gc Multiple ROI機能はサポートされていません
acA3800-10gm Multiple ROI機能はサポートされていません
acA3800-14uc Multiple ROI機能はサポートされていません
acA3800-14um Multiple ROI機能はサポートされていません
acA4024-8gc Multiple ROI機能はサポートされていません
acA4024-8gm Multiple ROI機能はサポートされていません
acA4024-29uc Multiple ROI機能はサポートされていません
acA4024-29um Multiple ROI機能はサポートされていません
acA4096-11gc Multiple ROI機能はサポートされていません
acA4096-11gm Multiple ROI機能はサポートされていません
acA4096-30uc Multiple ROI機能はサポートされていません
acA4096-30ucMED Multiple ROI機能はサポートされていません
acA4096-30um Multiple ROI機能はサポートされていません
acA4096-30umMED Multiple ROI機能はサポートされていません
acA4096-40uc Multiple ROI機能はサポートされていません
acA4096-40ucMED Multiple ROI機能はサポートされていません
acA4096-40um Multiple ROI機能はサポートされていません
acA4096-40umMED Multiple ROI機能はサポートされていません
acA4112-8gc Multiple ROI機能はサポートされていません
acA4112-8gm Multiple ROI機能はサポートされていません
acA4112-20uc Multiple ROI機能はサポートされていません
acA4112-20ucMED Multiple ROI機能はサポートされていません
acA4112-20um Multiple ROI機能はサポートされていません
acA4112-20umMED Multiple ROI機能はサポートされていません
acA4112-30uc Multiple ROI機能はサポートされていません
acA4112-30ucMED Multiple ROI機能はサポートされていません
acA4112-30um Multiple ROI機能はサポートされていません
acA4112-30umMED Multiple ROI機能はサポートされていません
acA5472-5gc Multiple ROI機能はサポートされていません
acA5472-5gm Multiple ROI機能はサポートされていません
acA5472-17uc Multiple ROI機能はサポートされていません
acA5472-17ucMED Multiple ROI機能はサポートされていません
acA5472-17um Multiple ROI機能はサポートされていません
acA5472-17umMED Multiple ROI機能はサポートされていません
boA1936-400cc 64(8 x 8)
boA1936-400cm 64(8 x 8)
boA2448-250cc 64(8 x 8)
boA2448-250cm 64(8 x 8)
boA2832-190cc 64(8 x 8)
boA2832-190cm 64(8 x 8)
boA4096-93cc 64(8 x 8)
boA4096-93cm 64(8 x 8)
boA4096-180cc 64(8 x 8)
boA4096-180cm 64(8 x 8)
boA4112-68cc 64(8 x 8)
boA4112-68cm 64(8 x 8)
boA4500-45cc 8 (8 x 1)a
boA4500-45cm 8 (8 x 1)a
boA4504-100cc 64(8 x 8)
boA4504-100cm 64(8 x 8)
boA5120-150cc Multiple ROI機能はサポートされていません
boA5120-150cm Multiple ROI機能はサポートされていません
boA5120-230cc Multiple ROI機能はサポートされていません
boA5120-230cm Multiple ROI機能はサポートされていません
boA5320-150cc 64(8 x 8)
boA5320-150cm 64(8 x 8)
boA5328-100cc 64(8 x 8)
boA5328-100cm 64(8 x 8)
boA6500-36cc 8 (8 x 1)a
boA6500-36cm 8 (8 x 1)a
boA8100-16cc 8 (8 x 1)a
boA8100-16cm 8 (8 x 1)a
boA9344-30cc Multiple ROI機能はサポートされていません
boA9344-30cm Multiple ROI機能はサポートされていません
boA9344-70cc Multiple ROI機能はサポートされていません
boA9344-70cm Multiple ROI機能はサポートされていません
boA13440-17cm Multiple ROI機能はサポートされていません
daA720-520uc Multiple ROI機能はサポートされていません
daA720-520um Multiple ROI機能はサポートされていません
daA1280-54uc Multiple ROI機能はサポートされていません
daA1280-54um Multiple ROI機能はサポートされていません
daA1440-220uc Multiple ROI機能はサポートされていません
daA1440-220um Multiple ROI機能はサポートされていません
daA1600-60uc Multiple ROI機能はサポートされていません
daA1600-60um Multiple ROI機能はサポートされていません
daA1920-15um Multiple ROI機能はサポートされていません
daA1920-30uc Multiple ROI機能はサポートされていません
daA1920-30um Multiple ROI機能はサポートされていません
daA1920-160uc Multiple ROI機能はサポートされていません
daA1920-160um Multiple ROI機能はサポートされていません
daA2448-70uc Multiple ROI機能はサポートされていません
daA2448-70um Multiple ROI機能はサポートされていません
daA2500-14uc Multiple ROI機能はサポートされていません
daA2500-14um Multiple ROI機能はサポートされていません
daA3840-45uc Multiple ROI機能はサポートされていません
daA3840-45um Multiple ROI機能はサポートされていません
puA1280-54uc Multiple ROI機能はサポートされていません
puA1280-54um Multiple ROI機能はサポートされていません
puA1600-60uc Multiple ROI機能はサポートされていません
puA1600-60um Multiple ROI機能はサポートされていません
puA1920-30uc Multiple ROI機能はサポートされていません
puA1920-30um Multiple ROI機能はサポートされていません
puA2500-14uc Multiple ROI機能はサポートされていません
puA2500-14um Multiple ROI機能はサポートされていません

  1. Only rows can be defined.

サンプルコード#

// ** In this example, we define two regions in horizontal direction
// that will be transmitted as a single image. **
// Enable the ability to configure multiple columns
camera.BslMultipleROIColumnsEnable.SetValue(true);
// Select column 1
camera.BslMultipleROIColumnSelector.SetValue(BslMultipleROIColumnSelector_Column1);
// The first region should have a horizontal offset of 100 and a width of 300 pixels
camera.BslMultipleROIColumnOffset.SetValue(100);
camera.BslMultipleROIColumnSize.SetValue(300);
// Select column 2
camera.BslMultipleROIColumnSelector.SetValue(BslMultipleROIColumnSelector_Column2);
// The second region should have a horizontal offset of 500 and a width of 400 pixels
camera.BslMultipleROIColumnOffset.SetValue(500);
camera.BslMultipleROIColumnSize.SetValue(400);
// We only need one row, so disable the ability to configure multiple rows
camera.BslMultipleROIRowsEnable.SetValue(false);
// Both regions should have a vertical offset of 200 and a height of 500
camera.OffsetY.SetValue(200);
camera.Height.SetValue(500);
INodeMap& nodemap = camera.GetNodeMap();
// ** In this example, we define two regions in horizontal direction
// that will be transmitted as a single image. **
// Enable the ability to configure multiple columns
CBooleanParameter(nodemap, "BslMultipleROIColumnsEnable").SetValue(true);
// Select column 1
CEnumParameter(nodemap, "BslMultipleROIColumnSelector").SetValue("Column1");
// The first region should have a horizontal offset of 100 and a width of 300 pixels
CIntegerParameter(nodemap, "BslMultipleROIColumnOffset").SetValue(100);
CIntegerParameter(nodemap, "BslMultipleROIColumnSize").SetValue(300);
// Select column 2
CEnumParameter(nodemap, "BslMultipleROIColumnSelector").SetValue("Column2");
// The second region should have a horizontal offset of 500 and a width of 400 pixels
CIntegerParameter(nodemap, "BslMultipleROIColumnOffset").SetValue(500);
CIntegerParameter(nodemap, "BslMultipleROIColumnSize").SetValue(400);
// We only need one row, so disable the ability to configure multiple rows
CBooleanParameter(nodemap, "BslMultipleROIRowsEnable").SetValue(false);
// Both regions should have a vertical offset of 200 and a height of 500
CIntegerParameter(nodemap, "OffsetY").SetValue(200);
CIntegerParameter(nodemap, "Height").SetValue(500);
// ** In this example, we define two regions in horizontal direction
// that will be transmitted as a single image. **
// Enable the ability to configure multiple columns
camera.Parameters[PLCamera.BslMultipleROIColumnsEnable].SetValue(true);
// Select column 1
camera.Parameters[PLCamera.BslMultipleROIColumnSelector].SetValue(PLCamera.BslMultipleROIColumnSelector.Column1);
// The first region should have a horizontal offset of 100 and a width of 300 pixels
camera.Parameters[PLCamera.BslMultipleROIColumnOffset].SetValue(100);
camera.Parameters[PLCamera.BslMultipleROIColumnSize].SetValue(300);
// Select column 2
camera.Parameters[PLCamera.BslMultipleROIColumnSelector].SetValue(PLCamera.BslMultipleROIColumnSelector.Column2);
// The second region should have a horizontal offset of 500 and a width of 400 pixels
camera.Parameters[PLCamera.BslMultipleROIColumnOffset].SetValue(500);
camera.Parameters[PLCamera.BslMultipleROIColumnSize].SetValue(400);
// We only need one row, so disable the ability to configure multiple rows
camera.Parameters[PLCamera.BslMultipleROIRowsEnable].SetValue(false);
// Both regions should have a vertical offset of 200 and a height of 500
camera.Parameters[PLCamera.OffsetY].SetValue(200);
camera.Parameters[PLCamera.Height].SetValue(500);
/* Macro to check for errors */
#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)
GENAPIC_RESULT errRes = GENAPI_E_OK;  /* Return value of pylon methods */
/* ** In this example, we define two regions in horizontal direction */
/* that will be transmitted as a single image. ** */
/* Enable the ability to configure multiple columns */
errRes = PylonDeviceSetBooleanFeature(hdev, "BslMultipleROIColumnsEnable", 1);
CHECK(errRes);
/* Select column 1 */
errRes = PylonDeviceFeatureFromString(hdev, "BslMultipleROIColumnSelector", "Column1");
CHECK(errRes);
/* The first region should have a horizontal offset of 100 and a width of 300 pixels */
errRes = PylonDeviceSetIntegerFeature(hdev, "BslMultipleROIColumnOffset", 100);
CHECK(errRes);
errRes = PylonDeviceSetIntegerFeature(hdev, "BslMultipleROIColumnSize", 300);
CHECK(errRes);
/* Select column 2 */
errRes = PylonDeviceFeatureFromString(hdev, "BslMultipleROIColumnSelector", "Column2");
CHECK(errRes);
/* The second region should have a horizontal offset of 500 and a width of 400 pixels */
errRes = PylonDeviceSetIntegerFeature(hdev, "BslMultipleROIColumnOffset", 500);
CHECK(errRes);
errRes = PylonDeviceSetIntegerFeature(hdev, "BslMultipleROIColumnSize", 400);
CHECK(errRes);
/* We only need one row, so disable the ability to configure multiple rows */
errRes = PylonDeviceSetBooleanFeature(hdev, "BslMultipleROIRowsEnable", 0);
CHECK(errRes);
/* Both regions should have a vertical offset of 200 and a height of 500 */
errRes = PylonDeviceSetIntegerFeature(hdev, "OffsetY", 200);
CHECK(errRes);
errRes = PylonDeviceSetIntegerFeature(hdev, "Height", 500);
CHECK(errRes);
# ** In this example, we define two regions in horizontal direction
# that will be transmitted as a single image. **
# Enable the ability to configure multiple columns
camera.BslMultipleROIColumnsEnable.Value = True
# Select column 1
camera.BslMultipleROIColumnSelector.Value = "Column1"
# The first region should have a horizontal offset of 100 and a width of 300 pixels
camera.BslMultipleROIColumnOffset.Value = 100
camera.BslMultipleROIColumnSize.Value = 300
# Select column 2
camera.BslMultipleROIColumnSelector.Value = "Column2"
# The second region should have a horizontal offset of 500 and a width of 400 pixels
camera.BslMultipleROIColumnOffset.Value = 500
camera.BslMultipleROIColumnSize.Value = 400
# We only need one row, so disable the ability to configure multiple rows
camera.BslMultipleROIRowsEnable.Value = False
# Both regions should have a vertical offset of 200 and a height of 500
camera.OffsetY.Value = 200
camera.Height.Value = 500

pylon Viewerを使用して、パラメーターを簡単に設定することもできます。