This application claims the benefit, under 35 U.S.C. §365 of International Application PCT/CN2007/002632, filed Sep. 3, 2007, which was published in accordance with PCT Article 21(2) on Apr. 10, 2008 in English and which claims the benefit of WO patent application No. PCT/CN2006/002261, filed Sep. 1, 2006.
The present invention relates to a method and a device for video presentation, and more particularly to a method and a device for adaptive video presentation on small displays.
In the multimedia application area, a variety of new mobile devices, such as Pocket PC, Smartphone, SPOT watch, Tablet PC, personal digital assistant devices, etc, are growing popular in people's daily life. These devices are becoming more and more powerful in both numerical computing and data storage. Moreover, people have become enthusiastic to watch videos through these mobile devices.
However, low bandwidth connection and small display are still two serious obstacles that have undermined the usefulness of these devices in people's daily life. Though a few commercial video players such as Windows Media Player and PocketTV have been developed to enable users to browse videos from small-form factor devices, the limited bandwidth and small window size remain to be two critical obstacles. With the rapid and successful development of 2.5G and 3G wireless networks, the bandwidth factor is expected to be less constraint in the near future. While at the same time the limitation on display size is likely to remain unchanged for a certain period of time.
There has been some existing work focusing on the topic of displaying images on mobile devices. They can calculate and provide an optimal image viewing path based on the image attention model to simulate the human viewing behaviours. Since most of the valuable information is presented by videos, improving the experience of video viewing on small displays is very important to unleash the power of these mobile devices.
One solution to provide a better user experience for viewing videos on limited and heterogeneous screen size displays has been proposed by X. Fan et al in “Looking into Video Frames on Small Displays”, ACM MM'03, 2003, which introduces three browsing methods: manual browsing method, full-automatic browsing method and semi-automatic browsing method.
However, in the proposed full-automatic browsing method, both direction and zoom controls are disabled. The resulting video stream uses more screen space to display the attention-getting regions while cropping out the other parts. Therefore this approach will have less difference with the conventional down-sampling scheme when video frames contain many separate focuses.
In the semi-automatic browsing method, human interaction is still required to switch the browsing focus when there is more than one important attention object (AO). The display focus is calculated after the user presses the control button, and the artefact will appear when the focus is changed.
Therefore, the existing schemes couldn't provide a good solution for automatically browsing videos on devices with small display size and keep a better tradeoff between video display quality and display size constraint, especially in multiple focuses cases.
The present invention provides an adaptive video presentation solution for full-automatically representing videos on display devices with small size according to metadata information based on content analysis in order to provide an optimal video viewing experience for users.
According to an aspect, an adaptive video presentation method for automatically presenting an original large size of video on a smaller display is provided, which comprises steps of determining at least one salient object group containing at least one salient object for each frame of the scene of the original large size of video, and presenting the determined at least one salient object group on the smaller display according to a function between a size related to the at least one salient object group and the size of the smaller display.
In an embodiment the size related to the at least one salient object group is the size of a rectangle that covers the at least one salient object group in the frame containing the at least one salient object group.
In another embodiment, presenting the at least one salient object group on the smaller display is further according to the motion vectors of all macroblocks inside the frame containing the at least one salient object group.
In a further embodiment, the at least one salient object group is presented on the smaller display in a low motion mode or a high motion mode according to a function between the length of the motion vectors of all the macroblocks inside the frame containing the at least one salient object group and a first threshold.
Advantageously, the at least one salient object group is presented on the smaller display in the low motion mode when the average length of the motion vectors of macroblocks inside the frame containing the at least one salient object group is less than the first threshold; otherwise presenting the at least one salient object group in the high motion mode.
Preferably when calculating the average length of the motion vectors of macroblocks inside the frame containing the at least one salient object group, the length of the motion vectors of the macroblocks in salient objects and other parts of the frame have different weights.
In an embodiment, the at least one salient object group is presented on the smaller display with the average point of all the gravity points of all frames in the scene being as the central point of the smaller display during the high motion mode.
Advantageously all the gravity points of all frames in the scene are weighted when calculating the average point.
In another aspect, during the high motion mode, if the size of the at least one salient group is less than a second threshold, the at least one salient object group is presented on the smaller display with a zoom-in operation; otherwise if the size of the at least one salient group is larger than a third threshold, the at least one salient object group is displayed on the smaller display with a zoom-out operation.
Preferably, the second threshold is less than a half of the size of the smaller display and the third threshold is larger than or equal to two times the size of the smaller display.
During the low motion mode, if the size of the at least one salient object group is less than a fourth threshold, the at least one salient object group is displayed on the smaller display with a zoom-in operation.
In still another aspect, during the low motion mode, if the size of the at least one salient object group is not less than the fourth threshold and is less than a fifth threshold, it will be displayed on the smaller display directly; otherwise, if the length of the original scene is not less than a sixth threshold, a pan operation is performed on the salient object group with the central point of the smaller display being following the movement of the gravity point of the salient object group.
During the low motion mode, if the length of the scene is larger than the seventh threshold, a zoom-out operation is performed on the salient object group.
In an embodiment, during the low motion mode, if the length of the scene is less than the sixth threshold and there is only one salient object in the salient group, the central point of the smaller display is following the movement of the gravity point of the salient object group with a zoom-out operation; otherwise the salient object group is displayed on the smaller display directly.
Preferably, the fourth threshold is not larger than the half of the smaller display and the fifth threshold is not smaller than the size of the smaller display.
In a further embodiment, a tolerance of gravity points between neighboring frames is used to remove dithering when the central point of the smaller display is following the movement of the gravity point of the salient object group. The tolerance of the change of the gravity points can be used in the horizontal direction and in the vertical direction.
An apparatus for automatically presenting an original large size of video on a smaller display is provided. The apparatus includes an object group classification module, which determines at least one salient object group containing at least one salient object for each frame of the scene of the video for presenting the at least one salient object group on the smaller display according to a function between a size related to the at least one salient object group and the size of the smaller display.
In an embodiment, the apparatus further comprises a content analysis module for extracting salient objects from the frames of the original video.
In another embodiment, the apparatus comprises a property calculation module which calculates the gravity point of each frame, weight of the gravity points of all frames in a scene, the weight of motion vectors of all macroblocks in a frame.
In still another embodiment, the apparatus comprises a still focus module which determines the area to be displayed on the smaller display.
In a further embodiment, the apparatus comprises a spatial-temporal processing module which smoothes and eliminates the artefacts of the image.
These and other aspects, features and advantages of the present invention will be described or become apparent from the following detailed description of the preferred embodiments, which is to be read in connection with the accompanying drawings.
The present invention directs to a method and a device of adaptive video presentation (AVP) for better viewing experience with stream-embedded metadata base on content analysis information.
1. Introduction of basic Frameworks of AVP
As shown in
According to the present invention, three types of AVP frameworks are proposed: decoder end solution, joint encoder-decoder end solution, and encoder end solution, as shown in
With reference to
At first, the video displayed on the large display is processed by the pre-analysis module 11a to extract salient objects in each frame of the video, and then the extracted salient objects are grouped into at least one salient object group by the object classification (OGC) module 12a. The property calculation (PC) module 13a calculates the gravity point of each frame in a scene if the video, weights of the gravity point of each frame, weights of the motion vector of all macroblocks in a frame, etc. The still focus decision (SFD) module 14a decides the area to be displayed on a smaller display.
Similarly, in the second type of AVP framework solution as illustrated in
In the third type of AVP framework solution as illustrated in
2. Introduction of Basic Definitions for Adaptive Video Presentation
To optimize the user's viewing experience on displays with small size display windows, a set of attention area blocks in video frames should be firstly considered to be displayed because the relative information has more positive contributions to the user's viewing experience. Some basic definitions for AVP are described as below.
A. Salient Object
A Salient Object is a set of attention area MacroBlocks (MB) connected with each other, as shown by grey area of MBs in
A salient object Oi (i=1, 2, 3, . . . , N) is described by following parameters:
B. Salient Object Group
A Salient Object group contains at least one salient Object. There can be several salient object groups in a frame. It can be described by following parameters:
C. Scene
A shot is a sequence of frames recorded in a single-camera operation. A scene is a collection of consecutive shots that have semantic similarity in object, person, space, and time. It's also defined to tell the switch of salient objects between two frames. The display scheme inside a scene should be definite and usually stays consistent.
One parameter defined for scene is:
3. Introduction of Configuration Parameters and Operation Sets
Configuration parameters are necessary parameters to help making decisions of adaptive display mode selection, such as display or not, scaling down or not, summarizing or not, etc. There are four conditions defined to assist the video viewing path programming.
Minimum Perceptual Time (MPT)
MPT is used as a threshold for the fixation duration when viewing a salient object. If a salient object doesn't stay on the screen longer than a MPT threshold MPTso, it may not be perceptible enough to let users catch the information. If a scene doesn't last longer than a threshold MPTsc, only the most significant portion in it may be perceptible enough. MPTso and MPTsc can be selected according to different application scenarios and human visual property, which are usually set to ⅓ second and 2 second in our real application.
Minimum Perceptual Size (MPS)
The MPS is used as a threshold of the minimum spatial area of a salient object. Normally, if the size of a salient object SOi is less than a threshold MPTso, the salient object Oi should become marked as non-attention object or be merged into its neighbourhood salient object. But the MPS threshold is not always correct since a salient object with smaller spatial area may carry the most important information, and it cannot be merged or unumarked. So, some other semantic information will be used as additional configuration parameters of weight information, e.g. football, face, etc. Usually MPTso can be set to 5 MacroBlocks or be set to 5%-10% of the largest salient object size.
Weight of Salient Object (WSO)
This parameter is used to reserve the salient object that carries the most semantic important information and cannot be merged or unmarked. Normally, the value of each salient object's weight is set to 1. If a salient object obtains the most important information in the current and following frames (the number of frames should be larger than a threshold Tweight, usually Tweight=10) in a scene, its size is re-calculated as:
SOi=SOi×WSOi
Where WSOi can be defined by the semantic importance of each salient object, which is dependent on the content mode, third part's appointed semantic information, specifically user's experience, etc. Furthermore, the gravity of the salient object group is re-calculated.
Tolerance of Gravity Change (TGC)
When using gravity point of either salient object or salient object group of a frame as the center point of the smaller display. In order to avoid the dithering effect of the display which is caused by the slight change of the gravity point of the salient object or the salient object group between two neighboring frames, the parameter Tolerance of Gravity Change (TGC) is introduced to ensure that the small change of position (in unit of MarcoBlock) of gravity point will not cause the change of the center point of the smaller display. Two kinds of threshold TGCH (Tolerance of Gravity Change in the horizontal direction) and TGCV (Tolerance of Gravity Change in the vertical direction) can be defined according to the relationship between the smaller display screen and video frame size. When the change of gravity point (in unit of MacroBlock) is less than the two kinds of threshold TGCH and TGCV separately in horizontal and vertical direction, the center point of the display will not be changed to avoid dithering effect.
Table-I shows some operations needed for the requirement of adaptive video presentation.
According to the present invention, the adaptive video presentation operations can be classified into two categories: low motion exhibition and true motion exhibition respectively corresponding to low motion mode and high motion mode, which can be distinguished by the weighted average motion vector length of all MacroBlocks inside one frame MVACT. Usually a threshold TMOTION can be selected to do this classification, if MVACT is less than TMOTION, the low motion mode is determined, or else the high motion mode is determined.
In the low motion mode, there are at least three different exhibition operations can be used, i.e. direct display, gravity flowing show and saliency driving pan. Among these three operations, the direct display is to directly display the salient objects or salient object groups on the smaller display; the gravity flowing show controls the movement of display area of the smaller display by following the movement of the gravity point of the salient object group, and usually tolerance of gravity change (TGC) parameters are used to keep a smooth display strategy; the saliency driving pan is basically a pan operation with the consideration of saliency distribution to display the salient area on the smaller display window, especially in case of large salient object or multiple salient objects existing.
In the high motion mode, the true motion exhibition is introduced to display the salient objects or salient object group. The viewer can see the OG moving forwards and backwards on the smaller display window. In case of a scene of the video, the gravity point of each frame in the scene moves rapidly, and then the weighted average gravity point of all the frames in the scene of the video will be determined as the still focus centre of the smaller display. Thus the viewer can see the OG moving from one side to the other side of the smaller display window. For example, if the coordinates of the gravity point of all frames in the scene are recorded as (x1, y1), (x2, y2) . . . . Then the average of these gravity points should be x=average (x1, x2 . . . ), y=average (y1, y2 . . . ).
4. Decisions of Adaptive Video Presentation Operation
The video can be treated as an information gravity point flowing plane, in which different salient objects have different weights of importance of the information, and the MBs have the same characteristics inside each salient object. Therefore, it's the gravity point but not the center point of the salient object or group should be the center of the smaller display.
It can be imagined that there exists a kind of density distribution for the video content. The smaller display should focus on the area centralized by the gravity point of the group or a salient object, or progressively display the area by using the panning operation, which depends on the density distribution of the information.
The STP (spatial-temporal processing) module is the most important module in the AVP framework. Optimal spatial-temporal operations will be taken in the module to guarantee a smooth and acceptable video viewing experience.
Table-II demonstrates a sample of decisions of AVP operations, and of course some other types of combination can be considered due to detailed requirements of real application. In Table-II, DS means display size of the corresponding smaller display device.
For a scene of the video, salient objects should be extracted first. There are a lot of methods to do this work in the prior art, which will not be described here. Then at least one salient object group is determined. A salient object group contains at least one salient object.
In step 100, the motion mode of a scene of the video is determined by comparing the weighted average motion vector length for a frame MVACT with the predefined threshold TMOTION. In case the MVACT is less than the predefined threshold TMOTION, then the next step goes to step 200, or else to step 400. In step 200, it will determine whether the size of a minimum rectangle RGZ which covers the salient object group is equal or less than the DS/n, where n=2, 3 . . . , and preferably n=2. If it is determined in step 200 that the RZG is equal or less than the DS/n, then the process goes to step 210, where an extracted window with RZG are directly displayed on the smaller display with an appropriate zoom-in operation. If the RZG is equal or larger than the DS, then in step 220, it will determine whether the RZG is equal or larger than the DS, if the RZG is less than the DS but larger than the DS/n, then in step 230 the extracted window with the RZG will be directly displayed on the smaller display, if the RZG is larger than the DS, then in step 240, it will determine whether the length of scene LOS is less than the minimum perceptual time MPT. Then in step 250, it will determine whether the salient object group contains only one salient object. In a condition that only one salient object exists and the LOS is less than the MPT, the video will be presented on the smaller display in a gravity flowing shown operation with appropriate zoom-out operation, in step 260. In step 270, multiple salient objects exist and the LOS is less than the MPT, the video will be directly displayed on the smaller display, since in this condition the pan operation is forbidden to avoid frequent changing of the presentation operation so as to smooth the viewing experience. In step 280, it will determine whether the LOS is larger than m times of MPT, where m=2, 3 . . . . If the LOS is larger than m times of MPT, the video will be presented on the smaller display in a gravity flowing show operation along with a saliency driving pan operation and appropriate zoom-out operation, as in step 290. If the LOS is larger than MPT but not larger than m times of MPT, then the video will be presented in the gravity flowing show operation along with the saliency driving pan operation without zoom-out.
When the MVACT is determined not less than the predefined threshold TMOTION in step 100, the process goes to step 400. In step 400, it is determined whether the RZG is less than the threshold DS/2. If the determination is ‘yes’, the process goes to step 410, where a true motion exhibition is done with a zoom-in operation. While if the determination of the step 400 is ‘no’, the process goes to step 420, where it is determined whether RZG is larger than 2DS. If the determination is ‘yes’ in step 420, the process goes to step 430, where a true motion exhibition is done with a zoom-out operation. If the determination of step 430 is ‘no’, the process goes to step 440, where the true motion exhibition is done.
Although the embodiment which incorporates the teachings of the present invention has been shown and described in detail herein, those skilled in the art can readily devise many other varied embodiments that still incorporate these teachings. It is noted that modifications and variations can be made by persons skilled in the art in light of the above teachings. It is therefore to be understood that changes may be made in the particular embodiments of the invention disclosed which are within the scope and spirit of the invention as outlined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
PCT/CN2006/002261 | Sep 2006 | WO | international |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/CN2007/002632 | 9/3/2007 | WO | 00 | 2/25/2009 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/040150 | 4/10/2008 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5960126 | Nielsen et al. | Sep 1999 | A |
6108041 | Faroudja et al. | Aug 2000 | A |
6825857 | Harasimiuk | Nov 2004 | B2 |
6928186 | Ratnakar | Aug 2005 | B2 |
7035435 | Li et al. | Apr 2006 | B2 |
7263660 | Zhang et al. | Aug 2007 | B2 |
7505051 | Wang | Mar 2009 | B2 |
7696988 | Wu et al. | Apr 2010 | B2 |
20030118100 | Honda et al. | Jun 2003 | A1 |
20050226538 | Di Federico et al. | Oct 2005 | A1 |
20060227153 | Anwar et al. | Oct 2006 | A1 |
Number | Date | Country |
---|---|---|
1480901 | Mar 2004 | CN |
1529499 | Sep 2004 | CN |
1593065 | Mar 2005 | CN |
2003199102 | Jul 2003 | JP |
2005269016 | Sep 2005 | JP |
2006196960 | Jul 2006 | JP |
WO03047266 | Jun 2003 | WO |
WO2004090812 | Oct 2004 | WO |
Entry |
---|
Fan et al. “Looking into Video Frames on Small Displays”, ACM MM '03, 2003. pp. 247-250. |
Search Report Dated Nov. 28, 2007. |
Number | Date | Country | |
---|---|---|---|
20090244093 A1 | Oct 2009 | US |