WO2011096157A1 - 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法 - Google Patents

撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法 Download PDF

Info

Publication number
WO2011096157A1
WO2011096157A1 PCT/JP2011/000093 JP2011000093W WO2011096157A1 WO 2011096157 A1 WO2011096157 A1 WO 2011096157A1 JP 2011000093 W JP2011000093 W JP 2011000093W WO 2011096157 A1 WO2011096157 A1 WO 2011096157A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
imaging
psf
blur
focus
Prior art date
Application number
PCT/JP2011/000093
Other languages
English (en)
French (fr)
Inventor
育規 石井
物部 祐亮
Original Assignee
パナソニック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニック株式会社 filed Critical パナソニック株式会社
Priority to CN201180001621.6A priority Critical patent/CN102369556B/zh
Priority to EP11739509.5A priority patent/EP2533198B1/en
Priority to US13/260,440 priority patent/US8553091B2/en
Publication of WO2011096157A1 publication Critical patent/WO2011096157A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B27/00Optical systems or apparatus not provided for by any of the groups G02B1/00 - G02B26/00, G02B30/00
    • G02B27/64Imaging systems using optical elements for stabilisation of the lateral and angular position of the image
    • G02B27/646Imaging systems using optical elements for stabilisation of the lateral and angular position of the image compensating for small deviations, e.g. due to vibration or shake
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration using two or more images, e.g. averaging or subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/73Deblurring; Sharpening
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6811Motion detection based on the image signal
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2205/00Adjustment of optical system relative to image or object surface other than for focusing
    • G03B2205/0007Movement of one or more optical elements for control of motion blur
    • G03B2205/0015Movement of one or more optical elements for control of motion blur by displacing one or more optical elements normal to the optical axis
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B2205/00Adjustment of optical system relative to image or object surface other than for focusing
    • G03B2205/0007Movement of one or more optical elements for control of motion blur
    • G03B2205/0038Movement of one or more optical elements for control of motion blur by displacing the image plane with respect to the optical axis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10141Special mode during image acquisition
    • G06T2207/10148Varying focus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20172Image enhancement details
    • G06T2207/20201Motion blur correction

