- 39
- 0
- 约7.98千字
- 约 11页
- 2016-04-12 发布于安徽
- 举报
KinectSDK1.0OpenCV显示彩色、深度、骨骼图.doc
Kinect SDK1.0 OpenCV显示彩色、深度、骨骼图
// Win32TestPure.cpp : 定义控制台应用程序的入口点。
#include stdafx.h
#include windows.h
#include opencv2\opencv.hpp
#include mmsystem.h
#include assert.h
#include strsafe.h
#include NuiApi.h
using namespace cv;
using namespace std;
#define COLOR_WIDTH 640
#define COLOR_HIGHT 480
#define DEPTH_WIDTH 320
#define DEPTH_HIGHT 240
#define SKELETON_WIDTH 640
#define SKELETON_HIGHT 480
#define CHANNEL 3
BYTE buf[DEPTH_WIDTH*DEPTH_HIGHT*CHANNEL];
int drawColor(HANDLE h);
int drawDepth(HANDLE h);
int drawSkeleton();
//-----------------------------------------------------------
原创力文档

文档评论(0)