bibigone/k4a.net

Mismatch between images from DepthImageToPointCloud and ColorImageToDepthCamera

Closed this issue · 1 comments

Creating a mesh result in a mismacthing between vertices and colors.
image

Images are inserted with the correct resolution.
transformation.DepthImageToPointCloud(capture.DepthImage, CalibrationGeometry.Depth, xyzImage);
transformation.ColorImageToDepthCamera(capture.DepthImage, capture.ColorImage, colorArrayImage);

Most likely, you're doing something wrong. You can find working code in WPF sample called K4AdotNet.Samples.Wpf.Viewer.