什么是时间戳实际意味着什么? [英] What's the timestamp actually mean?

查看:377
本文介绍了什么是时间戳实际意味着什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有IDepthFrame,IBodyFrame,IColorFrame,IInfraredFrame接口都有一个名为"get_RelativeTime"的成员,MSDN中的描述只是"获取*帧的时间戳"(对于

body frame,  
颜色框  和   深度框架)或"获取
**框架的来源"(对于红外框架)。我很困惑,时间戳是什么意思,什么时候生成的时间戳? 

解决方案

时间戳只是一个参考时间框架的价值。除了它是与Kinect运行时相关的唯一定时值之外,您无法从中推断出任何内容。该值表示TimeSpan值,以100ns为增量进行测量。


它的用途可以是确定帧之间的增量时间,以确保获得30fps(或15fps颜色),因为增量应为33ms。此外,如果您要比较深度/红外线/身体数据和颜色帧,如果有一个大的增量,以了解
颜色框架是否在您正在分析的当前帧的前面或后面。 


All the IDepthFrame, IBodyFrame, IColorFrame, IInfraredFrame interface have a member called "get_RelativeTime", and the description in MSDN simply is "Gets the timestamp of the * frame"(for body frame, color frame and  depth frame) or "Gets the source of the ** frame"(for infrared frame). I'm confused, what's the timestamp really mean and when's the timestamp generated? 

解决方案

The timestamp is just a reference time value for the frame. You cannot deduce anything from it other than it is a uniquely timed value in relation to the Kinect runtime. The value represents a TimeSpan value that is measured in 100ns increments.

Its uses can be to determine delta time between frames to ensure you are getting 30fps(or 15fps color) since the delta should be 33ms. Also, if you are comparing against depth/ir/body data and the color frames if there is a large delta to know if the color frame is ahead or behind the current frame you are analyzing. 


这篇关于什么是时间戳实际意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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