我用开启了自动曝光模式的Kinect捕捉RGBD视频。我正在使用OpenNI/OpenNI2。由于自动曝光,每帧的曝光时间可能会有所不同。在OpenNI或OpenNI2中,有没有办法读出每一帧的曝光时间?
发布于 2015-12-09 17:20:59
在OpenNi2中,您可以使用RGB流的VideoStream::getCameraSettings()
。然后使用CameraSettings::getExposure()
。
int exposure = -1;
openni::CameraSettings* pCamSettings = pStreamImage->getCameraSettings();
if (pCamSettings)
{
exposure = pCamSettings->getExposure();
}
https://stackoverflow.com/questions/34174188
复制相似问题