ICoordinateMapper一致性? [英] ICoordinateMapper Consistency?

查看:106
本文介绍了ICoordinateMapper一致性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ICoordinateMapper的结果是否会在每个设备的运行时间内发生变化(不处理设备断开等奇怪的情况)?

Do the results of the ICoordinateMapper ever change during run-time per device (not handling weird cases like the devices being disconnected)?

我想建立一个UV场,以便我可以在颜色和深度帧之间进行映射。建立每个帧的UV场是相对昂贵的,每个传感器打开一次就可以填充一次吗?

I would like to build a UV field so that I can map between Color and Depth Frames between each other. Building up the UV field is relatively expensive to do every frame, would it be fine to populate it once per sensor open?

推荐答案

正确的方法实现这将是订阅CoordinateMappingChanged事件。您不希望在传感器打开时正确执行此操作,因为数据是从设备读取的,并且在打开后稍微不可用。 此外,如果您从KS回放数据,
,您将获得更改(因为我们将在执行原始录制的传感器的坐标映射参数中出错)。 
The correct way to implement this would be to subscribe to the CoordinateMappingChanged event. You don't want to do it right at sensor open, as the data is read from the device and will not be available until slightly after open.  Also, if you play back data from KS, you will get a change (as we will fault in the coordinate mapping parameters from the sensor that did the original recording). 

这篇关于ICoordinateMapper一致性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