This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2010-005336, filed on Jan. 13, 2010, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The present invention relates to a portable device that creates image data of a subject.
2. Description of the Related Art
In recent years, for imaging devices used as portable devices, such as digital cameras or digital video cameras, there are known imaging devices that have an automatic capture function for automatically capturing an image if the subject image of image data to be captured meets a set imaging condition, such as a subject's face starts to smile (for example, see Japanese Laid-open Patent Publication No. 2009-71344 and Japanese Laid-open Patent Publication No. 2006-174105).
A portable device according to an aspect of the present invention includes: an imaging unit that creates image data of a subject; a contrast detector that detects contrast information on the image data; a movement detector that detects movement information of the portable device; and a control unit that controls, in accordance with the contrast information obtained when the movement information is detected, recording of the image data.
A portable device according to another aspect of the present invention includes: an imaging unit that creates image data of a subject; a movement detector that detects movement of the portable device; and a control unit that controls, when the movement detector detects the movement, recording of the image data.
The above and other features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
In the following, preferred embodiments of an imaging device according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments. In the drawings, elements that are identical to those in embodiments are assigned the same reference numerals. In the following, a description will be given using an imaging device, such as a digital single-lens reflex camera, as an example of a portable device according to the present invention; however, the present invention is not limited to the embodiments.
The imaging unit 2 includes an optical system 2a that is formed by an auto focus (AF) lens, a zoom lens, a focus lens, and the like and that focuses light from a subject present in a predetermined area in the field of view; an aperture stop (not shown) that adjusts the amount of incident light that is focused by the optical system 2a; a shutter (not shown) that operates in accordance with a release input; an imaging element 2b, such as a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD), that receives light passing through the aperture stop and the shutter and that converts the light to an electrical signal; an imaging circuit 2c that reduces reset noise from, for example, an electrical signal (analog image signal) being output from the imaging element 2b, performs waveform shaping, and increases gain so as to obtain a desired brightness; an A/D converter 2d that creates digital image data by converting, to a digital signal, the analog signal that is output from the imaging circuit 2c; and a lens driving unit 2e that drives various kinds of lenses in the optical system 2a and that changes the distance to the target focal point of the imaging unit 2 or changes a focal point of the imaging unit 2. The imaging unit 2 outputs the created image data via the bus line 14 to the SDRAM 10. Furthermore, in the imaging element 2b, Bayer-array color filters are arranged on the front surface of photodiodes forming each pixel. The Bayer array has, in the horizontal direction, a line on which an R pixel and a G (Gr) image are alternately arranged and a line on which a G (Gb) pixel and a B pixel are alternately arranged. Furthermore, these two lines are alternately arranged in the vertical direction.
The image processing unit 3 performs, on the image data read from the SDRAM 10, various kinds of image processing, such as an optical black subtraction process, a white balance correction process, a synchronization process, a gamma correction process, and a color reproduction process. The image processing unit 3 includes a contrast detector 3a that detects the contrast of the image data that is created as contrast information by the imaging unit 2 and a contrast determining unit 3b that determines the contrast of image data information detected by the contrast detector 3a. The contrast detector 3a detects the contrast of the image data created by the imaging unit 2 every time the imaging device 1 moves. Specifically, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 at intervals of a predetermined period ( 1/30 sec.) or every time the imaging device 1 moves. The contrast detector 3a outputs, to the SDRAM 10, the detected contrast of the image data via the bus line 14.
With the acceleration sensor 41 having such a configuration described above, if acceleration in the horizontal direction (arrow direction) in
The focus determining unit 5 determines whether the imaging unit 2 is in a focal point in accordance with both the contrast of the image data detected by the contrast detector 3a and the peak value of the contrast of the image data stored in the SDRAM 10. If the imaging device 1 stops moving, the focal length calculator 6 calculates, in accordance with the movement information on the imaging device 1 detected by the movement detector 4, the distance to the target focal point of the imaging unit 2.
When the image data created by the imaging unit 2 is stored or when the stored image data is displayed, the JPEG processing unit 7 obtains the image data from the SDRAM 10 and performs a compression process or a decompression process on the image data in accordance with the JPEG compression method. The JPEG processing unit 7 stores the compressed JPEG image data in the SDRAM 10 or the removable memory 11.
The operation input unit 8 includes a release switch 8a that inputs a release signal; a power switch 8b that inputs a command signal such as a command for turning the power of the imaging device 1 on/off; and a changeover switch 8c that selects a various display modes or various operation modes displayed by the display unit 12. It is possible to configure the operation input unit 8 such that, by arranging a touch panel on the display unit 12 as a part of the operation input unit 8, a photographer can input an operation signal on the screen of the display unit 12.
The internal memory 9 is an electrically rewritable nonvolatile memory, such as a flash memory. The internal memory 9 stores therein various kinds of information including various programs for operating the imaging device 1. The internal memory 9 stores therein, for example, various parameters, such as white balance gain or a low-pass filter coefficient used in the image processing unit 3, that are necessary for the operation of the imaging device 1 or stores therein, for example, a serial number for identifying the imaging device 1.
The SDRAM 10 includes a contrast storage unit 10a that stores therein, in an associated manner, the peak value of the contrast of the image data created by the imaging unit 2 and the focal point of the imaging unit 2 and an image data storage unit 10b that stores therein the image data created by the imaging unit 2 or the image data that is subjected to a process by the image processing unit 3 or by the JPEG processing unit 7. The contrast storage unit 10a stores therein, in an associated manner, the distance moved by the imaging device 1 calculated by the movement detector 4 and the contrast of the image data detected by the contrast detector 3a.
The removable memory 11 is a removable memory card attached to/detached from the imaging device 1, such as an xD-picture card (registered trademark) or a compact flash (registered trademark). The removable memory 11 is connected to the bus line 14 via a memory I/F (not shown). The image data, which is subjected to a process by the image processing unit 3 or JPEG processing unit 7, is written to the removable memory 11 using a read/write device (not shown) or the image data stored in the removable memory 11 is read using the read/write device. It is possible to arrange the removable memory 11 integrally in the imaging device 1.
The display unit 12 is a display panel such as, a liquid crystal display, a plasma display, a liquid crystal display (LCD), or an organic EL (electroluminescence) display. The display unit 12 displays, in addition to an image and a live view image corresponding to image data or JPEG image data, operation information on the imaging device 1 or information related to the operation.
The control unit 13 is implemented by using, for example, a central processing unit (CPU), and is connected to each component in the imaging device 1 via the bus line 14. The control unit 13 includes a capturing controller 13a that controls the imaging operation of the imaging device 1 in accordance with an operation signal that is input by the operation input unit 8, the calculation result of the movement detector 4, the determination result of the focus determining unit 5, and the calculation result of the focal length calculator 6. The control unit 13 also includes a display controller 13b that controls a display mode of the image corresponding to the image data displayed by the display unit 12.
In the following, a state in which the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 will be described.
In the state illustrated in
As illustrated in
In the first embodiment of the present invention, the contrast storage unit 10a stores therein, in an associated manner, the peak value of the contrast of the image data created by the imaging unit 2 and the focal point of the imaging unit 2. Accordingly, the focus determining unit 5 determines whether the imaging unit 2 is at the focal point in accordance with both the contrast of the image data detected by the contrast detector 3a and the peak value of the contrast of the image data stored in the contrast storage unit 10a. If the result of the determination performed by the focus determining unit 5 is that the imaging unit 2 is at the focal point, the capturing controller 13a controls the storing of the image data created by the imaging unit 2 in such a manner that it is stored in the removable memory 11. Furthermore, the capturing controller 13a detects, every time the imaging device 1 moves, the contrast of the image data detected by the contrast detector 3a. If the contrast of the image data continuously decreases, the capturing controller 13a determines, as the peak value of the contrast of the image data, the position immediately before the contrast of the image data starts dropping. Specifically, in
As illustrated in
Then, the capturing controller 13a determines whether an automatic capture mode is set (Step S103). Specifically, the capturing controller 13a determines whether the automatic capture mode is set by the changeover switch 8c. If the automatic capture mode is not set (No at Step S103), the imaging device 1 performs in the normal capture mode (Step S104) and ends the process. In contrast, if the automatic capture mode is set (Yes at Step S103), the imaging device 1 performs in the automatic capture mode (Step S105) and ends the process.
The automatic capture mode performed by the imaging device 1 will be described with reference to the flowchart illustrated in
Then, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S202).
Subsequently, the capturing controller 13a determines whether the imaging device 1 has moved (Step S203). Specifically, the capturing controller 13a determines the movement of the imaging device 1 by detecting the variation in an output voltage of the acceleration sensors 41 forming a part of the movement detector 4. If the imaging device 1 has not moved (No at Step S203), the imaging device 1 proceeds to Step S202. In contrast, if the imaging device 1 has moved (Yes at Step S203), the imaging device 1 proceeds to Step S204.
Then, the capturing controller 13a determines whether a peak value is present in the contrast of a plurality of pieces of image data detected by the contrast detector 3a (Step S204). If a peak value is not present in the contrast of the plurality of pieces of image data (No at Step S204), the imaging device 1 proceeds to Step S202. In contrast, if a peak value is present in the contrast of the plurality of pieces of image data (Yes at Step S204), the contrast storage unit 10a stores therein, in an associated manner, the movement information on the imaging device 1 detected by the movement detector 4 and the peak value of the contrast detected by the contrast detector 3a (Step S205).
Subsequently, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S206).
Thereafter, the focus determining unit 5 determines, in accordance with both the contrast of the image data detected by the contrast detector 3a and the peak value of the contrast of the image data stored in the contrast storage unit 10a, whether the imaging unit 2 is at the focal point (Step S207). If the imaging unit 2 is not at the focal point (No at Step S207), the capturing controller 13a determines whether a release signal has been input by an operation of the release switch 8a (Step S208). If the release signal has not been input (No at Step S208), the imaging device 1 proceeds to Step S206. In contrast, if the release signal has been input (Yes at Step S208), the imaging device 1 proceeds to Step S209.
In contrast, if the imaging unit 2 is at the focal point (Yes at Step S207), the imaging device 1 performs, under the control of the capturing controller 13a, a capturing control in which image data is recorded (Step S209).
Subsequently, the capturing controller 13a allows the removable memory 11 to store the image data that is created by the imaging unit 2 and that is subjected to the image processing by the image processing unit 3 (Step S210).
Then, the capturing controller 13a determines whether a completion signal indicating the completion of the imaging has been input (Step S211). If the completion signal has not been input (No at Step S211), the imaging device 1 proceeds to Step S206. In contrast, if the completion signal has been input (Yes at Step S211), the imaging device 1 returns to the main routine.
In the following, the normal capture mode in which the imaging device 1 performs will be described with reference to the flowchart illustrated in
Then, the capturing controller 13a determines whether a release signal has been input by an operation of the release switch 8a (Step S302). If the release signal has not been input (No at Step S302), the imaging device 1 proceeds to Step S305. In contrast, if the release signal has been input (Yes at Step S302), the imaging device 1 performs, under the control of the capturing controller 13a, the capturing so as to record image data (Step S303).
Subsequently, the capturing controller 13a allows the removable memory 11 to store the image data that is created by the imaging unit 2 and that is subjected to the image processing by the image processing unit 3 (Step S304).
Then, the capturing controller 13a determines whether a completion signal indicating the completion of the imaging has been input (Step S305). If the completion signal has not been input (No at Step S305), the imaging device 1 returns to Step S301 and repeats the processes at Steps S301 to S304. In contrast, if the completion signal has been input (Yes at Step S305), the imaging device 1 returns to the main routine.
In the following, the play mode in which the imaging device 1 performs will be described with reference to the flowchart illustrated in
Then, the display controller 13b determines whether a changeover signal that switches the image data displayed by the display unit 12 has been input by the changeover switch 8c (Step S402). If the changeover signal has not been input (No at Step S402), the imaging device 1 returns to the main routine. In contrast, if the changeover signal has been input (Yes at Step S402), the display unit 12 switches image data to be displayed (Step S403) and proceeds to Step S401.
According to the first embodiment of the present invention described above, in accordance with the contrast of the image data, which is detected by the contrast detector 3a, and a peak value of the contrast of the image data, which is created by the imaging unit 2 and is stored in the contrast storage unit 10a, the focus determining unit 5 determines whether the imaging unit 2 is at a focal point. If the result determined by the focus determining unit 5 is that the imaging unit 2 is at the focal point, the capturing controller 13a controls the recording of the image data. Accordingly, even if the capturing is performed under water where visibility is poor or a capturing operation is awkward, it is possible to easily perform the capturing in good focus. Furthermore, because contrast information that is obtained in advance is used, it is possible to reliably obtain image data of the subject A1. Furthermore, because the contrast storage unit 10a stores therein, in an associated manner, a previously fixed focal length of the imaging unit 2 and a focal point of the imaging unit 2 corresponding to the peak value of the contrast of the image data, the contrast detector 3a is required to detect the contrast of the image data only once and a photographer can perform automatic capturing without having to worry about the focal point of the imaging unit 2. Furthermore, the photographer can perform the automatic capturing by simply bringing the imaging device 1 closer to or farther away from the subject A1.
In the following, a second embodiment of the present invention will be described. In the first embodiment described above, by fixing the focus lens included in the optical system 2a at a predetermined position on the optical axis of the imaging unit 2, the distance to the target focal point of the imaging unit 2 is fixed. However, in the second embodiment of the present invention, the distance to the target focal point of the imaging unit 2 is changed in accordance with the capture distance between the imaging device 1 and the subject A1. Furthermore, in the second embodiment, before the focus determining unit 5 changes the distance to the target focal point of the imaging unit 2 stored in the contrast storage unit 10a, a focal point of the imaging unit 2, which is obtained after the changing of the distance to the target focal point of the imaging unit 2, is determined by using a peak value of the image data that corresponds to the focal point of the imaging unit 2 detected by the contrast detector 3a.
As illustrated in
Then, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S502).
Subsequently, the capturing controller 13a determines whether the imaging device 1 has moved (Step S503). If the imaging device 1 has not moved (No at Step S503), the imaging device 1 proceeds to Step S502. In contrast, if the imaging device 1 has moved (Yes at Step S503), the imaging device 1 proceeds to Step S504.
Then, the capturing controller 13a determines whether a peak value of the contrast is present in the contrast of a plurality of pieces of image data detected by the contrast detector 3a (Step S504). If a peak value is not present in the contrast of the plurality of pieces of image data (No at Step S504), the imaging device 1 proceeds to Step S502. In contrast, if a peak value is present in the contrast of the plurality of pieces of image data (Yes at Step S504), the imaging device 1 proceeds to Step S505.
Subsequently, the contrast storage unit 10a stores therein, in an associated manner, the distance moved by the imaging device 1 calculated by the movement detector 4 and the peak value of the contrast of the image data detected by the contrast detector 3a (Step S505).
Thereafter, the focal length calculator 6 (focus distance calculator) calculates, in accordance with the movement of the imaging device 1 calculated by the movement detector 4, the distance to the target focal point of the imaging unit 2 (Step S506).
Subsequently, by driving the lens driving unit 2e so that it is brought closer to the distance to the target focal point calculated by the focal length calculator 6 and by moving the focus lens in the optical system 2a, the capturing controller 13a changes the focal point of the imaging unit 2 (Step S507).
Then, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S508).
Subsequently, the focus determining unit 5 determines, in accordance with the contrast of the image data detected by the contrast detector 3a, whether the imaging unit 2 is at the focal point (Step S509). If the imaging unit 2 is not at the focal point (No at Step S509), the capturing controller 13a determines whether a release signal has been input by an operation of the release switch 8a (Step S510). If the release signal has not been input (No at Step S510), the imaging device 1 proceeds to Step S508. In contrast, if the release signal has been input (Yes at Step S510), the imaging device 1 proceeds to Step S511.
In contrast, if the focus determining unit 5 determines that the imaging unit 2 is at the focal point (Yes at Step S509), the imaging device 1 performs, under the control of the capturing controller 13a, the capturing to record image data (Step S511). When using an automatic capture mode in which a camera is brought closer to a subject, it is not necessary to strictly calculate the distance; specifically, by moving an in-focus lens so as to focus on a short distance, an image can be captured when the contrast is brought closer to the point P1′.
Subsequently, the capturing controller 13a allows the removable memory 11 to store the image data of the image that is created by the imaging unit 2 and that is subjected to image processing by the image processing unit 3 (Step S512).
Then, the capturing controller 13a determines whether a completion signal indicating the completion of the capturing has been input (Step S513). If the completion signal has not been input (No at Step S513), the imaging device 1 proceeds to Step S506. In contrast, if the completion signal has been input (Yes at Step S513), the imaging device 1 returns to the main routine.
According to the second embodiment of the present invention described above, a focal length of the imaging unit 2 can be changed in accordance with the movement of the imaging device 1. Accordingly, even when the focal length of the imaging unit 2 is changed in accordance with the movement of the imaging device 1, there is no need to detect again the peak value of the contrast with respect to the same subject A1. Furthermore, simply by bringing the imaging device 1 closer to the subject A1 so as to change the distance to the target focal point of the imaging unit 2, it is possible to capture the subject A1 and obtain in-focus image data. Furthermore, because there is no need to detect the peak value of the contrast of the image data every time the imaging device 1 moves, continuous capturing is possible in a short period of time. The contrast is obtained by digitizing the difference between brightness and darkness at the central part of the captured data or digitizing the output difference between the neighboring pixels. It is assumed that the sharper the image, the greater the value that is output.
In the following, a third embodiment of the present invention will be described. In the first and second embodiments, the peak value of the contrast of the image data is manually detected by a photographer moving the imaging device 1; however, in the third embodiment of the present invention, the peak value of the contrast of the image data is automatically detected by moving the focus lens included in the optical system 2a along the optical axis of the imaging unit 2.
As illustrated in
Then, the capturing controller 13a drives the lens driving unit 2e so that it moves the focal point of the focus lens on the closest side (Step S602).
Subsequently, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S603).
Then, the capturing controller 13a drives the lens driving unit 2e so that it moves the focal point of the focus lens on the infinity side (Step S604).
Subsequently, the capturing controller 13a determines whether a peak value is present in the contrast of a plurality of pieces of the image data detected by the contrast detector 3a (Step S605). If a peak value is not present in the contrast of the image data (No at Step S605), the capturing controller 13a drives the lens driving unit 2e so that it moves the focus lens to a predetermined position, for example, to a focal point of a default setting (Step S606).
Then, under the control of the capturing controller 13a, the imaging device 1 captures an image to record image data (Step S607) and allows the removable memory 11 to store the image data that is created by the imaging unit 2 and that is subjected to image processing by the image processing unit 3 (Step S608).
Subsequently, the display unit 12 displays an alarm display indicating that a peak value of the contrast of the image data cannot be detected (Step S609), and the imaging device returns to the main routine.
In contrast, if a peak value is present in the contrast of the plurality of pieces of the image data detected by the contrast detector 3a (Yes at Step S605), the capturing controller 13a stops the driving of the lens driving unit 2e and stops the moving of the focus lens (Step S610).
Then, the contrast storage unit 10a stores therein, in an associated manner, the peak value of the contrast of the image data detected by the contrast detector 3a and the focal point of the focus lens on the optical axis of the imaging unit 2 (Step S611).
Subsequently, the capturing controller 13a determines whether the imaging device 1 starts moving (Step S612). If the imaging device 1 has not started moving (No at Step S612), the capturing controller 13a repeats this determination. In contrast, if the imaging device 1 starts moving (Yes at Step S612), the imaging device 1 proceeds to Step S613.
Then, the contrast detector 3a detects the contrast of the image data created by the imaging unit 2 (Step S613).
Subsequently, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the focus determining unit 5 determines whether the imaging device 1 is moving in the direction in which the contrast of the image data increases (Step S614). If the imaging device 1 is not moving in the direction in which the contrast of the image data increases (No at Step S614), the imaging device 1 proceeds to Step S615.
Then, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the focus determining unit 5 determines whether the imaging device 1 is moving in the direction in which the contrast of the image data decreases (Step S615). If the imaging device 1 is not moving in the direction in which the contrast of the image data decreases (No at Step S615), the display controller 13b displays, on the display unit 12, a blinking white frame, for example, displays a display screen W9 illustrated in
In contrast, if the imaging device 1 moves in the direction in which the contrast of the image data decreases (Yes at Step S615), the display controller 13b displays, on the display unit 12, a blinking red frame, for example, displays the frame F1, arranged on the display screen W10 as illustrated in
Then, the capturing controller 13a determines whether a release signal has been input by an operation of the release switch 8a (Step S619). If the release signal has not been input (No at Step S619), the capturing controller 13a proceeds to Step S628. In contrast, if the release signal has been input (Yes at Step S619), the imaging device 1 proceeds to Step S626.
In contrast, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the focus determining unit 5 determines that the imaging device 1 moves in the direction in which the contrast of the image data increases (Yes at Step S614), the display controller 13b displays, on the display unit 12, a blinking green frame, for example, displays a frame F1, arranged on the display screen W11 as illustrated in
Then, in accordance with the contrast of the image data detected by the contrast detector 3a, the focus determining unit 5 determines whether the imaging unit 2 is at a focal point (Step S621). If the imaging unit 2 is not at the focal point (No at Step S621), the capturing controller 13a determines whether a release signal has been input by an operation of the release switch 8a (Step S622). If the release signal has not been input (No at Step S622), the imaging device 1 proceeds to Step S621. In contrast, if the release signal has been input (Yes at Step S622), the imaging device 1 proceeds to Step S626.
In contrast, if the focus determining unit 5 determines that the imaging unit 2 is at the focal point (Yes at Step S621), the imaging device 1 proceeds to Step S623.
Thereafter, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the focus determining unit 5 determines whether the imaging device 1 is moving in the direction in which the contrast of the image data decreases (Step S623). If the imaging device 1 is not moving in the direction in which the contrast of the image data decreases (No at Step S623), the imaging device 1 repeats this process. In contrast, if the imaging device 1 is moving in the direction in which the contrast of the image data decreases (Yes at Step S623), the imaging device 1 proceeds to Step S624.
Then, the display controller 13b displays, on the display unit 12, a blinking green frame, for example, displays the frame F1 arranged on the display screen W11 illustrated in
Subsequently, the capturing controller 13a drives the lens driving unit 2e so that it moves the focus lens to a focal point that corresponds to the focal point of the imaging unit 2 on the optical axis (Step S625). The imaging device 1 performs, under the control of the capturing controller 13a, the capturing so that the image data is recorded (Step S626).
Then, the capturing controller 13a allows the removable memory 11 to store the image data of the image that is created by the imaging unit 2 and that is subjected to image processing by the image processing unit 3 (Step S627).
Subsequently, the capturing controller 13a determines whether a completion signal indicating the completion of the capturing has been input (Step S628). If the completion signal has not been input (No at Step S629), the imaging device 1 proceeds to Step S613. In contrast, if the completion signal has been input (Yes at Step S628), the imaging device 1 returns to the main routine.
According to the third embodiment of the present invention, in accordance with both the contrast of the image data detected by the contrast detector 3a and the peak value of the image data that is created by the imaging unit 2 and is stored in the contrast storage unit 10a, the focus determining unit 5 determines whether the imaging unit 2 is at a focal point. If the result determined by the focus determining unit 5 is that the imaging unit 2 is at the focal point, the capturing controller 13a controls the recording of the image data. Accordingly, even if the capturing is performed under water where visibility is poor or a capturing operation is awkward, it is possible to easily perform the capturing and to reliably obtain the image data of the subject A1. Furthermore, a photographer can obtain in-focus image data after setting, by moving the focus lens of the optical system 2a, the distance to the target focal point of the imaging unit 2 and then by simply bringing the imaging device 1 closer to or farther away from the subject A1.
Furthermore, according to the third embodiment of the present invention, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the display controller 13b displays, on the display unit 12 by changing display modes, the image corresponding to the image data to be displayed. Accordingly, a photographer can easily confirm a focal point with respect to the subject and prevent camera shake.
Furthermore, according to the third embodiment of the present invention, in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a, the display controller 13b displays, on the display unit 12 by changing display modes, the image corresponding to the image data to be displayed; however, the configuration is not limited thereto. For example, by arranging a small motor or a sound generator, it is also possible to annunciate, using a vibration or a sound, a focal point of the imaging device 1 in accordance with the difference between the peak value of the contrast of the image data stored in the contrast storage unit 10a and the contrast of the image data detected by the contrast detector 3a.
In the following, a fourth embodiment of the present invention will be described. In the first, second, and third embodiments described above, the capturing is performed at the peak value of the contrast of the image data; however, in the fourth embodiment of the present invention, the capturing is performed when the imaging device 1 starts moving. An imaging device according to the fourth embodiment of the present invention has the same configuration as the imaging device 1 according to the first embodiment described above, except that the automatic capture mode is different from that in the first embodiment. Accordingly, in the following, only the automatic capture mode in which the imaging device 1 according to the fourth embodiment of the present invention performs will be described.
As illustrated in
A case in which the imaging device 1 starts, at Step S701, moving in the direction approaching the subject will be described (Yes at Step S701). In such a case, the contrast detector 3a starts detecting the contrast of the image data created by the imaging unit 2 (Step S702).
Subsequently, the imaging device 1 starts, under the control of the capturing controller 13a, the continuous capturing in which image data continuously and chronologically created by the imaging unit 2 is sequentially recorded (Step S703).
Then, the capturing controller 13a determines whether the peak value of the contrast is present in the contrast of a plurality of pieces of image data detected by the contrast detector 3a (Step S704). If a peak value of the contrast is present in the plurality of pieces of image data (Yes at Step S704), the imaging device 1 allows the contrast storage unit 10a to store the peak value of the contrast detected by the contrast detector 3a (Step S705), the imaging device 1 proceeds to Step S706. In contrast, if a peak value of the contrast is not present in the plurality of pieces of image data (No at Step S704), the imaging device 1 proceeds to Step S706.
Subsequently, the capturing controller 13a determines, in accordance with the detection result of the movement detector 4, whether the imaging device 1 has stopped moving (Step S706). If the imaging device 1 has not stopped moving (No at Step S706), the imaging device 1 returns to Step S704. In contrast, if the imaging device 1 has stopped moving (Yes at Step S706), the imaging device 1 proceeds to Step S707.
After the imaging device 1 stops, the capturing controller 13a drives the lens driving unit 2e, by which the peak value of the contrast can be obtained, moves the focus lens in the optical system 2a to move a focal point of the imaging unit 2 (Step S707), and determines whether the focus lens is located near a focal point that can obtain the peak value of the contrast (Step S708). If the focus lens is not located near the focal point that can obtain the peak value of the contrast (No at Step S708), the imaging device 1 returns to Step S707. In contrast, if the focus lens is located near the focal point that can obtain the peak value of the contrast (Yes at Step S708), the imaging device 1 performs, under the control of the capturing controller 13a, the last capturing in a series of capturing (Step S709), completes the continuous capturing (Step S710), and returns to Step S701.
A case in which the imaging device 1 has not started, at Step S701, moving in the direction approaching the subject (No at Step S701) will be described. In such a case, if a command signal that is used to display, on the display unit 12, a list of the results of the image data continuously captured by the operation input unit 8 has been input (Yes at Step S711), the display controller 13b displays, on the display unit 12, the list of the results of the image data continuously captured (Step S712).
Subsequently, if a selection operation of the image data is performed by the operation of the operation input unit 8 (Yes at Step S713), the control unit 13 selects, from the list of the results on the image data, edits the image data, and records it (Step S714).
Then, if a completion command signal for a preview image has been input by the operation input unit 8 (Yes at Step S715), the imaging device 1 returns to the main routine in
If the command signal that is used to display, on the display unit 12 by the display controller 13b at Step S711, the list of the result of the image data continuously captured by the operation input unit 8 has not been input (No at Step S711), the imaging device 1 proceeds to Step S715.
If the selection operation of the image data is not performed, at Step S713, by an operation of the operation input unit 8 (No at Step S713), the imaging device 1 proceeds to Step S715.
According to the fourth embodiment of the present invention described above, if the movement detector 4 detects the movement of the imaging device 1, the capturing controller 13a controls the recording of the image data. As a result, it is possible to capture, without performing a complicated capturing operation, an image simply by moving the imaging device 1 toward a desired subject.
Furthermore, according to the fourth embodiment of the present invention, if the movement detector 4 detects the movement of the imaging device 1, the capturing controller 13a controls the continuous recording of the image data. Accordingly, it is possible to reliably capture the subject and avoid missing a good photo opportunity.
Furthermore, according to the fourth embodiment of the present invention, the focus lens in the optical system 2a is made to move by driving the lens driving unit 2e so as to obtain the peak value of the contrast in accordance with the peak value of the contrast of the image data detected by the contrast detector 3a. Accordingly, it is possible to reliably obtain in-focus image data with respect to the subject.
Furthermore, in the fourth embodiment of the present invention, the capturing controller 13a can also control, in accordance with the speed that the imaging device 1 moves, the recording of the image data. For example, if the movement speed of the imaging device 1 exceeds a threshold set in advance, it is also possible to control the recording of the image data. Furthermore, if the movement speed of the imaging device 1 exceeds a threshold set in advance, it is also possible to end the control of the recording of the image data.
Furthermore, in the fourth embodiment of the present invention, the capturing controller 13a can also control, in accordance with the distance moved by the imaging device 1, the stopping of the recording of the image data.
According to the first to fourth embodiments of the present invention, the movement detector 4 calculates the distance moved by the imaging device 1 using the acceleration sensors 41; however, the configuration is not limited thereto. For example, the distance moved by the imaging device 1 can be calculated by periodically specifying, using pattern matching, an area of the subject image, such as an image (live view image) displayed by the display unit 12, and then calculated in accordance with an increase in the size of the specified area.
Furthermore, according to the first to fourth embodiments of the present invention, if the imaging device 1 captures the subject A1, the capturing is performed only once; however, the number of capturing times is not limited thereto. For example, it is possible to perform the continuous capturing of the subject A1 a predetermined number of times.
Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2010-005336 | Jan 2010 | JP | national |