KR20070012099A - Image processing apparatus for digital camera, and method thereof - Google Patents

Image processing apparatus for digital camera, and method thereof Download PDF

Info

Publication number
KR20070012099A
KR20070012099A KR1020050066939A KR20050066939A KR20070012099A KR 20070012099 A KR20070012099 A KR 20070012099A KR 1020050066939 A KR1020050066939 A KR 1020050066939A KR 20050066939 A KR20050066939 A KR 20050066939A KR 20070012099 A KR20070012099 A KR 20070012099A
Authority
KR
South Korea
Prior art keywords
pixel
dead
dead pixel
target pixel
target
Prior art date
Application number
KR1020050066939A
Other languages
Korean (ko)
Other versions
KR100723208B1 (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 KR1020050066939A priority Critical patent/KR100723208B1/en
Publication of KR20070012099A publication Critical patent/KR20070012099A/en
Application granted granted Critical
Publication of KR100723208B1 publication Critical patent/KR100723208B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/002Diagnosis, testing or measuring for television systems or their details for television cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/73Colour balance circuits, e.g. white balance circuits or colour temperature control

Abstract

An image processing apparatus for a digital camera and a method thereof are provided to perform color interpolation after correcting a dead pixel for image data from an image sensor by using one LM, thereby quickly processing signals and making production of a small size possible, and reducing production costs. An image processing apparatus(200) for a digital camera comprises the followings: an LM(Line Memory) which stores image data for dead pixel correction and color interpolation; a color interpolation unit(214) which corrects a dead pixel for the image data of the LM and performs the color interpolation by using the LM for the image data in which the dead pixel is corrected; a preprocessing unit(230) which performs preprocessing for the image data from the color interpolation unit(214); an image processing unit(250) which performs color tuning, anti-aliasing, MPEG(Moving Picture Experts Group) processing, and white balancing for the image data from the preprocessing unit(230).

Description

디지탈 카메라용 이미지 처리 장치 및 방법{IMAGE PROCESSING APPARATUS FOR DIGITAL CAMERA, AND METHOD THEREOF}Image processing apparatus and method for digital cameras {IMAGE PROCESSING APPARATUS FOR DIGITAL CAMERA, AND METHOD THEREOF}

도 1은 종래 디지탈 카메라용 이미지 처리 장치의 구성도.1 is a block diagram of a conventional image processing apparatus for a digital camera.

도 2의 (a) 내지 (d)는 도 1의 이미지 센서의 5x5 윈도우의 픽셀 구조도.2A to 2D are pixel structure diagrams of a 5x5 window of the image sensor of FIG.

도 3은 도 1의 칼라 보간부에 의해 칼라 보간된 3x3 윈도우의 픽셀 구조도.3 is a pixel structure diagram of a 3x3 window that is color interpolated by the color interpolator of FIG.

도 4는 본 발명에 따른 이미지 처리 장치의 구성도.4 is a configuration diagram of an image processing apparatus according to the present invention.

도 5는 본 발명에 따른 이미지 처리 방법을 보이는 전체 플로우챠트.5 is an overall flowchart showing an image processing method according to the present invention.

도 6은 도 5의 데드픽셀 보정 과정을 보이는 플로우챠트.FIG. 6 is a flowchart illustrating a dead pixel correction process of FIG. 5.

도 7의 (a) 내지 (d)는 도 5의 이미지 센서의 5x5 윈도우의 픽셀 구조도.7A to 7D are pixel structure diagrams of a 5x5 window of the image sensor of FIG.

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

LM : 라인 메모리 210 : 칼라 보간부LM: line memory 210: color interpolation unit

212 : 데드픽셀 보정부 214 : 칼라 보간부212: dead pixel correction unit 214: color interpolation unit

230 : 전처리부 250 : 영상처리부230: preprocessor 250: image processor

TW1 : 제1 크기의 검사 윈도우 TW2 : 제2 크기의 검사 윈도우TW1: Inspection window of the first size TW2: Inspection window of the first size

MV : 픽셀평균값 OP : 대상 픽셀MV: Pixel average value OP: Target pixel

DP : 데드픽셀DP: Dead Pixel

본 발명은 캠코더나 디지탈 카메라에 적용되는 이미지 처리 장치에 관한 것으로, 특히 이미지센서로부터의 영상 데이타에 대한 데드픽셀 보정후 칼라 보간을 하나의 라인 메모리를 이용하여 수행하도록 구현함으로써, 신속한 신호 처리가 가능하고, 소형 제작이 가능하여 제작단가를 줄일 수 있는 디지탈 카메라용 이미지 처리 장치 및 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus applied to a camcorder or a digital camera. In particular, by implementing a color interpolation using a single line memory after dead pixel correction for image data from an image sensor, fast signal processing is possible. In addition, the present invention relates to an image processing apparatus and method for a digital camera capable of miniaturization and reducing manufacturing costs.

일반적으로, 유무선 초고속 통신망에 의한 화상통신 기술과, 디지탈 카메라와 같은 화상 입력 및 인식 기술의 발달에 따라, 휴대폰과 같은 이동 통신 단말기 등에서 디지탈 카메라 모듈의 채용이 증대되면서, 디지탈 카메라 모듈에 적용되는 이미지 센서(image sensor) 및 이미지 처리 장치에 대한 연구 및 개발이 활발해지고 있다. 이미지 센서는 피사체에 의해 반사된 광을 검출하여 피사체 이미지를 감지하기 위한 센서로서, 이는 제조 공정 기술에 따라 크게 CCD(Charge Coupled Device, 전하 결합소자)형과 CMOS(Complementary Metal Oxide Semiconductor,상보성 금속산화물반도체)형으로 구분된다.In general, with the development of video communication technology using wired / wireless high-speed communication networks and image input and recognition technology such as digital cameras, the adoption of digital camera modules in mobile communication terminals such as mobile phones has increased, resulting in images applied to digital camera modules. Research and development on image sensors and image processing devices are being actively conducted. An image sensor is a sensor for detecting a subject image by detecting light reflected by a subject, which is largely a charge coupled device (CCD) type and a complementary metal oxide semiconductor (CMOS) type according to manufacturing process technology. Semiconductor).

이러한 이미지 센서에 관련되는 대표적인 기술로써는, 칼라 필터 어레이(Color Filter Array)용 베이어 패턴(Bayer Pattern)(또는 모자이크 패턴)기술과 각 화소에 모두 3가지 색의 감지가 가능한 3 포토다이오드 칼라 센서(Three photodiode color sensor)기술이 있다. 상기 베이어 패턴(Bayer Pattern)기술은 현재 대부분의 이미지 센서에서 사용되고 있는 기술로써, 이는 칼라 필터(Color Filter)에 의해 3색이 분리되어 각 화소에서 빛을 감지한다.Representative technologies related to such image sensors include Bayer pattern (or mosaic pattern) technology for color filter arrays, and three photodiode color sensors (Three capable of detecting three colors in each pixel). photodiode color sensor) technology. The Bayer Pattern technology is currently used in most image sensors, and three colors are separated by a color filter to sense light at each pixel.

이와 같이, 모자이크(혹은 베이어)방식의 이미지 센서로부터 영상데이터를 입력받아 영상 처리를 하기 위해서는 칼라 보간(Interpolation)을 선행하여야 하는데, 이러한 칼라 보간은 이미지 센서의 구조적인 특성에 의한 것으로, 즉, 이미지 회로의 센싱부가 CFA(Color Filter Array)의 구조를 가지면서 한 개의 픽셀당 한 개의 칼라 값만을 기록할 수밖에 없기 때문이다.As such, color interpolation must be preceded in order to process image by receiving image data from a mosaic (or Bayer) type image sensor. This color interpolation is due to the structural characteristics of the image sensor. This is because the sensing unit of the circuit has a structure of a color filter array (CFA), which can only record one color value per pixel.

이러한 이미지 센서를 이용하면, 한 개의 픽셀에서 R,G,B중 1개의 칼라값만을 받아서 R,G,B의 모든 칼라값을 계산하여야 하는데, 이러한 과정을 영상 보간(Interpolation)이라 한다. 이러한 영상 보간을 위해서는 대상 픽셀의 값과 함께 그 이웃픽셀의 값까지 고려하여야 한다. Using such an image sensor, all color values of R, G, and B should be calculated by receiving only one color value of R, G, and B in one pixel. This process is called image interpolation. For such image interpolation, the value of the target pixel as well as the neighboring pixel should be considered.

이와 같이 대상 픽셀 내지 그 이웃픽셀의 값을 이용하여 칼라값을 계산하기 위해서는, 이웃픽셀의 값들을 참조하기 위한 기억 소자를 필요로 하는데, 보통 이를 하드웨어로 구현하기 위해서는 라인 버퍼 형태의 라인 메모리를 사용하여야 한다.As described above, in order to calculate a color value using the value of the target pixel or its neighboring pixels, a memory device for referencing the values of the neighboring pixels is required, and a line memory in the form of a line buffer is usually used to implement it in hardware. shall.

