KR100843480B1 - Auto focusing camera module - Google Patents

Auto focusing camera module Download PDF

Info

Publication number
KR100843480B1
KR100843480B1 KR1020070058597A KR20070058597A KR100843480B1 KR 100843480 B1 KR100843480 B1 KR 100843480B1 KR 1020070058597 A KR1020070058597 A KR 1020070058597A KR 20070058597 A KR20070058597 A KR 20070058597A KR 100843480 B1 KR100843480 B1 KR 100843480B1
Authority
KR
South Korea
Prior art keywords
image
focus value
focus
lens
camera module
Prior art date
Application number
KR1020070058597A
Other languages
Korean (ko)
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 KR1020070058597A priority Critical patent/KR100843480B1/en
Application granted granted Critical
Publication of KR100843480B1 publication Critical patent/KR100843480B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/02Mountings, adjusting means, or light-tight connections, for optical elements for lenses
    • G02B7/04Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification
    • G02B7/09Mountings, adjusting means, or light-tight connections, for optical elements for lenses with mechanism for focusing or varying magnification adapted for automatic focusing or varying magnification
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • G06F17/147Discrete orthonormal transforms, e.g. discrete cosine transform, discrete sine transform, and variations therefrom, e.g. modified discrete cosine transform, integer transforms approximating the discrete cosine transform
    • 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/0053Driving means for the movement of one or more optical element

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Mathematical Analysis (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Discrete Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

An auto focusing camera module is provided to perform the DCT conversion of image signals and quantize the converted image signals to generate a separate focus value when it is difficult to focus automatically as there is almost no change of a focus value based on the sharpness of a photographed image, thereby performing an auto focusing function accurately. An image signal processor(110) photographs images by focus position through a lens which is spaced at predetermined intervals and moves to plural focus positions, converts each photographed image into image signals, detects plural edge values from the image signals, and generates a first focus value, the total of the edge values, by focus position respectively. An image processor(120) performs the DCT(Discrete Cosine Transform) of the image signals respectively and generates a second focus value that the DCT-converted image signals are quantized in the preset number of quantization steps. A driving unit(130) adjusts the focus position of the lens according to the first focus value, and adjusts the focus position of the lens according to the second focus value when a change rate according to the transition of the first focus value generated by focus position is smaller than a preset change rate.

Description

자동 초점 조절 카메라 모듈{AUTO FOCUSING CAMERA MODULE}Auto focusing camera module {AUTO FOCUSING CAMERA MODULE}

도 1은 종래의 카메라 모듈의 구성도.1 is a block diagram of a conventional camera module.

도 2는 본 발명의 카메라 모듈의 구성도.2 is a block diagram of a camera module of the present invention.

도 3은 본 발명의 카메라 모듈에 채용된 영상 처리부의 구성도.3 is a block diagram of an image processing unit employed in the camera module of the present invention.

도 4는 본 발명의 카메라 모듈의 오토 포커싱 동작 흐름도.4 is a flowchart illustrating an auto focusing operation of the camera module of the present invention.

도 5의 (a) 및 (b)는 초점값과 렌즈 이동 거리의 관계를 나타내는 그래프.5 (a) and 5 (b) are graphs showing a relationship between a focus value and a lens moving distance.

도 6은 본 발명의 카메라 모듈에 채용되는 제2 초점값의 실시예를 나타내는 도면. 6 is a view showing an embodiment of a second focus value employed in the camera module of the present invention.

<도면의 주요 부호에 대한 상세한 설명><Detailed Description of Major Symbols in Drawing>

100...카메라 모듈 110...이미지 신호 처리부100 ... camera module 110 ... image signal processor

120...영상 처리부 121...이미지 포맷기120 Image processing unit 121 Image formatter

122...DCT 변환기 123...이미지 재배열기122 ... DCT Converter 123 ... Image Rearranger

124...양자화기 125...적분기124 ... Quantifier 125 ... Integrator

126...윈도우 설정기 130...구동부126 Window configurator 130

131...제어기 132...구동기131 ... controller 132 ... driver

132a...액츄에이터 드라이버 132b...액츄에이터132a ... actuator driver 132b ... actuator

본 발명은 카메라 모듈에 관한 것으로 보다 상세하게는 영상 처리 블럭으로부터 추출된 초점값에 따라 렌즈를 구동하여 정확한 자동 초점 조절 기능을 수행하는 자동 초점 조절 카메라 모듈에 관한 것이다.The present invention relates to a camera module, and more particularly, to an auto focus camera module that performs an accurate auto focus function by driving a lens according to a focus value extracted from an image processing block.

최근 들어 휴대가 간편한 개인용 휴대 전자 장치가 널리 보급됨에 따라, 보다 다양한 기능을 수행하는 개인용 휴대 전자 장치에 대한 사용자의 요구가 급증하고 있다.Recently, as portable personal electronic devices that are easy to carry are widely used, user demands for personal portable electronic devices that perform various functions are rapidly increasing.

일반적으로, 상술한 개인용 휴대 전자 장치로는 이동 통신 단말기, 휴대용 멀티 플레이어, 디지털 카메라 등을 들 수 있으며, 사용자의 요구를 충족하기 위해 이미지를 촬상하는 카메라 모듈이 대부분 탑재되고 있다.In general, the above-described personal portable electronic device may include a mobile communication terminal, a portable multiplayer, a digital camera, and the like, and a camera module for capturing an image in order to satisfy a user's needs is mostly installed.

이러한 카메라 모듈은 선명한 이미지를 얻기 위해 피사체의 결상을 자동으로 조절하는 자동 초점 조절 기능을 구비한다.The camera module has an auto focusing function that automatically adjusts an image of a subject to obtain a clear image.

도 1은 종래의 카메라 모듈의 구성도이다.1 is a block diagram of a conventional camera module.

도 1을 참조하면, 종래의 카메라 모듈(10)은 피사체를 수광하는 렌즈(11)로부터의 이미지를 이미지 처리부(12)를 통해 이미지 신호로 변환한다. 한편, 구동부(13)는 이미지 처리부(12)로부터 렌즈(11)로부터의 이미지의 엣지값을 총합한 초점값을 전달받아 이에 기초하여 초점값이 가장 큰 위치로 렌즈를 이동시킨다.Referring to FIG. 1, the conventional camera module 10 converts an image from the lens 11 for receiving a subject into an image signal through the image processor 12. Meanwhile, the driver 13 receives the focus value obtained by adding the edge values of the images from the lens 11 from the image processor 12 and moves the lens to the position having the largest focus value based on the received focus value.

상술한 종래의 카메라 모듈은 이미지의 엣지값에 따른 초점값을 이용하여 렌즈를 이동시킴으로서 자동 초점 조절 기능을 수행하는데, 촬상된 이미지의 피사체가 어둡거나, 명암이 분명하지 않거나 또는 피사체의 윤곽선 중 세로선이 없는 경우에는 상기 초점값이 낮게 나오기 때문에 정확한 자동 초점 조절 기능을 수행할 수 없는 문제점이 있다.The above-described conventional camera module performs an auto focusing function by moving a lens by using a focus value according to an edge value of an image, and the subject of the captured image is dark, the contrast is not clear, or the vertical line of the subject's outline. If it is not there, there is a problem in that the automatic focusing function cannot be performed because the focus value is low.

상술한 문제점을 해결하기 위해, 본 발명의 목적은 영상 처리 블럭으로 부터 추출된 초점값에 따라 렌즈를 구동하여 정확한 자동 초점 조절 기능을 수행하는 자동 초점 조절 카메라 모듈을 제공하는 것이다.In order to solve the above problems, an object of the present invention is to provide an auto focusing camera module that performs an accurate auto focusing function by driving a lens according to a focus value extracted from an image processing block.

상술한 목적을 달성하기 위해, 본 발명의 카메라 모듈은 사전에 설정된 간격으로 이격된 복수의 초점 위치로 이동되는 렌즈를 통해 상기 초점 위치별로 이미지를 촬상하고, 상기 촬상된 각 이미지를 이미지 신호로 변환하며, 상기 이미지 신호로부터 복수의 엣지값을 검출하여 상기 엣지값의 총합인 제1 초점값을 상기 초점 위치별로 각각 생성하는 이미지 신호 처리부와, 상기 이미지 신호 처리부로부터의 상기 이미지 신호를 각각 이산 코사인 변환(Discrete Cosine Transform)하고 변환된 값을 사전에 설정된 스텝으로 양자화한 제2 초점값을 생성하는 영상 처리부와, 상기 이미지 신호 처리부로부터의 상기 제1 초점값에 따라 상기 렌즈의 초점 위치를 조정하고, 상기 초점 위치별로 생성된 제1 초점값의 추이에 따른 변화율이 사전에 설정된 변화율 이하이면 상기 제2 초점값에 따라 상기 렌즈의 초점 위치를 조정 하는 구동부를 포함하는 것을 특징으로 한다.In order to achieve the above object, the camera module of the present invention captures an image for each of the focal positions through a lens moved to a plurality of focal positions spaced at predetermined intervals, and converts each of the captured images into an image signal And an image signal processor for detecting a plurality of edge values from the image signal and generating first focus values that are the sum of the edge values, for each of the focal positions, and discrete cosine transforming the image signals from the image signal processor. (Discrete Cosine Transform) and an image processor for generating a second focus value by quantizing the transformed value in a predetermined step, and adjusting a focal position of the lens according to the first focus value from the image signal processor, When the change rate according to the trend of the first focus value generated for each of the focus positions is equal to or less than a preset change rate According to the second group of focus value is characterized in that it comprises a drive unit for adjusting the focus position of the lens.

본 발명의 일 실시형태에 따르면, 상기 영상 처리부는 상기 이미지 신호 처리부로부터의 상기 이미지 신호를 사전에 설정된 크기를 갖는 복수의 윈도우로 포맷하는 이미지 포맷기와, 상기 이미지 포맷기로부터의 포맷된 이미지를 시간 영역에서 주파수 영역으로 이산 코사인 변환하는 변환기와, 상기 변환기로부터의 변환된 이미지를 저주파 성분부터 고주파 성분까지 순차적으로 배열하는 재배열기와, 상기 재배열기로부터 배열된 이미지를 사전에 설정된 스텝으로 양자화하는 양자화기와, 상기 구동부로부터의 요청에 따라 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 포함하는 초점값 영역을 설정하는 윈도우 설정기와, 상기 양자화기로부터의 양자화된 이미지 정보 중 상기 윈도우 설정기로부터 설정된 초점값 영역에 포함되는 이미지 정보를 적분하여 상기 제2 초점값을 전송하는 적분기를 포함할 수 있다.According to an embodiment of the present invention, the image processing unit formats an image signal from the image signal processing unit into a plurality of windows having a preset size, and a timed format of the formatted image from the image formatter. A transducer for discrete cosine transform from domain to frequency domain, a rearranger for sequentially arranging the converted images from the transducer from low frequency components to high frequency components, and quantization for quantizing the images arranged from the rearranger in predetermined steps A window setter configured to set a focus value region including at least a portion of the window having a predetermined size according to a request from the driver, and a focus value set from the window setter among quantized image information from the quantizer; Define the image contained in the area By an integrating said first integrator may include transmitting the second focus value.

본 발명의 일 실시형태에 따르면, 상기 이미지 신호 처리부로부터의 상기 제1 초점값의 변화율이 사전에 설정된 변화율 이하이면 상기 영상 처리부로부터의 상기 제2 초점값 중 가장 큰 초점값을 선택하여 상기 렌즈의 초점 위치 이동을 제어하는 제어기와, 상기 제어기의 제어에 따라 상기 렌즈의 위치 이동을 조정하는 액츄에이터 드라이버와, 상기 액츄에이터 드라이버로부터의 조정에 따라 상기 렌즈를 이동시키는 액츄에이터를 포함할 수 있다.According to one embodiment of the present invention, if the rate of change of the first focus value from the image signal processor is less than or equal to a preset rate of change, the largest focus value among the second focus values from the image processor is selected to determine the lens. A controller may be configured to control a focal position shift, an actuator driver to adjust the position shift of the lens according to the control of the controller, and an actuator to move the lens according to the adjustment from the actuator driver.

본 발명의 일 실시형태에 따르면, 상기 윈도우 설정기는 촬상된 이미지의 명암의 평균값을 포함하여 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 상기 초점값 영역으로 설정할 수 있다.According to an embodiment of the present disclosure, the window setter may set at least a portion of the window having a predetermined size as the focus value region, including an average value of contrast of the captured image.

본 발명의 다른 실시형태에 따르면, 상기 윈도우 설정기는 촬상된 이미지의 명암의 평균값을 제외하여 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 상기 초점값 영역으로 설정할 수 있다.According to another embodiment of the present invention, the window setter may set at least a portion of the window having the predetermined size as the focus value region except for an average value of contrast of the captured image.

이하, 도면을 참조하여 본 발명을 상세히 설명하도록 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명의 카메라 모듈의 구성도이다.2 is a block diagram of a camera module of the present invention.

도 2를 참조하면, 본 발명의 카메라 모듈(100)은 이미지 신호 처리부(110)와 영상 처리부(120)와 구동부(130)를 포함한다.Referring to FIG. 2, the camera module 100 of the present invention includes an image signal processor 110, an image processor 120, and a driver 130.

이미지 신호 처리부(110)는 렌즈로부터 수광된 이미지를 전기적으로 신호 변환하여 이미지 신호를 생성한다. 이에 더하여, 상기 이미지의 선명도를 총합하여 제1 초점값을 생성한다. 상기 제1 초점값은 구동부(130)에 전달된다.The image signal processor 110 electrically converts the image received from the lens to generate an image signal. In addition, the sharpness of the image is added to generate a first focus value. The first focus value is transmitted to the driver 130.

영상 처리부(120)는 이미지 신호 처리부(110)로부터의 상기 이미지 신호를 전달받아 디스플레이 가능한 영상으로 신호 변환한다. 더하여, 상기 이미지 신호를 이산 코사인 변환(Discrete Cosine Transform)하고 변환된 값을 사전에 설정된 스텝으로 양자화하여 제2 초점값을 생성한다.The image processor 120 receives the image signal from the image signal processor 110 and converts the signal into a displayable image. In addition, the image signal is discrete cosine transformed, and the transformed value is quantized in a predetermined step to generate a second focus value.

상술한 영상 처리부(120)에 관하여 도 3을 참조하여 보다 상세히 설명하도록 한다.The above-described image processor 120 will be described in more detail with reference to FIG. 3.

도 3은 본 발명의 카메라 모듈(100)에 채용된 영상 처리부(120)의 구성도이다.3 is a configuration diagram of the image processor 120 employed in the camera module 100 of the present invention.

도 3을 참조하면, 영상 처리부(120)는 이미지 포맷기(121), 변환기(122), 이미지 재배열기(123), 양자화기(124), 적분기(125) 및 윈도우 설정기(126)을 포함한다.Referring to FIG. 3, the image processor 120 includes an image formatter 121, a converter 122, an image rearranger 123, a quantizer 124, an integrator 125, and a window setter 126. do.

이미지 포맷기(121)는 상기 이미지 신호를 사전에 설정된 크기를 갖는 복수의 윈도우로 포맷한다. 이때, 상기 윈도우의 크기는 가로 및 세로의 픽셀이 8X8 크기로 설정할 수 있다.The image formatter 121 formats the image signal into a plurality of windows having a preset size. In this case, the size of the window may be set to 8x8 pixels in the horizontal and vertical pixels.

변환기(122)는 이미지 포맷기(121)로부터의 이미지를 이산 코사인 변환한다. 상기 이산 코사인 변환은 이미지에 포함된 이미지 정보를 시간 영역에서 주파수 영역으로 변환한다.Converter 122 converts the image from image formatter 121 to discrete cosine transform. The discrete cosine transform converts image information included in an image from a time domain to a frequency domain.

이미지 재배열기(123)는 변환기(122)로부터의 주파수 영역으로 변환된 이미지 정보를 저주파수 부터 고주파수까지 순차적으로 배열한다.The image rearranger 123 sequentially arranges the image information converted into the frequency domain from the converter 122 from the low frequency to the high frequency.

양자화기(124)는 이미지 재배열기(123)로부터의 배열된 주파수 성분 각각을 사전에 설정된 스텝으로 양자화한다.Quantizer 124 quantizes each of the arranged frequency components from image rearranger 123 in predetermined steps.

적분기(125)는 양자화기(124)로부터 양자화된 정보를 적분한다. 이때, 상기 사전에 설정된 크기의 윈도우 중 적어도 일부 영역을 포함하는 초점값 영역을 설정하고, 설정된 초점값 영역 내의 양자화된 정보를 적분하여 상기 제2 초점값을 생성한다.Integrator 125 integrates the quantized information from quantizer 124. In this case, a focus value area including at least a partial area of the window having a predetermined size is set, and the second focus value is generated by integrating quantized information in the set focus value area.

윈도우 설정기(126)는 구동부(130)로부터의 요청신호에 따라 상기 초점값 영역을 설정한다. 상기 초점값 영역은 다양하게 설정할 수 있으며, 이는 이후 도 6을 참조하여 상세히 설명하도록 한다.The window setter 126 sets the focus value area according to a request signal from the driver 130. The focus value region may be set in various ways, which will be described in detail later with reference to FIG. 6.

다시, 도 2를 참조하면, 본 발명의 카메라 모듈(100)은 구동부(130)를 포함한다.Referring back to FIG. 2, the camera module 100 of the present invention includes a driver 130.

구동부(130)는 제어기(131), 액츄에이터 드라이버(132a) 및 액츄에이터(132b)를 포함한다.The driver 130 includes a controller 131, an actuator driver 132a, and an actuator 132b.

제어기(131)는 이미지 신호 처리부(110)로부터 상기 제1 초점값을 전달받고, 상기 제1 초점값의 변화율이 사전에 설정된 변화율 이하이면 상기 영상 처리부에 상기 제2 초점값을 요청하여 상기 제2 초점값 중 변화율이 가장 큰 초점값을 선택하여 상기 렌즈의 구동을 제어한다.The controller 131 receives the first focus value from the image signal processor 110, and when the change rate of the first focus value is equal to or less than a preset change rate, requests the second focus value from the image processor to the second focus value. The driving of the lens is controlled by selecting a focus value having the largest change rate among the focus values.

액츄에이터 드라이버(132a)는 제어기(131)의 제어에 따라 상기 렌즈의 위치 이동을 조정한다.The actuator driver 132a adjusts the positional movement of the lens under the control of the controller 131.

액츄에이터(132b)는 액츄에이터 드라이버(132a)로부터의 조정에 따라 상기 렌즈를 상기 제2 초점값 중 변화율이 가장 큰 초점값을 갖는 위치로 이동시킨다.The actuator 132b moves the lens to the position having the largest focus value of the change rate among the second focus values according to the adjustment from the actuator driver 132a.

도 4는 본 발명의 카메라 모듈의 오토 포커싱 동작 흐름도이다.4 is a flowchart illustrating an auto focusing operation of the camera module of the present invention.

도 4를 참조하면, 본 발명의 카메라 모듈의 오토 포커싱 동작을 볼 수 있다.Referring to FIG. 4, an auto focusing operation of the camera module of the present invention can be seen.

도 5의 (a) 및 (b)는 초점값과 렌즈 이동 거리의 관계를 나타내는 그래프이다.5A and 5B are graphs showing a relationship between a focus value and a lens moving distance.

도 5의 (a)는 촬상된 이미지의 명암이 불명확하여 렌즈의 이동 거리에 따라 초점값의 변화가 없는 그래프이고, 도 5의 (b)는 본 발명의 카메라 모듈을 통해 초점값의 변화율이 발생한 그래프이다.5 (a) is a graph in which the contrast of the captured image is unclear and the focus value does not change according to the moving distance of the lens, and FIG. 5 (b) shows the rate of change of the focus value through the camera module of the present invention. It is a graph.

도 6은 본 발명의 카메라 모듈에 채용되는 제2 초점값의 실시예를 나타내는 도면이다.6 is a view showing an embodiment of a second focus value employed in the camera module of the present invention.

도 6을 참조하면 상기 제2 초점값을 형성하는 초점값 영역을 설정하는 데 있어 다양한 실시예를 볼 수 있다. Referring to FIG. 6, various embodiments of setting a focus value area forming the second focus value may be seen.

이하, 도면을 참조하여 본 발명의 작용 및 효과에 대하여 상세히 설명하도록 한다.Hereinafter, with reference to the drawings will be described in detail the operation and effect of the present invention.

도 2 내지 도 6을 참조하면, 먼저 이미지 처리부(110)는 상기 렌즈로부터 찰상된 이미지의 엣지값을 검출하고, 상기 엣지값을 총합한 제1 초점값을 생성한다(S10). 더하여, 이미지 처리부(110)는 상기 이미지를 전기적으로 신호 변환하여 이미지 신호를 생성한다. 상기 제1 초점값은 구동부(130)에 전달되고, 상기 이미지 신호는 영상 처리부(120)에 전달된다.2 to 6, first, the image processor 110 detects an edge value of an image scratched from the lens, and generates a first focus value obtained by adding up the edge values (S10). In addition, the image processor 110 electrically converts the image to generate an image signal. The first focus value is transmitted to the driver 130, and the image signal is transmitted to the image processor 120.

이후, 구동부(130)의 제어기(131)는 상기 제1 초점값에 따라 상기 렌즈의 위치를 조정하여 상기 제1 초점값이 가장 큰 위치에 렌즈를 고정시킨다. 이때, 상기 제1 초점값이 도 5의 (a)와 같이 렌즈의 위치에 따른 변화율이 사전에 설정된 변화율 이하이면, 제어기(131)는 영상 처리부(120)에 제2 초점값을 요청한다(S20).Thereafter, the controller 131 of the driving unit 130 adjusts the position of the lens according to the first focus value to fix the lens at the position where the first focus value is the largest. In this case, when the change rate according to the position of the lens is equal to or less than a preset change rate as shown in FIG. 5A, the controller 131 requests the image processor 120 for the second focus value (S20). ).

영상 처리부(120)는 상기 이미지 신호를 전송받아 이미지 포맷기(121)를 통해 사전에 설정된 크기를 갖는 복수의 윈도우로 포맷하고, 변환기(122)를 통해 이산 코사인 변환되어 시간영역에서 주파수 영역으로 변환된다. 이후, 이미지 재배열기(123)는 사전에 설정된 크기의 윈도우에 존재하는 이미지 정보를 사전에 설정된 주파수 대역을 갖는 저주파수 대역부터 고주파수 대역까지 순차적으로 배열한다.The image processor 120 receives the image signal and formats it into a plurality of windows having a predetermined size through the image formatter 121, and discrete cosine-converts the transducer 122 to convert from the time domain to the frequency domain. do. Thereafter, the image rearranger 123 sequentially arranges image information existing in a window having a preset size from a low frequency band having a preset frequency band to a high frequency band.

이후, 양자화기(124)는 윈도우에 배열된 이미지 정보를 사전에 설정된 스텝으로 양자화한다. 양자화된 각 이미지 정보는 적분기를 통해 적분되어 상기 제2 초점값으로 제공된다. 이때, 윈도우 설정기(126)을 통해 상기 윈도우 중 일부 영역을 상기 제2 초점값의 초점 영역으로 설정할 수 있다.The quantizer 124 then quantizes the image information arranged in the window in a predetermined step. Each quantized image information is integrated through an integrator and provided to the second focus value. In this case, a partial area of the window may be set as a focus area of the second focus value through the window setter 126.

도 6을 참조하면, 상기 윈도우는 가로 및 세로의 픽셀수가 8X8 크기로 설정될 수 있으며, 상기 윈도우의 첫번째행 및 첫번째열에는 상기 이미지의 명암의 평균값이 존재하고 이외의 행 및 열에는 주파수 대역별로 양자화된 값이 존재한다.Referring to FIG. 6, the number of horizontal and vertical pixels may be set to a size of 8 × 8, and an average value of contrast of the image is present in the first row and the first column of the window, and each frequency band is included in the other rows and columns. There is a quantized value.

도 6의 모드 0번과 같이 초점값 영역을 설정할 경우 촬상된 이미지에 수직 엣지값이 많을 시에 초점값의 변화율이 크게 되어 자동 초점 조절에 효과적이고, 모드 1번과 같이 초점값 영역을 설정할 경우 촬상된 이미지에 수평 엣지값이 많을 시에 효과적이며, 모드 2번의 경우 촬상된 이미지에 대각선 엣지값이 많을 경우에 효과적이다. 모드 3 내지 6의 경우에는 촬상된 이미지가 조도가 낮거나 명암차가 없는 경우에 효과적이다.When the focus value area is set as shown in mode 0 of FIG. 6, when the captured image has a large number of vertical edge values, the rate of change of the focus value becomes large, which is effective for auto focusing. It is effective when there are many horizontal edge values in the picked-up image, and in mode 2, it is effective when there are many diagonal edge values in the picked-up image. In the case of the modes 3 to 6, it is effective when the photographed image has low illumination or no contrast.

