WO2018103105A1 - Method and system for correcting image blur caused by lens tilt - Google Patents

Method and system for correcting image blur caused by lens tilt Download PDF

Info

Publication number
WO2018103105A1
WO2018103105A1 PCT/CN2016/109319 CN2016109319W WO2018103105A1 WO 2018103105 A1 WO2018103105 A1 WO 2018103105A1 CN 2016109319 W CN2016109319 W CN 2016109319W WO 2018103105 A1 WO2018103105 A1 WO 2018103105A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
lens
image processor
blur
processor
Prior art date
Application number
PCT/CN2016/109319
Other languages
French (fr)
Chinese (zh)
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 PCT/CN2016/109319 priority Critical patent/WO2018103105A1/en
Publication of WO2018103105A1 publication Critical patent/WO2018103105A1/en

Links

Classifications

    • 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
    • G03B5/00Adjustment of optical system relative to image or object surface other than for focusing
    • 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

Definitions

  • the present invention relates to the field of micro-cameras with autofocus or optical image stabilization, and in particular to improvements in demolding processing.
  • the camera module will inevitably appear to tilt the lens, resulting in a decrease in the resolution of the image edge, which affects the image quality.
  • the main cause of lens tilt can be assembly or component error, or motion principle.
  • the actuator of the CN2015106221318 patent the lens may have different degrees of tilt during the optical image stabilization process.
  • the camera module includes a lens 1, an image sensor 2, and a lens actuator actuator 3 that controls the stroke of the lens and the tilt angle of the lens to achieve autofocus or optical image stabilization.
  • La and Figure lb show that the lens 1 has different degrees of lens tilt when the distance between the far focus and the near focus is different.
  • Figure lc and Figure Id show that lens 1 exhibits varying degrees of lens tilt before optical image stabilization and after optical image stabilization. The cause of the lens tilt may be caused by assembly or component errors, or by motion.
  • Figures 2a and 2b show that when the lens tilt angle " ⁇ , the imaging will be tilted, an angle ⁇ will be generated between the imaging and image sensors, and the edge between the imaging and image sensor will appear 21
  • the defocusing distance of the image causes the defocusing and resolution of the image to appear green.
  • Scheimpflug principle see GB Patent No. 1139
  • the relationship between 0 and ⁇ can be accurately estimated. If the imaging is a perfect plane ⁇ , the relationship between ⁇ , a, A Zl , and ⁇ is:
  • FIG. 3a illustrates the imaging out-of-focus distance and the X-image position (where the X-image position is 0 represents the image center position) Relationship.
  • the relationship between the image out-of-focus distance ( ⁇ ⁇ ) and the image position is:
  • FIG. 3b depicts a situation in which image defocusing results in an amount of image blur in one example.
  • the absolute value of the out-of-focus distance is large, the amount of image blur will usually increase.
  • the relationship between the out-of-focus distance and the amount of image blur depends on the optical characteristics of the lens, including the aperture and focal length.
  • the degree of defocus blur of the lens is also related to the defocus distance, the degree of defocus blur of the lens is closely related to the tilt angle of the lens.
  • the tilt angle of the lens can cause the resolution of the image edge to decrease, affecting the image quality. Because this problem cannot be cured in production and structure in most camera modules.
  • the object of the present invention is to solve the problem that the existing camera module has a large absolute value of the out-of-focus distance and the image quality is poor, and proposes a method for correcting the image blur caused by the tilt of the lens. And system.
  • a method for correcting image blur caused by lens tilt is characterized in that the steps of the method are as follows: [0016] 1), a model for accurately establishing different image positions, lens tilt angles, and lens blur amounts in advance
  • the image processor reads a model of different image positions in the memory and a relationship between the tilt angle of the lens and the amount of lens blur;
  • the image processor sends a command to the actuator driving chip, and drives the lens to perform auto focus or optical anti-shake processing;
  • the image processor sends a command to the image sensor, controls the image sensor to take a photo, and asks
  • the actuator drives the chip, and obtains a stroke and a lens tilt angle of the current lens from the actuator driving chip;
  • the image processor calculates, according to the stroke of the current lens and the lens tilt angle data, the blur amount of different positions of the image output by the image sensor according to the model;
  • the image processor defuzzifies the image according to the amount of blur of different positions of the image
  • the image processor transmits the processed defuzzified clear image to the main controller.
  • the model of the relationship between different image positions and the lens tilt angle and the lens blur amount can be accurately established by the lens optical simulation software or the experimental method.
  • a system for implementing the method characterized in that the system comprises a motherboard and a camera module;
  • the main board includes a main controller and an image processor; the main controller is connected to the control image processor, and receives and outputs a clear image that is defuzzified after being processed by the image processor;
  • the camera module includes: a lens for optical imaging, an image sensor located at the rear of the lens for photoelectric conversion to form an electronic image output, controlling the stroke of the lens and the tilt angle of the lens to achieve auto focus or optical image stabilization.
  • a lens actuator connected to an actuator driving chip that controls the lens actuator, and a memory that stores models of different image positions and relationship between the lens tilt angle and the lens blur amount;
  • the image sensor is connected to the image processor, and the image processor is provided with a real image and a photographed image; the image processor is connected to control the image sensor to take a picture;
  • the image processor is connected to control the actuator driving chip to perform auto focus or optical anti-shake processing, and the actuator driving chip outputs the stroke and lens tilt angle data of the current lens to the image processor;
  • the memory provides image processing for the image processor to perform defuzzification image processing for reference model information.
  • the main controller replaces or includes an image processor, or is integrated in a camera module.
  • the beneficial effects of the present invention are as follows:
  • the present invention proposes to achieve an optimal image quality improvement effect according to the optical characteristic model of the lens and the degree of tilt combined with the image processing method, thereby avoiding the lack of sharpness or unnaturalness of the local position of the image.
  • the invention can correct the image blur caused by the tilt of the lens, and can pass the mirror
  • the head optical simulation software accurately models the relationship between different image positions and lens tilt angles and lens blur.
  • the deblurring force can be adjusted at different image positions by the model. For example, when the tilt angle is large, the de-blurring intensity of the image edge needs to be increased, but the de-blurring force closer to the center position needs to be lowered according to the estimated relationship.
  • the present invention and the conventional defuzzification image processing can more appropriately defuzzify the images at different positions according to the optical characteristic model of the lens and the degree of tilt, thereby achieving the best image quality improvement effect. Avoid situations where the sharpness of the image is insufficient or unnatural.
  • the degree of tilt of the lens must be strictly controlled, resulting in extremely high machine and production costs, and the camera module is extremely expensive, failing to Widely promoted to ordinary users.
  • the standard of the lens tilt degree can be reduced, which is beneficial to improving the production yield and reducing the cost, so that ordinary users can enjoy the joy of high pixel shooting.
  • FIG. 1a is a state diagram of the camera module in a far focus
  • FIG. 1b is a state diagram of the camera module in a near focus state
  • FIG. 1c is a state diagram of the camera module before optical image stabilization
  • FIG. 1d is a state diagram of the camera module after optical anti-shake
  • FIG. 2a is a schematic diagram 1 of the tilting of the lens causing the imaging tilt ⁇ ;
  • FIG. 2b is a schematic diagram 2 of the tilting of the lens causing the imaging tilt ⁇ ;
  • FIG. 3a is a relationship diagram of an image out-of-focus distance and an image position
  • FIG. 3b is a relationship diagram between the out-of-focus distance and the image blur amount
  • FIG. 4a is a force relationship diagram before adjusting deblurring
  • FIG. 4b is a diagram showing the relationship of the force after adjusting the defuzzification
  • FIG. 5 is a block diagram of the present invention capable of correcting an image blurring system caused by tilting of a lens
  • FIG. 6 is a flow chart of a method for correcting image blur caused by tilt of a lens according to the present invention.
  • the present invention can correct the image blur caused by the tilt of the lens, and includes the following steps:
  • the image processor reads a model of different image positions in the memory and a relationship between the tilt angle of the lens and the amount of lens blur;
  • the image processor sends a command to the actuator driving chip, and drives the lens to perform auto focus or optical anti-shake processing;
  • the image processor sends a command to the image sensor, controls the image sensor to take a picture, and simultaneously queries the actuator drive chip to obtain the stroke and the lens tilt angle of the current lens from the actuator drive chip;
  • the image processor calculates, according to the stroke of the current lens and the lens tilt angle data, the blur amount of different positions of the image output by the image sensor according to the model;
  • the image processor defuzzifies the image according to the amount of blur of different positions of the image
  • the image processor transmits the processed defuzzified clear image to the main controller.
  • the model of the relationship between different image positions and the lens tilt angle and the lens blur amount can be accurately established by the lens optical simulation software or the experimental method.
  • FIG. 4a the velocity relationship diagram before the defuzzification is adjusted and FIG. 4b adjusts the velocity relationship diagram after the defuzzification; the invention adjusts the defuzzification intensity according to different degrees of image blur.
  • the edge of the image before correction is more blurred than the middle. After the correction, the overall image becomes clear and no unnatural images appear.
  • the core of the present invention is to estimate the degree of image blurring at different positions according to the model according to the degree of tilt of the lens in different situations, and perform appropriate defuzzification image processing on different image positions.
  • a model for establishing a blur amount of a lens at different inclinations can be obtained by actually measuring an image, or an optical simulation method.
  • the degree of tilt of the lens in different situations the degree of tilt of the individual lens under different conditions, or the mechanical structure model, can be measured according to the actual situation.
  • the present invention can correct a system for blurring an image caused by tilting of a lens, including a master. Board and camera module;
  • the main board includes a main controller and an image processor; the main controller is connected to the control image processor, and receives and outputs a clear image that is defuzzified after being processed by the image processor;
  • the camera module includes: a lens for optical imaging, an image sensor located at the rear of the lens for photoelectric conversion to form an electronic image output, controlling the stroke of the lens and the tilt angle of the lens to achieve auto focus or optical image stabilization.
  • a lens actuator connected to an actuator driving chip that controls the lens actuator, and a memory that stores models of different image positions and relationship between the lens tilt angle and the lens blur amount;
  • the image sensor is connected to the image processor, and the image processor is provided with a real image and a photographed image; the image processor is connected to control the image sensor to take a picture;
  • the image processor is connected to control the actuator driving chip to perform auto focus or optical anti-shake processing, and the actuator driving chip outputs the stroke and lens tilt angle data of the current lens to the image processor;
  • the memory provides image processing for the image processor to perform defuzzification image processing for reference model information.
  • the main controller replaces or includes an image processor, or is integrated in a camera module.
  • the present embodiment is a preferred embodiment of the present invention, and other principles and methods are the same as or similar to those of the present embodiment, and are all within the protection scope of the present invention.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Adjustment Of Camera Lenses (AREA)
  • Studio Devices (AREA)

Abstract

Provided are a method and system for correcting image blur caused by lens tilt, relating to the technical field of miniature cameras capable of automatic focus and optical image stabilization; the invention solves the technical deficiency of existing camera modules of low imaging quality when the absolute value of defocus distance is large; an image sensor is controlled to photograph while an actuator driver chip is queried, and the current path of the lens and the angle of inclination of the lens are obtained from the actuator driver chip; according to the current path of the lens and data of the angle of inclination of the lens, the model is combined and the amount of blur at different positions in the image outputted by the image sensor is calculated; according to the amount of blur at different positions in the image, deblurring image processing is performed on the image to obtain a clear image; thus optimal improvement of image quality is achieved and the situation of inadequate or unnatural sharpness is prevented.

Description

发明名称:能修正因镜头倾斜造成的影像模糊的方法及系统 技术领域  Title: Method and system for correcting image blur caused by lens tilt
[0001] 本发明涉及到具有自动对焦或光学防抖的微型相机技术领域, 具体涉及到去模 糊化处理改进方面。  [0001] The present invention relates to the field of micro-cameras with autofocus or optical image stabilization, and in particular to improvements in demolding processing.
背景技术  Background technique
[0002] 在不同对焦距离或在光学防抖过程中, 一般的相机模组会难免出现镜头倾斜, 做成影像边缘的解像度下降, 影响影像质素。 主要出现镜头倾斜的原因可以是 组装或部件误差, 或者是运动原理上做成。 例如: CN2015106221318专利中的 致动器在光学防抖过程中, 镜头会出现不同程度的倾斜。 虽然在设计或生产中 相机模组及致动器生产商都尽量减轻这问题, 但仍无法从生产及结构上完成根 治这问题。  [0002] In different focusing distances or in the optical image stabilization process, the camera module will inevitably appear to tilt the lens, resulting in a decrease in the resolution of the image edge, which affects the image quality. The main cause of lens tilt can be assembly or component error, or motion principle. For example, in the actuator of the CN2015106221318 patent, the lens may have different degrees of tilt during the optical image stabilization process. Although camera module and actuator manufacturers are trying to alleviate this problem in design or production, it is still impossible to complete the problem of production and structure.
[0003] 参照图 la至图 Id所示, 相机模组包括有镜头 1、 影像传感器 2及控制镜头的行程 和镜头倾斜角度实现自动对焦或光学防抖的镜头致动器致动器 3 ; 图 la和图 lb展 示在对远焦和对近焦不同距离吋, 镜头 1出现不同程度的镜头倾斜。 图 lc和图 Id 展示在光学防抖前和光学防抖后, 镜头 1出现不同程度的镜头倾斜。 出现镜头倾 斜的原因可能是组装或部件误差, 或者是运动原理上造成。  [0003] Referring to FIGS. 1a to 1D, the camera module includes a lens 1, an image sensor 2, and a lens actuator actuator 3 that controls the stroke of the lens and the tilt angle of the lens to achieve autofocus or optical image stabilization. La and Figure lb show that the lens 1 has different degrees of lens tilt when the distance between the far focus and the near focus is different. Figure lc and Figure Id show that lens 1 exhibits varying degrees of lens tilt before optical image stabilization and after optical image stabilization. The cause of the lens tilt may be caused by assembly or component errors, or by motion.
[0004] 图 2a和图 2b展示当出现所述镜头倾斜角度《吋, 成像会因此出现倾斜, 成像和 图像传感器之间会产生一个夹角 Θ , 成像和影像传感器的边绿之间会出现 21及 的 失焦距离, 导致影像边绿出现失焦及解像度下降的情况。 根据沙姆定律 (Scheimpflug principle, 参见 GB Patent No. 1139) , 可以准确地推算 0及 α之间 的关系。 如果成像是一个完美的平面吋, Θ , a , A Zl , 以及 Δ 的关系是:[0004] Figures 2a and 2b show that when the lens tilt angle "吋, the imaging will be tilted, an angle Θ will be generated between the imaging and image sensors, and the edge between the imaging and image sensor will appear 21 The defocusing distance of the image causes the defocusing and resolution of the image to appear green. According to Scheimpflug principle (see GB Patent No. 1139), the relationship between 0 and α can be accurately estimated. If the imaging is a perfect plane , the relationship between Θ, a, A Zl , and Δ is:
[0005] A Zl oc 0 oc a (1)[0005] A Zl oc 0 oc a (1)
Figure imgf000003_0001
Figure imgf000003_0001
[0007] 从方程式 (1)及 (2)中看到, 所述失焦距离 ( 21及 ) 和镜头倾斜角度 (《) 有正比的关系。 [0007] As seen from equations (1) and (2), the defocus distance ( 21 and) and the lens tilt angle (") have a proportional relationship.
[0008] 图 3a说明了成像失焦距离和 X-影像位置 (X-影像位置是 0代表影像中心位置) 的 关系。 成像失焦距离 (Δ Ζ) 和影像位置 ( 的关系是: [0008] FIG. 3a illustrates the imaging out-of-focus distance and the X-image position (where the X-image position is 0 represents the image center position) Relationship. The relationship between the image out-of-focus distance (Δ Ζ ) and the image position is:
[0009] A z = x tan( θ) (3) [0009] A z = x tan( θ) (3)
[0010] 图 3b描述了在一个例子中成像失焦导致影像模糊量的情况。 当失焦距离的绝对 值较大吋, 影像模糊量通常亦会提升。 失焦距离和影像模糊量的关系视乎镜头 的光学特性, 包括光圈及焦距。  [0010] FIG. 3b depicts a situation in which image defocusing results in an amount of image blur in one example. When the absolute value of the out-of-focus distance is large, the amount of image blur will usually increase. The relationship between the out-of-focus distance and the amount of image blur depends on the optical characteristics of the lens, including the aperture and focal length.
[0011] 由于镜头倾斜做成的影像模糊程度不是均匀的, 通常都是中心清晰, 旁边较模 糊, 因此若果对整张照片进行去模糊化图像处理 (Deblurring Image Processing) , 可能导致照片某此位置 (例如: 中心位置) 出现不自然或油画化, 但其他位 置 (例如边角位置) 出现锐度不足。  [0011] Since the degree of image blurring caused by tilting the lens is not uniform, it is usually clear at the center and blurred at the side. Therefore, if the entire image is deblurred image processing (Deblurring Image Processing), the photo may be caused by this. Positions (for example: center position) appear unnatural or oily, but other positions (such as corner positions) appear to be insufficiently sharp.
[0012] 由于镜头失焦模糊程度和失焦距离亦有关系, 因此镜头失焦模糊程度和镜头倾 斜角度有密切关系。 所述的镜头倾斜角度可以造成影像边缘的解像度下降, 影 响影像质素。 因为这问题在大部份的相机模组中无法从生产及结构上完成根治 这问题。  [0012] Since the degree of defocus blur of the lens is also related to the defocus distance, the degree of defocus blur of the lens is closely related to the tilt angle of the lens. The tilt angle of the lens can cause the resolution of the image edge to decrease, affecting the image quality. Because this problem cannot be cured in production and structure in most camera modules.
技术问题  technical problem
[0013] 综上所述, 本发明的目的在于解决现有相机模组当失焦距离的绝对值较大吋, 成像品质差的技术不足, 而提出能修正因镜头倾斜造成的影像模糊的方法及系 统。  [0013] In summary, the object of the present invention is to solve the problem that the existing camera module has a large absolute value of the out-of-focus distance and the image quality is poor, and proposes a method for correcting the image blur caused by the tilt of the lens. And system.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0014] 为解决本发明所提出的技术问题, 采用的技术方案为:  [0014] In order to solve the technical problem proposed by the present invention, the technical solution adopted is:
[0015] 能修正因镜头倾斜造成的影像模糊的方法, 其特征在于所述方法的步骤如下: [0016] 1) 、 预先准确地建立不同影像位置及镜头倾斜角度和镜头模糊量关系的模型 [0015] A method for correcting image blur caused by lens tilt is characterized in that the steps of the method are as follows: [0016] 1), a model for accurately establishing different image positions, lens tilt angles, and lens blur amounts in advance
, 将模型存储在记忆体中; , storing the model in memory;
[0017] 2) 、 在拍照前, 图像处理器读取记忆体中不同影像位置及镜头倾斜角度和镜 头模糊量关系的模型; [0017] 2) before the photographing, the image processor reads a model of different image positions in the memory and a relationship between the tilt angle of the lens and the amount of lens blur;
[0018] 3) 、 图像处理器发指令到致动器驱动芯片, 驱动镜头进行自动对焦或光学防 抖处理;  [0018] 3), the image processor sends a command to the actuator driving chip, and drives the lens to perform auto focus or optical anti-shake processing;
[0019] 4) 、 图像处理器发指令到影像传感器, 控制影像传感器进行拍照, 同吋询问 致动器驱动芯片, 从致动器驱动芯片中获取当前镜头所处的行程和镜头倾斜角 度; [0019] 4), the image processor sends a command to the image sensor, controls the image sensor to take a photo, and asks The actuator drives the chip, and obtains a stroke and a lens tilt angle of the current lens from the actuator driving chip;
[0020] 5) 、 图像处理器根据当前镜头所处的行程和镜头倾斜角度数据, 结合所述模 型, 计算影像传感器输出的影像不同位置的模糊量;  [0020] 5) The image processor calculates, according to the stroke of the current lens and the lens tilt angle data, the blur amount of different positions of the image output by the image sensor according to the model;
[0021] 6) 、 图像处理器根据影像不同位置的模糊量, 对影像进行去模糊化图像处理[0021] 6), the image processor defuzzifies the image according to the amount of blur of different positions of the image
, 得到清晰图像; , get a clear image;
[0022] 7) 、 图像处理器传送处理后的去模糊化的清晰图像至主控制器。  [0022] 7) The image processor transmits the processed defuzzified clear image to the main controller.
[0023] 在第一步骤中, 可以通过镜头光学仿真软件或实验方法, 准确地建立不同影像 位置及镜头倾斜角度和镜头模糊量关系的模型。  [0023] In the first step, the model of the relationship between different image positions and the lens tilt angle and the lens blur amount can be accurately established by the lens optical simulation software or the experimental method.
[0024] 实现所述方法的系统, 其特征在于所述系统包括有主板和相机模组; [0024] a system for implementing the method, characterized in that the system comprises a motherboard and a camera module;
[0025] 所述的主板包含有主控制器和图像处理器; 主控制器连接控制图像处理器, 接 受并输出图像处理器处理后的去模糊化的清晰图像; [0025] The main board includes a main controller and an image processor; the main controller is connected to the control image processor, and receives and outputs a clear image that is defuzzified after being processed by the image processor;
[0026] 所述的相机模组包括有: 用于光学成像的镜头, 位于镜头后方用于光电转换形 成电子影像输出的影像传感器, 控制镜头的行程和镜头倾斜角度实现自动对焦 或光学防抖的镜头致动器, 连接控制镜头致动器的致动器驱动芯片, 以及存储 不同影像位置及镜头倾斜角度和镜头模糊量关系的模型的记忆体; [0026] The camera module includes: a lens for optical imaging, an image sensor located at the rear of the lens for photoelectric conversion to form an electronic image output, controlling the stroke of the lens and the tilt angle of the lens to achieve auto focus or optical image stabilization. a lens actuator, connected to an actuator driving chip that controls the lens actuator, and a memory that stores models of different image positions and relationship between the lens tilt angle and the lens blur amount;
[0027] 所述的影像传感器连接所述图像处理器, 为图像处理器提供实吋影像和拍照后 输出影像; 图像处理器连接控制影像传感器拍照; [0027] the image sensor is connected to the image processor, and the image processor is provided with a real image and a photographed image; the image processor is connected to control the image sensor to take a picture;
[0028] 所述的图像处理器连接控制致动器驱动芯片进行自动对焦或光学防抖处理, 致 动器驱动芯片输出当前镜头所处的行程和镜头倾斜角度数据给图像处理器; [0029] 所述的记忆体为图像处理器提供影像进行去模糊化图像处理作参考所需模型信 息。 [0028] the image processor is connected to control the actuator driving chip to perform auto focus or optical anti-shake processing, and the actuator driving chip outputs the stroke and lens tilt angle data of the current lens to the image processor; [0029] The memory provides image processing for the image processor to perform defuzzification image processing for reference model information.
[0030] 所述的主控制器替代或包含图像处理器, 或集成在相机模组中。  [0030] The main controller replaces or includes an image processor, or is integrated in a camera module.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0031] 本发明的有益效果为: 本发明提出根据镜头的光学特性模型及倾斜程度结合图 像处理方法, 达到最佳的影像质素提升效果, 避免影像局部位置出现锐度不足 或不自然的情况。 本发明能修正因镜头倾斜造成的影像模糊的方法可以通过镜 头光学仿真仿真软件, 准确地建立不同影像位置及镜头倾斜角度和镜头模糊量 关系的模型。 通过所述模型可以在不同影像位置调整去模糊量力度。 例如, 当 倾斜角度较大吋, 影像边线的去模糊量力度便需要加大, 但较接近中心位置的 去模糊量力度需要根据推算关系调低。 [0031] The beneficial effects of the present invention are as follows: The present invention proposes to achieve an optimal image quality improvement effect according to the optical characteristic model of the lens and the degree of tilt combined with the image processing method, thereby avoiding the lack of sharpness or unnaturalness of the local position of the image. . The invention can correct the image blur caused by the tilt of the lens, and can pass the mirror The head optical simulation software accurately models the relationship between different image positions and lens tilt angles and lens blur. The deblurring force can be adjusted at different image positions by the model. For example, when the tilt angle is large, the de-blurring intensity of the image edge needs to be increased, but the de-blurring force closer to the center position needs to be lowered according to the estimated relationship.
[0032] 本发明与传统的去模糊化图像处理, 能根据镜头的光学特性模型及倾斜程度, 对在不同位置的影像进行更合适的去模糊化处理, 达到最佳的影像质素提升效 果, 避免影像局部位置出现锐度不足或不自然的情况。  [0032] The present invention and the conventional defuzzification image processing can more appropriately defuzzify the images at different positions according to the optical characteristic model of the lens and the degree of tilt, thereby achieving the best image quality improvement effect. Avoid situations where the sharpness of the image is insufficient or unnatural.
[0033] 另外, 在制作高像素自动对焦或光学防抖相机模組传统过程中, 对镜头倾斜程 度必须严格控制, 导致机器及生产成本极高, 做成相机模組的优格高昂, 未能 广泛地推广给普通用户。 通过本发明的方法及系统, 便能减低镜头倾斜程度的 标准, 有利于提高生产良率及降低成本, 让普通用户能享受高像素拍摄的乐趣 对附图的简要说明  [0033] In addition, in the traditional process of manufacturing a high-pixel autofocus or optical image stabilization camera module, the degree of tilt of the lens must be strictly controlled, resulting in extremely high machine and production costs, and the camera module is extremely expensive, failing to Widely promoted to ordinary users. By the method and system of the invention, the standard of the lens tilt degree can be reduced, which is beneficial to improving the production yield and reducing the cost, so that ordinary users can enjoy the joy of high pixel shooting.
附图说明  DRAWINGS
[0034] 图 la为相机模组处于对远焦吋的状态图;  [0034] FIG. 1a is a state diagram of the camera module in a far focus;
[0035] 图 lb为相机模组处于对近焦吋的状态图;  [0035] FIG. 1b is a state diagram of the camera module in a near focus state;
[0036] 图 lc为相机模组处于光学防抖前的状态图;  [0036] FIG. 1c is a state diagram of the camera module before optical image stabilization;
[0037] 图 Id为相机模组处于光学防抖后的状态图;  [0037] FIG. 1d is a state diagram of the camera module after optical anti-shake;
[0038] 图 2a为镜头倾斜导致成像倾斜吋的原理图一;  [0038] FIG. 2a is a schematic diagram 1 of the tilting of the lens causing the imaging tilt 吋;
[0039] 图 2b为镜头倾斜导致成像倾斜吋的原理图二;  [0039] FIG. 2b is a schematic diagram 2 of the tilting of the lens causing the imaging tilt 吋;
[0040] 图 3a为成像失焦距离和影像位置的关系图;  [0040] FIG. 3a is a relationship diagram of an image out-of-focus distance and an image position;
[0041] 图 3b为失焦距离和影像模糊量的关系图;  [0041] FIG. 3b is a relationship diagram between the out-of-focus distance and the image blur amount;
[0042] 图 4a为调整去模糊化前的力度关系图;  [0042] FIG. 4a is a force relationship diagram before adjusting deblurring;
[0043] 图 4b为调整去模糊化后的力度关系图;  [0043] FIG. 4b is a diagram showing the relationship of the force after adjusting the defuzzification;
[0044] 图 5为本发明能修正因镜头倾斜做成影像模糊系统的框图;  [0044] FIG. 5 is a block diagram of the present invention capable of correcting an image blurring system caused by tilting of a lens;
[0045] 图 6为本发明能修正因镜头倾斜造成的影像模糊的方法的流程图。  6 is a flow chart of a method for correcting image blur caused by tilt of a lens according to the present invention.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式 [0046] 以下结合附图和本发明优选的具体实施例对本发明作进一步地说明。 BEST MODE FOR CARRYING OUT THE INVENTION The invention will now be further described with reference to the drawings and preferred embodiments of the invention.
[0047] 参照图 6中所示, 本发明能修正因镜头倾斜造成的影像模糊的方法, 包括有如 下步骤: Referring to FIG. 6, the present invention can correct the image blur caused by the tilt of the lens, and includes the following steps:
[0048] 1) 、 预先准确地建立不同影像位置及镜头倾斜角度和镜头模糊量关系的模型 [0048] 1), a model for accurately establishing different image positions and relationship between the lens tilt angle and the lens blur amount in advance
, 将模型存储在记忆体中; , storing the model in memory;
[0049] 2) 、 在拍照前, 图像处理器读取记忆体中不同影像位置及镜头倾斜角度和镜 头模糊量关系的模型; [0049] 2) before the photographing, the image processor reads a model of different image positions in the memory and a relationship between the tilt angle of the lens and the amount of lens blur;
[0050] 3) 、 图像处理器发指令到致动器驱动芯片, 驱动镜头进行自动对焦或光学防 抖处理;  [0050] 3), the image processor sends a command to the actuator driving chip, and drives the lens to perform auto focus or optical anti-shake processing;
[0051] 4) 、 图像处理器发指令到影像传感器, 控制影像传感器进行拍照, 同吋询问 致动器驱动芯片, 从致动器驱动芯片中获取当前镜头所处的行程和镜头倾斜角 度;  [0051] 4), the image processor sends a command to the image sensor, controls the image sensor to take a picture, and simultaneously queries the actuator drive chip to obtain the stroke and the lens tilt angle of the current lens from the actuator drive chip;
[0052] 5) 、 图像处理器根据当前镜头所处的行程和镜头倾斜角度数据, 结合所述模 型, 计算影像传感器输出的影像不同位置的模糊量;  [0052] 5) The image processor calculates, according to the stroke of the current lens and the lens tilt angle data, the blur amount of different positions of the image output by the image sensor according to the model;
[0053] 6) 、 图像处理器根据影像不同位置的模糊量, 对影像进行去模糊化图像处理[0053] 6), the image processor defuzzifies the image according to the amount of blur of different positions of the image
, 得到清晰图像; , get a clear image;
[0054] 7) 、 图像处理器传送处理后的去模糊化的清晰图像至主控制器。  [0054] 7) The image processor transmits the processed defuzzified clear image to the main controller.
[0055] 在第一步骤中, 可以通过镜头光学仿真软件或实验方法, 准确地建立不同影像 位置及镜头倾斜角度和镜头模糊量关系的模型。  [0055] In the first step, the model of the relationship between different image positions and the lens tilt angle and the lens blur amount can be accurately established by the lens optical simulation software or the experimental method.
[0056] 参照图 4 a调整去模糊化前的力度关系图和图 4b调整去模糊化后的力度关系图; 本发明根据不同程度的影像模糊, 调整去模糊化的力度。 修正前的影像边缘位 置较中间模糊, 修正后整体的影像变成清晰, 没有出现不自然的影像。 [0056] Referring to FIG. 4a, the velocity relationship diagram before the defuzzification is adjusted and FIG. 4b adjusts the velocity relationship diagram after the defuzzification; the invention adjusts the defuzzification intensity according to different degrees of image blur. The edge of the image before correction is more blurred than the middle. After the correction, the overall image becomes clear and no unnatural images appear.
[0057] 本发明的核心是根据在不同情况下的镜头倾斜程度, 根据模型推算在不同位置 的影像模糊程度, 并对不同影像位置进行合适的去模糊化图像处理。 [0057] The core of the present invention is to estimate the degree of image blurring at different positions according to the model according to the degree of tilt of the lens in different situations, and perform appropriate defuzzification image processing on different image positions.
[0058] 有关建立镜头在不同倾斜度下做成模糊量的模型, 可以通过实际测量影像, 或 光学仿真的方法。 有关在不同情况下的镜头倾斜程度, 可以根据实际测量个别 镜头在不同情况下的倾斜程度, 或机械结构模型。 [0058] A model for establishing a blur amount of a lens at different inclinations can be obtained by actually measuring an image, or an optical simulation method. Regarding the degree of tilt of the lens in different situations, the degree of tilt of the individual lens under different conditions, or the mechanical structure model, can be measured according to the actual situation.
[0059] 参照图 5中所示, 本发明能修正因镜头倾斜做成的影像模糊的系统, 包括有主 板和相机模组; [0059] Referring to FIG. 5, the present invention can correct a system for blurring an image caused by tilting of a lens, including a master. Board and camera module;
[0060] 所述的主板包含有主控制器和图像处理器; 主控制器连接控制图像处理器, 接 受并输出图像处理器处理后的去模糊化的清晰图像;  [0060] The main board includes a main controller and an image processor; the main controller is connected to the control image processor, and receives and outputs a clear image that is defuzzified after being processed by the image processor;
[0061] 所述的相机模组包括有: 用于光学成像的镜头, 位于镜头后方用于光电转换形 成电子影像输出的影像传感器, 控制镜头的行程和镜头倾斜角度实现自动对焦 或光学防抖的镜头致动器, 连接控制镜头致动器的致动器驱动芯片, 以及存储 不同影像位置及镜头倾斜角度和镜头模糊量关系的模型的记忆体;  [0061] The camera module includes: a lens for optical imaging, an image sensor located at the rear of the lens for photoelectric conversion to form an electronic image output, controlling the stroke of the lens and the tilt angle of the lens to achieve auto focus or optical image stabilization. a lens actuator, connected to an actuator driving chip that controls the lens actuator, and a memory that stores models of different image positions and relationship between the lens tilt angle and the lens blur amount;
[0062] 所述的影像传感器连接所述图像处理器, 为图像处理器提供实吋影像和拍照后 输出影像; 图像处理器连接控制影像传感器拍照; [0062] the image sensor is connected to the image processor, and the image processor is provided with a real image and a photographed image; the image processor is connected to control the image sensor to take a picture;
[0063] 所述的图像处理器连接控制致动器驱动芯片进行自动对焦或光学防抖处理, 致 动器驱动芯片输出当前镜头所处的行程和镜头倾斜角度数据给图像处理器; [0064] 所述的记忆体为图像处理器提供影像进行去模糊化图像处理作参考所需模型信 息。 [0063] the image processor is connected to control the actuator driving chip to perform auto focus or optical anti-shake processing, and the actuator driving chip outputs the stroke and lens tilt angle data of the current lens to the image processor; [0064] The memory provides image processing for the image processor to perform defuzzification image processing for reference model information.
[0065] 所述的主控制器替代或包含图像处理器, 或集成在相机模组中。  [0065] The main controller replaces or includes an image processor, or is integrated in a camera module.
[0066] 本实施例为本发明优选实施方式, 其他凡其原理与方法与本实施例相同或近似 的, 均在本发明保护范围之内。 The present embodiment is a preferred embodiment of the present invention, and other principles and methods are the same as or similar to those of the present embodiment, and are all within the protection scope of the present invention.

