Abstract:
A focusing device includes a distance measurer, a focus adjuster, a focusing judge, and an area display. The focus adjuster measures area subject distances that are distances to a plurality of distance-measuring areas on a subject. The focus adjuster adjusts a focus to focus on the distance-measuring area. The focusing judge determines whether or not the distance-measuring area is a focus-adjustable area for which the focus adjuster can adjust a focus, based on the area subject distance. The area display displays the focus-adjustable area, such that one of the focus-adjustable areas for which the focus adjuster adjusts a focus can be selected as a selected area, based on the area subject distance.

Description:
BACKGROUND OF THE INVENTION  
       [0001]     1. Field of the Invention The present invention relates to a photographing device having an auto focus function, and especially relates to a photographing device that can measure distances to a plurality of areas on a subject.  
         [0002]     2. Description of the Related Art  
         [0003]     Recently, photographing devices that have an auto focus function, and that can measure distances to a plurality of areas on a subject, are known. Further, automatically selecting a reliable distance value from among calculated distance values, and focusing based on the selected distance value, are known.  
         [0004]     In photographing devices where a distance value is automatically selected from among the calculated distance values for focusing, the shortest-distance value is generally selected, therefore, the distance value for the subject on which a user wants to focus is not necessarily selected.  
       SUMMARY OF THE INVENTION  
       [0005]     Therefore, an object of the present invention is to provide a photographing device that has an auto focus function, and that can easily focus on a desirable subject.  
         [0006]     A focusing device according to the present invention includes a distance measurer, a focus adjuster, a focusing judge, and an area display. The distance measurer measures area subject distances that are distances to a plurality of distance-measuring areas on a subject. The focus adjuster adjusts the focus to focus on the distance-measuring area. The focusing judge determines whether or not the distance-measuring area is a focus-adjustable area for which the focus adjuster can adjust a focus, based on the area subject distance. The area display displays the focus-adjustable area, such that one of the focus-adjustable areas for which the focus adjuster adjusts a focus can be selected as a selected area, based on the area subject distance.  
         [0007]     The area display may display a closest focus-adjustable area that is the focus-adjustable area having the shortest area subject distance of the focus-adjustable areas. The area display can display the focus-adjustable areas in order of shortest to longest area subject distance, based on a command from a user. Further, the area display can display the focus-adjustable areas in order of shortest to longest, or longest to shortest, area subject distance.  
         [0008]     The focusing device can further include a data memory that stores subject distance data representing the area subject distance, and the data memory can store the subject distance data until the selected area is selected, or until new subject distance data are generated.  
         [0009]     The area display can further display a non-adjustable area that is the distance-measuring area and that is determined not to be the focus-adjustable area. The area display can display the non-adjustable area to be differentiated from the focus-adjustable area.  
         [0010]     The area display can display a closest focus-adjustable area that is the focus-adjustable area having the shortest area subject distance of the focus-adjustable areas, to be differentiated from the focus-adjustable areas other than the closest focus-adjustable area and the non-adjustable areas.  
         [0011]     A photographing device according to the present invention includes a distance measurer, a focus adjuster, a focusing judge, an area display, and an image generator. The distance measurer measures area subject distances that are distances to a plurality of distance-measuring areas on a subject. The focus adjuster adjusts a focus, to focus on the distance-measuring area. The focusing judge determines whether or not the distance-measuring area is a focus-adjustable area for which the focus adjuster can adjust a focus, based on the area subject distance. The area display displays the focus-adjustable area such that one of the focus-adjustable areas for which the focus adjuster adjusts a focus can be selected as a selected area, based on the area subject distances. The image generator generates a subject image where the selected area is focused. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0012]     The present invention will be better understood from the description of the preferred embodiment of the invention set forth below together with the accompanying drawings, in which:  
         [0013]      FIG. 1  is a block diagram of the digital camera of the embodiment;  
         [0014]      FIG. 2  is a view representing an example of a through image where distance-measuring areas are displayed on an LCD monitor;  
         [0015]      FIG. 3  is a view representing an example of a still image where focus-adjustable areas are displayed on an LCD monitor;  
         [0016]      FIG. 4  is a conceptual view representing area subject distance data for the distance-measuring areas of the still image of  FIG. 3 ; and  
         [0017]      FIG. 5  is a flowchart representing a focus control routine. 
     
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT  
       [0018]     Hereinafter, the preferred embodiment of the present invention is described with reference to the attached drawings.  
         [0019]     As shown in  FIG. 1 , a digital camera  10  includes a controller  20  being a control circuit for controlling the whole entire digital camera  10 , a memory  44 , and so on. In the memory  44 , data for signal processes at the controller  20  and so on have been previously stored. To the controller  20 , a main switch  22 , a photometry-measuring switch (SWS)  24 , a release switch (SWR)  26  and so on are connected. The main switch  22  is turned on when a power switch (not shown) provided on the surface of the digital camera  10  is activated, and then the controller  20  starts. The photometry-measuring switch  24  is turned on when a release button (not shown) is half depressed, and the release switch  26  is turned on when the release button is fully depressed.  
         [0020]     When the photometry-measuring switch  24  is turned on, the contrast of the subject is detected as explained below. First, a CCD  38 , which has many pixels arranged rectangularly and whose exposure is controlled by an exposure controlling circuit  36 , receives light transmitted through a photographing lens  30 , and generates image signals for representing the subject. The image signals are transmitted to an image-signal-processing circuit  40  via an AFE  34 , and various processes such as amplification, digitalization, white balance adjustment, and gamma correction are carried out.  
         [0021]     Luminance data based on the image signals is transmitted to a contrast detection circuit  48 . In the contrast detection circuit  48 , the contrasts of nine distance-measuring areas of the subject explained below are respectively detected, that is, the contrasts are respectively detected in each area of the light receiving surface of the CCD  38 , corresponding to the nine distance-measuring areas. Data representing the detected contrasts of the subject is transmitted to the controller  20 , and is stored in a RAM  28  provided in the controller  20 . Note that a ROM  27  in which data of the photographing lens  30  and so on are previously stored is also provided with the RAM  28  in the controller  20 .  
         [0022]     Driving signals for driving the photographing lens  30  by a motor (not shown) are transmitted to a lens driver  32  from the controller  20 . The photographing lens  30  is driven slightly by the driving signals, the lens position is slightly moved, and image signals are again generated at the CCD  38 . Luminance data is transmitted to the contrast detection circuit  48 , based on the newly generated image signals, and contrasts are detected.  
         [0023]     As explained above, the process of detecting contrasts on the same subject is repeated a plurality of times by moving the lens position of the photographing lens  30 . In the RAM  28 , data of detected contrasts in each distance-measuring area are stored. After the contrasts are detected, an area subject distance to each of a plurality of distance-measuring areas included in a photographing subject, is measured.  
         [0024]     First, it is judged whether the peak of the contrast to the lens position of the photographing lens  30  represented by the contrast data previously stored in the RAM  28 , exists or not by the controller  20 . When it is judged that the peak of the contrast exists, an area subject distance is calculated based on the contrast peak. Further, it is determined whether focusing on a part of a subject included in each distance-measuring area is possible or not by the controller  20  based on the calculated area subject distance, a focal distance of the photographing lens  30 , and an aperture value and so on.  
         [0025]     Based on the result of the determination, it is determined whether each distance-measuring area is a focus-adjustable area where a focus can be adjusted to focus, or a non-adjustable area where a focus can not be adjusted to focus. Then, signals representing whether each distance-measuring area is a focus-adjustable area or a non-adjustable area are transmitted from the controller  20  to the image-signal-processing circuit  40 . A distance-measuring area which is determined not to have the contrast peak is included in the non-adjustable areas, because the area subject distance is not calculated. Further, a closest focus-adjustable area, which is a focus-adjustable area having the shortest area subject distance of the focus-adjustable areas, is differentiated from other focus-adjustable areas and the non-adjustable areas. Signals representing which distance-measuring area is the closest focus-adjustable area, are also transmitted from the controller  20  to the image-signal-processing circuit  40 .  
         [0026]     Further, image signals that are processed by the image-signal-processing circuit  40  as explained above, and signals representing types of distance-measuring areas, are transmitted to an LCD monitor  50  via the image-signal-processing circuit  40 , under the control of the controller  20 . Therefore, a subject image, whose focus-adjustable area, closest focus-adjustable area, and non-adjustable area are respectively superimposed with predetermined colors, is displayed on the LCD monitor  50 , as explained below. At that time, the lens driver  32  is controlled by the controller  20 , so that the photographing lens  30  is moved to the predetermined focused position.  
         [0027]     One of the displayed focus-adjustable areas can be selected as a selected area to be actually focused. This selection is carried out by an operation of a cross key (not shown) provided on a surface of the digital camera  10  by a user, by turning on a cross key switch  25 . Because the closest focus-adjustable area having the shortest area subject distance of all the focus-adjustable areas is selected in many cases; the closest focus-adjustable area is displayed on the LCD monitor  50 , to be differentiated from other distance-measuring areas, as explained above.  
         [0028]     When one of the focus-adjustable areas, including the closest focus-adjustable area, is selected as the selected area, signals representing which focus-adjustable area is the selected area, are transmitted to the controller  20 . Area subject distance data representing the area subject distance of the selected area are read by the controller  20  from the RAM  28  in which all of the area subject distance data had been previously stored. The lens driver  32  is controlled by the controller  20 , which causes the lens driver  32  to move the photographing lens  30  to the focused position according to the area subject distance represented by the read area subject distance data. As a result, a subject included on the selected area is focused.  
         [0029]     When the selected area is selected from focus-adjustable areas and the release switch  26  is turned on by fully depressing the release button, a shutter (not shown) is opened to a predetermined position for a predetermined time based on the control signals from the controller  20 , so that image signals are generated in the CCD  38 . Image signals are transmitted to the image-signal-processing circuit  40  via an AFE  34 . Further, image signals transmitted from the image-signal-processing circuit  40 , that is, image data of the photographed subjects, are transmitted to an SDRAM  42  and a memory card  46 , and stored therein.  
         [0030]     Note that a menu button (not shown) is provided on a surface of the digital camera  10 , and a menu screen is displayed on the LCD monitor  50  by depressing the menu button. A plurality of modes for photographing a subject, replaying an image, and so on, can be set by selecting menu items on the menu screen by operations of the cross key and so on.  
         [0031]     When the main switch  22  is in the on state and the controller  20  is operating, a through image of a subject is displayed on the LCD monitor  50 , as shown in  FIG. 2 . In the through image, outlines representing the first to ninth distance-measuring areas AF 1  to AF 9  are superimposed and displayed on a subject.  
         [0032]     When the photometry-measuring switch  24  is turned on and area subject distances to the first to ninth distance-measuring areas AF 1  to AF 9  are measured, it is determined which of each of the first to ninth distance-measuring areas AF 1  to AF 9  is a focus-adjustable area, a closest focus-adjustable area, or a non-adjustable area. To show the result of the determination, one of three predetermined colors according to the focus-adjustable area, the closest focus-adjustable area, and the non-adjustable area, is superimposed to each of the first to ninth distance-measuring areas AF 1  to AF 9  in a still image (see  FIG. 3 ). In this example, the first to sixth distance-measuring areas AF 1  to AF 6  and the eighth distance-measuring areas AF 8 , which are the focus-adjustable areas, are colored yellow; the ninth distance-measuring area AF 9 , which is the closest focus-adjustable area is colored green; and the seventh distance-measuring area AF 7 , which is the non-adjustable area, is colored red; respectively.  
         [0033]     As explained above, the first to ninth distance-measuring areas AF 1  to AF 9  are displayed differentiated into the focus-adjustable areas, the closest focus-adjustable area, and the non-adjustable areas, so that a user can easily select a selected area to be actually focused on, such as the ninth distance-measuring area AF 9  of the closest focus-adjustable area, from the focus-adjustable areas, and for example, exclude the seventh distance-measuring area AF 7  of the non-adjustable area.  
         [0034]     At that point, when the release switch  26  is turned on when the still image shown in  FIG. 3  is displayed, the ninth distance-measuring area AF 9 , which is the closest focus-adjustable area is automatically set as the selected area, so that the photographing lens  30  is moved to the focused position according to the area subject distance of the subject included in the ninth distance-measuring area AF 9 .  
         [0035]     On the other hand, as explained below, focus-adjustable areas, except for the ninth distance-measuring area AF 9 , which is the closest focus-adjustable area, can be also selected by an operation of the cross key. First, an upper button of the cross key is depressed, and the cross key switch  25  corresponding to the upper button is turned on. At that time, the color on the ninth distance-measuring area AF 9 , which is the closest focus-adjustable area, is changed from green to yellow, and at the same time, the color on the eighth distance-measuring area AF 8  with the second shortest area subject distance (see  FIG. 4 ) is changed from yellow to green, because the eighth-distance-measuring area AF 8  becomes the most likely candidate for the selected area. When the upper button of the cross key is depressed again, the focus-adjustable area having the next shortest area subject distance to the formerly green colored focus-adjustable area is then colored green, and when the down button of the cross key is then depressed, the focus-adjustable area having the next longest area subject distance to the formerly green colored focus-adjustable area is then colored green.  
         [0036]     When the release switch  26  is turned on after the operation of the cross key, a focus-adjustable area colored green at the time is set as the selected area, and an image where a subject in the selected area is focused on, is generated and displayed on the LCD monitor  50 . As explained above, all focus-adjustable areas can be displayed in order of shortest to longest, or longest to shortest, area subject distance, then they can be selected and set as selected areas by operations of the cross key and the release switch  26 .  
         [0037]     Note that when all distance-measuring areas are non-adjustable areas, a user can immediately notice that no distance-measuring area can be focused, by looking at the LCD monitor  50  in this embodiment, therefore, the user can promptly take appropriate measures, such as changing the composition of the subject.  
         [0038]     In the area subject distance data for each of the first to ninth distance-measuring areas AF 1  to AF 9 , the calculated area subject distance, the result of the area judgment, and the color superimposed on the LCD monitor  50  are combined and stored in the RAM  28  as exemplified in  FIG. 4 . The area subject distance data are stored until when the release switch  26  is turned on and a selected area is selected, or when area subject distances to distance-measuring areas included in a new subject are measured. Then, the area subject distance data are deleted from the RAM  28  under the control of the controller  20 , because the area subject distance data become unnecessary when a selected area is determined, or when new area subject distance data are generated.  
         [0039]     Note that the colors represented in  FIG. 4  are the ones first superimposed when the photometry-measuring switch  24  is turned on and a still image is displayed. Therefore, in the case when a closest focus-adjustable area is not selected as a selected area and another focus-adjustable area is selected instead of the closest focus-adjustable area, the colors for superimposition change. In this example, as explained above, a selected focus-adjustable area other than the closest focus-adjustable area AF 9  may be colored green, and the closest focus-adjustable area AF 9  may be colored yellow.  
         [0040]     The focus control routine represented in  FIG. 5  starts when the photometry-measuring switch  24  is turned on. At step S 11 , contrasts of the first to ninth distance-measuring areas AF 1  to AF 9  are respectively detected, and the process proceeds to step S 12 . At step S 12 , the area subject distance data of the first to ninth distance-measuring areas AF 1  to AF 9  are calculated, and the process proceeds to step S 13 .  
         [0041]     At step S 13 , the calculated area subject distance data are stored in the RAM  28 , and the process proceeds to step S 14 . At step S 14 , it is determined whether a focus-adjustable area exists or not, and when it is determined that at least one focus-adjustable area exists, the process proceeds to step S 15 , and when it is determined that no focus-adjustable area exists, the process proceeds to step S 17 . At step S 15 , a closest focus-adjustable area is automatically selected, and the process proceeds to step S 16 .  
         [0042]     At step S 16 , the photographing lens  30  is driven so that a subject in the closest focus-adjustable area is focused on, and the process proceeds to step S 18 . At step S 18 , it is determined whether the upper button of the cross key is depressed or not. When it is determined that the upper button is depressed, the process proceeds to step S 19 , and when it is determined that the upper button is not depressed, the process proceeds to step S 20 . At step S 19 , a focus-adjustable area having the next shortest area subject distance to the focus-adjustable area selected just before the upper button had been depressed, becomes a new candidate for a selected area, and colors on the still image change to indicate clearly the change in the types of the distance-measuring areas, and the process proceeds to step S 21 . At step S 21 , focusing on the newly selected focus-adjustable area is carried out, and the process returns to step S 18 .  
         [0043]     At step S 20 , it is determined whether the down button of the cross key is depressed or not. When it is determined that the down button is depressed, the process proceeds to step S 24 , and when it is determined that the down button is not depressed, the process proceeds to step S 23 . At step S 24 , a focus-adjustable area having the next longest area subject distance to the focus-adjustable area selected just before the down button had been depressed becomes a new candidate for a selected area, and colors on the image change. Then, at step S 25 , focusing on the newly selected focus-adjustable area is carried out, and the process returns to step S 18 .  
         [0044]     On the other hand, at step S 17 , because no focus-adjustable area exists, no focusing is carried out. That is, the photographing lens  30  is not moved, and remains in the position set at step S 15 . Then, the process proceeds to step S 23 .  
         [0045]     At step S 23 , it is determined whether the release switch  26  is turned on or not. When it is determined that the release switch  26  is turned on, a subject image is photographed, and the process proceeds to step S 26 . On the other hand, when it is determined that the release switch  26  is turned off, the process returns to step S 18 . At step S 26 , the area subject distance data are deleted, and the focus control routine ends.  
         [0046]     In the embodiment mentioned above, area subject distance data are calculated for each of the first to ninth distance-measuring areas AF 1  to AF 9 , and the focus-adjustable areas in the distance-measuring areas are displayed on the LCD monitor  50  differentiated from the non-adjustable areas, so that focusing on a desired subject can be easily carried out by an AF function of the digital camera  10 .  
         [0047]     The AF mechanism is not limited to using the contrast detecting method in the embodiment, but such methods as a phase difference detecting method and so on can also be adopted.  
         [0048]     Although nine distance-measuring areas AF 1  to AF 9  are provided at around the center of the photographing area of the digital camera  10 , the number of the distance-measuring areas, their arrangement, and so on are not limited to those of the embodiment. For example, when the menu screen is displayed on the LCD monitor  50 , the number and arrangement of the distance-measuring areas can be selected from the predetermined combinations. Further, although a desired selected area cannot be selected, a spot AF can be selected.  
         [0049]     Methods for selecting and setting the selected area to be actually focused on are not limited to those of the embodiment. For example, regardless of the area subject distance data, a selected area could be selected based on the position in the displayed image on the LCD monitor  50 , by operations of the cross key, and so on. Further, the LCD monitor  50  could be a touch panel for area selection without providing the cross key and so on. In this case, a user could select a selected area by touching a desired focus-adjustable area of a still image on the LCD monitor  50 .  
         [0050]     Methods for differentiating among a focus-adjustable area, a closest focus-adjustable area, and a non-adjustable area are not limited to coloring each entire area in a predetermined color of the embodiment. For example, coloring only an outline of each area could be effective in improving visibility of an image. Further, the nine distance-measuring areas AF 1  to AF 9  are displayed differentiating only between focus-adjustable areas and non-adjustable areas.  
         [0051]     Finally, it will be understood by those skilled in the art that the foregoing description is a preferred embodiment of the apparatus, and that various changes and modifications may be made to the present invention without departing from the spirit and scope thereof.  
         [0052]     The present disclosure relates to subject matter contained in Japanese Patent Application No. 2005-183331 (filed on Jun. 23, 2005) which is expressly incorporated herein, by reference, in its entirety.