【问题标题】:Get exposure time in OpenNI在 OpenNI 中获取曝光时间
【发布时间】:2015-12-09 17:20:58
【问题描述】:

我使用 Kinect 拍摄 RGBD 视频,并开启了自动曝光模式。我正在使用 OpenNI/OpenNI2。由于自动曝光,每帧的曝光时间可能会有所不同。在 OpenNI 或 OpenNI2 中,有没有办法读出每一帧的曝光时间?

【问题讨论】:

    标签: kinect openni


    【解决方案1】:

    在 OpenNi2 中,您可以使用 RGB 流的VideoStream::getCameraSettings()。然后使用CameraSettings::getExposure()

    int exposure = -1;
    openni::CameraSettings* pCamSettings = pStreamImage->getCameraSettings();
    if (pCamSettings)
    {
        exposure = pCamSettings->getExposure();
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-01-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-13
      • 2023-04-08
      • 1970-01-01
      相关资源
      最近更新 更多