METHOD AND APPARATUS FOR REPRESENTING AND SEARCHING FOR AN OBJECT IN AN IMAGE

Abstract: A method of representing an object appearing in an image, the method comprising deriving a plurality of view descriptors of the object, each view descriptor corresponding to a different view of the object, and associating the two or more view descriptors, the method comprising indicating for each view descriptor when the respective view corresponds to a view of the object appearing in the image.

Description: Method and Apparatus for Representing and Searching for an Object in an Image The present invention relates to a method and apparatus for representing an object in an image, especially for use in searching, for example, in a multimedia database. The invention also relates to a method and apparatus for searching for an object in an image. It is known to store still or video images, for example in image libraries, using representations of objects appearing in images. The representations are used in searching methods to enable images containing objects of interest to be retrieved. The representations may be based on various features of the objects, including colour, texture and shape. Various methods for representing shapes of objects in images are known. Known methods include chain coding, the quad-tree method and the curvature scale space representation method. To perform a search in a image searching system, a user inputs a query by presenting the system with a sketch or image of the object sought, or by selecting a view of an object stored on the system. The system then derives or obtains a representation of the query object and compares the query representation with the representations of images stored in the database using an appropriate matching method. The closest matches are displayed on a display unit. In most cases, an object as it appears in a video image is a projection of a 3-dimensional real object onto a 2-dimensional image plane. The 2- dimensional shape or outline of an object, and the colours and texture of the visible object surface, appearing in an image thus depend on factors such as the viewing position, viewing angle and camera and optical system parameters. Objects will therefore have different features such as outline, shape, colour, texture etc associated with different views. Our co-pending patent application, PCT/GB00/01662, the contents of which are incorporated herein by reference, discloses a method and apparatus for representing an object appearing in an image where representations of an object in a plurality of different 2-dimensional views are derived and associated to form an object representation. Preferably, the representations are of the shape of the object, but they may, for example, be of colour or texture in different views. When applying the above-mentioned method to an object within a still image or a movie etc., there will be several shape or other descriptors associated with an image to represent the object features associated with different views. However, typically any one of these views will be visible within the original image. Some of the features may be associated with the non- visible parts of the object and are only for describing the 3D properties of the object. If one cannot determine which of the multiple views of the object are visible and which are not, the search method will not be able to find exactly specified views. For example, a search for an image depicting a car, using a side view, will also find top and front views of cars. The inventive idea is to use visibility flags which state which descriptors actually relate to visible features within the image or movie to which the descriptors are linked. Accordingly, the present invention provides a method of representing an object appearing in an image, the method comprising deriving a plurality of view descriptors of the object, each view descriptor corresponding to a different view of the object, and indicating when a view corresponds to a view of the object appearing in the image. In the invention disclosed in PCT/GB00/01662 shape descriptors are associated with objects present within a piece of multi-media content. Such descriptors described the shape of the object from different views. These views can be either visible within the multi-media material or not. The visibility flag will store this visibility information. When the visibility data for each view is available the search method is able to filter out the objects with non- visible views when required. An embodiment of the invention will be described with reference to the accompanying drawings of which: Fig. 1 is a block diagram of a system according to an embodiment of the invention; Fig. 2 is a diagram illustrating representation of an object in a video sequence; Fig. 3 is a diagram illustrating representation of an object in a still image; Fig. 4 is a diagram illustrating results of a first search method; Fig. 5 is a diagram illustrating results of a second search method. A system according to an embodiment of the invention is shown in Fig. 1. The system includes a control unit 2 such as a computer for controlling operation of the system, a display unit 4 such as a monitor, connected to the control unit 2, for displaying outputs including images and text, and a pointing device 6 such as a mouse for inputting instructions to the control unit 2. The system also includes an image database 8 storing digital versions of a plurality of still images and groups of images in the form of video sequences and a descriptor database 10 storing descriptor information, described in more detail below, for objects appearing in each of the still images and video sequences stored in the image database 8. Each of the image database 8 and the descriptor database 10 is connected to the control unit 2. In this embodiment, the elements of the system are provided on a single site, such as an image library, where the components of the system are permanently linked. A method of deriving a descriptor for an object according to an embodiment of the invention will be described below. The method will be described first for an object having a relatively simple shape, in this case a cylindrical object. In this example, in a video sequence stored in the image database 8, the cylindrical object appears twice. Referring to Fig. 2, in the first appearance, the object outline corresponds to view 1, that is a view from the side and in the second appearance, the object outline corresponds to view 3, that is a perspective view from the side and above. The database indexer recognises that the two outlines are of the same object and that the 3-dimensional object corresponding to those outlines is a cylinder. For each of view 1 and view 3, shape descriptors using the curvature scale space (CSS) representation are derived. Also, the database indexer selects any additional views that are deemed representative of the object, even if they do not appear in the video sequence under consideration. In this example, view 2, which is a view of a cylinder from above, is selected as representative. A CSS representation of that view is also obtained. The paper "Robust and Efficient Shape Indexing through Curvature Scale Space" by Farzin Mokhtarian, Sadegh Abbassi and Josef Kittler, Proc. British Machine Vision Conference, pp. 53-62, Edinburgh, UK 1996 describes a method of curvature scale space representation and is incorporated herein by reference. Briefly, a curve representing the outline of a shape is evolved by smoothing the curve. The curve is considered at a number of different stages in the evolution. More specifically, the curvature zero crossings are identified in a curvature function at each of the stages of the evolution. A graph of the curvature zero crossings is obtained by combining zero crossing from all stages of the evolution. One axis of the graph corresponds to σ which represents the evolution parameter of the curve and the other axis corresponds to a curve arc length parameter u. A shape is then represented by the locations of the maxima of the contours in the graph. For each view, a view descriptor is formed, including the appropriate CSS representation. The view descriptor may include other information, such as a global parameter, as described in PCT/GB00/01662, or colour/texture properties of the corresponding visible surfaces. The view shape descriptors are combined to form a 3D object shape descriptor. In addition, visibility flags indicating whether or not a given view is visible in at least one frame in the video sequence are associated with the object descriptor. In this example, the visibility flag forms part of each view descriptor. Thus, here the view descriptor of each of view 1 and view 3 includes a visibility flag '1 ' indicating that the view is visible in a frame of the video, and the view descriptor of view 2 has a visibility flag O', indicating that the view is not visible in any frame. 3D object shape descriptors are obtained in the above manner for all objects of interest appearing in images or groups of images in the image database 8. As another example, referring to Fig. 3, three views are derived for a car appearing in a photograph. Corresponding view descriptors, including a CSS representation, are obtained as described above for the car outline in each view. The first view corresponds to the view in the photograph and thus the associated view descriptor has visibility flag ', indicating a visible view. The view descriptors for the other two views have visibility flags T)', indicating that they correspond to views which are not shown in the photograph. In this example, the visibility flags are determined when extracting the outlines from the photograph. In other words, if a shape is extracted directly from the photograph, then it is given a visibility flag of 1', but if the shape is chosen by the indexer, then it has a visibility flag of O\ Alternatively, the visibility flags can be added later manually by inspection. Each view descriptor also has a reference pointer indicating in which image or which frame in which video sequence it appears, and also which object in the image or frame it is, for example, a view of an object may have a pointer indicating that it appears in frame 1000 of video 181 and it is object number 3. The descriptor database 10 stores the 3D object shape descriptors for the objects in images and video sequences stored in the image database 8. In the embodiment described above, for an object appearing in a video sequence, one set of view descriptors are derived for the entire sequence, and the view descriptors are used to indicate whether or not the associated view appears in at least one frame of the sequence. In an alternative embodiment, each frame is treated separately. In more detail, a set of view descriptors are derived for an object appearing in the frame, and the visibility flags indicate whether or not the associated view appears in that frame, irrespective or whether or not it appears in another frame of the sequence. In another alternative embodiment, one set of view descriptors are derived for an object appearing in the video sequence, and a set of corresponding visibility flags are derived and stored for each frame. The visibility flags are used in a method of searching for an object in an image, as described below. The user initiates a search by inputting a query. The query is input by using the pointing device 6 to draw one or more shape outlines on the display unit 4. The control unit 2 then derives the CSS view descriptor for the query view. Alternatively, the user may input a query by selecting a query shape or shapes from a menu of shapes displayed on the display unit 4 by the control unit 2. In such a case, the view descriptors may already be available in the descriptor database 10. The user also indicates, by checking a box, whether or not the search should be limited to views which are the same as the query view. If the search is not so limited, then a search and matching procedure is performed essentially as described in PCT/GB00/01662, by determining the similarity between the query object descriptor and the object descriptors stored in the descriptor database 10, hereinafter described as model object descriptors. Briefly, each query view descriptor is compared with each model view descriptor for the model object descriptor under consideration in a comparator using a matching function to derive view-similarity measures. A comparison of an ith query view descriptor and the jth model view descriptor results in a view similarity measure sy. When there is more than one query view, the median of the view similarity measures is taken as an object similarity measure S. The matching procedure results in n similarity measures S, where n is the number of 3D object descriptors in the descriptor database. The n similarity measures are then ordered starting from the lowest value which indicates the closest match. The m lowest values, where m is a value selected by the user or determined by the set-up of the control unit, are then selected, and the corresponding m images, (some of which may be an image from a video sequence) including the object is displayed on the display unit 4. If the search is limited to views which are the same as the query view, then non-visible model views are filtered out during the searching process. This can be done by matching the query view descriptor using the matching function only with the model view descriptors which indicate that the corresponding view is visible in an image. In other words, when calculating the similarity measure using the matching function, model view descriptors having visibility flag O' are omitted. Alternatively, view similarity measures may be calculated for all model view descriptors, but results for model view descriptors for which the visibility flag is zero are then omitted from further processing. Alternatively, the visibility flag can be considered when selecting the search results for display. When displaying the results of the matching procedure, in the case of a video sequence, the frame containing the matched view is displayed Figure 4 shows an example of how the multiple views searching method disclosed in PCT/GBOO/01662 finds and returns results which are of the same shape but are not of the same view as the query item. Figure 5 on the other hand shows how the visibility flag within each of the view descriptors can help return results which are of the same shape and the same view as the query item. A system according to the invention may, for example, be provided in an image library. Alternatively, the databases may be sited remote from the control unit of the system, connected to the control unit by a temporary link such as a telephone line or by a network such as the internet. The image and descriptor databases may be provided, for example, in permanent storage or on portable data storage media such as CD-ROMs or DNDs. Components of the system as described such as the selectors and comparators may be provided in software or hardware form. Although the invention has been described in the form of a computer system, it could be implemented in other forms, for example using a dedicated chip. Specific examples have been given of methods of representing a 2D shape of an object and of methods for calculating values representing similarities between two shapes but any suitable such methods can be used. The various views of an object making up the complete or quasi- complete shape description may, for example, be provided by the film producer. For example, in a film including a car, the producer may arrange for 20 different views of the car to be shot for use in indexing the film in the database. Alternatively, a link may be provided between all the different views of an object in a sequence to enable the views to be found, and the shape for any useful views not appearing in the sequence may, for example, be provided when data for the first view of the object is included. The invention can also be used, for example, for matching images of objects for verification purposes, or for filtering. The invention is applicable to single images, and images in a sequence of images, such as images from a film or a video, or a collection of images that are associated in some way, such as being on the same web page. In the embodiments described above, view descriptors are derived from the shape of the object in different views. The view descriptors can be derived from other features of the object, such as the colour or texture, either instead of or as well as from shape. Various features of the object, such as shape, colour, texture, can form the basis of the view descriptors alone or in combination, and view descriptors can be based on different features for different views.