Definitions

  • the present invention relates to an image processing apparatus and an image processing method for removing ringing.
  • noise When an image is taken with a digital camera, noise may be added to the image due to the characteristics of a CCD (Charge-Coupled Device) or CMOS readout circuit or the characteristics of a transmission path.
  • image blur due to out of focus (out-of-focus) at the time of imaging or blur due to camera shake or the like occurs. In this way, in the captured image, the image is deteriorated due to the noise caused by the artificial operation at the time of photographing being added to the noise due to the characteristic unique to the captured image.
  • motion blur image blur due to camera movement during shooting (exposure) is referred to as “motion blur” and is distinguished from out-of-focus blur. .
  • the noise is also amplified. Therefore, the signal is buried in the noise, and the image occupies most of the noise in many cases.
  • the exposure time by increasing the exposure time, a lot of light generated on the spot is accumulated and an image with less noise can be obtained. In this case, the signal is not buried with noise, but there is a problem that the image is blurred due to camera shake.
  • Patent Document 1 Patent Document 2
  • Non-Patent Documents 1 to 5 disclose the restoration method by signal processing.
  • optical camera shake correction Since optical camera shake correction has a limited correction range, the operating range must be large when collecting a sufficient amount of light in a darker environment. However, when it becomes larger, a time delay occurs during movement, and there is a physical limit of size for enlargement.
  • the method of restoring an ideal image from a degraded image by signal processing has a problem that noise such as ringing occurs in the restored image.
  • Noise is noise in which a portion (flat portion) having a uniform luminance or the like in an image does not appear flat.
  • FIG. 1A is a plan view showing an image (ideal image near the edge) in which the luminance changes stepwise
  • FIG. 1B is a graph schematically showing the luminance distribution
  • FIG. 2A is a plan view showing a deteriorated image (blurred image) obtained by taking the image of FIG. 1A with a camera
  • FIG. 2B shows its luminance distribution. Is a graph schematically showing It is assumed that camera shake occurs in the horizontal and horizontal directions during camera shooting. In the deteriorated image in FIG. 2A, the sharpness of the edge is lost because blurring due to camera shake occurs.
  • FIG. 3A is a plan view showing an image obtained by restoring the deteriorated image of FIG. 2A by signal processing
  • FIG. 3B is a graph schematically showing the luminance distribution of the restored image. In the restored image in FIG. 3A, there is a portion where the luminance changes periodically. Such a luminance change is noise called “ringing”.
  • the weight for using blurred image data is determined based on the strength of the edge in the screen.
  • the edge strength cannot be determined unless the amount of camera shake is determined. If the edge strength is not determined, the weight for using the blurred image data cannot be determined. Therefore, there is a problem that ringing cannot be removed.
  • the present invention has been made to solve the above-described problems, and provides an imaging apparatus that performs image processing that reduces ringing in a flat portion of an image in consideration of human perceptual characteristics.
  • An imaging device of the present invention forms an image sensor including a plurality of photosensitive cells arranged on an imaging surface, a first image focused on the imaging surface in a first state, and a second image
  • An optical system that forms a second image that is out of focus on the imaging surface in the state, and an image processing unit that processes a signal obtained from the imaging device, wherein the image processing unit From the image acquired by the image sensor in the state 2, a restored image in which blur due to camera shake is reduced is generated.
  • the image processing unit includes a memory that records a point spread function that defines a defocus blur in the second state, and the image processing unit receives a point spread function that defines a defocus blur at the time of imaging from the memory. Used to generate read and restored images.
  • the optical system includes an imaging lens and an array of microlenses provided on the imaging device, and the microlens is a non-solid lens whose focal length changes.
  • the optical system includes a non-solid lens whose focal length changes.
  • the image processing apparatus further includes a display unit, and displays an image acquired by the image sensor in the first state on the display unit.
  • the program according to the present invention includes an imaging device including a plurality of photosensitive cells arranged on an imaging surface, an optical system that forms an image on the imaging surface, and an image processing unit that processes a signal obtained from the imaging device.
  • a program for controlling an operation of an imaging apparatus comprising: a step of forming a first image focused on the imaging surface by the optical system; and a step of forming an image on the imaging surface by the optical system.
  • An image pickup device is an image pickup device including a plurality of photosensitive cells arranged on an image pickup surface and an array of microlenses provided on the image pickup device, wherein the microlens has a focal length.
  • a changing non-solid lens is an image pickup device including a plurality of photosensitive cells arranged on an image pickup surface and an array of microlenses provided on the image pickup device, wherein the microlens has a focal length.
  • (A) is a top view which shows the image (ideal image near an edge) from which a brightness
  • (b) is a graph which shows typically the luminance distribution.
  • (A) is a plan view showing a deteriorated image (blurred image) obtained by taking the image of FIG. 1 (a) with a camera, and (b) schematically shows its luminance distribution. It is a graph to show.
  • (A) is a top view which shows the image which restored the degradation image of Fig.2 (a) by signal processing
  • (b) is a graph which shows typically the luminance distribution of a restoration image.
  • (A) is a figure which shows typically the image (point image) in which a specific pixel has the brightness
  • (b) is the blurring by defocusing It is a figure which shows the point spread function PSF
  • (c) is a figure which shows the image obtained by performing convolution of the point spread function PSF of the blurring by defocusing with respect to the image of (a).
  • (A) is a light ray diagram when the focusing lens is in focus
  • (b) is a light ray diagram when it is out of focus. It is a block diagram which shows schematic structure of the imaging device in this embodiment.
  • FIG. 2 is a diagram schematically illustrating a schematic configuration of an imaging element 10 and a photographing lens 20 in the imaging unit 100.
  • 2 is a schematic top view of an imaging surface 10a of the imaging element 10.
  • FIG. (A) And (b) is a figure which shows typically some cross-sectional structures of the image pick-up element 100.
  • FIG. (A) is a figure which shows the pattern which has a black background and has a small bright spot in the center
  • (b) is a graph which shows the relationship between a focus blur (diameter b) and the voltage applied to a micro lens.
  • 7 is a block diagram illustrating a configuration example of an image processing unit 220 illustrated in FIG. 6. It is a flowchart which shows the example of the decompression
  • the luminance distribution of an image formed on the imaging surface is represented by i (x, y).
  • the coordinates (x, y) are two-dimensional coordinates indicating the position of the pixel (photosensitive cell) on the imaging surface.
  • x and y are integers that satisfy the relationship of 0 ⁇ x ⁇ M ⁇ 1 and 0 ⁇ y ⁇ N ⁇ 1, respectively.
  • the position of each pixel constituting the image can be specified by coordinates (x, y).
  • the origin of coordinates (0, 0) is placed at the upper left corner of the image, and the x axis extends in the vertical direction and the y axis extends in the horizontal direction.
  • the method of taking the coordinates is arbitrary.
  • the image s (b) without blur is obtained by deconvolution operation (deconvolution) on the image i (x, y) obtained by camera shooting. x, y) can be restored. If f (x, y) is not known, it is necessary to obtain s (x, y) after estimating f (x, y) from the image.
  • This equation 5 expresses the Fourier transform I (u, v) of the image i (x, y) obtained by camera photographing as the Fourier transform F (u, v) of f (x, y) which is a point spread function PSF. It is shown that the function obtained by dividing by is equivalent to the Fourier transform S (u, v) of the ideal image s (x, y). That is, if I (u, v) and f (x, y) are obtained, S (u, v) can be determined.
  • I (u, v) is a Fourier transform of an image (degraded image) obtained by camera photographing, if f (x, y) representing a hand-spread point spread function PSF is obtained, signal processing is performed. It is possible to restore an image from a deteriorated image (close to a true image).
  • F (x, y) representing the camera shake point spread function PSF depends on the camera shake trajectory during photographing (exposure). In other words, since the hand movement trajectory differs for each camera shot, f (x, y) also changes for each camera shot. Although f (x, y) can be estimated from one or a plurality of images obtained by camera shooting, the camera movement (camera shake trajectory) during shooting (exposure) is detected by a sensor. It is also possible to estimate. However, f (x, y) is only obtained by estimation or measurement and includes some error. For this reason, it is difficult to completely restore the ideal image s (x, y).
  • Non-Patent Document 2 discloses that the Fourier transform of the point spread function PSF is approximated by a sinc function by assuming that the hand movement trajectory during a short exposure time is “constant linear motion”.
  • F (u, v) which is the denominator of Expression 5, is expressed by Expression 6 below, where W is the width of camera shake and x-axis direction is the direction of camera shake.
  • Equation 6 The right side of Equation 6 is a sinc (zinc) function, and its amplitude becomes zero (0) every fixed period. This period is the reciprocal (1 / W) of the width W of camera shake.
  • F (u, v) is obtained by rotating the function of Expression 6 by the angle ⁇ . Since an actual hand shake draws a complicated trajectory, the assumption of “constant linear motion” may not be sufficiently established.
  • the inventor of the present invention pays attention to the fact that F (u, v), which is the denominator of Equation 5, periodically becomes zero in the low frequency region, is the main cause of ringing in the flat portion of the image.
  • the “low frequency region” is a region close to the origin in the frequency space, and is a region where the spatial frequency of the luminance distribution is relatively low in the image. Such a low-frequency region corresponds to a flat portion (a portion where the luminance change is small) of the image.
  • the present invention by realizing imaging in which F (u, v) does not become zero in the low frequency region, when restoring a deteriorated image caused by camera shake or the like, in a flat portion (low spatial frequency region) of the image It is possible to reduce ringing. Since the ringing in the flat part of the image is conspicuous for human eyes, the quality of the image is remarkably improved if the ringing in the flat part is reduced.
  • blurring due to defocusing is intentionally added to an image during camera shooting.
  • the blurring point spread function PSF due to camera shake is represented by f 1 (x, y)
  • the blurring point spread function PSF due to defocusing is represented by f 2 (x, y).
  • Formula 1, Formula 4, and Formula 5 are transformed into the following Formula 7, Formula 8, and Formula 9, respectively.
  • F 1 (u, v) and F 2 (u, v) are Fourier transforms of f 1 (x, y) and f 2 (x, y), respectively.
  • the image intentionally imparted to the point spread function PSF of the blur due to defocus i.e. f 2 (x, y) are known.
  • the point spread function PSF of blur due to defocusing can be expressed by a pillbox function or a Gaussian function. As long as the degree of defocus is appropriately adjusted, the Fourier transform of such a function does not become zero near the frequency zero, that is, in the low frequency region.
  • the function F 2 (u, v) that does not become zero in the low frequency region is added to F 1 (u, v) so that the denominator of Equation 9 does not become zero at least in the low frequency region.
  • FIG. 4 (a) is a diagram schematically showing an image (point image) in which a specific pixel has a non-zero luminance and other pixels have a zero luminance.
  • FIG. 4B is a diagram showing a point spread function PSF of blur due to defocusing, the left graph of FIG. 4B shows an example of a pillbox function, and the right graph shows an example of a Gaussian function.
  • FIG. 4C is a diagram illustrating an image obtained by performing convolution of the point spread function PSF of blur due to defocusing on the image of FIG. In the image of FIG. 4C, blurring due to defocusing occurs. Unlike the blur caused by camera shake, this blur has a luminance distribution that spreads symmetrically from the center. The degree of blurring is strictly defined by the point spread function PSF, but can be roughly evaluated by the size (diameter or radius) of the point image spread.
  • FIG. 5 (a) is a ray diagram when the focusing lens is in focus
  • FIG. 5 (b) is a ray diagram when it is out of focus.
  • the point S that is separated from the lens by the distance A forms an image of the point s on the imaging surface that is separated from the lens by the distance B.
  • the distance B matches the focal length C of the lens.
  • the distance B does not coincide with the focal length C of the lens, the image on the imaging surface is blurred, and the luminance distribution has a diameter b.
  • the size of the blur spread (diameter b) can be approximately expressed by the following Equation 10.
  • is the aperture diameter of the lens.
  • the size of b can vary depending on the distance A between the lens and the subject at the time of imaging, the distance B between the lens and the imaging surface, the focal length C, and the lens aperture diameter ⁇ .
  • the luminance distribution of the point image on the imaging surface can be approximately expressed by, for example, a pillbox function or a Gaussian function according to the point spread function PSF indicating the defocus blur.
  • f 2 (x, y) is expressed by the following equation (11).
  • circ (X) is a circular function having a value of 1 when the absolute value of X is 1 ⁇ 2 or less and having a value of 0 otherwise.
  • f 2 (x, y) is expressed by the following Expression 12.
  • is a standard deviation of the Gaussian distribution, and can be set to a value that is about the extent of blurring of the point image (radius b / 2), for example.
  • the blurred PSF due to defocusing that is, f 2 (x, y) can be obtained by measurement from the image on the imaging surface shown in FIG.
  • the point spread function PSF can be approximated by a pillbox function better as the aberration of the imaging lens is smaller.
  • the focal length of the lens is variable.
  • the point spread function PSF indicating the out-of-focus blur that is, f 2 (x, y) can be adjusted.
  • f 2 (x, y) that defines blurring due to defocusing at the time of shooting by the imaging apparatus is “known” in a preferred embodiment of the present invention.
  • the Fourier transform of the pillbox function is a zeroth-order first-type Bessel function J 0
  • the Fourier transform of the Gaussian function is a Gaussian function.
  • the Bessel function is zero at a specific frequency, but the Gaussian function is not zero. Therefore, in the low frequency region, F 1 (u, v) and F 2 (u, v) are not zero at the same frequency, and F 1 (u, v) + F 2 (u, v) is not zero. Has a value.
  • the denominator of Equation 9 can be prevented from becoming zero at least in the low frequency region. As a result, ringing noise in the “flat portion” of the image can be reduced, thereby realizing high-quality image restoration in which ringing is not noticeable.
  • FIG. 6 is a block diagram illustrating a schematic configuration of the imaging apparatus according to the present embodiment.
  • the imaging apparatus of the present embodiment is a digital electronic camera, but is not limited to this.
  • the imaging apparatus according to the present embodiment includes an imaging unit 100, a signal processing unit 200 that performs various signal processing, an imaging display unit 300 that displays an image acquired by imaging, and image data.
  • a recording unit 400 for recording and a system control unit 500 for controlling each unit are provided.
  • the main differences between the imaging device of the present embodiment and the known imaging device are the configuration of the imaging unit 100 and the operation of the signal processing unit 200. Therefore, in the following description, the imaging unit 100 and the signal processing unit 200 will be mainly described in detail.
  • the imaging unit 100 includes an imaging element (image sensor) 10 including a plurality of photosensitive cells (photodiodes) arranged on the imaging surface 10a, a shutter 15 having a diaphragm function, and imaging of the imaging element 10.
  • a photographing lens 20 is provided to form an image on the surface 10a.
  • a typical example of the image sensor 10 is a CCD or CMOS sensor.
  • An array of microlenses 14 is provided at a position facing the imaging surface 10 a of the imaging element 10.
  • the taking lens 20 has a known configuration, and may actually be a lens unit including a plurality of lenses.
  • the shutter 15 and the photographing lens 20 are driven by a mechanism (not shown), and operations necessary for optical zooming, automatic exposure (AE: Auto Exposure), and autofocus (AF: Auto Focus) are executed.
  • AE Auto Exposure
  • AF Auto Focus
  • the imaging unit 100 includes an imaging element driving unit 30 and a microlens driving unit 40 that drive the imaging element 10.
  • the image sensor driving unit 30 can be configured by a semiconductor integrated circuit such as a CCD driver, for example.
  • the image sensor drive unit 30 drives the image sensor 10 to read an analog signal (photoelectric conversion signal) from the image sensor 10 and convert it into a digital signal.
  • the microlens driving unit 40 adjusts the focal blur of the image formed on the imaging surface 10a by driving the microlens 14a.
  • the signal processing unit 200 in the present embodiment includes an image processing unit (image processor) 220, a memory 240, and an interface (IF) unit 260.
  • the signal processing unit 200 is connected to a display unit 300 such as a liquid crystal display panel and a recording medium 400 such as a memory card.
  • the image processing unit 220 performs various signal processing such as color correction, resolution change, data compression, and the like, and also executes degraded image restoration processing according to the present invention.
  • the image processing unit 220 is preferably realized by a combination of hardware such as a known digital signal processor (DSP) and software for executing image processing.
  • the memory 240 is configured by a DRAM or the like.
  • the memory 240 records the image data obtained from the imaging unit 100 and temporarily records the image data subjected to various image processing by the image processing unit 220 and the compressed image data.
  • the image data is converted into an analog signal and then displayed on the display unit 300 or recorded on the recording medium 400 through the interface unit 260 as a digital signal.
  • the image data may be transmitted to another device (not shown) wirelessly or via a communication device (not shown).
  • a system control unit 500 including a central processing unit (CPU) (not shown) and a flash memory.
  • CPU central processing unit
  • the imaging apparatus of the present embodiment may include known components such as an optical finder, a power source (battery), and a flashlight, but a description thereof is omitted because it is not particularly necessary for understanding the present invention.
  • FIG. 7 schematically shows a schematic configuration of the imaging element 10 and the photographing lens 20 in the imaging unit 100.
  • the imaging element 10 of FIG. 7 has an imaging surface 10a, and a plurality of photosensitive cells are arranged on the imaging surface 10a.
  • FIG. 8 is a schematic top view of the imaging surface 10a.
  • a plurality of photosensitive cells 1 are arranged in a matrix.
  • the arrangement of the photosensitive cells 1 is not limited to the illustrated example, and the planar shape of each photosensitive cell is not limited to a square.
  • a primary color filter or a complementary color filter is disposed on each photosensitive cell 1.
  • a configuration may be adopted in which three image sensors are provided and light of each color is incident on different image sensors after separating the light into, for example, three colors of RGB.
  • FIG. 9 schematically shows a partial cross-sectional configuration of the image sensor 100.
  • a cross section of six photosensitive cells is shown.
  • the imaging device 100 includes an array of photoelectric conversion regions 12 formed on the surface of the semiconductor chip 11, an insulating layer 13 that covers the surface of the semiconductor chip, and a micro that faces the individual photoelectric conversion regions 12.
  • An array of lenses 14 and an electrode 15 for driving the microlenses 14 are provided.
  • one microlens 14 is assigned to nine (3 rows and 3 columns) photosensitive cells. The number of photosensitive cells covered by each microlens 14 is not limited to the above example.
  • the microlens 14 is a “liquid lens” provided with an oil portion 14a and an aqueous solution portion 14b having the same specific gravity provided in the cell.
  • the microlens 14 has a structure in which the curvature of the interface (liquid-liquid interface) between the oil portion 14 a and the aqueous solution portion 14 b changes according to the potential of the electrode 15. Specifically, the aqueous solution portion 14b is attracted to the electrode 15 by the electrostatic force generated according to the voltage of the electrode 15, and the oil portion 14a is bent.
  • FIG. 9A shows a state in which the curvature of the interface is reduced by application of a voltage and has a finite focal length.
  • FIG. 9B shows a state where the curvature of the interface is very large (substantially infinite) and the lens effect is not exhibited.
  • the potential of the electrode 15 is controlled by the microlens driving unit 40 shown in FIG.
  • Such a micro lens 14 is not limited to the above liquid lens as long as the focal length is variable.
  • a “liquid crystal lens” may be used. Since the liquid crystal is a liquid having birefringence and dielectric anisotropy, the refractive index in a predetermined direction can be adjusted according to the applied voltage.
  • the liquid crystal lens is a lens whose refractive index changes according to an applied voltage, thereby changing the focal length. Also with such a liquid crystal lens, it is possible to realize the microlens 14 with a variable focal length.
  • An in-focus image is easily formed by a normal autofocus technique.
  • the blur point spread function PSF of the image thus obtained is the sum of f 1 (x, y) and f 2 (x, y) as described above.
  • the defocused blur PSF that is, f 2 (x, y) is a function of the voltage applied to the microlens 14.
  • FIG. 10B is a graph showing the voltage dependence of the focal blur (diameter b). As shown in FIG. 10B, the degree of focus blur increases as the voltage increases. This is because the degree of defocus by the microlens 14 increases as the voltage increases.
  • the spread of the point image (diameter b) on the imaging surface 10a corresponds to the diameter of the cylinder. For this reason, if the spread of the point image is measured, a PSF (pill box function) indicating blur of defocus can be determined.
  • the spread of the point image can be expressed by the number of pixels on the imaging surface 10 a and can be easily detected by the imaging device 100.
  • the in-plane luminance of the point image may show a Gaussian distribution due to aberrations or the like.
  • PSF (f 2 (x, y)) defining the blur of defocus and the voltage applied to the microlens 14 is determined in advance by measurement, and stored in a memory table or the like built in the imaging apparatus. Stored.
  • This PSF (f 2 (x, y)) also depends on photographing parameters such as the focal length of the photographing lens 20 and the aperture diameter of the stop. That is, when the distance to the subject changes, the focal length of the taking lens 20 changes, and when the aperture diameter changes, the depth of field changes. Therefore, it is preferable to measure a large number of PSFs (f 2 (x, y)) in association with possible combinations of photographing parameter values and store them in a memory. By doing so, it is possible to obtain an out-of-focus PSF (f 2 (x, y)) corresponding to the imaging parameter during actual imaging.
  • the signal processing unit 200 receives the signal acquired by the imaging unit 100.
  • the image thus obtained is a deteriorated image represented by i (x, y) on the left side of Expression 7.
  • the image processing unit 220 in the signal processing unit 200 performs processing for restoring s (x, y) from i (x, y).
  • the algorithm of the restoration process is not particularly limited, and any known image restoration process may be used.
  • FIG. 11 is a block diagram illustrating a configuration example of the image processing unit 220 illustrated in FIG. 6, and FIG. 12 is a flowchart illustrating an example of restoration processing.
  • the image processing unit 220 illustrated in FIG. 11 includes an initial PSF setting unit 222, an image restoration unit 224, a PSF setting unit 226, and a parameter update unit 228, and receives a deteriorated image and outputs a restoration result.
  • the initial PSF estimation unit 222 sets an initial PSF necessary for processing by the image restoration unit 224.
  • the initial PSF may be determined based on the locus (trajectory) of the camera detected by a sensor such as a gyro sensor, or may be manually input by the user. Note that the initial PSF is preferably close to the true PSF from the viewpoint of reducing the time required for image processing. For this reason, it is preferable to set the PSF obtained by adding the out-of-focus PSF to the PSF determined from the camera trajectory detected by the sensor as the initial PSF.
  • the image restoration unit 224 obtains a restored image from the degraded image based on the initial PSF.
  • the PSF estimation unit 226 estimates the PSF based on the deteriorated image and the restored image obtained by the image restoration unit 224.
  • the parameter update unit 228 updates the initial PSF (PSF used for the previous image restoration) with the PSF (estimated PSF) obtained by the PSF estimation unit 226.
  • the updated PSF is given to the image restoration unit 224, and the above processing is repeatedly executed.
  • the configuration shown in FIG. 11 is an example of functional blocks of the image processing unit 220, and the image processing unit 220 can be divided into other functional blocks.
  • the image processing unit is also preferably realized by, for example, incorporating image processing software into known hardware.
  • a degraded image is read out.
  • the image processing unit 220 acquires a deteriorated image serving as a base for the restoration process from the memory 240 in FIG.
  • the deteriorated image is an image acquired by the imaging unit 100 in FIG. 6, and in this embodiment, blur due to intentional defocusing is given. In general, blur (blurring) due to camera shake is also given to a deteriorated image due to shake (motion) of the imaging unit 100 by the user.
  • step S2 the initial PSF setting unit 222 sets an initial PSF.
  • step S3 the image restoration unit 224 performs image restoration processing using the deteriorated image acquired in step S1 and the initial PSF set in step S2. This image restoration processing can be executed by a known restoration algorithm in the image restoration unit 224 of FIG.
  • the image restoration unit 224 once records the obtained restored image in the memory 240.
  • step S4 the PSF estimation unit 226 estimates the PSF from the restored image, and the parameter update unit 228 updates the previous PSF with the estimated PSF.
  • step S5 it is determined whether or not the PSF before and after the update and the change in the restored image before and after the update are smaller than a predetermined threshold. If the change is small, it is determined that the process has converged.
  • step S6 the restoration result is stored in the memory 240.
  • Non-Patent Document 1 the case of the signal processing method disclosed in Non-Patent Document 1 will be described.
  • the signal processing method of Non-Patent Document 1 it is necessary to first provide an initial PSF.
  • This initial PSF is given manually or by a camera shake detection device (external device such as a gyro sensor).
  • a first image restoration is performed based on the initial PSF.
  • the PSF at this stage does not necessarily match the true PSF (correct answer), but the restored result is closer to the original image than the degraded image.
  • the PSF is estimated from the first restored image that is the result of the first image restoration. Since the first restored image is closer to the original image than the degraded image, the estimated PSF approaches the correct answer.
  • the PSF estimated here that is, the initial PSF is updated with the next PSF
  • the second image restoration is performed. By repeating this process until there is no change in PSF and no change in image restoration result, PSF estimation and image restoration are performed simultaneously.
  • an initial PSF is given by the initial PSF setting unit 222.
  • the initial PSF is manually given.
  • the initial value of the PSF is set based on the motion information acquired by the gyro sensor.
  • the image restoration unit 224 restores an image based on the given PSF (initial value at first, update value from the next) and the degraded image.
  • I is a deteriorated image
  • L is an image L without blur and blur
  • f is a point spread function PSF.
  • the variables wk, ⁇ 1, and ⁇ 2 are “weights” set manually.
  • is a set of operators that define what differentiation is applied to the image. Specifically, there are a total of 6 derivatives: 0 differentiation, 1 differentiation (x and y directions respectively), 2 differentiation (twice in the x direction, twice in the y direction, and once in the x and y directions). Has derivative parameters.
  • d * is a differential operator.
  • ⁇ d 0 , d x , dy , d xx , d xy , d yy ⁇ .
  • M is a two-dimensional mask, and has a “1” element in a pixel included in a flat area in an image, that is, a local smooth area ( ⁇ ), and a “0” element in other pixels. is doing.
  • p is a p-norm operator.
  • ⁇ (x) is a function that approximately represents the relationship between the luminance gradient x in a naturally observed image and its distribution density (logarithmic display).
  • the first term on the right side of Equation 13 is a term indicating the difference (distance) between the image obtained by convolution of the restored image L and the point spread function f and the degraded image I.
  • the second term on the right side of Equation 13 is a term indicating the property of the luminance gradient in the image (called “heavy tail”).
  • ⁇ (d x L) and ⁇ (d y L) are histograms of the luminance gradient of the restored image, a sharp peak of the appearance probability appears near the gradient, and the appearance probability decreases as the gradient increases. It has a statistical property.
  • the distance from the distribution showing the above statistical properties is calculated for each of the gradient in the x direction and the gradient in the y direction. This statistical property is also used in the methods disclosed in Non-Patent Documents 3 to 5.
  • the third term on the right side of Equation 13 is a term for evaluating the flatness using the mask M, the differentially degraded image, and the differentially restored image.
  • the gradient value of the luminance is close between the degraded image and the restored image. Therefore, an error in gradient values in the x and y directions is used as an evaluation value.
  • the restored image L can be obtained by obtaining L that minimizes the right side of Equation 13 (optimization of L).
  • a specific calculation method for optimizing L is disclosed in Non-Patent Document 1.
  • the PSF estimation is a problem of estimating the point spread function f using the restored image L and the degraded image I obtained by the image restoration unit 224.
  • the point spread function f can be obtained (optimization of f).
  • the first term on the right side of Equation 14 corresponds to the first term on the right side of Equation 13, and gives an evaluation criterion indicating whether or not the convolution of the restored image L and the point spread function f is close to the degraded image I.
  • the second term on the right side of Equation 14 is the 1 norm of the point spread function f.
  • the second term is a term based on a concept called sparse coding. This optimization term is used because most elements in the line example of the point spread function f are 0 (no movement). In the present embodiment, optimization by “interor point method” is performed in the same manner as in Non-Patent Document 1, and overall optimization can be realized.
  • the image restoration procedure is not limited to the above example.
  • the Richardson Lucy (LR) method or the Wiener filter method may be used.
  • An important point in the image restoration in the present embodiment is to make the point spread function PSF of blurring due to intentional defocusing known. Since the motion information can be acquired by the gyro sensor, if the point spread function PSF is known even if the focus is deviated, a conventionally known simple method such as the LR method is applied to restore the image. Can be realized. For this reason, it becomes possible to reduce the burden concerning signal processing.
  • the image restoration is performed by blind deconvolution using PSF that defines blur due to camera shake as an object of estimation, but the present invention is not limited to this.
  • the PSF obtained based on the detected hand shake trajectory is not only used as a mere initial value for image restoration processing, but also by hand touch. It may be used as a final PSF that defines blur.
  • the PSF that defines blur due to defocusing is also known, and since all the point spread functions of blur are known, only the restored image should be estimated.
  • the blur due to intentional defocusing is added to the deteriorated image regardless of the type of the restoration method, even when the image deteriorated due to the blur (blur) due to camera shake is restored, The effect that ringing is not conspicuous in the flat part of the image is obtained.
  • the structure which makes a focal distance variable is not limited to the structure in this embodiment.
  • an intentional offset may be given to the autofocus control loop during exposure in order to shift the focal position of the photographic lens.
  • a liquid crystal cell in which a uniform liquid crystal layer is sealed between a pair of substrates may be inserted into the optical path, and switching may be performed between a state where a voltage is applied to the liquid crystal layer and a state where no voltage is applied. Even if such a configuration is adopted, it is possible to shift the focal position of the photographing lens during exposure and to add blur due to defocusing.
  • the imaging device of the present invention can be used as an electronic still camera or the like because it can restore an image with little ringing at a flat portion.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Abstract

 本発明の撮像装置は、撮像面上に配列された複数の光感知セルを備える撮像素子10と、第1の状態において撮像面10a上に焦点が合っている第1の像を形成し、第2の状態において撮像面10a上に焦点が合っていない第2の像を形成する光学系(14,20)と、撮像素子10から得られる信号を処理する画像処理部220とを備える。画像処理部220は、第2の状態において撮像素子10によって取得された画像から、手振れによるぼやけを減少させた復元画像を生成する手振れぼやけ除去部を備えている。

Description

撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法
 この発明は、リンギング除去のための画像処理装置および画像処理方法に関する。
 デジタルカメラで画像を撮像すると、CCD(Charge-Coupled Device)、あるいはCMOSの読み出し回路の特性や伝送路の特性により画像にノイズが加わることがある。また、撮像時にフォーカスが合っていないこと(焦点外れ:out-of-focus)による画像のぼやけ(ブラー:blur)や、手振れ(camera shake)などによる画像のぼやけが発生する。このように撮像画像には、撮像画像固有の特性によるノイズに、撮影時の人為的な操作を起因とするぼやけが加わることにより、画像が劣化することになる。これらの「ぼやけ」のうち、撮影(露光)中におけるカメラの運動による画像のぼやけを「ブレ(motion blur)」と称し、焦点外れによるぼやけ(out-of-focus blur)と区別することにする。
 近年、特に高感度撮影の需要が増大していることにより、ぼやけによって劣化した画像(以下、「劣化画像」という)を元の画像(以下、「理想画像」という)にできるだけ近い画像に復元することが必要となる。高感度撮影に要求される、明るくノイズやぼやけのない画像を実現するために、大別して感度をあげるという考え方と、露光時間を長くするという考え方がある。
 しかしながら、感度を高めるとノイズも増幅してしまう、そのため、信号がノイズに埋もれてしまい、ノイズが大半を占める画像になることが多い。一方で露光時間を長くすることで、その場で生じる光を多く蓄積し、ノイズの少ない画像が得られる。この場合、信号がノイズで埋もれることはないが、手振れによって画像にブレが生じるという問題がある。
 そこで、従来、2通りの考え方で露光時間を長くする場合の対処法がとられていた。一つは、レンズシフトやセンサシフトといった光学式手振れ補正である。他方は、得られた画像からブレの方向/大きさを求め、そこから信号処理によって画像を復元するという方法(信号処理による復元方法)である。信号処理による復元方法は、例えば特許文献1、特許文献2、非特許文献1~5などに開示されている。