이는 도 5의 (b)와 같이, 렌즈의 위치에 따라 제2 초점값의 변화율이 크기 때문에 자동 초점 조절 기능을 수행하기에 효과적이다.This is effective to perform the auto focus adjustment function as the rate of change of the second focus value is large according to the position of the lens as shown in FIG.

구동부(130)는 영상 처리부(120)로부터 상기 제2 초점값을 전달받아 상기 제2 초점값에 따라 상기 렌즈의 위치를 이동시키는데, 이때 영상 처리부(120)는 상기 제2 초점값은 모드 0 내지 6 중 촬상된 이미지의 조건에 따라 어느 하나를 선택하여 상기 제2 초점값을 생성할 수도 있고, 모드 0 내지 6 모두를 선택하여 복수의 제2 초점값을 생성할 수도 있다(S30).The driver 130 receives the second focus value from the image processor 120 and shifts the position of the lens according to the second focus value. In this case, the image processor 120 sets the second focus value to a mode 0 to The second focus value may be generated by selecting any one according to the condition of the captured image among the six, or the plurality of second focus values may be generated by selecting all of modes 0 to 6 (S30).

구동부(130)는 상기 제2 초점값에 따라 상기 렌즈의 위치를 이동시키며 상기 제2 초점값이 가장 큰 위치로 상기 렌즈를 고정시킬 수 있다(S40). The driver 130 may move the position of the lens according to the second focus value and fix the lens to a position where the second focus value is the largest (S40).

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고 후술하는 특허청구범위에 의해 한정되며, 본 발명의 구성은 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 그 구성을 다양하게 변경 및 개조할 수 있다는 것을 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 쉽게 알 수 있다.The present invention described above is not limited to the above-described embodiment and the accompanying drawings, but is defined by the claims below, and the configuration of the present invention may be modified in various ways without departing from the technical spirit of the present invention. It will be apparent to those skilled in the art that the present invention may be changed and modified.

상술한 바와 같이, 본 발명에 따르면 촬상된 이미지의 선명도를 기초로 하는 초점값이 변화가 거의 없어 자동 초점이 용이하지 않을 경우 이미지 신호를 이산 코사인 변환하고 양자화한 별도의 초점값을 사용함으로써 정확한 자동 초점 조절 기능을 수행할 수 있다. As described above, according to the present invention, when the focus value based on the sharpness of the captured image is hardly changed and autofocus is not easy, accurate automatic operation is performed by using a separate focus value by discrete cosine transforming and quantizing the image signal. Focus adjustment can be performed.

Claims (5)

사전에 설정된 간격으로 이격된 복수의 초점 위치로 이동되는 렌즈를 통해 상기 초점 위치별로 이미지를 촬상하고, 상기 촬상된 각 이미지를 이미지 신호로 변환하며, 상기 이미지 신호로부터 복수의 엣지값을 검출하여 상기 엣지값의 총합인 제1 초점값을 상기 초점 위치별로 각각 생성하는 이미지 신호 처리부;The image is captured by the focal positions through a lens which is moved to a plurality of focal positions spaced at a predetermined interval, and the respective captured images are converted into image signals, and a plurality of edge values are detected from the image signals. An image signal processor configured to generate a first focus value, which is a sum of edge values, for each of the focal positions; 상기 이미지 신호 처리부로부터의 상기 이미지 신호를 각각 이산 코사인 변환(Discrete Cosine Transform)하고 변환된 값을 사전에 설정된 양자화 스텝수로 양자화한 제2 초점값을 생성하는 영상 처리부; 및An image processing unit for generating discrete second cosine transforms of the image signals from the image signal processing unit and quantizing the converted values by a preset number of quantization steps; And 상기 이미지 신호 처리부로부터의 상기 제1 초점값에 따라 상기 렌즈의 초점 위치를 조정하고, 상기 초점 위치별로 생성된 제1 초점값의 추이에 따른 변화율이 사전에 설정된 변화율 이하이면 상기 제2 초점값에 따라 상기 렌즈의 초점 위치를 조정하는 구동부Adjust the focus position of the lens according to the first focus value from the image signal processor, and if the change rate according to the trend of the first focus value generated for each focus position is equal to or less than a preset change rate, the second focus value is adjusted. Driving unit for adjusting the focus position of the lens accordingly 를 포함하는 것을 특징으로 하는 자동 초점 조절 카메라 모듈.Auto focusing camera module comprising a. 제1항에 있어서, 상기 영상 처리부는The image processing apparatus of claim 1, wherein the image processor 상기 이미지 신호 처리부로부터의 상기 이미지 신호를 사전에 설정된 크기를 갖는 복수의 윈도우로 포맷하는 이미지 포맷기;An image formatter for formatting the image signal from the image signal processor into a plurality of windows having a preset size; 상기 이미지 포맷기로부터의 포맷된 이미지를 시간 영역에서 주파수 영역으로 이산 코사인 변환하는 변환기;A transducer for discrete cosine transforming the formatted image from the image formatter from time domain to frequency domain; 상기 변환기로부터의 변환된 이미지를 저주파 성분부터 고주파 성분까지 순차적으로 배열하는 재배열기;A rearranger for sequentially arranging the converted image from the converter from a low frequency component to a high frequency component; 상기 재배열기로부터 배열된 이미지를 사전에 설정된 양자화 스텝수로 양자화하는 양자화기;A quantizer for quantizing the images arranged from the rearranger to a preset number of quantization steps; 상기 구동부로부터의 요청에 따라 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 포함하는 초점값 영역을 설정하는 윈도우 설정기; 및A window setter configured to set a focus value region including at least some of the windows having a predetermined size according to a request from the driver; And 상기 양자화기로부터의 양자화된 이미지 정보 중 상기 윈도우 설정기로부터 설정된 초점값 영역에 포함되는 이미지 정보를 적분하여 상기 제2 초점값을 전송하는 적분기An integrator that integrates the image information included in the focus value region set by the window setter among the quantized image information from the quantizer and transmits the second focus value. 를 포함하는 것을 특징으로 하는 자동 초점 조절 카메라 모듈.Auto focusing camera module comprising a. 제2항에 있어서, 상기 구동부는The method of claim 2, wherein the driving unit 상기 이미지 신호 처리부로부터의 상기 제1 초점값의 변화율이 사전에 설정된 변화율 이하이면 상기 영상 처리부로부터의 상기 제2 초점값 중 가장 큰 초점값을 선택하여 상기 렌즈의 초점 위치 이동을 제어하는 제어기;A controller for controlling the shift of the focus position of the lens by selecting the largest focus value among the second focus values from the image processor when the rate of change of the first focus value from the image signal processor is less than or equal to a preset change rate; 상기 제어기의 제어에 따라 상기 렌즈의 위치 이동을 조정하는 액츄에이터 드라이버; 및An actuator driver for adjusting a positional movement of the lens according to the control of the controller; And 상기 액츄에이터 드라이버로부터의 조정에 따라 상기 렌즈를 이동시키는 액츄에이터Actuator for moving the lens in accordance with the adjustment from the actuator driver 를 포함하는 것을 특징으로 하는 자동 초점 조절 카메라 모듈.Auto focusing camera module comprising a. 제2항에 있어서, The method of claim 2, 상기 윈도우 설정기는 촬상된 이미지의 명암의 평균값을 포함하여 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 상기 초점값 영역으로 설정하는 것을 특징으로 하는 자동 초점 조절 카메라 모듈.And the window setter sets at least a portion of the window having a predetermined size as the focus value region, including an average value of contrast of a captured image. 제2항에 있어서,The method of claim 2, 상기 윈도우 설정기는 촬상된 이미지의 명암의 평균값을 제외하여 상기 사전에 설정된 크기의 윈도우 중 적어도 일부를 상기 초점값 영역으로 설정하는 것을 특징으로 하는 자동 초점 조절 카메라 모듈.And the window setter sets at least a portion of the window having a predetermined size as the focus value region except for an average value of contrast of a captured image.
KR1020070058597A 2007-06-14 2007-06-14 Auto focusing camera module KR100843480B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070058597A KR100843480B1 (en) 2007-06-14 2007-06-14 Auto focusing camera module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070058597A KR100843480B1 (en) 2007-06-14 2007-06-14 Auto focusing camera module

