摘要 |
The invention discloses an image depth extraction method, which comprises the following steps of: (1) performing Gaussian fuzzy processing on an original image to be processed to obtain N fuzzy images, wherein N is more than or equal to 2; (2) detecting the edges of the original image and the N fuzzy images to obtain an edge image of each image; (3) calculating the corresponding fuzzy parameter estimation value of each pixel point under each Gaussian filtering parameter on the edges based on the edge images; (4) analyzing N fuzzy parameter estimation values of each pixel point on the edges by using a statistical method to obtain an optimal fuzzy parameter estimation value of each pixel point on the edges; (5) calculating the depth value of each pixel point on the edges in the images according to the optimal fuzzy parameter estimation value of each pixel point on the edges to obtain a sparse depth map; and (6) performing interpolation processing on the sparse depth map to obtain a dense depth map. Compared with a method in the prior art, the method has the advantages that high-accuracy fuzzy parameters can be obtained, so that a depth value obtained through subsequent calculation has high accuracy. |