Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Resize kinect data

$
0
0
Hi, I have a 512x424 CV16U image which is the depth data of the kinect2. I want to resize it to 640x480 interpolating it. I tried with cv::resize(depth, depth_resized, cv::Size(640,480)) but the image becomes black :( Just to check if everything is correct I copied the original image in a bigger mat (640x480) and it works depth.copyTo(depth_resized(cv::Rect(64, 28, 512, 424))); I think that the interpolation process is interpolating the data as if it was 8bit instead of 16. Thanks

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>