IMAGE CAPTURING APPARATUS
An image capturing apparatus is provided with an image sensor that has a first pixel group and a second pixel group, a focus adjustment unit that executes focus adjustment of an imaging lens based on the signal from the second pixel group, a readout unit that has a first thinning and readout mode that thins and reads out signals from the plurality of pixels at a predetermined thinning ratio and thinning phase, and a second thinning and readout mode that thins and reads out signals from the plurality of pixels with a difference in at least one of the thinning ratio and the thinning phase from the first thinning and readout mode, and a selecting unit that selects in which mode to operate the readout means from among the first and second thinning and readout modes in accordance with the state of the image capturing apparatus.
Latest Canon Patents:
- MEDICAL DATA PROCESSING APPARATUS, MAGNETIC RESONANCE IMAGING APPARATUS, AND LEARNED MODEL GENERATING METHOD
- METHOD AND APPARATUS FOR SCATTER ESTIMATION IN COMPUTED TOMOGRAPHY IMAGING SYSTEMS
- DETECTOR RESPONSE CALIBARATION DATA WEIGHT OPTIMIZATION METHOD FOR A PHOTON COUNTING X-RAY IMAGING SYSTEM
- INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND STORAGE MEDIUM
- X-RAY DIAGNOSIS APPARATUS AND CONSOLE APPARATUS
The present invention relates to a control technique for reading out a pixel signal of an image capturing apparatus that has a focus detection pixel in a portion of the image sensor.
BACKGROUND ARTSome current image capturing devices that have a solid-state image sensor such as a CCD or CMOS sensor have a live view function. A live view function is a function that allows confirmation of an object image by sequentially outputting an image signal that is continuously read out from an image sensor onto a display device such as a liquid crystal display or the like arranged on the rear surface or elsewhere on a camera. Also, as a common method of using a light beam that passes through an imaging lens in an auto focus detection/adjustment method of an image capturing device, there is a contrast detection method (called a blur method) and a phase difference detection method (called a deviance method).
The contrast detection method is a method that is often used in a moving image capturing video movie device (camcorder) or digital still camera, wherein an image sensor is used as a focus detection sensor. In this method, an output signal of an image sensor, particularly information of a high-frequency component (contrast information) is focused on, and an imaging lens position for which that evaluation value becomes largest is set as a focus position. However, because an evaluation value is determined while moving the imaging lens in small amounts, and because it is necessary to move the lens until an evaluation value is determined with certainty to be the maximum, this method is not suitable for high-speed focus adjustment operation, and is also called a mountain-climbing method.
The phase difference method, on the other hand, is often used in single-lens reflex cameras that use silver halide film, and is the technique that contributes most to the practical use of the auto focus detection (Auto Focus: AF) single-lens reflex camera. In the phase difference method, a light beam that passes through a projection pupil of an imaging lens is split into two, and each of the split light beams are received by a pair of focus detection sensors. The amount of deviation in the focus direction of the imaging lens is then directly determined by detecting the amount of deviation in the signals output based on the amount of received light, that is, the amount of relative positional deviation in the direction the light beam was split. Therefore, the amount and direction of focus deviation can be obtained by executing an integration operation once by the focus detection sensors, and a high-speed focus adjustment operation becomes possible. However, in order to split the light beam that has passed through the projection pupil of the imaging lens into two and obtain a signal corresponding to each light beam, it is common to provide a light path splitting means such as a quick-return mirror or half-mirror in the imaging light path, and to provide a focus detection optical system and AF sensor in front. For this reason, there is the disadvantage that the apparatus becomes large and expensive. There is also the disadvantage that operation cannot be done during live view since the quick-return mirror is retreated.
In order to eliminate the aforementioned disadvantages, a technique to provide an image sensor with a phase difference detection function and to realize high-speed phase difference AF without the need for a dedicated AF sensor has been proposed. For example, in Japanese Patent Laid-Open No. 2000-156823, a pupil splitting function is provided to a portion of photoreceptors (pixels) of an image sensor by de-centering a sensitivity region of a photoreceiving unit from the light axis of an on-chip microlens. Phase difference focus detection is then executed by arranging these pixels as focus detection pixels at predetermined intervals between a group of imaging pixels. Because the locations at which the focus detection pixels are arranged correspond to defective portions of the imaging pixels, image information is created by interpolation from surrounding imaging pixel information.
Furthermore, in Japanese Patent Laid-Open No. 2000-292686, a pupil splitting function is provided by splitting a photoreceiving unit of a portion of pixels of an image sensor into two. Phase difference focus detection is then executed by arranging these pixels as focus detection pixels at predetermined intervals between a group of imaging pixels. In this technique as well, because the locations at which the focus detection pixels are arranged correspond to defective portions of the imaging pixels, image information is created by interpolation from surrounding imaging pixel information.
However, because image information is created by interpolation from surrounding imaging pixels at locations at which focus detection pixels are arranged and that are defective portions of the imaging pixels in the aforementioned Japanese Patent Laid-Open No. 2000-156823 and Japanese Patent Laid-Open No. 2000-292686, there are cases in which interpolation cannot be done properly, depending on the object. For this reason, although the deterioration in image quality is small in the case that the number of focus detection pixels is small compared to the number of normal imaging pixels, there is the problem that the deterioration in image quality becomes large with the increase in the proportion of focus detection pixels.
Also, in the case that live view is executed, it is necessary to perform read out from the image sensor at high speed in order to realize a target frame rate, and a method of thinning out a portion of the pixels of the image sensor and performing readout at high speed in order to achieve this is known. However, when pixel arrangement is done such that focus detection pixels are included in the read out pixel signal, the proportion of focus detection pixels with respect to imaging pixels increases in comparison to a case in which all pixels are read, and the effect on image quality becomes large.
With respect to the aforementioned problem, the following proposal is given by Japanese Patent Laid-Open No. 2000-156823. That is, when thinning out and reading out, live view is executed in a state in which the focus detection pixels are not read out, and when auto focus adjustment is executed, live view is terminated, and the focus detection pixels are read out. However, Japanese Patent Laid-Open No. 2000-156823 has the problem that because the focus detection pixels are not read out when a portion of the pixels of the image sensor are thinned out and read out at high speed, auto focus adjustment cannot be executed while executing live view.
DISCLOSURE OF INVENTIONThe present invention was made in consideration of the aforementioned problems, and suppresses deterioration in image quality caused by focus detection pixels when thinning and reading out a pixel signal from an image sensor in an image capturing apparatus that has an image sensor with discretely arranged focus detection pixels.
According to a first aspect of the present invention, an image capturing apparatus comprises an image sensor in which a plurality of pixels are two-dimensionally arrayed in the horizontal direction and vertical direction, and has a first pixel group that photoelectrically converts an object image formed by an imaging lens and generates a first signal for image generation, and a second pixel group that is discretely arranged between a plurality of pixels comprising the first pixel group, splits the pupil region of the imaging lens, photoelectrically converts the object image from the split pupil region, and generates a second signal for phase difference detection, a focus adjusting means that detects the focus state of the imaging lens based on the second signal from the second pixel group and executes focus adjustment of the imaging lens, a readout means that has a first thinning and readout mode that thins and reads out signals from the plurality of pixels arranged in the horizontal direction and vertical direction at a predetermined thinning ratio and thinning phase, and a second thinning and readout mode that thins and reads out signals from the plurality of pixels with a difference in at least one of the thinning ratio and the thinning phase from the first thinning and readout mode, and a selecting means that selects in which mode to operate the readout means from among the first thinning and readout mode and the second thinning and readout mode in accordance with the state of the image capturing apparatus.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Hereinafter, an embodiment of the present invention will be explained in detail with reference to the drawings.
Reference numeral 105 is a third lens group, and executes focus adjustment by moving in the direction of the light axis. Reference numeral 106 is an optical low pass filter, and is an optical element for reducing false color and moiré in a captured image. Reference numeral 107 is an image sensor comprised of a CMOS sensor and a peripheral circuit thereof. The image sensor 107 is a two-dimensional single-panel color sensor in which primary color mosaic filters arranged in a Bayer array are formed on-chip on photoreceptive pixels arranged in a two-dimensional array with m pixels in the horizontal direction and n pixels in the vertical direction. Reference numeral 111 is a zoom actuator, and drives the first lens group 101, second lens group 103 and everything in between in the direction of the light axis by rotating an unshown cam tube to execute a magnifying operation. Reference numeral 112 is n aperture shutter actuator, and in addition to controlling the opening diameter of the dual-purpose aperture and shutter 102 to adjust the amount of imaging light, executes exposure-time control of the time of still image capture. Reference numeral 114 is a focus actuator, and drives the third lens group 105 to move in the direction of the light axis to execute focus adjustment.
Reference numeral 115 is an electronic flash for illuminating an object during image capture, and although it is preferably a flash lighting device that uses a xenon tube, an illumination device provided with an LED that continuously emits light may also be used. Reference numeral 116 is an AF auxiliary lighting device that projects a mask image that has a predetermined opening pattern through a projection lens onto an object region, and improves the focus detection capability for a dark object or an object that has low contrast. Reference 121 is a CPU inside the camera that presides over various control of the camera main body. The CPU 121 has a computation unit, ROM, RAM, A/D converter, D/A converter, and communication interface circuit, etc., drives each circuit in the camera based on a predetermined program stored in the ROM, and executes a sequence of operations such as AF, image capture, image processing, and recording, etc.
Reference numeral 122 is an electronic flash control circuit that controls the lighting of the electronic flash 115 in synchronization with an image capturing operation. Reference numeral 123 is an auxiliary light driving circuit that controls the lighting of the AF auxiliary lighting device 116 in synchronization with a focus detection operation. Reference numeral 124 is an image sensor driving circuit that controls the imaging operation of the image sensor 107, and also performs A/D conversion on the obtained image signal and sends it to the CPU 121. Reference numeral 125 is an image processing circuit that executes processing such as γ conversion, color interpolation, and JPEG compression, etc., on the image obtained by the image sensor 107. Reference numeral 126 is a focus driving circuit that performs drive control of the focus actuator 114 based on a focus detection result, and executes focus adjustment by driving the third lens group 105 to move in the direction of the light axis. Reference numeral 128 is an aperture shutter driving circuit that performs drive control of the aperture shutter actuator 112 to control the opening of the dual-purpose aperture and shutter 102. Reference numeral 129 is a zoom driving circuit that drives the zoom actuator 111 in accordance with a zoom operation of the photographer.
Reference numeral 131 is a display device such as an LCD, and displays information relating to the image capturing mode of the camera, a preview image before image capture and confirmation image after capture, and a display image in a focused state during focus detection, etc. Reference numeral 132 is a group of operational switches comprised of a power switch, release (image capture trigger) switch, zoom operation switch, and image capturing mode selection switch, etc. Reference numeral 133 is a detachable flash memory that records a captured image.
Reference numeral 202 is a switch to select the output of a photoelectric converter PDmn, and each row is selected by a vertical scanning circuit 208, to be described later. Reference numeral 203 is a line memory for temporarily storing the output of the photoelectric converter PDmn, and stores the outputs of a line of photoelectric converters 201 selected by the vertical scanning circuit. A condenser is normally used. Connected to a horizontal output line, reference numeral 204 is a switch used to reset the horizontal output line to a predetermined potential VHRST, and is controlled by a signal HRST. Reference numeral 205 is a switch for sequentially outputting the output of the photoelectric converter PDmn stored in the aforementioned line memory 203 to the horizontal output line, and the outputs of a line of photoelectric converters are read out by sequentially scanning the switches from H0 to Hm−1 by a horizontal scanning circuit 206 to be described later.
Reference numeral 206 is a horizontal scanning circuit that sequentially scans the outputs of the photoelectric converters stored in the line memory, and outputs them to the horizontal output line. The signal PHST is data input to the horizontal scanning circuit, while PH1 and PH2 are shift block inputs, and data is set when PH1=H, and data is latched in the case of PH2. It is possible to sequentially shift PHST by inputting a shift block to PH1, PH2, and sequentially turn on the switches from H0 to Hm−1. SKIP is a control terminal input that causes execution of a setting during thinning and readout, to be described later. By setting the SKIP terminal to the H level, it becomes possible to skip the horizontal scanning circuit in a predetermined interval. Details regarding the readout operation will be described later.
Reference numeral 207 is an amp that amplifies the signal read out by the horizontal scanning circuit. In addition, reference numeral 208 is a vertical scanning circuit, and it is possible to select the selection switch 202 of a photoelectric converter PDmn by performing sequential scanning and performing output from V0 to Vn−1. Similarly to the horizontal scanning circuit, a control signal is controlled by a data input PVST, shift block PV1, PV2, and thinning and readout setting SKIP. Because the operation is the same as in the horizontal scanning circuit, a detailed explanation thereof is omitted. Also, the aforementioned control signal is not shown in the figure.
Firstly, the vertical scanning circuit is driven, and V0 is activated. At this time, the outputs of the pixels in the 0th row are each output to the respective vertical output line. In this state, a MEM signal is activated, and the data of each pixel is sample-held in the line memory unit. Next, PHST is activated, the shift blocks of PH1 and PH2 are input, H0 to Hm−1 are sequentially activated, and the pixel signals are output to the horizontal output line. The output pixel signals are output through the amp 207 as VOUT and converted to digital data by an unshown A/D converter, and predetermined image processing is executed in the image processing circuit 125. Next, in the vertical scanning circuit, V1 is activated, the pixel signals of the first row are output to the vertical output lines, and the pixel signals are similarly temporary stored in the line memory by a MEM signal. PHST is activated, the shift blocks of PH1 and PH2 are input, H0 to Hm−1 are sequentially activated, and the operation to output the pixel signals to the horizontal output line is the same. Readout to the n−1th row is sequentially executed in the above manner.
During this thinning operation, firstly, the vertical scanning circuit is driven, and V0 is activated. At this time, the output of the 0th pixel is output to each respective vertical output line. In this state, a MEM signal is activated, and data of each pixel is sample-held in a line memory unit. Next, PHST is activated, and the shift blocks of PH1 and PH2 are input. At this time, the shift register path is changed by setting the SKIP terminal to active, and pixel signals of each set of three pixels are sequentially output to the horizontal output line as H0, H3, H6, . . . , Hm−3. The output pixel signals are output through the amp 207 as VOUT, converted to digital data by an unshown A/D converter, and undergo predetermined image processing in the image processing circuit 125. Next, similarly to the horizontal scanning circuit, the vertical scanning circuit skips V1 and V2, activates V3, and outputs the pixel signals of the third row to the vertical output line. After that, the pixel signal is temporarily stored in the line memory as a MEM signal. PHST is activated, the shift blocks of PH1 and PH2 are input, H0, H3, H6, . . . , Hm−3 are sequentially activated, and the operation to output the pixel outputs to the horizontal output line is the same. In the aforementioned manner, readout up to the n−3rd row is sequentially executed. In the aforementioned manner, ⅓ thinning and readout is executed both horizontally and vertically.
Here, the on-chip microlens ML and photoelectric converter PD of an imaging pixel are comprised such that a light beam that passes through the imaging optical system TL can be taken in as effectively as possible. In other words, the projection pupil EP and photoelectric converter PD of the imaging optical system TL have a conjugate function by the microlens ML, and the effective area of the photoelectric converter is designed to be a large area. Also, although a light beam incident to the R pixel is explained in
The cross-sectional plane A-A in
Also, although the focus detection pixel group has a focus detection pixel arrangement, in consideration of the inability to use them for imaging, they are discretely arranged at moderate intervals in the X and Y directions in the present embodiment. Also, in order to prevent the image deterioration from becoming noticeable, it is desirable that arrangement is not done in a G pixel portion. In the present embodiment, five pairs of SA pixels and SB pixels are arranged in a block of 24×24 pixels shown by a thick black frame in the figure. BLOCK_N(i,j) written in the figure represents the block name, and a pixel arrangement pattern is completed by one block. Furthermore, expansion to an entire image screen may be done by arranging block units at arbitrary positions in the image sensor as needed.
The operation of the present embodiment in a system with the aforementioned structure will be explained using
In step S101 in
When accumulation readout is executed by a VD and HD signal, a VD signal is sent, and accumulation operation of the next frame is begun. Also, the read out image signal is transferred to the image processing circuit 125, defective pixel interpolation or the like is executed, image processing is executed, and the image is sent to a display unit 131 installed on the rear surface of the camera or the like. Because the aforementioned matter is a well-known technique, further explanation will be omitted. Also, regarding moving image recording, after the read out signal similarly undergoes image processing, it is sent to a flash memory 133 and sequentially recorded. Also, in the image sensor 107 of the present embodiment, in addition to the imaging pixels, a pupil splitting function is provided to a portion of the pixel group, and so-called phase difference AF is possible. This focus detection pixel is considered to be a defective pixel, defect interpolation is executed, image processing is done, and transfer to a display circuit is done.
Furthermore, focus detection pixel data included in the image data is picked up and transferred to an unshown phase difference detection block in the image processing circuit 125, in order to detect the focus condition of the imaging lens. Next, correlation computation of the pupil-divided SA pixel group and SB pixel group is executed in this circuit block, and a phase difference AF evaluation value is computed. By this, the CPU 121 controls the focus driving circuit 126, operates the focus actuator 114, and executes focus adjustment of the imaging lens. Also, light measurement is executed by a light measurement detection means comprised of the image processing circuit 125 and CPU 121, and exposure conditions such as accumulation time, gain, and aperture are determined. The CPU 121 drives the aperture by operating the aperture shutter actuator 112 based on the determined aperture value.
Also, in the case that normal live view is executed, it is necessary to thin and read out a signal from the image sensor at high speed in order to realize the target frame rate.
Here, a thinning and readout pattern of the present embodiment will be explained using
Also,
Furthermore,
Here, switching between thinning and readout patterns will be explained using step S103 to step S109 in
In step S103, selection of the thinning readout mode is executed in accordance with the state of the AF and MF switches arranged on an unshown lens or camera. When MF is selected, the process transitions to step S109, and the thinning readout mode is set to the high image-quality mode. When AF is selected, the process transitions to step S104. Here, AF/MF mode switching may be semi-automatically done by a menu or by moving a focus adjusting ring, and is not limited to a physical switch.
In step S104, thinning readout mode selection is done in accordance with whether or not an automatic focus adjustment function (AF) is in operation or not (operational condition). In the case that AF is not being executed, the process transitions to step S109, and the thinning readout mode is set to the high image-quality mode. In the case that AF is being executed, the process transitions to step S105.
In step S105, thinning readout mode selection is done in accordance with the state of the aperture set as the current exposure control. This is because when the aperture is narrowed beyond a predetermined amount, the desired amount of light does not reach the focus detection pixels SA and SB, which is not conducive to focus detection. In the case that the aperture is narrowed beyond F8.0, the process transitions to step S109 and the thinning readout mode is set to the high image-quality mode, and in the case that the aperture is controlled to be on the open side of F8.0, the process transitions to step S106. Although the threshold aperture amount was given as F8.0 here, there is no limitation to this.
In step S106, thinning readout mode selection is done depending on whether or not a moving image is being recorded. In the case that a moving image is being recorded, the process transitions to step S108, and the thinning readout mode is set to the image quality priority AF mode. In the case that a moving image is not being recorded (live view is in operation), the process transitions to step S107, and the thinning readout mode is set to the high-precision AF mode. This is based on the fact that image quality is more important during moving image recording than during live view, and in live view, focus detection precision necessary for a still image as a preview image for still image capture is important. Also, during moving image recording, the thinning readout mode may be set to the high image-quality mode, and the focus detection pixels may not be read out.
In step S110, when notification is given that live view and moving image recording are complete, the camera transitions to a standby state after end processing for live view and moving image recording is executed. On the other hand, in the case that no completion notification is given, the process continues to transition to step S102, and live view and moving image recording processing is continued.
Moreover, although the pixel ratio of the focus detection pixels that are read out during thinning and readout with respect to the normal imaging pixels is 0% in the high image-quality mode, 3.125% in the image quality priority AF mode, and 12.5% in the high-precision AF mode in the present embodiment, there is no limitation to this, and it goes without saying that the combination ratio may be arbitrarily adjusted.
Also, although there are three types of thinning and readout modes in the present embodiment, there is no limitation to three types, and there may be four or more types.
Also, although the thinning ratio was ⅓ in the horizontal direction and vertical direction in the present embodiment, this is not limited to ⅓. This may also be changed in accordance with the thinning and readout mode.
An example in which the thinning ratio is changed in accordance with the thinning and readout mode, and readout of the focus detection pixels is changed is shown in
Furthermore, in consideration that the focus detection pixel group cannot be used for imaging, the focus detection pixel arrangement in the present embodiment is such that they are discretely arranged on some interval in the X and Y directions. Also, it is desirable that they are not arranged on a G pixel portion so that deterioration of the image is not noticeable. In the present embodiment, two pairs of SA pixels and SB pixels are arranged in the block of 30×30 pixels shown by the thick black frame in the figure, and a pixel arrangement pattern is completed in one block. Furthermore, expansion to an entire image screen may be done by arranging block units at arbitrary positions in the image sensor as needed.
Here, in the image sensor comprised of the pixel arrangement shown in
Furthermore,
As explained above, when thinning and reading out during live view or moving image recording, it is possible to change the ratio of focus detection pixels included in the read out pixel signals by changing the thinning and read out line period and thinning ratio in accordance with the state of the camera. For this reason, it is possible to simply execute appropriate readout control without causing unnecessary deterioration in image quality.
Furthermore, it is possible to execute an AF operation without interrupting live view display or moving image recording by interpolating the focus detection pixels and generating an image signal.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2009-026688, filed Feb. 6, 2009, which is hereby incorporated by reference herein in its entirety.
Claims
1. An image capturing apparatus, comprising:
- an image sensor in which a plurality of pixels are two-dimensionally arrayed in the horizontal direction and vertical direction, and that has a first pixel group that photoelectrically converts an object image formed by an imaging lens and generates a first signal for image generation, and a second pixel group discretely arranged between the plurality of pixels that comprise the first pixel group that splits the pupil region of the imaging lens, photoelectrically converts an object image from the split pupil region, and generates a second signal for phase difference detection;
- a focus adjusting unit that detects the focus state of the imaging lens based on the second signal from the second pixel group and executes focus adjustment of the imaging lens;
- a readout unit that has a first thinning and readout mode that thins and reads out signals from the plurality of pixels arranged in the horizontal direction and vertical direction at a predetermined thinning ratio and thinning phase, and a second thinning and readout mode that thins and reads out signals from the plurality of pixels with a difference in at least one of the thinning ratio and the thinning phase from the first thinning and readout mode; and
- a selecting unit that selects in which mode to operate the readout unit from among the first thinning and readout mode and the second thinning and readout mode in accordance with the state of the image capturing apparatus.
2. The image capturing apparatus according to claim 1, wherein the selecting unit selects in which mode to operate the readout unit from among the first thinning and readout mode and the second thinning and readout mode in accordance with the operational condition of the focus adjusting unit.
3. The image capturing apparatus according to claim 1, wherein a moving image recording unit that sequentially records an image signal read out from the image sensor is further provided, and the selecting unit selects in which mode to operate the readout unit from among the first thinning and readout mode and the second thinning and readout mode in accordance with the state of whether or not the moving image recording unit is recording a moving image.
4. The image capturing apparatus according to claim 1, wherein the selecting unit selects in which mode to operate the readout unit from among the first thinning and readout mode and the second thinning and readout mode in accordance with the state of an aperture provided on the imaging lens.
Type: Application
Filed: Jan 6, 2010
Publication Date: Nov 3, 2011
Patent Grant number: 8964061
Applicant: CANON KABUSHIKI KAISHA (Tokyo)
Inventor: Minoru Hirose (Kawasaki-shi)
Application Number: 13/143,223
International Classification: G03B 13/00 (20060101);