The present invention is related to a method and an apparatus for identifying an object in an image or in a sequence of images. More particularly, the invention is related to a method and an apparatus for identifying an object in an image or in a sequence of images, which makes use of superpixels.
A number of approaches exist to identify objects in 2D or 3D video sequences or in single images. For example, face recognition is state of the art for compact cameras, i.e. it is already implemented as a real-time application for low performance CPUs. However, all these algorithms are usually dedicated to specific applications. More general approaches typically require very sophisticated algorithms and an increased processing power.
It is hence an object of the present invention to propose a simplified and less demanding solution for identifying an object in an image or in a sequence of images.
According to the invention, this object is achieved by a method for identifying an object in an image or a sequence of images, which comprises the steps of:
Similarly, an apparatus for identifying an object in an image or a sequence of images comprises:
The solution according to the invention combines two different approaches to identify an object in a 2D or 3D or multi-view image sequence or in a single image. First the one or more images are segmented into superpixels. Then either the user marks those superpixels which shall be investigated further, or a set of grouped superpixels belonging to an object is automatically detected. The automatic detection is based, for example, on a temporal analysis of the superpixels in case of a sequence of images, on a spatial analysis of the two or more images of a set of stereoscopic or multi-view images, or on other image analysis procedures. In any case, once the set of superpixels to be identified is known, a list of characteristics of this set of superpixels is built. These characteristics are sent as a query to a special superpixel object database, which determines the most appropriate object for these characteristics. The identified type of object is then sent back to the user. The invention makes use of the finding that most objects have a characteristic set of superpixels. It is thus possible to identify an object in an image or an image sequence based on the superpixels. As databases are continuously getting larger and all-embracing, the growing search engine power enables a convenient object search tool for set-top boxes, smartphones, tablets similar devices.
Advantageously, additional information is sent to the superpixel object database, e.g. metadata about the image or the sequence of images containing the object to be identified. An example of such metadata are the title of a movie, a list of actors in the movie or the like. These additional metadata help to stabilize the classification, as they will to a certain extent exclude incorrect classifications. Also the temporal movement of the observed object may be analyzed and transmitted to the database to improve the search results.
For a better understanding the invention shall now be explained in more detail in the following description with reference to the figures. It is understood that the invention is not limited to this exemplary embodiment and that specified features can also expediently be combined and/or modified without departing from the scope of the present invention as defined in the appended claims. In the figures:
The generation of superpixels, or rather superpixel maps, and their use for object recognition is at present under consideration for image processing. For example, the article X. Ren et al.: “Learning a Classification Model for Segmentation”, 9th IEEE International Conference on Computer Vision (ICCV 2003), pp. 10-17, describes oversegmentation of an image into superpixels to reduce the complexity of images.
Further examples of images that are segmented into superpixels are illustrated in
A method according to the invention is schematically illustrated in
An apparatus 20 according to the invention is shown in
The search result may cover different types of information, such as a coarse classification of the object (e.g. animal); a more specific classification (e.g. zebra); an alternative classification (e.g. quagga); where this object is seen elsewhere in the currently viewed movie (i.e. time stamps); or other movies with such an object (e.g. other movies with Humphrey Bogart). Together with the classification a probability value of the classification may also be provided.
A huge variety of different different objects may be detected, such as faces of actors; types of animals; names of famous castles or buildings; the address of a house in a broadcast film or documentation or news, etc., by marking the front view of the house; car types; movie titles, e.g. by marking parts of the final credits of a movie; special signs of towns, vehicle registration plates, signs on buildings, etc. to identify a location; paintings and other objects of art, e.g. a statue; brands of products, e.g. to obtain additional information about the products; tree type, leaf type, fruit type etc.; bottle type, e.g. to identify a type of wine.
Different approaches are used to support the search. The device preferably optimizes the superpixel generation by taking care of the temporal movements of the objects. For this purpose the boundaries of the superpixels preferably coincide with object boundaries. This simplifies the object selection. However, it is not necessary to have a perfect “cut” of the objects, i.e. it is less relevant whether a marked face is encircled by hair or not. The movement of the grouped superpixels may have characteristic behavior, which helps to identify the type of object. For example, a car moves differently than a human, a human differently than an antelope, an antelope differently than an eagle, etc. In addition, the type of movement may give a hint on the state of the object, e.g. whether an antelope is running, standing, eating, or lying down. This analysis is advantageously performed by the device and sent as metadata to the search engine.
Number | Date | Country | Kind |
---|---|---|---|
12305317.5 | Mar 2012 | EP | regional |
12305534.5 | May 2012 | EP | regional |