Abstract:
A system and method for labeling animation movies and for displaying such labels is described. The method of labeling includes identifying the individual figures in the animated movie frame and creating a corresponding matte frame which relates the regions of the figures to labels. Such labels can be textual descriptions, Uniform Resource Locators (URLs) or other data. The method of displaying such labels includes accepting a user input during the playing of an animated movie and then displaying the label associated with the figure selected. Multiple labels can be linked to the same figure in a movie, so that different labels are available to meet the needs of a variety of users. For example, the same figure can have different labels which offer descriptions in foreign languages or for different education levels.

Description:
FIELD OF THE INVENTION 
     The present invention relates to computer systems and in particular to computer-generated animation movies. 
     SUMMARY OF THE INVENTION 
     A computer-generated animation movie is a series of individually rendered frames. As with traditional animation, movement through time is simulated by slightly changing the position of the rendered objects in each frame so that when viewed rapidly, the objects appear to move and rotate. These animations are created for a variety of purposes, including entertainment and education. For educational purposes, animations provide a way to present a complicated system to the student, to break the system into its identifiable parts and to show how the parts assemble to form the system. For example, computer generated animations can help students see and learn about the workings of the human body or a car&#39;s engine. In the case of the engine, an animation might present the engine in its entirety, then systematically disassemble the engine while explaining the parts involved. This explanation may be provided by an audio track within the animation movie or by text presented to the user as part of the animation. These textual descriptions are troublesome because the animator must anticipate when such information will be helpful to the movie viewer. Since the text must display long enough for the viewer to read it, the text must be included on many sequential frames. Since the text is implemented on the animated frames, there is a tension for the animator between displaying enough text to be helpful and not wasting too much frame space which could be used to show the animated objects. Finally, since the animated movie might be used by several grade-levels of student viewers, the descriptions must be appropriate for all grade-levels or else separate animated movies, each with a different level of textual descriptions, must be produced and marketed. 
     There is a need in the art to be able to associate textual labels with the objects in the frames of an animated movie. This would make the movie interactive. The viewer could, using an input device such as a mouse, select various objects in the movie and have the movie respond with the appropriate label description for each object. This would solve the problems of anticipating when such textual information would be useful for the viewer and how to provide a large number of descriptions without wasting frame space. There is a need for such labels to be multi-dimensional, so that the movie could be used by different grade-levels of student viewers. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a computer system for creating and playing animated movies. 
     FIG. 2 is a block diagram of movie-generating software acting upon inputs to create an animated movie. 
     FIG. 3 is the block diagram of FIG. 2 with the present invention added which produces labels for the objects in the animation. 
     FIG. 4 is an illustration of a computer system playing a movie. 
     FIG. 5 is a diagram of an animated movie with the traditional method of displaying text to describe objects in the movie. 
     FIG. 6 is a diagram of a movie with the internal labels produced by one embodiment of the present invention. Text only appears when a viewer selects an object with a pointing device. 
     FIG. 7 is a flowchart of the process of creating and labeling animated movies. 
     FIG. 8 is a diagram of the displaying of the matte file produced which corresponds to a frame of the animated movie. 
     FIG. 9 is a block diagram of a personal computer system with the components used to create and to play animated movies. 
     FIG. 10 is a flowchart of the process of playing an animated movie and displaying the labels according to user input. 
    
    
     DETAILED DESCRIPTION 
     In the following Detailed Description, reference is made to the accompanying drawings which form a part hereof and in which is shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice and to use the invention, and it is to be understood that other embodiments may be utilized and that changes may be made without departing from the spirit and scope of the present invention. The following Detailed Description is, therefore, not to be taken in a limiting sense and the scope of the present invention is defined by the appended claims. 
     FIG. 1 illustrates a block diagram of a computer system 100 in which the present invention is capable of being run. A computer processor 110 is connected to input devices 120, such as a keyboard and mouse, storage devices 130 including RAM and disks, a printer 140, speakers 150 and a screen 160. 
     A computer system, represented by FIG. 1, can be capable of playing animated sequences. An example of such a movie system is Apple&#39;s QuickTime movie extension. The QuickTime extension stores the synchronized tracks of the movie, including the control data and one or more audio and video tracks. FIG. 2 is a block diagram of the procedure of playing a movie. As with traditional cartoons, computer-generated animated movies are comprised of a series of frames, which are displayed in succession to create the illusion of movement. For each frame of the movie, the QuickTime software 210 acts upon the frame&#39;s audio data 220 and graphic data 230 as inputs to load the screen memory locations 240 and to activate the speakers 250 to display and play the stored image and sound. User input 260 can stop the movie or jump it to another frame. 
     FIG. 3 is a block diagram showing the additional elements to the procedure of playing a movie by one embodiment of the present invention. Along with the QuickTime software 310, the present invention&#39;s Label Identifier software 320 waits for user input 330 by a mouse or other pointing device. At that time, a matte file 340 which corresponds to the graphic file is used to determine which label and description should be loaded in the screen memory locations 350 to activate the screen display. 
     In order to demonstrate the helpfulness of the present invention, FIG. 4 illustrates a computer system 410 playing a traditional animated movie 420. The movie displays on the computer monitor one frame at a time. The movie shows several objects interacting and moving. The objects themselves are made up of several parts or regions. 
     FIG. 5 shows one method of displaying information about the objects in the movie. Text 510 and pointers 520 are displayed to show the viewer information about the individual elements of the movie. This text is a part of the frames themselves and therefore displays with the movie automatically. The displaying of text must therefore be planned by the movie&#39;s creator. The creator must estimate what information the viewer will want to see, at what point in the movie, and for how many seconds. Because the movie may be composed of many objects, the amount of text which can be displayed may become overpowering and so the movie creator must limit the information displayed. 
     FIG. 6 shows one embodiment of the present invention in a personal computer system 620 which is playing an animated movie 610. With this embodiment, the viewer can play the movie without textual distraction. Whenever the viewer wants information about an object in the movie, the viewer uses a mouse 630, or other pointing device, to select the object in question. The textual information 640 then appears on the screen corresponding to the object identified by the pointer icon 650. With this method, the user is in control of the information displayed. The user determines when to display the information, which objects to explain textually, and at what point in the movie to display the descriptions. Because the descriptions are revealed only upon the viewer&#39;s command, the problem of a large amount of text overwhelming the animated movie is solved. 
     FIG. 7 is a flowchart of the process of associating descriptive labels to objects in animated movies. In a graphics program, a frame from the movie is constructed 710 and is saved as a graphics file. For each object in the frame to be labeled, the movie creator identifies the object in the frame 720 and the present invention, which in one embodiment is a software program called MatteMaker, isolates the two-dimensional region in the frame of that object, assigns it a single color 730 and places it in a second graphics file called the matte file. The objects in the regular graphics file and the newly created matte file have corresponding x-y coordinates. The color of each object in the matte file is arbitrary because the colorization of the matte file is done just to assign the same byte value to every pixel of the object&#39;s region. For example, in a frame consisting of a tree with leaves, the regions of the frame having leaves would be isolated and assigned the same color, irrespective of individual leaf color and shading. The color chosen could be green. However, choosing blue or red would be just as fine. Because the color itself is unimportant and is used only to assign the same byte value to all pixels, it is appropriate to speak of the matte frame as having false (i.e, arbitrary) colors. 
     After all objects have been identified and marked in the frame, the next frame is processed 740 and 750. 
     Once the matte frame contains the distinctly colored regions for the objects in the frame, it is saved as a matte file. In one embodiment, the matte file is prefixed with a header in the form of: 
     
         ______________________________________var type var name    var description______________________________________long     dataSize;   // size in bytes of compressed datashort    width;      // width of source matte in pixelsshort    height;     // height of source matte in pixelsshort    pixelSize,  // pixel depth of source imageshort    mmVersion;  // version of compressed datalong     mmReserved; // for future use.______________________________________ 
    
     The matte file must not be anti-aliased. Anti-aliasing is the process of improving the appearance of a graphic image by smoothing out jagged lines in the image. For example, a diagonal line which creates a jagged edge when viewed, would be improved through anti-aliasing, which would adjust the color values of adjacent pixels to soften the sharpness of the edge. But anti-aliasing would change the false colors of the image. In our previous tree example, the region in the image for the leaves, would be damaged by the process&#39; adjustment of the jagged edges. 
     Because the matte file is not anti-aliased and because it consists of relatively large regions of single colors, the matte file compresses well using run-length encoding (RLE). Run-length encoding extracts contiguous same-value bytes from the file. These segments are replaced by a two byte sequence. The first byte has its high order bit set to indicate data compression. The remaining seven bits of the first byte indicate the number of repetitions. The second byte is the value which is repeated. For example, a string of six consecutive bytes all having a value of five (&#34;5 5 5 5 5 5&#34;) would be compressed to the two bytes &#34;10000110&#34; (high order bit signals compression and remaining 7 bits indicate 6 repetitions) and &#34;00000101&#34; (indicates that &#34;5&#34; is the repeated value). Compression rates of 24:1 are typical for matte files using RLE. 
     The matte file for the frame is then stored as a video track of a QuickTime movie. In such an embodiment, the primary video track of the movie contains the visual animation frames and is displayed to the viewer. The secondary video track is the matte file which is automatically compressed by the built-in QuickTime RLE algorithm. This track is disabled so that it is invisible while the movie is being viewed. Disabling the track accomplishes data hiding. The advantage to such an embodiment is the ease of retrieving matte data due to the time synchronization of the video tracks. 
     Along with identifying the regions in the frames of the movies, the labels 760 must be created. When the present invention is embodied as a QuickTime movie, the QuickTime UserData region of the movie is used to store the labels. Labels are a run of byte-sized data. Each run is prefixed with a one-byte description which is a type-descriptor. For example, in one embodiment, 0 is the type-descriptor for a Pascal string, 1 is the type-descriptor of a C string, and 2 is the type-descriptor for a URL (Uniform Resource Locator). This allows the embedded label to take on any kind of meaning. 
     A tag file is also created for the animation movie 770. The tag file links a specific label with a specific false color value used in the matte file frames. An example format of a tag file is: 
     
         __________________________________________________________________________TAG.sub.-- NUM 150             // Matte file false color valueTAG.sub.-- LEVEL 1             // Education levelTAG.sub.-- TEXT       &#34;Tricuspid&#34;             // Label DescriptionTAG.sub.-- NUM 200TAG.sub.-- LEVEL 1TAG.sub.-- TEXT       &#34;Right Atrium&#34;TAG.sub.-- NUM 250TAG.sub.-- LEVEL 1TAG.sub.-- TEXT       &#34;Right Ventricle&#34;__________________________________________________________________________ 
    
     FIG. 8 shows a personal computer system 810 displaying one matte file frame 820. The matte file corresponds to a frame in the movie. Refer back to FIG. 6 for the corresponding frame. Each identifiable object in the frame has been separated and assigned a unique false digital color, black 830, blue 840, green 850, brown 860, red 870 and grey 880. 
     FIG. 9 is a block diagram of one embodiment of the present invention. Here, a personal computer system 910, which could be a Macintosh, IBM, a compatible of either of those, or other type of computer, is able to create or play animated movie sequences which are in a storage medium 920, such as RAM, a CD, a floppy disk, an optical disk, or on the computer&#39;s hard drive. The personal computer system uses the operating system 930 with rendering software 940 and labeling software 950 (one embodiment of the present invention) in creating the movies. The operating system, movie playing software 960 and the matte interpreter software 970 are used to play the movies. 
     The process of playing the movies and displaying the labels is flowcharted in FIG. 10. While the movie plays 1000, when a user uses a mouse or other pointing device to select an object in the movie 1010, the x-y coordinates of the selection are calculated 1020. The matte file corresponding to the current frame is decompressed 1030 and the false color value for the same x-y coordinate is determined 1040. From this value, the label description is retrieved 1050 and the label description is moved into the screen memory map locations 1060 so that the description will be displaying on the screen with the movie. 
     In one embodiment of the invention, multiple forms of information can be linked to an object in a movie. The invention can be configured to display the information appropriate to the viewer&#39;s educational needs. For example, if one object on the movie is an eye, then the viewer could be presented with &#34;Eye&#34;, &#34;The Eye is an organ for sight&#34;, &#34;The Eye includes the iris, pupil and cornea&#34;, or &#34;Eye=l&#39;oeil&#34; depending on whether the viewer has selected the &#34;Elementary&#34;, &#34;Intermediate&#34;, &#34;High School&#34;, or &#34;French translation&#34; mode. These multiple education levels could be implemented by a more comprehensive tag file having the following format: 
     
         ______________________________________TAG.sub.-- NUM 150             // Matte file false color valueTAG.sub.-- LEVEL 1             // Education levelTAG.sub.-- TEXT         &#34;Eye&#34;   // Label DescriptionTAG.sub.-- LEVEL 2TAG.sub.-- TEXT         &#34;The Eye is an organ of sight&#34;TAG.sub.-- LEVEL 3TAG.sub.-- TEXT         &#34;The Eye includes the iris, pupil and cornea&#34;TAG.sub.-- LEVEL 4TAG.sub.-- TEXT         &#34;Eye = l&#39;oeil&#34;______________________________________ 
    
     Other embodiments of the present invention are possible without departing from the scope and spirit of the present invention. Other embodiments of this invention include a multiple number of matte files for each frame, allowing different areas of the frame to have a higher resolution of label differentiation. 
     Although specific embodiments have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement which is calculated to achieve the same purpose may be substituted for the specific embodiment shown. This application is intended to cover any adaptations or variations of the present invention. Therefore, it is manifestly intended that this invention be limited only by the claims and the equivalents thereof.