한편, 이미지 센서로부터 획득한 영상 데이터는 이미지 센서의 MxN 개의 이미지 픽셀 어레이로 이루어진다. 현재에는 수백만 픽셀의 고화소의 이미지 센서들 이 주류들을 이루고 있는데, 집적회로를 만드는 과정에서 공정 오류 등의 문제로 제 기능을 수행하지 못하는 픽셀들이 존재하게 되며, 이를 데드 픽셀(dead pixel) 혹은 결점 픽셀(defective pixel) 이라고 한다. On the other hand, the image data obtained from the image sensor is composed of an array of MxN image pixels of the image sensor. Nowadays, millions of pixels of high pixel image sensors form the mainstream, and in the process of making integrated circuits, there are some pixels that do not function properly due to process errors and the like. It is called (defective pixel).

이러한 데드 픽셀의 종류는 조도에 따라 적절하지 못하게 반응을 하는데, 보다 구체적으로 예를 들면, 항상 어두운 픽셀값만을 출력으로 내보내는 콜드픽셀(cold pixel) 그리고 항상 밝은 픽셀 값만을 출력으로 내보내는 핫픽셀(hot pixel)이 있다. 이들은 최종 이미지에서 밝은 점이나 어두운 점으로 나타나게 되어 이미지의 품질을 현저히 떨어뜨리는 주요 원인이 된다. This kind of dead pixel reacts inadequately depending on the illuminance. More specifically, for example, a cold pixel that always outputs only dark pixel values as output and a hot pixel that always outputs only light pixel values as output. There is. These appear as bright or dark spots in the final image, which is a major cause of significant degradation of the image quality.

이러한 데드 픽셀은 이미지 센서로부터 취득한 영상 데이타를 보정하여 개선될 수 있다. 보통 데드 픽셀의 보정 방법은 칼라 영상 보간 방법과 비슷하게 이웃픽셀들의 값들을 이용하는데, 즉 대상 픽셀의 값과 그 이웃픽셀들의 값을 비교하여 너무 높거나 낮다면 이를 데드 픽셀이라고 정의 할 수 있다. 이렇게 정의된 데드 픽셀은 이웃픽셀중의 중간값 혹은 평균값으로 대체함으로써, 보정할 수 있다. 이 경우에도 칼라 보간과 마찬가지로 라인 버퍼 형태의 메모리가 필요하게 된다.Such dead pixels may be improved by correcting image data acquired from an image sensor. Normally, the correction method of the dead pixel uses the values of neighboring pixels similarly to the color image interpolation method, that is, if the value of the target pixel and the neighboring pixels are too high or low, it can be defined as a dead pixel. The dead pixels defined in this way can be corrected by substituting a median or an average value among neighboring pixels. In this case, like the color interpolation, a memory in the form of a line buffer is required.

이러한 종래 이미지 처리 장치를 도 1을 참조하여 설명한다.This conventional image processing apparatus will be described with reference to FIG.

도 1은 종래 디지탈 카메라용 이미지 처리 장치의 구성도이다.1 is a block diagram of a conventional image processing apparatus for a digital camera.

도 1을 참조하면, 종래 디지탈 카메라용 이미지 처리 장치는, 마이크로렌즈 및 칼라 필터 어레이를 포함하여, 피사체의 영상을 센싱하는 이미지 센서(10)와, 상기 이미 센서(10)로부터의 영상 데이타에 대한, 칼라보간, 전처리, 데드픽셀 보정 및 영상 처리를 수행하는 이미지 신호 처리기(20)와, 상기 이미지 신호 처리기(20)에서 처리된 영상을 화면으로 출력하는 디스플레이장치(30)로 이루어진다. 여기서, 상기 이미지 센서(10)로부터 입력되는 영상 데이터는 통상 베이어(bayer) 형태나 혹은 모자이크 형태로서, 하나의 픽셀당 R,G,B 중 하나의 값만을 갖는 영상 데이터이다. Referring to FIG. 1, a conventional image processing apparatus for a digital camera includes an image sensor 10 for sensing an image of a subject, including a microlens and a color filter array, and an image data from the sensor 10. , An image signal processor 20 for performing color interpolation, preprocessing, dead pixel correction, and image processing, and a display device 30 for outputting an image processed by the image signal processor 20 to a screen. In this case, the image data input from the image sensor 10 is usually in the form of a bayer or mosaic, and has image data having only one value of R, G, and B per pixel.

상기 이미지 신호 처리기(20)는 상기 이미지 센서(10)로부터 영상 데이터를 입력받아서 칼라 보간(Interpolation)을 수행하는 칼라 보간부(21)와, 상기 칼라 보간부(21)로부터의 신호에 대해 전처리과정을 수행하는 전처리부(22)와, 상기 전처리부(22)로부터의 영상 신호의 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정부(23)와, 상기 데드픽셀 보정부(23)로부터의 영상 신호에 대한 칼라튜닝, 윤곽보정, MPEG 처리 및 화이트 밸란싱을 수행하는 영상처리부(24)를 포함한다.The image signal processor 20 pre-processes the color interpolation unit 21 that receives image data from the image sensor 10 and performs color interpolation, and a signal from the color interpolation unit 21. A preprocessing unit 22 for performing the operation, a dead pixel correction unit 23 for performing correction on the dead pixels of the image signal from the preprocessing unit 22, and an image signal from the dead pixel correction unit 23 And an image processor 24 for performing color tuning, contour correction, MPEG processing, and white balancing on the digital camera.

도 2의 (a) 내지 (d)는 도 1의 이미지 센서의 5x5 윈도우의 픽셀 구조도이다.2A to 2D are pixel structure diagrams of a 5 × 5 window of the image sensor of FIG. 1.

도 2의 (a) 내지 (d)는, 베이어(bayer) 혹은 모자이크 형태의 이미지 센서에 대한 4가지의 픽셀 구조를 보이고 있으며, 여기서, 한 픽셀에는 R,G,B 중 어느 특정한 1가지 칼라값만을 포함한다. 이러한 5x5 윈도우의 픽셀구조에 대해 상기 영상 보간부(21)에 의해 수행되는 칼라 보간 방법을 설명하면 다음과 같다.2 (a) to 2 (d) show four pixel structures of a Bayer or mosaic image sensor, wherein one specific color value among R, G, and B is included in one pixel. Includes only. The color interpolation method performed by the image interpolation unit 21 with respect to the pixel structure of the 5x5 window will be described below.

먼저, 도 2의 (a)를 참조하면, 5x5 윈도우 픽셀구조에서, 그 중앙의 G33 픽셀에서 R,G,B를 계산하는 방법은 하기 수학식 1과 같다.First, referring to FIG. 2A, in the 5 × 5 window pixel structure, a method of calculating R, G, and B at the center G33 pixel is shown in Equation 1 below.

Figure 112005040100408-PAT00001
Figure 112005040100408-PAT00001

상기 수학식 1에서, a~g는 각 픽셀값의 합에 대한 가중치 인자로서, 현재 픽셀위치인 G33을 기준으로 가까운 픽셀에는 높은 가중치를 부여한다.In Equation 1, a to g are weight factors for the sum of each pixel value, and high weights are given to pixels close to the current pixel position G33.

이와 같은 칼라 보간후에 수행되는 데드픽셀 보정에 대해서는 도 3을 참조하여 설명한다.The dead pixel correction performed after such color interpolation will be described with reference to FIG. 3.

도 3은 도 1의 칼라 보간부에 의해 칼라 보간된 3x3 윈도우의 픽셀 구조도이다.FIG. 3 is a pixel structure diagram of a 3x3 window that is color interpolated by the color interpolator of FIG. 1.

도 3은 상기 칼라 보간 수행 이후의 R, G, B 각각의 3x3 윈도우의 픽셀을 보 이고 있다. 칼라 보간 수행 후에, 데드 픽셀에 대한 보정을 각각의 R, G, B 채널에 따라 수행하게 되며, 각각의 채널에 따른 데드 픽셀 보정은 하기 수학식 2와 같이 수행된다.3 shows pixels of 3x3 windows of R, G, and B after performing the color interpolation. After performing color interpolation, the correction for the dead pixel is performed according to each of the R, G, and B channels, and the dead pixel correction for each channel is performed as in Equation 2 below.

Figure 112005040100408-PAT00002
Figure 112005040100408-PAT00002

상기 수학식 2에서, 현재 픽셀(G22, B22, R22)과 각 현재 픽셀의 8개의 이웃픽셀의 평균값에 각 임계값을 더해서, 각 현재 픽셀의 값과 서로 비교해서 이웃픽셀 및 현재 픽셀의 값 차이 크기에 따라 데드 픽셀을 판별할 수 있고, 상기 수학식 4 및 5에서 판별된 데드 픽셀은 주변 픽셀의 평균값으로 대체되어 보정된다.In Equation 2, each threshold value is added to an average value of the current pixels G22, B22, and R22 and eight neighboring pixels of each current pixel, and the value difference between the neighboring pixel and the current pixel is compared with each other. The dead pixel can be determined according to the size, and the dead pixel determined in Equations 4 and 5 is replaced with an average value of surrounding pixels and corrected.

그러나, 이와 같은 종래의 이미지 신호 처리기에서의 칼라 보간 및 데드 픽셀 보정 과정은, 각기 서로 다른 단계에서 수행되어, 각각의 라인 메모리를 별도로 사용해야 하므로, 사용해야할 메모리 용량이 커지는 문제가 있다.However, since the color interpolation and the dead pixel correction process in the conventional image signal processor are performed at different stages, each line memory must be used separately, thereby increasing the memory capacity to be used.

또한, 모든 픽셀에 대해서 데드픽셀 보정과정을 수행하므로, 그 만큼 연산량의 증가로 인해 신호 처리 시간이 많이 소요되는 문제점이 있다.In addition, since the dead pixel correction process is performed for all pixels, there is a problem in that the signal processing time is increased due to an increase in the amount of computation.

게다가, 칼라 보정과 데드픽셀 보정이 별도의 하드웨어 장치에 의해서 수행되고, 각 동작을 위한 서로 독립적인 라인 메모리를 구비하여야 하므로, IC의 구현 사이즈를 증가시켜 IC단가가 상승되는 문제점이 있다.In addition, since color correction and dead pixel correction are performed by separate hardware apparatuses, and line memories that are independent of each other must be provided for each operation, there is a problem that the IC unit cost is increased by increasing the implementation size of the IC.

본 발명은 상기한 문제점을 해결하기 위해 제안된 것으로, 그 목적은 캠코더나 디지탈 카메라에 적용되는 이미지 처리 장치에서, 이미지센서로부터의 영상 데이타에 대한 데드픽셀 보정후 칼라 보간을 하나의 라인 메모리를 이용하여 수행하도록 구현함으로써, 신속한 신호 처리가 가능하고, 소형 제작이 가능하여 제작단가를 줄일 수 있는 디지탈 카메라용 이미지 처리 장치 및 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been proposed to solve the above problems, and an object thereof is to use color interpolation after the dead pixel correction for image data from an image sensor in an image processing apparatus applied to a camcorder or a digital camera. The present invention provides an image processing apparatus and method for a digital camera capable of performing a quick signal processing and making a small production, thereby reducing a manufacturing cost.

상기한 본 발명의 목적을 달성하기 위해서, 본 발명의 디지탈 카메라용 이미지 처리 장치는, 데드픽셀 보정 및 칼라 보간을 위한 영상 데이타를 저장하는 라인 메모리; 상기 라인 메모리의 영상 데이타에 대한 데드픽셀을 보정하고, 상기 데드픽셀이 보정된 영상 데이타에 대해 상기 라인 메모리를 이용하여 칼라 보간을 수행하는 칼라 보간부; 상기 칼라 보간부로부터의 영상 데이타에 대한 전처리 과정을 수행하는 전처리부; 및 상기 전처리부로부터의 영상 데이타에 대해 칼라튜닝, 윤곽보정, MPEG 처리 및 화이트 밸란싱을 수행하는 영상처리부를 포함하는 것을 특징으로 한다In order to achieve the above object of the present invention, an image processing apparatus for a digital camera of the present invention includes a line memory for storing image data for dead pixel correction and color interpolation; A color interpolation unit for correcting a dead pixel of the image data of the line memory and performing color interpolation on the image data of which the dead pixel is corrected using the line memory; A preprocessing unit which performs a preprocessing process on the image data from the color interpolation unit; And an image processor for performing color tuning, contour correction, MPEG processing, and white balancing on the image data from the preprocessor.

상기 칼라 보간부는, 상기 라인 메모리의 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정기; 및 상기 데드픽셀 보정기에 의해 데드픽셀이 보정된 상기 라인 메모리의 영상 데이타에 대한 칼라 보간을 수행하는 칼라 보간기를 포함하는 것을 특징으로 한다.The color interpolator may include: a dead pixel corrector for determining whether a dead pixel is present for all pixels of the image data of the line memory, and correcting the dead pixel if a dead pixel exists; And a color interpolator for performing color interpolation on the image data of the line memory in which the dead pixel is corrected by the dead pixel corrector.

상기 데드픽셀 보정기는, 영상 데이타중 대상 픽셀을 중심으로 사전에 설전된 제1 크기의 검사 윈도우내에서, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하고, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하도록 이루어진 것을 특징으로 한다.The dead pixel corrector is configured to store the target within the inspection window of the first size when the number of pixels having the same color as that of the target pixel is sufficient in the inspection window of the first size previously set centered on the target pixel in the image data. Performs dead pixel correction by determining whether the target pixel is a dead pixel based on a pixel average value for the pixel, and if the number of pixels of the same color as the target pixel is not sufficient, a second size preset in advance around the target pixel. And determining whether the target pixel is a dead pixel on the basis of a pixel average value for the target pixel in the inspection window of to perform dead pixel correction.

또한, 본 발명의 목적을 달성하기 위해서, 본 발명의 디지탈 카메라용 이미지 처리 방법은, 영상 데이타를 획득하는 데이타 획득단계; 상기 데이타 획득단계에서 획득된 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정단계; 및 상기 데드픽셀 보정단계 후, 영상 데이타에 대한 칼라 보간을 수행하는 칼라 보간을 수행하는 칼라보간 단계를 포함하는 것을 특징으로 한다.In addition, in order to achieve the object of the present invention, the image processing method for a digital camera of the present invention, the data acquisition step of obtaining image data; A dead pixel correction step of determining whether a dead pixel is present for all pixels of the image data acquired in the data acquiring step, and correcting the dead pixel if a dead pixel exists; And a color interpolation step of performing color interpolation for performing color interpolation on image data after the dead pixel correction step.

상기 데드픽셀 보정단계는, 영상 데이타중 대상 픽셀을 중심으로 사전에 설전된 제1 크기의 검사 윈도우내에서 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한지 여부를 판단하는 색상수 다소 판단단계; 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하는 제1 데드픽셀 보정단계; 및 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하는 제2 데드픽셀 보정단계를 포함하는 것을 특징으로 한다.The dead pixel correction step may include: a color number determining step of determining whether the number of pixels having the same color as that of the target pixel is sufficient in the inspection window of a first size previously set centered on the target pixel in the image data; A first dead pixel for performing dead pixel correction by determining whether the target pixel is a dead pixel based on a pixel average value for the target pixel in the first sized inspection window when the number of pixels having the same color as the target pixel is sufficient A correction step; And when the number of pixels having the same color as the target pixel is not sufficient, determining whether the target pixel is a dead pixel based on a pixel average value for the target pixel in a second preset inspection window centering on the target pixel. And a second dead pixel correction step of performing dead pixel correction.

상기 제1 데드픽셀 보정단계는, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제1 픽셀평균 계산 단계; 상기 제1 픽셀평균 계산 단계에서의 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지의 여부를 판정하는 제1 데드픽셀 판정단계; 및 상기 제1 데드픽셀 판정단계에서 상기 대상 픽셀이 데드픽셀로 판정되면, 상기 대상픽셀에 대한 데드픽셀 보정을 수행하는 제1 데드픽셀 보정단계를 포함하는 것을 특징으로 한다.The first dead pixel correction step may include: a first pixel average calculation step of calculating a pixel average value for the target pixel in the first sized inspection window when the number of pixels having the same color as the target pixel is sufficient; A first dead pixel determination step of determining whether or not the target pixel is a dead pixel based on the pixel average value in the first pixel average calculation step; And a first dead pixel correction step of performing a dead pixel correction on the target pixel when the target pixel is determined to be a dead pixel in the first dead pixel determination step.

상기 제2 데드픽셀 보정단계는, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 제1 크기의 검사 윈도우에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제2 픽셀평균 계산 단계; 상기 제2 픽셀평균 계산 단계에서의 픽셀평균값에 기초해서 상기 대상 픽셀이 의심 데드픽셀 인지의 여부를 판정하는 의심 데드픽셀 판정단계; 상기 의심 데드픽셀 판정단계에서 상기 대상 픽셀이 의심 데드픽셀로 판정되면, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제3 픽셀평균 계산 단계; 상기 제3 픽셀평균 계산 단계의 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지의 여부를 판정하는 제2 데드픽셀 판정단계; 및 상기 제2 데드픽셀 판정단계에서 상기 대상 픽셀이 데드픽셀로 판정되면, 상기 대상 픽셀에 대한 데드픽셀 보정을 수행하는 제2 데드픽셀 보정단계를 포함하는 것을 특징으로 한다.The second dead pixel correction step may include: a second pixel average calculation step of calculating a pixel average value for the target pixel in the inspection window of the first size when the number of pixels having the same color as the target pixel is not sufficient; A suspect dead pixel determination step of determining whether the target pixel is a suspect dead pixel or not based on the pixel average value in the second pixel average calculation step; A third pixel average calculation for calculating a pixel average value for the target pixel within a second preset inspection window centering on the target pixel when the target pixel is determined to be a suspect dead pixel in the suspected dead pixel determination step; step; A second dead pixel determination step of determining whether the target pixel is a dead pixel based on the pixel average value of the third pixel average calculation step; And a second dead pixel correction step of performing a dead pixel correction on the target pixel when the target pixel is determined to be a dead pixel in the second dead pixel determination step.

이하, 본 발명의 바람직한 실시 예를 첨부한 도면을 참조하여 상세히 설명한다. 본 발명에 참조된 도면에서 실질적으로 동일한 구성과 기능을 가진 구성요소들은 동일한 부호를 사용할 것이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the drawings referred to in the present invention, components having substantially the same configuration and function will use the same reference numerals.

도 4는 본 발명에 따른 이미지 처리 장치의 구성도이다.4 is a block diagram of an image processing apparatus according to the present invention.

도 4를 참조하면, 본 발명에 따른 디지탈 카메라용 이미지 처리 장치(200)는, 데드픽셀 보정 및 칼라 보간을 위한 영상 데이타를 저장하는 라인 메모리(LM)와, 상기 라인 메모리(LM)의 영상 데이타에 대한 데드픽셀을 보정하고, 상기 데드 픽셀이 보정된 영상 데이타에 대해 상기 라인 메모리(LM)를 이용하여 칼라 보간을 수행하는 칼라 보간부(210)와, 상기 칼라 보간부(210)로부터의 영상 데이타에 대한 전처리 과정을 수행하는 전처리부(230)와, 상기 전처리부(230)로부터의 영상 데이타에 대해 칼라튜닝, 윤곽보정, MPEG 처리 및 화이트 밸란싱을 수행하는 영상처리부(250)를 포함한다. Referring to FIG. 4, an image processing apparatus 200 for a digital camera according to the present invention includes a line memory LM for storing image data for dead pixel correction and color interpolation, and image data of the line memory LM. A color interpolation unit 210 for correcting a dead pixel with respect to the dead pixel, and performing color interpolation on the image data in which the dead pixel is corrected using the line memory LM, and an image from the color interpolation unit 210. A preprocessor 230 for preprocessing data, and an image processor 250 for performing color tuning, contour correction, MPEG processing, and white balancing on the image data from the preprocessor 230. .

또한, 본 발명의 이미지 처리 장치(200)는, 이미지 센서(10)로부터 영상 데이타를 입력받아 상기 라인 메모리(LM)에 저장하고, 상기 영상 데이타에 대한 신호를 처리한 후에는 디스플레이 장치(30)를 통해 화면 출력한다.In addition, the image processing apparatus 200 according to the present invention receives image data from the image sensor 10 and stores the image data in the line memory LM, and after processing the signal for the image data, the display apparatus 30. Outputs through the screen.

상기 칼라 보간부(210)는 하나의 IC에 데드픽셀 보정 및 칼라 보간 기능을 구현하는데, 이러한 데드픽셀 보정 및 칼라 보간은 소프트웨어로 구현될 수도 있고, 하드웨어로 구현될 수도 있으며, 예를 들어, 하드웨어로 구현하는 경우에는 하기와 같이 이루어질 수 있다.The color interpolator 210 implements a dead pixel correction and color interpolation function in one IC. The dead pixel correction and color interpolation may be implemented in software or hardware, for example, hardware. If implemented as can be made as follows.

상기 칼라 보간부(210)는, 상기 라인 메모리(LM)의 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정기(212)와, 상기 데드픽셀 보정기(212)에 의해 데드픽셀이 보정된 상기 라인 메모리(LM)의 영상 데이타에 대한 칼라 보간을 수행하는 칼라 보간기(214)를 포함할 수 있다.The color interpolation unit 210 determines whether the dead pixel is a dead pixel for all pixels of the image data of the line memory LM, and if there is a dead pixel, corrects the dead pixel. And a color interpolator 214 for performing color interpolation on the image data of the line memory LM in which the dead pixel is corrected by the dead pixel corrector 212.

상기 데드픽셀 보정기(212)는, 영상 데이타중 대상 픽셀(OP)을 중심으로 사전에 설전된 제1 크기의 검사 윈도우(TW1)(예, 3x3 윈도우)내에서, 상기 대상 픽셀(PO)과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우(TW1)내에서 상기 대상 픽셀(OP)에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행하고, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀(OP)을 중심으로 사전에 설정된 제2 크기의 검사 윈도우(TW2)내에서 상기 대상 픽셀에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행하도록 이루어진다.The dead pixel corrector 212 is the same as the target pixel PO in the inspection window TW1 (eg, a 3x3 window) of a first size pre-installed around the target pixel OP in the image data. If the number of pixels of the color is sufficient, it is determined whether the target pixel OP is a dead pixel DP based on the pixel average value MV for the target pixel OP in the inspection window TW1 of the first size. When the dead pixel correction is performed and the number of pixels having the same color as that of the target pixel OP is not sufficient, the target pixel in the inspection window TW2 having a preset second size around the target pixel OP. The dead pixel correction is performed by determining whether the target pixel OP is a dead pixel DP based on the pixel average value MV of the control unit.

여기서, 상기 대상픽셀(OP)에 대한 픽셀평균값(MV)은 상기 대상픽셀(OP)의 이웃픽셀의 픽셀값의 평균에 해당되고, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 상기 검사 윈도우내에서 충분한지의 여부 판단을 위한 픽셀수는 검사 윈도우의 사이즈에 따라 서로 다르게 설정될 수 있으며, 예를 들어, 검사 윈도우가 3x3 윈도우인 경우에는 기준 픽셀수는 2개로 설정될 수 있다. Here, the pixel average value MV of the target pixel OP corresponds to an average of pixel values of neighboring pixels of the target pixel OP, and the number of pixels having the same color as the target pixel OP is in the inspection window. The number of pixels for determining whether is sufficient may be set differently according to the size of the inspection window. For example, when the inspection window is a 3x3 window, the number of reference pixels may be set to two.

이하, 본 발명의 작용 및 효과를 첨부한 도면에 의거하여 상세히 설명한다. Hereinafter, the operation and effects of the present invention will be described in detail with reference to the accompanying drawings.

도 4를 참조하여 본 발명에 따른 디지탈 카메라용 이미지 처리 장치(200)에 대해서 설명하면, 먼저, 본 발명의 이미지 처리 장치(200)가 디지탈 카메라에 적용된 경우, 본 발명의 이미지 처리장치(200)는 이미지 센서(100)로부터 영상 데이타 를 입력받아 데드픽셀 보정 및 칼라 보간 등의 신호처리를 수행한다.Referring to Figure 4 will be described with respect to the digital camera image processing apparatus 200 according to the present invention, first, when the image processing apparatus 200 of the present invention is applied to a digital camera, the image processing apparatus 200 of the present invention The image sensor receives image data from the image sensor 100 and performs signal processing such as dead pixel correction and color interpolation.

이에 대해서 구체적으로 설명하면, 상기 이미지 처리 장치(200)의 칼라 보간부(210)는, 상기 이미지 센서(10)로부터 입력되는 영상 데이타를 데드픽셀 보정 및 칼라 보간을 위해 라인 메모리(LM)에 저장하고, 상기 라인 메모리(LM)의 영상 데이타에 대한 데드픽셀을 보정하고, 상기 데드픽셀이 보정된 영상 데이타에 대해 칼라 보간을 수행하여 전처리부(230)로 전달한다.In detail, the color interpolation unit 210 of the image processing apparatus 200 stores the image data input from the image sensor 10 in the line memory LM for dead pixel correction and color interpolation. The dead pixel of the image data of the line memory LM is corrected, and color interpolation is performed on the image data of which the dead pixel is corrected and transferred to the preprocessor 230.

상기 전처리부(230)는, 상기 칼라 보간부(210)로부터의 영상 데이타에 대한 전처리 과정을 수행하여 영상처리부(250)로 전달한다.The preprocessor 230 performs a preprocessing process on the image data from the color interpolator 210 and transmits the preprocessing process to the image processor 250.

상기 영상처리부(250)는, 상기 전처리부(230)로부터의 영상 데이타에 대해 칼라튜닝, 윤곽보정, MPEG 처리 및 화이트 밸란싱을 수행하여 디스플레이 장치(30)로 출력한다.The image processor 250 performs color tuning, contour correction, MPEG processing, and white balancing on the image data from the preprocessor 230, and outputs the image data to the display device 30.

상기 칼라 보간부(210)는, 하나의 라인 메모리(LM)의 영상 데이타에 대해 데드픽셀 보정 및 칼라 보간을 수행하며, 또한, 데드픽셀 보정을 수행한 후에 데드픽셀이 보정된 영상 데이타에 대해 칼라 보간을 수행한다.The color interpolation unit 210 performs dead pixel correction and color interpolation on the image data of one line memory LM, and performs color correction on the image data on which dead pixels are corrected after performing dead pixel correction. Perform interpolation.

이에 대해서 설명하면, 상기 칼라 보간부(210)의 데드픽셀 보정기(212)는, 상기 라인 메모리(LM)의 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하여 칼라 보간기(214)로 제공한다.In this regard, the dead pixel corrector 212 of the color interpolator 210 determines whether the dead pixel is a dead pixel for all pixels of the image data of the line memory LM, and when there is a dead pixel. Then, the dead pixel is corrected and provided to the color interpolator 214.

보다 자세히는, 상기 데드픽셀 보정기(212)는, 영상 데이타중 대상 픽셀(OP)을 중심으로 사전에 설전된 제1 크기의 검사 윈도우(TW1)내에서, 상기 대상 픽셀(PO)과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우(TW1)내에서 상기 대상 픽셀(OP)에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행한다. 그리고, 상기 데드픽셀 보정기(212)는, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀(OP)을 중심으로 사전에 설정된 제2 크기의 검사 윈도우(TW2)내에서 상기 대상 픽셀에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행한다.In detail, the dead pixel corrector 212 may have the same color as that of the target pixel PO in the inspection window TW1 of the first size pre-installed centering on the target pixel OP in the image data. If the number of pixels is sufficient, it is determined whether the target pixel OP is a dead pixel DP based on the pixel average value MV for the target pixel OP in the inspection window TW1 of the first size. Perform the calibration. When the number of pixels having the same color as that of the target pixel OP is not sufficient, the dead pixel corrector 212 may be positioned within the inspection window TW2 of a second size which is preset based on the target pixel OP. Determines whether the target pixel OP is a dead pixel DP based on the pixel average value MV of the target pixel, and performs dead pixel correction.

상기 칼라 보간기(214)는, 상기 데드픽셀 보정기(212)에 의해 데드픽셀이 보정된 상기 라인 메모리(LM)의 영상 데이타에 대한 칼라 보간을 수행한다.The color interpolator 214 performs color interpolation on image data of the line memory LM whose dead pixels are corrected by the dead pixel corrector 212.

이하, 본 발명의 디지탈 카메라용 이미지 처리 방법에 대해서 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, the image processing method for digital cameras of this invention is demonstrated.

도 5는 본 발명에 따른 이미지 처리 방법을 보이는 전체 플로우챠트이다.5 is an overall flowchart showing an image processing method according to the present invention.

도 5를 참조하면, 먼저, 데이타 획득단계(S100)에서는 이미지 센서(10)로부터 영상 데이타를 획득한다.Referring to FIG. 5, first, image data is acquired from the image sensor 10 in the data acquisition step S100.

다음, 데드픽셀 보정단계(S200)에서는, 상기 데이타 획득단계(S100)에서 획득된 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행한다. 이에 대해서는 도 6 및 도 7을 참조하여 하기에 자세히 설명한다.Next, in the dead pixel correction step (S200), it is determined whether or not the dead pixel is for all pixels of the image data acquired in the data acquisition step (S100), and if there is a dead pixel, correction for the dead pixel is present. Do this. This will be described below in detail with reference to FIGS. 6 and 7.

다음, 칼라보간 단계(S300)에서는, 상기 데드픽셀 보정단계(S200)후, 영상 데이타에 대한 칼라 보간을 수행한다.Next, in the color interpolation step S300, after the dead pixel correction step S200, color interpolation is performed on image data.

도 6은 도 5의 데드픽셀 보정 과정을 보이는 플로우챠트이다.FIG. 6 is a flowchart illustrating a dead pixel correction process of FIG. 5.

