Integral Image normal estimation from kinect depth image

China☆狼群 提交于 2019-12-03 21:15:59

For this case, the answer was to do this:

    if (depthImage.at<int16_t>(v, u) == 0) {
        p.z = NAN;
    }

If the pixel has invalid depth (0 in this case) we must set it to NAN for pcl to recognize this

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