HRESULT:0x80004002(E_NOINTERFACE)时MapSkeletonPointToColorImagePoint [英] HRESULT : 0x80004002 (E_NOINTERFACE) when MapSkeletonPointToColorImagePoint

查看:132
本文介绍了HRESULT:0x80004002(E_NOINTERFACE)时MapSkeletonPointToColorImagePoint的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天使用Kinect SDK 1.8时遇到了问题。我尝试使用CoordinateMapper的MapSkeletonPointToColorImagePoint将骨架点更改为彩色图像点。坐标映射器是从预先存储的文件创建的。当我使用
MapSkeletonPointToDepthImagePoint时,一切都找到了,但是当我改为MapSkeletonPointToColorImagePoint时,我得到了HRESULT:0x80004002(E_NOINTERFACE)错误。

Hi, I met a problem when using Kinect SDK 1.8 today. I tried to use MapSkeletonPointToColorImagePoint of CoordinateMapper to change skeleton point to color image point. The coordinatemapper is created from a file which was stored in advance. When I used MapSkeletonPointToDepthImagePoint, everything was find, but I got HRESULT : 0x80004002 (E_NOINTERFACE) error when I changed to MapSkeletonPointToColorImagePoint.

我的coordinatemapper是作为全局属性创建的,而MapSkeletonPointToColorImagePoint用在一个线程中。我使用BackgroundRemoval库来获取颜色,深度和骨架图像,并打开所有流。 BackgroundRemoval库使用MapSkeletonPointToDepthImagePoint处理
罚款。

My coordinatemapper was create as a global property while MapSkeletonPointToColorImagePoint was used in a thread. I used BackgroundRemoval library to get color, depth and skeleton image and all the streams were opened. The BackgroundRemoval library worked fine with MapSkeletonPointToDepthImagePoint.

任何人都知道这个问题的潜在解决方案。

Anyone knows the potential solutions for this problem.

谢谢。

推荐答案

CoordinateMapper是KinectSensor对象的一个​​对象。 KinectSensor对象是以任何方式发布的吗?它是在该线程上创建的,还是作为引用传递的?

CoordinateMapper is a object of the KinectSensor object. Was the KinectSensor object released in any way? Was it created on that thread, or passed as a reference?


这篇关于HRESULT:0x80004002(E_NOINTERFACE)时MapSkeletonPointToColorImagePoint的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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