Patent attributes
A method, an apparatus and a program for automatic generation of secondary class annotations. The method comprises obtaining a plurality of images of an environment, each of which comprising objects in the environment. Some of the objects are annotated, while other objects are not. The method comprises aligning the plurality of images to a common coordinates system and computing a plurality of weighted images by adding weights to regions in the plurality of images that are associated with annotated objects to reduce significance of such regions. The method further comprises generating, based on the plurality of weighted images, a background model of the environment by determining for each region in the common coordinates system a statistical metric representing a visual feature of a background of the environment. The background model is then utilized to identify the non-annotated objects and adding an annotation for each identified object.