Claims: Claims 1. A method of representing an object appearing in an image, the method comprising deriving a plurality of view descriptors of the object, each view descriptor corresponding to a different view of the object, the method comprising indicating for each view descriptor when the respective view corresponds to a view of the object appearing in the image. 2. A method as claimed in claim 1 comprising associating a flag with each view descriptor to indicate whether or not the respective view corresponds to a view of the object appearing in the image. 3. A method of representing an object appearing in a group of images, the method comprising deriving a plurality of view descriptors of the object, each view descriptor corresponding to a different view of the object, the method comprising indicating for each view descriptor when the respective view corresponds to a view of the object appearing in the group of images. 4. A method as claimed in claim 3 comprising associating a flag with each view descriptor to indicate whether or not the respective view appears in at least one image of the group of images. 5. A method as claimed in claim 3 comprising indicating, for each image in the group of images, for each view descriptor whether or not the respective view corresponds to a view of the object appearing in said image. 6. A method as claimed in any one of claims 3 to 5 wherein the group of images is a sequence of images. 7. A method as claimed in claim 6 wherein the sequence of images is from a video or film. 8. A method as claimed in any preceding claim wherein at least one view descriptor comprises a representation of a visible feature of the object in the respective view. 9. A method as claimed in claim 8 wherein at least one view descriptor comprises a representation of the shape of the object in the respective view. 10. A method as claimed in claim 9 wherein the shape view descriptors are derived using a curvature scale space representation. 11. A method as claimed in claim 8 wherein at least one view descriptor comprises a representation of the colour of the object in the respective view. 12. A method as claimed in claim 8 wherein at least one view descriptor comprises a representation of the texture of the object in the respective view. 13. A method as claimed in any preceding claim which is for indexing the image or collection of images for searching purposes. 14. A method of indexing images or groups of images stored in a database for searching purposes, the method comprising identifying an object appearing in an image or group of images, deriving representations of a plurality of different views of the object, and indicating when a represented view corresponds to the view of the object as it appears in an image. 15. A method of searching for a query object in stored images and groups of images, the method comprising inputting a query, matching the query with representations of the stored images derived using a method as claimed in any preceding claim, and retrieving the closest matches, wherein the query input includes indicating whether or not the search should be limited to images or groups of images which show the query object in the same view as the query view. 16. An image search and retrieval system adapted for implementing a method as claimed in any preceding claim. 17. A computer program for implementing a method as claimed in any one of claims 1 to 15. 18. A computer system programmed to operate according to a method as claimed in any one of claims 1 to 15. 19. A computer-readable storage medium storing computer-executable process steps for implementing a method as claimed in any one of claims 1 to

Inventors: BOBER MIROSLAW, COOPER JAMES, BOBER, MIROSLAW, COOPER, JAMES
Applicants: BOBER MIROSLAW, COOPER JAMES, MITSUBISHI ELECTRIC CORP, MITSUBISHI ELECTRIC INF TECH, BOBER, MIROSLAW, COOPER, JAMES, MITSUBISHI DENKI KABUSHIKI KAISHA, MITSUBISHI ELECTRIC INFORMATION TECHNOLOGY CENTRE
Application year: 2001
Main classification: G06F17
IPC codes: G06F17, G06T7, H04N5