KR20070035802A - Apparatus and method for distortion compensation of camera lens in the mobile terminal - Google Patents

Apparatus and method for distortion compensation of camera lens in the mobile terminal Download PDF

Info

Publication number
KR20070035802A
KR20070035802A KR1020050090622A KR20050090622A KR20070035802A KR 20070035802 A KR20070035802 A KR 20070035802A KR 1020050090622 A KR1020050090622 A KR 1020050090622A KR 20050090622 A KR20050090622 A KR 20050090622A KR 20070035802 A KR20070035802 A KR 20070035802A
Authority
KR
South Korea
Prior art keywords
weight
image data
distance
pixel
lens
Prior art date
Application number
KR1020050090622A
Other languages
Korean (ko)
Other versions
KR100745289B1 (en
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 KR1020050090622A priority Critical patent/KR100745289B1/en
Publication of KR20070035802A publication Critical patent/KR20070035802A/en
Application granted granted Critical
Publication of KR100745289B1 publication Critical patent/KR100745289B1/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/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/21Circuitry for suppressing or minimising disturbance, e.g. moiré or halo

Abstract

본 발명은 휴대 단말기에 있어서, 특히 카메라 렌즈에 의한 화질 왜곡을 보상하기 위한 카메라 렌즈 왜곡 보상 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera lens distortion compensating apparatus and method for compensating image distortion caused by a camera lens, in particular, in a portable terminal.

본 발명에 따른 휴대 단말기에서 카메라 렌즈 왜곡 보상 장치는, 촬상되는 이미지 데이터의 수평 및 수직 동기 신호로부터 렌즈 중심부와 각 픽셀간의 거리를 측정하는 거리 측정수단과; 상기 측정된 거리에 따라 각 픽셀별 가중치를 결정하는 가중치 결정수단과; 촬상되는 이미지 데이터에 대해 상기 각 픽셀별 가중치를 적용하여 렌즈 중심부와 주변부 사이의 화면 밝기를 보정하는 가중치 적용수단을 포함하는 것을 특징으로 한다. In the portable terminal according to the present invention, a camera lens distortion compensating apparatus comprises: distance measuring means for measuring a distance between a lens center and each pixel from horizontal and vertical synchronization signals of image data to be photographed; Weight determination means for determining a weight for each pixel according to the measured distance; And weighting means for correcting screen brightness between the lens center and the peripheral part by applying the weight for each pixel to the image data to be photographed.

휴대 단말기, 카메라, 렌즈, 왜곡, 보정 Handheld, camera, lens, distortion, correction

Description

휴대 단말기에서의 카메라 렌즈 왜곡 보상 장치 및 방법{Apparatus and method for distortion compensation of camera lens in the mobile terminal} Apparatus and method for distortion compensation of camera lens in the mobile terminal

도 1은 렌즈를 통과한 영상 이미지를 나타낸 도면.1 is a view showing a video image passing through the lens.

도 2는 도 1에서 수평 및 수직 방향에 따른 렌즈 밝기 분포를 나타낸 도면.FIG. 2 is a diagram illustrating lens brightness distribution along horizontal and vertical directions in FIG. 1; FIG.

도 3은 본 발명에 따른 휴대 단말기에서의 렌즈 왜곡 보상 장치를 나타낸 블록 구성도. 3 is a block diagram illustrating a lens distortion compensating device in a mobile terminal according to the present invention;

도 4는 도 3의 거리 측정부의 상세 구성도.4 is a detailed configuration diagram of the distance measuring unit of FIG. 3.

도 5는 도 3의 가중치 결정부의 상세 구성도.5 is a detailed configuration diagram of the weight determining unit of FIG. 3.

도 6은 도 3의 가중치 결정부를 위한 테이블 연산 예를 나타낸 도면.6 is a diagram illustrating an example of a table operation for the weight determiner of FIG. 3.

도 7은 도 3의 가중치 적용부의 상세 구성도.7 is a detailed configuration diagram of the weight applying unit of FIG. 3.

도 8은 본 발명에 따른 휴대 단말기에서의 카메라 렌즈 왜곡 보상 방법을 나타낸 플로우 챠트.8 is a flowchart illustrating a method for compensating for lens distortion of a camera in a mobile terminal according to the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

110...거리 측정부 111...수평 계수기110 Distance measuring unit 111 Horizontal counter

112...수직 계수기 113,114,132...감산기112 ... Vertical Counter 113,114,132 ... Subtractor

115,116...제곱기 112...수직 계수기115,116 ... square 112 ... vertical counter

120...가중치 결정부 121...가중치 테이블120 ... weight determination section 121 ... weight table

122...보간부 130....가중치 적용부122 Interpolator 130 Weighting unit

131...곱셈기 133...동작모드 선택부131 ... Multiplier 133 ... Operation mode selector

본 발명은 휴대 단말기에 있어서, 특히 카메라 렌즈에 의한 화질 왜곡을 보상하기 위한 카메라 렌즈 왜곡 보상 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera lens distortion compensating apparatus and method for compensating image distortion caused by a camera lens, in particular, in a portable terminal.

오늘날 휴대 단말기는 단순한 전화로서의 기능뿐만 아니라, 다양한 부가적인 기능들이 제공되고 있다. 특히 휴대 단말기에 전화 기능과 다른 부가적인 기능이 복합된 복합 휴대 단말기(이하 휴대 단말기라 함)들이 개발되고 있다. 그 중에서 카메라와 휴대 전화기가 복합된 휴대 단말기는 영상을 촬영한 후 저장하고 필요시 재생하고, 배경 화면으로 사용할 수 도 있으며 이메일이나 전화번호를 이용하여 다른 기기에 전송할 수 있다. Today's portable terminals offer not only a simple telephone function, but also a variety of additional functions. In particular, composite portable terminals (hereinafter referred to as portable terminals) in which a telephone function and other additional functions are combined in a portable terminal have been developed. Among them, a mobile terminal, which is a combination of a camera and a mobile phone, can take a picture, store it, play it when necessary, use it as a wallpaper, and send it to another device using an email or a phone number.

이러한 휴대 단말기에 적용되는 카메라 모듈은 특성상 소형화시키기 때문에 렌즈의 광학적 성능이 상대적으로 떨어진다. 특히 렌즈의 중심부에서 주변으로 갈수록 밝기가 감소되는 렌즈 왜곡 즉, 렌즈 쉐이딩(lens shading) 현상이 대표적이다. 종래의 저급 CIF/VGA급 모듈에서는 필요성이 크게 대두되지 않았으나, 근래 출시되는 메가 픽셀급(1.3M, 2M, 3M 등) 카메라 모듈에서는 필수적으로 적용이 요구되고 있다. Since the camera module applied to such a portable terminal is miniaturized in nature, the optical performance of the lens is relatively low. In particular, lens distortion, that is, lens shading, in which brightness decreases from the center of the lens toward the periphery thereof is representative. Although the need for the conventional low-level CIF / VGA module has not been raised much, the application in the mega pixel class (1.3M, 2M, 3M, etc.) camera module that is recently released is required.

상기 렌즈 쉐이딩 현상이란, 외부로부터 들어오는 빛은 렌즈에서 굴절되어 이미지 센서에 상으로 형성된다. 이러한 빛의 굴절에 의해서 이미지 센서내의 빛의 세기가 일정하지 않는 왜곡을 발생시키는 현상이다.The lens shading phenomenon is that light coming from the outside is refracted by the lens and formed into an image sensor. The refraction of light causes a phenomenon in which the intensity of light in the image sensor is not constant.

도 1 및 도 2는 렌즈 쉐이딩에 의한 화면 밝기의 변화를 나타내고 있다. 1 and 2 illustrate a change in screen brightness due to lens shading.

도 1은 화면(10)상에 표시된 피사체(20)를 나타낸 도면이며, 도 2의 (a)는 렌즈의 수평 위치에서의 렌즈 쉐이딩에 의한 이미지 밝기의 변화를 나타낸 그래프이고, 도 2의 (b)는 렌즈의 수직 위치에서의 렌즈 쉐이딩에 의한 이미지 밝기의 변화를 나타낸 그래프이다. 도 2에서 보면 렌즈 쉐이딩에 의해서 렌즈의 중심부는 빛의 밝기가 높고 그 중심부에서 주변으로 멀어질수록 비 선형적으로 빛의 밝기가 감소하는 특징을 가지고 있다. FIG. 1 is a diagram illustrating a subject 20 displayed on a screen 10, and FIG. 2A is a graph illustrating a change in image brightness due to lens shading at a horizontal position of a lens, and FIG. ) Is a graph showing the change in image brightness due to lens shading at the vertical position of the lens. In FIG. 2, due to lens shading, the central portion of the lens has a high brightness of light and the brightness of the light decreases nonlinearly as it moves away from the central portion of the lens.

이러한 렌즈 쉐이딩 현상을 보상하기 위해 렌즈의 중심 위치로부터 거리에 따른 이미지의 밝기를 보상하는 장치가 필요하게 되었다.In order to compensate for such a lens shading phenomenon, an apparatus for compensating for brightness of an image according to a distance from a center position of a lens is required.

본 발명의 제1특징에 따르면 각 픽셀에 대한 렌즈의 중심부로부터 거리를 측정한 후, 그 중심부로부터 거리에 따라 생성된 비선형 보간계수를 각 픽셀의 데이터에 적용함으로써, 렌즈 중심부로부터 거리에 따른 이미지의 밝기를 보상할 수 있도록 한 카메라 시스템에서의 렌즈 왜곡 보상 장치 및 방법을 제공함에 있다.According to the first aspect of the present invention, after measuring the distance from the center of the lens for each pixel, by applying a nonlinear interpolation coefficient generated according to the distance from the center of the pixel to the data of each pixel, An object and method for compensating for lens distortion in a camera system to compensate for brightness may be provided.

상기한 목적 달성을 위한 본 발명에 따른 휴대 단말기에서 카메라 렌즈 왜곡 보상 장치는,Camera lens distortion compensation device in a mobile terminal according to the present invention for achieving the above object,

촬상되는 이미지 데이터의 수평 및 수직 동기 신호로부터 렌즈 중심부와 각 픽셀간의 거리를 측정하는 거리 측정수단과;Distance measuring means for measuring a distance between the lens center and each pixel from the horizontal and vertical synchronizing signals of the image data to be captured;

