KR100740625B1 - Method for sharing line memory in image processing system - Google Patents

Method for sharing line memory in image processing system Download PDF

Info

Publication number
KR100740625B1
KR100740625B1 KR1020050133588A KR20050133588A KR100740625B1 KR 100740625 B1 KR100740625 B1 KR 100740625B1 KR 1020050133588 A KR1020050133588 A KR 1020050133588A KR 20050133588 A KR20050133588 A KR 20050133588A KR 100740625 B1 KR100740625 B1 KR 100740625B1
Authority
KR
South Korea
Prior art keywords
data
unit
bad pixel
input
value
Prior art date
Application number
KR1020050133588A
Other languages
Korean (ko)
Other versions
KR20070070746A (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 KR1020050133588A priority Critical patent/KR100740625B1/en
Publication of KR20070070746A publication Critical patent/KR20070070746A/en
Application granted granted Critical
Publication of KR100740625B1 publication Critical patent/KR100740625B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

본 발명은 영상 처리 시스템의 라인 메모리 공유 방법에 관한 것으로서, 6×6 데이터에 대한 불량픽셀 처리와 5×5 데이터에 대한 컬러 보간 처리에 사용되는 라인 메모리를 공유하도록 하기 위한 것이다. 본 발명에 따르면, 시스템의 부피를 줄일 수 있다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a line memory sharing method of an image processing system, and to share line memory used for bad pixel processing for 6x6 data and color interpolation processing for 5x5 data. According to the invention, the volume of the system can be reduced.

라인 메모리, 공유, 불량픽셀, 보정, 컬러 보간 Line memory, shared, bad pixels, correction, color interpolation

Description

영상 처리 시스템의 라인 메모리 공유 방법{Method for sharing line memory in image processing system}Method for sharing line memory in image processing system

도 1은 종래의 영상 처리 시스템에서 불량픽셀 보정부와 컬러 보간부의 배치를 설명하기 위한 개략도,1 is a schematic diagram for explaining a layout of a bad pixel correcting unit and a color interpolation unit in a conventional image processing system;

도 2는 본 발명에 따른 영상 처리 시스템의 제1실시예 구성도,2 is a configuration diagram of a first embodiment of an image processing system according to the present invention;

도 3은 도 2의 불량픽셀 보정부의 일실시예 상세 구조도,3 is a detailed structural diagram of an embodiment of a bad pixel correction unit of FIG. 2;

도 4b는 도 4a의 베이어 패턴을 3×3 구조의 성분으로 분리한 것을 설명하기 위한 일예시도,FIG. 4B is an exemplary view illustrating the separation of the Bayer pattern of FIG. 4A into components having a 3 × 3 structure; FIG.

도 5는 도 3의 패턴 비교부의 일실시예 상세 구조도,5 is a detailed structural diagram of an embodiment of the pattern comparison unit of FIG. 3;

도 6은 본 발명에 따른 영상 처리 시스템의 제2실시예 구성도,6 is a configuration diagram of a second embodiment of an image processing system according to the present invention;

도 7은 도 6의 불량픽셀 보정부의 일실시예 상세 구조도,7 is a detailed structural diagram of an embodiment of a bad pixel correction unit of FIG. 6;

도 8은 도 7의 불량픽셀 검출부의 일실시예 상세 구조도,8 is a detailed structural diagram of an embodiment of a bad pixel detection unit of FIG. 7;

도 9는 도 7의 핫픽셀 검출부의 일실시예 상세 구조도.9 is a detailed structural diagram of an embodiment of the hot pixel detection unit of FIG. 7;

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

210 : 불량픽셀 보정부 220 : 컬러 보간부210: bad pixel correction unit 220: color interpolation unit

본 발명은 영상 처리 시스템의 라인 메모리 공유 방법에 관한 것으로서, 보다 상세하게는 불량픽셀 보정 및 컬러 보간 장치에 사용되는 라인 메모리를 공유하기 위한 영상 처리 시스템의 라인 메모리 공유 방법에 관한 것이다.The present invention relates to a line memory sharing method of an image processing system, and more particularly, to a line memory sharing method of an image processing system for sharing a line memory used in a bad pixel correction and color interpolation apparatus.

영상 처리 시스템은 불량픽셀 보정부와 컬러 보간부를 포함하여 구성되며, 이 두 장치는 순차적으로 그 처리가 이루어지는 것이 일반적이다.The image processing system includes a bad pixel correction unit and a color interpolation unit, and these two devices generally perform the processing sequentially.

도 1은 종래의 영상 처리 시스템에서 불량픽셀 보정부와 컬러 보간부의 배치를 설명하기 위한 개략도이다.1 is a schematic diagram for explaining a layout of a bad pixel corrector and a color interpolator in a conventional image processing system.

도면에 도시된 바와 같이, 종래의 영상 처리 시스템의 불량픽셀 보정부(110)와 컬러 보간부(120)를 포함하여 구성되는데, 보통 양자 모두 5×5 데이터가 입력되는 것이 일반적이다. As shown in the figure, it includes a bad pixel correcting unit 110 and a color interpolation unit 120 of a conventional image processing system, usually 5x5 data are both input.

따라서, 불량픽셀 보정부(110) 및 컬러 보간부(120)는 각각 4개의 라인 메모리(130, 140)가 필요하다.Therefore, the bad pixel corrector 110 and the color interpolator 120 require four line memories 130 and 140, respectively.

그러나, 이와 같은 종래의 영상 처리 시스템은, 각 디바이스마다 라인 메모리가 요구되는 관계로 시스템의 부피가 커지게 되는 문제점이 있다.However, such a conventional image processing system has a problem in that the volume of the system becomes large because a line memory is required for each device.

본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 6×6 데이터에 대한 불량픽셀 처리와 5×5 데이터에 대한 컬러 보간 처리에 사용되는 라인 메모리를 공유하도록 하기 위한, 영상 처리 시스템의 라인 메모리 공유 방법을 제공하는데 그 목적이 있다..SUMMARY OF THE INVENTION The present invention has been proposed to solve the above-described problems, and is intended to share a line memory used for bad pixel processing for 6x6 data and color interpolation processing for 5x5 data. Its purpose is to provide a line memory sharing method.

상기한 바와 같은 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면, 6×6 데이터를 입력으로 하여 그 데이터의 불량픽셀을 보정하여 1픽셀의 데이터를 출력하기 위한 불량픽셀 보정부와, 5×5 데이터를 입력으로 하여 컬러 보간을 수행하기 위한 컬러 보간부와, 상기 불량픽셀 보정부에 6×6 구조의 영상 데이터를 입력하기 위하여 사용되는 5개의 라인 메모리와, 상기 컬러 보간부에 5×5 구조의 영상 데이터를 입력하기 위하여 사용되는 4개의 라인 메모리를 포함하는 영상 처리 시스템의 라인 메모리 공유 방법에 있어서, 상기 불량 픽셀 보정부의 출력을 저장하여 상기 컬러 보간부로 입력하기 위한 4개의 라인 메모리의 출력을 상기 불량 픽셀 보정부의 입력으로 하여, 상기 불량픽셀 보정부의 입력을 위한 4개의 라인 메모리와 상기 컬러 보간부의 입력을 위한 4개의 라인 메모리를 공유하는 것을 특징으로 하는 라인 메모리 공유 방법이 제공된다.In order to achieve the above object, according to a preferred embodiment of the present invention, a bad pixel correction unit for outputting 1 pixel of data by correcting the bad pixels of the data as 6 × 6 data input, 5 A color interpolation unit for performing color interpolation by inputting x5 data, five line memories used for inputting image data having a 6x6 structure into the bad pixel correction unit, and 5x by the color interpolation unit. A line memory sharing method of an image processing system including four line memories used for inputting image data having five structures, the method comprising: four lines for storing an output of the bad pixel correcting unit and inputting the color interpolation unit Four lines of memory for inputting the bad pixel correcting unit and the color interpolator using the output of the memory as the input of the bad pixel correcting unit. The lines shared memory characterized in that sharing a four line memory for input is provided.

또한, 본 발명의 다른 실시예에 따르면, 6×6 데이터를 입력으로 하여 그 데이터의 불량픽셀을 보정하여 6×6 데이터 데이터를 출력하기 위한 불량픽셀 보정부와, 5×5 데이터를 입력으로 하여 컬러 보간을 수행하기 위한 컬러 보간부와, 상기 불량픽셀 보정부에 6×6 구조의 영상 데이터를 입력하기 위하여 사용되는 5개의 라인 메모리와, 상기 컬러 보간부에 5×5 구조의 영상 데이터를 입력하기 위하여 사용되는 4개의 라인 메모리를 포함하는 영상 처리 시스템의 라인 메모리 공유 방법에 있어서, 상기 불량 픽셀 보정부의 출력 중 5라인의 데이터를 상기 컬러 보간부의 입력으로 하여, 상기 컬러 보간부의 입력을 위한 4개의 라인 메모리를 줄이는 것을 특징으로 하는 라인 메모리 공유 방법이 제공된다.In addition, according to another embodiment of the present invention, a bad pixel correction unit for outputting the 6 × 6 data data by correcting the bad pixels of the data by inputting 6 × 6 data, and 5 × 5 data as input A color interpolation unit for performing color interpolation, five line memories used for inputting 6 × 6 image data into the bad pixel correction unit, and 5 × 5 image data input to the color interpolation unit. A line memory sharing method of an image processing system including four line memories used for performing the above operation, wherein the input of the color interpolation unit is performed by using 5 lines of data among the outputs of the bad pixel correction unit as the input of the color interpolation unit. A line memory sharing method is provided which reduces four line memories for the present invention.

상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 우선 각 도면의 구성요소들에 참조 번호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.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.

도 2는 본 발명에 따른 영상 처리 시스템의 제1실시예 구성도이다.2 is a configuration diagram of a first embodiment of an image processing system according to the present invention.

도면에 도시된 바와 같이, 본 발명의 영상 처리 시스템은 불량픽셀 보정부(210) 및 컬러 보간부(220)를 포함하여 구성되며, 4개의 라인 메모리(230)와 2개의 라인 메모리(240, 250)를 포함하여 구성된다. 라인의 진행 방향은 도 2에 도시된 바와 같다.As shown in the figure, the image processing system of the present invention includes a bad pixel correction unit 210 and a color interpolation unit 220, and includes four line memories 230 and two line memories 240 and 250. It is configured to include). The traveling direction of the line is as shown in FIG. 2.

본 발명의 불량픽셀 보정부(210)는 6×6 마스크에 대하여 1픽셀의 화소를 출력하는 것으로서, 먼저 이에 대하여 설명하기로 한다.The defective pixel correcting unit 210 of the present invention outputs a pixel of 1 pixel to a 6x6 mask, which will be described first.

도 3은 도 2의 불량픽셀 보정부의 일실시예 상세 구조도이다.3 is a detailed structural diagram of an embodiment of a bad pixel correction unit of FIG. 2.

도면에 도시된 바와 같이, 본 발명의 불량픽셀 처리 장치는, 성분 분리부(310), 패턴 비교부(320) 및 보정부(330)를 포함하여 구성된다.As illustrated in the drawing, the bad pixel processing apparatus of the present invention includes a component separator 310, a pattern comparator 320, and a corrector 330.

성분 분리부(310)는 입력되는 6×6 베이어 패턴(bayer pattern)을 도 4와 같이 3×3 구조의 4개의 성분으로 분리한다. 도 4a는 도 3에 입력되는 6×6 베이어 패턴 이미지의 일예시도이고, 도 4b는 도 4a의 베이어 패턴을 3×3 구조의 성분으로 분리한 것을 설명하기 위한 일예시도이다.The component separator 310 separates the input 6 × 6 bayer pattern into four components having a 3 × 3 structure as shown in FIG. 4. FIG. 4A is an exemplary view illustrating a 6 × 6 Bayer pattern image input to FIG. 3, and FIG. 4B is an exemplary view illustrating the separation of the Bayer pattern of FIG. 4A into components having a 3 × 3 structure.

도면에 도시된 바와 같이, 본 발명의 성분 분리부(410)는 6×6 베이어 패턴을 동일한 성분 즉, R(red), Gr(GR라인의 G; green), Gb(GB라인의 G) 및 B(blue)의 성분으로만 구성된 3×3 구조의 데이터로 분리한다.As shown in the figure, the component separator 410 of the present invention uses the same component, i.e., R (red), Gr (G in green line; green), Gb (G in line GB) and the same component. The data is separated into a 3 × 3 data structure composed only of B (blue) components.

본 발명의 설명에서는, 도 4b의 ‘B5’를 도 2a의 중심 화소로 가정하고 보정하는 것을 설명하기로 하고, 이후 일반화하기로 하자. In the description of the present invention, assuming that 'B5' of FIG. 4B is assumed to be the center pixel of FIG. 2A will be described, and then generalized.

패턴 비교부(420)는 각 성분 데이터의 패턴(중앙값(median)을 기준으로 한 화소값들의 분포임. 이하 같다)을 구한 뒤, 중심 화소가 포함된 성분의 패턴과 다른 성분들의 패턴을 비교하여, 중심 화소가 포함된 성분을 기준으로 한 측정값을 구하고, 중심 화소가 포함된 성분에서 중심 화소와 주위 화소값들을 비교하여 중심 화소를 기준으로 한 측정값을 구한다. 이하, 도면을 참조하여 상세히 설명하기로 하자.The pattern comparison unit 420 obtains a pattern of each component data (the distribution of pixel values based on a median. The same applies below), and then compares the pattern of the component including the center pixel with the pattern of other components. The measured value based on the component including the center pixel is obtained, and the measured value based on the center pixel is obtained by comparing the center pixel and the surrounding pixel values in the component including the center pixel. Hereinafter, with reference to the drawings will be described in detail.

