KR100767634B1 - Apparatus and method for removing flicker noise - Google Patents

Apparatus and method for removing flicker noise Download PDF

Info

Publication number
KR100767634B1
KR100767634B1 KR1020050071123A KR20050071123A KR100767634B1 KR 100767634 B1 KR100767634 B1 KR 100767634B1 KR 1020050071123 A KR1020050071123 A KR 1020050071123A KR 20050071123 A KR20050071123 A KR 20050071123A KR 100767634 B1 KR100767634 B1 KR 100767634B1
Authority
KR
South Korea
Prior art keywords
flicker noise
frame
flicker
sample
frequency
Prior art date
Application number
KR1020050071123A
Other languages
Korean (ko)
Other versions
KR20070016453A (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 KR1020050071123A priority Critical patent/KR100767634B1/en
Publication of KR20070016453A publication Critical patent/KR20070016453A/en
Application granted granted Critical
Publication of KR100767634B1 publication Critical patent/KR100767634B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4015Demosaicing, e.g. colour filter array [CFA], Bayer pattern

Abstract

본 발명은 플리커 잡음 제거 장치 및 그 방법에 관한 것으로, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하고, 현재의 프레임 속도를 측정하여, 100Hz과 120Hz로 나누어 떨어지지 않고 현재값에 가깝도록 프레임 속도를 조정하고, 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 추출한다. 이후, 첫번째 프레임과 (C100+1) 프레임 샘플의 평균을 구하여 이를 (C100+1) 프레임의 샘플에서 가감하고, 첫번째 프레임과 (C120+1) 프레임 샘플의 평균을 구하여 이를 (C120+1) 프레임의 샘플에서 가감하여, 각각 플리커 잡음만이 존재하는 데이터를 획득하여, 플리커 잡음만이 존재하는 데이터를 정규화하고, 이로부터 100Hz 플리커 성분과 120Hz 플리커 성분을 구하고, 그 중 소정의 임계치보다 큰 플리커 성분이 있는 주파수가 존재하면, 해당 주파수를 플리커 잡음 주파수로 결정하고 이를 이용하여 노광 시간을 변경할 수 있다. 본 발명에 따르면, 반대 위상의 플리커 잡음이 발생될 때의 영상을 이용하여 플리커 잡음 성분만이 포함된 데이터를 추출함으로써, 정확한 플리커 잡음 주파수를 측정하여 이를 제거할 수 있다.The present invention relates to an apparatus and method for eliminating flicker noise, and extracting resampled luminance data from an input Bayer pattern image, measuring a current frame rate, and dividing the frame to a current value without dividing it into 100 Hz and 120 Hz. Adjust the speed and extract frames C100 and C120 where flicker noise in the opposite phase appears. Then, the average of the first frame and (C100 + 1) frame sample is obtained and added or subtracted from the sample of the (C100 + 1) frame, and the average of the first frame and the (C120 + 1) frame sample is obtained to determine the (C120 + 1) frame. Each sample is obtained by adding or subtracting data to obtain data containing only flicker noise, and normalizing the data including only flicker noise, and obtaining 100 Hz flicker components and 120 Hz flicker components from the samples, wherein flicker components larger than a predetermined threshold value are obtained. If a frequency exists, the frequency can be determined as a flicker noise frequency and used to change the exposure time. According to the present invention, by extracting data including only flicker noise components using an image when flicker noise of an opposite phase is generated, an accurate flicker noise frequency may be measured and removed.

플리커 잡음, 반대 위상, 노광 시간, 플리커 잡음 주파수 Flicker Noise, Reverse Phase, Exposure Time, Flicker Noise Frequency

Description

플리커 잡음 제거 장치 및 그 방법{APPARATUS AND METHOD FOR REMOVING FLICKER NOISE}Flicker noise canceller and its method {APPARATUS AND METHOD FOR REMOVING FLICKER NOISE}

도 1은 본 발명에 따른 플리커 잡음 제거 장치의 일실시예 구조도,1 is a structural diagram of an embodiment of a flicker noise removing device according to the present invention;

도 2는 상기 도 1의 전처리부의 일실시예 상세 구조도,2 is a detailed structural diagram of an embodiment of the preprocessor of FIG. 1;

도 3은 도 1의 상기 전처리부에 입력되는 배이어 패턴 이미지의 일예시도,3 is an exemplary view illustrating a Bayer pattern image input to the preprocessor of FIG. 1;

도 4는 상기 도 2의 리샘플링 수행기의 쌍선형 보간을 설명하기 위한 개략도,4 is a schematic diagram illustrating bilinear interpolation of the resampling performer of FIG. 2;

도 5는 상기 도 1의 플리커 잡음 검출부의 일실시예 상세 구조도,5 is a detailed structural diagram of an embodiment of the flicker noise detector of FIG. 1;

도 6은 본 발명에 따른 플리커 잡음 제거 방법을 설명하기 위한 일실시예 흐름도.6 is a flowchart illustrating an embodiment of a method for removing flicker noise according to the present invention.

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

110 : 전처리부 120 : 플리커 잡음 검출부110: preprocessor 120: flicker noise detector

130 : 노광 시간 제어부 210 : 휘도 성분 추출기130: exposure time control unit 210: luminance component extractor

220 : 평균값 계산기 230 : 리샘플링 수행기220: average calculator 230: resampling performer

510 : 프레임 속도 조정기 520 : 프레임 추출기510: frame rate adjuster 520: frame extractor

530 : 플리커 잡음 검출기 540 : 정규화기530: flicker noise detector 540: normalizer

본 발명은 플리커 잡음 제거 장치 및 그 방법에 관한 것으로서, 보다 상세하게는 상보성 금속 산화막 반도체(complementary metal oxide semiconductor; 이하, 'CMOS'라 함) 이미지 센서 등에서 사용하기 위한 플리커 잡음 제거 장치 및 방법에 관한 것이다.The present invention relates to a flicker noise canceling apparatus and a method thereof, and more particularly, to a flicker noise canceling apparatus and method for use in a complementary metal oxide semiconductor (hereinafter referred to as "CMOS") image sensor, etc. will be.

일반적으로, CMOS 이미지 센서를 이용하여 촬영하는 경우, 라인마다 노광 타이밍이 다르고, 각 라인에서 노광량의 차가 발생하기 때문에, 화면상에서 줄무늬 모양의 플리커 잡음(flicker noise)이 나타나게 된다. 예를 들어, 1프레임이 1/25초인 것에 대하여, 형광등의 휘도 변화의 주기가 1/120초인 경우, 노광 시간이 n/120초(여기서, n은 양의 정수)인 서텨 시간에서는 플리커 잡음이 발생하지 않지만, 그 이외의 노광 시간에서는 5 프레임 반복 주기로 시간축 상에서 연속성을 갖는 플리커 잡음이 발생한다. In general, when photographing using a CMOS image sensor, since exposure timings differ from line to line, and a difference in exposure amount occurs in each line, striped flicker noise appears on the screen. For example, if one frame is 1/25 second, and the period of the luminance change of the fluorescent lamp is 1/120 second, flicker noise is not present at the slow time when the exposure time is n / 120 seconds (where n is a positive integer). Although not generated, flicker noises having continuity on the time axis are generated at other exposure times.

그리고, 위의 조건에서 프레임 주기만 1/30초로 변화하였을 경우에는 노광 시간이 n/120초인 경우에는 위에서와 마찬가지로 플리커 잡음이 발생하지 않지만, 그 이외의 노광 시간에서는 각 프레임에서 플리커 잡음의 줄무늬 모양이 동일해지는, 다시 말해 1프레임에서 완결하는 플리커 잡음을 발생한다. 결론적으로 말하자 면, 플리커 잡음 발생시 형광등의 휘도 변화의 속도(fp)를 알아낼 수 있다면(detection), 노광 시간을 n/fp (n은 양의 정수)로 설정함으로써, 플리커 잡음을 제거할 수가 있다.When the frame period is changed to 1/30 second only under the above conditions, when the exposure time is n / 120 seconds, flicker noise does not occur as in the above, but at other exposure times, the flicker noise streaks do not appear in each frame. Equivalent, that is to say, complete flicker noise in one frame. In conclusion, if you can detect the rate of change in brightness of a fluorescent lamp (f p ) during flicker noise, you can eliminate the flicker noise by setting the exposure time to n / f p (n is a positive integer). have.

상기한 바와 같이, 플리커 잡음을 제거하기 위한 다양한 기술이 제시되어 있으며, 대한민국 공개특허 제2004-35234호(이미지 센서의 화소배열부 및 그를 포함하는 이미지센서 및 이미지센서의 플리커 잡음 제거 방법) 및 대한민국 공개특허 제2005-6045호(촬상장치 및 플리커 저감 방법)이 그 대표적인 예이다.As described above, various techniques for removing flicker noise have been proposed and disclosed in Korean Patent Laid-Open Publication No. 2004-35234 (Pixel Array of Image Sensor and Image Sensor and Image Flicker Noise Removal Method Including The Same) and Korea Publication No. 2005-6045 (imaging device and flicker reduction method) is a representative example.

상기 공개특허 제2004-35234호는 N×M(N,M은 자연수)의 단위화소를 포함하며 영상신호 검출을 위한 화소군과 플리커 잡음을 검출하기 위해 상기 화소군의 행방향에 배열되어 그 구성 화소행의 평균 주파수를 검출하기 위한 플리커 잡음 검출용 화소열을 포함하여 구성된다.Korean Patent Laid-Open Publication No. 2004-35234 includes unit pixels of N × M (N and M are natural numbers) and is arranged in the row direction of the pixel group to detect flicker noise and a pixel group for detecting an image signal. And a pixel column for flicker noise detection for detecting an average frequency of the pixel rows.

그러나, 상기 공개특허 제2004-35234호는, 한장의 영상 내의 화소값 정보만을 이용하기 때문에 입력 영상내 기존 주파수 성분의 영향을 받을 가능성이 큰 문제점이 있다. 예를 들어, 입력 영상에 플리커 잡음이 아니면서 100(또는 120) Hz 성분의 가로 줄무늬 형태의 데이터가 상당히 존재할 경우, 플리커 잡음이 발생한 것으로 오인하기 쉬운 문제점이 있다.However, since the Patent Publication No. 2004-35234 uses only pixel value information in a single image, there is a problem in that it is likely to be affected by existing frequency components in the input image. For example, if there is a significant amount of horizontal stripe data of 100 (or 120) Hz component in the input image and not flicker noise, it is easy to mistake it for flicker noise.

상기 공개특허 제2005-6045호는, CMOS 촬상 장치 등의 XY 어드레스 주사형의 촬상 장치에서, 형광등을 구동하는 전원의 주파수를 검출하지 않고, 전원 주파수와 촬상 장치의 수직 동기 주파수와의 조합의 여하와 무관하게, 형광등 플리커 성분을 저감하기 위한 것이다. The above-mentioned Patent Publication No. 2005-6045 discloses a combination of a power supply frequency and a vertical synchronization frequency of an imaging device without detecting a frequency of a power supply for driving a fluorescent lamp in an XY address scanning type imaging device such as a CMOS imaging device. Irrespective of, it is for reducing a fluorescent lamp flicker component.

그러나, 상기 공개특허 제2005-6045호는, 고정된 프레임 속도라는 제약이 있으며, 이에 맞추어 미리 정해진 프레임 수만큼의 영상 데이터를 저장하기 위한 충분한 메모리 공간을 필요로 하며, 연산 또한 상당히 많은 문제점이 있다. However, the Patent Publication No. 2005-6045 has a limitation of a fixed frame rate, and accordingly, it requires a sufficient memory space for storing image data of a predetermined number of frames, and computation has a lot of problems. .

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 현재 영상에 나타난 플리커 잡음의 위상을 기준으로 반대 위상의 플리커 잡음이 발생할 때의 영상을 이용하여 플리커 잡음 성분만이 존재하는 데이터를 생성함으로써 정확한 플리커 잡음 주파수를 검출하여 이를 제거하기 위한 플리커 잡음 제거 장치 및 그 방법를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and generates data in which only flicker noise components exist by using an image when flicker noise of an opposite phase occurs based on the phase of the flicker noise present in the current image. Accordingly, an object of the present invention is to provide a flicker noise canceling apparatus and method for detecting and removing an accurate flicker noise frequency.

상기한 바와 같은 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면, 플리커 잡음 제거 장치에 있어서, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하기 위한 전처리부; 반대 위상의 플리커 잡음이 나타나는 프레임을 이용하여 플리커 잡음이 존재하는 데이터를 추출하기 위한 플리커 잡음 추출부; 및 상기 플리커 잡음 추출부에서 구한 플리커 잡음 데이터에서 플리커 잡음 주파수를 결정하여, 이로부터 노광 시간을 제어하기 위한 노광 시간 제어부를 포함하는 플리커 잡음 제거 장치가 제공된다. In order to achieve the above object, according to a preferred embodiment of the present invention, the flicker noise removing device, Pre-processing unit for extracting the resampled luminance data from the Bayer pattern image input; A flicker noise extractor for extracting data having flicker noise by using a frame in which flicker noise of an opposite phase appears; And an exposure time controller for determining a flicker noise frequency from the flicker noise data obtained by the flicker noise extractor and controlling the exposure time therefrom.

이때, 상기 전처리부는, 입력되는 배이어 패턴 이미지로부터 휘도 성분을 추출하기 위한 휘도 성분 추출기; 상기 휘도 성분 추출기로부터 구한 휘도 이미지의 수평 방향으로의 평균값을 구하기 위한 평균값 계산기; 및 상기 평균값 계산기로부터 구한 수평 방향으로의 평균값 중에서 수직 방향으로 샘플링 구간 간격으로 샘플을 취득하기 위한 리샘플링 수행기를 포함하는 것을 특징으로 하며, 상기 리샘플링 수행기는, 샘플링 구간이 실수인 경우에는, 쌍선형 보간을 통해 보간하여 샘플을 취득할 수 있다.The preprocessing unit may include: a luminance component extractor for extracting a luminance component from an input Bayer pattern image; An average value calculator for obtaining an average value in the horizontal direction of the luminance image obtained from the luminance component extractor; And a resampling performer for acquiring a sample at intervals of sampling intervals in a vertical direction among the average values in the horizontal direction obtained from the average value calculator, wherein the resampling performer is a bilinear interpolation when the sampling interval is a real number. Samples can be obtained by interpolation through.

또한, 상기 플리커 잡음 검출부는, 현재의 프레임 속도를 측정하여, 100Hz과 120Hz로 나누어 떨어지지 않고 현재값에 가깝도록 프레임 속도를 조정하기 위한 프레임 속도 조정기; 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 각각 추출하기 위한 프레임 추출기; 첫번째 프레임과 (C100+1) 프레임 샘플의 평균을 구하여 이를 (C100+1) 프레임의 샘플에서 가감하고, 첫번째 프레임과 (C120+1) 프레임 샘플의 평균을 구하여 이를 (C120+1) 프레임의 샘플에서 가감하여, 각각 플리커 잡음만이 존재하는 데이터를 획득하기 위한 플리커 잡음 검출기; 및 상기 플리커 잡음 검출기로부터 수신한 데이터를 정규화하기 위한 정규화기를 포함하며, 상기 프레임 추출기는, '100/프레임 속도'와 '120/프레임 속도'에 임의의 양의 정수를 곱하여 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 추출할 수 있다. The flicker noise detector may further include: a frame rate adjuster for measuring a current frame rate and adjusting a frame rate to be close to a current value without being divided into 100 Hz and 120 Hz; A frame extractor for extracting frames C100 and C120, respectively, in which flicker noise of an opposite phase appears; Obtain the average of the first frame and (C100 + 1) frame sample and subtract it from the sample of the (C100 + 1) frame, and average the first frame and the (C120 + 1) frame sample to find the sample of the (C120 + 1) frame. A flicker noise detector for acquiring and subtracting from each other to obtain data in which only flicker noise exists; And a normalizer for normalizing data received from the flicker noise detector, wherein the frame extractor multiplies '100 / frame rate' and '120 / frame rate' by any positive integer to reduce flicker noise of opposite phase. The frames C100 and C120 that appear may be extracted.

한편, 상기 노광 시간 제어부는,

Figure 112005042981553-pat00001
Figure 112005042981553-pat00002
(이 때, n은 0 내지 (샘플수-1)의 정수임)로부터 구한 계수를 각각 이용하여 100Hz 플리커 성분과 120Hz 플리커 성분을 구하고, 그 중 소정의 임계치보다 큰 플리커 성분이 있는 주파수가 존재하면, 해당 주파수를 플리커 잡음 주파수로 결정하고 이를 이용하여 노광 시간을 변경할 수 있다.On the other hand, the exposure time control unit,
Figure 112005042981553-pat00001
And
Figure 112005042981553-pat00002
(Where n is an integer from 0 to (sample number-1)) to obtain a 100 Hz flicker component and a 120 Hz flicker component using the coefficients obtained from each, and if there is a frequency having a flicker component larger than a predetermined threshold, The frequency can be determined as the flicker noise frequency and used to change the exposure time.

한편, 본 발명의 다른 실시예에 따르면, 플리커 잡음 제거 방법에 있어서, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하는 단계(a); 현재의 프레임 속도를 측정하여, 100Hz과 120Hz로 나누어 떨어지지 않고 현재값에 가깝도록 프레임 속도를 조정하는 단계(b); 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 추출하는 단계(c); 첫번째 프레임과 (C100+1) 프레임 샘플의 평균을 구하여 이를 (C100+1) 프레임의 샘플에서 가감하고, 첫번째 프레임과 (C120+1) 프레임 샘플의 평균을 구하여 이를 (C120+1) 프레임의 샘플에서 가감하여, 각각 플리커 잡음만이 존재하는 데이터를 획득하는 단계(d); 플리커 잡음만이 존재하는 데이터를 정규화하는 단계(e); 00Hz 플리커 성분과 120Hz 플리커 성분을 구하고, 그 중 소정의 임계치보다 큰 플리커 성분이 있는 주파수가 존재하면, 해당 주파수를 플리커 잡음 주파수로 결정하고 이를 이용하여 노광 시간을 변경하는 단계(f)를 포함하는 플리커 잡음 제거 방법이 제공되며, 상기 단계(b) 내지 단계(f)를 반복하여 수행하는 단계(g)를 더 포함할 수 있다.On the other hand, according to another embodiment of the present invention, a flicker noise removing method, the method comprising the steps of: extracting the resampled luminance data from the input Bayer pattern image (a); Measuring the current frame rate and adjusting the frame rate to be close to the present value without dividing into 100 Hz and 120 Hz; (C) extracting frames C100 and C120 in which flicker noise of opposite phases appears; Obtain the average of the first frame and (C100 + 1) frame sample and subtract it from the sample of the (C100 + 1) frame, and average the first frame and the (C120 + 1) frame sample to find the sample of the (C120 + 1) frame. Subtracting at and obtaining data each having only flicker noise; (E) normalizing data in which only flicker noise is present; (F) obtaining a 00Hz flicker component and a 120Hz flicker component, and if there is a frequency having a flicker component larger than a predetermined threshold, determining the frequency as the flicker noise frequency and using the same to change the exposure time; A flicker noise canceling method is provided, and the method may further include a step (g) of repeatedly performing the steps (b) to (f).

이때, 상기 단계(c)는, '100/프레임 속도'와 '120/프레임 속도'에 임의의 양의 정수를 곱하여 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 추출할 수 있으며, 상기 단계(f)의 100Hz 플리커 성분과 120Hz 플리커 성분은,

Figure 112005042981553-pat00003
Figure 112005042981553-pat00004
(이때, n은 0 내지 (샘플수-1)의 정수임)로부터 추출한 계수를 각각 이용하여 구할 수 있다.In this case, step (c) may extract the frames C100 and C120 in which the flicker noise of the opposite phase appears by multiplying '100 / frame rate' and '120 / frame rate' by a positive integer. The 100Hz flicker component and 120Hz flicker component of step (f)
Figure 112005042981553-pat00003
And
Figure 112005042981553-pat00004
(N is an integer of 0 to (sample number-1)), and can be obtained using the coefficients extracted from each.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 우선 각 도면의 구성요소들에 참조 번호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same components have the same number as much as possible even if displayed on different drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 플리커 잡음 제거 장치의 일실시예 구조도이다.1 is a structural diagram of an embodiment of an apparatus for removing flicker noise according to the present invention.

도면에 도시된 바와 같이, 본 발명의 제거 장치는, 전처리부(110), 플리커 잡음 검출부(120) 및 노광 시간 제어부(130)를 포함하여 구성된다.As shown in the figure, the removal apparatus of the present invention includes a preprocessor 110, a flicker noise detector 120 and an exposure time controller 130.

상기 전처리부(110)는 리샘플링(resampling)된 휘도 데이터(luminance data)를 추출하는 기능을 담당한다. 이를 도 2를 참조로 상세하게 설명하기로 한다.The preprocessor 110 is responsible for extracting the resampled luminance data. This will be described in detail with reference to FIG. 2.

도 2는 상기 도 1의 전처리부의 일실시예 상세 구조도이다.FIG. 2 is a detailed structural diagram of an embodiment of the preprocessor of FIG. 1.

도면에 도시된 바와 같이, 상기 전처리부(110)는, 휘도 성분 추출기(210), 평균값 계산기(220) 및 리샘플링(resampling) 수행기(230)를 포함하여 구성된다.As shown in the figure, the preprocessor 110 includes a luminance component extractor 210, an average value calculator 220, and a resampling performer 230.

상기 휘도 성분 추출기(210)는 입력되는 배이어 패턴 이미지(bayer pattern image)로부터 휘도 성분을 추출하는 기능을 담당한다. 배이어 패턴 이미지는 다음의 도 3과 같다. 도 3은 도 1의 상기 전처리부에 입력되는 배이어 패턴 이미지의 일예시도이다.The luminance component extractor 210 is responsible for extracting a luminance component from an input bayer pattern image. The Bayer pattern image is as shown in FIG. 3. FIG. 3 is an exemplary view illustrating a Bayer pattern image input to the preprocessor of FIG. 1.

상기 도 3의 배이어 패턴 이미지에서 휘도 Y를 구하는 식은 다음의 수학식과 같다.The equation for obtaining the luminance Y in the Bayer pattern image of FIG. 3 is as follows.

[수학식 1] [Equation 1]

Figure 112005042981553-pat00005
Figure 112005042981553-pat00005

즉, 상기 도 3의 좌측 상단에서 빨간색으로 표시된 사각형 영역 내의 2개의 녹색 성분(G)과 각각 1개의 파란색 성분(B) 및 빨간색 성분(R)을 이용하여 휘도 Y를 구할 수 있다.That is, the luminance Y may be obtained using two green components G and one blue component B and a red component R in the rectangular area indicated by red at the upper left of FIG. 3.

상기 평균값 계산기(220)는 상기 휘도 성분 추출기(210)에서 구한 휘도 이미지의 수평 방향으로의 평균값을 구하는 기능을 담당한다. 상기 리샘플링 수행기(230)는 이러한 수평 방향으로의 평균값 중에서 수직 방향으로 샘플링 구간(sampling period) 간격으로 샘플을 취득하는 기능을 담당한다. 이때, 샘플링 구간을 구하는 식은 다음의 수학식과 같다.The average value calculator 220 is responsible for calculating an average value in the horizontal direction of the luminance image obtained by the luminance component extractor 210. The resampling performer 230 is responsible for acquiring samples at intervals of sampling periods in the vertical direction among the average values in the horizontal direction. At this time, the equation for obtaining the sampling interval is as follows.

[수학식 2] [Equation 2]

Figure 112005042981553-pat00006
Figure 112005042981553-pat00006

이때, fr은 프레임 속도이며, Image - height는 영상의 높이이다. 예를 들어, fr이 25, Image - height가 240, re - sampling rate가 480Hz이며, 샘플수(sample number)가 24개일때, 샘플링 구간은 12.5가 되며, 수직 방향으로 12.5 간격으로 24개의 샘플을 취득할 수 있다. 이때, 샘플링 구간이 실수인 경우에는 쌍선형 보간(bilinear inperpolation)을 통해 보간한 뒤 샘플을 취득할 수 있다. 쌍선형 보간에 대하여 도 4를 참조로 설명하기로 한다.Where fr is the frame rate and Image - height is the height of the image. For example, fr is 25, Image - height is 240, re - sampling When the rate is 480 Hz and the number of samples is 24, the sampling interval is 12.5, and 24 samples can be acquired at 12.5 intervals in the vertical direction. In this case, when the sampling interval is a real number, the sample may be acquired after interpolation through bilinear inperpolation. Bilinear interpolation will be described with reference to FIG. 4.

도 4는 상기 도 2의 리샘플링 수행기의 쌍선형 보간을 설명하기 위한 개략도이다.FIG. 4 is a schematic diagram illustrating bilinear interpolation of the resampling performer of FIG. 2.

도면에 도시된 바와 같이, 실수 위치의 화소는, 근접한 정수 위치의 화소(i번째 화소 및 (i+1)번째 화소의 위치를 참조하여 그 위치를 구할 수 있다. 이를 수학식으로 나타내면 다음과 같다.As shown in the figure, a pixel of a real position may be obtained by referring to positions of pixels (i-th pixel and (i + 1) -th pixel of adjacent integer positions. .

[수학식 3] [Equation 3]

Figure 112005042981553-pat00007
Figure 112005042981553-pat00007

이와 같은 과정을 통하여, 상기 전처리부(110)는 리샘플링된 휘도 데이터를 추출할 수 있다.Through this process, the preprocessor 110 may extract the resampled luminance data.

이후, 상기 도 1의 상기 플리커 잡음 검출부(120)는 상기 전처리부(110)에서 구한 휘도 데이터에서 플리커 잡음이 존재하는 데이터를 검출하는 기능을 담당한다. 이를 도 5를 통해 설명하면 다음과 같다.Subsequently, the flicker noise detector 120 of FIG. 1 is responsible for detecting data in which flicker noise exists from the luminance data obtained by the preprocessor 110. This will be described with reference to FIG. 5.

도 5는 상기 도 1의 플리커 잡음 검출부의 일실시예 상세 구조도이다.5 is a detailed structural diagram of an embodiment of the flicker noise detector of FIG. 1.

도면에 도시된 바와 같이, 상기 도 1의 플리커 잡음 검출부(120)는 프레임 속도 조정기(510), 프레임 추출기(520), 플리커 잡음 검출기(530) 및 정규화기(540)를 포함하여 구성된다.As shown in the figure, the flicker noise detector 120 of FIG. 1 includes a frame rate adjuster 510, a frame extractor 520, a flicker noise detector 530, and a normalizer 540.

상기 프레임 속도 조정기(510)는 현재의 프레임 속도(fr)를 측정하여, 100 및 120 Hz을 나누어 떨어지게 하지 않으면서 현재 값에 가까운 프레임 속도로 조정하는 기능을 담당한다. 이때 사용될 프레임 속도의 예로써, 측정된 프레임 속도가 5~10일 경우에는 7.4로 조정할 수 있으며, 측정된 프레임 속도가 10~15일 경우에는 11.4로 조정할 수 있다. 또한, 측정된 프레임 속도가 15~20일 경우에는 16으로 조정할 수 있으며, 측정된 프레임 속도가 20~25일 경우에는 22로 조정할 수 있다. 다만, 이는 실험치에 의해 조정한 값으로 이에 한정되는 것은 아니다.The frame rate adjuster 510 measures the current frame rate fr and adjusts the frame rate close to the current value without dividing 100 and 120 Hz. As an example of the frame rate to be used, the measured frame rate can be adjusted to 7.4 when the measured frame rate is 5 to 10, and can be adjusted to 11.4 when the measured frame rate is 10 to 15. In addition, when the measured frame rate is 15 to 20, it may be adjusted to 16, and when the measured frame rate is 20 to 25, it may be adjusted to 22. However, this is a value adjusted by the experimental value is not limited thereto.

상기 프레임 추출기(520)는 반대 위상의 플리커 잡음이 나타나는 프레임을 추출하는 기능을 담당한다. 즉, 상기 프레임 추출기(520)는 100/fr에 임의의 양의 정수를 곱하여, 'xx.5' 에 가깝게 될 때의 상수(즉, 반대 위상의 플리커가 나타나는 프레임)('C100'이라 함)를 찾는다. 또한, 120/fr에 임의의 양의 정수를 곱하여 'xx.5'에 가깝게 될 때의 상수('C120'이라 함)를 찾을 수 있다.The frame extractor 520 is responsible for extracting a frame in which flicker noise of an opposite phase appears. In other words, the frame extractor 520 multiplies 100 / fr by any positive integer, which is a constant when it becomes close to 'xx.5' (i.e., a frame in which flicker in the opposite phase appears) (called 'C100'). Find it. We can also find the constant (referred to as 'C120') when it approaches xxx (5) by multiplying 120 / fr by any positive integer.

예를 들어, 상기 프레임 속도 조정기(510)가 구한 프레임 속도에 대하여 C100 및 C120을 구하면 다음과 같다. 즉, fr이 7.4인 경우는 C100은 1, C120은 2이며, fr이 11.4인 경우에는 C100은 2, C120은 1일 수 있다. 또한, fr이 16인 경우에는 C100은 2, C120은 1일 수 있으며, fr이 22인 경우에는 C100은 1, C120은 1일 수 있다.For example, when C100 and C120 are obtained with respect to the frame rate obtained by the frame rate adjuster 510, it is as follows. That is, when fr is 7.4, C100 may be 1 and C120 may be 2, and when fr is 11.4, C100 may be 2 and C120 may be 1. In addition, when fr is 16, C100 may be 2 and C120 may be 1, and when fr is 22, C100 may be 1 and C120 may be 1.

이후, 상기 프레임 추출기(520)는 C100 및 C120 중 큰수인 Cmax = max(C100, C120)를 구하여, Cmax+1 장의 프레임에 대해서 상기 전처리부(110)로부터 샘플값들을 받아 저장하는 기능을 담당한다. 이때, Cmax+1은 0.5초에 해당되는 프레임 수를 넘지 않도록 제한할 수 있다. Thereafter, the frame extractor 520 obtains C max = max (C100, C120), which is a larger number among C100 and C120, and receives and stores sample values from the preprocessor 110 for C max +1 frames. In charge. In this case, C max +1 may be limited not to exceed the number of frames corresponding to 0.5 seconds.

상기 플리커 잡음 검출기(530)는 첫 번째 프레임과 (C100+1) 프레임의 샘플들의 평균을 구한 뒤, 다시 (C100+1)의 샘플에서 구한 값을 빼서 플리커 잡음만 존재하는 데이터를 획득하는 기능을 담당한다. 또한, 첫 번째 프레임과 (C120+1) 프레임의 샘플들의 평균을 구한 뒤, 다시 (C120+1)의 샘플에서 구한 값을 빼서 플리커 잡음만 존재하는 데이터를 획득하는 기능을 담당한다.The flicker noise detector 530 calculates an average of the samples of the first frame and the (C100 + 1) frame, and then subtracts the value obtained from the sample of (C100 + 1) to obtain data having only flicker noise. In charge. In addition, after obtaining the average of the samples of the first frame and (C120 + 1) frame, and subtracted the value obtained from the sample of (C120 + 1) again, it is responsible for acquiring data having only flicker noise.

상기 정규화기(540)는 상기 플리커 잡음 검출기(530)로부터 수신한 100과 120 Hz에 해당되는 플리커 잡음 성분만이 존재하는 데이터를 정규화하는 기능을 담당한다. 이때, 제로 민(zero mean) 또는 단위 변위(unit variance) 방식을 사용할 수 있다.The normalizer 540 is responsible for normalizing data in which only flicker noise components corresponding to 100 and 120 Hz received from the flicker noise detector 530 are present. In this case, a zero mean or unit variance method may be used.

이와 같은 방식으로 상기 도 1의 플리커 잡음 검출부(120)는 플리커 잡음 성분만이 존재하는 데이터를 검출할 수 있다.In this manner, the flicker noise detector 120 of FIG. 1 may detect data in which only flicker noise components exist.

상기 노광 시간 제어부(130)는 플리커 잡음 주파수를 결정하여, 노광 시간을 제어하는 기능을 담당한다.The exposure time controller 130 is responsible for controlling the exposure time by determining a flicker noise frequency.

상기 노광 시간 제어부(130)는 상기 정규화기(540)에 의해 정규화된 데이터를 이용하여 각각 100Hz의 플리커 성분과 120Hz의 플리커 성분을 구하는 기능을 담당한다.The exposure time controller 130 is responsible for obtaining a flicker component of 100 Hz and a flicker component of 120 Hz, respectively, by using the data normalized by the normalizer 540.

즉, 상기 정규화기(540)에 의해 정규화된 데이터에 각각 100Hz 와 120Hz 계수(coefficients)를 곱하여, 실수는 실수끼리, 허수는 허수끼리 더한 뒤, 실수부의 제곱과 허수부의 제곱을 더하고 샘플수(sample number)로 나눈다. 이때, 100Hz 와 120Hz 계수를 구하는 식은 각각 다음 수학식 4 및 수학식 5와 같다.That is, the data normalized by the normalizer 540 is multiplied by 100 Hz and 120 Hz coefficients, respectively, real numbers are added to real numbers, imaginary numbers are added to imaginary numbers, and then the squares of the real part and the imaginary part are added and the number of samples divide by number). At this time, the equation for obtaining the 100Hz and 120Hz coefficients are as shown in Equations 4 and 5, respectively.

[수학식 4] [Equation 4]

Figure 112005042981553-pat00008
Figure 112005042981553-pat00008

[수학식 5] [Equation 5]

Figure 112005042981553-pat00009
Figure 112005042981553-pat00009

이때, n은 0 내지 (샘플수-1)의 정수이며, 리샘플링 비율이 480Hz, 샘플수 24인 경우의 계수는 다음과 같다.At this time, n is an integer of 0 to (number of samples-1), and the coefficient when the resampling ratio is 480 Hz and the number of samples 24 is as follows.

100Hz인 경우, 실수부의 계수는 [1, 0.26, -0.87, -0.71, 0.5, 0.97, 0, -0.97, -0.5, 0.71, 0.87, -0.26, -1, -0.26, 0.87, 0.71, -0.5, -0.97, 0, 0.97, 0.5, -0.71, -0.87, 0.26]이며, 허수부의 계수는 [0, -0.97, -0.5, 0.71, 0.87, -0.26, -1, -0.26, 0.87, 0.71, -0.5, -0.97, 0, 0.97, 0.5, -0.71, -0.87, 0.26, 1, 0.26, -0.87, -0.71, 0.5, 0.97]이다. 또한, 120Hz인 경우, 실수부의 계수는 [1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0]이며, 허수부의 계수는 [0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1]이다.At 100 Hz, the coefficients of the real part are [1, 0.26, -0.87, -0.71, 0.5, 0.97, 0, -0.97, -0.5, 0.71, 0.87, -0.26, -1, -0.26, 0.87, 0.71, -0.5 , -0.97, 0, 0.97, 0.5, -0.71, -0.87, 0.26], and the imaginary part coefficients are [0, -0.97, -0.5, 0.71, 0.87, -0.26, -1, -0.26, 0.87, 0.71, -0.5, -0.97, 0, 0.97, 0.5, -0.71, -0.87, 0.26, 1, 0.26, -0.87, -0.71, 0.5, 0.97]. In addition, at 120 Hz, the coefficient of the real part is [1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0. , -1, 0, 1, 0, -1, 0], the imaginary part's coefficient is [0, -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1, 0 , -1, 0, 1, 0, -1, 0, 1, 0, -1, 0, 1].

이렇게 구한 100Hz 플리커 성분과 120Hz 플리커 성분 중에서 임계치(threshold)(본 발명에서, 예를 들어 5임)보다 큰 경우가 존재하면, 그때의 플리커 성분이 나타나는 주파수를 플리커 잡음 주파수로 결정하고, 이를 제거하기 위하여 노광 시간을 제어하는 기능을 담당한다. 플리커 잡음 주파수를 fp라고 하면, 이미 설명한 바와 같이, 노광 시간 t는 다음 수학식과 같다.If any of the 100 Hz flicker components and 120 Hz flicker components obtained above are larger than a threshold (in the present invention, for example, 5), the frequency at which the flicker components appear is determined as the flicker noise frequency, and then removed. In order to control the exposure time. If the flicker noise frequency is f p , as described above, the exposure time t is expressed by the following equation.

[수학식 6] [Equation 6]

Figure 112005042981553-pat00010
Figure 112005042981553-pat00010

이때, n은 양의 정수이다.N is a positive integer.

만약, 두 경우에서 어떤 성분도 임계치보다 큰 경우가 없으면, 상기 노광시간 제어부(130)는 플리커 잡음이 없는 것으로 간주하고 현재의 노광 시간을 그대로 유지할 수 있다. If neither component is larger than the threshold in both cases, the exposure time controller 130 may assume that there is no flicker noise and maintain the current exposure time.

본 발명의 플리커 잡음 제거 장치는, 이와 같은 과정을 주기적으로 반복하여 플리커 잡음 주파수를 결정하고 노광 시간을 제어할 수 있다.The flicker noise canceling apparatus of the present invention can repeat this process periodically to determine the flicker noise frequency and to control the exposure time.

도 6은 본 발명에 따른 플리커 잡음 제거 방법을 설명하기 위한 일실시예 흐름도이다.6 is a flowchart illustrating an exemplary method for removing flicker noise according to the present invention.

도면에 도시된 바와 같이, 본 발명의 플리커 잡음 제거 방법은, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하는 기능을 담당한다(S600). 이때, 앞서 설명한 바와 같이, 배이어 패턴 이미지는 상기 도 2와 같다. 입력되는 배이어 패턴 이미지에서 휘도 Y를 구하고, 이와 같이 구한 휘도 이미지의 수평방향으로의 평균값을 구하고, 수직 방향으로 샘플링 구간 간격으로 샘플을 취득하여, 리샘플링된 휘도 데이터를 추출할 수 있다. 샘플링 구간을 구하는 식은 상기 수학식 2와 같으며, 샘플링 구간이 실수인 경우에는 쌍선형 보간을 통해 보간한 뒤 샘 플을 취득할 수 있다. As shown in the figure, the flicker noise removing method of the present invention is responsible for extracting the resampled luminance data from the input Bayer pattern image (S600). In this case, as described above, the Bayer pattern image is as shown in FIG. 2. The luminance Y may be obtained from the input Bayer pattern image, the average value in the horizontal direction of the luminance image thus obtained may be obtained, samples may be acquired at sampling intervals in the vertical direction, and the resampled luminance data may be extracted. The equation for obtaining the sampling interval is as shown in Equation 2 above. If the sampling interval is a real number, the sample may be acquired after interpolation through bilinear interpolation.

이후, 현재의 프레임 속도(fr)를 측정하여, 플리커 잡음이 발생하는 주파수(100 또는 120 Hz)를 나누어 떨어지게 하지 않으면서 현재 값에 가까운 프레임 속도로 조정한다(S602). 이때 사용될 fr의 예로써, 측정된 fr이 5~10일 경우에는 7.4로, 측정된 fr이 10~15일 경우에는 11.4, 측정된 fr이 15~20일 경우에는 16으로, 측정된 fr이 20~25일 경우에는 22로 조정할 수 있음은 이미 설명한 바와 같다.Thereafter, the current frame rate fr is measured to adjust the frame rate close to the current value without dividing the frequency (100 or 120 Hz) at which flicker noise occurs (S602). Examples of fr to be used are 7.4 when the measured fr is 5 to 10, 11.4 when the measured fr is 10 to 15, 16 when the measured fr is 15 to 20, and the measured fr is 20 In the case of ˜25, it can be adjusted to 22 as described above.

이렇게 구한 fr을 이용하여, 반대 위상의 플리커 잡음이 나타나는 프레임을 추출할 수 있다(S604). 즉, 100/fr에 임의의 양의 정수를 곱하여, 'xx.5' 에 가깝게 될 때의 상수(즉, 반대 위상의 플리커가 나타나는 프레임)('C100'이라 함)를 찾고, 또한, 120/fr에 임의의 양의 정수를 곱하여 'xx.5'에 가깝게 될 때의 상수('C120'이라 함)를 추출한다.Using the thus obtained fr , a frame in which flicker noise of the opposite phase appears can be extracted (S604). That is, 100 / fr is multiplied by any positive integer to find a constant (ie, a frame in which flicker in the opposite phase appears) (close to 'C100') when it comes close to 'xx.5', and also 120 / fr . Multiply fr by any positive integer to extract the constant (called 'C120') when it comes close to 'xx.5'.

이렇게 구한 C100 및 C120 중 큰수인 Cmax = max(C100, C120)를 구하여, Cmax+1 장의 프레임에 대해서 상기 전처리부(110)로부터 샘플값들을 받아 저장할 수 있다.C max = max (C100, C120), which is a larger number of C100 and C120, is obtained, and the sample values can be received from the preprocessor 110 for C max +1 frames.

이후, 첫 번째 프레임과 (C100+1) 프레임의 샘플들의 평균을 구한 뒤, 다시 (C100+1)의 샘플에서 구한 값을 빼서 플리커 잡음만 존재하는 데이터를 획득하고, 첫 번째 프레임과 (C120+1) 프레임의 샘플들의 평균을 구한 뒤, 다시 (C120+1)의 샘플에서 구한 값을 빼서 플리커 잡음만 존재하는 데이터를 획득한다(S606). 이러한 플리커 잡음 성분만이 존재하는 데이터를 정규화한다(S608). 이때, 제로 민 (zero mean) 또는 단위 변위(unit variance) 방식을 사용할 수 있다.Then, after averaging the samples of the first frame and the (C100 + 1) frame, subtracting the value obtained from the sample of (C100 + 1), the data having only flicker noise is obtained, and the first frame and the (C120 + 1) After the average of the samples of the frame is obtained, the data obtained by subtracting the value obtained from the sample of (C120 + 1) again to obtain data having only flicker noise (S606). The data in which only such flicker noise components exist is normalized (S608). In this case, a zero mean or unit variance method may be used.

그리고, 정규화된 데이터에 각각 100Hz 와 120Hz 계수를 곱하여, 실수는 실수끼리, 허수는 허수끼리 더한 뒤, 실수부의 제곱과 허수부의 제곱을 더하고 샘플수로 나눠 100Hz 플리커 성분과 120Hz 플리커 성분을 구하고(S610), 그 중에서 임계치보다 큰 경우가 존재하면(S612), 그때의 플리커 성분이 나타나는 주파수를 플리커 잡음 주파수로 결정하고, 이를 제거하기 위하여 노광 시간을 변경한다(S614). 노광 시간은 상기 수학식 6에 의해 결정할 수 있다.Then, the normalized data is multiplied by the coefficients of 100 Hz and 120 Hz, respectively, real numbers are added to real numbers, imaginary numbers are added to each other, then the squares of the real part and the imaginary part are added and divided by the number of samples to obtain a 100 Hz flicker component and a 120 Hz flicker component (S610). If there is a case larger than the threshold value (S612), the frequency at which the flicker component appears at that time is determined as the flicker noise frequency, and the exposure time is changed to remove it (S614). The exposure time can be determined by the above equation (6).

만약, 플리커 성분 중 어떤 성분도 임계치보다 큰 경우가 없으면(S612), 플리커 잡음이 없는 것으로 간주하고 현재의 노광 시간을 그대로 유지할 수 있다(S616). If none of the flicker components is larger than the threshold (S612), the flicker noise may be regarded as no flicker noise and the current exposure time may be maintained as it is (S616).

본 발명의 플리커 잡음 제거 장치는, 상기 S602 단계 내지 상기 S616 단계를 반복하여 수행함으로써, 플리커 잡음 주파수를 결정하고 노광 시간을 제어할 수 있다.The flicker noise canceling apparatus of the present invention may determine flicker noise frequency and control the exposure time by repeatedly performing steps S602 to S616.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and various substitutions, modifications, and changes can be made in the art without departing from the technical spirit of the present invention. It will be clear to those of ordinary knowledge.

상기한 바와 같은 본 발명은, 입력되는 영상의 고유 주파수 성분을 배제하기 위해, 반대 위상의 플리커 잡음이 발생될 때의 영상을 이용하여 플리커 잡음 성분만이 포함된 데이터를 추출함으로써, 기존의 방법에 비해 훨씬 정확한 플리커 잡음 주파수를 측정하여 이를 제거할 수 있도록 하는 효과가 있다.As described above, the present invention extracts data containing only the flicker noise component by using the image when the flicker noise of the opposite phase is generated in order to exclude the natural frequency component of the input image. Compared to this, the flicker noise frequency can be measured and eliminated.

또한, 본 발명은 하나로 고정된 프레임 속도가 아닌 경우에 있어서도 구간별로 사전에 적은 프레임 수를 필요로 하는 특정 프레임 속도를 설정해 둠으로써, 변화하는 프레임 속도에서도 무리 없이 플리커 잡음을 검출할 수 있도록 하는 효과가 있다.In addition, the present invention, by setting a specific frame rate that requires a small number of frames in advance for each section even when the frame rate is not fixed to one, it is possible to detect flicker noise without change even in a variable frame rate There is.

Claims (10)

플리커 잡음 제거 장치에 있어서,A flicker noise canceller, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하는 전처리부;A preprocessor extracting the resampled luminance data from the input Bayer pattern image; 반대 위상의 플리커 잡음이 나타나는 프레임을 이용하여 상기 리샘플링된 휘도 데이터에서 플리커 잡음이 존재하는 데이터를 추출하는 플리커 잡음 검출부; 및A flicker noise detector which extracts data having flicker noise from the resampled luminance data using a frame in which flicker noise of an opposite phase appears; And 상기 플리커 잡음 검출부에서 구한 플리커 잡음이 존재하는 데이터에서 플리커 잡음 주파수를 결정하고, 이를 이용하여 노광 시간을 제어하는 노광 시간 제어부를 포함하는 플리커 잡음 제거 장치.And an exposure time control unit configured to determine a flicker noise frequency from data in which there is flicker noise obtained by the flicker noise detector, and to control the exposure time using the flicker noise detection device. 제1항에 있어서,The method of claim 1, 상기 전처리부는,The preprocessing unit, 입력되는 배이어 패턴 이미지로부터 휘도 성분을 추출하기 위한 휘도 성분 추출기;A luminance component extractor for extracting a luminance component from an input Bayer pattern image; 상기 휘도 성분 추출기로부터 구한 휘도 이미지의 수평 방향으로의 평균값을 구하기 위한 평균값 계산기; 및An average value calculator for obtaining an average value in the horizontal direction of the luminance image obtained from the luminance component extractor; And 상기 평균값 계산기로부터 구한 수평 방향으로의 평균값 중에서 수직 방향으로 샘플링 구간 간격으로 샘플을 취득하기 위한 리샘플링 수행기를 포함하는 것을 특징으로 하는 플리커 잡음 제거 장치.And a resampling performer for acquiring samples at intervals of sampling intervals in the vertical direction from among the average values in the horizontal direction obtained from the average calculator. 제2항에 있어서,The method of claim 2, 상기 리샘플링 수행기는,The resampling performer, 샘플링 구간이 실수인 경우에는, 쌍선형 보간을 통해 보간하여 샘플을 취득하는 것을 특징으로 하는 플리커 잡음 제거 장치.And if the sampling interval is a real number, a flicker noise canceling device characterized in that interpolation is obtained through bilinear interpolation. 제1항에 있어서,The method of claim 1, 상기 플리커 잡음 검출부는,The flicker noise detector, 현재의 프레임 속도를 측정하여, 100Hz과 120Hz로 나누어 떨어지지 않고 현재값에 가깝도록 프레임 속도를 조정하기 위한 프레임 속도 조정기;A frame rate adjuster for measuring a current frame rate and adjusting the frame rate to be close to the present value without being divided into 100 Hz and 120 Hz; 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 각각 추출하기 위한 프레임 추출기;A frame extractor for extracting frames C100 and C120, respectively, in which flicker noise of an opposite phase appears; 첫번째 프레임과 (C100+1) 프레임 샘플의 평균을 구하여 이를 (C100+1) 프레임의 샘플에서 가감하고, 첫번째 프레임과 (C120+1) 프레임 샘플의 평균을 구하여 이를 (C120+1) 프레임의 샘플에서 가감하여, 각각 플리커 잡음만이 존재하는 데이 터를 획득하기 위한 플리커 잡음 검출기; 및Obtain the average of the first frame and (C100 + 1) frame sample and subtract it from the sample of the (C100 + 1) frame, and average the first frame and the (C120 + 1) frame sample to find the sample of the (C120 + 1) frame. A flicker noise detector for obtaining data in which only flicker noise is present; And 상기 플리커 잡음 검출기로부터 수신한 데이터를 정규화하기 위한 정규화기를 포함하는 것을 특징으로 하는 플리커 잡음 제거 장치.And a normalizer for normalizing the data received from the flicker noise detector. 제4항에 있어서,The method of claim 4, wherein 상기 프레임 추출기는,The frame extractor, 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 각각 추출하기 위하여, '100/프레임 속도'와의 곱이 미리 지정된 값에 근접되는 양의 정수를 상기 C100으로 결정하고, '120/프레임 속도'와의 곱이 미리 지정된 값에 근접되는 양의 정수를 상기 C120으로 결정하되,In order to extract the frames C100 and C120 in which the flicker noise of the opposite phase appears, respectively, a positive integer whose product of '100 / frame rate' is close to a predetermined value is determined as C100, and is determined as '120 / frame rate'. A positive integer whose product is close to a predetermined value is determined as C120, 상기 미리 지정된 값이 소숫점을 포함하는 값인 경우, 소숫점 이하의 값을 기준하여 근접되도록 하는 양의 정수로 결정되며, 상기 C100으로 결정된 양의 정수와 상기 C120으로 결정된 양의 정수는 일치하거나 불일치하는 것을 특징으로 하는 플리커 잡음 제거 장치.When the predetermined value is a value including a decimal point, it is determined to be a positive integer that is close to the base value of the decimal point or less, and the positive integer determined by the C100 and the positive integer determined by the C120 is matched or inconsistent. Flicker noise canceller. 제1항에 있어서,The method of claim 1, 상기 노광 시간 제어부는,The exposure time control unit, 다음의 수학식으로부터 구한 계수를 각각 이용하여 100Hz 플리커 성분과 120Hz 플리커 성분을 구하고, 그 중 소정의 임계치보다 큰 플리커 성분이 있는 주파수가 존재하면, 해당 주파수를 플리커 잡음 주파수로 결정하고 이를 이용하여 노광 시간을 변경하는 것을 특징으로 하는 플리커 잡음 제거 장치.The 100 Hz flicker component and the 120 Hz flicker component are obtained by using the coefficients obtained from the following equations, and if a frequency having the flicker component larger than a predetermined threshold exists among them, the frequency is determined as the flicker noise frequency, and the exposure is used. Flicker noise canceller, characterized in that changing the time.
Figure 112005042981553-pat00011
Figure 112005042981553-pat00011
Figure 112005042981553-pat00012
Figure 112005042981553-pat00012
(이때, n은 0 내지 (샘플수-1)의 정수임)Where n is an integer from 0 to (sample-1)
플리커 잡음 제거 방법에 있어서,In the flicker noise cancellation method, 입력되는 배이어 패턴 이미지에서 리샘플링된 휘도 데이터를 추출하는 단계(a);Extracting luminance data resampled from the input Bayer pattern image (a); 현재의 프레임 속도를 측정하여, 100Hz과 120Hz로 나누어 떨어지지 않고 현재값에 가깝도록 프레임 속도를 조정하는 단계(b);Measuring the current frame rate and adjusting the frame rate to be close to the present value without dividing into 100 Hz and 120 Hz; 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 추출하는 단계(c);(C) extracting frames C100 and C120 in which flicker noise of opposite phases appears; 첫번째 프레임과 (C100+1) 프레임 샘플의 평균을 구하여 이를 (C100+1) 프레임의 샘플에서 가감하고, 첫번째 프레임과 (C120+1) 프레임 샘플의 평균을 구하여 이를 (C120+1) 프레임의 샘플에서 가감하여, 각각 플리커 잡음만이 존재하는 데이터를 획득하는 단계(d);Obtain the average of the first frame and (C100 + 1) frame sample and subtract it from the sample of the (C100 + 1) frame, and average the first frame and the (C120 + 1) frame sample to find the sample of the (C120 + 1) frame. Subtracting at and obtaining data each having only flicker noise; 플리커 잡음만이 존재하는 데이터를 정규화하는 단계(e);(E) normalizing data in which only flicker noise is present; 100Hz 플리커 성분과 120Hz 플리커 성분을 구하고, 그 중 소정의 임계치보다 큰 플리커 성분이 있는 주파수가 존재하면, 해당 주파수를 플리커 잡음 주파수로 결정하고 이를 이용하여 노광 시간을 변경하는 단계(f)(F) determining a 100 Hz flicker component and a 120 Hz flicker component, and if there is a frequency having a flicker component larger than a predetermined threshold, determining the frequency as the flicker noise frequency and using the same to change the exposure time; 를 포함하는 플리커 잡음 제거 방법.Flicker noise removal method comprising a. 제7항에 있어서,The method of claim 7, wherein 상기 단계(a) 내지 단계(f)를 반복하여 수행하는 단계(g)를 더 포함하는 플리커 잡음 제거 방법.And (g) repeatedly performing the steps (a) to (f). 제7항 또는 제8항에 있어서,The method according to claim 7 or 8, 상기 단계(c)는,Step (c) is, 반대 위상의 플리커 잡음이 나타나는 프레임(C100 및 C120)을 각각 추출하기 위하여, '100/프레임 속도'와의 곱이 미리 지정된 값에 근접되는 양의 정수를 상기 C100으로 결정하고, '120/프레임 속도'와의 곱이 미리 지정된 값에 근접되는 양의 정수를 상기 C120으로 결정하되,In order to extract the frames C100 and C120 in which the flicker noise of the opposite phase appears, respectively, a positive integer whose product of '100 / frame rate' is close to a predetermined value is determined as C100, and is determined as '120 / frame rate'. A positive integer whose product is close to a predetermined value is determined as C120, 상기 미리 지정된 값이 소숫점을 포함하는 값인 경우, 소숫점 이하의 값을 기준하여 근접되도록 하는 양의 정수로 결정되며, 상기 C100으로 결정된 양의 정수와 상기 C120으로 결정된 양의 정수는 일치하거나 불일치하는 것을 특징으로 하는 플리커 잡음 제거 방법.When the predetermined value is a value including a decimal point, it is determined to be a positive integer that is close to the base value of the decimal point or less, and the positive integer determined by the C100 and the positive integer determined by the C120 is matched or inconsistent. Characterized by flicker noise cancellation. 제7항 또는 제8항에 있어서,The method according to claim 7 or 8, 상기 단계(f)의 100Hz 플리커 성분과 120Hz 플리커 성분은,100 Hz flicker component and 120 Hz flicker component of step (f), 다음의 수학식으로부터 추출한 계수를 각각 이용하여 구하는 것을 특징으로 하는 플리커 잡음 제거 방법.A flicker noise canceling method characterized by obtaining each of the coefficients extracted from the following equation.
Figure 112005042981553-pat00013
Figure 112005042981553-pat00013
Figure 112005042981553-pat00014
Figure 112005042981553-pat00014
(이때, n은 0 내지 (샘플수-1)의 정수임)Where n is an integer from 0 to (sample-1)
KR1020050071123A 2005-08-03 2005-08-03 Apparatus and method for removing flicker noise KR100767634B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050071123A KR100767634B1 (en) 2005-08-03 2005-08-03 Apparatus and method for removing flicker noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050071123A KR100767634B1 (en) 2005-08-03 2005-08-03 Apparatus and method for removing flicker noise

Publications (2)

Publication Number Publication Date
KR20070016453A KR20070016453A (en) 2007-02-08
KR100767634B1 true KR100767634B1 (en) 2007-10-17

Family

ID=41632644

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050071123A KR100767634B1 (en) 2005-08-03 2005-08-03 Apparatus and method for removing flicker noise

Country Status (1)

Country Link
KR (1) KR100767634B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500860A (en) * 2020-10-26 2022-05-13 北京小米移动软件有限公司 Method for eliminating light source flicker, device for eliminating light source flicker and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980024059A (en) * 1996-06-19 1998-07-06 모리시다 요이치 Television receiver, antenna diversity controller, sync signal stabilizer, luminance signal stabilizer, color signal stabilizer, video signal stabilizer, television signal transmission method and television signal receiver

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19980024059A (en) * 1996-06-19 1998-07-06 모리시다 요이치 Television receiver, antenna diversity controller, sync signal stabilizer, luminance signal stabilizer, color signal stabilizer, video signal stabilizer, television signal transmission method and television signal receiver

Also Published As

Publication number Publication date
KR20070016453A (en) 2007-02-08

Similar Documents

Publication Publication Date Title
KR101950396B1 (en) Imaging device and imaging method
JP4904749B2 (en) Flicker reduction method, flicker reduction circuit, and imaging apparatus
US9055228B2 (en) Imaging device and signal processing method for flicker reduction
US4220972A (en) Low contrast object extraction device
EP2393284A1 (en) Image processing device, signal processing device, and program
JP2007028573A (en) Image processing apparatus and image-pickup device
KR20030057465A (en) Flicker correction apparatus and flicker correction method, and recording medium storing flicker correction program
JP2006345368A (en) Image processing apparatus and imaging apparatus
KR20060118361A (en) System and method for subtracting dark noise from an image using an estimated dark noise scale factor
KR20060010890A (en) Method for detection of flicker in image signal
JP4831760B2 (en) 3D information detection method and apparatus
CN107274364B (en) image enhancement method and device
US20150146998A1 (en) Flicker reducing device, imaging device, and flicker reducing method
JP2006319831A (en) Image processor and image pickup device
CN113155032A (en) Building structure displacement measurement method based on dynamic vision sensor DVS
JP4328115B2 (en) Solid-state imaging device
TWI573096B (en) Method and apparatus for estimating image noise
KR100767634B1 (en) Apparatus and method for removing flicker noise
JP2016076851A (en) Imaging apparatus, image processing method, and program
JP2011169842A (en) Flicker measuring method and device thereof
JP2007158964A (en) Image processing apparatus and imaging device
JP5222779B2 (en) License plate recognition device
JP2004219291A (en) Line defect detection method and device for screen
KR101214000B1 (en) Apparatus for detecting color rolling and method thereof
JP2008532342A (en) Method and apparatus for generating motion compensated pictures

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: 20120928

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20130926

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151001

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 12