Kinect mapping color image to depth image in MATLAB

自古美人都是妖i 提交于 2019-11-29 16:47:05

Why can't you fit the Z-depth to the RGB?

To fit the low res image to the high- res should be easy, as long as both represent the same size of data (i.e. corners of both images are the same point)

It should be as easy as:

Z_interp=imresize(Zimg, [size(RGB,1) size(RGB,2)])

Now Z_interp should have the same amount of pixels as RGB


If you still want to do it the other way around, well, use the same approach:

RGB_interp=imresize(RGB, [size(Zimg,1) size(Zimg,2)])

The Image Acquisition Toolbox now officially supports Kinect v2 for Windows. You can get a point cloud out from Kinect using pcfromkinect function in the Computer Vision System Toolbox.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!