This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2012-281116, filed Dec. 25, 2012, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to an imaging device, imaging control method and storage medium.
2. Description of the Related Art
Conventionally, head-mount type imaging devices to be mounted on the user's head have been suggested. In the head-mount-type imaging device, since an image at an angle of view in an eye-gaze direction is captured without requiring the user to hold the imaging device by hand at the ready, image capturing can be performed without missing a perfect shot. Also, the head-mount-type imaging device allows both hands to freely move even in a situation where the user moves his or her body, and therefore can be very effectively used in sports, trekking, mountain climbing, running, etc.
For example, for the head-mount-type imaging device, Japanese Patent Application Laid-Open (Kokai) Publication No. 2003-046838 discloses a technology for matching the eye-gaze direction of a user with the direction of a subject. This publication also discloses a technology in which a light with high straight-traveling property is projected onto a subject from a head-mount-type imaging device as initialization processing, whereby whether or not the eye-gaze direction of the user is matched with the direction of the subject is checked for adjustment.
An object of the present invention is to provide an imaging device, imaging control method and storage medium capable of obtaining a captured image in a designed composition.
In accordance with a first aspect of the present invention, there is provided an imaging device comprising: an imaging section; a judging section which judges whether or not an image captured by the imaging section satisfies a predetermined composition condition; and a control section which controls an imaging composition of the imaging section so that the captured image satisfies the predetermined composition condition based on the judging result of the judging section.
In accordance with a second aspect of the present invention, there is provided an imaging control method comprising: a step of judging whether or not an image captured by an imaging section satisfies a predetermined composition condition; and a step of changing an imaging composition of the imaging section so that the captured image satisfies the predetermined composition condition based on the judging result.
In accordance with a second aspect of the present invention, there is provided a non-transitory computer-readable storage medium having stored thereon a program that is executable by a computer, the program being executable by the computer to perform functions comprising: judging processing for judging whether or not an image captured by an imaging section satisfies a predetermined composition condition; and controlling processing for changing an imaging composition of the imaging section so that the captured image satisfies the predetermined composition condition based on the judging result.
The above and further objects and novel features of the present invention will more fully appear from the following detailed description when the same is read in conjunction with the accompanying drawings. It is to be expressly understood, however, that the drawings are for the purpose of illustration only and are not intended as a definition of the limits of the invention.
An embodiment of the present invention is described below with reference to the drawings.
The communication control section 10 transfers captured image data to a server on the Internet or an information processing device or the like such as a private personal computer via the Internet. The image data can be transferred also to an information device carried by a user via peer-to-peer communications. The imaging section 11 includes a lens block 12 formed of an optical lens group and an image sensor 13 such as a CCD (Charge Coupled Device) or a CMOS (Complementary Metal Oxide Semiconductor). The image sensor 13 converts an image entering from the lens block 12 to a digital signal. The image processing section 14 performs image processing (such as pixel interpolation processing, γ correction, luminosity color difference signal generation, white balance processing, or exposure correction processing), and compression and extension of image data (for example, compression and extension in a JPEG (Joint Photographic Experts Group) format or in a Motion-JPEG format or in a MPEG (Moving Picture Experts Group) format).
The motor 15 drives the imaging section 11 in a direction along a vertical plane which includes an optical axis (in an up and down direction: an angular direction indicated by R in
The CPU 21 is a one-chip microcomputer for controlling each section of the head-mount-type imaging device 1, and causes, for example, capturing a still image by the imaging section 11, starting/stopping recording of moving images, and switching between still image capturing and moving image capturing. In particular, in the present embodiment, the CPU 21 calculates, from the detection result of the acceleration sensor 17, a movement amount (an angle) of the head-mount-type imaging device 1 in the elevation/depression angle direction in conjunction with the movement of the head of the user in the elevation/depression angle direction. As described above, when the user wears the head-mount-type imaging device 1 on his or her head to record travels of mountain climbing, hiking, or the like, the user tends to turn his or her head upward or downward at a non-flat place (such as a slope), and therefore an image with only a sky image area S (or a ground image area G) or an image with a high ratio of the sky image area S (or the ground image area G) is captured. Based on the movement amount (angle) of the head-mount-type imaging device 1 in the elevation/depression angle direction obtained from the acceleration sensor 17, the CPU 21 drives the imaging section 11 by the motor 15 so that the imaging section 11 is oriented to a horizontal direction and, furthermore, a captured image in a composition with a desired luminance distribution can be obtained. As such, in the present embodiment, by performing drive control so that the imaging section 11 is oriented to the horizontal direction in conjunction with the movement of the head of the user in the elevation/depression angle direction and, furthermore, a captured image in a composition with the desired luminance distribution can be obtained, it can be avoided to capture an image with only the sky image area S (or the ground image area G) or an image with a high ratio of the sky image area S (or the ground image area G) because the user has turned his or her head upward or downward.
Following the control of the CPU 21, the sound control section 23 converts sounds (such as alarm sound) at the time of replaying the captured moving images to analog signals for output from the loudspeaker 24, and also digitalizes and captures environmental sounds collected by the microphone 25 at the time of capturing the moving images. The key operating section 22 inputs an operation mode or an operation instruction such as start capturing, pause, or stop, according to a touch operation of the user. The power supply (battery) 26 is a chargeable secondary battery. The power supply control section 27 stabilizes output voltage of the power supply (battery) 26 and causes driving power to be supplied to each section.
Next, the operation of the above-described embodiment is described.
First, after setting correction of a capturing direction CD as effective, the user wears the head-mount-type imaging device 1 on his or her head, and operates the key operating section 22 to start capturing. Upon the start of capturing, a correction processing routine depicted in
If a correction processing stop request has been provided by a user operation (YES at Step S10), the processing is completed.
On the other hand, if a correction processing stop request has not been provided (NO at Step S10), the CPU 21 obtains the detection result of the acceleration sensor 17 (Step S12). Next, from the detection result of the acceleration sensor 17, the CPU 21 judges whether or not the capturing direction CD of the head-mount-type imaging device 1 is horizontal (Step S14). For example, as depicted in
On the other hand, as depicted in
As such, when the capturing direction CD of the head-mount-type imaging device 1 is not horizontal as depicted in
Next, the CPU 21 judges whether or not the ratio between the sky image area S and the ground image area G in the captured image is appropriate (Step S22). In the present embodiment, the ratio between the sky image area S and the ground image area G is set to 7:3, as an example. However, the ratio may be settable as appropriate. When the ratio between the sky image area S and the ground image area G in the captured image is appropriate (YES at Step S22), the CPU 21 returns to Step S10, and repeats the above-described processing.
As described above, when the user is walking a slope (in particular, uphill), the head-mount-type imaging device 1 is oriented downward. In this case, as depicted in
On the other hand, as depicted in
The predetermined amount (predetermined angle) R2 is a difference between the amount (angle) in the ratio between the sky image area S and the ground image area G before becoming appropriate and the amount (angle) in the appropriate ratio (7:3), which will be described further below in detail. Accordingly, by driving the capturing direction CD of the imaging section 11 by the predetermined amount (predetermined angle) R2 representing the difference in the elevation/depression angle direction, the ratio between the sky image area S and the ground image area G in the captured image becomes appropriate (7:3).
Generally speaking, a sky image tends to be relatively bright and a ground image tends to be relatively dark. Accordingly, a luminance value for identifying a boundary between the sky image area S and the ground image area G statistically obtained from many cases is set as a threshold TH. The CPU 21 calculates a boundary position D between the sky image area S and the ground image area G from an average of positions where a luminance at any of A, B, and C is below the threshold TH. A difference between the boundary position D and an appropriate value Dp is the predetermined amount (predetermined angle) R2. The CPU 21 then judges that the ratio is appropriate when the boundary position P obtained from the ratio between the sky image area S and the ground image area G is equal to the appropriate value Dp for example, 7:3), and otherwise judges that the ratio is inappropriate. The CPU 21 then drives the motor 15 according to the difference R2 (that is, the predetermined amount (predetermined angle) between the boundary position P and the appropriate value Dp (that is, predetermined amount (predetermined angle)) to correct the capturing direction CD of the imaging section 11. Here, E is maximum luminance.
In the above-described embodiment, the capturing angle of view is adjusted by driving the imaging section 11 with the motor 15. However, the present invention is not limited thereto. Alternatively, an image may be captured at a maximum wide angle in advance and the size and trimming position of the captured image may be then changed to obtain an image in a desired composition.
Furthermore, adjusting the capturing angle of view by driving the motor 15 (rough adjustment) and changing the size and trimming position of the captured image (fine adjustment) may both be used.
According to the above-described embodiment, in the head-mount-type imaging device 1, the capturing direction CD of the imaging section 11 is adjusted as required, even if the eye-gaze direction ED of the user is changed upward or downward and the imaging composition is changed, whereby a predetermined composition condition (luminance distribution) is not satisfied. Accordingly, even if the eye-gaze direction ED of the user is inappropriate, a captured image in a desired composition can be obtained.
Also, according to the above-described embodiment, in the head-mount-type imaging device 1, the movement of the imaging device 1 is detected as required, and the capturing direction CD of the imaging section 11 is corrected according to the movement, even if the eye-gaze direction ED of the user is changed upward or downward, and the imaging composition is changed, whereby a predetermined composition condition (luminance distribution) is not satisfied. Accordingly, even if the eye-gaze direction of the user is inappropriate, a captured image in a desired composition can be obtained. For this reason, even if the user is walking a slope uphill or downhill (for example, in mountain climbing), it can be avoided to capture an image with only the sky or with a high ratio of the sky or an image with only the ground or with a high ratio of the ground.
Furthermore, according to the above-described embodiment in the head-mount-type imaging device 1, the size and trimming position of the image captured at a wide angle are changed as required, even if the eye-gaze direction ED of the user is changed upward or downward, and the imaging composition is changed, whereby a predetermined composition condition (luminance distribution) is not satisfied. Accordingly, even if the eye-gaze direction of the user is inappropriate, a captured image in a desired composition can be obtained.
Still further, according to the above-described embodiment, whether or not the captured image satisfies a predetermined composition condition is judged based on the luminance distribution of the captured image. Accordingly, a judgment can be easily made with simple image processing.
While the present invention has been described with reference to the preferred embodiments, it is intended that the invention be not limited by any of the details of the description therein but includes all the embodiments which fall within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2012-281116 | Dec 2012 | JP | national |