Created
April 10, 2013 15:44
-
-
Save Daiver/5355777 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cv::Mat res = cv::Mat::zeros(depth_map.rows, depth_map.cols, depth_map.type()); | |
for(int i = 0; i < depth_map.rows; i++) | |
{ | |
for(int j = 0; j < depth_map.cols; j++) | |
{ | |
res.at<uchar>(i, j) = depth_map.at<uchar>(i, j); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment