The present invention relates to a method and an apparatus for processing a digital image, and more particularly, to an image photographing method and apparatus for providing services which allows a novice to create high quality digital contents like that of an expert cameraman.
This work was supported by the IT R&D program of MIC/IITA [2007-S051-01, Software Development for Digital Creature].
A popular image photographing apparatus, such a digital still camera, a digital video camera, a camera phone and the like, takes an image by recording intensity of an electric signal to a device called as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) to provide various functions unable in an existing film type analog image taking system.
In the existing image photographing system, the photographed image is edited in such a way that a film containing the photographed image is directly edited or that the film is scanned and converted into a digital image by using a computer and the scanned image is edited manually with image editing software such as Adobe Photoshop, Adobe Premiere and the like.
Recent rapid increase of creating personal home pages, blogs, user created contents (UCC) and the like is causing the creation of high quality digital contents to become more professional day by day.
Existing digital image photographing apparatuses provide various functions more than those of existing analog photographing apparatuses, but do not completely satisfy demands of users who want to create the high quality image contents.
For the creation of the expert level high quality image, special functions such as an auto-focus function, an exposure compensation function, an auto-white balancing function, and the like are required in addition to functions already provided in the digital image photographing apparatus.
In view of the above, the present invention provides an image photographing method and apparatus for providing services which allows a novice to create high quality digital contents like that of an expert cameraman.
In accordance with a first aspect of the present invention, there is provided a digital image photographing apparatus including: a photographing unit for taking an image; a recognizing unit for recognizing a subject from the image photographed by the photographing unit, wherein the recognized subject is captured in a rectangular area; an image processing unit for separating the recognized subject from a background; a recommending composition processing unit for recommending a composition, a pose and a motion matched to the recognized subject and the background which are separated from each other by the image processing unit with reference to preset information; and a display for displaying the image having the composition, the pose and the motion of the recognized subject recommended by the recommending composition processing unit.
In accordance with a second aspect of the present invention, there is provided a digital image photographing method including: recognizing a subject by analyzing an image photographed by a digital image photographing apparatus; separating the recognized subject from a background in the image; displaying a recommending lead line of a rule of thirds on a display of the digital image photographing apparatus to help position the recognized subject on an intersection point of transversal and vertical trisectional lines; and recommending a composition, a pose and a motion which are matched to the recognized subject and the background with reference to pre-recorded information about the composition, the pose and the motion.
In accordance with the method and apparatus, an image taking help function can be provided for the creation of the high quality digital contents, and information for humans and various samples of subjects are recorded to be used to photograph an image. Moreover, based on the recognized subject, a rule of thirds employing apparatus, a pose/motion recommending apparatus, a background blurring apparatus and a subject compensating apparatus can be provided.
The objects and features of the present invention will become apparent from the following description of embodiments, given in conjunction with the accompanying drawings, in which:
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings which form a part hereof.
The digital image photographing apparatus, which is illustrated in
As illustrated in
The recognition of the subject may be learned about any objects by employing a learning algorithm, e.g., an adaptive boosting algorithm and the subjects learned by the learning algorithm is stored in the digital image photographing apparatus to meet the demands of a user.
The image processing unit 104 separates a foreground (i.e., subject) from a background by using an image subtraction algorithm in a plurality of images that are photographed about a recognized region (i.e., a human face) indicated by a rectangular area 116 in
The recommending composition processing unit 106 recommends a composition, and a pose and motion of the subject, which are matched to the foreground and the background separated by the image processing unit 104. According to the embodiment of the present invention, the information about the composition, the pose, and the motion, which are matched to various subjects, has been registered in the digital image photographing apparatus in advance.
Accordingly, the recommending composition processing unit 106 recommends the composition, the pose, and the motion of the subject with reference to the registered information of the subjects when the subject is photographed and recognized by the photographing unit 100.
More specifically, the recommending composition processing unit 106 displays a recommending lead line 114 indicated by an arrow in
The rule of thirds is a rule wherein a human's sight is concentrated to a point where transversal trisectional lines intersect vertical trisectional lines. When a main subject is disposed at the crossing point, a monotonous image can be avoided.
Moreover, for example, information about the transversal and vertical trisectional lines is obtained by extracting edges of the separated background and the edges are arranged parallel to the transversal and vertical trisectional lines by using the information so that an image with a stable composition can be obtained. In a case of applying the rule of thirds, when an image matched to the recommended composition is obtained while moving the camera according to determination of the recommending composition processing unit 106, even though the user does not press a shutter, the digital image photographing apparatus of the present invention photographs the image such that the image is automatically stored in the storage and is displayed to the user.
The display 108 displays the composition and the pose/motion of the subject, recommended by the recommending composition processing unit 106. Further, the display 108 displays the images to be processed by the image control unit 110 and the image compensating unit 112. The display 108 may include a liquid crystal display (LCD).
On the display 108 of the digital image photographing apparatus, the transversal and vertical trisectional lines are displayed to help level the digital image photographing apparatus, the recognized subject (i.e., the human face in
Referring to
Referring back to
In a first method, optical characteristics are utilized to open an iris by a maximum degree and to make a focal distance maximum. These operations are electronically controlled so that the user can photograph in the optimum state.
A second method blurs the background separated based on the information about an subject region recognized by the recognizing unit 102. This method is not real in comparison to an optical method, but is very useful in an apparatus such as a small camera and the camera phone where it is difficult to obtain the blurring effect by using the optical characteristics.
The image compensating unit 112 compensates the image photographed by the photographing unit 110. In other words, the image compensating unit 112 compares a contrast ratio between the recognized subject and the surrounding background thereof to enhance the brightness of the subject to be higher than a preset brightness.
Hereinafter, a digital image photographing method in accordance with an embodiment of the present invention together with the above-mentioned configuration will be described with reference to a flowchart of
Referring to
The recognizing unit 102 analyzes the image provided from the photographing unit 100 to recognize a subject (human or a specific object) (S202). Thereafter, the image processing unit 104 performs a process of separating a foreground including the subject which is recognized by the recognizing unit 102 from the background (S204). In this case, the foreground may be separated from the background by using the edge detection algorithm and the image subtraction algorithm.
The recommending composition processing unit 106 recommends a specific pose/motion suitable for the situation to the subject as in
It is determined that the image to be photographed has therein a subject (S210). If negative, an operation proceeds to S212 where a still image and a moving picture are acquired. However, if positive, an operation goes to S214 where a background blurring is performed by the image control unit 110 to blur the background thereby highlighting the subject.
In step S216, in case where brightness of the subject is relatively darker than that of the background, the image compensating unit 112 compensates an exposure of the subject to increase the brightness of the region of the recognized subject so that the subject become prominent and match to the background.
Finally, in step S212, a final image is obtained after the application of all of the background blurring and the exposure compensation for the recognized subject.
As described above, in accordance with the image photographing method and apparatus, a composition, and a pose and motion of the subject, suitable for the foreground and the background, are recommended so that the user can be serviced with a convenient image photographing function.
While the invention has been shown and described with respect to the embodiments, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the scope of the invention as defined in the following claims.