特開2006-129236号公報 特表2009-522825号公報
Qi Shan, Jiaya Jia, and Aseem Agarwala,"High-quality Motion Deblurring from a Single Image",SIGGRAPH 2008 米司・田中・奥富共著,「直線的手ぶれ画像復元のためのpsfパラメータ推定手法」,情報処理学会研究報告,第2005巻,第38号,p.47-52,2005年 J. Bioucas-Dias, Bayesian wavelet-based image deconvolution: a gem algorithm exploiting a class of heavy-tailed priors", IEEE Trans. Image Proc., vol. 4, pp. 937-951, April 2006. Levin, "Blind Motion Deblurring Using Image Statistics", Advances in Neural Information Processing Systems (NIPS), Dec 2006 Rob Fergus et al., "Removing camera shake from a single image", Barun Singh   Aaron Hertzmann",SIGGRAPH 2006
 光学式手振れ補正は、補正範囲に限界があるため、従来よりも暗い環境で十分な光量を集める場合、稼動範囲が大きくなければならない。しかし、大きくなると移動の際の時間遅れが生じ、また、大型化にはサイズの物理的な限界がある。
 また、信号処理によって、劣化画像から理想画像を復元する方法では、復元された画像にリンギングなどのノイズが発生してしまうという問題がある。「リンギング(ringing)」とは、画像において輝度などが一様な部分(平坦部)が平坦に見えないノイズである。
 図1(a)は、輝度がステップ状に変化する画像(エッジ付近の理想画像)を示す平面図であり、図1(b)は、その輝度分布を模式的に示すグラフである。図2(a)は、図1(a)の画像をカメラで撮影することによって得られた劣化画像(ぼやけ画像:blurred image)を示す平面図であり、図2(b)は、その輝度分布を模式的に示すグラフである。これは、カメラ撮影に際して、水平横方向に手振れが生じたものとする。図2(a)の劣化画像は、手振れによるぼやけ(ブレ)が発生したため、エッジのシャープネスが失われている。図3(a)は、図2(a)の劣化画像を信号処理によって復元した画像を示す平面図であり、図3(b)は、復元画像の輝度分布を模式的に示すグラフである。図3(a)の復元画像には、輝度が周期的に変化する部分が存在している。このような輝度変化が「リンギング」と称されるノイズである。
 特許文献1に示される方法では、エッジ近辺で発生するリンギングをおさえるように、エッジ近辺では復元された結果を利用せず、ぼやけ画像のデータを利用している。この方法では、画面内のエッジの強度に基づいて、ぼやけ画像のデータを利用する重みを決めている。しかしながら、手振れの量が決まらなければ、エッジの強度を決めることができない。エッジの強度が決まらなければ、ぼやけ画像のデータを利用する重みを決めることができない。そのため、リンギングを除去できないという問題があった。
 本発明は、上記課題を解決するためになされたものであり、人間の知覚特性を考慮して、画像の平坦部におけるリンギングを低減させる画像処理を行う撮像装置を提供することにある。
 本発明の撮像装置は、撮像面上に配列された複数の光感知セルを備える撮像素子と、第1の状態において前記撮像面上に焦点が合っている第1の像を形成し、第2の状態において前記撮像面上に焦点が合っていない第2の像を形成する光学系と、前記撮像素子から得られる信号を処理する画像処理部と、を備え、前記画像処理部は、前記第2の状態において前記撮像素子によって取得された画像から、手振れによるぼやけを減少させた復元画像を生成する。
 ある好ましい実施形態において、前記第2の状態における焦点外れぼやけを規定する点広がり関数を記録するメモリを備え、前記画像処理部は、撮像時における焦点外れぼやけを規定する点広がり関数を前記メモリから読み出し、復元画像の生成に用いる。
 ある好ましい実施形態において、前記光学系は、結像レンズと、前記撮像素子上に設けられたマイクロレンズのアレイとを含み、前記マイクロレンズは、焦点距離が変化する非固体レンズである。
 ある好ましい実施形態において、前記光学系は、焦点距離が変化する非固体レンズを含む。
 ある好ましい実施形態において、表示部を更に備え、前記第1の状態において前記撮像素子によって取得された画像を前記表示部に表示する。
 本発明のプログラムは、撮像面上に配列された複数の光感知セルを備える撮像素子と、前記撮像面上に像を形成する光学系と、前記撮像素子から得られる信号を処理する画像処理部とを備える撮像装置の動作を制御するプログラムであって、前記光学系により、前記撮像面上に焦点が合っている第1の像を形成させるステップと、前記光学系により、前記撮像面上に焦点が合っていない第2の像を形成させるステップと、前記画像処理部により、前記第2の状態において前記撮像素子によって取得された画像から、手振れによるぼやけを減少させた復元画像を生成するステップとを実行させる。
 本発明の撮像素子は、撮像面上に配列された複数の光感知セルと、前記撮像素子上に設けられたマイクロレンズのアレイとを備える撮像素子であって、前記マイクロレンズは、焦点距離が変化する非固体レンズである。
 この発明によれば、特に画像の平坦部分におけるリンギングを低減させることが可能となる。
(a)は、輝度がステップ状に変化する画像(エッジ付近の理想画像)を示す平面図であり、(b)は、その輝度分布を模式的に示すグラフである。 (a)は、図1(a)の画像をカメラで撮影することによって得られた劣化画像(ぼやけ画像:blurred image)を示す平面図であり、(b)は、その輝度分布を模式的に示すグラフである。 (a)は、図2(a)の劣化画像を信号処理によって復元した画像を示す平面図であり、(b)は、復元画像の輝度分布を模式的に示すグラフである。 (a)は、特定の画素がゼロで無い輝度を有し、他の画素がゼロの輝度を有する画像(点像)を模式的に示す図であり、(b)は、焦点外れによるぼやけの点広がり関数PSFを示す図であり、(c)は、(a)の画像に対して、焦点外れによるぼやけの点広がり関数PSFの畳み込みを行うことにより得られる画像を示す図である。 (a)は、結像レンズによる焦点が合っている場合の光線図であり、(b)は、焦点が外れている場合の光線図である。 本実施形態における撮像装置の概略構成を示すブロック図である。 撮像部100における撮像素子10および撮影レンズ20の概略構成を模式的に示す図である。 撮像素子10の撮像面10aの模式的な上面図である。 (a)および(b)は、撮像素子100の一部の断面構成を模式的に示す図である。 (a)は、背景が黒く、小さな輝点を中心に有するパターンを示す図であり、(b)は、焦点ぼやけ(直径b)とマイクロレンズに印加する電圧との関係を示すグラフである。 図6に示す画像処理部220の構成例を示すブロックである。 本発明の実施形態で実行する復元処理の例を示すフローチャートである。
 本発明の実施形態を説明する前に、本発明の基本的原理を説明する。
 本明細書では、撮像面に形成される画像の輝度分布をi(x,y)で表すことにする。座標(x,y)は、撮像面の画素(光感知セル)の位置を示す二次元座標である。画像が例えば行列状に配列されたM×N個の画素からなる場合において、xおよびyが、それぞれ、0≦x≦M-1、0≦y≦N-1の関係を満足する整数であるとすると、画像を構成する個々の画素の位置を座標(x,y)によって特定することができる。ここでは、座標の原点(0、0)を画像の左上隅に置き、x軸は垂直方向、y軸は水平方向に延びるものとする。ただし、座標の取り方は、任意である。
 ぼやけ(blur)のない画像(理想画像または元画像)の輝度分布をs(x,y)とし、ぼやけを規定するPSF、すなわち「点広がり関数(Point Spread Function)」をf(x,y)とすると、以下の式1が成立する。
Figure JPOXMLDOC01-appb-M000001
ここで、記号「*」は、畳み込み演算(コンボリューション)を示している。式1は、一般に、以下の式2で表される。
Figure JPOXMLDOC01-appb-M000002
 画像が、M×N個の画素からなる場合、上記の式2は、以下の式3で表すことができる。
Figure JPOXMLDOC01-appb-M000003
 ぼやけの点広がり関数PSFである関数f(x,y)が既知であると、カメラ撮影によって得られた画像i(x,y)に対する逆畳み込み演算(デコンボリューション)により、ぼやけの無い画像s(x,y)を復元することができる。また、f(x,y)が既知でない場合は、画像からf(x,y)を推定した上でs(x,y)を求める必要がある。
 一般に、2つの関数の畳み込みのフーリエ変換は、各関数のフーリエ変換の積によって表される。このため、i(x,y)、s(x,y)、f(x,y)のフーリエ変換を、それぞれ、I(u,v)、S(u,v)、F(u,v)で表すと、式1から、以下の式4が導かれる。なお、(u,v)は、周波数空間における座標であり、それぞれ、実画像におけるx方向およびy方向の空間周波数に対応している。
Figure JPOXMLDOC01-appb-M000004
ここで、記号「・」は、周波数空間における関数の「積」を示している。式(4)を変形すると、以下の式5が得られる。
Figure JPOXMLDOC01-appb-M000005
 この式5は、カメラ撮影によって得られた画像i(x,y)のフーリエ変換I(u,v)を、点広がり関数PSFであるf(x,y)のフーリエ変換F(u,v)で除算して得られた関数が、理想画像s(x,y)のフーリエ変換S(u,v)に相当することを示している。すなわち、I(u,v)およびf(x,y)が求まれば、S(u,v)を決定できる。I(u,v)は、カメラ撮影によって得られた画像(劣化画像)をフーリエ変換したものであるため、手振れの点広がり関数PSFを表すf(x,y)が求まれば、信号処理によって劣化画像から画像を復元する(真の画像に近づける)ことが可能になる。
 手振れの点広がり関数PSFを表すf(x,y)は、撮影(露光)中における手振れの軌道に依存する。言い換えると、手振れの軌道はカメラ撮影毎に異なるため、f(x,y)もカメラ撮影毎に変化する。f(x,y)は、カメラ撮影によって得られた1枚または複数枚の画像から推定することも可能であるが、撮影(露光)中におけるカメラの動き(手振れ軌跡)をセンサによって検出して推定することも可能である。しかし、f(x,y)は、推定または測定によって得られるものに過ぎず、何らかの誤差を含む。このため、理想画像s(x,y)を完全に復元することは困難である。
 非特許文献2は、短い露光時間中における手振れの軌道を「等速直線運動」と仮定することにより、その点広がり関数PSFのフーリエ変換をsinc関数で近似することを開示している。手振れの幅をW、手振れの方向をx軸方向とすると、式5の分母であるF(u,v)は、以下の式6で示される。
Figure JPOXMLDOC01-appb-M000006
 式6の右辺は、sinc(ジンク)関数であり、その振幅は一定周期毎にゼロ(0)となる。この周期は、手振れの幅Wの逆数(1/W)である。なお、手振れの方向がx軸に対してθの角度を向く場合、F(u、v)は、式6の関数を角度θだけ回転させたものとなる。現実の手振れは、複雑な軌道を描くため、「等速直線運動」の仮定が充分に成立しない場合がある。
 本発明者は、式5の分母であるF(u,v)が低周波数領域で周期的にゼロとなることが、画像の平坦部におけるリンギングの主たる発生原因であることに着目し、本発明を完成した。ここで、「低周波数領域」とは、周波数空間において原点に近い領域であり、画像において輝度分布の空間周波数が相対的に低い領域である。このような低周波数領域は、画像の平坦部(輝度変化が少ない部分)に相当する。
 本発明では、低周波数領域でF(u,v)がゼロにならないような撮像を実現することにより、手振れなどを原因とする劣化画像を復元するに際して画像の平坦部(低空間周波数領域)におけるリンギングを低減することが可能になる。人の目には、画像の平坦部におけるリンギングが目立つため、平坦部でのリンギングを低減すれば、画像の質は格段に向上する。
 本発明の好ましい実施形態では、カメラ撮影に際して、焦点外れによるぼやけを意図的に画像に付与する。本明細書では、手振れによるぼやけの点広がり関数PSFをf1(x,y)で表し、焦点外れによるぼやけの点広がり関数PSFをf2(x,y)で表す。この場合、式1、式4、式5は、それぞれ、以下の式7、式8、式9に変形される。
Figure JPOXMLDOC01-appb-M000007
Figure JPOXMLDOC01-appb-M000008
Figure JPOXMLDOC01-appb-M000009
ここで、F1(u,v)およびF2(u,v)は、それぞれ、f1(x,y)およびf2(x,y)のフーリエ変換である。
 本発明の好ましい実施形態において、画像に意図的に付与した焦点外れによるぼやけの点広がり関数PSF、すなわちf2(x,y)は、既知である。一般に、焦点外れによるぼやけの点広がり関数PSFは、ピルボックス(pillbox)関数やガウス関数(Gaussian)によって表現され得る。このような関数のフーリエ変換は、焦点外れの程度を適切に調整する限り、周波数ゼロの近傍、すなわち低周波数領域ではゼロにはならない。
 本発明の実施形態では、低周波数領域でゼロにならない関数F2(u,v)をF1(u,v)に加算することにより、少なくとも低周波数領域で式9の分母がゼロにならないようにする。その結果、画像の「平坦部」におけるリンギングノイズを低減し、それによって、リンギングが目立たない高質な画像の復元を実現する。以下、焦点外れを生じさせることにより、画像の「平坦部」においてリンギングを低減できる理由を説明する。
 図4(a)は、特定の画素がゼロで無い輝度を有し、他の画素がゼロの輝度を有する画像(点像)を模式的に示す図である。図4(b)は、焦点外れによるぼやけの点広がり関数PSFを示す図であり、図4(b)の左側のグラフはピルボックス関数の一例を示し、右側のグラフはガウス関数の一例を示している。図4(c)は、図4(a)の画像に対して、焦点外れによるぼやけの点広がり関数PSFの畳み込みを行うことにより得られる画像を示す図である。図4(c)の画像では、焦点外れによるぼやけが生じている。このぼやけは、手振れによるぼやけとは異なり、中心から対称に広がる輝度の分布を有している。ぼやけの程度は、厳密には点広がり関数PSFによって規定されるが、概略的には、点像の広がりの大きさ(直径または半径)によって評価され得る。
 次に、焦点外れのぼやけについて詳細を説明する。
 図5(a)は、結像レンズによる焦点が合っている場合の光線図であり、図5(b)は、焦点が外れている場合の光線図である。図5(a)の例では、レンズから距離Aだけ離れた点Sが、レンズから距離Bだけ離れた撮像面上に点sの像を形成している。
 図5(a)では、距離Bはレンズの焦点距離Cに一致している。一方、図5(b)では、距離Bはレンズの焦点距離Cに一致していないため、撮像面上における像はぼやけており、その輝度分布は直径bの広がりを有している。
 ぼやけの広がりの大きさ(直径b)は、以下の式10で近似的に示すことができる。
Figure JPOXMLDOC01-appb-M000010
ここで、γはレンズの開口径である。
 式10からわかるように、bの大きさは、撮像時におけるレンズと被写体との距離A、レンズと撮像面との距離B、焦点距離C、レンズ開口径γに依存して変化し得る。
 撮像面上における点像の輝度分布は、焦点外れのぼやけを示す点広がり関数PSFに応じて、例えばピルボックス関数またはガウス関数で近似的に表現することができる。
 この点広がり関数PSFをピルボックス関数で近似した場合、PSFすなわちf2(x,y)は、以下の式11で表される。
