SYSTEM AND METHOD FOR REPRESENTING TRAJECTORIES OF MOVING OBJECT FOR CONTENT-BASED INDEXING AND RETRIEVAL OF VISUAL ANIMATED DATA

Abstract: There is disclosed, for use in a system for detecting a movement of a selected object in a sequence of visual animated data frames, a video processing device for generating a descriptor data structure representative of a trajectory of the selected object. The video processing device comprises an image processor for identifying the selected object in the visual animated data frames and determining a trajectory of the selected object in a two dimensional (2D) or three dimensional (3D) coordinate space. The image processor generates a descriptor data structure that contains a position (usually a starting position) of the object in the coordinate space; a speed of the object in the coordinate space; and an acceleration of the object in the coordinate space.

Description: System and method for representing trajectones of moving object for content-based indexing and retneval of visual animated data. CROSS-REFERENCE TO RELATED APPLICATIONS The present invention is related to that disclosed in United States Provisional Patent Application No. 60/117,656, filed on January 28, 1999, entitled "REPRESENTATION OF MOVING OBJECT TRAJECTORIES FOR CONTENT-BASED INDEXING AND RETRIEVAL OF VISUAL ANIMATED DATA", which is commonly assigned to the assignee of the present invention. The disclosure of this related provisional patent application is incorporated herein by reference for all purposes as if fully set forth herein. TECHNICAL FIELD OF THE INVENTION The present invention is directed, in general, to image retπeval systems and, more specifically, to a system for representing the trajectory of a moving object or region in animated visual data for subsequent content-based indexing, retneval, editing, analysis and enhanced visualization BACKGROUND OF THE INVENTION The advent of digital television (DTV), the increasing popularity of the Internet, and the introduction of consumer multimedia electronics, such as compact disc (CD) and digital video disc (DVD) players, have made tremendous amounts of multimedia information available to consumers. As video and animated graphics content becomes readily available and products for accessing it reach the consumer market, searching, indexing and identifying large volumes of multimedia data becomes even more challenging and important. The term "visual animated data" in this disclosure refers to natural video, as well as to synthetic 2D or 3D worlds (e.g., VRML), or to a mixture of both video and graphics (e.g., MPEG-4). Different cπtena are used to search and index the content of visual animated data, such as a video clip. Video processing systems have been developed for searching frames of visual animated data to detect, identify and label objects of a particular shape or color, or to detect text in the frames, such as subtitles, advertisement text, or background image text, such as a street sign or a "HOTEL" sign. However, multimedia content-based indexing and retneval systems rarely take into account the trajectory of objects in the frames of visual animated data. Many of these systems were developed only for still image retneval. Some systems were later extended to animated data by first summanzmg them as consecutive sequences of shots, then representing each shot using key-frames, and finally applying on the key-frames the techniques that were developed for the still images. In a few systems, consideration was given to camera motion in a shot, but still not to object trajectory VideoQ, developed by the ADVENT Project of the Image and Advanced TV Lab at Columbia university, is a multimedia content-based indexing and retneval system that deals with object motion. VideoQ allows quenes based on an object's motion traιl(s). The motion trail of an object is descπbed by an ordered sequence of the object's center of mass (i.e., centroid) trajectory vectors, for each time instant in the sequence. In different application contexts dealing with visual animated data, other representations are used to deal with motion in video frames. In coding standards such as MPEG-1, MPEG-2, MPEG-4, H.261 and H.263, motion is represented as fields of two- dimensional vectors corresponding to the "motion" of blocks of pixels between each image Motion vectors can be skipped at any time instant on any block(s) of the image. However, this block is then considered as non-moving at that time instant. Since the pixel blocks are typically only 8x8 to 16x16 in size, this representation leads to a large number of vectors in adjacent blocks and/or consecutive images that are very similar to each other. Moreover, although this information is called "motion" in the above standards, it was not designed to match the actual real "motion" within the animated visual mateπal. Instead, the information is used to find sjmilaπties in surrounding images that may reduce the coding cost of the current image. Therefore, such motion vectors are unsuitable for use in multimedia data indexing and retπeval. Presently under development is a new MPEG standard, MPEG-7, which is intended to establish a standard set of "descπptive elements" that can be used to descπbe different aspects of multimedia data including the motion of objects. These descπptive elements, called Descπptors and Descπption Schemes, directly descπbe the content of the visual animated data, such as a video clip, thereby providing a fast and efficient way to search through an archive of video files and animated graphics files. Besides these Descπptors (D) and Descπption Schemes (DS), MPEG-7 will also standardize a language to express the descnptions (DDL). Descπptions are coded so that they can be transmitted and stored efficiently. The MPEG-7 standard, however, is nowhere near completion and many of its intended objectives may never be realized. There is no guarantee that the trajectory of objects will be adequately addressed. There is therefore a need in the art for improved systems and methods for descπbmg the trajectory of objects m a seπes of visual animated data frames. In particular, there is a need in the art for systems that are capable of determining the trajectory of an object in visual animated data frames and representing the detected trajectory of the objects in a Descπptor or Descπption Scheme that is suitable for use in a content-based indexing and retπeval system. SUMMARY OF THE INVENTION To address the above-discussed deficiencies of the pπor art, it is a pπmary object of the present invention to provide a flexible and geneπc representation for the trajectory of objects in order to make searching and indexing easier. The disclosure does not address the coding of the descπption nor its expression within the descπption definition language (DDL). The proposed descπptive data structure, when using MPEG-7 terminology, can be considered either as a composited Descπptor or as a simple pπmary Descπption Scheme The present invention is not constrained to the needs of one or more particular applications or to any particular data source format. Advantageously, the present invention links descπptors to human perceptual cnteπa and to the actual semantic content that the data descπbe Humans perceive motion at a high level. Accordingly, the present invention uses a high level descπption for the trajectory of an object by representing it in the scene as the trajectory of one point of the object, such as its center of mass (or centroid). In order to further descπbe the motion of a scene, the object-based descπptions can be complemented by a camera (or viewpoint) motion descπption Finer details could also be added by complementing it with a descπption for the object deformation, if any In an advantageous embodiment of the present invention, there is provided, for use in a system capable of detecting a movement of a selected object in a sequence of visual 4 animated data frames, a video processing device capable of generating a descπptor data structure representative of a trajectory of the selected object. The video processing device compπses an image processor capable of identifying the selected object in a first visual animated data frame and at least a second visual animated data frame and determining therefrom a trajectory of the selected object in a coordinate space having at least a first dimension and a second dimension. The image processor generates the descπptor data structure from the trajectory by generating at least two of: a) first trajectory data representing a position of the object in the coordinate space; b) second trajectory data from which a speed of the object in the coordinate space may be determined; and c) third trajectory data from which an acceleration of the object in the coordinate space may be determined. The present invention therefore represents the trajectory of objects in geneπc, high-level terms that are readily understandable to a user. Thus, a user can search for an object in a sequence of visual animated data frames, such as a video tape, simply by giving an exemplary sequence or by giving a specific speed, acceleration, or location in the frames, or a combination thereof. The video processing device can then rapidly search the trajectory descπptor table for each object in the video tape in order to find object(s) that match the user- specified search cπteπa. In one embodiment of the present invention, the coordinate space compπses a first dimension, a second dimension orthogonal to the first dimension, and a third dimension orthogonal to the first and second dimensions Thus, the present invention may be used to create and to search the descπptor tables of objects moving in two dimensions, such as the descπptor tables in a video tape of cars moving past a surveillance camera The present invention may also be used to create and to search the descπptor tables of objects moving in three dimensions, such as the descπptor tables of objects in a VRML environment In another embodiment of the present invention, the second trajectory data compπses a velocity value indicating a speed of the object In still another embodiment of the present invention, the second trajectory data compπses a start position indicating a position of the object in the first visual animated data frame, an end position indicating a position of the object in the at least a second visual animated data frame, and an elapsed time value indicating a duration of time between the first visual animated data frame and the at least a second visual animated data frame, and wherein the speed of the object is determined from the start time, the end time, and the elapsed time value. Thus, the present invention may calculate the speed of the object and save the speed value directly in the descπptor table. Alternatively, the present invention may store the speed indirectly by saving the start position of the object in one frame and the end position in another frame, along with the elapsed time between the frames, and thereafter the speed may be calculated when needed In yet another embodiment of the present invention, the speed determined from the second trajectory data is an absolute speed given in relation to the boundaπes of the visual animated data frames. In a further embodiment of the present invention, the speed determined from the second trajectory data is a relative speed given in relation to a background scene of the visual animated data frames. This allows the present invention to account for the motion, if any, of the camera that recorded the sequence of animated visual data frames, or of any applicable viewpoint (e.g., a joystick simulated for 3D games). The object's trajectory may be represented in terms of its speed inside the frame boundaπes (e.g., a fixed camera) or in terms of its speed relative to background objects (e.g., camera moving with the object). In a still further embodiment of the present invention, the video processing device modifies the sequence of visual animated data frames by associating the descπptor data structure with the sequence of visual animated data frames. Thus, the video processing device can generate trajectory descπptor tables for one or more objects in a video data file or other visual animated data file and associate the trajectory descπptor table(s) with the video file, such as by linking it to the file or by merging it into the file, and the like. The link used may include semantic references for linking the descπptions to an object, special references for linking the descπptions to a region, or temporal references for linking the descπptions to temporal positions in the file. This makes subsequent searching easier since the descπptor files are part of the file and do not have to be generated at search time A trajectory descπptor table representing the trajectory of an object in a sequence of visual animated data frames may be embodied in a novel signal produced by and searchable by a video processing device in accordance with the present invention. The novel signal compπses 1) a visual animated data signal compπsmg a sequence of visual animated data frames portraying a selected object; and 2) an object trajectory descπptor signal representative of a trajectory of the selected object, the object trajectory descπptor signal compπsing a descπptor data structure indicating a trajectory of the selected object in a coordinate space having at least a first dimension and a second dimension, wherein the descπptor data structure compπses at least two of a) first trajectory data representing a position of the selected object in the coordinate space; b) second trajectory data from which a speed of the selected object in the coordinate space may be determined; and 3) third trajectory data from which an acceleration of the selected object in the coordinate space may be determined. The novel object trajectory descπptor signal may be embedded in, and transmitted with, the sequence of visual animated data frames that form the visual animated data signal. Alternatively, the novel object trajectory descπptor signal may be distinct from, and transmitted or stored separately from, the sequence of visual animated data frames. In an advantageous embodiment of a signal in accordance with the present invention, the coordinate space compπses a first dimension, a second dimension orthogonal to the first dimension, and a third dimension orthogonal to the first and second dimensions. In one embodiment of a signal in accordance with the present invention, the second trajectory data compπses a velocity value indicating a speed of the selected object. In another embodiment of a signal in accordance with the present invention, the second trajectory data compπses a start position indicating a position of the selected object in a first visual animated data frame, an end position indicating a position of the selected object in a second visual animated data frame, and an elapsed time value indicating a duration of time between the first visual animated data frame and the second visual animated data frame, and wherein the speed of the selected object is determined from the start time, the end time, and the elapsed time value. In still another embodiment of a signal in accordance with the present invention, the speed determined from the second trajectory data is an absolute speed given relation to the boundaπes of the visual animated data frames. In yet another embodiment of a signal in accordance with the present invention, the speed determined from the second trajectory data is a relative speed given in relation to a background scene of the visual animated data frames. The foregoing has outlined rather broadly the features and technical advantages of the present invention so that those skilled in the art may better understand the detailed descπption of the invention that follows. Additional features and advantages of the invention will be descπbed hereinafter that form the subject of the claims of the invention. Those skilled in the art should appreciate that they may readily use the conception and the specific embodiment disclosed as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. Those skilled in the art should also realize that such equivalent constructions do not depart from the spiπt and scope of the invention in its broadest form. Before undertaking the DETAILED DESCRIPTION, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms "include" and "compπse," as well as deπvatives thereof, mean inclusion without limitation; the term "or," is inclusive, meaning and/or; the phrases "associated with" and "associated therewith," as well as deπvatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like; and the term "processor" or "controller" means any device, system or part thereof that controls at least one operation, such a device may be implemented in hardware, firmware or software, or some combination of at least two of the same. "Object" herein means any semantic entity or group of pixels selected throughout a sequence. It should be noted that the functionality associated with any particular controller may be centralized or distπbuted, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to pπor. as well as future uses of such defined words and phrases. BRIEF DESCRIPTION OF THE DRAWINGS For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descπptions taken in conjunction with the accompanying drawings, wherein like numbers designate like objects, and in which: Fig. 1 illustrates an exemplary object trajectory analysis system in accordance with one embodiment of the present invention, Fig. 2 illustrates an exemplary visual animated data clip which compπses a seπes of image frames, Fig. 3 illustrates an exemplary template embodiment of a descπptor representing the trajectory of an object in a visual animated data clip; and Fig 4 is a flow diagram illustrating the generation of an exemplary descπptor in the video processing device in Fig. 1 in accordance with one embodiment of the present invention DETAILED DESCRIP ION Figs. 1 through 4, discussed below, and the vaπous embodiments used to descπbe the pπnciples of the present invention in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the invention. Those skilled in the art will understand that the pπnciples of the present invention may be implemented in any suitably arranged video processing system. Fig. 1 illustrates exemplary object trajectory analysis system 100 in accordance with one embodiment of the present invention. Object trajectory analysis system 100 compπses video processing device 110, visual animated data source 180, monitor 185, and user devices 190. Video processing device 110 analyzes received visual animate data images in accordance with the pπnciples of the present invention to determine the trajectoπes of objects between images (individual frames) based on the moving objects' centers of mass (or centroids) Video processing device 110 then creates high-level descπptors that represent the trajectory of each object and merges the descπptors with the oπginal visual animated data signal to thereby create a unique new signal. The new signal then may be searched by a video processing system by matching the trajectory information stored in the descπptor with trajectory cπteπa selected by a user or selected by the video processing system itself. Visual animated data source 180 provides for the transfer of video images to and from video processing device 110 Visual animated data source 180 may be one or more of a cable, video tape recorder (VTR), antenna, network archive (including the Internet), compact disc (CD) player/recorder, a digital video disc (DVD) player/recorder, or similar device capable of providing and stoπng digitized animated video images, with or without audio. Visual animated data source 180 may have capability for providing a few video clips of short length or for multiple clips, including longer length digitized animated video images Visual animated data source 180 may also provide animated video data in any known format, such as D-l format. Monitor 185 displays the animated video image and may be equipped for audio, as required. User devιce(s) 190 represents one or more peπpheral devices that may be manipulated by the user of object trajectory analysis system 100 to provide user inputs for the system. Typical peπpheral user input devices include a computer mouse, a keyboard, a lightpen, a joystick, a touch-table and associated stylus, and/or any other device that may selectively be used to enter, to select, and/or to manipulate data, including all or portions of the displayed video ιmage(s). User devιce(s) 190 may be capable of selecting the desired animated visual sequence, object, and/or trajectory identification attπbutes for input to video processing device 110. User devices 190 may also include output devices, such as a color pπnter for pπnting hard copies of particular images. Video processing device 110 compπses image processor 120, RAM 130, disk storage 140, user I/O card 150, video card 160, I/O buffer 170, and processor bus 175. Processor bus 175 transfers data between the vaπous elements of video processing device 110 RAM 130 further compπses trajectory work space 132 and object trajectory controller 134 Image processor 120 provides over-all control for video processing device 110 and performs the image processing required for object trajectory analysis system 100, including analyzing trajectory in visual animated data frames based upon user/system selected attπbutes. This includes implementation of editing processes, processing of digitized visual animated data frames for transfer to monitor 185 or for storage m disk storage 140, and control of data transfer between the vaπous elements of the object trajectory analysis system 100. The requirements and capabilities for image processor 120 are well known in the art and need not be descπbed in greater detail other than as required for the present invention. RAM 130 provides random access memory for temporary storage of data produced by video processing device 110, which is not otherwise provided by components within the system. RAM 130 includes memory for trajectory work space 132 and object trajectory controller 134, as well as other memory required by image processor 120 and associated devices. Trajectory work space 132 represents the portion of RAM 130 in which video images and descπptors associated with a particular video clιp(s) are temporaπly stored duπng the trajectory analysis process Trajectory work space 132 allows frames within a clip to be analyzed and modified without impacting the oπginal data, so that the oπginal data can be recovered, if required. Object trajectory controller 134 represents the portion of RAM 130 dedicated to storage of the application program executed by image processor 120 to perform the object trajectory analysis of video images on the basis of system/user defined attπbutes. Object trajectory controller 134 may be embodied as a program on a CD-ROM, computer diskette, or other storage media that may be loaded into a removable disk port in disk storage 140 or elsewhere, such as in video clip source 180. Disk storage 140 compπses one or more disk systems, including removable disks, for permanent storage of programs and other data, including required animated video and audio data. Depending upon system requirements, disk storage 140 is conFig.d to interface with one or more bi-directional buses for the transfer of video (and audio) data to and from visual animated data source(s) 180, as well as the rest of the system. Disk storage 140 is capable of transferring data at video rates, as required. As a minimum, disk storage 140 is sized to provide adequate storage for several minutes of video for object trajectory analysis purposes, m addition to other required space for programs and associated data. Depending upon specific applications and the capability of image processor 120, disk storage 140 may be configured to provide capability for storage of a large number of video clips and their associated object trajectory information. User I/O card 150 provides the means for interfacing user devιce(s) 190 to the rest of object trajectory analysis system 100. User I/O card 150 converts data received from user devices 190 to the format of interface bus 175 for transfer to image processor 120 or to RAM 130 for subsequent access by image processor 120. User I/O card 150 also transfers data to user output devices such as pπnters. Video card 160 provides an interface between monitor 185 and the rest of video processing device 110 through data bus 175. I/O buffer 170 provides an interface between visual animated data source 180 and the rest of object trajectory analysis system 100 through bus 175. As previously discussed, visual animated data source 180 has at least one bi-directional bus for interfacing with I/O buffer 170. I/O buffer 170 is able to transfer data, including a novel signal compπsing trajectory descπptors in accordance with the pπnciples of the present invention, to and from visual animated data source 180 at the minimum required video image transfer rate I/O buffer 170 transfers data received from visual animated data source 180 to disk storage 140, to image processor 120, and to RAM 130, as required, to provide temporary storage for object trajectory analysis, editing, and monitor display purposes. The simultaneous transfer of the video data to image processor 120 and video card 160 provides means for display of the video image as it is received by the system. Fig. 2 illustrates exemplary visual animated data clip 200, which compπses a seπes of image frames 201-204. Visual animated data clip 200 may be, for example, a standard video clip of "real world" scenes or computer-generated animation frames Image frames 201-204 show the movement of two objects, arbitraπly labeled Ol and O2, from start positions in image frame 201 to end positions in image frame 204. Image frame 201 occurs at time t = tO and image frame 204 occurs at time t = tl The time lapse from image frame 201 to image frame 204 is given by (tl-tO). Fig. 2 also illustrates exemplary descπptors 220 and 230, arbitraπly labeled Dl and D2. Descπptor Dl represents the trajectory of object Ol and Descπptor D2 represents the trajectory of object O2. Descπptors Dl and D2 provide trajectory information for objects Ol and O2, respectively, based upon the movement of their centroids through frames 201-204. Each object's centroid provides a single reference point within each frame that is used to analyze the object's movement. The trajectory of the object's centroid is the basis for descπbmg the motion or trajectory of the object from frame 201 to frame 204. In one embodiment of the present invention, the trajectory descπptor for a specific object may include the initial and final positions of the object. Image processor 120 may calculate the object's speed using the change in position of the object between a first frame and a second frame and using the time duration elapsing between the first frame and the second frame. In another embodiment of the present invention, the descπptor may include the speed of the object directly, rather than calculating it through position change and time lapse. Video processing device 110 creates geneπc descπptors of the trajectory of an object by using the fundamental physical laws of mechanics to represent the trajectory of an object. An exemplary descπptor of the two dimensional (2D) trajectory of an object in an (x,y) coordinate system contains the object's position, speed and acceleration in the x-dimension and the object's position, speed and acceleration in the y-dimension. An exemplary descπptor of the three dimensional (3D) trajectory of an object m an (x,y,z) coordinate system will additionally contain the object's position, speed and acceleration in the z-dimension. In one embodiment of the present invention, the following second order approximation is used to represent the final x-coordmate for a moving object- Vte [t 0 ,t, l x(t -t 0 ) = x 0 + v x (t -t 0 ) + y 2 a x (t -t 0 ) 2 where Vt e [t 0 , t, ] indicates that the equation applies for all time between to and ti The term t 0 is the time of the first frame. The term x 0 is the x-position of the object at to The term v x is the object's velocity in the x-dimension, assumed to be constant between to and . The term a x is the object's acceleration in the x-dimension, assumed to be constant between t 0 and ti Similarly, the y-dimension trajectory and z-dimension trajectory of an object are given by Vte [t 0 ,t, l y(t -t 0 ) = y 0 +v ) (t -t 0 ) + / 2 α, (t -t 0 ) 2 z(t ~ t ϋ ) = z 0 + v_ (t - t 0 ) + y 2 a x (t - t 0 ) 2 The z-coordmate is required for three dimensional images, such as computer-aided design systems for structures and animated computer games. This three dimensional trajectory representation is particularly attractive since it is related to the perceptual view of the human eye In one embodiment of the present invention, an exemplary descπptor may be created as object code defining the trajectory of an object. An exemplary object code embodiment may appear as follows: Object_Trajectory: (Number_of_tιme_ιnstants Spatιal_reference Camera_followed) For each tιme_ιnstant: Tιme_start, Tιme_end Startιng_Posιtιons(x,y,z)/confιdence Speeds(x,y,z)/confιdence The term "Object_Trajectory" represents the trajectory descπptor for a particular object as it travels through moving images, such as a video clip. The term "Number_ of_ tιme_ instants" represents the number of time peπods or groups of frames that are used in descπbing the trajectory of an object. The term "Spatιal_reference" specifies whether the data are determined from the image reference (selected video clip) or from global motion information (i.e., background movement). The term "For each tιme_ιnstant" represents information that is required when identifying an object's trajectory duπng a particular time interval (tιme_ιnstant) of the selected video images. The terms "Tιme_start" and "Tιme_end" represent the time for the first (start) and last (end) frame of the selected tιme_ιnstant. The terms "Staιtιng_Posιtιons(x,y,z)/confιdence" represent the starting x-, y-, z- coordinates for the centroid of the object at tιme_start of the selected tιme_ιnstant, with consideration to a position confidence factor. The terms "Speeds(x,y,z)/confιdence" represent the centroid' s velocity, with consideration to a velocity confidence factor. The terms "Acceleratιons(x,y,z)/confιdence'' represent the centroid's acceleration, with consideration to an acceleration confidence factor. Finally, the term "Camera_followed" indicates whether the camera angle is fixed or following the object. If the camera is not moving, the information concerning velocity and acceleration of the object may be descπbed by the movement of the object through the video clip or group of frames, without further consideration of the camera. If the camera is moving, the velocity and acceleration of the object are affected by the velocity and acceleration of the camera or background. Trajectoπes are analyzed on the basis of two pπmary classifications which descπbe whether the moving object is followed by the camera or not. When an object is followed by the camera, it may exhibit very little movement within the frame and its trajectory may only be caused by jitter of the camera. In such cases, it may make no sense to compare the inconsequential trajectory with search cπteπa specified by a user. Therefore, it is advantageous to identify objects which are being followed by the camera from others which are not. Objects followed by the camera can be further identified as either stationary objects at positions near the image center or as objects moving with irregular, small displacements around a position near the image center (i.e., jittery motion). When the camera motion is known, the camera motion may be considered in determining whether or not the camera-followed object is to be further considered for trajectory matching. When camera motion is not known from user-provided or system-provided data, the camera trajectory speed/acceleration may be determined with respect to motion of the background and/or known object trajectory. In addition to consideπng trajectoπes with respect to camera and background motion, the positions, speeds and accelerations of moving objects may be normalized to be independent of the scale of the image. Further, all referenced trajectory data do not need to be present in a trajectory descπptor if the application does not require the information. For example, a trajectory descπptor may be defined in terms of velocity and acceleration with the object position being determined when and if required. Or conversely, a descπptor element (such as the z-coordinate in a 2-dιmensιonal image) may not be relevant for the particular application. Confidence factor across the time interval is optionally defined and associated with each element. For instance, confidence may denote the expected accuracy of the data as a function of how the data was extracted In the foregoing and following descπptions, the exemplary descπptors define the trajectory of the centroid of an object or region. This is not a requirement, however. In alternate embodiments of the present invention, an exemplary descπptor may define the trajectory of an object with reference to some other point in the object, such as the upper-πght corner point, the foremost point on the leading edge, and the like. Fig. 3 illustrates an exemplary template embodiment for trajectory descπptors Dl and D2 (220 and 230), which descπbe the movements of objects Ol and O2 through the frames of video clip 200, as illustrated by FIG. 2. The fields of descπptors 220 and 230 contain the trajectory components. A plurality of descπptor tables, one for each selected object in an associated video clip, are required to descπbe the trajectoπes of all of the selected objects as they traverse the clip. Each of descπptors 220 and 230 compπses object identification (LD) field 301, which contains a label identifying the object Ol or O2 associated with the descπptor, Number of Time Instants (N) field 302, and Spatial Reference field 304. Each of descπptors 220 and 230 further compπses "N" data blocks. Each of the N data blocks corresponds to one of the "N" time instants specified in the Number of Time Instants field 302. Object LD field 301 may compπse information which descπbes the object on the basis of identifying characteπstics such as initial location, color, size, shape, etc. In some embodiments, object LD field 301 may be a link to a location of another Descπptor or Descπption Scheme where the object is defined. The Number of Time Instants (N) field 302 refers to the number of intervals which have been user or system selected as time demarcations for the video clip being analyzed. For example, video clip 200 may contain one hundred frames that are divided into sub-groups of twenty frames each. In this case, Number of Time Instants field 302 would be equal to five and each of the five data blocks in the descπptor would pertain to one of the five sub-groups. The value N may be user or system defined. Spatial Reference field 304 provides an indication of whether the movement of the object is based upon the location of the object as referenced within designated image frames or with respect to a more global or external reference. Camera Followed field 305 provides an indication of whether the camera is moving with the object or not In the exemplary embodiment, each of the N data blocks compπse five data fields which represent an object's movement within the referenced time instant. For example, the first time instant is represented by the following data fields: Time Startl/Time Endl field 311, Start Position 1 (x,y,z)/Confιdence field 312, Speedl (x,y,z)/Confιdence field 313, and Accelerationl (x,y,z,)/Confιdence field 314 As previously descπbed, it may not be necessary for each field or portion of a field of the data block to be present in order for a descπptor table to support functions necessary for particular applications. For instance, if objects are only represented m two planes (x and y), the z-plane is ignored in the trajectory analysis. Also, depending upon the application, it may be sufficient for the descπptor table to only have the object identifier, acceleration, and velocity components. Image processor 120 may also calculate "missing" identifiers at the time that they are required for accomplishing a particular task. For instance, the ending location coordinates of a particular object may be determined only when required for object final location purposes. Alternatively, the Speed field may be replaced in descriptors 220 and 230 by an End Position value. The speed of an object can then be calculated using time start, time end, start position and end position. The characteristics associated with the described object trajectory descriptor table provide several advantages when analyzing the trajectories of moving objects within video segments. The trajectory descriptor is based upon the content of the video image, approximates the physical "reality" of the scene, and represents motion as perceived by humans. Further, it is a generic form which is not dependant upon any specified application or data format. Also, the representative descriptor template encompasses different perceptual aspects of trajectory, (i.e., position, speed and acceleration). This provides the capability for precisely and completely describing the trajectory of an object in various spatial planes, while also allowing the isolation of particular movement components so that the impact of a particular characteristic can be examined. This is possible because the three primary data elements are separately accessible in the representation. For instance, the acceleration of an object can be ignored in order to examine the movement of the object under conditions of constant velocity, when locating the object as it passes through a certain position, etc.) Using the notations of the prior equations, the generic expression for the distance between two trajectory descriptions D and D' can be simple expressed as a weighted sum of Euclidean-based distances between positions, speeds and accelerations, as follows: d(D, D') = a((x l -.x, ') 2 +(y, - y ) 2 + (z l - z, ') 2 )l(At l ) + /3((v„ -v Λ ') 2 + (v u - v ') 2 + (v : , -v c , ') 2 )/(Δt, ) + X((a xι -a xl ') z + (a ι - a ') 2 + (a zι - a z ) 2 ) l(A.t l ) where I represents all of the successive time instants described in both descriptors. The prime terms pertain to D'. The term Δt, is the duration of the i th time instant. The terms α, β, and X depend on the selected matching requirements (if available) and on the confidences. Fig. 4 depicts flow diagram 400, which illustrates the generation of an exemplary descriptor in video processing device 110 using object trajectory controller 134 in accordance with one embodiment of the present invention. A visual animated data clip is retrieved from visual animated data source 180 and stored in disk storage 140 and trajectory work space 132 (process step 405). User-defined or system-defined criteria are received through user I/O card 150 and stored in trajectory work space 132. These criteria are used to identify the object and for determination of its centroid for trajectory analysis (process step 410). If required, segmentation processes (such as color/shape identification) may be used to segment or isolate the object for use in the trajectory analysis process. The required object identification information is stored in exemplary data field 301. Next, image processor 120 determines the spatial reference, selected by the user or specified by the system, which indicates whether the trajectory data take into consideration global motion information (process step 415). The spatial reference is stored in exemplary data field 304. The Number of Time Instants (N) are obtained through retπeval of time data references received with the visual data, user selected data, or system default data. In one embodiment of the present invention, image processor 120 may calculate N and segment the video clip into time instants based upon user/system defined characteπstics, such as change in the object's direction or velocity. For this example, it is assumed that a system default sets N to represent division of the video clip into N sub-groups with the same number of video frames in each sub-group (i.e., each time instant will be have an elapsed time equal to 1/N of the total time of the visual animate data clip 200). The Number of Time Instants N is stored in data field 302 (process step 420). Alternatively, the Number of Time Instants N may be adaptively determined by image processor 120 based on the trajectory of the object. Next, image processor 120 determines the position of the centroid of the selected object in each frame and calculates, for each of the N time instants: Time Start, Time End, Starting Positions (x,y,z) and Confidence, Speeds (x,y,z) and Confidence, Accelerations (x,y,z) and Confidence (process step 425). The Camera Followed vanable may be specified by assuming that the object is not moving with respect to the image or to a stable background, depending on the spatial reference. Alternatively, if the object is moving very little with respect to the camera, but the background is moving a lot, it may be assumed that the camera is moving with the object. In addition, when a large number of frames are present within a time instant, the time instant may be sub-divided and the centroid' s speed for each sub-di vision can be calculated. An average acceleration may also be calculated across the time instant. As previously discussed, confidence factors may be assigned for each of the trajectory terms on the basis of the quality of the initial data, number of data samples, etc. The speed or velocity of the object for each time instant may be calculated as the local first order deπvative of the centroid position, normalized by the image size. In other words, the speed may be determined on the basis of the difference between the starting and ending positions and the amount of elapsed time. (As required, z information may be deduced from the size variation of the object between consecutive frames, taking into account the object's complete presence in the image and/or its shape variation.) Similarly, the acceleration may be calculated as the local second order derivative of the centroid positions, normalized by the image size. Finally, image processor 120 stores the data determined in process step 425 in a descriptor associated with the selected object and associates the new descriptor with animated visual data clip 200 (process step 425). The descriptor may be associated with animated visual data clip 200 by merging it into animated visual data clip 200 or by storing it separately from animated visual data clip 200 and linking it to animated visual data clip 200. The resultant trajectory descriptor table for the selected object is stored in trajectory work space 132, disk storage 140, and external visual animated data source 180, as required. In addition, the resultant trajectory descriptor table may be placed in a novel signal format for transfer with other data associated with the animated visual data clip, for recovery and use by other sources. Although the present invention has been described in detail, those skilled in the art should understand that they can make various changes, substitutions and alterations herein without departing from the spirit and scope of the invention in its broadest form.

