The present invention is related to a method for synchronizing the slide show with the background music, particularly to a method which applies the technique of frame division for displaying multiple images at once to synchronize the slide show with the background music.
With the digitizing of image technology, the user is provided with various types of means to store the captured images or pictures in digital formation. Such means includes the popular digital camera (DC) or the scanner, which could be used to scan the traditional pictures as image files.
Besides, for the fast development of storage technology, the capacities of the memory card mainly used in the DC have become remarkably greater. Therefore, the users could capture much more pictures in one memory card. Unlike the traditional pictures, the images captured by the DC could be viewed on the computer or even the television without being printed on photographic papers in advance. Accordingly, the users may tend to take a great number of images in the places of historic interest and scenic beauty or in the occasions for celebration.
Since the pictures are still images, it is quite boring and complicated to browse numerous pictures manually one by one. To solve such problem, these pictures are usually integrated as a slide show, which could display the images automatically. In such slide show, the images may be presented with various image effects, such as zooming, panning, fade-in or fade-out.
Moreover, the background music may be provided to incorporate into the slide show for fun. The playing time of the background, however, could not always just equal to that of the slide show. The traditional way to handle such problem is simply repeating the background music and cutting off the playing in any section of the background music. Although the effect of music fade-out is provided, this way still causes suddenness and destroys the integrity of the slide show. Consequentially, the perfect visual and audio effects are therefore absent.
In view of the above-mentioned problems, the present invention therefore provides methods for synchronizing the slide show with the background music. With these methods, various techniques could be applied to adjust the playing time of the slide show to synchronize with the background music. In this way, the integrity of the slide show and the background music could be maintained, and the users would not be displeased by the difference between the playing times.
The purpose of the present invention is providing a method for synchronizing the slide show with the background music. First, the playing times of the slide show and the background music are compared to obtain their difference. If the playing time of the slide show is longer than that of the background music, the images in one segment of the slide show (preferably the segment exceeding the background music) are displayed together with certain images in the remaining segment by means of frame division. A new slide show having the same playing time with the background music is generated. If the playing time of the slide show is shorter than that of the background music, at least one image in the slide show would be divided into plural sections, and the sections would be displayed sequentially to extend the playing time of the slide show. Similarly, the new slide show having the same playing time with the background music is generated.
Besides, the methods of the present invention may also divide plural images in the slide show into plural sections, and group these sections. The images belonging to the same group would be displayed in the same frame to adjust the playing time of the slide show. The new slide show having the same playing time with the background music is therefore generated. Moreover, different groups may include identical sections. In other words, each section could appear in several frames repeatedly to extend or shorten the playing time of the slide show.
The present invention is described with the preferred embodiments and accompanying drawings. It should be appreciated that all the embodiments are merely used for illustration. Although the present invention has been described in terms of a preferred embodiment, the invention is not limited to this embodiment. The scope of the invention is defined by the claims. Modifications within the spirit of the invention will be apparent to those skilled in the art.
In this embodiment of the present invention, the storage device for storing the slide show and the background music includes but not limited to the hard disc, the floppy disc, the compact disc (such as CD, DVD, HD DVD or Blu-ray disc) or the memory (such as RAM, ROM or Flash memory).
As shown in the
In the preferred embodiment of the present invention, the slide show would be divided into plural segments, two segments for example, which are the first segment and the second segment. As shown in step 12, the first segment is preferably the exceeding segment of the slide show compared with the background music, such as the image E to I in
When the background music is shorter than the playing time of slide show and the ending of the background music is not at the right time of image switch, the first segment preferably includes the displayed image at the moment. For instance, if the playing time of the background music is twenty-three seconds, the background music would be finished during the displaying of image E. In this situation, the image E is preferably included in the first segment.
The second segment may include all other images except those of the first segment. In this embodiment, the second segment includes four images, which are image A to D. Nevertheless, the distribution of the first and second segments is not limited to the aforementioned arrangement, and some images may be shared by them. For example, the first segment could include last seven images in the slide show (image C to I) and the second segment may include first five images in the slide show (image A to E). In this way, three images (image C, D and E) are shared by the first and second segments.
Next, in step 13, each image in the first segment would be displayed along with certain image of the second segment by frame division, as shown in
Besides, the images displayed jointly in a frame may be displayed sequentially or concurrently. Generally, the playing time could be shortened by displaying plural images in a frame concurrently.
Since the frame is divided into smaller portions, the images arranged in the frame could be zoomed or cropped to fit the areas of the portions. In one preferred embodiment of the present invention, the portions may include a dominant portion with greater area. Such dominant portion is usually filled with the image which is originally displayed in that frame.
Finally, with the above adjustment, a new slide show having the same playing time with the background music could be generated by the computer or the processor of the system, as shown in step 14.
The present invention may otherwise divide the images in the slide show into plural sections, as shown in
In the method presented in
Referring
Furthermore, as shown in the step 32 of
Because the division of the image may cause negative effect to the expression of the image, the semantic analysis is preferably performed before the division to detect the semantic regions, such as the human face, the neighborhood around the focus with predetermined area or the highly symmetrical region. These semantic regions, which are usually meaningful to the users, are preferably remained intact in the divided sections in order to keep the integrity of the slide show.
In addition, if the playing time of the background music is too short, the music could be played for two or more times, and the techniques mentioned above are then applied. The following formula may be adopted to calculate the appropriate playing times of the music:
(Nimage×Timage)+Taudio=Naudio′
wherein Nimage is indicated to the total number of the images, Timage is referred to the playing time of each image, Taudio is the playing time of the background music, and Nauido is indicated to the playing times of the background music. If the obtained Nauido is not an integral, the decimal fraction is preferably omitted or carried to obtain proper playing times of the music. For example, in the embodiment shown in
With the methods provided by the present invention, the playing time of the slide show could be shortened or extended automatically to synchronize with that of the background music for meeting various demands. In particular, the integrity of the slide show and the background music could be retained appropriately.
As is understood by a person skilled in the art, the foregoing preferred embodiments of the present invention are illustrated of the present invention rather than limiting of the present invention. It is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims, and the scope of which should be accorded the broadest interpretation so as to encompass all such modifications and similar structure. While the preferred embodiment of the invention has been illustrated and described, it will be appreciated that various changes can be made therein without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
094104684 | Feb 2005 | TW | national |