Claims

权利要求书 Claim
[权利要求 1] 能修正因镜头倾斜造成的影像模糊的方法, 其特征在于所述方法的步 骤如下:  [Claim 1] A method of correcting image blur caused by tilt of a lens, characterized in that the steps of the method are as follows:
1) 、 预先准确地建立不同影像位置及镜头倾斜角度和镜头模糊量关 系的模型, 将模型存储在记忆体中;  1), accurately establishing a model of different image positions and lens tilt angles and lens blur amount relationships in advance, and storing the models in the memory;
2) 、 在拍照前, 图像处理器读取记忆体中不同影像位置及镜头倾斜 角度和镜头模糊量关系的模型;  2) Before the camera is taken, the image processor reads a model of different image positions in the memory and the relationship between the lens tilt angle and the lens blur amount;
3) 、 图像处理器发指令到致动器驱动芯片, 驱动镜头进行自动对焦 或光学防抖处理;  3), the image processor sends a command to the actuator driving chip, and drives the lens to perform auto focus or optical anti-shake processing;
4) 、 图像处理器发指令到影像传感器, 控制影像传感器进行拍照, 同吋询问致动器驱动芯片, 从致动器驱动芯片中获取当前镜头所处的 行程和镜头倾斜角度;  4), the image processor sends a command to the image sensor, controls the image sensor to take a picture, and simultaneously queries the actuator drive chip, and obtains the stroke and the lens tilt angle of the current lens from the actuator drive chip;
5) 、 图像处理器根据当前镜头所处的行程和镜头倾斜角度数据, 结 合所述模型, 计算影像传感器输出的影像不同位置的模糊量; 5), the image processor combines the model according to the stroke of the current lens and the lens tilt angle data, and calculates a blur amount of different positions of the image output by the image sensor;
6) 、 图像处理器根据影像不同位置的模糊量, 对影像进行去模糊化 图像处理, 得到清晰图像; 6) The image processor defuzzifies the image according to the amount of blurring of the image at different positions, and obtains a clear image;
7) 、 图像处理器传送处理后的去模糊化的清晰图像至主控制器。  7) The image processor transmits the processed defuzzified clear image to the main controller.
[权利要求 2] 实现权利要求 1所述方法的系统, 其特征在于所述系统包括有主板和 相机模组; [Claim 2] A system for implementing the method of claim 1 wherein said system comprises a motherboard and a camera module;
所述的主板包含有主控制器和图像处理器; 主控制器连接控制图像处 理器, 接受并输出图像处理器处理后的去模糊化的清晰图像; 所述的相机模组包括有: 用于光学成像的镜头, 位于镜头后方用于光 电转换形成电子影像输出的影像传感器, 控制镜头的行程和镜头倾斜 角度实现自动对焦或光学防抖的镜头致动器, 连接控制镜头致动器的 致动器驱动芯片, 以及存储不同影像位置及镜头倾斜角度和镜头模糊 量关系的模型的记忆体;  The main board includes a main controller and an image processor; the main controller is connected to the control image processor to receive and output a defuzzified clear image processed by the image processor; the camera module comprises: Optical imaging lens, image sensor located behind the lens for photoelectric conversion to form an electronic image output, lens actuator that controls lens stroke and lens tilt angle for autofocus or optical image stabilization, and connection to control lens actuator actuation a driver chip, and a memory for storing models of different image positions and lens tilt angles and lens blur amounts;
所述的影像传感器连接所述图像处理器, 为图像处理器提供实吋影像 和拍照后输出影像; 图像处理器连接控制影像传感器拍照; 所述的图像处理器连接控制致动器驱动芯片进行自动对焦或光学防抖 处理, 致动器驱动芯片输出当前镜头所处的行程和镜头倾斜角度数据 给图像处理器; The image sensor is connected to the image processor to provide a real image for the image processor and to output an image after photographing; the image processor is connected to control the image sensor to take a picture; The image processor is connected to control an actuator driving chip for autofocus or optical anti-shake processing, and the actuator driving chip outputs a stroke and a lens tilt angle data of the current lens to the image processor;
所述的记忆体为图像处理器提供影像进行去模糊化图像处理作参考所 需模型信息。  The memory provides image processing for the image processor to perform defuzzification image processing for reference model information.
[权利要求 3] 根据权利要求 2所述的系统, 其特征在于: 所述的主控制器替代或包 含图像处理器, 或集成在相机模组中。  [Clave 3] The system according to claim 2, wherein: the main controller replaces or includes an image processor, or is integrated in a camera module.
PCT/CN2016/109319 2016-12-09 2016-12-09 Method and system for correcting image blur caused by lens tilt WO2018103105A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/109319 WO2018103105A1 (en) 2016-12-09 2016-12-09 Method and system for correcting image blur caused by lens tilt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/109319 WO2018103105A1 (en) 2016-12-09 2016-12-09 Method and system for correcting image blur caused by lens tilt

Publications (1)

Publication Number Publication Date
WO2018103105A1 true WO2018103105A1 (en) 2018-06-14

Family

ID=62491693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109319 WO2018103105A1 (en) 2016-12-09 2016-12-09 Method and system for correcting image blur caused by lens tilt

Country Status (1)

Country Link
WO (1) WO2018103105A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101233746A (en) * 2005-08-04 2008-07-30 松下电器产业株式会社 Imaging device
CN101489045A (en) * 2008-01-17 2009-07-22 华晶科技股份有限公司 Method for determining camera imaging quality by motion sensor and light sensing value
US20110044554A1 (en) * 2009-08-21 2011-02-24 Konica Minolta Systems Laboratory, Inc. Adaptive deblurring for camera-based document image processing
CN103440624A (en) * 2013-08-07 2013-12-11 华中科技大学 Image deblurring method and device based on motion detection
CN106707658A (en) * 2016-12-09 2017-05-24 东莞佩斯讯光电技术有限公司 Method and system capable of correcting image fuzziness caused by lens inclination
CN206348572U (en) * 2016-12-09 2017-07-21 东莞佩斯讯光电技术有限公司 The system that energy modifying factor camera lens tilts the image blur caused

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101233746A (en) * 2005-08-04 2008-07-30 松下电器产业株式会社 Imaging device
CN101489045A (en) * 2008-01-17 2009-07-22 华晶科技股份有限公司 Method for determining camera imaging quality by motion sensor and light sensing value
US20110044554A1 (en) * 2009-08-21 2011-02-24 Konica Minolta Systems Laboratory, Inc. Adaptive deblurring for camera-based document image processing
CN103440624A (en) * 2013-08-07 2013-12-11 华中科技大学 Image deblurring method and device based on motion detection
CN106707658A (en) * 2016-12-09 2017-05-24 东莞佩斯讯光电技术有限公司 Method and system capable of correcting image fuzziness caused by lens inclination
CN206348572U (en) * 2016-12-09 2017-07-21 东莞佩斯讯光电技术有限公司 The system that energy modifying factor camera lens tilts the image blur caused

Similar Documents

Publication Publication Date Title
CN106707658B (en) Method and system for correcting image blur caused by lens tilt
US6985177B2 (en) Image sensing system and its control method
EP2171685B1 (en) Image processor, image processing method, digital camera, and imaging apparatus
US7889983B2 (en) Imaging apparatus with camera-shake correction function, camera-shake correction device, and camera-shake correction method
JP6486656B2 (en) Imaging device
US8456566B2 (en) Optical apparatus with unit for correcting blur of captured image caused by displacement of optical apparatus in optical-axis direction
US20100177979A1 (en) Image processing apparatus and image processing method
JP2007128077A (en) Systems and methods for improving autofocus in digital imaging systems
JP2004120014A (en) Camera and camera system
JP2002325199A (en) Electronic imaging device
JP2002365524A (en) Autofocus device and imaging device using the same
JP2002027305A (en) Image pickup system and its control method
JP7207888B2 (en) CONTROL DEVICE, IMAGING DEVICE, CONTROL METHOD OF CONTROL DEVICE, AND PROGRAM
US8582016B2 (en) Photographing apparatus and focus detecting method using the same
JP2017161891A5 (en)
WO2018103105A1 (en) Method and system for correcting image blur caused by lens tilt
JP2017161891A (en) Imaging apparatus
JP4816337B2 (en) Image correction apparatus, camera, and image correction program
JP2004328606A (en) Imaging device
JP2009267681A (en) Blur corrector and optical device
JP2022037033A (en) Imaging apparatus
US20120188410A1 (en) Imaging device
JP6335671B2 (en) Image blur correction apparatus and image blur correction method
JP6341250B2 (en) Interchangeable lenses and cameras
TWI395473B (en) Automatic focusing system and method under low-illumination

Legal Events

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

Ref document number: 16923171

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.10.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16923171

Country of ref document: EP

Kind code of ref document: A1