상기 측정된 거리에 따라 각 픽셀별 가중치를 결정하는 가중치 결정수단과;Weight determination means for determining a weight for each pixel according to the measured distance;

촬상되는 이미지 데이터에 대해 상기 각 픽셀별 가중치를 적용하여 렌즈 중심부와 주변부 사이의 화면 밝기를 보정하는 가중치 적용수단을 포함하는 것을 특징으로 한다. And weighting means for correcting screen brightness between the lens center and the peripheral part by applying the weight for each pixel to the image data to be photographed.

바람직하게, 상기 거리 측정수단은 이미지 데이터의 수평 및 수직 동기 신호를 입력받아 상기 이미지 데이터의 수평 및 수직 위치에 해당되는 정보를 생성하는 수평 및 수직 계수기와, 상기 수평 및 수직 계수기에 의해 생성된 수평 및 수직 위치 정보를 감산하고 감산된 결과를 각각 자승하는 거리 연산부와, 상기 감산 및 자승된 위치 정보를 정규화하여 거리를 측정하는 정규화부를 포함하는 것을 특징으로 한다. Preferably, the distance measuring means is a horizontal and vertical counter for generating information corresponding to the horizontal and vertical position of the image data by receiving the horizontal and vertical synchronization signal of the image data, the horizontal generated by the horizontal and vertical counter And a normalization unit configured to subtract the vertical position information and square the subtracted result, and normalize the subtracted and squared position information to measure the distance.

바람직하게, 상기 가중치 결정수단은 비선형 보정 계수를 갖고 상기 비선형 보정계수를 이용하여 상기 거리 측정부로부터 입력되는 거리별 인접 픽셀간의 기울기 및 각 픽셀의 가중치를 출력하는 가중치 테이블과, 상기 가중치 테이블로부터 출력되는 기울기 및 각 픽셀의 가중치를 선형 보간하고 선형 보간된 가중치를 가중치로 결정하여 출력하는 보간부를 포함하는 것을 특징으로 한다. Preferably, the weight determining means includes a weight table having a nonlinear correction coefficient and outputting a slope between adjacent pixels for each distance inputted from the distance measuring unit and a weight of each pixel using the nonlinear correction coefficient, and outputting the weight table from the weight table. And an interpolation unit configured to linearly interpolate the slope and the weight of each pixel and determine and output the linear interpolated weight as a weight.

바람직하게, 상기 가중치 적용부는 결정된 가중치를 이미지 데이터에 적용하기 위해서, 가중치에 이미지 데이터를 곱셈하는 곱셈기와, 상기 가중치에 이미지 데이터를 가산하는 가산기와, 상기 승산기 또는 가산기의 출력 중 옵셋 특성에 따라 어느 하나를 선택하여 출력하는 동작모드 선택부를 포함하는 것을 특징으로 한다. Preferably, the weight applier is configured to multiply the image data by the weight, an adder that adds the image data to the weight, and an output characteristic of the multiplier or the adder in order to apply the determined weight to the image data. It characterized in that it comprises an operation mode selection unit for selecting and outputting one.

본 발명에 따른 휴대 단말기의 카메라 렌즈 왜곡 보상방법은, Camera lens distortion compensation method of a mobile terminal according to the present invention,

촬상된 이미지 데이터의 수평 및 수직 동기 신호를 카운트하여 렌즈 중심부로부터 각 픽셀간의 거리를 측정하는 단계;Counting horizontal and vertical synchronizing signals of the captured image data to measure the distance between each pixel from the center of the lens;

상기 측정된 렌즈 중심으로부터 각 픽셀간의 거리 정보를 비선형 보정 계수를 이용하여 가중치를 결정하고, 결정된 가중치를 출력하는 단계;Determining a weight of distance information between each pixel from the measured lens center by using a nonlinear correction coefficient and outputting the determined weight;

상기 이미지 데이터의 옵셋 정도에 따라 상기 결정된 가중치를 가산 또는 곱셈하여 보정하여, 보정된 이미지 데이터를 출력하는 단계를 포함하는 것을 특징으로 한다. And correcting by adding or multiplying the determined weight value according to the degree of offset of the image data, and outputting the corrected image data.

이하 첨부된 도면을 참조하여 설명하면 다음과 같다.Hereinafter, with reference to the accompanying drawings as follows.

도 3은 본 발명에 따른 휴대 단말기에서의 카메라 렌즈 왜곡 보상 장치를 나타낸 블록 구성도이다.3 is a block diagram illustrating a camera lens distortion compensating device in a mobile terminal according to the present invention.

