This application claims the priority of Korean Patent Application No. 10-2004-0011015, filed on Feb. 19, 2004, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference.
1. Field of the Invention
The present invention relates to a method of controlling a digital photographing apparatus, and more particularly, to a focusing method for a digital photographing apparatus, in which an image is displayed while a focal lens is moved in response to a manual operation signal generated by a user.
2. Description of the Related Art
An exemplary conventional focusing method is the through-the-lens (TTL) method, i.e., the so-called high-frequency climbing method. In the TTL method, high frequency components, such as a focus value, of an image of a subject are analyzed while the focal lens is moved and, based on the result of the analysis, focusing is performed. In the TTL method, a maximum focus value (a position at which the focal value that has been increasing starts to decrease) is detected and focusing is performed based on the detected position.
Another conventional focusing method is the automatic focusing method in which a camera automatically determines an in-focus position and moves a focal lens to the in-focus position. Also, a manual focusing method in which a user determines an in-focus position while viewing a display device such as an LCD and moves the focal lens to the in-focus position may be used as the focusing method. However, in the manual focusing method, the user may have difficulties in accurately determining an in-focus position while viewing the image on a small display device of the conventional digital photographing apparatus.
To solve this problem, a conventional manual focusing method disclosed in Japanese Patent Laid-open No. 2002-72332 may be used. This method requires a separate focusing information display unit such that a user can view focusing information displayed on the focusing information display unit and easily adjust the focus while checking a focusing state.
Alternatively, in another conventional manual focusing method for a digital photographing apparatus, distance data of a subject may be presented in a bar-shaped on-screen display (OSD) such that a user can easily determine an in-focus position. However, when focusing information is displayed on a small screen of a display device in the OSD, the OSD covers the screen, thereby making the user unable to properly check the screen.
The present invention provides a focusing method for a digital photographing apparatus wherein a user is able to easily determine a current focusing state even if additional focusing information is not displayed in an image displayed on a display device of the digital photographing apparatus.
According to an embodiment of the present invention, there is provided a focusing method for a digital photographing apparatus by which an image is displayed while a focal lens is moved in response to a manual operation signal generated by a user. The method includes obtaining a focus value at a current position of the focal lens, wherein the focus value is proportionate to an amount of high-frequency components contained in an image displayed currently; determining a focusing state at the current position of the focal lens based on the focus value of the current position; and changing a sharpness of the currently displayed image such that the result of the determination of the focusing state can be expressed in the currently displayed image.
In the method, the result of the determination of a focusing state is expressed in a currently displayed image in response to a manual operation signal generated by a user. Accordingly, the user can easily determine a current focusing state even if additional focusing information is not displayed on a display device of the digital photographing apparatus.
The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
In a self-timer mode, the self-timer lamp 11 operates for a set period of time from the time when the shutter button 13 is pressed to the time when a shutter operates. The mode dial 14 is used for selecting and setting any one of a plurality of operating modes of the digital camera 1. Exemplary operating modes of the digital camera 1 include a still-image photographing mode, a night view photographing mode, a moving-image photographing mode, a reproducing mode, a computer connection mode, and a system setting mode.
The function-selection button 15 is used for selecting any one of the operating modes of the digital camera 1 such as the still-image photographing mode, the night view photographing mode, the moving-image photographing mode, and the reproducing mode. The photographing information-display unit 16 displays information regarding each photographing related function. The function-block button 18 is used when a user selects a function displayed on the photographing information-display unit 16.
The monitor button 32 is used for controlling the operation of the color LCD panel 35. For example, when the user presses the monitor button 32, an image and photographing information are displayed on the color LCD panel 35. When the user presses the monitor button 32 again, only the image is displayed on the color LCD panel 35. When the user presses the monitor button 32 three times, the color LCD panel 35 is turned off.
The automatic focusing lamp 33 operates when automatic focusing is completed. The flash standby lamp 34 operates when the flash 12 of
Referring to
When the user presses the wide angle-zoom button 39W (see
If a subject is automatically or manually focused on, the position of the focal lens FL changes with respect to a subject distance Dc. Since the position of the focal lens FL is adjusted when the position of the zoom lens ZL is set, the subject distance Dc is affected by the position of the zoom lens ZL.
In an automatic focusing mode, a main controller controls the lens driver 510 through the micro-controller 512, thereby driving a focus motor MF. Accordingly, the focal lens FL can be moved by steps, each step being of a predetermined distance, and the focus value is calculated at each step. In this process, the position of the focal lens FL, at which a focus value proportionate to the amount of high frequency components contained in an image signal is largest can be determined and the number of steps required by the focus motor MF to reach the position can be set.
The compensation lens CL is not separately operated because the compensation lens CL compensates for the entire refractive index. Reference numeral MA indicates a motor driving an aperture (not shown). The aperture-driving motor MA has a different rotation angle when in a designated exposure mode than it does when it is not in the designated exposure mode. In the designated exposure mode, a designated detection region may be set. When a designated detection region is set, the exposure of the digital camera 1 is set according to an average luminance of the designated detection region. Thus, the designated exposure mode can be used to force the digital camera 1 to set the exposure based on the average luminance of only a portion of a subject by matching a designated detection region displayed on the color LCD panel 35 of the digital camera 1 with a selected portion of the subject.
An optical low pass filter (OLPF) included in the filter unit 41 of the OPS eliminates high frequency optical noise. An infrared cut filter (IRF) included in the filter unit 41 of the OPS blocks the infrared component of incident light.
A photoelectric conversion unit (OEC) of a charge coupled device or a complementary metal oxide (CMOS) semiconductor converts light from the OPS into an analog electrical signal. Here, the DSP 507 controls a timing circuit 502 to control the operations of the OEC and a correlation-double-sampler-and-analog-to-digital converter (CDS-ADC) 501. The CDS-ADC 501 processes an analog signal from the OEC, eliminates the high frequency noise, adjusts an amplitude of the analog signal, and then converts the analog signal into a digital signal.
The DSP 507, which controls the entire operation of the digital camera 1 according to programs stored in an electrically erasable and programmable read only memory (EEPROM) 505, processes the digital signal from the CDS-ADC 501 and generates a digital image composed of luminance and chromaticity values. The digital image signal from the DSP 507 is input to an LCD driver 514, thereby displaying an image on the color LCD panel 35.
The digital image signal from the DSP 507 can be transmitted via a universal serial bus (USB) connector 21 a or via an RS232C interface 508 and an RS232C connector 21b for serial communications. The digital image signal from the DSP 507 can also be transmitted via a video filter 509 and a video output unit 21c as a video signal.
Referring to
A dynamic random access memory (DRAM) 504 temporarily stores a digital image signal from the DSP 507. The EEPROM 505 stores programs and setting data needed for the operation of the DSP 507. Thus, the EEPROM 505 is an example of a recording medium on which a program for implementing the focusing method according to the present invention is recorded. A user's memory card is inserted or removed in a memory card interface 506.
An audio processor 513 can relay sound from the microphone MIC to the DSP 507 or to a speaker SP. In addition, the audio processor 513 can output an audio signal from the DSP 507 to the speaker SP. The micro-controller 512 controls the operation of a flash controller 511 in response to a signal from the flash light intensity sensor 19, thereby driving the flash 12.
The DSP 507 inspects the remaining capacity of the memory card (operation 102) and determines whether the memory card has enough capacity for recording a digital image signal (operation 103). When the memory card does not have enough recordable capacity, the DSP 507 indicates the lack of capacity of the memory card (operation 104). When the memory card has enough recordable capacity, the following steps are performed.
In an automatic white balance (AWB) mode, parameters related to the AWB are set (operation 105). In an automatic exposure (AE) mode, the DSP 507 calculates the exposure by measuring incident luminance and drives the aperture driving motor MA according to the calculated exposure (operation 106). In the automatic focusing (AF) mode, a current position of the focal lens FL is set (operation 107).
It is next determined whether the first level signal S1 from the shutter button 13 is on (operation 108). When the first level signal S1 is not on, it means that the shutter button 13 has not been depressed to initiate photographing. Therefore, an execution program is terminated. When the first level signal S1 is on, the following operations are performed.
After determining that S1 is on, the DSP 507 determines whether the second level signal S2 is activated (operation 109). When the second level signal S2 is not on, it means that the user did not fully depress the shutter button 13 to the second level in order to take a photograph. Therefore, the execution program returns to operation 106 and performs operations 106-109 again.
When the second level signal S2 is on, it means that the user fully depressed the shutter button 13 to the second level. Therefore, a photographing operation is performed (operation 110). In other words, the DSP 507 is operated by the micro-controller 512, and the OEC and the CDS-ADC 501 are operated by the timing circuit 502 in order to capture an image of an object.
Next, image data is compressed (operation 111), and an image file for the compressed image data is created (operation 112). The image file created by the DSP 507 is stored in a storage medium. In an embodiment the image file created by the DSP 507 is stored in a memory card via the memory card interface 506 (operation 113). After the image file is stored, the photographing control algorithm is terminated.
Referring to
The manual focusing program 200 is performed according to whether a manual focusing button is pressed (operation S201). Thus, the manual focusing button may be included in the digital camera 1. The manual focusing button may include a far button for focusing on an object which is a distance far from the digital camera 1 and a near button for focusing on an object which is a distance near to the digital camera 1.
In general, the manual focusing program 200 is used when a subject is at a fixed distance, such as infinity, 2.5 meters, or 1 meter, away from the digital camera 1. It is recommended that the manual focusing program 200 be used especially when automatic focusing is impossible due to, for example, a dark subject or a monochromatic subject.
The focus motor MF is driven in units of steps by operating the far button or the near button to find a position of the focal lens FL at which a focus value proportionate to the amount of high frequency components contained in the image signal is the largest. A focus value may be obtained by integrating over an entire focal region values which are obtained by high-frequency-filtering an image signal based on a cutoff frequency.
The focal region is where a focus value is obtained in the entire image region. The entire image region may be the focal region, but it may be more efficient to define a region displayed on a portion of the display device as the focal region. In particular, the focal region may be a quarter and half of the screen of the display device horizontally and vertically, respectively, and may be located at a center of the screen.
When the manual focusing button has been pressed (operation S201), focus values are detected while moving the focal lens FL of
A focus value may be obtained by high-frequency-filtering the image signal based on a cutoff frequency higher than the conventional cutoff frequency. To this end, in the present embodiment, any one of a frequency larger than a hundredth of a sampling frequency for processing the image signal and a frequency smaller than a tenth of the sampling frequency may be set as the cutoff frequency. Then, the focus value is obtained by integrating values obtained by high-frequency-filtering the image signal based on the cutoff frequency.
In operation S204, the focal lens FL is moved to the current position by manually operating the manual focusing button. In operation S206, the focusing state at the current position is determined. The focusing state includes an in-focus state in which it is determined that the digital camera 1 is focused and a blurred state in which it is determined that the digital camera 1 is not focused. In the graphs illustrating focus values with respect to the position of the focal lens FL of
Alternatively, the focusing state at the current position of the focal lens FL may be determined by an inclination or slope between the focus values in the graphs of
This method uses the fact that an inclination value in the in-focus region is larger than that in the blurred region. For example, the first reference value, which is the upper limit of small inclination in the blurred region, is set to 0.3 per step, and the second reference value, which is the lower limit of large inclination in the in-focus region, is set to 5.0 per step.
In operations S207 and S208, the sharpness of an image currently displayed is changed such that the result of determination of the focusing state can be expressed in the currently displayed image. Specifically, in operation 207, since the focal lens FL is in the in-focus region, the sharpness of the currently displayed image is enhanced, thereby emphasizing sharpness. In operation S208, since the focal lens FL is in the blurred region, the sharpness of the image is undermined, thereby emphasizing blurring.
The altered images displayed in operation 207 are obtained by high-frequency filtering current image signals. In contrast, in operation S208, the current image signals are low-frequency-filtered. A low-frequency filter or a high-frequency filter used to embody the present invention may be implemented, for example, as a filter included in an LCD driver 514 of
If the manual focusing button has not been pressed (operation S201), it is determined whether a S2 signal from the shutter button 13 of
In operation S301, it is determined whether a signal has been generated by an automatic focusing button. Operation S301 can be replaced by operation 101 of
In operations S302 and S303, focus values are detected while moving the focal lens FL in one direction from a reference position by a predetermined number of steps. To this end, any one of a frequency larger than a hundredth of a sampling frequency for processing the image signal and a frequency smaller than a tenth of the sampling frequency is set as the cutoff frequency. Then, the focus values proportionate to the amount of high-frequency components contained in the image signal are detected.
To this end, the focus motor MF is driven to move the focal lens FL from the reference position, i.e., a current position, to a set ending position. In this process, focus values are calculated. Here, the focus values proportionate to the amount of high frequency components contained in the image signal are detected while moving the focus motor MF in units of the first number of steps, for example, 8 steps, during which the focal lens FL is moved from the current position to the ending position. In this case, as in the embodiment of
In operation S304, the position of the focal lens FL having the maximum focus value is found. To this end, various methods of finding the position of the maximum focus value used in the conventional automatic focusing method may be used. One of the methods that can be used in the present embodiment will now be described.
After the focal lens FL is moved to a position of the maximum focus value out of the focus values calculated in units of the first number of steps, focus values at positions before and after a second number of steps, which is smaller than the first number of steps, for example, four steps, based on the position of the maximum focus value are measured and compared. In other words, the largest value out of the maximum focus value and the measured two values becomes a new maximum focus value.
Based on the position of the new maximum focus value, focus values at positions before and after a third number of steps, which is smaller than the second number of steps, for example, two steps, are measured and compared. In other words, the largest value of the maximum focus value and the current measured two values becomes the position of the focal lens FL having the final maximum focus value.
In operation S305, the focal lens FL is moved to the position of the final maximum focus value obtained in operation S304. When the focal lens FL is at the position of the final maximum focus value, if the shutter button is pressed to the second level and S2 is generated, an image is photographed (operation S310) and the automatic focusing mode is terminated.
The focusing method of the digital camera 1 according to the present invention may be applied to various image acquisition apparatuses such as digital still cameras that require automatic or manual focusing, digital video cameras, and portable phone cameras.
As described above, in a focusing method for a digital photographing apparatus according to the present invention, the result of the determination of a focusing state is expressed in a currently displayed image in response to a manual operation signal generated by a user. Accordingly, the user can easily determine a current focusing state even if additional focusing information is not displayed on a display device of the digital photographing apparatus.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present invention as defined by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2004-0011015 | Feb 2004 | KR | national |