【发布时间】:2014-03-27 03:54:13
【问题描述】:
上周我试图让我的 C# 程序同时显示深度提要和 RGB 提要(类似于 /Samples/Bin64/Release/NiViewer64.exe 在窗口中显示这两个提要)。
项目规范:C# - VS2013 Express OpenNI - 使用修改后的 SimpleViewer.net(有两个深度提要)。华硕 Xtion Pro Live
我希望其中一个提要成为普通的相机提要,而不是深度提要。
我猜这与此有关:
MapOutputMode mapMode = this.depth.MapOutputMode;
this.bitmap = new Bitmap((int)mapMode.XRes, (int)mapMode.YRes,System.Drawing.Imaging.PixelFormat.Format24bppRgb);
有什么想法吗?
【问题讨论】: