Camera control device, camera, and imaging apparatus

JP2025041978AActive Publication Date: 2025-03-26NIKON CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2025001078
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-03-26
Estimated Expiration
2041-03-30

Smart Images

  • Figure 2025041978000001_ABST
    Figure 2025041978000001_ABST
Patent Text Reader

Abstract

To appropriately determine whether a subject is focusable in a state where an amount of defocus is large.SOLUTION: A camera control apparatus includes: a determination unit that determines whether or not structural information is included in an image of subject light on the basis of a histogram of intensity values of a plurality of signals output from an imaging unit which receives the subject light passing through an optical system including a focus lens using a plurality of photoelectric conversion units and performs photoelectric conversion; and a movement propriety setting unit that sets the movement propriety of the focus lens on the basis of the determination result of the determination unit. The determination unit performs the determination using the plurality of histograms in which at least one of the width of the grade of the intensity values, a phase of the boundary of the grade of the intensity values, and a color used to generate the histogram is different.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a camera control device, a camera, and an imaging device. [Background technology]

[0002] A camera that performs focus adjustment based on a defocus amount is known (see Patent Document 1). Conventionally, there has been a demand for improving the accuracy of focus adjustment. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-206601 A Summary of the Invention

[0004] A camera control device according to a first aspect of the present invention comprises a judgment unit that judges whether or not structural information is included in an image of the subject light based on a histogram of intensity values ​​of multiple signals output from an imaging unit that receives and photoelectrically converts subject light that has passed through an optical system including a focus lens, and a movement feasibility setting unit that sets whether or not the focus lens can be moved based on the result of the judgment by the judgment unit, and the judgment unit makes the judgment using multiple histograms that differ in at least one of the width of the intensity value classes, the phase of the boundaries of the intensity value classes, and the color used to generate the histogram. A camera according to a second aspect of the present invention comprises the camera control device according to the first aspect. An imaging device according to a third aspect of the present invention comprises a camera control device according to the first aspect, a calculation unit that performs focus detection calculation based on a signal output from the imaging unit, and a lens drive control unit that, when the focus detection calculation cannot be performed, moves the lens to perform the focus detection calculation if the structural information is included, and does not move the lens if the structural information is not included. [Brief description of the drawings]

[0005] [Figure 1] 1 is a schematic diagram illustrating a configuration of a main part of a camera system according to a first embodiment. [Diagram 2] 11 is a flowchart illustrating the flow of a process executed by a camera control unit. [Diagram 3] FIG. 2 is a diagram illustrating an example of a shooting range. [Figure 4] FIG. 4(a) is a schematic diagram showing a histogram generated using an imaging pixel signal corresponding to focus point P1, and FIG. 4(b) is a schematic diagram showing a histogram generated using an imaging pixel signal corresponding to focus point P2. [Diagram 5] FIG. 5(a) is a schematic diagram illustrating the difference in frequency distribution depending on the number of classes (class width), and FIG. 5(b) is a schematic diagram illustrating the difference in frequency distribution depending on the shift amount. [Figure 6] 11 is a flowchart illustrating a process for setting whether or not the focus lens can be moved. [Figure 7] 13 is a flowchart illustrating the flow of a structure determination process using a histogram. [Figure 8] 10 is a flowchart illustrating the flow of a process for setting whether or not the focus lens can be moved according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0006] Hereinafter, an embodiment of the invention will be described with reference to the drawings. A camera system 1 according to one embodiment of the present invention has an autofocus (AF) adjustment function, and when the defocus amount is large and the image of the subject is significantly blurred, it determines whether the subject is one for which focus can be adjusted, and decides whether or not to perform a scanning movement of the focus lens based on the determination result. In the following description, an overview of the camera system 1 will be given first, and then the process of determining whether or not the subject is one for which focus adjustment is possible will be described.

[0007] (First embodiment) 1 is a schematic diagram illustrating the configuration of the main parts of a camera system 1 according to a first embodiment. Although the camera system 1 will be described as an example in which a detachable photographing lens (referred to as an interchangeable lens 3) is attached to a camera body 2, the camera may also be configured such that the camera body 2 and the photographing lens are integrated. In FIG. 1, the horizontal direction in a plane intersecting with the optical axis O of the interchangeable lens 3 is defined as the X-axis, and the vertical direction is defined as the Y-axis.

[0008] <Camera body> The camera body 2 has a camera control unit 230, a body communication unit 240, an image sensor 260, a signal processing unit 270, an operation member 280, and a display unit 290. The camera control unit 230 is connected to the body communication unit 240, the image sensor 260, the signal processing unit 270, the operation member 280, and the display unit 290.

[0009] The camera control unit 230 is composed of a microcomputer and its peripheral circuits. The camera control unit 230 includes a storage unit 235 that stores a control program executed by the camera control unit 230, a focus detection unit 230a that controls focus detection calculation by the AF signal processing unit 270b, a movement permission setting unit 230b that sets whether or not the scan movement of the focus lens 361 described later is possible, a condition setting unit 230c that sets the generation conditions of a histogram described later, a generation unit 230d that generates a histogram, and a structure determination unit 230e that determines whether or not structural information is included in the image of the subject based on the histogram. The structural information will be described later. The camera control unit 230 executes a control program stored in the storage unit 235 to control each unit in the camera body 2. The recording and reading of data in the storage unit 235 is controlled by the camera control unit 230.

[0010] The body communication unit 240 performs predetermined communication with the lens communication unit 340 of the interchangeable lens 3. The body communication unit 240 is connected to the camera control unit 230.

[0011] Light from the subject that has passed through the interchangeable lens 3 is guided to the imaging surface 260S of the imaging element 260. The imaging element 260 is a solid-state imaging element such as a CMOS image sensor or a CCD image sensor. The imaging element 260 captures an image of the subject formed on the imaging surface 260S in response to a control signal from the camera control unit 230, and outputs a signal corresponding to the luminance distribution of the image of the subject. The camera system 1 is capable of capturing moving images and still images. In addition to recording moving images, the capturing of moving images also includes capturing so-called through images (also called live view images) for continuously displaying images for monitoring on the display unit 290.

[0012] The image sensor 260 has a photoelectric conversion unit for image generation and a photoelectric conversion unit for focus detection. An image capturing pixel signal based on the charge generated in the photoelectric conversion unit for image generation is used to generate image data by an image signal processing unit 270a of the signal processing unit 270. A focus detection pixel signal based on the charge generated in the photoelectric conversion unit for focus detection is used by an AF signal processing unit 270b of the signal processing unit 270 for focus detection calculation (also referred to as AF calculation) that detects the focus state of the subject image formed by the photographing optical system 360, in other words, the deviation between the position of the subject image in the optical axis O direction and the position of the imaging surface 260S of the image sensor 260. The imaging element 260 is connected to the signal processing unit 270 and the camera control unit 230 .

[0013] The signal processing unit 270 includes an image signal processing unit 270a and an AF signal processing unit 270b. The image signal processing unit 270a generates image data by performing a predetermined image processing on the imaging pixel signals output from the imaging element 260. The generated image data is recorded in a predetermined file format on a storage medium (such as a memory card) (not shown) and is used to display a live view image before shooting or a confirmation image after shooting.

[0014] In addition, the AF signal processing unit 270b calculates a defocus amount by performing focus detection calculation using a phase difference detection method using focus detection pixel signals output from the image sensor 260. The defocus amount is the amount of deviation between the position of the subject image formed by the photographing optical system 360 and the imaging surface 260S. The signal processing unit 270 is connected to the camera control unit 230 , the image pickup element 260 , and the display unit 290 .

[0015] An operation member 280 including a release button, an operation switch, etc. is provided on the exterior surface of the camera body 2. The operation member 280 sends an operation signal according to a user's operation to the camera control unit 230. The user issues shooting instructions, shooting condition setting instructions, etc. by operating the operation member 280. The user can also use the operation member 280 to instruct switching of an "AF area mode" to be described later.

[0016] Display unit 290 is configured with an organic EL display panel or a liquid crystal display panel. Display unit 290 displays an image based on image data processed by image signal processing unit 270a, an operation menu screen, and the like, in response to a control signal from camera control unit 230. Display unit 290 may also be provided with a touch panel to configure touch operation member 290A as a part of operation member 280. The display unit 290 is connected to the camera control unit 230 .

[0017] <Interchangeable lenses> The interchangeable lens 3 has a lens control unit 330, a lens communication unit 340, a photographing optical system 360, a lens driving unit 370, and an aperture driving unit 380. The lens control unit 330 is connected to the lens communication unit 340, the lens driving unit 370, and the aperture driving unit 380.

[0018] The lens control unit 330 is composed of a microcomputer and its peripheral circuits, etc. The lens control unit 330 executes a control program stored therein and controls each part of the interchangeable lens 3, such as controlling the movement of the focus lens 361 during AF operation.

[0019] The lens communication unit 340 performs predetermined communication with the body communication unit 240. Through communication between the lens communication unit 340 and the body communication unit 240, instructions to move the focus lens 361 and the like are transmitted from the camera body 2 to the interchangeable lens 3. Furthermore, through communication between the lens communication unit 340 and the body communication unit 240, information such as the driving state of the focus lens 361 is transmitted from the interchangeable lens 3 to the camera body 2.

[0020] The photographing optical system 360 includes a plurality of lenses and an aperture member 362, and guides subject light to an imaging surface 260S of an imaging element 260 of the camera body 2. Of the plurality of lenses, a focus lens 361 is configured to be movable in the direction of an optical axis O by a lens driving unit 370. As the focus lens 361 moves, the position of the subject image formed by the photographing optical system 360 moves in the direction of the optical axis O. This causes the lens to be driven for focusing (focusing drive).

[0021] Aperture 362 adjusts the amount of light incident on image sensor 260. Aperture 362 is configured so that aperture blades can be driven by aperture drive unit 380 or manual operation to change the aperture diameter (aperture value).

[0022] Driving instructions such as the moving direction, amount of movement, and moving speed of focus lens 361 are issued by camera control unit 230. Note that, based on information from camera control unit 230, lens control unit 330 may issue driving instructions such as the moving direction, amount of movement, and moving speed of focus lens 361.

[0023] <An example of camera operation> An example of the camera operation by the above-mentioned camera system 1 will be described. Fig. 2 is a flowchart illustrating the flow of processing executed by camera control unit 230. Camera control unit 230 starts the processing according to the flowchart in Fig. 2, for example, at the time of startup following the turning on of a main switch.

[0024] In step S10, camera control unit 230 performs exposure setting for a live view image, performs accumulation control (exposure control) on image sensor 260, and proceeds to step S15. The exposure setting value for the first image captured after startup is controlled to a predetermined initial value, and accumulation control is performed on image sensor 260.

[0025] In step S15, camera control unit 230 causes signal processing unit 270 to read out a signal from imaging element 260, and proceeds to step S20. Camera control unit 230 calculates each control value by performing exposure calculation in step S20. That is, camera control unit 230 detects brightness information (Bv value) of the subject based on the imaging pixel signal input to signal processing unit 270, and determines aperture value (Av value), shutter speed (Tv value), and sensitivity (Sv value) based on the Bv value and information of the program diagram stored in storage unit 235, and proceeds to step S25. Each calculated control value is stored in storage unit 235.

[0026] In step S25, camera control unit 230 controls aperture drive unit 380 via lens control unit 330 to set aperture 362 to the determined aperture value. Camera control unit 230 causes image signal processing unit 270a to generate a live view image using the imaging pixel signals output from image sensor 260, and causes display unit 290 to display the generated live view image.

[0027] In step S30, the focus detection section 230a of the camera control section 230 causes the AF signal processing section 270b to perform AF calculation, and the process proceeds to step S40. The AF calculation calculates a defocus amount based on the focus detection pixel signals output from the image sensor 260.

[0028] In step S40 after the AF calculation (step S30), the movement permission setting unit 230b of the camera control unit 230 determines whether or not the focus lens 361 can be moved. This determination process is performed to avoid unnecessary scanning operation of the focus lens 361 when the defocus amount cannot be calculated in the AF calculation. Conventionally, the scanning operation of the focus lens 361 is performed when the AF signal processor 270b cannot calculate the defocus amount, and the focus lens 361 is moved by a predetermined movement amount in the direction of the optical axis O to increase the possibility of calculating the defocus amount. In other words, the focus lens 361 performs the scanning operation to improve the blur state of the subject image from a state in which the subject image is so blurred that the contour, pattern, etc. of the subject image has disappeared to the extent that the defocus amount cannot be calculated, so that the contour, pattern, etc. of the subject image appears to the extent that the defocus amount can be calculated. Note that the scanning operation may involve moving the focus lens 361 over the entire range from close to infinity.

[0029] If the defocus amount cannot be calculated even if the focus lens 361 is scanned, the scan operation is wasted. Therefore, in the embodiment, the lens movement of the scan operation is not performed for a subject whose image blur is not improved even if the lens movement is performed. For example, the contour or pattern of the subject image required for AF calculation may not appear because the contour or pattern of the subject is originally unclear, or the contour or pattern of the subject image required for AF calculation may be insufficient because the contour or pattern of the subject is originally unclear, making it impossible to calculate the defocus amount. In such a case, even if the lens movement of the scan operation is performed, it is not possible to calculate the defocus amount. Therefore, in the present embodiment, if the movement possibility setting unit 230b does not set the lens movement possibility of the scan operation, the lens movement of the scan operation is not performed. Details will be described later.

[0030] It should be noted that, if the defocus amount can be calculated by the AF calculation (S30), the movement possibility setting unit 230b sets whether or not the focus lens 361 can be moved based on the defocus amount, i.e., sets whether or not the focus lens 361 can be moved for focus adjustment operation, and drives the focus lens 361 to focus in the direction of the optical axis O (step S50). There are two cases where the lens movement possible is set in step S40: when the defocus amount has been calculated, and when the defocus amount has not been calculated but the subject image contains structural information. The former movement possible setting causes the lens movement operation to be performed as a focus adjustment operation, and the latter movement possible setting causes a scan operation for AF recalculation. In this specification, the former is called lens movement possible for focus adjustment operation, and the latter is called lens movement possible for scan operation. The structural information will be described later. The setting results of step S40 are stored as three types of flags: lens movement possible for focus adjustment operation, lens movement possible for scanning operation, and lens movement not possible for scanning operation, and are used in the lens drive control process described later. The process (S40) for setting whether or not focus lens 361 can be moved will be described in detail below with reference to FIGS.

[0031] After the setting process of step S40, the camera control unit 230 proceeds to step S45. In step S45, the camera control unit 230 judges whether or not the release button has been pressed halfway. If the release button has not been pressed halfway, the camera control unit 230 makes a negative judgment in step S45 and returns to step S10. In contrast, if the release button has been pressed halfway, the camera control unit 230 makes a positive judgment in step S45 and proceeds to step S48. In step S48, the camera control unit 230 judges whether or not the lens can be moved, and proceeds to step S50 if the flag indicating that the lens can be moved for the focus adjustment operation is set, and proceeds to step S52 if the flag indicating that the lens can be moved for the focus adjustment operation is not set.

[0032] In step S50, which is proceeded to when the focus adjustment operation is performed and the lens is movable, the camera control unit 230 causes a drive signal corresponding to the drive amount of the focus lens 361 calculated in step S30 to be transmitted from the body communication unit 240 to the interchangeable lens 3. As a result, the lens control unit 330 issues an instruction to the lens drive unit 370 to drive the focus lens 361, which is an instruction to drive the focus lens 361. Camera control unit 230 further performs an operation to inform the user that focus driving has been performed. Camera control unit 230 causes a display (AF frame) indicating the adopted focus point P to be lit for a predetermined period of time, for example. After that, camera control unit 230 proceeds to step S60.

[0033] Furthermore, if the flag indicating that the lens can be moved for the focus adjustment operation is not set, a negative judgment is made in step S48, and the process proceeds to step S52. In step S52, it is judged whether the flag indicating that the lens can be moved for the scan operation is set. If the flag indicating that the lens can be moved for the scan operation is set, the camera control unit 230 proceeds to step S54. In step S54, the camera control unit 230 causes the body communication unit 240 to transmit an instruction to move the focus lens 361 in the direction of the optical axis O for the scan operation to the interchangeable lens 3. This is an instruction for scan drive. Furthermore, the camera control unit 230 returns to step S30 to execute AF calculation in the same manner as described above, and then proceeds to step S40. On the other hand, if the flag indicating that the lens is not to be moved in the scan operation is set in step S52, the process proceeds to step S58. In step S58, the camera control unit 230 performs a display process including an operation of informing the user that focus driving cannot be performed. As the display process, the camera control unit 230 causes a display (AF frame) indicating the focus point P being used to blink for a predetermined period of time, for example. Thereafter, the camera control unit 230 proceeds to step S60. In this way, if the flag indicating that the lens is not to be moved in the scan operation is set, the camera control unit 230 does not send an instruction to drive the focus lens 361 to the interchangeable lens 3, so that unnecessary driving of the focus lens 361 can be avoided.

[0034] In step S60, the camera control unit 230 determines whether or not the release button has been fully pressed. If the release button has been fully pressed, the camera control unit 230 makes an affirmative decision in step S60 and proceeds to step S65, whereas if the release button has not been fully pressed, the camera control unit 230 makes a negative decision in step S60 and returns to step S10.

[0035] After returning to step S10, the camera control unit 230 again performs the processes from step S10 onward. The exposure settings for the second and subsequent frames of the live view image use the aperture value stored in the storage unit 235, and the shutter speed (Tv value) and sensitivity (Sv value) stored in the storage unit 235.

[0036] In step S65, which is reached when the release button is fully pressed (a positive determination in step S60), the camera control unit 230 causes the image sensor 260 to perform a storage operation for capturing an image for recording. At that time, the aperture 362 is set to the aperture value (Av value) stored in the storage unit 235, storage control of the image sensor 260 is performed at the shutter speed (Tv value) stored in the storage unit 235, and processing is performed using the sensitivity (Sv value) stored in the storage unit 235.

[0037] In step S70, camera control unit 230 reads out signals from imaging element 260 to signal processing unit 270, and proceeds to step S75. In step S75, camera control unit 230 causes image signal processing unit 270a to perform predetermined image processing on the imaging pixel signals output from imaging element 260, and generate an image for recording. As a result, image signal processing unit 270a performs predetermined image processing to generate an image for recording.

[0038] In step S80, camera control unit 230 performs image display. That is, camera control unit 230 causes display unit 290 to display the image that has been subjected to the image processing in step S75 as a confirmation image. In step S85, the camera control unit 230 causes the file of the image processed by the image signal processing unit 270a to be recorded in a recording unit (not shown).

[0039] In step S90, the camera control unit 230 judges whether or not to end a series of processes. For example, when the main switch is turned off, the camera control unit 230 judges step S90 to be positive and ends the process in Fig. 2. When the camera control unit 230 does not terminate the process in Fig. 2 and continues the camera operation, it judges step S90 to be negative and returns to step S10.

[0040] The display process (S80) and the recording process (S85) may be performed in a different order, or may be performed in parallel. Also, in the example of FIG. 2, the defocus amount is calculated in the AF calculation (S30) after the live view display (S25) is performed, but the AF calculation (S30) and the lens movement enable / disable setting (S40) may be performed in parallel with the exposure calculation (S20), and after the half-press operation is performed in step S45, an instruction (S50) may be given to the interchangeable lens 3 to drive the focus lens 361. Furthermore, each time a frame of a live view image is captured, AF calculation (S30), lens movement availability setting (S40), and drive instruction for focus lens 361 (S50) may be performed in parallel with exposure calculation (S20).

[0041] <Focus point> The focus points used in the AF calculation (S30) will now be described. Fig. 3 is a diagram illustrating an example of a shooting range 50 imaged by the imaging element 260 of the camera body 2. In this embodiment, a plurality of (e.g., 135) focus points P are provided in advance in the shooting range 50, and in Fig. 3, the 135 focus points P are displayed superimposed on a live view image displayed on the display unit 290. The focus points P indicate positions in the shooting range 50 that are subject to AF calculation, and are also referred to as focus detection areas, focus detection positions, or distance measurement points. It should be noted that the number of focus points P and their positions in the shooting range 50 shown in the figure are merely an example, and are not limited to the embodiment shown in FIG.

[0042] The focus point P used by the AF signal processing unit 270b to calculate the defocus amount, in other words, the focus point P for AF calculation, can be automatically selected from all the focus points P, or the focus point P indicated by the user's operation can also be selected. In the present embodiment, the general term for the selection method of selecting the focus point P used for calculating the defocus amount from all the focus points P is referred to as the "AF area mode".

[0043] The "AF area mode" includes "single-point AF" that employs only one focus point P selected by the user's operation, "wide-area AF" that employs a plurality of focus points P in a range wider than single-point AF, and "auto-area AF" in which the camera control unit 230 detects the subject from the range where all the focus points P are arranged and employs the focus points P located in the range of the subject. The switching of the "AF area mode" can be selected by the user's operation from, for example, the operation menu screen.

[0044] <AF calculation> An overview of the AF calculation (S30) is as follows. The AF signal processing unit 270b calculates the defocus amount, which is the deviation amount in the optical axis O direction between the position of the image of the subject formed by the light beam passing through the interchangeable lens 3 and the position of the imaging surface 260S of the imaging device 260 of the camera body 2, by AF calculation based on the focus detection pixel signal from the photoelectric conversion unit for focus detection. The focus detection pixel signal used by the AF signal processing unit 270b for AF calculation is the focus detection pixel signal output from the photoelectric conversion unit for focus detection arranged at a position corresponding to the focus point (for example, P1) adopted according to the switching of the above "AF area mode" on the imaging surface 260S of the imaging device 260.

[0045] The AF signal processing unit 270b can detect the amount of image shift (phase difference) of the subject image caused by a pair of light beams passing through different regions (pupils) of the interchangeable lens 3 for each focus point P, and can calculate the amount of defocus for each focus point P. Such defocus amount calculation using the pupil division phase difference method is well known in the field of cameras. The focus detection section 230a calculates the amount of drive of the focus lens 361 in the optical axis O direction based on the defocus amount calculated by the AF signal processing section 270b.

[0046] In this embodiment, the interchangeable lens 3 drives the focus lens 361 to focus when the release button is pressed halfway. Specifically, when the release button is pressed halfway, the camera control unit 230 causes the body communication unit 240 to transmit a drive signal for the focus lens 361 corresponding to the drive amount calculated by the focus detection unit 230a to the interchangeable lens 3. The interchangeable lens 3 moves the focus lens 361 in accordance with the drive signal transmitted from the body communication unit 240, thereby performing focus drive so that the position of the image of the subject present in the area corresponding to the focus point P1 is aligned with the position of the imaging surface 260S of the image sensor 260.

[0047] The camera control unit 230 can visually inform the user that focus drive has been performed. Specifically, when the camera control unit 230 transmits a drive signal for the focus lens 361 to the interchangeable lens 3, it causes a display (referred to as an AF frame) indicating the focus point P1 being used to be displayed and lit for a predetermined period of time, superimposed on the live view image displayed on the display unit 290. The example in FIG. 3 shows a state in which the AF frame indicating the focus point P1 is displayed on the display unit 290.

[0048] <Lens movement setting> The lens movement possibility setting (S40), which is performed in the series of camera operations described above, will be described with reference to Fig. 4 to Fig. 7. Fig. 4(a) and Fig. 4(b) are schematic diagrams illustrating histograms used in the lens movement possibility setting (S40), where Fig. 4(a) is a histogram generated using imaging pixel signals corresponding to focus point P1 in Fig. 3, and Fig. 4(b) is a histogram generated using imaging pixel signals corresponding to focus point P2 in Fig. 3. Generation section 230d generates a histogram using imaging pixel signals corresponding to the adopted focus point P, among the imaging pixel signals output from image sensor 260, in the following procedure.

[0049] Step (1) The generation unit 230d acquires imaging pixel signals corresponding to the adopted focus point P. When the signal value is represented in 8 bits, the signal value of the imaging pixel signal is represented by 0 to 255. The number of imaging pixel signals corresponding to the focus point P increases as the range of the focus point P increases, and decreases as the range of the focus point P decreases.

[0050] Step (2) The generation section 230d divides the acquired imaging pixel signals into a plurality of classes based on the histogram generation conditions set by the condition setting section 230c. For example, when the signal values ​​of the imaging pixel signals range from 0 to 255 and the class width is set to 18 by the condition setting section 230c, the number of classes is 14. The condition setting section 230c can change the number of classes (class width) as appropriate.

[0051] Step (3) The generation unit 230d generates a histogram showing the frequency distribution, with the number of imaging pixel signals included in each class being the frequency. Note that Figures 4(a) and 4(b) are shown as examples for the purpose of explanation, and it is sufficient if data necessary for generating the histogram is generated, even if the histograms shown in Figures 4(a) and 4(b) are not actually generated.

[0052] <Histogram shape and presence or absence of structural information in the subject image> In this embodiment, the subject image contains predetermined structural information indicated by contours, patterns, etc. indicating the structure of the subject (also simply referred to as structure), and when information necessary for AF calculation is obtained, in this embodiment, the subject image is said to have structural information. Conversely, when the subject's contours, patterns, etc. are not present and information necessary for AF calculation is not obtained or is insufficient, in this embodiment, the subject image is said to have no structural information.

[0053] In general, when the defocus amount is large (the image is largely out of focus), that is, when the image of the subject is largely blurred, it becomes difficult to determine whether or not the image of the subject has structural information. In this embodiment, when it is difficult to determine whether or not the image of the subject has structural information, the presence or absence of structural information in the image of the subject is determined based on a histogram generated from the imaging pixel signals. The determination of the presence or absence of structural information in the subject image based on the above histogram is based on the following two concepts: (i) When there is no structural information in the subject image, the signal values ​​are concentrated in approximately one class of the histogram (the histogram shape has approximately one peak), as shown in Fig. 4(b). (ii) When the amount of defocus is large and the subject image has structural information, the signal values ​​are separated into multiple classes of the histogram, and the histogram shape becomes broad (spread over multiple classes), as shown in Fig. 4(a).

[0054] <Determining the presence or absence of structural information in the image of the subject> The structure determining section 230e determines the presence or absence of structural information of the subject image based on the histogram generated by the generating section 230d, depending on whether the following two determination conditions are satisfied. Judgment criteria (1) The judgment condition (1) is to judge whether the ratio between the first peak and the second peak in the histogram is greater than a first threshold value (e.g., 10 times) and whether the first peak is remarkably greater, in other words, whether it is far superior. The first peak refers to the frequency of the class with the highest frequency, and the second peak refers to the frequency of the class with the second highest frequency.

[0055] Judgment criteria (2) The judgment condition (2) is that the ratio of the sum of the frequencies of the classes below the second peak, excluding the class of the first peak, in the histogram to the total frequency is smaller than a second threshold (e.g., 10%). In other words, it is judged whether the frequency of the class of the first peak exceeds 90% of the total. The structure determination unit 230e determines that the subject image does not contain structural information if the determination conditions (1) and (2) are simultaneously satisfied, and determines that the subject image contains structural information if either the determination condition (1) or the determination condition (2) is not satisfied.

[0056] <Make multiple judgments> In this embodiment, in order to avoid erroneous determination of the presence or absence of structural information of the subject image, the structure determination unit 230e determines the presence or absence of structural information of the subject image multiple times based on multiple histograms generated under different setting conditions. If the result of multiple determinations by the structure determination unit 230e is that there is no structural information of the subject image, the movement permission setting unit 230b determines that the structure determination unit 230e has determined that "there is no structural information of the subject image". On the other hand, if the structure determination unit 230e determines whether or not there is structural information on the subject image multiple times and determines that there is structural information on the subject image at least once, the movement feasibility setting unit 230b determines that the structure determination unit 230e has determined that "structural information on the subject image is present."

[0057] <Conditions for generating histograms> The condition setting unit 230c can set the following three conditions as conditions for generating a histogram. Setting conditions (1) The condition setting unit 230c sets the colors used to generate the histogram. In general, the photoelectric conversion unit of the image sensor 260 is provided with a color filter. The color filter is any one of a color filter having a spectral characteristic of separating light in a first wavelength range (red (R)) from the incident light, a color filter having a spectral characteristic of separating light in a second wavelength range (green (G)) from the incident light, and a color filter having a spectral characteristic of separating light in a third wavelength range (blue (B)) from the incident light. The generation unit 230d generates a histogram using imaging pixel signals corresponding to the focus point P being adopted that are based on charges generated by a photoelectric conversion unit provided with a color filter of the color set by the condition setting unit 230c, for example, green (G).

[0058] Setting conditions (2) The condition setting unit 230c sets the number of classes (class width) for generating a histogram. Fig. 5(a) is a schematic diagram illustrating the difference in frequency distribution depending on the number of classes (class width). According to Fig. 5(a), the class width is narrower in the upper section than in the lower section. In general, if there are too many classes (the class width is too narrow), the peaks of the histogram are scattered and the characteristics of the histogram are difficult to see. Conversely, if there are too few classes, the peaks of the histogram are difficult to see. The condition setting unit 230c sets the width of the classes so that the number of classes is approximately 10 to 15, for example.

[0059] Setting conditions (3) The condition setting unit 230c sets the shift amount of the class boundary. The shift means to shift the class boundary without changing the class width. FIG. 5(b) is a schematic diagram illustrating the difference in frequency distribution due to the shift amount. According to FIG. 5(b), the class boundary in the upper section is shifted by half the class width compared to the lower section. In other words, the shift amount is 1 / 2 the class width. The shift amount of the class boundary is also called the phase of the class boundary.

[0060] <Explanation of the flow chart> FIG. 6 is a flowchart illustrating the flow of the process (S40) for setting whether or not focus lens 361 can be moved. The camera control unit 230 starts the process according to the flowchart in FIG. 6 as step S40 in FIG.

[0061] In step S410, the movement permission setting unit 230b of the camera control unit 230 judges whether the defocus amount at the adopted focus point P has been calculated. In general, when the contour or pattern of the image of the subject appears, the AF signal processing unit 270b can detect the image shift amount (phase difference) of the image of the subject, and the defocus amount can be calculated based on the detected phase difference. Therefore, when the AF signal processing unit 270b has calculated the defocus amount, the movement permission setting unit 230b judges step S410 as positive, and proceeds to step S540. When proceeding to step S540, since the defocus amount has been calculated, it is not necessary to judge the presence or absence of structural information of the image of the subject. In step S540, the movement permission setting unit 230b sets a flag indicating that the focus lens 361 can be moved based on the defocus amount, and ends the process in FIG. 6. As described above, this flag indicates that the lens can be moved in the focus adjustment operation.

[0062] On the other hand, if the AF signal processing unit 270b has not calculated the defocus amount, the movement permission setting unit 230b makes a negative decision in step S410 and proceeds to step S420. If the process proceeds to step S420, either the image of the subject is so blurred that the defocus amount cannot be calculated despite the subject having structural information, or the subject does not have structural information, and therefore the process from step S420 onwards is carried out to distinguish between the two cases.

[0063] In step S420, condition setting unit 230c of camera control unit 230 sets the colors to be used in generating the histogram as the above-mentioned setting condition (1). Condition setting unit 230c predetermines, for example, that the color to be set the first time is green, the color to be set the second time is blue, and the color to be set the third time is red. In this embodiment, the determination of the presence or absence of structural information of the subject image multiple times based on multiple histograms generated with different colors is referred to as a "color scan."

[0064] In step S430, the condition setting unit 230c of the camera control unit 230 sets the class used for generating the histogram as the above-mentioned setting condition (2). The condition setting unit 230c determines in advance, for example, the class to be set the first time, the class to be set the second time, and the class to be set the third time. In this embodiment, the determination of the presence or absence of structural information of the subject image multiple times based on multiple histograms generated with different classes is referred to as a "class scan."

[0065] In step S440, the condition setting unit 230c of the camera control unit 230 sets the phase of the class boundary used to generate the histogram as the above-mentioned setting condition (3). The condition setting unit 230c predetermines, for example, that the phase (amount of shift) to be set the first time is zero, and the phase (amount of shift) to be set the second time is 1 / 2 the class width. As a result, the class boundary is not shifted in the first setting, and the class boundary is shifted by 1 / 2 the class width compared to the first setting in the second setting. In this embodiment, the determination of the presence or absence of structural information of the subject image based on a plurality of histograms generated with different phases is referred to as a "phase scan." The images used to detect the presence or absence of structural information in the "color scan," "class scan," and "phase scan" are the same images used in the AF calculation in step S410.

[0066] In step S450, structure determination section 230e of camera control section 230 performs a determination process based on the histogram generated by generation section 230d. As described above, the structure determination process in step S450 is performed multiple times for multiple histograms generated under different setting conditions. There are two determination results in step S450: that the subject image has structure information, and that the subject image does not have structure information. In the former case, the structure presence / absence flag is set to 1, and in the latter case, the structure presence / absence flag is set to zero (0). The details of step S450 will be described later with reference to FIG.