도 3을 참조하면, 촬상되는 이미지 데이터의 수평 및 수직 동기 신호에 의해 거리를 측정하는 거리 측정부(110)와; 상기 측정된 거리에 대응하는 비선형 보간 계수에 의해 결정된 가중치를 출력하는 가중치 결정부(120)와; 상기 출력된 가중치를 촬상된 각 픽셀의 이미지 데이터에 적용하는 가중치 적용부(130)를 포함하는 것을 특징으로 한다.Referring to FIG. 3, a distance measuring unit 110 measuring distances by horizontal and vertical synchronization signals of image data to be photographed; A weight determination unit 120 outputting a weight determined by a nonlinear interpolation coefficient corresponding to the measured distance; And a weight applying unit 130 that applies the output weight to the image data of each imaged pixel.

상기와 같이 구성되는 본 발명 실시 예에 따른 휴대 단말기에서의 카메라 렌즈 왜곡 보상 장치에 대하여 첨부된 도면을 참조하여 설명하면 다음과 같다.Referring to the accompanying drawings, a camera lens distortion compensating apparatus for a mobile terminal according to an exemplary embodiment of the present invention configured as described above is as follows.

도 3을 참조하면, 거리 측정부(110)는 CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal-Oxide Semiconductor) 등의 이미지 센서(미도시)로부터 출력된 이미지 데이터의 수평 및 수직 동기 신호를 입력받아 렌즈의 중심부로부터 각 픽셀 사이의 거리를 각각 측정하게 된다. 가중치 결정부(110)는 상기 측정된 거리에 따라 비선형 보간 계수를 적용하여 가중치를 결정하게 되며, 가중치 적용부(130)는 상기 결정된 가중치를 이미지 데이터의 각 픽셀에 적용하여 렌즈 중심부와의 각 픽셀 사이의 거리에 따른 화면 밝기를 일정하게 보상해 줄 수 있다.Referring to FIG. 3, the distance measuring unit 110 receives horizontal and vertical synchronization signals of image data output from an image sensor (not shown) such as a charge coupled device (CCD) or a complementary metal-oxide semiconductor (CMOS). The distance between each pixel from the center of the lens is measured. The weight determining unit 110 determines a weight by applying a nonlinear interpolation coefficient according to the measured distance, and the weight applying unit 130 applies the determined weight to each pixel of the image data to determine each pixel with the center of the lens. It can compensate the screen brightness according to the distance between them.

구체적으로 설명하면, 거리 측정부(110)에서는 렌즈의 중심부로부터 각 픽셀의 거리를 측정하기 위해서 이미지 데이터의 수평 및 수직 동기 신호를 입력받게 된다. 여기서, 카메라 렌즈와 이미지 센서의 조립 과정에서 렌즈의 중심부는 항상 이미지 센서의 중심부와 일치할 수 없기 때문에, 화면 내의 렌즈 중심부를 변경, 설정이 가능하게 된다. 예를 들면, 빛의 밝기가 가장 센 정도로 렌즈 중심부를 설정할 수도 있다.In detail, the distance measuring unit 110 receives the horizontal and vertical synchronization signals of the image data in order to measure the distance of each pixel from the center of the lens. Here, in the assembling process of the camera lens and the image sensor, the center of the lens cannot always coincide with the center of the image sensor, so that the center of the lens in the screen can be changed and set. For example, the center of the lens may be set so that the brightness of the light is the strongest.

거리 측정부(110)는 상기 수평 및 수직 동기 신호를 클럭 신호에 의해 카운트하여 위치 정보를 계산한 후 설정된 렌즈 중심부와의 각 픽셀 사이의 거리를 측정하게 된다.The distance measuring unit 110 calculates the position information by counting the horizontal and vertical synchronizing signals by a clock signal, and then measures the distance between each pixel with the set lens center.

이를 위해 렌즈 중심부와 각각의 픽셀간의 거리를 다음과 같이 구할 수 있다. 수학식 1은 일반적으로 두 위치간의 거리를 구하는 식으로서, 두 위치가 (x,y)(x1,y1)라면 다음과 같이 구해질 수 있다.For this purpose, the distance between the lens center and each pixel can be obtained as follows. Equation 1 generally calculates a distance between two positions. If two positions are (x, y) (x1, y1), Equation 1 may be obtained as follows.

Figure 112005054750167-PAT00001
----- 수학식 1
Figure 112005054750167-PAT00001
----- Equation 1

본 발명의 거리 측정부(110)에서는 상기의 수학식 1을 이용하지 않고, 하드웨어의 복잡성을 최소화하기 위해 루트 연산을 제거시킨 방식으로서, 두 위치간의 거리 측정 공식은 수학식 2와 같이 적용하게 된다.The distance measuring unit 110 of the present invention does not use the above Equation 1, but removes the root operation in order to minimize the complexity of the hardware, the distance measurement formula between the two positions is applied as shown in Equation 2 .

Figure 112005054750167-PAT00002
-----수학식 2
Figure 112005054750167-PAT00002
----- Equation 2