Publications (1)

Publication Number Publication Date
KR100843480B1 true KR100843480B1 (en) 2008-07-03

Family

ID=39823617

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070058597A KR100843480B1 (en) 2007-06-14 2007-06-14 Auto focusing camera module

Country Status (1)

Country Link
KR (1) KR100843480B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160007011A (en) * 2014-07-10 2016-01-20 한화테크윈 주식회사 Auto focussing system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920004873A (en) * 1990-08-31 1992-03-28 보조 다꾸로 Auto focus imaging device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920004873A (en) * 1990-08-31 1992-03-28 보조 다꾸로 Auto focus imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160007011A (en) * 2014-07-10 2016-01-20 한화테크윈 주식회사 Auto focussing system and method
KR102025361B1 (en) 2014-07-10 2019-09-25 한화테크윈 주식회사 Auto focussing system and method

Similar Documents

Publication Publication Date Title
KR101131697B1 (en) Image pickup apparatus, method of controlling image pickup and computer readable recording medium
US6763187B2 (en) Camera apparatus with an auto focusing function
KR101278241B1 (en) Photographing apparatus and photographing method
KR100806690B1 (en) Auto focusing method and auto focusing apparatus therewith
KR100914084B1 (en) Image capture device and image capture method
US7424213B2 (en) Camera system, image capturing apparatus, and a method of an image capturing apparatus
US7764321B2 (en) Distance measuring apparatus and method
US20050232502A1 (en) Image coding method, imaging apparatus, and computer program
US7801436B2 (en) Photography apparatus, photography method, and photography program
US20100171844A1 (en) Imaging apparatus
JP4416462B2 (en) Autofocus method and autofocus camera
US7324150B2 (en) Imaging apparatus for determining a focused state
KR100645636B1 (en) Auto focusing apparatus using DCT parameter and method thereof
JP3820076B2 (en) Automatic focusing device, digital camera, portable information input device, focusing position detection method, and computer-readable recording medium
US8928799B2 (en) Imaging device and imaging method to perform autofocus operation to a subject
US8040429B2 (en) Electronic apparatus having autofocus camera function
KR100843480B1 (en) Auto focusing camera module
JP2001255451A (en) Automatic focusing device, digital camera and portable information input device
JP4612814B2 (en) Automatic focusing apparatus, control method therefor, and imaging apparatus
JP2006293383A (en) Automatic focusing device, digital camera, portable information input device, method for detecting focusing position, and computer-readable storage medium
JP2004222185A (en) Imaging device and clamping method therefor
JP2009077321A (en) Image recording device and image recording processing method
JP4574345B2 (en) Imaging device
JP2004151183A (en) Automatic focusing device, digital camera and portable information terminal equipment equipped with the automatic focusing device
KR100759856B1 (en) Imaging device and recording medium in which program of auto focus control method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130403

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20140325

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee