Reference is made to commonly assigned application U.S. Ser. No. 09/514,436, entitled “FACE DETECTING CAMERA AND METHOD”, filed on 28 Feb. 2000 in the names of Ray et al., and which is assigned to the assignee of this application.
The invention relates generally to the field of digital imaging. More specifically, the invention relates to a method for generating an image.
Many people enjoy the field of photography—from the casual and amateur photographer to the professional—and many attempts are made to capture a pleasing photograph of a subject. In some situations, more than one subject can be captured in one photograph, and it is desired to separate or isolate one subject from the plurality of subjects to generate a photograph of just the one subject.
For example, portrait images are a popular type of photograph/image taken by both professional photographers and amateur photographers. These portrait images typically show a head and shoulder portrait of one or more individuals. For example, portrait images are popular for school year books and graduation pictures. If a photograph of a group of individuals is captured, it may be desired to obtain a portrait image of just one of the individuals. In another example, a photograph may include a plurality of subjects, such as a house, barn, tree, and horse, and it may be desired to generate a photograph of just the horse.
Some software methods are known wherein a user can outline the desired subject from a particular image. However, such software methods are tedious and are not suited for a novice user of the software.
Accordingly, there exists a need for an automated method for generating an image of a detected subject.
The present invention provides a method for an automated method for generating an image of a detected subject.
An object of the present invention is to provide a method for generating an image of a detected subject.
Another object of the present invention is to provide such a method that is automated so as to be suitable for use by a casual user.
These objects are given only by way of illustrative example, and such objects may be exemplary of one or more embodiments of the invention. Other desirable objectives and advantages inherently achieved by the disclosed invention may occur or become apparent to those skilled in the art. The invention is defined by the appended claims.
According to one aspect of the invention, there is provided a method of generating an image. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising at least one detected subject; and displaying, on a display of the imaging device, at least one portion of the digital still image comprising one of the plurality of subject images.
According to another aspect of the invention, there is provided a method of generating an image. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising at least one detected subject; displaying the plurality of subject images on a display of an imaging device; providing a selection member for selecting at least one of the plurality of subject images; displaying, on the display, a plurality of candidate images, each of the candidate images comprising a template and the selected at least one of the plurality of subject images, the template of one candidate image differing from the template of another candidate image; providing a selection member for selecting one of the plurality of candidate images; and displaying on the display the selected one of the plurality of candidate images.
According to a further aspect of the invention, there is provided a method of generating an image. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising at least one detected subject; displaying the plurality of subject images on the display of the imaging device; providing a selection member for selecting at least one of the plurality of subject images; displaying, on the display, the selected at least one of the plurality of subject images and a plurality of candidate templates, one candidate template differing from another candidate template; providing a selection member for selecting one of the candidate templates; and displaying, on the display, a candidate image comprising the selected at least one of the plurality of subject images and the selected one of the candidate templates.
According to yet another aspect of the invention, there is provided a method of generating a photo collage. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising one detected subject; forming a photo collage comprising the plurality of subject images; and displaying the photo collage on the display of the imaging device.
According to yet a further aspect of the invention, there is provided a method of generating a photo collage. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising at least one detected subject; providing a template having a predetermined location adapted to receive one of the plurality of subject images; generating a plurality of template images, each template image comprising the template and one of the plurality of subject images disposed within the predetermined location; forming a photo collage comprising the plurality of template images; and displaying the photo collage on the display of the imaging device.
According to yet a further aspect of the invention, there is provided a method of generating a photo collage. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising one detected subject; providing a first and second template, the first and second template each having a predetermined location adapted to receive one of the plurality of subject images; categorizing the content of each of the plurality of subject images; associating one of the two templates with each of the plurality of subject images in accordance with the categorization; generating a plurality of template images, each template image comprising the one of the plurality of subject images and the associated template wherein the one of the plurality of subject images is disposed within the predetermined location of the associated template; forming a photo collage comprising the plurality of template images; and displaying the photo collage on the display of the imaging device.
According to yet a further aspect of the invention, there is provided a method of generating an image. The method comprises the steps of: accessing a digital still image comprising a plurality of subjects; applying a subject detection algorithm to the digital still image to detect the plurality of subjects to generate a plurality of subject images, each of the subject images comprising one detected subject; providing means for indicating a number of subject images to be selected; providing a selection member for selecting the subject images; and displaying, on a display of an imaging device, at least one candidate image, the candidate image comprising the selected subject images.
The foregoing and other objects, features, and advantages of the invention will be apparent from the following more particular description of the preferred embodiments of the invention, as illustrated in the accompanying drawings.
The following is a detailed description of the preferred embodiments of the invention, reference being made to the drawings in which the same reference numerals identify the same elements of structure in each of the several figures.
The present invention employs a digital imaging device adapted to display a digital image. Digital imaging devices include digital cameras, video recorders, kiosks, PDAs, cellular phones having image capability, and the like.
An example of a digital imaging device configured as a kiosk is a Picture Maker™ kiosk produced by Eastman Kodak Company, generally illustrated in
An example of a digital imaging device configured as a digital camera is generally shown in
For ease of convenience only, the present invention will be disclosed with reference to a digital imaging device configured as a kiosk.
A preferred use of the present invention is intended for images of individuals/people. However, the present invention can be applied to images of other objects, such as inanimate objects (e.g., trees, houses, cars, and the like) or animals (e.g., cats, dogs, and the like). For ease of convenience only, the present invention will be disclosed with reference to the subjects being individuals. Therefore, the term “subject” refers to and includes subjects/objects, whether human, animate, inanimate, sentient, or non-sentient.
In a first embodiment of the present invention, at least one subject is extracted from a digital still image comprising a plurality of subjects.
The steps of the method diagrammed in
At step 100, a digital still image comprising a plurality of subjects is accessed.
At step 102, a subject detection algorithm/technique (hereinafter, algorithm) is applied to digital still image 30 to detect the plurality of subjects to generate a plurality of subject images, wherein each of the subject images comprises at least one detected subject. Algorithms for detecting objects or subjects of an image are known and can be employed in the present invention, and can be automatic or manually assisted. A manually assisted algorithm might include having a user indicate a particular subject(s). U.S. Pat. No. 5,835,616 (Lobo) teaches a face detection system. U.S. Pat. No. 5,629,752 (Kinjo) teaches the detection of a human face. Wu et al. published a face detection algorithm that is well suited for inclusion in a digital camera in “Face Detection from Color Images Using a Fuzzy Pattern Matching Method”, Wu et al, IEEE Trans. Pattern Analysis and Machine Intelligence 21 (6), pages 557-563, 1999. Other subject detection algorithms are referenced in (1) U.S. Patent Application No. 2002/0089515A1 (Sobol), (2) H. Schneiderman and T. Kanade, “A statistical method for 3D object detection applied to faces and cars”, In Proceedings of Computer Vision and Pattern Recognition, 2000, (3) Q. Iqbal and J. Aggarwal, “Combining Structure, Color and Texture for Image Retrieval: A Performance Evaluation”, In Proceedings of International Conference on Pattern Recognition, 2002, and (4) Forsyth, D. A.; Fleck, M. M, “Finding people and animals by guided assembly”, in Proceedings, International Conference on Image Processing, p. 5-8 vol. 3. 1997. These detection references are incorporated herein by reference.
At step 104, at least one portion of digital still image 30 is displayed on display 12, wherein the displayed at least one portion comprises one of the plurality of subject images on a display of the imaging device. Preferably, a plurality of portions are displayed, wherein the plurality is equal to the number of subject detected. That is, one portion for each detected subject is preferably displayed.
In a second embodiment of the present invention, at least one subject is extracted from an image and merged with a single template.
The steps of the method diagrammed in
At step 200, a digital still image comprising a plurality of subjects is displayed on display 12 of kiosk 10. Referring again to
At step 202, a subject detection algorithm is applied to digital still image 30 to detect the plurality of subjects and generate a plurality of subject images, wherein each of the subject images comprises at least one detected subject.
At step 204, the detected subjects are displayed.
Textual messages or instructional messages can also be displayed. For example, instructional message 32 is shown on display 12. Audio messages can also be provided.
At step 206, one of the displayed subject images I1-I5 is selected using a selection member. As indicated above, display 12 can be a touchscreen whereby portions of the screen can be touched to indicate a selection. For example, as shown in
At step 208, a plurality of candidate images is displayed. Each of the candidate images comprises a template and the selected at least one of the plurality of subject images. More particularly, each candidate image includes a predetermined location where the selected subject image can be placed. The remaining portion of the candidate image comprises the template. The template of one candidate image differs from the template of another candidate image.
Referring now to
Combining the subject image with a pre-stored image (i.e., the template) is known to those skilled in the art. U.S. Pat. No. 6,075,542 (Fredlund) and U.S. Pat. No. 5,986,671 (Fredlund), both commonly-assigned and incorporated herein by reference, relate to methods of combining a digital image with a pre-stored digital image.
In one arrangement, the shape/size of the predetermined location is automatically determined based on the shape/size of the selected subject image. Yet further, templates T1-T6 are shown as vignettes, wherein a vignette is a picture that shades off into the surrounding color at the edges. Other arrangements can be employed, for example, a matted arrangement or a border. Other techniques can be employed, including, but not limited to edge obscuring, brush stroking, grain, dry brush, cutting, contrast, obscuring of the non-subject area, or de-emphasizing of the non-subject area such as by contrast or defocusing, feathering, or defocusing, or the like.
At step 210, one of the plurality of candidate images C1-C6 is selected. As indicated by instructional message 32 shown in
Once one of the candidate images C1-C6 is selected, the selected candidate image is displayed on display 12 (step 212). For the instant example, candidate image C6 is touched in
A user is now able to more particularly view the selected candidate image.
In a preferred embodiment, a menu is provided to allow the user to modify the image or generate an order for an image bearing product comprising the image. In
When the plurality of subject images are displayed, it may be desirable to have the subject images arranged by category. For example, with reference to
A third embodiment of the present invention is now disclosed providing another arrangement wherein a single subject is extracted from an image and merged with a single template.
At step 308, a plurality of candidate templates is displayed on display 12 along with the selected at least one of the plurality of subject images. Each candidate template differs from another candidate template. One of the plurality of candidate templates is then selected using a selection member of kiosk 10 (step 310), and the selected one of the plurality of candidate templates is merged with the selected at least one of the plurality of subject images to generate a candidate image. This candidate image is displayed on display 12 at step 312. The displayed candidate image can then be stored, transmitted, or printed, if desired.
The steps of the method diagrammed in
Regarding step 300,
In
At step 308, the selected subject image is displayed along with a plurality of candidate templates. Referring now to
Disposed proximate the plurality of candidate templates CT1-CT6 is a candidate image preview area 58. Disposed within candidate image preview area 58 is a candidate image comprising the selected at least one of the plurality of subject images and a selected one of the candidate templates. That is, the previously selected subject image is positioned within the predetermined location 56 of whichever candidate template is selected by the user. For the instant example, subject image I2 was selected in
Once the desired candidate image is displayed in preview area 58 (i.e., the desired combination of subject image and candidate template is selected), as shown in
The present invention is not limited to one subject and/or one template. A fourth embodiment of the present invention is now disclosed wherein a plurality of subjects are positioned within a plurality of templates.
A user may desire to select two or more subject images to be positioned within two or more templates. Accordingly, it may be required that the user indicates the number of subject images to be selected, as well as indicate the number of templates to be selected. If the user first indicates the number of subject images, the number of templates can correspond. If the user first indicates the number of templates, the number of subject images can correspond.
For example, referring to FIGS. 5 and 15-16, display 12 can display a subject number menu 60 allowing a user to indicate how many subjects are to be selected. In the instant example shown in
Alternatively, referring to FIGS. 5 and 17-18, display 12 can display subject number menu 60 allowing a user to indicate how many subjects are to be selected, and then displaying in a preview area 62 the selected subject images. Then, once continue selection member 54 is selected, a plurality of candidate templates can be displayed for selection by the user.
A fifth embodiment of the present invention is now disclosed wherein a plurality of subjects and one template are employed.
It may be desirable to form a photo collage comprising some or all of the subjects of digital still image. A method in accordance with a fifth embodiment of the present invention provides for the generation of such a photo collage.
For example, digital still image 30 shown in
Referring to
Photo collage 70a is formed by arranging the plurality of subject images in a predetermined layout. Various predetermined layouts that are pleasing and artistic will be known to those skilled in the art. For
The content of each of the subject images can be categorized, and the plurality of subject images arranged in the predetermined layout in accordance with the categorization of the subject images. For example, for
The photo collage can also comprise the digital still image.
A sixth embodiment of the present invention is now disclosed wherein a plurality of subjects and one template are employed. More specifically, it may be desirable to form a photo collage wherein each of the subject images includes a template. A method in accordance with a sixth embodiment of the present invention provides for the generation of such a photo collage.
In addition, the individual template images can be individually printed. That is, the system can extract each template image for separate storage, transmittal, or printing. As such, each individual template might be considered a “trading card” or “snap shot” for sharing with friend and/or relatives. An example is a photo collage of a baseball team, wherein the individual template images would provide a trading card of each player for sharing with team-mates.
Photo collage 70c is formed by arranging the plurality of template images in a predetermined layout. Various predetermined layouts, which are pleasing and artistic, will be known to those skilled in the art. For
The content of each of the template images can be categorized, and the plurality of template images arranged in the predetermined layout in accordance with the categorization of the template images. For example, for
The photo collage can also comprise the digital still image.
Textual information can be included on the photo collage.
A seventh embodiment of the present invention is now disclosed wherein a plurality of subjects and a plurality of templates are employed. More specifically, it may be desirable to form a photo collage wherein each of the subject images includes a template. However, it may be desired to have more than one template. A method in accordance with a seventh embodiment of the present invention provides for the generation of such a photo collage.
Referring to
Photo collage 70e is formed by arranging the plurality of template images in a predetermined layout. Various predetermined layouts, which are pleasing and artistic, will be known to those skilled in the art. For
The photo collage can also comprise the digital still image.
The template can be selected by the categorization. That is, the template can be appropriate for the category. For example, for the instant example, template T11 may include images associated with boys (e.g., blue colors, trucks, cars, planes) while template T10 may include images associated with girls (e.g., pink colors, dolls, ribbons, stuffed animals).
The method in accordance with the seventh embodiment may be desired for sporting event photographs. For example, if two teams are displayed in a digital still image, the content can be categorized by uniform (team) color, and specific templates associated with each team.
Action play cards might also be considered as the subject image if video segments are available. That is, the digital still image might be obtained from a video segment.
An eight embodiment of the present invention is now disclosed wherein a template is provided which complements the content of the detected subject. More specifically, it may be desirable to have the design of the template complement the subject. For example, if the detected subject is a young girl, it would be preferable if the templates were age appropriate. That is, the design of the template should complement the subject.
Object recognition software is available to analyze the content of the digital image. Other software and/or algorithms may be known to those skilled in the art for analyzing the content of a digital image. U.S. Pat. No. 6,157,435 (Slater), commonly-assigned and incorporated herein by reference, relates to content recognition and image recognition.
Using such object recognition software, the content of the detected subject image can be determined. Then, the content can be categorized to determine a complementary design for a template. For example, if the content of the subject image is determined to be a horse, the content can be categorized to provide template designs of barns, farm scenes, carriages, saddles, and the like.
Conversely, if the user selects a particular template having a specific design, the object recognition software can determine which detected subject image most closely complements the template. For example, if the digital image includes people, a horse and dog, and the user selects a template having a barn scene, then the system could automatically position the horse subject image within the selected template (the horse being more associated with a barn than a person or dog).
It is recognized that the subject images can be obtained from multiple digital still images. That is, one subject image might be selected from digital still image 30 while a second subject image might be selected from a digital still image 30. Accordingly, it is understood that the digital imaging device can be configured to display a plurality of subject images from a plurality of digital still images. In such a situation, it may be desirable to employ the third embodiment since it the linear arrangement of the plurality of subject images (shown in
Means can be provided to edit the arrangement of the subject images within the predetermined layout. For example, referring again to
Textual information can be added, either on the template or photo collage or subject image. If this information is available from metadata or the jpeg header, then the textual information could be added automatically by the system.
Editing of the content of the subject images can also be accomplished. For example, blemishes can be removed, scratches or other artifacts can be removed, glare can be reduced, density can be improved, color can be improved, contrast can be improved, saturation can be improved, sharpness can be improved, noise can be reduced, red-eye artifacts can be removed, and the like.
In addition, context sensitive backgrounds can also be utilized that complement the detected object. Examples include: barns, fields, and fences for complementing horses as the object of interest; and theme-based backgrounds such as sports backgrounds for sports team pictures.
A computer program product may include one or more storage medium, for example; magnetic storage media such as magnetic disk (such as a floppy disk) or magnetic tape; optical storage media such as optical disk, optical tape, or machine readable bar code; solid-state electronic storage devices such as random access memory (RAM), or read-only memory (ROM); or any other physical device or media employed to store a computer program having instructions for controlling one or more computers to practice the method according to the present invention.
The present invention can employ video clip segments, that is, one or more frames from a video clip. It may be desired to provide a template with a plurality of frames to provide “motion” within the predetermined locations within the template. More particularly, a particular subject can be identified from the video clip, and algorithms can be employed to “track” the subject in the video clip and extract the particular frames for insertion into the predetermined location.
The invention has been described in detail with particular reference to a presently preferred embodiment, but it will be understood that variations and modifications can be effected within the spirit and scope of the invention. The presently disclosed embodiments are therefore considered in all respects to be illustrative and not restrictive. The scope of the invention is indicated by the appended claims, and all changes that come within the meaning and range of equivalents thereof are intended to be embraced therein.
Number | Name | Date | Kind |
---|---|---|---|
5148477 | Neely et al. | Sep 1992 | A |
5550928 | Lu et al. | Aug 1996 | A |
5629752 | Kinjo | May 1997 | A |
5835616 | Lobo et al. | Nov 1998 | A |
5986671 | Fredlund et al. | Nov 1999 | A |
6025827 | Bullock et al. | Feb 2000 | A |
6075542 | Fredlund et al. | Jun 2000 | A |
6157435 | Slater et al. | Dec 2000 | A |
6298145 | Zhang et al. | Oct 2001 | B1 |
6629104 | Parulski et al. | Sep 2003 | B1 |
6829384 | Schneiderman et al. | Dec 2004 | B2 |
6940545 | Ray et al. | Sep 2005 | B1 |
7027659 | Thomas | Apr 2006 | B1 |
7154510 | Simon et al. | Dec 2006 | B2 |
20010011262 | Hoyt et al. | Aug 2001 | A1 |
20020089516 | Sobol | Jul 2002 | A1 |
20030081249 | Ahmad et al. | May 2003 | A1 |
Number | Date | Country | |
---|---|---|---|
20040120009 A1 | Jun 2004 | US |