[0067] In step S460, movement permission setting unit 230b of camera control unit 230 determines whether or not structure determination unit 230e has determined that there is structural information on the image of the subject, that is, whether or not the structure presence / absence flag is 1. If the structure determination process (S450) using the most recent histogram has determined that there is structural information on the image of the subject and the flag is set to 1, movement permission setting unit 230b makes an affirmative decision in step S460 and proceeds to step S470. Then, movement permission setting unit 230b sets a flag indicating that the lens can be moved for the scan operation, and ends the process in FIG. 6.

[0068] On the other hand, if the structure determination process (S450) using the most recent histogram determines that there is no structural information on the subject image, i.e., if the structure presence / absence flag is set to zero, the movement possibility setting unit 230b makes a negative determination in step S460 and proceeds to step S480 in order to generate a histogram under different setting conditions. In step S480, the condition setting unit 230c shifts the phase of the class boundaries used to generate the histogram. As described above, the condition setting unit 230c shifts the class boundaries by 1 / 2 the class width compared to the phase (shift amount) set in step S440.

[0069] In step S490, structure determination section 230e of camera control section 230 performs structure determination processing of the subject image based on the histogram generated by generation section 230d after phase shifting. The structure determination processing is similar to step S450, so a description thereof will be omitted. As in step S450, the result of the structure presence / absence determination is represented by setting a flag to 1 or 0.

[0070] In step S500, movement permission setting unit 230b of camera control unit 230 judges whether or not the structure determination unit 230e has determined that there is structural information on the image of the subject. If the structure determination process (S490) using the most recent histogram has determined that there is structural information on the image of the subject, in other words, if the structure presence / absence flag is set to 1, movement permission setting unit 230b makes a positive judgment in step S500 and proceeds to step S470. Then, movement permission setting unit 230b sets the lens movement permission flag for the scan operation and ends the process in FIG. 6.

[0071] On the other hand, when the structure determination process (S490) using the most recent histogram determines that the image of the subject has no structure, that is, when the structure presence / absence flag is set to zero, the movement permission setting unit 230b makes a negative decision in step S500 and proceeds to step S510 in order to generate a histogram under different setting conditions. In step S510, the condition setting unit 230c determines whether or not a "class scan" has been completed. If a predetermined class has been set, the condition setting unit 230c makes a positive decision in step S510 and proceeds to step S520, and if a predetermined class has not been set, the condition setting unit 230c makes a negative decision in step S510 and returns to step S430 in order to set a class different from the class set last time. When returning to step S430, the above-mentioned process is repeated.

[0072] In step S520, the condition setting unit 230c judges whether or not the "color scan" has been completed. If a predetermined color has been set, the condition setting unit 230c judges step S520 to be positive and proceeds to step S530, whereas if a predetermined color has not been set, the condition setting unit 230c judges step S520 to be negative and returns to step S420 in order to set a color different from the color previously set. If the condition setting unit 230c returns to step S420, the above-mentioned process is repeated.

[0073] When proceeding to step S530, as a result of multiple determinations made by structure determination unit 230e, it has been determined that there is no structural information on the subject image in all the determinations. Therefore, movement permission setting unit 230b sets a flag indicating that the lens should not be moved in the scan operation in step S530, and ends the process in FIG.

[0074] 7 is a flowchart for explaining the flow of the structure determination process (S450) using a histogram. The camera control unit 230 starts the process according to the flowchart in FIG. In step S451, the generation unit 230d of the camera control unit 230 generates a histogram using the imaging pixel signals corresponding to the adopted focus point P in accordance with the above-mentioned setting conditions (1)-(3) set in the condition setting unit 230c.

[0075] In step S452, the structure determination section 230e of the camera control section 230 detects a first peak and a second peak from the histogram. In step S453, the structure determination unit 230e determines whether the ratio between the first peak and the second peak in the histogram is equal to or greater than a first threshold value (e.g., 10 times), i.e., whether the above-mentioned determination condition (1) is satisfied. If the determination condition (1) is satisfied, the structure determination unit 230e makes an affirmative decision in step S453 and proceeds to step S454, and if the determination condition (1) is not satisfied, the structure determination unit 230e makes a negative decision in step S453 and proceeds to step S457.

[0076] The process proceeds to step S457, which corresponds to a state in which the contour, pattern, and the like of the subject have disappeared due to a large defocus amount. In step S457, structure determination unit 230e recognizes that there is structural information about the subject image, sets the structure presence / absence flag to 1, and ends the process in FIG.

[0077] In step S454, the structure determination section 230e of the camera control section 230 calculates the sum of the frequencies of the classes other than the class of the first peak in the histogram, and the process proceeds to step S455. In step S455, the structure determination unit 230e determines whether the ratio of the calculated sum in the total frequency is smaller than a second threshold (e.g., 10%), i.e., whether the above-mentioned determination condition (2) is satisfied. If the determination condition (2) is satisfied, the structure determination unit 230e makes an affirmative decision in step S455 and proceeds to step S456, and if the determination condition (2) is not satisfied, the structure determination unit 230e makes a negative decision in step S455 and proceeds to the above-mentioned step S457.

[0078] The process proceeds to step S456 when the contours, patterns, etc. of the subject image required for AF calculation are not present or are insufficient. In step S456, structure determination unit 230e of camera control unit 230 recognizes that there is no structural information of the subject image, sets the structure presence / absence flag to zero, and ends the process in FIG.

[0079] As described above, in the embodiment, the lens movement of the scan operation, which was performed when the defocus amount could not be calculated, is based on the knowledge that, depending on the subject, the defocus amount may not be calculated even if the lens movement of the scan operation is performed. In other words, if there is structural information in the image of the subject, the defocus amount may be calculated by the lens movement of the scan operation, and if there is no structural information, there is no possibility of calculating the defocus amount even if the lens movement of the scan operation is performed. Therefore, the possibility of the lens movement of the scan operation is determined based on the presence or absence of structural information in the captured image of the subject. If there is no structural information, the lens movement of the scan operation is not performed, so unnecessary lens movement control is not required.

[0080] According to the first embodiment described above, the following advantageous effects can be obtained. (1) The camera control unit 230 mounted on the camera system 1 includes a structure determination unit 230e that receives subject light that has passed through the photographing optical system 360 using a plurality of photoelectric conversion units, photoelectrically converts the subject light, and outputs a plurality of photoelectrically converted imaging pixel signals from the image sensor 260, and determines whether or not structural information is included in the image of the subject light based on the imaging pixel signals from the image sensor 260, and a movement feasibility setting unit 230b that sets whether or not the photographing optical system 360 can be moved based on the result of the determination made by the structure determination unit 230e. With this configuration, it is possible to appropriately determine the case where it is unlikely that the defocus amount can be calculated. In addition, since the possibility of moving the photographing optical system 360 is set based on the result of this determination, it is possible to avoid unnecessary scanning operations of the focus lens 361.

