Kinect mapping color image to depth image in MATLAB

前端 未结 2 1904
时光取名叫无心
时光取名叫无心 2020-12-21 22:34

I have collected data using Kinect v2 sensor and I have a depth map together with its corresponding RGB image. I also calibrated the sensor and obtained the rotation and tra

相关标签:
2条回答
  • 2020-12-21 23:29

    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.

    0 讨论(0)
  • 2020-12-21 23:31

    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)])
    
    0 讨论(0)
提交回复
热议问题