Figure JPOXMLDOC01-appb-M000011
ここで、circ(X)は、Xの絶対値が1/2以下のときに1の値を持ち、それ以外は0の値を持つ円形関数である。一方、焦点外れによるぼやけの点広がり関数PSFをガウス関数で近似した場合、f2(x,y)は、以下の式12で表される。
Figure JPOXMLDOC01-appb-M000012
σは、ガウス分布の標準偏差であり、例えば、点像のぼやけの広がり(半径b/2)程度の値と置くことができる。このように、焦点外れによるぼやけのPSF、すなわちf2(x,y)は、図5(b)に示す撮像面上の像から測定によって求めることができる。なお、点広がり関数PSFは、結像レンズの収差が小さいほど、ピルボックス関数で良く近似することができる。
 本発明の実施形態では、後述するように、レンズの焦点距離を可変としている。その結果、1つの撮像装置において、焦点外れのぼやけを示す点広がり関数PSF、すなわちf2(x,y)を調整可能にしている。そして、撮像装置による撮影に際して、そのときの焦点外れによるぼやけを規定するf2(x,y)は、本発明の好ましい実施形態では「既知」である。
 ピルボックス関数のフーリエ変換は0次の第1種ベッセル関数J0であり、ガウス関数のフーリエ変換はガウス関数である。このような関数F2(u,v)は、いずれも、(u,v)=(0,0)で最大となり、低周波数領域で相対的に大きな値を有している。また、ベッセル関数は特定の周波数でゼロとなるが、ガウス関数はゼロにならない。このため、低周波数領域において、F1(u,v)およびF2(u,v)が同一周波数でゼロにならず、F1(u,v)+F2(u,v)はゼロ以外の値を有している。
 以上の説明から明らかなように、本発明によれば、少なくとも低周波数領域で式9の分母がゼロにならないようできる。その結果、画像の「平坦部」におけるリンギングノイズを低減し、それによって、リンギングが目立たない高質な画像の復元を実現できる。
 以下、本発明による撮像装置の第1の実施形態を説明する。
 図6は、本実施形態における撮像装置の概略構成を示すブロック図である。
 本実施形態の撮像装置は、デジタル式の電子カメラであるが、これに限定されない。本実施形態の撮像装置は、図6に例示するように、撮像部100と、各種信号処理を行う信号処理部200と、撮像によって取得した画像を表示する撮像表示部300と、画像のデータを記録する記録部400と、各部を制御するシステム制御部500とを備える。本実施形態の撮像装置が公知の撮像装置と異なる主な点は、撮像部100の構成および信号処理部200の動作にある。したがって、以下の説明では、主として撮像部100および信号処理部200を詳しく説明する。
 本実施形態における撮像部100は、撮像面10a上に配列された複数の光感知セル(フォトダイオード)を備える撮像素子(イメージセンサ)10と、絞り機能を有するシャッタ15と、撮像素子10の撮像面10a上に像を形成するため撮影レンズ20とを有している。撮像素子10の典型例は、CCDまたはCMOSセンサである。撮像素子10の撮像面10aに対向する位置には、マイクロレンズ14のアレイが設けられている。撮影レンズ20は、公知の構成を有しており、現実には複数のレンズから構成されたレンズユニットであり得る。シャッタ15および撮影レンズ20は、不図示の機構によって駆動され、光学ズーミング、自動露光(AE:Auto Exposure),オートフォーカス(AF:Auto Focus)に必要な動作が実行される。
 更に、撮像部100は、撮像素子10を駆動する撮像素子駆動部30およびマイクロレンズ駆動部40を備えている。撮像素子駆動部30は、例えばCCDドライバなどの半導体集積回路から構成され得る。撮像素子駆動部30は、撮像素子10を駆動することにより、撮像素子10からアナログ信号(光電変換信号)を読み出してデジタル信号に変換する。マイクロレンズ駆動部40は、マイクロレンズ14aを駆動することにより、撮像面10a上で形成される像の焦点ぼやけを調整する。
 本実施形態における信号処理部200は、画像処理部(イメージプロセッサ)220、メモリ240、インターフェース(IF)部260を備えている。信号処理部200は、液晶表示パネルなどの表示部300、および、メモリカードなどの記録媒体400に接続されている。
 画像処理部220は、色調補正、解像度変更、データ圧縮などの各種信号処理を行うほか、本発明による劣化画像の復元処理を実行する。画像処理部220は、公知のデジタル信号処理プロセッサ(DSP)などハードウェアと、画像処理を実行するためのソフトウェアとの組合せによって好適に実現される。メモリ240は、DRAMなどによって構成される。このメモリ240は、撮像部100から得られた画像データを記録するとともに、画像処理部220によって各種の画像処理を受けた画像データや、圧縮された画像データを一時的に記録する。画像データは、アナログ信号に変換された後、表示部300によって表示され、あるいは、デジタル信号のままインターフェース部260を介して記録媒体400に記録される。画像データは、不図示の通信装置を介して、無線または有線で他の装置(不図示)に送信されてもよい。
 上記の構成要素は、不図示の中央演算処理ユニット(CPU)およびフラッシュメモリを含むシステム制御部500によって制御される。なお、本実施形態の撮像装置は、光学ファインダ、電源(電池)、フラッシュライトなどの公知の構成要素を備え得るが、それらの説明は本発明の理解に特に必要でないため省略する。
 次に図7から図9を参照しながら、撮像部100の構成をより詳しく説明する。
 図7は、撮像部100における撮像素子10および撮影レンズ20の概略構成を模式的に示している。図7の撮像素子10は、撮像面10aを有しており、撮像面10a上には複数の光感知セルが配列されている。図8は、撮像面10aの模式的な上面図である。この例では、複数の光感知セル1が行列状に配列されている。光感知セル1の配列形態は、図示されている例に限られず、個々の光感知セルの平面形状も正方形に限定されない。なお、カラーの画像信号を生成するため、典型的には、原色カラーフィルタまたは補色カラーフィルタが個々の光感知セル1の上に配置されている。ただし、3つの撮像素子を備え、例えばRGBの3色に光を分離した後、それぞれの色の光を別々の撮像素子に入射させる構成を採用しても良い。
 図9は、撮像素子100の一部の断面構成を模式的に示している。図9では、6個の光感知セルの断面が示されている。図9からわかるように、撮像素子100は、半導体チップ11の表面に形成された光電変換領域12のアレイと、半導体チップの表面を覆う絶縁層13と、個々の光電変換領域12に対向するマイクロレンズ14のアレイと、マイクロレンズ14を駆動する電極15とを備えている。本実施形態の例では、9個(3行3列)の光感知セルに対して1つのマイクロレンズ14が割り当てられている。個々のマイクロレンズ14がカバーする光感知セルの数は、上記の例に限定されない。
 マイクロレンズ14は、セル内に設けられた比重の等しいオイル部分14aおよび水溶液部分14bを備える「液体レンズ」である。マイクロレンズ14は、オイル部分14aと水溶液部分14bの界面(液-液界面)の曲率が電極15の電位に応じて変化する構造を有している。具体的には、電極15の電圧に応じて発生した静電力により、水溶液部分14bが電極15に引き寄せられ、オイル部分14aを湾曲させる。図9(a)は、電圧印加によって界面の曲率が小さくなり、有限の焦点距離を持つ状態を示している。一方、図9(b)は、界面の曲率が非常に大きく(実質的に無限大となり)、レンズ効果を発揮していない状態を示している。電極15の電位は、図6に示すマイクロレンズ駆動部40によって制御される。
 このようなマイクロレンズ14は、焦点距離が可変であれば、上記の液体レンズに限定されない。例えば「液晶レンズ」を用いても良い。液晶は、複屈折性および誘電率異方性を有する液体であるため、印加電圧に応じて所定方向の屈折率を調整することが可能である。液晶レンズは、印加電圧に応じて屈折率が変化し、それによって焦点距離を変化させるレンズである。このような液晶レンズによっても、焦点距離可変のマイクロレンズ14を実現することが可能である。
 本実施形態の撮像素子100によれば、例えば図9(b)に示す状態で焦点の合った像を撮像面上に形成した後、マイクロレンズ14の働きにより、焦点を意図的に外した像に変化させることが可能になる。なお、焦点の合った像は、通常のオートフォーカス技術により、容易に形成される。
 意図的に焦点を外した状態で撮像を行うとき、露光中の手振れによって画像にブレ(motion blur)が発生したと仮定する。このようにして得られた画像のぼやけの点広がり関数PSFは、前述したように、f1(x,y)およびf2(x,y)を足し合わせたものである。
 マイクロレンズ14の形状は、マイクロレンズ14に印加される電圧に依存するため、焦点外れによるぼやけのPSF、すなわち、f2(x,y)は、マイクロレンズ14に印加される電圧の関数である。
 以下、f2(x,y)の求め方を説明する。
 まず、図10(a)に示すように背景が黒く、小さな輝点を中心に有するパターンを撮影する。このとき、マイクロレンズ14に電圧は印加せず、図6に示す通常の撮影レンズ20で焦点が合った状態にする。
 次に、撮像装置の撮影パラメータ(絞り、露光時間、焦点など)を固定した状態で、マイクロレンズ14に与える電圧のみを変化させる。これにより、像にぼやけが発生するため、撮像面上に結像した点が円状に広がる。こうして、マイクロレンズ14に印加する電圧と点像の広がり(直径b:焦点ぼやけ)との関係を求めることができる。図10(b)は、焦点ぼやけ(直径b)の電圧依存性を示すグラフである。図10(b)に示すように、電圧が上昇するにつれ、焦点ぼやけの程度は大きくなる。これは、電圧の上昇に伴って、マイクロレンズ14による焦点外れの程度が大きくなるためである。
 焦点外れによるぼやけのPSFを、円柱状に点が広がるピルボックス関数で近似する場合、撮像面10aにおける点像の広がり(直径b)が円柱の直径に相当する。このため、点像の広がりを測定すれば、焦点外れのぼやけを示すPSF(ピルボックス関数)を決定することができる。点像の広がりは、撮像面10aにおける画素数で表現することができ、撮像素子100によって容易に検出することができる。
 なお、レンズの形状によっては、収差などにより、点像の面内輝度がガウス分布を示す場合がある。そのような場合は、焦点外れによるぼやけのPSFをガウス関数で近似することが好ましい。撮像面上に広がった点像の輝度分布は、撮像素子100によって測定されるため、その輝度分布から、対応するガウス関数のσを決定することができる。
 このようにして焦点外れのぼやけを規定するPSF(f2(x,y))とマイクロレンズ14に印加する電圧との関係が、予め測定によって決定され、撮像装置が内蔵するメモリのテーブルなどに格納される。このPSF(f2(x,y))は、撮影レンズ20の焦点距離や絞りの開口径などの撮影パラメータにも依存する。すなわち、被写体までの距離が変わると撮影レンズ20の焦点距離が変化し、また、開口径が変わると被写界深度が変化する。したがって、撮影パラメータの値の可能な組み言わせに関連付けて、多数のPSF(f2(x,y))を測定し、メモリに記録させておくことが好ましい。そうすることにより、現実の撮影時において、撮影パラメータに応じた焦点外れのPSF(f2(x,y))を求めることができる。
 次に、ユーザが本実施形態の撮像装置によって撮像を行うときの動作を説明する。
 まず、通常のデジタルカメラによる撮像を行うように、ユーザは被写体に撮像装置を向け、シャッタボタンを半押しすると、自動焦点動作により被写体に焦点が合う。このとき、マイクロレンズ14には電圧が印加されず、図9(b)に示す状態にある。
 ユーザがシャッタボタンを深く押し込むと、撮像素子10の全てのマイクロレンズ14に電圧が印加されるとともに、「露光」が開始される。このとき、撮像素子10の撮像面には焦点外れによってぼやけの発生した像が形成される。また、露光中にユーザによって撮像装置が不安定に動いた場合、撮像素子10の撮像面上を像が移動するため、手振れによるぼやけが加算されることになる。
 信号処理部200は、撮像部100によって取得された信号を受け取る。こうして得られた画像は、式7の左辺にあるi(x、y)で表される劣化画像である。信号処理部200における画像処理部220は、i(x、y)からs(x,y)を復元するための処理を行う。この復元処理のアルゴリズムは、特に限定されず、公知の画像復元処理のいずれであってもよい。
 以下、図11および図12を参照しながら、本実施形態で実行し得る復元処理の一例を説明する。図11は、図6に示す画像処理部220の構成例を示すブロックであり、図12は、復元処理の例を示すフローチャートである。
 まず、図11を参照する。図11に示す画像処理部220は、初期PSF設定部222、画像復元部224、PSF設定部226、およびパラメータ更新部228を備え、劣化画像の入力を得て復元結果を出力する。初期PSF推定部222は、画像復元部224による処理に必要な初期PSFを設定する。この初期PSFは、カメラの運動(軌跡)をジャイロセンサなどのセンサによって検出し、その軌跡に基づいて決定しても良いし、使用者が手動で入力してもよい。なお、画像処理に要する時間を短縮するという観点から、初期PSFは真のPSFに近いことが好ましい。このため、センサによって検出したカメラの軌跡から定まるPSFに対して焦点外れのPSFを加算したPSFを初期PSFに設定することが好ましい。
 画像復元部224は、初期PSFに基づいて劣化画像から復元画像を得る。PSF推定部226は、劣化画像、および、画像復元部224で得た復元画像に基づいてPSFの推定を行う。パラメータ更新部228は、PSF推定部226によって得られたPSF(推定されたPSF)で初期PSF(前回の画像復元に用いたPSF)を更新する。更新されたPSFは、画像復元部224に与えられ、上記の処理が繰り返し実行される。
 図11に示す構成は、画像処理部220の機能ブロックの例であり、画像処理部220は、他の機能ブロックに分割され得る。画像処理部は、例えば公知のハードウェアに画像処理のソフトウェアを組み込むことによっても好適に実現される。
 次に、図12を参照しながら復元処理の概略手順を説明する。
 まず、ステップS1において、劣化画像の読み出しを行う。具体的には、復元処理のベースとなる劣化画像を、画像処理部220が図6のメモリ240から取得する。劣化画像は、図6の撮像部100によって取得された画像であり、本実施形態では、意図的な焦点外れによるぼやけが付与されている。一般には、使用者による撮像部100の振れ(運動)により、手振れによるぼやけ(ブレ)も劣化画像に付与される。
 ステップS2において、初期PSF設定部222は初期PSFを設定する。ステップS3において、画像復元部224は、ステップS1で取得した劣化画像とステップS2で設定した初期PSFとを用いて画像復元処理を実行する。この画像復元処理は、図11の画像復元部224において、公知の復元アルゴリズムによって実行することができる。画像復元部224は、得られた復元画像をいったんメモリ240に記録する。ステップS4では、PSF推定部226が復元画像からPSFの推定を行い、パラメータ更新部228が、推定されたPSFによって前のPSFを更新する。
 ステップS5において、更新前後のPSF、および、更新前後の復元画像の変化が所定の閾値よりも小さいか否かを判定し、小さい場合は処理が収束したと判断する。ステップS6では、復元結果をメモリ240に格納する。
 以下、ステップS2~S3で行うPSF推定および画像復元の詳細を説明する。
 ここでは、非特許文献1に開示されている信号処理法による場合を説明する。非特許文献1の信号処理法による場合、まず初期PSFを与える必要がある。この初期PSFは、手動あるいは、手振れ検知装置(ジャイロセンサなどの外部デバイス)によって与えられる。この初期PSFに基づいて、第1の画像復元が行われる。この段階のPSFは、必ずしも真のPSF(正解)に一致しているものではないが、復元される結果は、劣化画像に比べると原画像に近づいたものとなる。
 続いて、第1の画像復元の結果である第1の復元画像からPSFの推定を行う。第1の復元画像が劣化画像よりも原画像に近づいているため、推定されるPSFは正解に近づく。ここで推定したPSFを用いて、すなわち、初期PSFを次のPSFで更新して、第2の画像復元を行う。この処理をPSFの変化、および、画像復元結果の変化がなくなるまで繰り返し行うことにより、PSF推定と画像復元を同時に行う。
 以下、画像復元処理の更に具体的な方法を述べる。
 まず、画像復元に先立って、初期PSF設定部222により、初期PSFを与える。非特許文献1に開示されている方法では、初期PSFを手動で与えているが、本実施形態では、ジャイロセンサによって取得した動き情報に基づいてPSFの初期値を設定する。
 画像復元部224は、与えられたPSF(最初は初期値、次からは更新値)と劣化画像により、画像の復元を行う。この処理に使用する評価式ELを式13に示す。
Figure JPOXMLDOC01-appb-M000013
ここで、Iは劣化画像、Lはブレおよびぼやけのない画像L、fは点広がり関数PSFである。変数wk、λ1、λ2は手動で設定される「重み」である。Θは、どのような微分を画像に施すかを規定する演算子のセットである。具体的には、0回微分、1回微分(x、y方向それぞれ)、2回微分(x方向に二回、y方向に二回、xとy方向に1回ずつ)の合計6個の微分パラメータを持つ。d*は、微分演算子である。d*を用いてΘを表現すると、Θ={d0、dx、dy、dxx、dxy、dyy}となる。d*により、輝度情報とエッジ情報の両方を用いた処理を行うことが可能になり、輝度だけでは得られない情報も得ることができる。Mは、2次元のマスクであり、画像中の平坦な領域、すなわち局所的なスムーズな領域(Ω)に含まれる画素では「1」の要素、それ以外の画素では「0」の要素を有している。||・||pは、pノルム演算子である。Φ(x)は、自然に観察される画像中の輝度勾配xとその分布密度(対数表示)との関係を近似的に示す関数である。
 式13の右辺における第1項は、復元画像Lと点拡がり関数fとの畳み込みを行って得られる画像と劣化画像Iとの差(距離)を示す項である。画像に対して6個の微分パラメータによる演算を施すことにより、輝度以外の情報に基づいて画像の近似度を評価できる。
 式13の右辺における第2項は、画像内の輝度勾配の性質(「heavy tail」と呼ばれる)を示す項である。Φ(dxL)、Φ(dyL)は、復元画像の輝度勾配をヒストグラム化したときに、勾配が0付近に出現確率の急激なピークが現れ、勾配が大きくなるにつれ出現確率が小さくなるという、統計的性質を持つ。第2項では、x方向の勾配とy方向の勾配のそれぞれに対して、上記の統計的性質を示す分布からの距離を算出している。この統計的性質は、非特許文献3~5に開示されている方法でも利用されている。
 式13の右辺における第3項は、マスクMと微分劣化画像と微分復元画像を用いて、平坦度の評価を行う項である。平坦な領域では、劣化画像と復元画像との間で輝度の勾配値が近い値を持つ。そのため、x、y方向の勾配値の誤差を評価値として用いる。
 式13の右辺を最小化するLを求めることにより、復元画像Lを求めることができる(Lの最適化)。Lの最適化の具体的な計算方法は、非特許文献1に開示されている。
 次に、復元画像Lが得られた後に行う、PSF推定部226による処理を詳しく説明する。
 PSF推定は、画像復元部224で得られた復元画像Lと劣化画像Iとを用いて点拡がり関数fを推定する問題である。fは、以下の式14の右辺を最小化するようにfを決定することにより、点拡がり関数fを求めることができる(fの最適化)。
Figure JPOXMLDOC01-appb-M000014
 式14の右辺における第1項は、式13の右辺における第1項に相当し、復元画像Lと点拡がり関数fとの畳み込みが劣化画像Iに近いか否かを示す評価基準を与える。式14の右辺における第2項は、点拡がり関数fの1ノルムである。第2項は、スパースコーディングと呼ばれる考え方に基づく項である。点拡がり関数fの行例における大部分の要素が0(動きがない)であることから、この最適化項が用いられる。本実施形態では、非特許文献1と同様に「interior point method」による最適化を行い、全体最適化を実現できる。
 なお、画像復元の手順は、上記の例に限定されない。例えば、リチャードソンルーシ(LR)法やウィーナフィルタ法を用いても良い。
 本実施形態における画像復元で重要な点は、意図的に与える焦点はずれによるぼやけの点拡がり関数PSFを既知とすることにある。動きの情報は、ジャイロセンサによって取得できるため、焦点はずれが生じても、その点広がり関数PSFが既知であれば、LR法などの従来から知られている簡便な手法を適用して画像の復元を実現することができる。このため、信号処理にかかる負担を軽減させることが可能になる。
 本実施形態では、手振れによるぼやけを規定するPSFをも推定の対象とするブラインド・デコンボリューションによって画像の復元を行ったが、本発明はこれに限定されない。撮像装置に取り付けられたジャイロセンサによって「手振れ軌跡」を高い精度で検出できれば、検出した手振れ軌跡に基づいて得られたPSFを画像復元処理のための単なる初期値として用いるだけではなく、手触れによるぼやけを規定する最終的なPSFとして用いても良い。この場合、焦点外れによるぼやけを規定するPSFも既知であり、ぼやけの点広がり関数がすべて既知となるため、推定すべきは復元画像のみとなる。
 このように本実施形態によれば、復元方法の種類によらず、劣化画像に意図的な焦点外れによるぼやけが付加されるため、手振れによるぼやけ(ブレ)で劣化した画像を復元した場合でも、画像の平坦部でリンギングが目立たないという効果が得られる。
 なお、焦点距離を可変とする構成は、本実施形態における構成に限定されない。撮影レンズによって焦点の合った像を形成した後、撮影レンズの焦点位置をずらすため、露光中にオートフォーカス制御のループに意図的なオフセットを与えるようにしてもよい。また、一様な液晶層を一対の基板間に封入した液晶セルを光路中に挿入しておき、液晶層に電圧を印加する状態と印加しない状態との間でスイッチングを行ってもよい。このような構成を採用しても、露光中に撮影レンズの焦点位置をシフトさせ、焦点外れによるぼやけを付与することができる。
 本発明の撮像装置は、平坦部でリンギングの少ない画像を復元できるため、電子スチルカメラなどとして利用可能である。
10  撮像素子
20  撮影レンズ
15  絞り機能を有するシャッタ
30  撮像素子駆動部
40  マイクロレンズ駆動部
100 撮像部
200 信号処理部
220 画像処理部
240 メモリ
260 インターフェース(IF)
300 表示部
400 記録媒体
500 システム制御部

Claims (7)

  1.  撮像面上に配列された複数の光感知セルを備える撮像素子と、
     第1の状態において前記撮像面上に焦点が合っている第1の像を形成し、第2の状態において前記撮像面上に焦点が合っていない第2の像を形成する光学系と、
     前記撮像素子から得られる信号を処理する画像処理部と、
    を備え、
     前記画像処理部は、
     前記第2の状態において前記撮像素子によって取得された画像から、手振れによるぼやけを減少させた復元画像を生成する、撮像装置。
  2.  前記第2の状態における焦点外れぼやけを規定する点広がり関数を記録するメモリを備え、
     前記画像処理部は、撮像時における焦点外れぼやけを規定する点広がり関数を前記メモリから読み出し、復元画像の生成に用いる、請求項1に記載の撮像装置。
  3.  前記光学系は、結像レンズと、前記撮像素子上に設けられたマイクロレンズのアレイとを含み、前記マイクロレンズは、焦点距離が変化する非固体レンズである、請求項1または2に記載の撮像装置。
  4.  前記光学系は、焦点距離が変化する非固体レンズを含む、請求項1または2に記載の撮像装置。
  5.  表示部を更に備え、
     前記第1の状態において前記撮像素子によって取得された画像を前記表示部に表示する、請求項1から4のいずれかに記載の撮像装置。
  6.  撮像面上に配列された複数の光感知セルを備える撮像素子と、前記撮像面上に像を形成する光学系と、前記撮像素子から得られる信号を処理する画像処理部とを備える撮像装置の動作を制御するプログラムであって、
     前記光学系により、前記撮像面上に焦点が合っている第1の像を形成させるステップと、
     前記光学系により、前記撮像面上に焦点が合っていない第2の像を形成させるステップと、
     前記画像処理部により、前記第2の状態において前記撮像素子によって取得された画像から、手振れによるぼやけを減少させた復元画像を生成するステップと
    を実行するプログラム。
  7.  撮像面上に配列された複数の光感知セルと、
     前記撮像素子上に設けられたマイクロレンズのアレイと
    を備える撮像素子であって、
     前記マイクロレンズは、焦点距離が変化する非固体レンズである、撮像素子。
PCT/JP2011/000093 2010-02-02 2011-01-12 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法 WO2011096157A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201180001621.6A CN102369556B (zh) 2010-02-02 2011-01-12 摄像装置
EP11739509.5A EP2533198B1 (en) 2010-02-02 2011-01-12 Imaging device and method, and image processing method for imaging device
US13/260,440 US8553091B2 (en) 2010-02-02 2011-01-12 Imaging device and method, and image processing method for imaging device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010021343A JP5468404B2 (ja) 2010-02-02 2010-02-02 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法
JP2010-021343 2010-02-02

Publications (1)