도 6을 참조하면, 상기 데드픽셀 보정단계(S200)의 색상수 다소 판단단계(S210)에서는, 영상 데이타중 대상 픽셀(OP)을 중심으로 사전에 설전된 제1 크기의 검사 윈도우(TW1)(예, 3x3 윈도우)내에서 상기 대상 픽셀(PO)과 동일한 색상의 픽셀수가 충분한지 여부를 판단한다.Referring to FIG. 6, in a step S210 of determining the number of colors of the dead pixel correction step S200, the inspection window TW1 having a first size pre-installed centering on the target pixel OP in the image data ( For example, it is determined whether the number of pixels of the same color as the target pixel PO is sufficient in the 3x3 window.

다음, 제1 데드픽셀 보정단계(S220)에서는, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우(TW1)내에서 상기 대상 픽셀(OP)에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행한다.Next, in the first dead pixel correction step S220, when the number of pixels having the same color as the target pixel OP is sufficient, a pixel average value for the target pixel OP in the inspection window TW1 of the first size. Based on MV, it is determined whether the target pixel OP is a dead pixel DP, and the dead pixel correction is performed.

다음, 제2 데드픽셀 보정단계(S230)에서는, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀(OP)을 중심으로 사전에 설정된 제2 크기의 검사 윈도우(TW2)(예, 5x5 윈도우)내에서 상기 대상 픽셀에 대한 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지 판정하여 데드픽셀 보정을 수행한다.Next, in the second dead pixel correction step S230, when the number of pixels having the same color as that of the target pixel OP is not sufficient, the inspection window TW2 having a preset second size around the target pixel OP is preset. (Eg, a 5x5 window) determines whether the target pixel OP is a dead pixel DP based on the pixel average value MV of the target pixel, and performs dead pixel correction.

도 7의 (a) 내지 (d)는 도 5의 이미지 센서의 5x5 윈도우의 픽셀 구조도이 다.7A to 7D are pixel structure diagrams of a 5 × 5 window of the image sensor of FIG. 5.

도 7의 (a) 내지 (d)는 베이어(Bayer)센서 혹은 모자이크 센서에 대한 4가지의 5X5 윈도우의 픽셀 구조를 나타낸 것이다.7 (a) to 7 (d) show pixel structures of four 5 × 5 windows for Bayer sensors or mosaic sensors.

이하, 도 4 내지 도 7을 참조하여, 상기 제1 데드픽셀 보정단계(S220) 및 제2 데드픽셀 보정단계(S230)에 대해서 설명한다.Hereinafter, the first dead pixel correction step S220 and the second dead pixel correction step S230 will be described with reference to FIGS. 4 to 7.

먼저, 상기 제1 데드픽셀 보정단계(S220)에 대해서 자세히 설명한다.First, the first dead pixel correction step S220 will be described in detail.

상기 제1 데드픽셀 보정단계(S220)의 제1 픽셀평균 계산 단계(S221)에서는, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우(TW1)내에서 상기 대상 픽셀(OP)에 대한 픽셀평균값(MV)을 계산한다. 다음, 제1 데드픽셀 판정단계(S222)에서는, 상기 제1 픽셀평균 계산 단계(S221)에서의 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지의 여부를 판정한다.In the first pixel average calculation step S221 of the first dead pixel correction step S220, when the number of pixels having the same color as the target pixel OP is sufficient, the scan window TW1 of the first size may be used. The pixel average value MV of the target pixel OP is calculated. Next, in the first dead pixel determination step S222, it is determined whether the target pixel OP is the dead pixel DP based on the pixel average value MV in the first pixel average calculation step S221. do.

도 7의 (a) 및 (b)를 참조하면, 상기 제1 크기의 검사 윈도우(TW1)를 3x3 윈도우이고, 상기 제2 크기의 검사 윈도우(TW2)를 5x5 윈도우인 경우, 이에 대해서 예를 들어 설명한다.Referring to (a) and (b) of FIG. 7, when the inspection window TW1 of the first size is a 3x3 window and the inspection window TW2 of the second size is a 5x5 window, for example, Explain.

도 7의 (a) 및 (b)에 보인 5x5 윈도우내의 중앙 픽셀(G33)을 대상 픽셀(OB)로 하면, 이 대상 픽셀(G33)을 중심으로 하는 3x3 윈도우내에는 상기 대상 픽셀(OB)과 동일한 색상인 녹색(G)의 픽셀수가 4개로서 충분하며, 이에 따라 도 7의 (a) 및 (b)의 5x5 윈도우내의 점선에 해당되는 3X3 윈도우를 사용하여 상기 대상 픽셀(OP)의 픽셀평균값(MV)을 구하여 상기 대상 픽셀(OP)에 대한 데드픽셀(DP)인지의 여부를 하기 수학식 3과 같이 판정한다.When the center pixel G33 in the 5x5 window shown in Figs. 7A and 7B is the target pixel OB, the target pixel OB is stored in the 3x3 window centered on the target pixel G33. The number of pixels of the green color (G), which are the same color, is sufficient as four, and accordingly, the pixel average value of the target pixel OP by using the 3X3 window corresponding to the dotted line in the 5x5 window of FIGS. 7A and 7B. (MV) is obtained and it is determined whether or not it is the dead pixel DP for the target pixel OP as shown in Equation 3 below.

Figure 112005040100408-PAT00003
Figure 112005040100408-PAT00003

상기 수학식 3에서, 임계값1은 핫 픽셀(Hot pixel) 판별을 위한 계수이고, 임계값2는 콜드 픽셀(Cold pixel) 판별을 위한 계수이다. In Equation 3, the threshold 1 is a coefficient for determining a hot pixel, and the threshold 2 is a coefficient for determining a cold pixel.

상기 수학식 3의 조건을 만족시킨다면 상기 대상 픽셀(G33)은 데드 픽셀로 판정한다. 여기서, 데드픽셀 판정을 위한 윈도우를 필요에 따라 전체 5x5 윈도우를 사용해도 되지만, 3x3 윈도우내에 대상픽셀과 동일한 색상의 픽셀수가 충분하고, 또한 5x5 윈도우를 사용하는 경우 연산수가 늘어난다는 점을 고려하면, 3x3 윈도우를 사용하는 것이 바람직하다.If the condition of Equation 3 is satisfied, the target pixel G33 is determined to be a dead pixel. Here, although the window for dead pixel determination may use the entire 5x5 window as needed, considering that the number of pixels of the same color as the target pixel is sufficient in the 3x3 window, and the number of operations increases when the 5x5 window is used, It is preferable to use a 3x3 window.

다음, 제1 데드픽셀 보정단계(S223)에서는, 상기 제1 데드픽셀 판정단계(S222)에서 상기 대상 픽셀(OP)이 데드픽셀(DP)로 판정되면, 상기 대상픽셀(OP)에 대한 데드픽셀 보정을 수행한다. 이에 대해서는 도 7의 (a) 및 (b)를 참조하여 설명한다.Next, in the first dead pixel correction step S223, when the target pixel OP is determined as the dead pixel DP in the first dead pixel determination step S222, a dead pixel with respect to the target pixel OP. Perform the calibration. This will be described with reference to FIGS. 7A and 7B.

예를 들어, 도 7의 (a) 및 (b)를 참조하면, 상기 3x3 윈도우내에서 상기 대상 픽셀(OP)(G33)의 픽셀평균값(MV)을 구하여 상기 픽셀평균값(MV)을 상기 데드픽셀(DP)값을 대체하여, 하기 수학식 4와 같이 상기 대상픽셀(OP)에 대한 데드픽셀 보정을 수행한다.For example, referring to FIGS. 7A and 7B, the pixel average value MV of the target pixel OP G33 is obtained in the 3 × 3 window, and the pixel average value MV is obtained from the dead pixel. By replacing the (DP) value, dead pixel correction is performed on the target pixel OP as shown in Equation 4 below.

Figure 112005040100408-PAT00004
Figure 112005040100408-PAT00004

전술한 바와 같은 데드픽셀 보정후, 상기 칼라보간 단계(S300)를 수행하는데, 도 7의 (a)를 참조하면, 상기 칼라보간 단계(S300)에서의 칼라 보정은 하기 수학식 5와 같이 수행된다. 도 7의 (b)를 참조하면, 상기 칼라보간 단계(S300)에서의 칼라 보정은 하기 수학식 6과 같이 수행된다.After the dead pixel correction as described above, the color interpolation step S300 is performed. Referring to FIG. 7A, the color correction in the color interpolation step S300 is performed as in Equation 5 below. . Referring to FIG. 7B, color correction in the color interpolation step S300 is performed as in Equation 6 below.

Figure 112005040100408-PAT00006
Figure 112005040100408-PAT00006

상기 수학식 5 및 수학식 6에서, a 내지 g는 각 픽셀의 픽셀 합에 대한 가중치 인자이다.In Equations 5 and 6, a to g are weighting factors for the sum of pixels of each pixel.

다음, 상기 제2 데드픽셀 보정단계(S230)에 대해서 자세히 설명한다.Next, the second dead pixel correction step S230 will be described in detail.

먼저, 상기 제2 데드픽셀 보정단계(S230)의 제2 픽셀평균 계산 단계(S231)에서는, 상기 대상 픽셀(OP)과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 제 1 크기의 검사 윈도우(TW1)에서 상기 대상 픽셀(OP)에 대한 픽셀평균값(MV)을 계산한다. 다음, 의심 데드픽셀 판정단계(S232)에서는, 상기 제2 픽셀평균 계산 단계(S231)에서의 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 의심 데드픽셀(DDP) 인지의 여부를 판정한다.First, in the second pixel average calculation step S231 of the second dead pixel correction step S230, when the number of pixels having the same color as the target pixel OP is not sufficient, the inspection window TW1 having the first size. The pixel average value MV of the target pixel OP is calculated. Next, in the suspected dead pixel determination step S232, it is determined whether the target pixel OP is the suspected dead pixel DDP based on the pixel average value MV in the second pixel average calculation step S231. do.

도 7의 (c) 및 (d)를 참조하여 예를 들어 설명하면, 상기 제1 크기의 검사 윈도우(TW1)를 3x3 윈도우이고, 상기 제2 크기의 검사 윈도우(TW2)를 5x5 윈도우인 경우에 대해서 예를 들어 설명한다.For example, referring to (c) and (d) of FIG. 7, when the inspection window TW1 of the first size is a 3x3 window and the inspection window TW2 of the second size is a 5x5 window. An example is demonstrated.

도 7의 (c)에 보인 5x5 윈도우내의 중앙 픽셀(B33)을 대상 픽셀(OB)로 하면, 이 대상 픽셀(B33)을 중심으로 하는 3x3 윈도우내에는 상기 대상 픽셀(OB)과 동일한 색상인 청색(B)의 픽셀수가 하나의 픽셀 밖에 없으므로 충분하지 않으며, 이 경우에는 주변 픽셀인 적색(R) 및 녹색(G) 픽셀의 평균값을 이용하여 하기 수학식 7과 같이 의심 데드픽셀 인지의 여부를 판정할 수 있다.When the center pixel B33 in the 5x5 window shown in FIG. 7C is the target pixel OB, a blue color having the same color as that of the target pixel OB is formed in the 3x3 window centered on the target pixel B33. Since the number of pixels in (B) is only one pixel, this is not sufficient, and in this case, it is determined whether or not it is a suspect dead pixel by using an average value of the red (R) and green (G) pixels, which are neighboring pixels. can do.

Figure 112005040100408-PAT00007
Figure 112005040100408-PAT00007

또한, 도 7의 (d)에 보인 5x5 윈도우내의 중앙 픽셀(R33)을 대상 픽셀(OB)로 하면, 이 대상 픽셀(R33)을 중심으로 하는 3x3 윈도우내에는 상기 대상 픽셀(OB)과 동일한 색상인 적색(R)의 픽셀수가 하나의 픽셀 밖에 없으므로 충분하지 않으며, 이 경우에는 주변 픽셀의 청색(B) 및 녹색(G) 픽셀평균값을 이용하여 하기 수학식 8과 같이 의심 데드픽셀 인지의 여부를 판정할 수 있다.In addition, when the center pixel R33 in the 5x5 window shown in FIG. 7D is the target pixel OB, the same color as the target pixel OB in the 3x3 window centered on the target pixel R33. Since the number of pixels of red (R) is only one pixel, it is not sufficient. It can be determined.

Figure 112005040100408-PAT00008
Figure 112005040100408-PAT00008

도 7의 (c)에서는 상기 수학식 7을 만족하면 의심 데드픽셀로 판정하고, 또한 도 7의 (d)에서는 상기 수학식 8을 만족하면 데드 픽셀로 판정한다.In (c) of FIG. 7, when the above equation (7) is satisfied, it is determined as a suspect dead pixel. In FIG.

다음, 제3 픽셀평균 계산 단계(S233)에서는, 상기 의심 데드픽셀 판정단계(S232)에서 상기 대상 픽셀(OP)이 의심 데드픽셀(DDP)로 판정되면, 상기 대상 픽셀(OP)을 중심으로 사전에 설정된 제2 크기의 검사 윈도우(TW2)내에서 상기 대상 픽셀에 대한 픽셀평균값(MV)을 계산한다. 다음, 제2 데드픽셀 판정단계(S234)에서는, 상기 제3 픽셀평균 계산 단계(S233)의 픽셀평균값(MV)에 기초해서 상기 대상 픽셀(OP)이 데드픽셀(DP)인지의 여부를 판정한다.Next, in the third pixel average calculation step S233, when the target pixel OP is determined to be a suspect dead pixel DDP in the suspicious dead pixel determination step S232, the preliminary search centering on the target pixel OP is performed. The pixel average value MV of the target pixel is calculated in the inspection window TW2 having the second size. Next, in the second dead pixel determination step S234, it is determined whether the target pixel OP is the dead pixel DP based on the pixel average value MV of the third pixel average calculation step S233. .

도 7의(c) 및 (b)를 참조하여 예를 들어 설명하면, 상기에서 의심 데드픽셀로 판정된 경우에는 데드픽셀 인지의 여부를 판정하는 과정이 더 필요하며, 이때는 윈도우를 5x5 사이즈로 확장하여 5x5 윈도우내에서의 동일한 색상의 픽셀들을 이용한다.For example, referring to (c) and (b) of FIG. 7, if it is determined that the dead pixel is suspected above, a process of determining whether or not the dead pixel is needed is further required, and in this case, the window is expanded to a size of 5x5. Using pixels of the same color within a 5x5 window.

먼저, 도 7의 (c)를 참조하여 설명하면, 상기 수학식 7에서 의심 데드픽셀로 판정된 경우에는, 하기 수학식 9와 같이 데드픽셀을 판정한다.First, referring to FIG. 7C, when a dead dead pixel is determined in Equation 7, dead pixels are determined as in Equation 9 below.

Figure 112005040100408-PAT00009
Figure 112005040100408-PAT00009

상기 수학식 8을 만족하면, 상기 대상 픽셀(B33)을 핫 픽셀 또는 콜드 픽셀의 데드픽셀로 판정한다.When the above Equation 8 is satisfied, the target pixel B33 is determined as a dead pixel of a hot pixel or a cold pixel.

다음, 도 7의 (d)를 참조하여 설명하면, 상기 수학식 8에서 의심 데드픽셀로 판정된 경우에는, 하기 수학식 10과 같이 데드픽셀을 판정한다.Next, referring to FIG. 7D, when it is determined that the suspect dead pixel is expressed in Equation 8, the dead pixel is determined as in Equation 10 below.

Figure 112005040100408-PAT00010
Figure 112005040100408-PAT00010

상기 수학식 10을 만족하면, 상기 대상 픽셀(R33)을 핫 픽셀 또는 콜드 픽셀의 데드픽셀로 판정한다.When the above Equation 10 is satisfied, the target pixel R33 is determined as a dead pixel of a hot pixel or a cold pixel.

다음, 제2 데드픽셀 보정단계(S235)에서는, 상기 제2 데드픽셀 판정단계(S234)에서 상기 대상 픽셀(OP)이 데드픽셀(DP)로 판정되면, 상기 대상 픽셀(OP)에 대한 데드픽셀 보정을 수행한다.Next, in the second dead pixel correction step S235, when the target pixel OP is determined to be a dead pixel DP in the second dead pixel determination step S234, a dead pixel with respect to the target pixel OP. Perform the calibration.

도 7의(c)를 참조하여 예를 들어 설명하면, 전술한 바와 같이 상기 수학식 9에서 데드픽셀로 판정된 경우에는 하기 수학식 11과 같이 데드픽셀로 판정된 대상 픽셀에 대한 보정과정이 수행된다. 또한, 도 7의(d)를 참조하여 예를 들어 설명하면, 전술한 바와 같이 상기 수학식 10에서 데드픽셀로 판정된 경우에는 하기 수학식 12와 같이 데드픽셀로 판정된 대상 픽셀에 대한 보정과정이 수행된다.For example, referring to FIG. 7C, when it is determined as the dead pixel in Equation 9 as described above, a correction process for the target pixel determined as the dead pixel is performed as in Equation 11 below. do. In addition, referring to FIG. 7 (d), for example, when it is determined as a dead pixel in Equation 10 as described above, a correction process for the target pixel determined as a dead pixel as shown in Equation 12 below. This is done.

Figure 112005040100408-PAT00011
Figure 112005040100408-PAT00011

Figure 112005040100408-PAT00012
Figure 112005040100408-PAT00012

전술한 바와 같은 데드픽셀 보정후, 상기 칼라보간 단계(S300)를 수행하는데, 도 7의 (c)를 참조하면, 상기 칼라보간 단계(S300)에서의 칼라 보정은 하기 수학식 13과 같이 수행된다. 도 7의 (d)를 참조하면, 상기 칼라보간 단계(S300)에서의 칼라 보정은 하기 수학식 14와 같이 수행된다.After the dead pixel correction as described above, the color interpolation step S300 is performed. Referring to FIG. 7C, the color correction in the color interpolation step S300 is performed as in Equation 13 below. . Referring to FIG. 7D, color correction in the color interpolation step S300 is performed as in Equation 14 below.

Figure 112005040100408-PAT00013
Figure 112005040100408-PAT00013

Figure 112005040100408-PAT00014
Figure 112005040100408-PAT00014

상기 수학식 13 및 14에서, h 내지 l은 각 픽셀의 픽셀평균 합에 대한 가중치 인자이다.In Equations 13 and 14, h to l are weighting factors for the sum of pixel averages of each pixel.

전술한 바에 따르면, 칼라 보간 이후에 데드 픽셀 보정을 행하는 종래 방식은 라인 메모리가 각 단계마다 필요로 하여 하드웨어로 구현할 때 IC의 사이즈를 증가시키게 되고, 이에 따라 제조 단가를 상승시키며, 메모리 사용과 각각 단계에서 사용하는 연산수가 많기 때문에 전력소모량도 증가시키는 문제점이 있으나, 본 발명에서는, 메모리 사이즈를 줄이고, 2단계를 하나의 단계에서 처리함으로써, 연산수를 줄여서 전력소모량을 줄일 수 있고, 데드 픽셀에 대한 보정 이후에 칼라 보간을 하기 때문에 데드 픽셀로 인해 생기는 칼라 보간 이후의 노이즈를 사전에 제거 할 수 있는 이점이 있다. According to the foregoing, the conventional method of performing dead pixel correction after color interpolation increases the size of the IC when the hardware is implemented in hardware, requiring line memory at each step, thereby increasing the manufacturing cost, Since the number of operations used in the step is large, there is a problem of increasing the power consumption. However, in the present invention, by reducing the memory size and processing the second step in one step, the power consumption can be reduced by reducing the number of operations, and the dead pixels Since color interpolation is performed after the correction, the noise after color interpolation caused by dead pixels can be removed in advance.

이상에서 설명한 본 발명은 전술한 실시 예 및 첨부된 도면에 의해 한정되는 것이 아니고 특허청구범위에 의해 한정되며, 본 발명의 장치는 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 명백하다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, but is defined by the claims, and the apparatus of the present invention may be substituted, modified, and modified in various ways without departing from the spirit of the present invention. It is apparent to those skilled in the art that modifications are possible.

상술한 바와 같은 본 발명에 따르면, 캠코더나 디지탈 카메라에 적용되는 이미지 처리 장치에서, 이미지센서로부터의 영상 데이타에 대한 데드픽셀 보정후 칼 라 보간을 하나의 라인 메모리를 이용하여 수행하도록 구현함으로써, 신속한 신호 처리가 가능하고, 소형 제작이 가능하여 제작단가를 줄일 수 있는 효과가 있다.According to the present invention as described above, in the image processing apparatus applied to a camcorder or a digital camera, by implementing a color interpolation using a single line memory after the dead pixel correction for the image data from the image sensor, Signal processing is possible, and it is possible to reduce the manufacturing cost by making a small production.

즉, 칼라보간 및 데드픽셀 보정을 하나의 칼라 보간부에서 동시에 할 수 있으므로, 메모리 사용량을 줄여, 집적 회로의 사이즈를 줄일 수 있는 점과 연산량을 줄여서 전력 소모 또한 감소시킬 수 있다. 또한 기존의 데드 픽셀을 포함한 칼라 보간은 이미지에 데드 픽셀의 영향으로 노이즈가 발생할 수 있었으나, 본 발명에서는 데드 픽셀을 보정한 이후에 칼라 보간을 수행하므로 노이즈 발생을 억제할 수 있다.That is, since color interpolation and dead pixel correction can be simultaneously performed by one color interpolation unit, power consumption can be reduced by reducing memory usage, reducing the size of integrated circuits, and reducing the amount of computation. In addition, in the conventional color interpolation including the dead pixel, noise may occur due to the effect of the dead pixel in the image. However, in the present invention, since color interpolation is performed after the dead pixel is corrected, noise generation may be suppressed.

Claims (7)

데드픽셀 보정 및 칼라 보간을 위한 영상 데이타를 저장하는 라인 메모리;A line memory for storing image data for dead pixel correction and color interpolation; 상기 라인 메모리의 영상 데이타에 대한 데드픽셀을 보정하고, 상기 데드픽셀이 보정된 영상 데이타에 대해 상기 라인 메모리를 이용하여 칼라 보간을 수행하는 칼라 보간부;A color interpolation unit for correcting a dead pixel of the image data of the line memory and performing color interpolation on the image data of which the dead pixel is corrected using the line memory; 상기 칼라 보간부로부터의 영상 데이타에 대한 전처리 과정을 수행하는 전처리부; 및A preprocessing unit which performs a preprocessing process on the image data from the color interpolation unit; And 상기 전처리부로부터의 영상 데이타에 대해 칼라튜닝, 윤곽보정, MPEG 처리 및 화이트 밸란싱을 수행하는 영상처리부An image processor which performs color tuning, contour correction, MPEG processing, and white balancing on the image data from the preprocessor. 를 포함하는 디지탈 카메라용 이미지 처리 장치.Image processing apparatus for a digital camera comprising a. 제1항에 있어서, 상기 칼라 보간부는The method of claim 1, wherein the color interpolation unit 상기 라인 메모리의 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정기;A dead pixel corrector for determining whether a dead pixel is present for all pixels of the image data of the line memory, and correcting the dead pixel if a dead pixel exists; 상기 데드픽셀 보정기에 의해 데드픽셀이 보정된 상기 라인 메모리의 영상 데이타에 대한 칼라 보간을 수행하는 칼라 보간기;A color interpolator for performing color interpolation on the image data of the line memory in which the dead pixel is corrected by the dead pixel corrector; 를 포함하는 것을 특징으로 하는 디지탈 카메라용 이미지 처리 장치.Image processing apparatus for a digital camera comprising a. 제2항에 있어서, 상기 데드픽셀 보정기는,The method of claim 2, wherein the dead pixel corrector, 영상 데이타중 대상 픽셀을 중심으로 사전에 설전된 제1 크기의 검사 윈도우내에서, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하고, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하도록 이루어진 것을 특징으로 하는 디지탈 카메라용 이미지 처리 장치.If the number of pixels of the same color as the target pixel is sufficient in the inspection window of the first size pre-set around the target pixel in the image data, the pixel average value for the target pixel in the inspection window of the first size is sufficient. Determining whether the target pixel is a dead pixel, and performing dead pixel correction. When the number of pixels having the same color as the target pixel is not sufficient, the second pixel is set in the inspection window having a preset second size around the target pixel. And determining whether the target pixel is a dead pixel based on a pixel average value for the target pixel to perform dead pixel correction. 영상 데이타를 획득하는 데이타 획득단계;A data acquisition step of acquiring image data; 상기 데이타 획득단계에서 획득된 영상 데이타의 모든 픽셀에 대한 데드픽셀 인지의 여부를 판단하여, 데드픽셀이 존재하는 경우, 해당 데드픽셀에 대한 보정을 수행하는 데드픽셀 보정단계; 및A dead pixel correction step of determining whether a dead pixel is present for all pixels of the image data acquired in the data acquiring step, and correcting the dead pixel if a dead pixel exists; And 상기 데드픽셀 보정단계 후, 영상 데이타에 대한 칼라 보간을 수행하는 칼라 보간을 수행하는 칼라보간 단계After the dead pixel correction step, a color interpolation step of performing color interpolation for color interpolation on image data 를 포함하는 디지탈 카메라용 이미지 처리 방법.Image processing method for a digital camera comprising a. 제4항에 있어서, 상기 데드픽셀 보정단계는,The method of claim 4, wherein the dead pixel correction step, 영상 데이타중 대상 픽셀을 중심으로 사전에 설전된 제1 크기의 검사 윈도우 내에서 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한지 여부를 판단하는 색상수 다소 판단단계;A color number judging step of judging whether or not the number of pixels having the same color as the target pixel is sufficient in the inspection window of a first size previously set centered on the target pixel in the image data; 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하는 제1 데드픽셀 보정단계; 및A first dead pixel for performing dead pixel correction by determining whether the target pixel is a dead pixel based on a pixel average value for the target pixel in the first sized inspection window when the number of pixels having the same color as the target pixel is sufficient A correction step; And 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지 판정하여 데드픽셀 보정을 수행하는 제2 데드픽셀 보정단계If the number of pixels having the same color as the target pixel is not sufficient, it is determined whether the target pixel is a dead pixel based on a pixel average value for the target pixel in a second preset inspection window centering on the target pixel. Second dead pixel correction step of performing dead pixel correction 를 포함하는 것을 특징으로 하는 디지탈 카메라용 이미지 처리 방법.Image processing method for a digital camera comprising a. 제5항에 있어서, 상기 제1 데드픽셀 보정단계는,The method of claim 5, wherein the first dead pixel correction step, 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분한 경우, 상기 제1 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제1 픽셀평균 계산 단계;A first pixel average calculation step of calculating a pixel average value for the target pixel in the inspection window of the first size when the number of pixels of the same color as the target pixel is sufficient; 상기 제1 픽셀평균 계산 단계에서의 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지의 여부를 판정하는 제1 데드픽셀 판정단계; 및A first dead pixel determination step of determining whether or not the target pixel is a dead pixel based on the pixel average value in the first pixel average calculation step; And 상기 제1 데드픽셀 판정단계에서 상기 대상 픽셀이 데드픽셀로 판정되면, 상기 대상픽셀에 대한 데드픽셀 보정을 수행하는 제1 데드픽셀 보정단계A first dead pixel correction step of performing dead pixel correction on the target pixel when the target pixel is determined to be a dead pixel in the first dead pixel determination step; 를 포함하는 것을 특징으로 하는 디지탈 카메라용 이미지 처리 방법.Image processing method for a digital camera comprising a. 제5항에 있어서, 상기 제2 데드픽셀 보정단계는The method of claim 5, wherein the second dead pixel correction step is 상기 대상 픽셀과 동일한 색상의 픽셀수가 충분하지 않은 경우, 상기 제1 크기의 검사 윈도우에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제2 픽셀평균 계산 단계;A second pixel average calculation step of calculating a pixel average value for the target pixel in the inspection window of the first size when the number of pixels having the same color as the target pixel is not sufficient; 상기 제2 픽셀평균 계산 단계에서의 픽셀평균값에 기초해서 상기 대상 픽셀이 의심 데드픽셀 인지의 여부를 판정하는 의심 데드픽셀 판정단계;A suspect dead pixel determination step of determining whether the target pixel is a suspect dead pixel or not based on the pixel average value in the second pixel average calculation step; 상기 의심 데드픽셀 판정단계에서 상기 대상 픽셀이 의심 데드픽셀로 판정되면, 상기 대상 픽셀을 중심으로 사전에 설정된 제2 크기의 검사 윈도우내에서 상기 대상 픽셀에 대한 픽셀평균값을 계산하는 제3 픽셀평균 계산 단계;A third pixel average calculation for calculating a pixel average value for the target pixel within a second preset inspection window centering on the target pixel when the target pixel is determined to be a suspect dead pixel in the suspected dead pixel determination step; step; 상기 제3 픽셀평균 계산 단계의 픽셀평균값에 기초해서 상기 대상 픽셀이 데드픽셀인지의 여부를 판정하는 제2 데드픽셀 판정단계; 및A second dead pixel determination step of determining whether the target pixel is a dead pixel based on the pixel average value of the third pixel average calculation step; And 상기 제2 데드픽셀 판정단계에서 상기 대상 픽셀이 데드픽셀로 판정되면, 상기 대상 픽셀에 대한 데드픽셀 보정을 수행하는 제2 데드픽셀 보정단계A second dead pixel correction step of performing dead pixel correction on the target pixel when the target pixel is determined to be a dead pixel in the second dead pixel determination step; 를 포함하는 것을 특징으로 하는 디지탈 카메라용 이미지 처리 방법.Image processing method for a digital camera comprising a.
KR1020050066939A 2005-07-22 2005-07-22 Image processing apparatus for digital camera, and method thereof KR100723208B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050066939A KR100723208B1 (en) 2005-07-22 2005-07-22 Image processing apparatus for digital camera, and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050066939A KR100723208B1 (en) 2005-07-22 2005-07-22 Image processing apparatus for digital camera, and method thereof

Publications (2)

Publication Number Publication Date
KR20070012099A true KR20070012099A (en) 2007-01-25
KR100723208B1 KR100723208B1 (en) 2007-05-29

Family

ID=38012631

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050066939A KR100723208B1 (en) 2005-07-22 2005-07-22 Image processing apparatus for digital camera, and method thereof

Country Status (1)

Country Link
KR (1) KR100723208B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563302C (en) * 2007-08-22 2009-11-25 北京中星微电子有限公司 A kind of bad point self-adapted grid noise elimination device and method
US8957997B2 (en) 2010-08-13 2015-02-17 SK Hynix Inc. Image sensor and image data processing method using the same

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1042157A (en) 1996-07-26 1998-02-13 Canon Inc Picture processing method and picture processor
JP2003009167A (en) 2001-06-26 2003-01-10 Olympus Optical Co Ltd Imaging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563302C (en) * 2007-08-22 2009-11-25 北京中星微电子有限公司 A kind of bad point self-adapted grid noise elimination device and method
US8957997B2 (en) 2010-08-13 2015-02-17 SK Hynix Inc. Image sensor and image data processing method using the same

Also Published As

Publication number Publication date
KR100723208B1 (en) 2007-05-29

Similar Documents

Publication Publication Date Title
JP3984936B2 (en) Imaging apparatus and imaging method
US8300120B2 (en) Image processing apparatus and method of processing image for reducing noise of the image
US7715617B2 (en) Circuit and method for correction of defect pixel
KR102480600B1 (en) Method for low-light image quality enhancement of image processing devices and method of operating an image processing system for performing the method
US8442345B2 (en) Method and apparatus for image noise reduction using noise models
US7366347B2 (en) Edge detecting method
US7911514B2 (en) Defective pixel correction device
US8013914B2 (en) Imaging apparatus including noise suppression circuit
EP1389771A2 (en) Digital image system and method for combining demosaicing and bad pixel correction
US10348989B2 (en) Image processing device, image processing method, and image processing system
US8212899B2 (en) Imaging apparatus capable of highly accurate defective pixel correction processing
EP1525744A1 (en) Device and method of detection of erroneous image sample data of defective image samples
US7034874B1 (en) Automatic bad pixel correction in image sensors
US20100165158A1 (en) Method and apparatus for sensor characterization
JP5600812B2 (en) Imaging device
KR100723208B1 (en) Image processing apparatus for digital camera, and method thereof
JP3696069B2 (en) Method and apparatus for detecting defective pixels of solid-state image sensor
US9380229B2 (en) Digital imaging systems including image sensors having logarithmic response ranges and methods of determining motion
JP2000217039A (en) Point defect detection method and point defect pixel value correction method
JP2011114473A (en) Pixel defect correction device
Kumbhar et al. Comparative study of CCD & CMOS sensors for image processing
US20230254553A1 (en) Image obtaining method and apparatus, terminal, and computer-readable storage medium
KR20070064840A (en) Method and apparatus for composing two color images
US7277602B1 (en) Method and system for pixel bus signaling in CMOS image sensors

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
G170 Re-publication after modification of scope of protection [patent]
LAPS Lapse due to unpaid annual fee