도 5는 도 3의 패턴 비교부의 일실시예 상세 구조도이다.5 is a detailed structural diagram of an example of the pattern comparison unit of FIG. 3.

도면에 도시된 바와 같이, 본 발명의 패턴 비교부(320)는, 중앙값 검출부(321), 절대값 검출부1(322), 차이값 검출부(323), 비교값 검출부(324), 외부 플래 그 생성부(325), 절대값 검출부2(326) 및 내부 플래그 생성부(327)를 포함하여 구성된다. 도면에서는 입력(Gr, Gb, R, B) 신호를 제외하고는 신호의 흐름을 하나의 선으로 처리하였으나, 그에 다양한 데이터가 포함되는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명하다.As shown in the drawing, the pattern comparison unit 320 of the present invention includes a median detector 321, an absolute value detector 1 322, a difference value detector 323, a comparison value detector 324, and an external flag generation. The unit 325 includes an absolute value detector 2 326 and an internal flag generator 327. In the drawing, except for the input (Gr, Gb, R, B) signal, the flow of the signal is processed as a single line, but it is obvious to those skilled in the art that various data are included therein. Do.

중앙값 검출부(321)는 입력되는 3×3 구조의 Gr, R, B 및 Gb 데이터의 중앙값을 각각 검출한다. 위 데이터에 상응하는 중앙값을 각각 M1, M2, M3 및 M4라 하자.The median detector 321 detects median values of Gr, R, B, and Gb data, each having an input 3x3 structure. Let the medians corresponding to the above data be M1, M2, M3 and M4, respectively.

절대값 검출부1(322)는 Gr 데이터의 경우를 설명하여 보면, 각 구성 원소(Gri, i=1~9)에서 중앙값 M1을 뺀 값의 절대값 Abs_Gri를 검출한다. R, B 및 Gb 데이터에 대해서도 마찬가지로 각 구성 원소(Ri, Bi 및 Gbi, i=1~9)에서 각각 중앙값 M2, M3 및 M4를 뺀 값의 절대값 Abs_Ri, Abs_Bi 및 Abs_Gbi를 검출한다. The absolute value detection unit 1 322 detects the absolute value Abs_Gri of the value obtained by subtracting the median value M1 from the respective constituent elements (Gri, i = 1 to 9) by explaining the case of Gr data. Similarly for the R, B and Gb data, the absolute values Abs_Ri, Abs_Bi and Abs_Gbi of the respective components (Ri, Bi and Gbi, i = 1 to 9) minus the median values M2, M3 and M4 are detected.

차이값 검출부(323)는 중심 화소 B5를 가지는 B 데이터의 절대값 검출부1(322)의 출력인 Abs_Bi에서 나머지 데이터의 절대값 검출부1(322)의 출력인 Abs_Gri, Abs_Ri 및 Abs_Gbi를 각각 뺀 값의 절대값인 Diff1_i, Diff2_i 및 Diff3_i를 검출한다. The difference detection unit 323 is a value obtained by subtracting Abs_Gri, Abs_Ri and Abs_Gbi, which are outputs of the absolute value detection unit 1 322 of the remaining data, from Abs_Bi, which is the output of the absolute value detection unit 1 322 of the B data having the center pixel B5, respectively. The absolute values Diff1_i, Diff2_i and Diff3_i are detected.

비교값 검출부(324)는 외부 플래그 생성을 위하여, 위 Diff1_i, Diff2_i 및 Diff3_i를 합한 값 COMP_i를 생성한다.The comparison value detector 324 generates a value COMP_i obtained by adding the Diff1_i, Diff2_i, and Diff3_i to generate an external flag.

외부 플래그 생성부(325)는 위에서 검출한 비교값과 입력되는 불량픽셀 임계값(dead_threshold) 및 핫픽셀 임계값(hot_threshold)을 비교하여, 불량픽셀 및 핫픽셀의 존재 여부에 대한 플래그를 생성한다. 이때, 불량픽셀 임계값 (dead_threshold) 및 핫픽셀 임계값(hot_threshold)은 조정 가능한 값이다.The external flag generator 325 compares the comparison value detected above with the input bad pixel threshold (dead_threshold) and the hot pixel threshold (hot_threshold) to generate a flag for the presence of the bad pixel and the hot pixel. At this time, the bad pixel threshold (dead_threshold) and the hot pixel threshold (hot_threshold) are adjustable values.

즉, 외부 플래그 생성부(325)는 각 원소에 대한 비교값과 불량픽셀 임계값을 각각 비교하여 불량픽셀 임계값보다 큰 비교값이 있고, 이때 i가 5인 경우(즉 중심 화소에 대한 비교값이 불량픽셀 임계값보다 큰 경우)에는 불량픽셀이 있는지에 대한 플래그(dead_flag)를 1로 설정한다. 그 외의 경우에 dead_flag는 0이다.That is, the external flag generator 325 compares the comparison value for each element and the bad pixel threshold value respectively and has a comparison value larger than the bad pixel threshold value. When i is 5 (that is, the comparison value for the center pixel) In the case of larger than the bad pixel threshold value, a flag (dead_flag) for the presence of a bad pixel is set to one. Otherwise, dead_flag is zero.

