This invention relates to methods for displaying a digital image on a digital display device, such as a digital picture frame, and, in particular to, methods for dynamically identifying and displaying objects of interest in an image on a digital display device.
Digital display devices (“DDDs”) such as digital picture frames (“DPFs”) provide for the display of a collection of photos, images or even videos. The advancement in the mass production of LCD's resulted in the lowering of the cost of the LCD's and therefore the DDDs. As DDDs become more and more popular, the particular problems associated with DDDs are becoming apparent and require customized solution. There are several factors to consider with respect to DDDs, for example image quality, ease of setup, ease of use, and image presentation.
Ideally, DDDs should be able to accept a source image from a variety of capture devices or external media. The source image may have a variety of properties such as having a variety of heights, widths, aspect ratios, resolutions, and metadata. At present, most DDDs only provide for the limited processing of the source image. They may be able to reduce the resolution of the source image to conform to the resolution of the DDD or crop the source image such that only a portion of the source image is displayed. For example, if the provided source image has a size of 1024×768 pixels and the particular DDD has a display window size of 720×480 pixels, the provided source image needs to be resized or cropped before it can be properly displayed on the display window of the DDD.
However, these types of resizing methods do not allow the DDDs to display the source image adequately. DDDs generally do not provide tools to allow the end user to automatically process the image so that the objects of interest are displayed in a central position on the display window of the DDDs. For instance,
Other prior art methods, a result of which is illustrated in
Therefore, it is desirable to provide methods for displaying images on the display window of a DDD that would take into account the properties of the image.
An object of this invention is to provide methods for automatically adjusting the mode of display of an image as a function of the properties of the image.
Another object of this invention is to provide methods for automatically identifying the objects of interest in an image.
Another object of this invention is to provide methods to crop an image as a function of the location of the objects of interest in the image.
Another object of this invention is to provide methods for automatically applying predefined effects to an image.
The present invention relates to methods for dynamically displaying an image on a digital display device, such as a digital picture frame. These methods may include the following steps of: identifying one or more objects of interest in the image; defining a crop area as a function of the one or more objects of interest; decoding the crop image into a canvas; and displaying the selected area of the canvas.
An advantage of this invention is that the mode for display of an image can be automatically adjusted as a function of the properties of the image.
Another advantage of this invention is that an image can be automatically cropped as a function of the locations of the objects of interest in the image.
Yet another advantage of this invention is that one or more of the predefined effects may be automatically applied to the objects of interest for display on a digital display device.
The foregoing and other objects, aspects, and advantages of the invention will be better understood from the following detailed description of the preferred embodiment of the invention when taken in conjunction with the accompanying drawings in which:
a-7f illustrate the images displayed by the viewing windows at different time periods using the methods of panning and zooming over the canvas image.
a-8f illustrate the corresponding display windows of the images from
a-9c illustrate the predefined effect of switching the objects of interest with other objects of interest within the same source image. Here, the man's face is switched with the woman's face.
a-10b illustrate the process flow of a presently preferred embodiment of this invention.
a-11b illustrate several paths through a canvas image.
The presently preferred embodiments of the present invention provide methods for dynamically displaying a source image as a function of the properties of the source image for display on a digital display device. An image referred to herein may be any digital image, including but not limited to a source image, a crop image, a canvas image, and a viewing image. The source image may be obtained from a capturing device, such as a digital camera, or a storage device, such as a hard drive, USB drive, secured digital card, or flash card.
The processing of the source image (
The processed source image may be evaluated to determine whether predefined metadata exists (
Predefined metadata may include information used by the methods of this invention such as facial recognition information, cropping information, one or more locations of the objects of interest, and other image properties such as resolution, aspect ratio, width and height. If predefined metadata does exist, the predefined metadata is stored for further processing.
The next process is to identify one or more objects of interest (
The objects of interest may be prioritized based on the type of the objects of interest and other properties of the objects of interest. There may also be sub-priorities within each type of objects of interest based on the properties of the objects of interest. The priorities may be used later on to process the source image for dynamic display. For instance in
Furthermore, the same type of objects of interest may be prioritized amongst each other. For instance in
Once the objects of interest are identified and prioritized, the methods of this invention may define a crop area by calculating an optimal area to crop as a function of the properties of the image (
The crop area may depend on whether the area is overexposed or underexposed, the location, size, orientation, and priority of each object of interest, or the aspect ratio of the display device, as well as other factors. The DDD user may set the DDD to crop areas automatically based on the above factors or define the DDD user's own cropping criteria.
Once the crop area has been identified, then the source image can be further processed by cropping away the one or more calculated crop areas, and the image can then be decoded into a buffer for further processing. For instance,
Next, whether the selected canvas image meets one or more of the conditions for applying one or more of the predefined effects (
Whether to apply one or more of the predefined effects may be defined either by the DDD user or selected by methods of this invention. The DDD user may chose to apply one or more of the predefined effects on the image by inputting their choice(s) into the DDD. The methods of this invention may also provide a random selection tool that randomly picks one or more of the predefined effects. Alternatively, the methods of this invention may apply one or more of the predefined effects based on the number of objects of interest, the relative locations of the objects of interest, the priority of each object of interest, the orientation of each object of interest, the properties of the canvas image, and the properties of the display window.
If the canvas image meets one or more of the conditions for applying predefined effects, the canvas image is processed and an image is generated with one or more of the selected predefined effects (
For the methods of this invention that switch the location of one object of interest with the location of another object of interest, several factors may be taken into consideration. For use herein, the object of interest to be placed in a specified location of another object of interest will be referred to as the switching object of interest, and the object of interest to be replaced will be the switched object of interest.
The first factor which may be taken into account is the difference in the relative sizes of the objects of interest; since switching the location of the objects of interest with different sizes may lead to distortion with the associated background. The associated background may be defined as one or more objects adjacent to the objects of interest in the image. For instance in
The presently preferred embodiment may circumscribe the object of interest with a locator box, where the borders of the locator box are at predefined distances from the object of interest. The resizing of the object of interest may be done by stretching or skewing the switching object of interest to fit the locator box of the switched object. For instance in
The second factor when switching the location of the objects of interest is that background pixels of a locator box may need to be generated at certain pixel locations, herein defined as “blank pixels,” where the switching object of interest does not cover the pixels of where the switched object of interest once resided. For instance
Similarly, the extrapolation step may be done for other predefined effects where an object of interest is switched or replaced. For instance, the predefined effect where the object of interest is replaced by a predefined object, such as replacing a face located in the image with a cartoon character's face found in a different image. The extrapolation step may be necessary to fill in blank pixels where the cartoon character's face may not cover the pixels of the object of interest. This is one example of many where the extrapolation step may be used.
If one or more of the conditions for applying one or more of the predefined effects have been completed, next, a path may be generated based on the properties of the objects of interest (
A simple example of a path in a canvas image may be a path from the left-edge of a canvas image to the right-edge of the canvas image, wherein the path may be centered along the height of the canvas image (see
A path may also start from any point on a canvas image, and may or may not be continuous or periodic. For instance in
Once a path has been defined, the methods of this invention may provide for panning and zooming along the path as a function of the path, one or more of the properties of the source image and/or canvas image, including the properties of the objects of interest such as orientation, type, and priority, the crop area, the canvas image properties such as height, width, and aspect ratio, and the viewing window properties such as height, width, and aspect ratio, and the display window properties such as height width, and aspect ratio. Panning and zooming along a defined path may include many variations. The following examples below illustrate a few of the infinite number of different permutations for panning and zooming over a defined path
An example of panning and zooming along a path is given in
Panning and zooming may also trace along a path in a nonlinear fashion such that the viewing window may jump from one point on the path to another point on that path without tracing through the points along that path that are between those two points. For instance in
Panning and zooming may also be performed in a variety of ways such as by panning from right to left with no zooming in and out of the one or more objects of interest, by panning from the left most object of interest to the right most object of interest or vice versa, by panning, zooming in and out, and/or focusing on each object of interest. Particularly in
Note that panning and zooming may be mutually exclusive, such that only panning may be applied to the image during display, or alternatively, only zooming in and out of focal points may be applied to the image during display.
Additionally, the methods of this invention for panning and zooming may display one or more specific viewing windows for a longer or a shorter duration of time than other viewing windows along a defined path. The duration of time to display a viewing window may be dependent on the defined path, one or more of the properties of the source image and/or canvas image, including the properties of the objects of interest such as its type and priority, the crop area, the canvas image properties such as height, width, and aspect ratio, and the viewing window properties such as height, width, and aspect ratio, and the display window properties such as height width, and aspect ratio. For instance in the example of panning and zooming along a path given in
Once the initial viewing window is processed and displayed on the display window of the DDD, the successive viewing windows are processed and displayed on the display window in continuous order until the end of the path has been reached.
Note that in the processing and the displaying step, this may include rotating the image of the viewing window for display on the DDD as a function of the properties of the objects of interest, the crop area, the one or more predefined effects, and the panning and zooming. For instance in
However, if the DDD user decides to deactivate the panning and zooming, then the image can be statically displayed. For static display, the viewing window is proportioned directly to the size of the canvas image since the whole canvas is to be displayed (
After the viewing window has been displayed, then the present embodiment determines whether the end of the path has been reached (
While the present invention has been described with reference to certain preferred embodiments or methods, it is to be understood that the present invention is not limited to such specific embodiments or methods. Rather, it is the inventor's contention that the invention be understood and construed in its broadest meaning as reflected by the following claims. Thus, these claims are to be understood as incorporating not only the preferred methods described herein but all those other and further alterations and modifications as would be apparent to those of ordinary skilled in the art.