Depth map completion method based on linear attention and cascade hourglass network
Патент · CN B
Полный текст
The invention relates to a depth map completion method based on linear attention and a cascade hourglass network, which comprises the following steps of inputting an image sample into a depth map processing model to obtain a dense depth map, wherein the image sample comprises an RGB image and a sparse depth map thereof, the depth map processing model comprises an RGB encoder for extracting multi-scale semantic features of the input RGB image, a depth passage for gradually downsampling the input sparse depth map to obtain a multi-scale depth feature map, the cascade hourglass network comprises a plurality of cascade hourglass modules, an alignment splicing module is embedded between two connected hourglass modules, and each stage of hourglass module is used for generating the dense depth map with a corresponding scale according to the current-scale depth feature maps before and after splicing and the multi-scale semantic features until the last stage of hourglass module outputs the final dense depth map. The invention can reduce the calculation cost and improve the calculation speed while ensuring the precision and the accuracy.