[0081] (2) The structure determination unit 230e determines whether or not structural information is included in the image of the subject light based on the frequency distribution of a plurality of imaging pixel signals. Therefore, it is possible to appropriately determine the presence or absence of structural information in the image of the subject based on, for example, the distribution of signal values ​​of the imaging pixel signals.

[0082] (3) The structure determination unit 230e uses a histogram of the intensity values ​​of multiple imaging pixel signals as the frequency distribution, so that it can appropriately determine the presence or absence of contours, patterns, etc. that indicate structural information of the subject image based on the frequency distribution of the histogram.

[0083] (4) In the camera control unit 230, the generation unit 230d generates multiple histograms with different widths of the intensity value classes, and the structure determination unit 230e performs a determination based on the multiple histograms. By performing a determination multiple times based on multiple histograms with different classes, it is possible to increase the accuracy of the determination compared to a case where a determination is performed only once based on one histogram.

[0084] (5) In the camera control unit 230, the generation unit 230d generates multiple histograms by shifting the class boundaries without changing the range of the intensity value classes, and the structure determination unit 230e performs a determination based on the multiple histograms. By performing a determination multiple times based on multiple histograms with shifted class boundaries, it is possible to increase the accuracy of the determination compared to a case where a determination is performed only once based on a single histogram.

[0085] (6) The image sensor 260 has a plurality of first photoelectric conversion units that output image pixel signals based on charges generated by photoelectrically converting light transmitted through a first filter that transmits light of a first wavelength, and a plurality of second photoelectric conversion units that output image pixel signals based on charges generated by photoelectrically converting light transmitted through a second filter that transmits light of a second wavelength. The camera control unit 230 generates, in the generation unit 230d, a first histogram showing a frequency distribution of signal values ​​based on signals from the plurality of first photoelectric conversion units, and a second histogram showing a frequency distribution of signal values ​​based on signals from the plurality of second photoelectric conversion units, and determines, in the structure determination unit 230e, the presence or absence of contours, patterns, etc., showing structural information of the image of the subject, multiple times based on the multiple histograms. By performing determinations based on different conditions multiple times, the accuracy of determination can be improved compared to a case where a determination based on one histogram is performed only once.

[0086] (7) The structure determination unit 230e determines that there is no contour or pattern or the like indicating structural information of the subject image when the ratio of the first and second most frequent frequencies in the histogram classes is greater than a first threshold value and the ratio of the sum of the frequencies of the second and lower classes to the total frequency is smaller than a second threshold value. With this configuration, it is possible to appropriately determine whether the defocus amount can be calculated or whether there is no possibility of calculating the defocus amount.

[0087] (8) The camera control unit 230 as a camera control device mounted on the camera system 1 includes a focus detection unit 230a and an AF signal processing unit 270b that detect the amount of defocus based on the phase difference between a pair of images of a subject formed by light beams passing through different pupils of the photographing optical system 360, and the camera control unit 230 (generation unit 230d) generates a histogram when the focus detection unit 230a cannot detect the amount of defocus. With this configuration, the generation of the histogram can be limited to cases where the subject image is so blurred that the defocus amount cannot be calculated, even though the subject image has a structure.

[0088] (9) When the structure determination unit 230e determines that there is an outline, pattern, or the like that indicates the structure of the image of the subject, the movement permission setting unit 230b sets the scanning movement of the focus lens 361 of the photographing optical system 360 to be permitted, and when the structure determination unit 230e determines that there is no outline, pattern, or the like that indicates the structure of the image of the subject, the movement permission setting unit 230b sets the movement of the focus lens 361 of the photographing optical system 360 to be prohibited. With this configuration, when it is expected that the defocus amount can be calculated, lens movement of the scanning operation of the focus lens 361 is performed, and when it is expected that the defocus amount can be calculated, unnecessary lens movement of the focus lens 361 for the scanning operation can be avoided.

[0089] The following modifications are also within the scope of the present invention, and one or more of the modifications may be combined with the above-described embodiment. (Variation 1) In the above-described embodiment, a histogram is generated for the employed focus point P, and the presence or absence of structural information of the subject image is determined based on the generated histogram. Alternatively, a histogram may be generated for the employed focus point P and focus points P arranged around the employed focus point P, and the presence or absence of structural information of the subject image may be determined based on the generated histogram. By generating a histogram using imaging pixel signals corresponding to a range wider than the employed focus point P, the presence or absence of structural information of the subject image can be determined based on a wider portion of the subject.

[0090] (Variation 2) In the above-described embodiment, an example has been described in which a photoelectric conversion unit for image generation and a photoelectric conversion unit for focus detection are provided in the image sensor 260. Instead of this, a focus detection module having a photoelectric conversion unit for focus detection may be provided separately from the image sensor 260. For example, a camera system can be configured in which a quick return mirror is provided on the optical path from the interchangeable lens 3 to the image sensor having a photoelectric conversion unit for image generation, and the focus detection module receives light bent by the quick return mirror.

[0091] The focus detection module receives an image of a subject formed by a set of light beams that are bent by the quick return mirror and pass through different regions (pupils) of the interchangeable lens 3. The focus detection module photoelectrically converts the set of subject images and outputs focus detection pixel signals that correspond to the luminance distribution of the subject images.

[0092] In variant example 2, the AF signal processing unit 270b uses focus detection pixel signals output from the focus detection module to detect the amount of image shift (phase difference) between the images of the set of subjects for each focus point P corresponding to the photoelectric conversion unit arranged in the focus detection module, and can calculate the amount of defocus for each focus point P.

[0093] If the defocus amount has not been calculated by AF signal processing unit 270b, movement feasibility setting unit 230b proceeds to step S420 in FIG. 6, and performs processing from step S420 onwards in order to determine whether the subject image is so blurred that the defocus amount cannot be calculated despite the subject image having structural information, or whether the subject image has no structural information.

[0094] According to the second modification, even when a focus detection module having a photoelectric conversion unit for focus detection is provided separately from the image sensor 260, the same effects as those of the above-described embodiment can be obtained.

[0095] (Second embodiment) In the second embodiment, in addition to the "phase scan," "class scan," and "color scan" performed in the first embodiment, the presence or absence of structural information in the subject image is determined multiple times based on multiple histograms generated by slightly changing the position of the focus lens 361 in the optical axis O direction.

[0096] 8 is a flowchart illustrating the flow of the process (S40) for determining whether or not focus lens 361 can be moved according to the second embodiment. Compared to the determination process (FIG. 6) according to the first embodiment, the difference is that steps S525 and S550 are added between steps S520 and S530, so these differences will be mainly described.

