Set cv::Mat with data from pmdGetDistances.