KR100575443B1 - Method and apparatus for interpolating image and removing noise - Google Patents

Method and apparatus for interpolating image and removing noise Download PDF

Info

Publication number
KR100575443B1
KR100575443B1 KR1020040031594A KR20040031594A KR100575443B1 KR 100575443 B1 KR100575443 B1 KR 100575443B1 KR 1020040031594 A KR1020040031594 A KR 1020040031594A KR 20040031594 A KR20040031594 A KR 20040031594A KR 100575443 B1 KR100575443 B1 KR 100575443B1
Authority
KR
South Korea
Prior art keywords
noise
image
interpolation
mask
filter
Prior art date
Application number
KR1020040031594A
Other languages
Korean (ko)
Other versions
KR20050106612A (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 KR1020040031594A priority Critical patent/KR100575443B1/en
Publication of KR20050106612A publication Critical patent/KR20050106612A/en
Application granted granted Critical
Publication of KR100575443B1 publication Critical patent/KR100575443B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4015Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0135Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving interpolation processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20032Median filtering

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Color Television Image Signal Generators (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

본 발명은 영상을 보간하고 노이즈를 제거하는 방법 및 장치에 관한 것이다. 본 발명에 따른 방법은 (2n + 2)(단, 여기서 n=1, 2, 3) 개의 라인 메모리와 결합된 보간 및 노이즈 제거부가 영상을 보간하고 노이즈를 제거하는 방법에 있어서 Bayer 패턴으로 이루어진 (2n+3) × (2n+3) 마스크에서 영상을 보간하는 제1 단계; 상기 영상을 보간하여 (2n+1) × (2n+1) 마스크를 생성하는 제2 단계; 및 상기 (2n+1) × (2n+1) 마스크에서 노이즈를 제거하는 제3 단계를 포함한다. 그 결과 본 발명은 전체적인 라인 메모리를 감소시킴으로써 동일한 노이즈 제거 필터 효과를 얻기 때문에 비용 절감의 효과가 있다.The present invention relates to a method and apparatus for interpolating an image and removing noise. In the method according to the present invention, the interpolation and noise removing unit combined with (2n + 2) (where n = 1, 2, 3) line memory interpolates the image and removes the noise ( A first step of interpolating the image in a 2n + 3) × (2n + 3) mask; Generating a (2n + 1) × (2n + 1) mask by interpolating the image; And a third step of removing noise from the (2n + 1) × (2n + 1) mask. As a result, the present invention is cost effective because the same noise reduction filter effect is obtained by reducing the overall line memory.

보간, 노이즈, 라인 메모리, 필터 Interpolation, noise, line memory, filter                                    

Description

영상을 보간하고 노이즈를 제거하는 방법 및 장치{Method and Apparatus for interpolating image and cancelling an noise of image} Method and Apparatus for Interpolating and Removing Noise {Method and Apparatus for interpolating image and canceling an noise of image}

도 1a 내지 1d는 5 × 5 마스크 크기의 RGB Bayer 패턴의 예시도.1A-1D illustrate an example of an RGB Bayer pattern of 5 × 5 mask size.

도 2는 종래의 영상을 보간하고 노이즈를 제거하는 장치에 대한 볼록 구성도.2 is a convex configuration diagram of an apparatus for interpolating a conventional image and removing noise.

도 3a는 3 × 3 마스크 크기의 RGB Bayer 패턴의 RG 라인에서 G3이 중심화소인 경우의 예시도.Fig. 3A is an illustration of the case where G3 is the center pixel in the RG line of the RGB Bayer pattern of 3x3 mask size.

도 3b는 3 × 3 마스크 크기의 RGB Bayer 패턴의 RG 라인에서 R1 성분이 중심 화소인 경우의 예시도.3B is an exemplary diagram when the R1 component is the center pixel in the RG line of the RGB Bayer pattern having the size of 3x3 mask.

도 4는 3 × 3 크기의 마스크에서 노이즈를 제거하기 위한 노이즈 제거 필터의 블록 구성도.4 is a block diagram of a noise removing filter for removing noise in a 3 × 3 mask.

도 5는 본 발명의 바람직한 일 실시예에 따른 영상을 보간하고 노이즈를 제거하는 장치에 대한 블록 구성도.5 is a block diagram illustrating an apparatus for interpolating an image and removing noise according to an exemplary embodiment of the present invention.

도 6a는 5 × 5 마스크 크기의 GB 라인에서 G5가 중앙 화소값인 경우 예시도.6A is an exemplary diagram when G5 is a center pixel value in a GB line having a 5 × 5 mask size.

본 발명은 영상을 보간하고 노이즈를 제거하는 방법 및 장치에 관한 것으로서, 보다 구체적으로는 4개의 라인 메모리를 이용하여 영상의 보간과 동시에 영상에 포함된 노이즈의 제거를 하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for interpolating an image and removing noise, and more particularly, to a method and an apparatus for removing noise included in an image simultaneously with interpolation of the image using four line memories.

이미지 센서는 여러 개의 화소가 2차원 구조로 배열되어 있고 각 화소는 빛의 밝기에 따라 이를 전기 신호로 변환시킨다. 이 전기 신호를 측정하면 각 화소에 들어오는 빛의 양을 알 수 있고, 이를 전기 신호로 변환하여 이용하여 화소 단위의 영상을 구성할 수 있는 데 이와 같이 빛의 양에 상응하는 전기 신호를 수치로 표현한 값을 화소값이라 한다. 여기서, 화소값은 0~255 사이의 값으로 표현될 수 있다.In the image sensor, several pixels are arranged in a two-dimensional structure, and each pixel converts it into an electrical signal according to the brightness of light. By measuring the electric signal, the amount of light entering each pixel can be known and converted into an electric signal to form an image of a pixel unit. The electric signal corresponding to the amount of light is expressed numerically. The value is called a pixel value. Here, the pixel value may be expressed as a value between 0 and 255.

디지털 카메라는 일반적으로 하나의 이미지 센서를 사용하는데 디지털 카메라가 완전 색상(full color) 영상을 얻기 위해서는 각각의 화소에 대해 보다 많은 정보를 필요로 한다. 그런데 이미지 센서의 화소들은 영상에 포함된 여러 개의 색상 중에서 단 하나의 색상에 대한 화소값을 추출하기 때문에 색상 필터 어레이(CFA : Color Filter Array)를 이용하여 잃어버린 화소의 정보를 그 주위의 화소에 대한 정보를 이용하여 추론하여야 한다. Digital cameras generally use a single image sensor, which requires more information about each pixel in order to obtain a full color image. However, since the pixels of the image sensor extract pixel values of only one color from among the plurality of colors included in the image, information of the lost pixels using the color filter array (CFA) is used for the surrounding pixels. Inferred from information.

RGB Bayer 패턴은 가장 일반적인 색상 필터 어레이로서, 구체적으로는 도 1a 내지 1d에 의해 살펴본다. 도 1a 내지 1d는 5 × 5 마스크 크기의 RGB Bayer 패턴의 예시도이다. 도 1을 참조하면, 제1열은 RGRGRG… 제2열은 GBGBGB…의 순서로 입력될 수 있으며, 홀수 열은 제1열의 반복 패턴을 가지고, 짝수 열은 제2열의 반복 패턴을 갖는다. 제1열의 최초 픽셀은 R, G, B 화소 중 어느 하나가 올 수 있으며, R, G, B 화소는 4개 종류의 패턴을 가질 수 있다. The RGB Bayer pattern is the most common color filter array, specifically as described with reference to FIGS. 1A-1D. 1A to 1D are exemplary views of RGB Bayer patterns having a 5 × 5 mask size. Referring to Fig. 1, the first column shows RGRGRG... The second column shows GBGB GB... The odd columns may have a repeating pattern of the first column, and the even columns may have a repeating pattern of the second column. The first pixel of the first column may be any one of R, G, and B pixels, and the R, G, and B pixels may have four types of patterns.

한편, 이러한 색상 필터 어레이를 이용하여 영상의 생상을 복구하는 것을 색상 보간(Color Interpolation)이라 한다.On the other hand, using the color filter array to restore the image is called color interpolation (Color Interpolation).

도 2는 종래의 영상을 보간하고 노이즈를 제거하는 장치에 대한 볼록 구성도이다. 도 2를 참조하면, 이미지 센서(201)는 영상을 촬영하여 RGB Bayer 패턴의 화소값을 생성한다. 2 is a convex block diagram of an apparatus for interpolating a conventional image and removing noise. Referring to FIG. 2, the image sensor 201 generates an image of an RGB Bayer pattern by capturing an image.

이미지 센서(201)로부터 생성된 화소값은 라인 메모리(203, 205)에 저장된다. 색상 영상을 보간하기 위해서는 현재 라인의 화소값 이외에도 이전 라인의 화소값 및 이후 라인의 화소값을 필요로 하기 때문에 라인 메모리가 필요하다.Pixel values generated from the image sensor 201 are stored in the line memories 203 and 205. In order to interpolate the color image, a line memory is required because the pixel value of the previous line and the pixel value of the subsequent line are required in addition to the pixel value of the current line.

그 후 보간부(207)는 현재 라인의 중심 화소를 보간한다. The interpolator 207 then interpolates the center pixel of the current line.

보간부(207)가 현재 라인의 중심 화소를 보간하는 방법은 크게 비적응적 보간 방법(Nonadaptive Algorithms)과 적응적 보간 방법(Adaptive Algorithms)으로 나누어진다. 비적응적 보간 방법은 모든 화소에 대해서 고정된 패턴으로 보간하는 알고리즘으로 수행이 쉽고, 계산 양이 적은 장점이 있다. The method of interpolating the center pixel of the current line by the interpolator 207 is largely divided into non-adaptive interpolation methods (Adaptive Algorithms) and adaptive interpolation methods (Adaptive Algorithms). Non-adaptive interpolation is an algorithm that interpolates a fixed pattern for all pixels, which is easy to perform and has a small amount of calculation.

적응적 알고리즘은 잃어버린 화소값을 찾기 위해 가장 효과적인 이웃 화소들의 특성을 이용하여 추정하는 알고리즘으로 계산양은 많지만 비적응적 보간 방법에 비해 더 나은 영상을 얻을 수 있다. The adaptive algorithm is an algorithm that estimates using the characteristics of the most effective neighboring pixels to find the missing pixel value. Although it has a large amount of calculation, it can obtain a better image than the non-adaptive interpolation method.

비적응적 보간 방법에는 가장 인접한 이웃 화소 보간법 (Nearest neighbor replication), 양선형 보간법(Bilinear interpolation), 중간값 보간법 (Median interpolation), 점진적 색상 변화 보간법 등이 있으며, 적응적 보간 방법에는 패턴 일치 보간 알고리즘(Pattern matching based interpolation algorithm), 기울기의 문턱치 기반 가변수를 이용한 보간법(Interpolation using a threshold-based variable number of gradients), 경계값 보존 보간법 (Edge sensing interpolation) 등이 있다. Non-adaptive interpolation methods are the nearest neighbor pixel interpolation (Nearest neighbor replication), bilinear interpolation (Bilinear interpolation), median interpolation (Median interpolation), and the like, gradually change in color interpolation, adaptive interpolation methods are pattern matching interpolation algorithm Pattern matching based interpolation algorithm, interpolation using a threshold-based variable number of gradients, and edge sensing interpolation.

이러한 보간 방법 중 가장 대표적인 양선형 보간법(Bilinear interpolation)에 대해 설명한다.The most representative bilinear interpolation among these interpolation methods will be described.

양선형 보간법이란 네 개의 가장 가까운 화소들에 가중치를 곱한 값으로 중심 화소값을 활당하는 방법으로 가중치는 선형적으로 결정되어지며, 각각 가중치는 각각에 존재하는 화소로부터의 거리에 정비례하게 된다. Bilinear interpolation is a method of multiplying the four nearest pixels by a weight and assigning a center pixel value. The weight is determined linearly, and each weight is directly proportional to the distance from each pixel.

도 3a 및 도 3b를 참조하여 양선형 보간법에 대해 더욱 구체적으로 살펴본다. 도 3a는 3 × 3 마스크 크기의 RGB Bayer 패턴의 RG 라인에서 G3이 중심화소인 경우의 예시도로서, 양선형 보간법에 의하면 R, G, B 성분이 수학식 1과 같이 결정된다.Referring to Figures 3a and 3b will be described in more detail with respect to the bilinear interpolation method. 3A is an exemplary diagram in the case where G3 is the center pixel in the RG line of the RGB Bayer pattern having the size of 3x3 mask, and according to the bilinear interpolation method, R, G, and B components are determined as in Equation (1).

R_new=(R1+R2)/2R_new = (R1 + R2) / 2

B_new=(B1+B2)/2B_new = (B1 + B2) / 2

G_new=G3G_new = G3

한편, GB 라인에서 G가 중소화소인 경우 도 3a에서 R, B의 위치만 서로 바뀌기 때문에 동일한 방법을 적용할 수 있다.On the other hand, in the case where G is a medium-sized pixel in the GB line, only the positions of R and B in FIG. 3A are interchanged, and thus the same method may be applied.

또한, 도 3b는 3 × 3 마스크 크기의 RGB Bayer 패턴의 RG 라인에서 R1 성분이 중심 화소인 경우의 예시도로서, 양선형 보간법에 의하면 R, G, B 성분이 수학식 2와 같이 결정된다.3B is an exemplary diagram in which the R1 component is the center pixel in the RG line of the RGB Bayer pattern having the size of 3 x 3 mask, and according to the bilinear interpolation method, the R, G, and B components are determined as in Equation (2).

R_new=R1R_new = R1

B_new=(B1+B2+B3+B4)/4B_new = (B1 + B2 + B3 + B4) / 4

G_new=(G1+G2+G3+G4)/4G_new = (G1 + G2 + G3 + G4) / 4

한편, GB 라인에서 B가 중소 화소인 경우 도 3b에서 R, B의 위치만 서로 바뀌기 때문에 동일한 방법을 적용할 수 있다.On the other hand, in the case where B is a small pixel in the GB line, only the positions of R and B in FIG. 3B are interchanged, and thus the same method may be applied.

다시 도 2를 참조하면, 보간부(207)를 통해 보간된 화소는 노이즈 제거부(209, 211, 213)에 의해 노이즈가 제거된다.Referring back to FIG. 2, noise is removed by the noise removing units 209, 211, and 213 through the interpolation unit 207.

화소값에는 이미지 센서의 내부적인 요인 또는 외부적인 요인으로 인해 노이즈(Noise)가 포함되어 있고, 이 노이즈를 포함한 화소값을 이용하여 이미지로 재현할 경우 실제 촬영한 이미지와는 차이기 생길 수 있으므로 노이즈가 포함된 화소 값은 노이즈 제거부에 의해 보정이 되어야 한다.The pixel value contains noise due to internal or external factors of the image sensor, and when reproduced as an image using the pixel value including this noise, it may be different from the actual image. The pixel value including is to be corrected by the noise removing unit.

노이즈 제거부(209, 211, 213)는 일반적으로 R, G, B 성분별로 각각 노이즈를 제거한다. 도 4를 참조하여 노이즈 제거부(209, 211, 213)에 대해 더욱 구체적으로 살펴본다. 도 4는 3 × 3 크기의 마스크에서 노이즈를 제거하기 위한 노이즈 제거 필터의 블록 구성도이다. The noise removing units 209, 211, and 213 generally remove noise for each of the R, G, and B components. The noise remover 209, 211, and 213 will be described in more detail with reference to FIG. 4. 4 is a block diagram of a noise removing filter for removing noise in a 3 × 3 mask.

노이즈 제거 필터는 2 개의 라인 메모리(401, 403)와 노이즈 제거 필터(405)로 구성되어 있다. 노이즈 제거부에 포함된 노이즈 제거필터(405)가 노이즈를 제거하기 위해서는 보간부와 마찬가지로 현재 라인의 화소값 이외에도 이전 라인의 화소값 및 이후 라인의 화소값을 필요로 하기 때문에 라인 메모리(401, 403)가 필요하다.The noise canceling filter is composed of two line memories 401 and 403 and a noise canceling filter 405. Since the noise removing filter 405 included in the noise removing unit needs the pixel value of the previous line and the pixel value of the subsequent line in addition to the pixel value of the current line like the interpolation unit to remove noise, the line memories 401 and 403. ) Is required.

노이즈 제거 필터(405)가 노이즈를 제거하는 방법으로는 미디언 필터(Median filter)를 이용하는 방법, 가우시언 필터(Gaussian filter)를 이용하는 방법, 평균값 필터(Arithmetic mean filter)를 이용하는 방법, 미드포인트 필터(Midpoint filter)를 이용하는 방법, 알파-트림드 민 필터(alpha-trimmed mean filter) 등이 있다. 상기의 방법들은 당업자에게 자명한 사항이기 때문에 구체적인 설명은 생략하기로 한다.The noise removing filter 405 removes noise using a median filter, a Gaussian filter, an arithmetic mean filter, and a midpoint filter. (Midpoint filter), alpha-trimmed mean filter. Since the above methods are obvious to those skilled in the art, detailed descriptions will be omitted.

그런데, 이러한 종래의 영상을 보간하고 노이즈를 제거하는 장치 및 방법은 보간부가 3 × 3 마스크 크기에서 중심 화소값만을 보간할 수 있기 때문에 보간과 노이즈 제거가 분리되어 있고, 노이즈 제거부에서 R, G, B 성분의 노이즈를 제거할 경우 각 성분별로 2개씩 총 6개의 라인 메모리가 필요하여 비용적인 측면에서 많은 부담이 있다는 문제점이 있다.However, in the conventional apparatus and method for interpolating and removing noise, the interpolation and the noise removal are separated because the interpolation unit can interpolate only the center pixel value at a 3 × 3 mask size. In the case of removing the noise of the B component, a total of six line memories, two for each component, are required, resulting in a large burden in terms of cost.

따라서, 본 발명은 종래 기술의 제반 문제점을 해결하기 위하여 안출한 것으로서, 이미지 센서에 있어서 획득된 영상을 R, G, B 각각의 성분에 대하여 보간과 노이즈 제거 작업을 동시에 수행할 수 있는 방법 및 장치를 제공함에 그 목적이 있다.Accordingly, the present invention has been made to solve various problems of the prior art, and a method and apparatus capable of simultaneously performing interpolation and noise removal operations on R, G, and B components of an image acquired in an image sensor The purpose is to provide.

또한, 본 발명의 목적은 보간과 노이즈를 동시에 수행할 수 있으므로 작업 수행시 필요한 라인 메모리의 개수를 감소시킬 수 있으므로, 종래 기술에 비하여 비용 절감을 달성할 수 있는 영상을 보간하고 노이즈를 제거하는 방법 및 장치를 제공함에 있다. In addition, an object of the present invention is that the interpolation and noise can be performed at the same time, so that the number of line memory required to perform the operation can be reduced, the method of interpolating the image and can eliminate the noise that can achieve cost reduction compared to the prior art And providing an apparatus.

상술한 목적들을 달성하기 위하여 본 발명의 일 실시예에 따르면, (2n + 2)(단, 여기서 n=1, 2, 3) 개의 라인 메모리와 결합된 보간 및 노이즈 제거부가 영상을 보간하고 노이즈를 제거하는 방법에 있어서 Bayer 패턴으로 이루어진 (2n+3) × (2n+3) 마스크에서 영상을 보간하는 제1 단계; 상기 영상을 보간하여 (2n+1) × (2n+1) 마스크를 생성하는 제2 단계; 및 상기 (2n+1) × (2n+1) 마스크에서 노이즈를 제거하는 제3 단계를 포함하는 것을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 방법이 제공된다.According to an exemplary embodiment of the present invention, an interpolation and noise removing unit combined with (2n + 2) (where n = 1, 2, and 3) line memories interpolate an image and removes noise. 1. A method of removing an image comprising: a first step of interpolating an image in a (2n + 3) × (2n + 3) mask having a Bayer pattern; Generating a (2n + 1) × (2n + 1) mask by interpolating the image; And a third step of removing noise from the (2n + 1) × (2n + 1) mask.

여기서, 상기 방법의 제1 단계는 양선형 보간 방법에 의해 이루어질 수 있다.Here, the first step of the method may be performed by a bilinear interpolation method.

또한, 상기 방법의 제3단계는 미디언 필터(Median filter)를 이용하는 방법, 가우시언 필터(Gaussian filter)를 이용하는 방법, 평균값 필터(Arithmetic mean filter)를 이용하는 방법, 미드포인트 필터(Midpoint filter)를 이용하는 방법, 알파-트림드 민 필터(alpha-trimmed mean filter) 중 적어도 어느 하나에 의해 이루어질 수 있다.In addition, the third step of the method is a method using a median filter, a method using a Gaussian filter, a method using an arithmetic mean filter, and a midpoint filter. It may be made by at least one of the method used, the alpha-trimmed mean filter.

본 발명의 다른 일 실시예에 따르면 화소값을 저장하는 (2n + 2)(단, 여기서 n=1, 2, 3) 개의 라인 메모리; Bayer 패턴으로 이루어진 (2n+3) × (2n+3) 마스크에서 영상을 보간하고 (2n+1) × (2n+1) 마스크를 생성하며, 노이즈를 제거하는 보간 및 노이즈 제거부를 포함하는 것을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 장치가 제공된다.According to another embodiment of the present invention (2n + 2) (where n = 1, 2, 3) line memory for storing a pixel value; Interpolating the image in a (2n + 3) × (2n + 3) mask made of a Bayer pattern, generating a (2n + 1) × (2n + 1) mask, and including an interpolation and noise removing unit for removing noise An apparatus for interpolating an image and removing noise is provided.

여기서, 상기 장치는 영상을 촬영하고 상기 영상에 상응하는 화소값을 생성하며, 상시 생성된 화소값을 라인 메모리에 저장하는 이미지 센서를 더 포함할 수 있다.The apparatus may further include an image sensor for capturing an image, generating a pixel value corresponding to the image, and storing the always-generated pixel value in a line memory.

이하, 본 발명에 따른 영상을 보간하고 노이즈를 제거하는 장치 및 방법을 첨부된 도면들을 참조하여 다음과 같이 설명한다. Hereinafter, an apparatus and a method for interpolating an image and removing noise according to the present invention will be described with reference to the accompanying drawings.

도 5는 본 발명의 바람직한 일 실시예에 따른 영상을 보간하고 노이즈를 제거하는 장치에 대한 블록 구성도이다. 도 5를 참조하면, 이미지 센서(501)는 영상을 촬영하여 RGB Bayer 패턴의 화소값을 생성한다. 5 is a block diagram illustrating an apparatus for interpolating an image and removing noise according to an exemplary embodiment of the present invention. Referring to FIG. 5, the image sensor 501 photographs an image to generate pixel values of an RGB Bayer pattern.

이미지 센서(501)로부터 생성된 화소값은 4개의 라인 메모리(503, 505. 507, 509)에 저장된다. 영상을 보간함과 동시에 노이즈를 제거하기 위해서는 현재 라인의 화소값 이외에도 이전 2개 라인의 화소값 및 이후 2개 라인의 화소값을 필요로 하기 때문에 라인 메모리가 필요하다. 즉, 3 × 3 마스크 크기의 Bayer 패턴에서 노이즈를 제거하기 위해서는 각각 R, G, B의 화소값이 보간되어야 하기 때문에 5× 5 크기의 마스크가 필요하다.The pixel values generated from the image sensor 501 are stored in four line memories 503, 505. 507, 509. In order to remove noise while interpolating an image, a line memory is required because the pixel values of the previous two lines and the pixel values of two subsequent lines are required in addition to the pixel values of the current line. That is, a 5 × 5 mask is required because the R, G, and B pixel values must be interpolated to remove noise in the Bayer pattern having a 3 × 3 mask size.

보간 및 노이즈 제거부(511)는 4개의 라인 메모리(503, 505. 507, 509)에 저장된 화소를 이용하여 3 × 3 마스크 크기의 화소값을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 3 × 3 마스크 크기에서 상술한 노이즈 제거 방법에 의해 노이즈를 제거한다. 보간 및 노이즈 제거부(511)가 영상을 보간하고 노이즈를 제거하는 방법은 도 6a 및 도 6b를 참조하여 더욱 상세히 설명한다.The interpolation and noise removing unit 511 interpolates pixel values having a 3 × 3 mask size using pixels stored in four line memories 503, 505, 507, and 509. Thereafter, the interpolation and noise removing unit 511 removes the noise by the noise removing method described above at a 3 × 3 mask size. A method of interpolating and removing the noise by the interpolation and noise removing unit 511 will be described in more detail with reference to FIGS. 6A and 6B.

도 6a는 5 × 5 마스크 크기의 GB 라인에서 G5가 중앙 화소값인 경우 예시도를 나타낸다. 보간 및 노이즈 제거부(511)가 G5 화소에서 G성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 3과 같다.6A shows an exemplary view when G5 is a center pixel value in a GB line having a 5 × 5 mask size. The interpolation and noise removing unit 511 interpolates the G component in the G5 pixel and removes the noise as shown in Equation 3, respectively.

Gn=(G1+G2+G5+G3)/4-------------------------(1000a)Gn = (G1 + G2 + G5 + G3) / 4 ------------------------- (1000a)

Gw=(G2+G4+G7+G5)/4-------------------------(1000b)Gw = (G2 + G4 + G7 + G5) / 4 ------------------------- (1000b)

Gs=(G5+G7+G9+G8)/4-------------------------(1000c)Gs = (G5 + G7 + G9 + G8) / 4 ------------------------- (1000c)

Ge=(G3+G5+G8+G6)/4-------------------------(1000d)Ge = (G3 + G5 + G8 + G6) / 4 ------------------------- (1000d)

Gwn=G2--------------------------------(1000e)Gwn = G2 -------------------------------- (1000e)

Gws=G7--------------------------------(1000f)Gws = G7 -------------------------------- (1000f)

Ges=G8--------------------------------(1000g)Ges = G8 -------------------------------- (1000g)

Gen=G3--------------------------------(1000h)Gen = G3 -------------------------------- (1000h)

Gc=G5 --------------------------------(1000i)Gc = G5 -------------------------------- (1000i)

Mg=noise_cancellation_filter([Gn,Gw,Gs,Ge,Gwn,Gws,Ges,Gen,Gc])----------------------------------------------(1000j)Mg = noise_cancellation_filter ([Gn, Gw, Gs, Ge, Gwn, Gws, Ges, Gen, Gc]) -------------------------- -------------------- (1000j)

if G_FLAG==1 % bilinear interpolation and noise cancellation filterif G_FLAG == 1% bilinear interpolation and noise cancellation filter

Gnew=MgGnew = Mg

else % bilinear interpolationelse% bilinear interpolation

Gnew=GcGnew = Gc

----------------------------------------------(1000k)---------------------------------------------- (1000k)

end
(여기에서, %는 주석을 나타내는 기호이며, 이하 동일한 의미로 사용함)
end
(% Is a symbol representing a comment, and the same meaning hereinafter)

수학식 3을 구체적으로 설명하면, 참조번호 1000a 내지 1000d와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 R2, B3, B4, R5 화소에서 G 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 1000j와 같이 노이즈 제거 필터를 이용하여 참조번호 1000a 내지 1000i의 G5 화소에서 G 성분의 노이즈를 제거한다.Specifically, the interpolation and noise removing unit interpolates the G components in the R2, B3, B4, and R5 pixels by bilinear interpolation as shown by reference numerals 1000a to 1000d. Thereafter, the interpolation and noise removing unit 511 removes the noise of the G component from the G5 pixels of the reference numerals 1000a to 1000i by using the noise removing filter as shown by reference numeral 1000j.

한편, 보간 및 노이즈 제거부(511)는 1000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다 .The interpolation and noise removing unit 511 may select whether to apply a noise removing filter, such as 1000k.

또한, 보간 및 노이즈 제거부(511)가 G5 화소에서 B 성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 4와 같다.In addition, the interpolation and noise removing unit 511 interpolates the B component in the G5 pixel and removes the noise as shown in Equation 4, respectively.

Bwn=(B1+B3)/2-------------------------(2000a)Bwn = (B1 + B3) / 2 ------------------------- (2000a)

Bws=(B3+B5)/2-------------------------(2000b)Bws = (B3 + B5) / 2 ------------------------- (2000b)

Bes=(B4+B6)/2-------------------------(2000c)Bes = (B4 + B6) / 2 ------------------------- (2000c)

Ben=(B2+B4)/2-------------------------(2000d)Ben = (B2 + B4) / 2 ------------------------- (2000d)

Bn=(B1+B2+B3+B4)/4-------------------------(2000e)Bn = (B1 + B2 + B3 + B4) / 4 ------------------------- (2000e)

Bw=B3-------------------------(2000f)Bw = B3 ------------------------- (2000f)

Bs=(B3+B4+B5+B6)/4-------------------------(2000g)Bs = (B3 + B4 + B5 + B6) / 4 ------------------------- (2000g)

Be=B4-------------------------(2000h)Be = B4 ------------------------- (2000h)

Bc=(B3+B4)/2-------------------------(2000i)Bc = (B3 + B4) / 2 ------------------------- (2000i)

Mb=noise_cancellation_filter ([Bn,Bw,Bs,Be,Bwn,Bws,Bes,Ben,Bc])Mb = noise_cancellation_filter ([Bn, Bw, Bs, Be, Bwn, Bws, Bes, Ben, Bc])

---------------------------------------------(2000j)--------------------------------------------- (2000j)

if B_FLAG==1 % bilinear interpolation and noise cancellation filterif B_FLAG == 1% bilinear interpolation and noise cancellation filter

Bnew=MbBnew = Mb

else % bilinear interpolationelse% bilinear interpolation

Bnew=BcBnew = Bc

---------------------------------------------(2000k)--------------------------------------------- (2000k)

endend

수학식 4를 구체적으로 설명하면, 참조번호 2000a 내지 2000e, 2000g, 2000i와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 G2, G7, G8, G3, B3, B4 G5 화소에서 B 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 2000j와 같이 노이즈 제거 필터를 이용하여 참조번호 2000a 내지 2000i의 G5 화소에서 B 성분의 노이즈를 제거한다.Specifically, the interpolation and noise removing unit interpolates the B component in the G2, G7, G8, G3, B3, and B4 G5 pixels by bilinear interpolation as shown by reference numerals 2000a to 2000e, 2000g, and 2000i. Thereafter, the interpolation and noise removing unit 511 removes the noise of the B component from the G5 pixels of the reference numerals 2000a to 2000i by using the noise removing filter as shown by reference numeral 2000j.

한편, 보간 및 노이즈 제거부(511)는 2000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다.Meanwhile, the interpolation and noise removing unit 511 may select whether to apply a noise removing filter, such as 2000k.

또한, 보간 및 노이즈 제거부(511)가 G5 화소에서 R 성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 5와 같다.In addition, the interpolation and noise removing unit 511 interpolates the R component in the G5 pixel and removes the noise as shown in Equation 5, respectively.

Rwn=(R1+R2)/2-------------------------(3000a)Rwn = (R1 + R2) / 2 ------------------------- (3000a)

Rws=(R4+R5)/2-------------------------(3000b)Rws = (R4 + R5) / 2 ------------------------- (3000b)

Res=(R5+R6)/2-------------------------(3000c)Res = (R5 + R6) / 2 ------------------------- (3000c)

Ren=(R2+R3)/2-------------------------(3000d)Ren = (R2 + R3) / 2 ------------------------- (3000d)

Rn=R2-------------------------(3000e)Rn = R2 ------------------------- (3000e)

Rw=(R1+R2+R4+R5)/4-------------------------(3000f)Rw = (R1 + R2 + R4 + R5) / 4 ------------------------- (3000f)

Rs=R5-------------------------(3000g)Rs = R5 ------------------------- (3000g)

Re=(R2+R3+R5+R6)/4-------------------------(3000h)Re = (R2 + R3 + R5 + R6) / 4 ------------------------- (3000h)

Rc=(R2+R5)/2-------------------------(3000i)Rc = (R2 + R5) / 2 ------------------------- (3000i)

Mr=noise_cancellation_filter ([Rn,Rw,Rs,Re,Rwn,Rws,Res,Ren,Rc])Mr = noise_cancellation_filter ([Rn, Rw, Rs, Re, Rwn, Rws, Res, Ren, Rc])

---------------------------------------------(3000j)--------------------------------------------- (3000j)

if R_FLAG==1 % bilinear interpolation and noise cancellation filterif R_FLAG == 1% bilinear interpolation and noise cancellation filter

Rnew=MrRnew = Mr

else % bilinearelse% bilinear

Rnew=RcRnew = Rc

--------------------------------------------(3000k)-------------------------------------------- (3000k)

end end

수학식 5를 구체적으로 설명하면, 참조번호 3000a 내지 3000d, 3000f, 3000h, 3000i와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 G2, G7, G8, G3, R2, R5, G5 화소에서 R 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 3000j와 같이 노이즈 제거 필터를 이용하여 참조번호 3000a 내지 3000i의 G5 화소에서 R 성분의 노이즈를 제거한다.Referring to Equation 5 in detail, the interpolation and noise removing unit as shown by reference numerals 3000a to 3000d, 3000f, 3000h, and 3000i may use the R component in the G2, G7, G8, G3, R2, R5, and G5 pixels by bilinear interpolation. Interpolate Thereafter, the interpolation and noise removing unit 511 removes the noise of the R component from the G5 pixels of the reference numerals 3000a to 3000i by using the noise removing filter as shown by reference numeral 3000j.

한편, 보간 및 노이즈 제거부(511)는 3000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다.Meanwhile, the interpolation and noise removing unit 511 may select whether to apply a noise removing filter, such as 3000k.

도 6b는 5 × 5 마스크 크기의 RG 라인에서 R5가 중앙 화소값인 경우 예시도를 나타낸다. 보간 및 노이즈 제거부(511)가 R5 화소에서 G 성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 6과 같다.6B shows an exemplary view when R5 is a central pixel value in an RG line having a 5 × 5 mask size. The interpolation and noise removing unit 511 interpolates the G component in the R5 pixel and removes noise as shown in Equation 6, respectively.

Gn=G4-------------------------(4000a)Gn = G4 ------------------------- (4000a)

Gw=G6-------------------------(4000b)Gw = G6 ------------------------- (4000b)

Gs=G9-------------------------(4000c)Gs = G9 ------------------------- (4000c)

Ge=G7-------------------------(4000d)Ge = G7 ------------------------- (4000d)

Gwn=(G1+G3+G6+G4)/4-------------------------(4000e)Gwn = (G1 + G3 + G6 + G4) / 4 ------------------------- (4000e)

Gws=(G6+G8+G11+G9)/4-------------------------(4000f)Gws = (G6 + G8 + G11 + G9) / 4 ------------------------- (4000f)

Ges=(G7+G9+G12+G10)/4------------------------(4000g)Ges = (G7 + G9 + G12 + G10) / 4 ------------------------ (4000g)

Gen=(G2+G4+G7+G5)/4-------------------------(4000h)Gen = (G2 + G4 + G7 + G5) / 4 ------------------------- (4000h)

Gc=(G4+G6+G9+G7)/4-------------------------(4000i)Gc = (G4 + G6 + G9 + G7) / 4 ------------------------- (4000i)

Mg=noise_cancellation_filter ([Gn,Gw,Gs,Ge,Gwn,Gws,Ges,Gen,Gc])Mg = noise_cancellation_filter ([Gn, Gw, Gs, Ge, Gwn, Gws, Ges, Gen, Gc])

---------------------------------------------(4000j)--------------------------------------------- (4000j)

if G_FLAG==1 % bilinear interpolation and noise cancellation filterif G_FLAG == 1% bilinear interpolation and noise cancellation filter

Gnew=MgGnew = Mg

else % bilinearelse% bilinear

Gnew=GcGnew = Gc

---------------------------------------------(4000k)--------------------------------------------- (4000k)

endend

수학식 6을 구체적으로 설명하면, 참조번호 4000e 내지 4000i와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 B1, B3, B4, B2, R5 화소에서 G 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 4000j와 같이 노이즈 제거 필터를 이용하여 참조번호 4000a 내지 4000i의 R5 화소에서 G 성분의 노이즈를 제거한다.Specifically, the interpolation and noise removing unit interpolates the G components in the B1, B3, B4, B2, and R5 pixels by bilinear interpolation as shown by reference numerals 4000e to 4000i. Thereafter, the interpolation and noise removing unit 511 removes the noise of the G component from the R5 pixels of reference numerals 4000a to 4000i by using a noise removing filter as shown by reference numeral 4000j.

한편, 보간 및 노이즈 제거부(511)는 4000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다.The interpolation and noise removing unit 511 may select whether to apply a noise removing filter such as 4000k.

또한, 보간 및 노이즈 제거부(511)가 R5 화소에서 B 성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 7과 같다.In addition, the interpolation and noise removing unit 511 interpolates the B component in the R5 pixel and removes the noise as shown in Equation 7, respectively.

Bwn=B1-------------------------(5000a)Bwn = B1 ------------------------- (5000a)

Bws=B3-------------------------(5000b)Bws = B3 ------------------------- (5000b)

Bes=B4-------------------------(5000c)Bes = B4 ------------------------- (5000c)

Ben=B2-------------------------(5000d)Ben = B2 ------------------------- (5000d)

Bn=(B1+B2)/2-------------------------(5000e)Bn = (B1 + B2) / 2 ------------------------- (5000e)

Bw=(B1+B3)/2-------------------------(5000f)Bw = (B1 + B3) / 2 ------------------------- (5000f)

Bs=(B3+B4)/2-------------------------(5000g)Bs = (B3 + B4) / 2 ------------------------- (5000g)

Be=(B2+B4)/2-------------------------(5000h)Be = (B2 + B4) / 2 ------------------------- (5000h)

Bc=(B1+B2+B3+B4)/4-------------------------(5000i)Bc = (B1 + B2 + B3 + B4) / 4 ------------------------- (5000i)

Mb=noise_cancellation_filter ([Bn,Bw,Bs,Be,Bwn,Bws,Bes,Ben,Bc]);Mb = noise_cancellation_filter ([Bn, Bw, Bs, Be, Bwn, Bws, Bes, Ben, Bc]);

---------------------------------------------(5000j)--------------------------------------------- (5000j)

if B_FLAG==1 % bilinear interpolation and noise cancellation filterif B_FLAG == 1% bilinear interpolation and noise cancellation filter

Bnew=MbBnew = Mb

else % bilinearelse% bilinear

Bnew=BcBnew = Bc

---------------------------------------------(5000k)--------------------------------------------- (5000k)

endend

수학식 7을 구체적으로 설명하면, 참조번호 5000e 내지 5000i와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 G4, G6, G9, G7, R5 화소에서 B 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 5000j와 같이 노이즈 제거 필터를 이용하여 참조번호 5000a 내지 5000i의 R5 화소에서 B 성분의 노이즈를 제거한다.Specifically, the interpolation and noise removing unit interpolates the B components in the pixels G4, G6, G9, G7, and R5 by bilinear interpolation as shown by reference numerals 5000e to 5000i. Thereafter, the interpolation and noise removing unit 511 removes the noise of the B component from the R5 pixels of the reference numerals 5000a to 5000i by using the noise removing filter as shown by reference numeral 5000j.

한편, 보간 및 노이즈 제거부(511)는 5000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다.Meanwhile, the interpolation and noise removing unit 511 may select whether to apply a noise removing filter, such as 5000k.

또한, 보간 및 노이즈 제거부(511)가 R5 화소에서 R 성분을 보간하고 노이즈를 제거하는 방법은 각각 수학식 8과 같다.In addition, the interpolation and noise removing unit 511 interpolates the R component in the R5 pixel and removes the noise as shown in Equation 8, respectively.

Rwn=(R1+R2+R4+R5)/2-------------------------(6000a)Rwn = (R1 + R2 + R4 + R5) / 2 ------------------------- (6000a)

Rws=(R4+R5+R7+R8)/2-------------------------(6000b)Rws = (R4 + R5 + R7 + R8) / 2 ------------------------- (6000b)

Res=(R5+R6+R8+R9)/2-------------------------(6000c)Res = (R5 + R6 + R8 + R9) / 2 ------------------------- (6000c)

Ren=(R2+R3+R5+R6)/2-------------------------(6000d)Ren = (R2 + R3 + R5 + R6) / 2 ------------------------- (6000d)

Rn=(R2+R5)/2-------------------------(6000e)Rn = (R2 + R5) / 2 ------------------------- (6000e)

Rw=(R4+R5)/2-------------------------(6000f)Rw = (R4 + R5) / 2 ------------------------- (6000f)

Rs=(R5+R8)/2-------------------------(6000g)Rs = (R5 + R8) / 2 ------------------------- (6000g)

Re=(R5+R6)/2-------------------------(6000h)Re = (R5 + R6) / 2 ------------------------- (6000h)

Rc=R5-------------------------(6000i)Rc = R5 ------------------------- (6000i)

Mr=noise_cancellation_filter ([Rn,Rw,Rs,Re,Rwn,Rws,Res,Ren,Rc]);Mr = noise_cancellation_filter ([Rn, Rw, Rs, Re, Rwn, Rws, Res, Ren, Rc]);

---------------------------------------------------(6000j)-------------------------------------------------- -(6000j)

if R_FLAG==1 % bilinear interpolation and noise cancellation filterif R_FLAG == 1% bilinear interpolation and noise cancellation filter

Rnew=MrRnew = Mr

else % bilinearelse% bilinear

Rnew=RcRnew = Rc

--------------------------------------------------(6000k)-------------------------------------------------- (6000k)

endend

수학식 8을 구체적으로 설명하면, 참조번호 6000a 내지 6000h와 같이 보간 및 노이즈 제거부는 양선형 보간법에 의하여 B1, B3, B4, B2, G4, G6, G9, G7 화소에서 R 성분을 보간한다. 그 후 보간 및 노이즈 제거부(511)는 참조번호 6000j와 같이 노이즈 제거 필터를 이용하여 참조번호 6000a 내지 6000i의 R5 화소에서 R 성분의 노이즈를 제거한다.Specifically, the interpolation and noise removing unit interpolates the R components in the B1, B3, B4, B2, G4, G6, G9, and G7 pixels by bilinear interpolation as shown by reference numerals 6000a to 6000h. Thereafter, the interpolation and noise removing unit 511 removes noise of the R component from the R5 pixels of reference numerals 6000a to 6000i by using a noise removing filter as shown by reference numeral 6000j.

한편, 보간 및 노이즈 제거부(511)는 6000k와 같이 노이즈 제거 필터의 적용 여부를 선택할 수 있다.The interpolation and noise removing unit 511 may select whether to apply a noise removing filter such as 6000k.

이상 도면과 명세서에서 최적 실시예들이 개시되었다. 여기서 특정한 용어들이 사용되었으나, 이는 단지 본 발명을 설명하기 위한 목적에서 사용된 것이지 의미 한정이나 특허청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다. The best embodiments have been disclosed in the drawings and specification above. Although specific terms have been used herein, they are used only for the purpose of describing the present invention and are not used to limit the scope of the present invention as defined in the meaning or claims. Therefore, those skilled in the art will understand that various modifications and equivalent other embodiments are possible from this.

예를 들어 이상에서는 5 × 5 마스크에서 영상을 보간하여 3× 3 마스크를 생성하고 3 × 3 마스크에서 노이즈를 제거하는 방법 및 장치를 일 실시예로 들어 설명을 하였다. 그런데, 7 × 7 마스크에서 영상을 보간하여 5 × 5 마스크를 생성하고 5 × 5 마스크에서 노이즈를 제거하거나, 9 × 9 마스크에서 영상을 보간하여 7 × 7 마스크를 생성하고 7 × 7 마스크에서 노이즈를 제거하는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게는 너무도 자명한 일이다. For example, a method and apparatus for generating a 3 × 3 mask by removing an image from a 5 × 5 mask and removing noise from a 3 × 3 mask have been described as an example. By the way, the image is interpolated in a 7 × 7 mask to generate a 5 × 5 mask and the noise is removed from the 5 × 5 mask, or the image is interpolated in a 9 × 9 mask to generate a 7 × 7 mask, and the noise in the 7 × 7 mask. It is too obvious to those skilled in the art to eliminate the.

따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

본 발명에 따른 영상을 보간하고 노이즈를 제거하는 장치 및 그 방법은, 이미지 센서에 있어서 획득된 영상을 R, G, B 각각의 성분에 대하여 보간과 노이즈 제거 작업을 동시에 수행할 수 있는 방법 및 장치를 제공할 수 있다.
또한, 본 발명에 의하면, 보간과 노이즈를 동시에 수행할 수 있으므로 작업 수행시 필요한 라인 메모리의 개수를 감소시킬 수 있으므로, 종래 기술에 비하여 비용 절감을 달성할 수 있는 영상을 보간하고 노이즈를 제거하는 방법 및 장치를 제공할 수 있다.
An apparatus and method for interpolating an image and removing noise according to the present invention include a method and an apparatus capable of simultaneously performing interpolation and noise removing operations on components of R, G, and B, respectively, of an image obtained by an image sensor. Can be provided.
In addition, according to the present invention, since the interpolation and the noise can be performed simultaneously, the number of line memories required for performing the operation can be reduced, and thus a method for interpolating an image and removing noise, which can achieve cost reduction compared to the prior art. And an apparatus.

삭제delete

Claims (5)

(2n + 2)(단, 여기서 n=1, 2, 3) 개의 라인 메모리와 결합된 보간 및 노이즈 제거부가 영상을 보간하고 노이즈를 제거하는 방법에 있어서,In the method of interpolation and noise removing unit combined with (2n + 2) (where n = 1, 2, 3) lines interpolate an image and remove noise, 상기 (2n + 2)개의 라인 메모리에 저장된 화소값을 포함하여 Bayer 패턴으로 이루어진 (2n+3) × (2n+3) 마스크를 형성하는 제1 단계;A first step of forming a (2n + 3) × (2n + 3) mask having a Bayer pattern including pixel values stored in the (2n + 2) line memories; 상기 (2n+3) × (2n+3) 마스크에 의해 (2n+1) × (2n+1) 마스크에 상응하는 화소들에 대하여 영상을 보간하여 (2n+1) × (2n+1) 마스크를 생성하는 제2 단계; 및(2n + 1) × (2n + 1) masks by interpolating the image corresponding to the (2n + 1) × (2n + 1) masks by the (2n + 3) × (2n + 3) masks Generating a second step; And 상기 (2n+1) × (2n+1) 마스크에 상응하는 화소들에 대하여 노이즈를 제거하는 제3 단계를 포함하는 것A third step of removing noise for pixels corresponding to the (2n + 1) × (2n + 1) mask 을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 방법.How to interpolate the image characterized in that the noise. 제1항에 있어서,The method of claim 1, 상기 제2 단계에서의 영상 보간은 상기 (2n+1) × (2n+1) 마스크에 상응하는 화소들의 주변 화소값을 이용한 양선형 보간 방법에 의해 이루어지는 것The image interpolation in the second step is performed by a bilinear interpolation method using peripheral pixel values of pixels corresponding to the (2n + 1) × (2n + 1) mask. 을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 방법.How to interpolate the image characterized in that the noise. 제1항에 있어서,The method of claim 1, 상기 제3단계는 미디언 필터(Median filter)를 이용하는 방법, 가우시언 필터(Gaussian filter)를 이용하는 방법, 평균값 필터(Arithmetic mean filter)를 이용하는 방법, 미드포인트 필터(Midpoint filter)를 이용하는 방법, 알파-트림드 민 필터(alpha-trimmed mean filter) 중 적어도 어느 하나에 의해 이루어지는 것The third step is a method using a median filter, a method using a Gaussian filter, a method using an Arithmetic mean filter, a method using a midpoint filter, alpha By at least one of alpha-trimmed mean filters 을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 방법.How to interpolate the image characterized in that the noise. 화소값을 저장하는 (2n + 2)(단, 여기서 n=1, 2, 3) 개의 라인 메모리;(2n + 2) (where n = 1, 2, 3) line memories for storing pixel values; 상기 (2n + 2)개의 라인 메모리에 저장된 화소값을 포함하여 Bayer 패턴으로 이루어진 (2n+3) × (2n+3) 마스크를 형성하고, 상기 (2n+3) × (2n+3) 마스크에 의해 (2n+1) × (2n+1) 마스크에 상응하는 화소들에 대하여 영상을 보간하여 (2n+1) × (2n+1) 마스크를 생성하고, 상기 (2n+1) × (2n+1) 마스크에 상응하는 화소들에 대하여 노이즈를 제거하는 보간 및 노이즈 제거부Including the pixel values stored in the (2n + 2) line memory to form a (2n + 3) × (2n + 3) mask consisting of a Bayer pattern, to the (2n + 3) × (2n + 3) mask By interpolating the image corresponding to the (2n + 1) × (2n + 1) mask to generate a (2n + 1) × (2n + 1) mask, the (2n + 1) × (2n + 1) Interpolation and noise removing unit for removing noise with respect to pixels corresponding to a mask 를 포함하는 것을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 장치.Apparatus for interpolating and removing noise, characterized in that it comprises a. 제4항에 있어서,The method of claim 4, wherein 영상을 촬영하고 상기 영상에 상응하는 화소값을 생성하며, 상시 생성된 화소값을 라인 메모리에 저장하는 이미지 센서를 더 포함하는 것And an image sensor for capturing an image, generating a pixel value corresponding to the image, and storing the always-generated pixel value in a line memory. 을 특징으로 하는 영상을 보간하고 노이즈를 제거하는 장치.Apparatus for interpolating and removing noise, characterized in that the image.
KR1020040031594A 2004-05-06 2004-05-06 Method and apparatus for interpolating image and removing noise KR100575443B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040031594A KR100575443B1 (en) 2004-05-06 2004-05-06 Method and apparatus for interpolating image and removing noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040031594A KR100575443B1 (en) 2004-05-06 2004-05-06 Method and apparatus for interpolating image and removing noise

Publications (2)

Publication Number Publication Date
KR20050106612A KR20050106612A (en) 2005-11-11
KR100575443B1 true KR100575443B1 (en) 2006-05-03

Family

ID=37283345

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040031594A KR100575443B1 (en) 2004-05-06 2004-05-06 Method and apparatus for interpolating image and removing noise

Country Status (1)

Country Link
KR (1) KR100575443B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10672358B2 (en) 2017-09-21 2020-06-02 Samsung Display Co., Ltd. Driving circuit with filtering function and display device having the same

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100863925B1 (en) * 2007-05-30 2008-10-16 (주)씨앤에스 테크놀로지 Apparatus and method of concealing image error
KR100927458B1 (en) * 2007-12-27 2009-11-19 건국대학교 산학협력단 Filtering Method in Spatial Domain by Combining Sort and Average Operations

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10672358B2 (en) 2017-09-21 2020-06-02 Samsung Display Co., Ltd. Driving circuit with filtering function and display device having the same

Also Published As

Publication number Publication date
KR20050106612A (en) 2005-11-11

Similar Documents

Publication Publication Date Title
JP5183880B2 (en) Color filter and image sensor
US4663661A (en) Single sensor color video camera with blurring filter
JP5053654B2 (en) Image processing apparatus and method and electronic camera
US6366694B1 (en) Integrated color interpolation and color space conversion algorithm from 8-bit Bayer pattern RGB color space to 24-bit CIE XYZ color space
EP1395041B1 (en) Colour correction of images
KR100569747B1 (en) A new scaling algorithm for efficient color representation/recovery in video
US7072509B2 (en) Electronic image color plane reconstruction
JP2004343685A (en) Weighted gradient based and color corrected interpolation
US20090046182A1 (en) Pixel aspect ratio correction using panchromatic pixels
WO2007110829A2 (en) Method and arrangement for generating a color video signal
US20100227428A1 (en) Method and apparatus for manufacturing color image pickup device including a random array pattern and a regular array pattern
JP2006311314A (en) Color isolation processing method and color isolation processing circuit
JP3908169B2 (en) Method and system for sensing and interpolating color image data
KR100575443B1 (en) Method and apparatus for interpolating image and removing noise
JP2014158267A (en) Color filter, imaging element, image processing device, and image processing method
TWI751124B (en) Method for processing signals arising from a colour image capture matrix, and corresponding sensor
JP5268321B2 (en) Image processing apparatus, image processing method, and image processing program
JP2004519156A (en) Contour filter for output signal of image detector
JP2001119596A (en) Method for eliminating color moire pattern from digital image and computer program product
JP2658089B2 (en) Color image processing method
KR100341581B1 (en) Color interpolation apparatus in image sensor
JP2004056640A (en) Interpolation method of photographed images in complementary color single ccd color digital camera, interpolation unit of the same, and digital camera comprising the same
JP2004201311A (en) Method for transforming offset sensor array
JP5898409B2 (en) Data processing apparatus and data processing method
Malleson et al. Joint Demosaicing and Chromatic Aberration Correction of Images Using Neural Networks.

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
FPAY Annual fee payment
FPAY Annual fee payment

Payment date: 20170329

Year of fee payment: 12