여기서, N은 생성된 거리 정보를 정규화하기 위한 계수이다. Here, N is a coefficient for normalizing the generated distance information.

상기 거리 측정부(110)는 도 4에 도시된 바와 같이, 수평 및 수직 계수기(111,112), 감산기(113,114), 제곱기(115,116), 정규화부(117)를 포함하는 구성이다. 상기 수평 및 수직 계수기(111,112)는 이미지 데이터의 수직 동기화 신호와 수평 동기화 신호를 각각 입력받아 현재 이미지 데이터의 수평 및 수직 위치에 대한 정보(x,y)(x1,y1)를 생성하게 된다. As shown in FIG. 4, the distance measuring unit 110 includes horizontal and vertical counters 111 and 112, a subtractor 113 and 114, a squarer 115 and 116, and a normalization unit 117. The horizontal and vertical counters 111 and 112 receive the vertical synchronization signal and the horizontal synchronization signal of the image data, respectively, and generate information (x, y) (x1, y1) about the horizontal and vertical positions of the current image data.

상기 생성된 위치 정보는 감산기(113,114) 및 제곱기(115,116)를 이용하여 수학식 2와 같이 거리 정보로 생성된다. The generated position information is generated as distance information as shown in Equation 2 by using the subtractors 113 and 114 and the squarers 115 and 116.

정규화부(117)에서는 상기 생성된 거리 정보에 정규화 계수(N)를 곱하여 렌즈 중심부로부터 각 픽셀 사이의 거리를 구할 수 있게 된다. 여기서, 정규화 계수(N)는 두 위치 정보에 따른 루트를 보상하기 위한 값으로 미리 정해진 거리별 위치 정보에 해당되는 값이 적용된다. 상기 이미지 센서의 픽셀 수의 렌즈의 중심 값에 따라 측정된 거리 값이 카메라 제품 또는 카메라 모듈별로 상이하게 된다. 즉, 거리 정보를 이용한 정규화부(117)의 입력 값의 범위를 예측할 수 없기 때문에, 정규 화 계수를 이용하여 입력 값의 범위를 제어하게 된다. 예컨대, 정규화 계수의 범위는 640*480, 1600*1200의 해상도에 따라 최소 및 최대 값의 차이가 너무 크기 때문에, 일정 범위인 최소 0에서 최대 2047로 정해질 수 있다. The normalization unit 117 multiplies the generated distance information by the normalization coefficient N to obtain a distance between each pixel from the center of the lens. Here, the normalization coefficient (N) is a value for compensating a route according to two location information, and a value corresponding to predetermined distance location information is applied. The distance value measured according to the center value of the lens of the number of pixels of the image sensor is different for each camera product or camera module. That is, since the range of the input value of the normalization unit 117 using the distance information cannot be predicted, the range of the input value is controlled using the normalization coefficient. For example, since the difference between the minimum and maximum values is too large according to the resolution of 640 * 480 and 1600 * 1200, the range of the normalization coefficient may be determined from a minimum of 0 to a maximum of 2047.

가중치 결정부(120)는 거리 측정부(110)에서 측정된 거리 정보에 따라 보정 계수를 결정하게 된다. 이러한 가중치 결정부(120)는 도 5에 도시된 바와 같이, 가중치 테이블(121) 및 보간부(122)를 포함하며, 상기 가중치 테이블(121)은 렌즈 중심부로부터 거리에 따라 반비례하는 비선형 곡선에 해당되는 데이터(비선형 보정 계수)를 가지게 된다. 이러한 비 선형 보정 계수는 렌즈의 종류 또는 특성마다 렌즈 중심부로부터 렌즈 주변부까지의 거리가 상이하므로, 비선형 연산을 수행하기 위한 테이블 연산 방식에 의해 결정되는 데이터이다. 즉, 루트(root)의 커브 값이다.The weight determiner 120 determines a correction factor according to the distance information measured by the distance measurer 110. As shown in FIG. 5, the weight determining unit 120 includes a weight table 121 and an interpolator 122, and the weight table 121 corresponds to a nonlinear curve inversely proportional to the distance from the center of the lens. It will have data (nonlinear correction coefficient). These nonlinear correction coefficients are data determined by a table operation method for performing nonlinear arithmetic operations because the distances from the lens center to the lens periphery are different for each type or characteristic of the lens. That is, it is the curve value of root.

그리고, 상기 가중치 테이블에서는 거리 정보에 따른 비선형 곡선의 일정 개(예: 9개)의 데이터가 정해지면 인접한 픽셀간의 기울기와 각 거리에 따른 가중치가 결정된다. 즉, 도 6에서 가중치 y2 = s(x1-x2) +y1가 되는데, 기울기 s = (y1-y2)/(x1-x2)로 구해진다. 여기서, x1,y1는 렌즈 중심이며, x 축 거리 값은 고정된 값으로 알 수가 있다. In addition, in the weight table, when a predetermined number (eg, nine) data of a nonlinear curve according to distance information is determined, a slope between adjacent pixels and a weight according to each distance are determined. That is, in FIG. 6, the weight y2 = s (x1-x2) + y1 is obtained, and the slope s = (y1-y2) / (x1-x2) is obtained. Here, x1 and y1 are lens centers, and the x-axis distance values are known as fixed values.

그리고, 상기 기울기 및 각 거리별 가중치가 결정되면 보간부(122)에서는 상기 데이터를 연결하여 선형 보간하게 됨으로써, 렌즈 중심부에서 주변부까지의 선형 보간된 가중치를 결정할 수 있다.When the slope and the weight for each distance are determined, the interpolator 122 linearly interpolates the data by determining the linear interpolated weight from the center of the lens to the periphery.

가중치 적용부(130)는 상기 가중치 결정부에서 결정된 가중치를 이미지 데이 터에 적용하게 되는데, 상기 가중치 적용부(130)는 도 7과 같이 곱셈기(131), 가산기(132), 동작모드 선택부(133)를 포함하며, 상기 가중치 결정부(120)에 의해 결정된 가중치는 동작 모드에 따라 곱셈기(131) 및 가산기(132)에 각각 입력되어 보정된 이미지 데이터로 출력된다. 동작모드 선택부(133)는 사용자에 의해 선택된 동작 모드에 따라 옵셋(offset)을 선택할 수 있도록 하는 것으로, 상기 곱셈기에 의해 보정된 이미지 데이터 또는 가산기에 의해 보정된 이미지 데이터를 선택하여 출력하게 된다.The weight applying unit 130 applies the weight determined by the weight determining unit to the image data. The weight applying unit 130 includes a multiplier 131, an adder 132, and an operation mode selector as shown in FIG. 7. 133, wherein the weight determined by the weight determiner 120 is input to the multiplier 131 and the adder 132 according to an operation mode and output as corrected image data. The operation mode selector 133 selects an offset according to an operation mode selected by the user, and selects and outputs the image data corrected by the multiplier or the image data corrected by the adder.

여기서, 동작 모드는 곱셈기(131)를 선택할 경우 곱셈 방식으로 이미지 데이터를 보정하기 때문에, 이미지 데이터의 보상을 강하게 해주는 장점이 있으나, 데이터에 실린 노이즈를 상대적으로 커지게 하는 문제가 있다. 가산기(132)를 선택한 가산 방식은 이미지 데이터의 전체적인 레벨이 커짐으로 노이즈에 강하지만, 보상은 약하게 해 주게 된다. 이러한 동작 모드는 모듈 특성에 따라 유저가 설정하거나 제품 출하시 설정할 수도 있다. 다른 예로서, 상기 동작 모드 선택 신호를 상기 곱셈기 또는 가산기의 동작을 제어하여 옵셋 방식을 제어할 수도 있다.Here, the operation mode corrects the image data by the multiplication method when the multiplier 131 is selected. However, the operation mode has the advantage of making the compensation of the image data stronger, but has a problem of making the noise contained in the data relatively large. The addition method that selects the adder 132 is resistant to noise as the overall level of image data increases, but weakens the compensation. The operation mode may be set by the user or set at the time of product shipment according to the module characteristics. As another example, an offset scheme may be controlled by controlling the operation of the multiplier or the adder.

도 8은 본 발명에 따른 휴대 단말기에서의 카메라 렌즈 왜곡 보상방법에 의하면, 이미지 데이터가 입력되면(S101), 수평 및 수직 동기신호를 카운트하여 렌즈 중심부와 각 픽셀간의 거리를 측정하게 된다(S103).8, according to the camera lens distortion compensation method of the mobile terminal according to the present invention, when image data is input (S101), horizontal and vertical synchronization signals are counted to measure the distance between the center of the lens and each pixel (S103). .

상기 렌즈 중심으로부터 각 픽셀간의 거리가 구해지면 가중치 결정부에 의한 비선형 보간 계수를 이용하여 각 픽셀 위치에서의 거리에 해당되는 가중치를 각각 구하고, 가중치를 선형 보간하고 선형 보간된 가중치로 결정하게 된다(S105).When the distance between each pixel is obtained from the lens center, the weight corresponding to the distance at each pixel position is obtained by using the nonlinear interpolation coefficient by the weight determining unit, and the weight is linearly interpolated and determined as the linear interpolated weight ( S105).

상기 결정된 가중치를 옵셋 조정된 동작 모드에 따라 이미지 데이터에 반영하여 보정함으로써(S107), 보정된 이미지 데이터를 출력하게 된다(S109).The corrected image data is output by correcting by reflecting the determined weight on the image data according to the offset adjusted operation mode (S107).

이제까지 본 발명에 대하여 그 바람직한 실시 예를 중심으로 살펴보았으며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명의 본질적 기술 범위 내에서 상기 본 발명의 상세한 설명과 다른 형태의 실시 예들을 구현할 수 있을 것이다. 여기서 본 발명의 본질적 기술범위는 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far, the present invention has been described with reference to the preferred embodiments, and those skilled in the art to which the present invention pertains to the detailed description of the present invention and other forms of embodiments within the essential technical scope of the present invention. Could be implemented. Here, the essential technical scope of the present invention is shown in the claims, and all differences within the equivalent range will be construed as being included in the present invention.

본 발명에 따른 카메라 시스템에서의 렌즈 왜곡 보상 장치는 렌즈 중심부로부터 각 픽셀의 거리에 따라 가중치를 서로 다르게 부여함으로써, 렌즈 쉐이딩에 의한 이미지 왜곡을 보상하는 효과가 있다. The lens distortion compensating apparatus in the camera system according to the present invention has an effect of compensating image distortion due to lens shading by assigning different weights according to the distance of each pixel from the center of the lens.

또한 이미지 센서의 화소수와 중심의 위치에 따라 정형화시키기 때문에 다양한 화소수의 센서와 렌즈의 중심에 관한 렌즈 쉐이딩 적용이 가능한 효과가 있다.In addition, since the shaping is performed according to the number of pixels and the position of the center of the image sensor, lens shading may be applied to the sensor and the center of the lens of various pixels.

Claims (5)

촬상되는 이미지 데이터의 수평 및 수직 동기 신호로부터 렌즈 중심부와 각 픽셀간의 거리를 측정하는 거리 측정수단과;Distance measuring means for measuring a distance between the lens center and each pixel from the horizontal and vertical synchronizing signals of the image data to be captured; 상기 측정된 거리에 따라 각 픽셀별 가중치를 결정하는 가중치 결정수단과;Weight determination means for determining a weight for each pixel according to the measured distance; 상기 촬상되는 이미지 데이터에 대해 상기 각 픽셀별 가중치를 적용하여 렌즈 중심부와 주변부 사이의 화면 밝기를 보정하는 가중치 적용수단을 포함하는 것을 특징으로 하는 휴대 단말기에서의 카메라 렌즈 왜곡 보정장치.And weighting means for correcting screen brightness between a lens center and a periphery by applying the weight for each pixel to the image data to be photographed. 제 1항에 있어서,The method of claim 1, 상기 거리 측정수단은 이미지 데이터의 수평 및 수직 동기 신호를 입력받아 상기 이미지 데이터의 수평 및 수직 위치에 해당되는 정보를 생성하는 수평 및 수직 계수기와, 상기 수평 및 수직 계수기에 의해 생성된 수평 및 수직 위치 정보를 감산하고 감산된 결과를 각각 자승하는 거리 연산부와, 상기 감산 및 자승된 위치 정보를 정규화하여 거리를 측정하는 정규화부를 포함하는 것을 특징으로 하는 휴대 단말기에서의 카메라 렌즈 왜곡 보정장치.The distance measuring means receives horizontal and vertical synchronization signals of the image data and generates horizontal and vertical counters corresponding to the horizontal and vertical positions of the image data, and horizontal and vertical positions generated by the horizontal and vertical counters. And a normalization unit configured to subtract the information and square each subtracted result, and a normalizer configured to measure the distance by normalizing the subtracted and squared position information. 제 1항에 있어서,The method of claim 1, 상기 가중치 결정수단은 비선형 보정 계수를 갖고 상기 비선형 보간계수를 이용하여 상기 거리 측정부로부터 입력되는 거리별 인접 픽셀간의 기울기 및 각 픽 셀의 가중치를 출력하는 가중치 테이블과, 상기 가중치 테이블로부터 출력되는 기울기 및 각 픽셀의 가중치를 선형 보간하고 선형 보간된 가중치를 가중치로 결정하여 출력하는 보간부를 포함하는 것을 특징으로 하는 휴대 단말기에서의 카메라 렌즈 왜곡 보정장치.The weight determining means includes a weight table having a nonlinear correction coefficient and outputting a slope between adjacent pixels for each distance input from the distance measuring unit and a weight of each pixel using the nonlinear interpolation coefficient, and a slope output from the weight table. And an interpolation unit configured to linearly interpolate the weight of each pixel and determine and output the linear interpolated weight as a weight. 제 1항에 있어서,The method of claim 1, 상기 가중치 적용부는 결정된 가중치를 이미지 데이터에 적용하기 위해서, 가중치에 이미지 데이터를 곱셈하는 곱셈기와, 상기 가중치에 이미지 데이터를 가산하는 가산기와, 상기 승산기 또는 가산기의 출력 중 옵셋 특성에 따라 어느 하나를 선택하여 출력하는 동작모드 선택부를 포함하는 것을 특징으로 하는 휴대 단말기에서의 카메라 렌즈 왜곡 보정장치.In order to apply the determined weight to the image data, the weight applying unit selects one of a multiplier for multiplying the image data by the weight, an adder for adding the image data to the weight, and an offset characteristic of the multiplier or the output of the adder. Camera lens distortion correction device for a mobile terminal, characterized in that it comprises an operation mode selection unit for outputting. 촬상된 이미지 데이터의 수평 및 수직 동기 신호를 카운트하여 렌즈 중심부로부터 각 픽셀간의 거리를 측정하는 단계;Counting horizontal and vertical synchronizing signals of the captured image data to measure the distance between each pixel from the center of the lens; 상기 측정된 렌즈 중심으로부터 각 픽셀간의 거리 정보를 비선형 보정 계수를 이용하여 가중치를 결정하고, 결정된 가중치를 출력하는 단계;Determining a weight of distance information between each pixel from the measured lens center by using a nonlinear correction coefficient and outputting the determined weight; 상기 이미지 데이터의 옵셋 정도에 따라 상기 결정된 가중치를 가산 또는 곱셈하여 보정하여, 보정된 이미지 데이터를 출력하는 단계를 포함하는 것을 특징으로 하는 휴대 단말기의 카메라 렌즈 왜곡 보상방법. And correcting by adding or multiplying the determined weight value according to the degree of offset of the image data, and outputting the corrected image data.
KR1020050090622A 2005-09-28 2005-09-28 Apparatus and method for distortion compensation of camera lens in the mobile terminal KR100745289B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050090622A KR100745289B1 (en) 2005-09-28 2005-09-28 Apparatus and method for distortion compensation of camera lens in the mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050090622A KR100745289B1 (en) 2005-09-28 2005-09-28 Apparatus and method for distortion compensation of camera lens in the mobile terminal

