跳转到内容

Component Selector#

组件选择器功能使您可以选择相机传输的组件。

Basler blaze 相机生成基于帧的数据流。每个帧由一个或多个组件组成。对于每个单独的组件,您可以选择一种 Pixel Format 来控制如何表示组件的数据。

组件#

可以使用以下组件:

  • Range
    When enabling the Range component, each frame contains depth information. Using the PixelFormat parameter you can control whether the depth information is represented as a depth map or as a point cloud. A depth map uses gray values to represent the distance between the target and the camera per pixel. The depth map output by the blaze camera uses gray values to represent the distance between the target and the image plane (an imaginary plane that passes through the optical center of the camera and is parallel to the sensor). A point cloud is a set of 3D coordinates. In a point cloud, each pixel is assigned (x,y,z) coordinates in the camera's coordinate system.
  • 强度
    启用“强度”组件时,会将强度图像添加到相机生成的每个数据帧中。强度图像将反射光脉冲的亮度显示为每个像素 16 位整数值。从技术上讲,这是一个振幅图像,因为它仅包含光的近红外部分,而所有环境光都被滤除了。
    由于相机发出的光的波长对此有影响,因此强度图像可能与人对目标场景的感知有所不同。
    强度图像对于检查图像中的过饱和/未饱和像素很有用。为避免这些情况,请尝试更改曝光时间或相机位置,然后检查图像是否有所改善。
  • Confidence
    When enabling the Confidence component, a confidence map is added to each data frame the camera generates. The confidence map is a visual representation of how reliable the depth map data is. The more light is collected for a pixel, the higher the confidence value. If no reliable depth data is available, a pixel is set to zero in the confidence map.
    Using the ConfidenceThreshold parameter, you can control which depth data is considered reliable.

选择组件#

You can choose which component you want the camera to transmit by enabling the respective component using the ComponentSelector parameter.

要启用组件:

  1. Set the ComponentSelector parameter to the desired component:

    • Range: The Range component will be selected.
    • Intensity: The Intensity component will be selected.
    • Confidence: The Confidence component will be selected.
  2. Set the ComponentEnable parameter to true.

  3. Set the PixelFormat parameter to the desired pixel format for the component.
  4. 如果需要,请对其他组件重复执行上述步骤。