OBTAINING A DEPTH MAP
DRIVE
April 8, 2026
The present description concerns a method comprising: a) for each pixel of a depth map: a1) acquire samples (100) and calculate a distance (102), and a2) define a window of N*N pixels (104) with this pixel at the center, N being an odd integer greater than or equal to 3; b) for each window: b1) classify the pixels of the window into groups (106), on the basis of a threshold and the calculated distances, and b2) calculate, for each group, a number of pixels in the group (108), a confidence parameter of the group (108) equal to a sum of the confidence parameters of the pixels each determined from the samples acquired for the pixel, and b3) traverse the window starting from the central image pixel (110) by comparing, for each pixel, the confidence parameter of the pixel's group to a threshold and the number of pixels of the pixel's group to another threshold, and determine whether the central pixel is kept or replaced or deleted based on the comparisons.
Discussion in the ATmosphere