Publications (2)

Publication Number Publication Date
KR20070035802A true KR20070035802A (en) 2007-04-02
KR100745289B1 KR100745289B1 (en) 2007-08-01

Family

ID=38158267

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050090622A KR100745289B1 (en) 2005-09-28 2005-09-28 Apparatus and method for distortion compensation of camera lens in the mobile terminal

Country Status (1)

Country Link
KR (1) KR100745289B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100735422B1 (en) * 2006-05-08 2007-07-04 삼성전자주식회사 Image offset controlling apparatus for liquid crystal display projector and mobile phone there with
CN110579877A (en) * 2019-09-23 2019-12-17 中国科学院上海技术物理研究所 optical system and theory of conjugate correction inspection aspherical mirror

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100414083B1 (en) * 1999-12-18 2004-01-07 엘지전자 주식회사 Method for compensating image distortion and image displaying apparatus using the same
KR20030078235A (en) * 2002-03-28 2003-10-08 엘지전자 주식회사 Image distortion compensation method for mobile communication terminal attached camera

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100735422B1 (en) * 2006-05-08 2007-07-04 삼성전자주식회사 Image offset controlling apparatus for liquid crystal display projector and mobile phone there with
US7794091B2 (en) 2006-05-08 2010-09-14 Samsung Electronics Co., Ltd. Image offset adjustment apparatus for LCD projector and mobile phone having the same
CN110579877A (en) * 2019-09-23 2019-12-17 中国科学院上海技术物理研究所 optical system and theory of conjugate correction inspection aspherical mirror
CN110579877B (en) * 2019-09-23 2024-03-26 中国科学院上海技术物理研究所 Optical system and theory for conjugate correction inspection of aspherical mirror

Also Published As

Publication number Publication date
KR100745289B1 (en) 2007-08-01

Similar Documents

Publication Publication Date Title
JP4453648B2 (en) Image processing apparatus and imaging apparatus
RU2537038C2 (en) Automatic white balance processing with flexible colour space selection
RU2543974C2 (en) Auto-focus control using image statistics data based on coarse and fine auto-focus scores
US20180176452A1 (en) Method and system of self-calibration for phase detection autofocus
US10002436B2 (en) Image processing device, image processing method, and solid-state imaging device
US9544505B2 (en) Image processing apparatus for synthesizing images based on a plurality of exposure time periods and image processing method thereof
EP3125527A1 (en) Image processing device, photography device, image processing method, and image processing program
JP4704913B2 (en) Image correction method and imaging apparatus
KR20180118790A (en) Image processing apparatus, image processing method, recording medium, program and image capturing apparatus
US10200593B2 (en) Image capturing apparatus and control method thereof
JP2015036632A (en) Distance measuring device, imaging apparatus, and distance measuring method
JP6494587B2 (en) Image processing apparatus, image processing apparatus control method, imaging apparatus, and program
JP2018107526A (en) Image processing device, imaging apparatus, image processing method and computer program
CN111164406B (en) Two-dimensional scintillation measurement device and two-dimensional scintillation measurement method
JP2006270135A (en) Color reproduction compensator in electronic image pickup device
JP2010039759A (en) Imaging device
KR100745289B1 (en) Apparatus and method for distortion compensation of camera lens in the mobile terminal
JP2019176305A (en) Imaging apparatus, control method of the same, and program
JP2018185586A (en) Image processing device and image processing method, and imaging device
CN111031256A (en) Image processing method, image processing device, storage medium and electronic equipment
JP5088361B2 (en) Image processing apparatus and imaging apparatus
JP6408884B2 (en) Image processing apparatus, image processing method, and program
JP2016034110A (en) Image pickup device, control method of the same, program and storage medium
JP5213604B2 (en) Imaging device
WO2016194576A1 (en) Information processing device and 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
LAPS Lapse due to unpaid annual fee