Patent attributes
A method for determining a location of a vehicle comprises acquiring a 2D-image, depicting vehicle surroundings, using a vehicle-based camera; classifying pixels in the image such that each classified pixel belongs to one class of a set of classes, thereby forming a classified 2D-image. The method further comprises determining an initial estimated vehicle location and defining possible vehicle locations based on the initial location; matching the classified 2D-image with a 3D-map comprising a plurality of geometric objects that each belong to one class of the set of classes, by comparing a classification of a geometric object in the 3D-map, for a possible vehicle location, with a classification of a corresponding at least one pixel in the classified 2D-image; determining a matching score for at least one possible vehicle location based on matched pixels of the 2D-image; and determining a vehicle location based on the score of the possible vehicle location.