[0097] 8, in step S525, the camera control unit 230 determines whether or not the focus lens 361 has been minutely driven. If the focus lens 361 has been driven a predetermined minute movement amount, the camera control unit 230 makes a positive decision in S525 and proceeds to step S530, and if the focus lens 361 has not been driven a predetermined minute movement amount, the camera control unit 230 makes a negative decision in step S525 and proceeds to step S550. The minute movement amount is a movement amount that is shorter than the movement amount during scanning movement.

[0098] In step S550, the camera control unit 230 causes the body communication unit 240 to transmit an instruction to slightly drive the focus lens 361 in the direction of the optical axis O to the interchangeable lens 3, and the process returns to step S420. When returning to step S420, the camera control unit 230 repeats the processes from step S420 onwards at the position of the focus lens 361 after the slight drive.

[0099] According to the second embodiment described above, in addition to the effects and advantages obtained in the first embodiment, the following effects and advantages are obtained. That is, the structure determination unit 230e of the camera control unit 230 performs the structural information determination of the subject image multiple times based on multiple histograms generated under increased conditions by minutely driving the focus lens 361, so the number of times the structural information determination of the subject image is performed increases compared to the case where the focus lens 361 is not minutely driven. Therefore, the presence or absence of structural information of the subject image can be accurately determined based on a larger number of determinations.

[0100] (Variation 3) In the above-described embodiment, a histogram is generated for the adopted focus point P, and whether or not to move the focus lens 361 is determined based on the generated histogram. That is, an example has been described in which the focus point P is adopted before the histogram is generated. In the third modification, a histogram is generated for all focus points P, and the presence or absence of subject image structural information at each focus point P is determined based on the generated histogram. Then, from among the focus points P determined to have subject image structural information, a focus point P is selected based on the "AF area mode." In other words, the histogram is generated before selecting a focus point P. With this configuration, it becomes possible to select a focus point to be adopted from among focus points P for which it can be determined that focus lens 361 can be moved.

[0101] The focus detection calculation in the third modification may employ a contrast detection method (so-called mountain climbing method) instead of a phase difference detection method. In the mountain climbing method, the focus lens 361 is moved to a position where the contrast of the subject image is high. However, if the contour or pattern of the subject image is not clear to begin with, it is difficult to achieve focus using the mountain climbing method. Therefore, by selecting a focus point where it can be determined that the focus lens 361 can be moved, it is possible to facilitate the focus operation using the mountain climbing method.

[0102] (Variation 4) When it is determined in step S460 that there is no structural information, the color, class, and phase set in steps S420, S430, S440, etc. are changed to generate multiple histograms to determine the presence or absence of structural information. However, the presence or absence of structural information in the subject image may be determined using only one histogram obtained with a preset color and class. If step S460 is negative, it may be recognized that there has been no lens movement in the scanning operation of step S530, and the process may end. (Variation 5) If the result of step S500 is negative, the class is changed or the color is changed to generate a different histogram and determine whether or not there is structural information. However, if the result of step S500 is negative, it may be recognized that the lens movement in the scanning operation of step S530 has not occurred and the process may be terminated. [Explanation of symbols]

[0103] 1... camera system, 2... camera body, 3... interchangeable lens, 230... camera control unit, 235... storage unit, 260... imaging element, 270... signal processing unit, 280... operation member, 290... display unit, 360... photographing optical system, 361... focus lens, 370... lens driving unit

Claims

1. a determination unit that determines whether or not structural information is included in an image of the subject light based on a histogram of intensity values ​​of a plurality of signals output from an imaging unit that receives and photoelectrically converts the subject light that has passed through an optical system including a focus lens, and a movement permission setting unit that sets whether or not the focus lens is movable based on a result of the determination by the determination unit; Equipped with A camera control device in which the determination unit performs the determination using a plurality of histograms that differ in at least one of the width of the intensity value classes, the phase of the boundaries of the intensity value classes, and the color used to generate the histogram.

2. 2. The camera control device according to claim 1, The movement permission setting unit sets whether or not the movement of the focus lens by a scanning operation is permitted.

3. 3. The camera control device according to claim 1, The camera control device, wherein the determination unit determines that the structural information is not included when a predetermined condition is satisfied in all of the plurality of histograms.

4. 4. The camera control device according to claim 1, The determination unit performs the determination using the plurality of histograms, each of which has a different range of intensity value classes.

5. 5. The camera control device according to claim 1, The determination unit performs the determination using the multiple histograms in which the phases of the boundaries of the intensity value classes are different.

6. 6. The camera control device according to claim 1, the imaging unit includes a plurality of first photoelectric conversion units configured to output signals based on charges generated by photoelectrically converting light transmitted through a first filter that transmits light of a first wavelength, and a plurality of second photoelectric conversion units configured to output signals based on charges generated by photoelectrically converting light transmitted through a second filter that transmits light of a second wavelength, A camera control device, wherein the judgment unit makes the judgment based on a first histogram based on a plurality of signals from the plurality of first photoelectric conversion units and a second histogram based on signals from the plurality of second photoelectric conversion units.

7. 7. The camera control device according to claim 1, The judgment unit determines that the structural information is not included when the ratio of the first and second most frequent frequencies among the intensity value classes is greater than a first threshold value, and the proportion of the sum of the frequencies of the second and lower classes among the total frequencies is smaller than a second threshold value.

8. 8. The camera control device according to claim 1, a detection unit that detects a defocus amount, which is a deviation amount between a focus of the optical system and a position of the imaging unit, based on a phase difference between a pair of images formed by light beams passing through different pupils of the optical system; The determination unit makes the determination when the detection unit cannot detect the defocus amount.

9. 8. The camera control device according to claim 1, A camera control device, wherein the movement possibility setting unit sets the focus lens to be movable when the determination unit determines that the structural information is included, and sets the focus lens to be movable when the determination unit determines that the structural information is not included.

10. 10. The camera control device according to claim 9, a camera control device including an output unit that transmits a signal to a drive unit to move the focus lens a predetermined amount of movement when the movement permission setting unit sets the focus lens to be movable;

11. A camera comprising a camera control device according to any one of claims 1 to 10.

12. A camera control device according to any one of claims 1 to 10; a calculation unit that performs a focus detection calculation based on a signal output from the imaging unit; a lens drive control unit that, when the focus detection calculation cannot be performed, moves a lens to perform the focus detection calculation if the structural information is included, and does not move the lens if the structural information is not included; An imaging device comprising:

Citation Information

Patent Citations

  • Automatic focus adjustment device

    JP1994125493A

  • Focusing state deciding method, automatic focusing method and automatic focusing device

    JP1997230224A

  • Optical system controller, optical system control method, and recording medium

    JP2002214513A

  • Method and apparatus for generating range image

    JP2008116309A

  • Image processing method and apparatus

    JP2011112810A