Publication Number Publication Date
WO2011096157A1 true WO2011096157A1 (ja) 2011-08-11

Family

ID=44355178

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/000093 WO2011096157A1 (ja) 2010-02-02 2011-01-12 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法

Country Status (5)

Country Link
US (1) US8553091B2 (ja)
EP (1) EP2533198B1 (ja)
JP (1) JP5468404B2 (ja)
CN (1) CN102369556B (ja)
WO (1) WO2011096157A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127798A (ja) * 2013-12-30 2015-07-09 シェンチェン マーキュリー オプトエレクトロニクス リサーチ インスティチュート 液晶レンズ結像装置および液晶レンズ結像方法
JP2016009184A (ja) * 2014-06-25 2016-01-18 シェンチェン マーキュリー オプトエレクトロニクス リサーチ インスティチュート 液晶レンズ結像装置及び液晶レンズ結像方法

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5237978B2 (ja) * 2010-02-12 2013-07-17 パナソニック株式会社 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法
US8929607B2 (en) * 2011-12-01 2015-01-06 Sony Corporation System and method for performing depth estimation utilizing defocused pillbox images
WO2013103410A1 (en) 2012-01-05 2013-07-11 California Institute Of Technology Imaging surround systems for touch-free display control
JP6016463B2 (ja) * 2012-06-07 2016-10-26 キヤノン株式会社 デフォーカス量推定方法、撮像装置、および透光性部材
US9066002B2 (en) * 2012-08-29 2015-06-23 Sony Corporation System and method for utilizing enhanced scene detection in a depth estimation procedure
US9530213B2 (en) * 2013-01-02 2016-12-27 California Institute Of Technology Single-sensor system for extracting depth information from image blur
JP2015126253A (ja) * 2013-12-25 2015-07-06 株式会社ニコン 撮像装置
US9990698B2 (en) * 2014-12-01 2018-06-05 Canon Kabushiki Kaisha Control apparatus, lens apparatus, and non-transitory computer-readable storage medium that determine data as coefficient data corresponding to an order less than a predetermined order of an approximation function
KR102195407B1 (ko) 2015-03-16 2020-12-29 삼성전자주식회사 이미지 신호 프로세서와 이를 포함하는 장치들
JPWO2016199214A1 (ja) * 2015-06-09 2018-03-29 株式会社日立国際電気 映像処理装置、映像処理方法及び車載カメラ
JP6594524B2 (ja) * 2016-03-30 2019-10-23 富士フイルム株式会社 撮像装置、作動方法、画像処理装置及び画像処理方法
CN105872318B (zh) * 2016-04-29 2018-10-02 中国科学院西安光学精密机械研究所 一种可增强ccd相机调制传递函数的方法及电路
CN117197002B (zh) * 2023-11-07 2024-02-02 松立控股集团股份有限公司 一种基于感知扩散的图像复原方法

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129236A (ja) 2004-10-29 2006-05-18 Sanyo Electric Co Ltd リンギング除去装置およびリンギング除去プログラムを記録したコンピュータ読み取り可能な記録媒体
JP2006279807A (ja) * 2005-03-30 2006-10-12 Sanyo Electric Co Ltd 手ぶれ補正装置
JP2008011492A (ja) * 2005-12-27 2008-01-17 Kyocera Corp 撮像装置およびその方法
JP2008033060A (ja) * 2006-07-28 2008-02-14 Kyocera Corp 撮像装置および撮像方法、並びに画像処理装置
JP2008058546A (ja) * 2006-08-30 2008-03-13 Nikon Corp 検出装置、補正装置、カメラ、及びプログラム
JP2008167395A (ja) * 2006-12-04 2008-07-17 Sony Corp 撮像装置及び撮像方法
JP2009020844A (ja) * 2007-07-13 2009-01-29 Morpho Inc 画像データ処理方法および撮像装置
JP2009522825A (ja) 2006-05-08 2009-06-11 ミツビシ・エレクトリック・リサーチ・ラボラトリーズ・インコーポレイテッド シーンの画像におけるぶれを低減する方法及びシーンの画像のぶれを除去する方法
JP2009206831A (ja) * 2008-02-27 2009-09-10 Kyocera Corp 撮像装置、画像生成方法、および電子機器
JP2009207118A (ja) * 2008-01-16 2009-09-10 Sanyo Electric Co Ltd 撮像装置及びぶれ補正方法
JP2009244490A (ja) * 2008-03-31 2009-10-22 Casio Comput Co Ltd カメラ、カメラ制御プログラム及びカメラ制御方法
JP2009253936A (ja) * 2008-04-11 2009-10-29 Nikon Corp 撮像装置、画像選別方法及びプログラム
JP2009267523A (ja) * 2008-04-22 2009-11-12 Nikon Corp 画像復元装置及び撮像装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7235431B2 (en) * 2004-09-02 2007-06-26 Micron Technology, Inc. Methods for packaging a plurality of semiconductor dice using a flowable dielectric material
CN101366270B (zh) 2005-11-29 2011-07-13 京瓷株式会社 成像设备和成像方法
JP4193881B2 (ja) * 2006-07-04 2008-12-10 セイコーエプソン株式会社 画像処理装置およびぼやけ検出方法
US7256943B1 (en) * 2006-08-24 2007-08-14 Teledyne Licensing, Llc Variable focus liquid-filled lens using polyphenyl ethers
JP4969474B2 (ja) * 2007-02-09 2012-07-04 オリンパスイメージング株式会社 復号方法、復号装置、及び復号プログラム
US8249377B1 (en) * 2008-06-08 2012-08-21 Hewlett-Packard Development Company, L.P. Blurred digital image deblurring

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129236A (ja) 2004-10-29 2006-05-18 Sanyo Electric Co Ltd リンギング除去装置およびリンギング除去プログラムを記録したコンピュータ読み取り可能な記録媒体
JP2006279807A (ja) * 2005-03-30 2006-10-12 Sanyo Electric Co Ltd 手ぶれ補正装置
JP2008011492A (ja) * 2005-12-27 2008-01-17 Kyocera Corp 撮像装置およびその方法
JP2009522825A (ja) 2006-05-08 2009-06-11 ミツビシ・エレクトリック・リサーチ・ラボラトリーズ・インコーポレイテッド シーンの画像におけるぶれを低減する方法及びシーンの画像のぶれを除去する方法
JP2008033060A (ja) * 2006-07-28 2008-02-14 Kyocera Corp 撮像装置および撮像方法、並びに画像処理装置
JP2008058546A (ja) * 2006-08-30 2008-03-13 Nikon Corp 検出装置、補正装置、カメラ、及びプログラム
JP2008167395A (ja) * 2006-12-04 2008-07-17 Sony Corp 撮像装置及び撮像方法
JP2009020844A (ja) * 2007-07-13 2009-01-29 Morpho Inc 画像データ処理方法および撮像装置
JP2009207118A (ja) * 2008-01-16 2009-09-10 Sanyo Electric Co Ltd 撮像装置及びぶれ補正方法
JP2009206831A (ja) * 2008-02-27 2009-09-10 Kyocera Corp 撮像装置、画像生成方法、および電子機器
JP2009244490A (ja) * 2008-03-31 2009-10-22 Casio Comput Co Ltd カメラ、カメラ制御プログラム及びカメラ制御方法
JP2009253936A (ja) * 2008-04-11 2009-10-29 Nikon Corp 撮像装置、画像選別方法及びプログラム
JP2009267523A (ja) * 2008-04-22 2009-11-12 Nikon Corp 画像復元装置及び撮像装置

Non-Patent Citations (7)

* Cited by examiner, † Cited by third party
Title
IMAGE PROC., vol. 4, April 2006 (2006-04-01), pages 937 - 951
J. BIOUCAS-DIAS: "Bayesian wavelet-based image deconvolution: a gem algorithm exploiting a class of heavy-tailed priors", IEEE TRANS.
LEVIN: "Blind Motion Deblurring Using Image Statistics", ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS (NIPS, December 2006 (2006-12-01)
QI SHAN, JIAYA JIA, ASEEM AGARWALA: "High-quality Motion Deblurring from a Single Image", SIGGRAPH, 2008
ROB FERGUS ET AL.: "Removing camera shake from a single image", SIGGRAPH, 2006
See also references of EP2533198A4
YONEJI, TANAKA, OKUTOMI: "PSF Parameter Estimation for Restoration of Linear Motion Blurred Image", IPSJ SIG TECHNICAL REPORT, vol. 2005, no. 38, 2005, pages 47 - 52

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127798A (ja) * 2013-12-30 2015-07-09 シェンチェン マーキュリー オプトエレクトロニクス リサーチ インスティチュート 液晶レンズ結像装置および液晶レンズ結像方法
JP2016009184A (ja) * 2014-06-25 2016-01-18 シェンチェン マーキュリー オプトエレクトロニクス リサーチ インスティチュート 液晶レンズ結像装置及び液晶レンズ結像方法
US9531940B2 (en) 2014-06-25 2016-12-27 Shenzhen Mercury Optoelectronics Research Institute Apparatus and method for liquid crystal lens imaging

Also Published As

Publication number Publication date
EP2533198A4 (en) 2013-07-24
JP2011159159A (ja) 2011-08-18
US20120026349A1 (en) 2012-02-02
US8553091B2 (en) 2013-10-08
EP2533198B1 (en) 2017-03-08
CN102369556B (zh) 2014-10-29
CN102369556A (zh) 2012-03-07
EP2533198A1 (en) 2012-12-12
JP5468404B2 (ja) 2014-04-09

Similar Documents

Publication Publication Date Title
JP5468404B2 (ja) 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法
JP5237978B2 (ja) 撮像装置および撮像方法、ならびに前記撮像装置のための画像処理方法
JP5596138B2 (ja) 撮像装置、画像処理装置、画像処理方法、および画像処理プログラム
JP5909540B2 (ja) 画像処理表示装置
US9581436B2 (en) Image processing device, image capturing apparatus, and image processing method
US9167168B2 (en) Image processing method, image processing apparatus, non-transitory computer-readable medium, and image-pickup apparatus
WO2017045558A1 (zh) 景深调节方法、装置及终端
JP2008211679A (ja) 撮像装置およびその方法
JP4364847B2 (ja) 撮像装置および画像変換方法
US10235742B2 (en) Image processing apparatus, image capturing apparatus, image processing method, and non-transitory computer-readable storage medium for adjustment of intensity of edge signal
JP2015109681A (ja) 画像処理方法、画像処理装置、画像処理プログラムおよび撮像装置
JP2016201600A (ja) 画像処理装置、撮像装置、画像処理方法、画像処理プログラム、および、記憶媒体
JP2009047733A (ja) 撮像装置及び画像処理プログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180001621.6

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 13260440

Country of ref document: US

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11739509

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2011739509

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2011739509

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE