视差图初始化 1 对图像下采样 2 TriangulatePoints2DepthMap(对稀疏点三角化、栅格化、对depthMap进行插值) 3 三角网格栅格化 本文讲的是TSGM的视差图初始化,采用稀疏点云对depth进行初始化,与patchMatch初始化一样。 1 对图像下采样 Image leftImageLevel(leftImage.GetImage(scene.platforms, scale*0.5, false));//leftImageLevel:根据scale和platform,leftImage得到的resize图像(scale*0.5:做了上采样) DepthData::ViewData image