About the display of depth map

In the multiview reconstruction example, I tried to display the depth map on the interface, but failed.
I want to know whether I need to call the function to display or my own constructor. I see that the color image uses M_ colorImg。

QImage image(m_colorImg[i]->data(), cw, ch, QImage::Format_RGB888);
m_imgLabel[i]->setPixmap(QPixmap::fromImage(image).scaled(cw, ch, Qt::IgnoreAspectRatio, Qt::SmoothTransformation));

	So I want to know how to display the depth map and scene map (that is, I calibrate the display and adjust the volume display)