For better visualization, you can do the following conversion
// For color framecv::cvtColor(colorMat, colorMat, cv::COLOR_BGR2RGB);// For depth framedepthMat.convertTo(depthMat, CV_8U,255.0/1024.0);cv::applyColorMap(depthMat, depthMat, cv::COLORMAP_JET);// For IR frameirMat.convertTo(irMat, CV_8U,255.0/1024.0);