한편, 외부 플래그 생성부(325)는 각 원소에 대한 비교값과 핫픽셀 임계값을 각각 비교하여, 핫픽셀 임계값보다 큰 비교값이 있고, 이때 i가 5인 경우(즉 중심 화소에 대한 비교값이 핫픽셀 임계값보다 큰 경우)에는 핫픽셀이 있는지에 대한 플래그(hot_flag)를 1로 설정한다. 그 외의 경우에 hot_flag 는 0이다.On the other hand, the external flag generator 325 compares the comparison value for each element and the hot pixel threshold value, respectively, and has a comparison value larger than the hot pixel threshold value, where i is 5 (that is, the comparison value for the center pixel is In case of being larger than the hot pixel threshold value, a flag (hot_flag) for whether there is a hot pixel is set to 1. Otherwise hot_flag is zero.

이후 외부 플래그 생성부(325)는 dead_flag 또는 hot_flag이 1인 경우에는 외부 플래그(external_flag)을 1로 설정한다. 그 외의 경우(즉, dead_flag 및 hot_flag이 모두 0인 경우)에는 외부 플래그를 0으로 설정하여 도 3의 보정부(330)로 출력한다.Thereafter, the external flag generator 325 sets the external flag external_flag to 1 when dead_flag or hot_flag is 1. In other cases (that is, when dead_flag and hot_flag are both zero), the external flag is set to 0 and output to the correction unit 330 of FIG.

한편, 절대값 검출부2(326)는 중심 화소 B5를 포함하는 B 데이터의 각 원소(B5는 제외)에서 중심 화소값을 뺀 값의 절대값인 Abs_Ci를 검출한다. On the other hand, the absolute value detector 2 326 detects Abs_Ci, which is the absolute value of the value obtained by subtracting the center pixel value from each element (except B5) of the B data including the center pixel B5.

내부 플래그 생성부(327)는 인가되는 조도 분류를 위한 임계값(Y_threshold)과 3×3 데이터의 중앙값인 M1~M4를 이용하여 내부 플래그를 위한 임계값 thr을 설정하고, 이에 의해 내부 플래그를 생성한다. Y_threshold는 시스템에 따라 조정 가능하다.The internal flag generator 327 sets a threshold value thr for the internal flag by using the threshold value Y_threshold for the applied illumination classification and M1 to M4 which are medians of 3 × 3 data, thereby generating an internal flag. do. Y_threshold is system adjustable.

각 성분의 중앙값의 산술평균을 Y_m으로 정의했을 때, 내부 플래그 생성부 (327)는 Y_m이 Y_threshold보다 작은 경우에는 thr을 0으로 설정하고, 그렇지 않은 경우에는 thr을 50으로 한다. 다만, 이에 한정되는 것은 아니며, 시스템에 따라 그 값이 달라질 수 있을 것이다. 이렇게 설정한 thr을 절대값 검출부2(326)가 생성한 각 구성원소에 대한 절대값과 비교하여, 8개의 값 중 어느 하나라도 thr보다 작은 경우에는 내부 플래그(internal_flag)를 0으로 설정하고, 그렇지 않은 경우(즉, 모든 원소에 대한 절대값이 thr보다 큰 경우)에는 내부 플래그를 1로 설정하여 보정부(330)에 전달한다.When the arithmetic mean of the median value of each component is defined as Y_m, the internal flag generation unit 327 sets thr to 0 when Y_m is smaller than Y_threshold, and sets thr to 50 otherwise. However, the present invention is not limited thereto, and the value may vary depending on the system. The thr set in this way is compared with the absolute value for each element generated by the absolute value detection unit 2 (326), and when any one of the eight values is smaller than thr, the internal flag (internal_flag) is set to 0. If not (ie, the absolute value for all elements is larger than thr), the internal flag is set to 1 and transmitted to the correction unit 330.

보정부(330)는 외부 플래그 및 내부 플래그가 모두 1인 경우에는 출력을 3×3 구조의 B 데이터의 중앙값으로 출력하고, 그렇지 않은 경우에는 B5를 그대로 보정부(330)의 출력으로 한다.The correction unit 330 outputs the output as the median value of the B data having a 3x3 structure when both the external flag and the internal flag are 1; otherwise, B5 is used as the output of the correction unit 330 as it is.

이와 같이, 본 발명의 불량픽셀 보정부(210)는 6×6 데이터를 입력으로 하고, 그 출력은 1픽셀의 데이터가 된다. 이 출력에 해당하는 라인을 도 2의 E 라인이라고 하였을 때, 본 발명의 영상 처리 시스템의 불량픽셀 보정부(210)는 이미 A 내지 D 라인을 출력한 상태이고, 이 중 3개의 라인인 B 내지 D 라인은 4개의 라인 메모리에 저장된 상태이다. As described above, the bad pixel correction unit 210 of the present invention receives 6x6 data as an input, and its output is 1 pixel of data. When the line corresponding to this output is referred to as the E line of FIG. 2, the bad pixel correction unit 210 of the image processing system of the present invention has already output the A to D lines, and three of these lines are B to The D line is stored in four line memories.

이에 따라 5×5 데이터를 입력으로 하는 컬러 보간부(220)는 A 내지 E 라인을 입력으로 하며, 본 발명의 불량픽셀 보정부(210)는 이미 불량픽셀 보정부(210)에 의해 연산된 데이터 라인인 B 내지 D 라인과 현재 연산중인 E 라인과, 아직 연산되지 않은 F 및 G라인을 입력으로 한다. 따라서 본 발명에 따르면, 불량픽셀 보정부(210)와 컬러 보간부(220)의 입력을 4개의 라인 메모리(230)가 공유하게 되며, 그 외, 불량픽셀 보정부(210)의 입력을 위하여 필요한 F 라인과, 컬러 보간을 위해 필요한 A 라인의 2개의 라인 메모리가 더 필요하게 된다.Accordingly, the color interpolation unit 220 having 5 × 5 data as input receives the A through E lines, and the bad pixel correcting unit 210 of the present invention already calculates the data calculated by the bad pixel correcting unit 210. Lines B to D, an E line currently being operated, and F and G lines that have not yet been calculated are input. Therefore, according to the present invention, the inputs of the bad pixel correcting unit 210 and the color interpolator 220 are shared by four line memories 230, and are required for input of the bad pixel correcting unit 210. Two more lines of memory are needed, the F line and the A line required for color interpolation.

따라서, 본 발명에 따르면, 종래 8개의 라인 메모리가 필요한 시스템에서, 4개를 공유하게 함으로써, 2개의 라인 메모리를 줄일 수 있다. 또한, 종래에 따르면 불량픽셀 보정부는 6×6 데이터를 입력으로 하기 위하여 5개의 라인 메모리가 필요하고, 컬러 보간부는 5×5 데이터를 입력으로 하기 위하여 4개의 라인 메모리를 필요로 하므로, 총 9개의 라인 메모리를 필요로 하게 되지만, 본 발명에 따르면, 4개의 라인 메모리를 공유할 수 있으므로, 3개의 라인 메모리를 줄일 수 있다.Therefore, according to the present invention, in a system requiring eight line memories, two line memories can be reduced by allowing four to be shared. In addition, according to the related art, the bad pixel compensator requires 5 line memories to input 6 × 6 data, and the color interpolator requires 4 line memories to input 5 × 5 data. Although line memory is required, according to the present invention, since four line memories can be shared, three line memories can be reduced.

한편, 본 발명의 불량픽셀 보정부(210)는 6×6 데이터를 입력으로 하는 경우에 대하여 설명하였으나, 5×5 데이터를 입력으로 하는 일반적인 불량픽셀 처리장치에 의하면 총 5개의 라인 메모리가 필요하게 되므로, 3개의 라인 메모리를 줄일 수 있다.On the other hand, the bad pixel correction unit 210 of the present invention has been described for the case of input 6 × 6 data, but according to the general bad pixel processing apparatus that inputs 5 × 5 data, a total of five line memory is required Thus, three line memories can be reduced.

도 6은 본 발명에 따른 영상 처리 시스템의 제2실시예 구성도이다.6 is a configuration diagram of a second embodiment of an image processing system according to the present invention.

도면에 도시된 바와 같이, 본 발명의 영상 처리 시스템은 불량픽셀 보정부(610) 및 컬러 보간부(620)를 포함하여 구성되며, 5개의 라인 메모리(630)를 포함하여 구성된다. 라인의 진행 방향은 도 6에 도시된 바와 같다.As shown in the figure, the image processing system of the present invention includes a bad pixel correction unit 610 and a color interpolation unit 620, and includes five line memories 630. The traveling direction of the line is as shown in FIG. 6.

본 발명의 불량픽셀 보정부(610)는 6×6 마스크에 대하여 6×6 데이터를 출력하는 것으로서, 먼저 이에 대하여 설명하기로 한다.The defective pixel correcting unit 610 of the present invention outputs 6x6 data to a 6x6 mask, which will be described first.

도 7은 도 6의 불량픽셀 보정부의 일실시예 상세 구조도이다.7 is a detailed structural diagram of an embodiment of a bad pixel correction unit of FIG. 6.

도면에 도시된 바와 같이, 본 발명에 따른 처리 장치는, 성분 분리부(710), 불량픽셀 검출부(720) 및 핫픽셀 검출부(730)를 포함하여 구성된다.As shown in the drawing, the processing apparatus according to the present invention includes a component separator 710, a bad pixel detector 720, and a hot pixel detector 730.

성분 분리부(710)는 입력되는 6×6 베이어 패턴(bayer pattern)을 도 4와 같이 3×3 구조의 4개의 성분으로 분리한다. 이하에서는, 3×3 구조의 Gr, R, B 및 Gb 성분 데이터를 편의상 각각 C1, C2, C3 및 C4로 하기로 하자.The component separator 710 separates the input 6 × 6 bayer pattern into four components having a 3 × 3 structure as shown in FIG. 4. Hereinafter, the Gr, R, B, and Gb component data of the 3x3 structure will be referred to as C1, C2, C3, and C4, respectively, for convenience.

불량픽셀 검출부(720)는 각 성분 데이터의 패턴을 구한 뒤, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 측정값을 구하고, 이 측정값을 비교하여 불량픽셀인지 여부를 판단한다. 이하, 도면을 참조로 더욱 상세히 설명하기로 하자.The bad pixel detection unit 720 obtains a pattern of each component data, compares patterns of other components, obtains a measurement value based on each component, and compares the measured values to determine whether the pixel is a bad pixel. Hereinafter, with reference to the drawings will be described in more detail.

도 8은 도 7의 불량픽셀 검출부의 일실시예 상세 구조도이다.8 is a detailed structural diagram of an exemplary bad pixel detection unit of FIG. 7.

도면에 도시된 바와 같이, 본 발명의 불량픽셀 검출부(720)는, 중앙값 검출부(721), 절대값 검출부(722), 비교값 검출부(723), 임계값 설정부(724) 및 출력 결정부(725)를 포함하여 구성된다. 도면에서 입력 신호(C1, C2, C3, C4)를 제외하고 신호의 흐름을 하나의 선으로 처리하였으나, 그에 다양한 데이터가 포함되는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명하다.As shown in the drawing, the bad pixel detection unit 720 of the present invention includes a median value detection unit 721, an absolute value detection unit 722, a comparison value detection unit 723, a threshold value setting unit 724, and an output determination unit ( 725). Except for the input signals (C1, C2, C3, C4) in the drawings, the signal flow is processed as one line, but it is obvious to those skilled in the art that various data are included therein. .

중앙값 검출부(721)는 입력되는 3×3 구조의 C1, C2, C3 및 C4 데이터의 중앙값을 각각 검출한다. 위 데이터에 상응하는 중앙값을 각각 M1, M2, M3 및 M4라 하자.The median detector 721 detects median values of C1, C2, C3, and C4 data having an input 3x3 structure, respectively. Let the medians corresponding to the above data be M1, M2, M3 and M4, respectively.

절대값 검출부(722)는 예를 들어, C1 데이터의 경우를 설명하여 보면, 각 구성 원소(Gri, i=1~9)에서 중앙값 M1을 뺀 값의 절대값 Abs_1i를 검출한다. C2, C3 및 C4 데이터에 대해서도 마찬가지로 각 구성 원소(Ri, Bi 및 Gbi, i=1~9)에서 각각 중앙값 M2, M3 및 M4를 뺀 값의 절대값 Abs_2i, Abs_3i 및 Abs_4i를 검출한다. For example, the absolute value detection unit 722 detects the absolute value Abs_1i of the value obtained by subtracting the median value M1 from each of the constituent elements Gri, i = 1 to 9 when explaining the case of C1 data. Similarly for the C2, C3 and C4 data, the absolute values Abs_2i, Abs_3i and Abs_4i of the values obtained by subtracting the median values M2, M3 and M4 from the respective constituent elements (Ri, Bi and Gbi, i = 1 to 9) are detected.

비교값 검출부(723)는 위에서 구한 절대값 검출부(722)의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여 이를 합산하여 비교값을 구한다. 즉, Abs_1i에서 나머지 Abs_2i, Abs_3i 및 Abs_4i을 뺀 값의 각 절대값을 구하고, 이를 합산하여 COMP_1i를 구한다. 이와 같은 방식으로 COMP_2i, COMP_3i 및 COMP_4i를 구한다. The comparison value detector 723 obtains a comparison value by obtaining an absolute value of a value obtained by subtracting the other output from one output with respect to the output of the absolute value detector 722 obtained above. That is, the absolute values of the values obtained by subtracting the remaining Abs_2i, Abs_3i and Abs_4i from Abs_1i are calculated, and the sums thereof are calculated to obtain COMP_1i. In this manner, COMP_2i, COMP_3i and COMP_4i are obtained.

임계값 설정부(724)는 인가되는 조도 분류를 위한 임계값(Y_threshold)과 3×3 데이터의 중앙값인 M1~M4를 이용하여 내부 플래그를 위한 임계값 thr을 설정한다. Y_threshold는 시스템에 따라 조정 가능하다. 각 성분 데이터의 중앙값의 산술평균을 Y_m으로 정의했을 때, 임계값 설정부(724)는 Y_m이 Y_threshold보다 작은 경우에는 thr을 0으로 설정하고, 그렇지 않은 경우에는 thr을 50으로 한다. 다만, 이에 한정되는 것은 아니며, 시스템에 따라 그 값이 달라질 수 있을 것이다.The threshold setting unit 724 sets the threshold value thr for the internal flag by using the threshold Y_threshold for illuminance classification applied and M1 to M4 which are medians of 3x3 data. Y_threshold is system adjustable. When the arithmetic mean of the median value of each component data is defined as Y_m, the threshold value setting unit 724 sets thr to 0 when Y_m is smaller than Y_threshold, and sets thr to 50 otherwise. However, the present invention is not limited thereto, and the value may vary depending on the system.

출력 결정부(725)는 위 비교값 검출부(723)가 검출한 4개의 비교값과 인가되는 불량픽셀 임계값(dead_threshold)을 각각 비교하여, 불량픽셀 임계값보다 큰 비교값이 없는 경우에는 원영상을 출력한다. 즉 3×3 크기의 Cj(j=1~4) 영상을 그대로 출력하게 된다. 따라서, 출력 결정부(125)가 출력하는 데이터는 6×6 크기의 원영상이 된다. 이하에서,‘Size3×3_Cj1’은 3×3 크기의 Cj 데이터의 1번째 구성원소를 말하는 것이다. The output determination unit 725 compares the four comparison values detected by the comparison value detection unit 723 and the applied dead pixel threshold value (dead_threshold), respectively. Outputs That is, a 3 × 3 Cj (j = 1 to 4) image is output as it is. Therefore, the data output by the output determination unit 125 becomes an original image of 6 × 6 size. In the following description, 'Size3 × 3_Cj1' refers to the first component of Cj data having a size of 3 × 3.

출력 결정부(725)는 만약, 불량픽셀 임계값보다 큰 비교값이 있는 경우에는, 영상을 다시 구성하는데, 구성원소별로 픽셀을 구성하는 방법을 취한다. If there is a comparison value larger than the bad pixel threshold, the output determination unit 725 reconstructs the image, and takes a method of constructing pixels for each element.

Size3×3_Cj1(Size3×3_Cj의 1번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(725)는 1번째 원소에서 주위원소(즉, 도 5에서 Size3×3_Cj2, Size3×3_Cj5 및 Size3×3_Cj4)를 뺀 값의 절대값을 임계값 thr과 각각 비교하여, 어느 하나라도 임계값보다 작은 것이 있는 경우에는 원 입력값인 Size3×3_Cj1을 출력하고, 그렇지 않은 경우에는 주위 원소인 Size3×3_Cj2, Size3×3_Cj4 및 Size3×3_Cj5의 중앙값을 출력한다. In order to configure Size3 × 3_Cj1 (the first element of Size3 × 3_Cj, j = 1 to 4), the output determination unit 725 is configured to include the surrounding elements (i.e., Size3 × 3_Cj2, Size3 × 3_Cj5 and The absolute value of the value minus Size3 × 3_Cj4) is compared with the threshold value thr, and if any one is smaller than the threshold value, the original input value, Size3 × 3_Cj1, is output; The median of 3_Cj2, Size3x3_Cj4, and Size3x3_Cj5 is output.

또한, Size3×3_Cj2(Size3×3_Cj의 2번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(725)는 2번째 원소에서 주위원소(즉, Size3×3_Cj1, Size3×3_Cj3, Size3×3_Cj4, Size3×3_Cj5 및 Size3×3_Cj6)를 뺀 값의 절대값을 임계값 thr과 각각 비교하여, 어느 하나라도 임계값보다 작은 것이 있는 경우에는 원 입력값인 Size3×3_Cj2을 출력하고, 그렇지 않은 경우에는 주위 원소인 Size3×3_Cj1, Size3×3_Cj3, Size3×3_Cj4, Size3×3_Cj5 및 Size3×3_Cj6의 중앙값을 출력한다. 이와 같이, Size3×3_Cj(j=1~4)의 모든 구성원소에 대하여 출력값을 결정하여, Size3×3_Cj(j=1~4) 데이터를 도 7의 핫픽셀 결정부(730)로 전달한다.In addition, in order to configure Size3 × 3_Cj2 (the second element of Size3 × 3_Cj, j = 1 to 4), the output determining unit 725 has a peripheral element (that is, Size3 × 3_Cj1, Size3 × 3_Cj3, Size3) in the second element. The absolute value of the value minus × 3_Cj4, Size3 × 3_Cj5 and Size3 × 3_Cj6) is compared with the threshold thr, respectively, and if any one is smaller than the threshold, the original input value, Size3 × 3_Cj2, is output. In this case, the median values of the surrounding elements Size3x3_Cj1, Size3x3_Cj3, Size3x3_Cj4, Size3x3_Cj5, and Size3x3_Cj6 are output. In this way, an output value is determined for all the elements of Size3 × 3_Cj (j = 1 to 4), and the Size3 × 3_Cj (j = 1 to 4) data is transmitted to the hot pixel determination unit 730 of FIG.

핫픽셀 결정부(730)는 입력되는 각 성분 데이터의 패턴을 구한 뒤, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 측정값을 구하고, 이 측정값을 비교하여 핫픽셀인지 여부를 판단한다. 이하, 도면을 참조로 더욱 상세히 설명하기로 하자.The hot pixel determiner 730 obtains a pattern of input component data, compares patterns of other components, obtains measurement values based on each component, and compares the measured values to determine whether the pixels are hot pixels. Hereinafter, with reference to the drawings will be described in more detail.

도 9는 도 7의 핫픽셀 검출부의 일실시예 상세 구조도이다.9 is a detailed structural diagram of an embodiment of the hot pixel detection unit of FIG. 7.

도면에 도시된 바와 같이, 본 발명의 핫픽셀 검출부(730)는 중앙값 검출부(731), 절대값 검출부(732), 비교값 검출부(733) 및 출력 결정부(734)를 포함하여 구성된다. 도면에서 입력 신호(Size3×3C1, Size3×3C2, Size3×3C3, Size3×3C4)를 제외하고 신호의 흐름을 하나의 선으로 처리하였으나, 그에 다양한 데이터가 포함되는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명하다.As shown in the figure, the hot pixel detector 730 of the present invention includes a median detector 731, an absolute detector 732, a comparison detector 733, and an output determiner 734. In the drawing, except for the input signals (Size3 × 3C1, Size3 × 3C2, Size3 × 3C3, Size3 × 3C4), the signal flow is treated as one line, but various data are included in the drawings. Self-explanatory to those who have knowledge.

중앙값 검출부(731)는 입력되는 3×3 구조의 C1, C2, C3 및 C4 데이터의 중앙값을 각각 검출한다. 위 데이터에 상응하는 중앙값을 각각 M5, M6, M7 및 M8라 하자.The median value detector 731 detects median values of C1, C2, C3, and C4 data having an input 3x3 structure, respectively. Let the median values corresponding to the above data be M5, M6, M7 and M8, respectively.

절대값 검출부(732)는 예를 들어, Size3×3C1 데이터의 경우를 설명하여 보면, 각 구성 원소(Size3×3C1i, i=1~9)에서 중앙값 M5을 뺀 값의 절대값 Abs_5i를 검출한다. Size3×3C2, Size3×3C3 및 Size3×3C4 데이터에 대해서도 마찬가지로 각 구성 원소(Size3×3C2i, Size3×3C3i 및 Size3×3C4i, i=1~9)에서 각각 중앙값 M6, M7 및 M8를 뺀 값의 절대값 Abs_6i, Abs_7i 및 Abs_8i를 검출한다. For example, the absolute value detector 732 detects the absolute value Abs_5i of the value obtained by subtracting the median value M5 from each of the constituent elements (Size3 × 3C1i, i = 1 to 9). Similarly for Size3 × 3C2, Size3 × 3C3, and Size3 × 3C4 data, the absolute value of each component (Size3 × 3C2i, Size3 × 3C3i and Size3 × 3C4i, i = 1 to 9) minus the median values M6, M7, and M8, respectively The values Abs_6i, Abs_7i and Abs_8i are detected.

비교값 검출부(733)는 위에서 구한 절대값 검출부(732)의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여 이를 합산하여 비교값을 구한다. 즉, Abs_5i에서 나머지 Abs_6i, Abs_7i 및 Abs_8i를 뺀 값의 각 절대값을 구하고, 이를 합산하여 COMP_5i를 구한다. 이와 같은 방식으로 COMP_6i, COMP_7i 및 COMP_8i를 구한다.The comparison value detector 733 obtains an absolute value of the output obtained by subtracting the other output from the output of the absolute value detector 732 obtained above, and adds the absolute value to obtain the comparison value. That is, the absolute values of the values obtained by subtracting the remaining Abs_6i, Abs_7i, and Abs_8i from Abs_5i are calculated, and the sums are calculated to obtain COMP_5i. In this manner, COMP_6i, COMP_7i and COMP_8i are obtained.

출력 결정부(734)는 위 비교값 검출부(733)가 검출한 4개의 비교값과 인가되는 핫픽셀 임계값(hot_threshold)을 각각 비교하여, 핫픽셀 임계값보다 큰 비교값 이 없는 경우에는 원영상을 출력한다. 즉 3×3 크기의 Cj(j=1~4) 영상을 그대로 출력하게 된다. 따라서, 출력 결정부(734)가 출력하는 데이터는 6×6 크기의 원영상이 된다. The output determination unit 734 compares the four comparison values detected by the comparison value detection unit 733 and the applied hot pixel threshold value hot_threshold, respectively, and outputs the original image when there is no comparison value larger than the hot pixel threshold value. do. That is, a 3 × 3 Cj (j = 1 to 4) image is output as it is. Therefore, the data output from the output determination unit 734 becomes an original image of 6x6 size.

출력 결정부(734)는 만약, 핫픽셀 임계값보다 큰 비교값이 있는 경우에는, 영상을 다시 구성하는데, 구성원소별로 픽셀을 구성하는 방법을 취한다. If there is a comparison value larger than the hot pixel threshold, the output determination unit 734 reconstructs the image, and takes a method of constructing pixels for each element.

Size3×3_Cj1(Size3×3_Cj의 1번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(734)는 1번째 원소에서 주위원소(즉, 도 5에서 Size3×3_Cj2, Size3×3_Cj5 및 Size3×3_Cj4)를 뺀 값의 절대값을 불량픽셀 검출부(720)의 임계값 결정부(724)가 결정하여 전달한 임계값 thr과 각각 비교하여, 어느 하나라도 임계값보다 작은 것이 있는 경우에는 원 입력값인 Size3×3_Cj1을 출력하고, 그렇지 않은 경우에는 주위 원소인 Size3×3_Cj2, Size3×3_Cj4 및 Size3×3_Cj5의 중앙값을 출력한다. In order to construct Size3 × 3_Cj1 (the first element of Size3 × 3_Cj, j = 1 to 4), the output determining unit 734 is configured to include the peripheral elements (i.e., Size3 × 3_Cj2, Size3 × 3_Cj5 and The absolute value of the value obtained by subtracting Size3 × 3_Cj4) is compared with the threshold value thr determined and transmitted by the threshold value determination unit 724 of the bad pixel detection unit 720, respectively. The value Size3x3_Cj1 is output. Otherwise, the median values of the surrounding elements Size3x3_Cj2, Size3x3_Cj4 and Size3x3_Cj5 are output.

또한, Size3×3_Cj2(Size3×3_Cj의 2번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(734)는 2번째 원소에서 주위 원소(즉, 도 5에서 Size3×3_Cj1, Size3×3_Cj3, Size3×3_Cj4, Size3×3_Cj5 및 Size3×3_Cj6)를 뺀 값의 절대값을 임계값 thr과 각각 비교하여, 어느 하나라도 임계값보다 작은 것이 있는 경우에는 원 입력값인 Size3×3_Cj2을 출력하고, 그렇지 않은 경우에는 주위 원소인 Size3×3_Cj1, Size3×3_Cj3, Size3×3_Cj4, Size3×3_Cj5 및 Size3×3_Cj6의 중앙값을 출력한다. 이와 같이, Size3×3_Cj(j=1~4)의 모든 구성원소에 대하여 출력값을 결정하여, Size3×3_Cj(j=1~4) 데이터를 출력할 수 있다. 이에 따라 6×6 데이터가 출력된다.Further, in order to configure Size3 × 3_Cj2 (the second element of Size3 × 3_Cj, j = 1 to 4), the output determining unit 734 includes the surrounding elements (that is, Size3 × 3_Cj1 and Size3 × in FIG. 5). Compare the absolute values of 3_Cj3, Size3 × 3_Cj4, Size3 × 3_Cj5, and Size3 × 3_Cj6) with the threshold thr, and if any one is smaller than the threshold, output the original input, Size3 × 3_Cj2. Otherwise, the median values of the surrounding elements Size3x3_Cj1, Size3x3_Cj3, Size3x3_Cj4, Size3x3_Cj5, and Size3x3_Cj6 are output. In this way, the output values are determined for all the members of Size3x3_Cj (j = 1-4), and the Size3x3_Cj (j = 1-4) data can be output. This outputs 6x6 data.

따라서, 도 6의 컬러 보간부(620)는 불량픽셀 보정부의 6라인의 출력 중 5개를 입력으로 하여 컬러 보간을 수행할 수 있을 것이다.Accordingly, the color interpolator 620 of FIG. 6 may perform color interpolation by inputting five of the outputs of six lines of the bad pixel corrector.

본 발명의 제2실시예에 따르면, 불량픽셀 처리를 위하여 5개의 라인 메모리만을 필요로 하므로, 종래의 개별적으로 사용되는 8개의 라인 메모리를 3개 줄일 수 있을 것이다.According to the second embodiment of the present invention, since only five line memories are required for the bad pixel processing, three conventional eight individually used line memories can be reduced.

또한, 종래에 따르면 불량픽셀 보정부는 6×6 데이터를 입력으로 하기 위하여 5개의 라인 메모리가 필요하고, 컬러 보간부는 5×5 데이터를 입력으로 하기 위하여 4개의 라인 메모리를 필요로 하므로, 총 9개의 라인 메모리를 필요로 하게 되지만, 본 발명에 따르면, 5개의 라인 메모리를 공유할 수 있으므로, 4개의 라인 메모리를 줄일 수 있다.In addition, according to the related art, the bad pixel compensator requires 5 line memories to input 6 × 6 data, and the color interpolator requires 4 line memories to input 5 × 5 data. Although line memory is required, according to the present invention, since five line memories can be shared, four line memories can be reduced.

이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.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.

상기한 바와 같은 본 발명은, 불량픽셀 처리와 컬러 보간 처리에 사용되는 라인 메모리를 공유하도록 함으로써, 시스템의 부피를 줄일 수 있도록 하는 효과가 있다. The present invention as described above has the effect of reducing the volume of the system by sharing the line memory used for bad pixel processing and color interpolation processing.

Claims (2)

6×6 데이터를 입력으로 하여 그 데이터의 불량픽셀을 보정하여 1픽셀의 데이터를 출력하기 위한 불량픽셀 보정부와, 5×5 데이터를 입력으로 하여 컬러 보간을 수행하기 위한 컬러 보간부와, 상기 불량픽셀 보정부에 6×6 구조의 영상 데이터를 입력하기 위하여 사용되는 5개의 라인 메모리와, 상기 컬러 보간부에 5×5 구조의 영상 데이터를 입력하기 위하여 사용되는 4개의 라인 메모리를 포함하는 영상 처리 시스템의 라인 메모리 공유 방법에 있어서,A bad pixel correction unit for correcting a bad pixel of the data by inputting 6 × 6 data and outputting 1 pixel of data, a color interpolation unit for performing color interpolation by inputting 5 × 5 data, and An image including five line memories used to input image data having a 6 × 6 structure into a bad pixel correction unit, and four line memories used to input image data having a 5 × 5 structure into a color interpolation unit. In the line memory sharing method of the processing system, 상기 불량 픽셀 보정부의 출력을 저장하여 상기 컬러 보간부로 입력하기 위한 4개의 라인 메모리의 출력을 상기 불량 픽셀 보정부의 입력으로 하여, 상기 불량픽셀 보정부의 입력을 위한 4개의 라인 메모리와 상기 컬러 보간부의 입력을 위한 4개의 라인 메모리를 공유하는 것을 특징으로 하는 라인 메모리 공유 방법. Four line memories for input of the bad pixel correction unit and four line memories for storing the output of the bad pixel correction unit and inputting the color interpolation unit to the bad pixel correction unit. A line memory sharing method characterized by sharing four line memories for input of a color interpolator. 6×6 데이터를 입력으로 하여 그 데이터의 불량픽셀을 보정하여 6×6 데이터 데이터를 출력하기 위한 불량픽셀 보정부와, 5×5 데이터를 입력으로 하여 컬러 보간을 수행하기 위한 컬러 보간부와, 상기 불량픽셀 보정부에 6×6 구조의 영상 데이터를 입력하기 위하여 사용되는 5개의 라인 메모리와, 상기 컬러 보간부에 5×5 구조의 영상 데이터를 입력하기 위하여 사용되는 4개의 라인 메모리를 포함하는 영상 처리 시스템의 라인 메모리 공유 방법에 있어서,A bad pixel correction unit for correcting bad pixels of the data by inputting 6 × 6 data and outputting 6 × 6 data data, a color interpolation unit for performing color interpolation by inputting 5 × 5 data; 5 line memories used to input 6 × 6 structure image data to the bad pixel correcting unit, and 4 line memories used to input 5 × 5 structure image data to the color interpolation unit. In the line memory sharing method of the image processing system, 상기 불량 픽셀 보정부의 출력 중 5라인의 데이터를 상기 컬러 보간부의 입력으로 하여, 상기 컬러 보간부의 입력을 위한 4개의 라인 메모리를 줄이는 것을 특징으로 하는 라인 메모리 공유 방법.And reducing the four line memories for input of the color interpolator by using five lines of data among the outputs of the bad pixel corrector as the input of the color interpolator.
KR1020050133588A 2005-12-29 2005-12-29 Method for sharing line memory in image processing system KR100740625B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050133588A KR100740625B1 (en) 2005-12-29 2005-12-29 Method for sharing line memory in image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050133588A KR100740625B1 (en) 2005-12-29 2005-12-29 Method for sharing line memory in image processing system

Publications (2)

Publication Number Publication Date
KR20070070746A KR20070070746A (en) 2007-07-04
KR100740625B1 true KR100740625B1 (en) 2007-07-18

Family

ID=38505991

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050133588A KR100740625B1 (en) 2005-12-29 2005-12-29 Method for sharing line memory in image processing system

Country Status (1)

Country Link
KR (1) KR100740625B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101586844B1 (en) 2010-01-06 2016-02-02 삼성전자주식회사 Image processing apparatus and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242549A (en) 1999-02-22 2000-09-08 Hitachi Ltd Line memory constructing method and line memory
KR20030078386A (en) * 2002-03-29 2003-10-08 삼성전자주식회사 A apparatus for processing image
KR20040065806A (en) * 2003-01-16 2004-07-23 엘지전자 주식회사 Cubic convolution interpolation apparatus and method
KR20050020287A (en) * 2003-08-21 2005-03-04 삼성전자주식회사 Frame Rate Conversion apparatus capable of sharing line memory for performing motion estimation and motion compensation and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000242549A (en) 1999-02-22 2000-09-08 Hitachi Ltd Line memory constructing method and line memory
KR20030078386A (en) * 2002-03-29 2003-10-08 삼성전자주식회사 A apparatus for processing image
KR20040065806A (en) * 2003-01-16 2004-07-23 엘지전자 주식회사 Cubic convolution interpolation apparatus and method
KR20050020287A (en) * 2003-08-21 2005-03-04 삼성전자주식회사 Frame Rate Conversion apparatus capable of sharing line memory for performing motion estimation and motion compensation and method thereof

Also Published As

Publication number Publication date
KR20070070746A (en) 2007-07-04

Similar Documents

Publication Publication Date Title
KR100683415B1 (en) Method for processing dead pixel
WO2007075065A1 (en) Device of processing dead pixel
US9947258B2 (en) Image processing method and image processing apparatus
US20140125847A1 (en) Image processing apparatus and control method therefor
US11770624B2 (en) Efficient and flexible color processor
JP4317619B2 (en) Image processing device
US20180077392A1 (en) Image processing apparatus, image processing method, and image processing program product
CN104717474A (en) Image processing method and module
CN106500969B (en) Display screen homogeneity testing method and display screen uniformity test system
US8823841B2 (en) Method and apparatus for correcting for vignetting in an imaging system
TWI544785B (en) Image downsampling apparatus and method
KR100740625B1 (en) Method for sharing line memory in image processing system
US20070217706A1 (en) Image processing apparatus, method of same, and program for same
NM et al. Implementation of canny edge detection algorithm on fpga and displaying image through vga interface
JPS6149581A (en) Video signal processor
JP2009194721A (en) Image signal processing device, image signal processing method, and imaging device
JP2018174470A (en) Noise reduction device and program
US20180082138A1 (en) Semiconductor device
US20130038773A1 (en) Image processing apparatus and control method for the same
Zhang et al. The modified gradient edge detection method for the color filter array image of the CMOS image sensor
US20100302400A1 (en) Specific Color Detection Applicator
CN105450937B (en) Image processing method and image processor
US20060171598A1 (en) Method and device for reducing the artifacts of a digital image
KR100696167B1 (en) Method for processing dead pixel
TWI398170B (en) Comb filter on the edge of the detection system

Legal Events

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

Payment date: 20130626

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140701

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20150629

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20160630

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20180627

Year of fee payment: 12