Patent attributes
There is provided a method and system of depth map generation, including obtaining a pair of images during a relative movement between a vehicle and an imaging device; obtaining a segmentation map including one or more segments corresponding to one or more vehicle components; dividing the pair of images into one or more sections according to the segmentation map; and, for each given section, generating a depth map comprising: i) calculating a disparity map for the given section, the disparity map indicative of difference of location between each pixel in the given section in the first image and a matching pixel thereof in the second image, the matching pixel searched in a range defined within the same segment to which the pixel belongs; and ii) computing a depth map for the given section based on the disparity map.