Claims: CLAIMS: 1. For use in a system (100) capable of detecting a movement of a selected object m a sequence of visual animated data frames, a video processing device (110) capable of generating a descπptor data structure (220, 230) representative of a motion of said selected object, said video processing device (110) compπs g: an image processor (120) capable of identifying said selected object in a first visual animated data frame (201) and at least a second visual animated data frame (202) and determining therefrom a trajectory of said selected object m a coordinate space having at least a first dimension and a second dimension, wherein said image processor (120) generates said descπptor data structure (220, 230) from said trajectory by generating at least two of: first trajectory data (312) representing a position of said selected object in said coordinate space; second trajectory data (313) from which a speed of said selected object in said coordinate space may be determined; and third trajectory data (314) from which an acceleration of said selected object in said coordinate space may be determined. 2 The video processing device (110) set forth in Claim 1 wherein said coordinate space compπses a first dimension, a second dimension orthogonal to said first dimension, and a third dimension orthogonal to said first and second dimensions. 3 The video processing device (110) set forth in Claim 1 wherein said second trajectory data (313) compπses a velocity value indicating a speed of said selected object. 4 The video processing device (110) set forth in Claim 1 wherein said second trajectory data (313) compπses a start position indicating a position of said selected object in said first visual animated data frame, an end position indicating a position of said selected object in said at least a second visual animated data frame, and an elapsed time value indicating a duration of time between said first visual animated data frame and said at least a second visual animated data frame, and wherein said speed of said selected object is determined from said start time, said end time, and said elapsed time value. 5. The video processing device (110) set forth in Claim 1 wherein said speed determined from said second trajectory data (313) is an absolute speed given in relation to at least one boundary of said visual animated data frames. 6. The video processing device (110) set forth in Claim 1 wherein said speed determined from said second trajectory data (313) is a relative speed given in relation to a background scene of said visual animated data frames. 7. The video processing device (110) set forth in Claim 1 wherein said video processing device (110) modifies said sequence of visual animated data frames by associating said descriptor data structure (220, 230) with said sequence of visual animated data frames. 8. A signal comprising: a visual animated data signal comprising a sequence of visual animated data frames portraying a selected object; and an object motion descriptor signal representative of a motion of said selected object, said object motion descriptor signal comprising a descriptor data structure (220, 230) indicating a trajectory of said selected object in a coordinate space having at least a first dimension and a second dimension, wherein said descriptor data structure (220, 230) comprises at least two of: first trajectory data (312) representing a position of said selected object in said coordinate space; second trajectory data (313) from which a speed of said selected object in said coordinate space may be determined; and third trajectory data (314) from which an acceleration of said selected object in said coordinate space may be determined. 9. The signal as .set forth in Claim 8 wherein said coordinate space comprises a first dimension, a second dimension orthogonal to said first dimension, and a third dimension orthogonal to said first and second dimensions. 10. The signal as set forth in Claim 8 wherein said second trajectory data (313) compπses a velocity value indicating a speed of said selected object. 11. The signal as set forth in Claim 8 wherein said second trajectory data (313) compπses a start position indicating a position of said selected object in a first visual animated data frame, an end position indicating a position of said selected object m a second visual animated data frame, and an elapsed time value indicating a duration of time between said first visual animated data frame and said second visual animated data frame, and wherein said speed of said selected object is determined from said start time, said end time, and said elapsed time value. 12. The signal as set forth in Claim 8 wherein said speed determined from said second trajectory data (313) is an absolute speed given in relation to at least one boundary of said visual animated data frames. 13. The signal as set forth m Claim 8 wherein said speed determined from said second trajectory data (313) is a relative speed given in relation to a background scene of said visual animated data frames. 14. A computer processable visual animated data file stored on a computer readable storage medium (140) compπsing: a sequence of visual animated data frames portraying a selected object; and a descπptor data structure (220, 230) indicating a trajectory of said selected object in a coordinate space having at least a first dimension and a second dimension, wherein said descπptor data structure (220, 230) compπses at least two of: first trajectory data (312) representing a position of said selected object in said coordinate space; second trajectory data (313) from which a speed of said selected object in said coordinate space may be determined; and third trajectory data (314) from which an acceleration of said selected object in said coordinate space may be determined. 15. The computer processable visual animated data file stored on a computer readable storage medium (140) as set forth in Claim 14 wherein said speed determined from said second trajectory data (313) is a relative speed given in relation to a background scene of said visual animated data frames. 16. For use in a system capable of detecting a movement of a selected object in a sequence of visual animated data frames, a method of generating a descriptor data structure (220, 230) representing a motion of the selected object comprising the steps of: identifying the selected object in a first visual animated data frame and at least a second visual animated data frame; determining a trajectory of the selected object in a coordinate space having at least a first dimension and a second dimension; and generating the descriptor data structure (220, 230) from the trajectory by generating at least two of: first trajectory data (312) representing a position of the selected object in the coordinate space; second trajectory data (313) from which a speed of the selected object in the coordinate space may be determined; and third trajectory data (314) from which an acceleration of the selected object in the coordinate space may be determined. 17. The method as set forth in Claim 16 wherein the speed determined from the second trajectory data (313) is a relative speed given in relation to a background scene of the visual animated data frames.

Inventors: JEANNIN SYLVIE, JEANNIN, SYLVIE
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2000
Main classification: G06T7
IPC codes: G06F17, G06T7, H04N5, H04N7