KR100696167B1 - Bad pixel processing unit - Google Patents
Bad pixel processing unit Download PDFInfo
- Publication number
- KR100696167B1 KR100696167B1 KR1020050133563A KR20050133563A KR100696167B1 KR 100696167 B1 KR100696167 B1 KR 100696167B1 KR 1020050133563 A KR1020050133563 A KR 1020050133563A KR 20050133563 A KR20050133563 A KR 20050133563A KR 100696167 B1 KR100696167 B1 KR 100696167B1
- Authority
- KR
- South Korea
- Prior art keywords
- value
- pixel
- component
- output
- threshold
- Prior art date
- Legal status (The legal status 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 status listed.)
- Expired - Fee Related
Links
- 238000012545 processing Methods 0.000 title claims abstract description 16
- 238000001514 detection method Methods 0.000 claims description 40
- 238000000034 method Methods 0.000 claims description 12
- 238000000926 separation method Methods 0.000 claims description 6
- 230000002950 deficient Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 239000000470 constituent Substances 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/02—Diagnosis, testing or measuring for television systems or their details for colour television signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformations in the plane of the image
- G06T3/40—Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T3/4015—Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Facsimile Image Signal Circuits (AREA)
- Transforming Light Signals Into Electric Signals (AREA)
Abstract
Description
도 1은 본 발명에 따른 불량픽셀 처리 장치의 일실시예 구조도,1 is a structural diagram of an embodiment of a bad pixel processing apparatus according to the present invention;
도 2a는 도 1에 입력되는 6×6 베이어 패턴 이미지의 일예시도, FIG. 2A illustrates an example of a 6 × 6 Bayer pattern image input to FIG. 1;
도 2b는 도 2a의 베이어 패턴을 3×3 구조의 성분으로 분리한 것을 설명하기 위한 일예시도,FIG. 2B is an exemplary view illustrating the separation of the Bayer pattern of FIG. 2A into components having a 3 × 3 structure; FIG.
도 3은 도 1의 불량픽셀 검출부의 일실시예 상세 구조도,3 is a detailed structural diagram of an embodiment of a bad pixel detection unit of FIG. 1;
도 4는 도 3의 중앙값 검출부, 절대값 검출부 및 비교값 검출부의 동작을 설명하기 위한 일예시도,4 is an exemplary diagram for describing an operation of a median detector, an absolute detector, and a comparison detector of FIG. 3;
도 5는 도 1의 불량픽셀 검출부가 출력하는 영상을 도시한 일예시도,5 is an exemplary diagram illustrating an image output by the bad pixel detection unit of FIG. 1;
도 6은 도 1의 핫픽셀 검출부의 일실시예 상세 구조도,6 is a detailed structural diagram of an embodiment of a hot pixel detection unit of FIG. 1;
도 7a는 본 발명의 장치에 입력되는 원영상을 나타낸 일예시도, Figure 7a is an exemplary view showing an original image input to the device of the present invention,
도 7b는 도 7a에 대하여 불량픽셀 및 핫픽셀을 검출하여 보정을 수행한 것을 나타낸 일예시도.FIG. 7B illustrates an example of correcting by detecting a bad pixel and a hot pixel with respect to FIG. 7A; FIG.
<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>
110 : 성분 분리부 120 : 불량픽셀 검출부110: component separation unit 120: bad pixel detection unit
130 : 핫픽셀 검출부130: hot pixel detection unit
본 발명은 불량픽셀 처리 장치에 관한 것으로서, 보다 상세하게는 이미지 센서 등에 사용하기 위한 불량픽셀 처리 장치에 관한 것이다.The present invention relates to a bad pixel processing apparatus, and more particularly to a bad pixel processing apparatus for use in an image sensor or the like.
이미지 센서(image sensor)는 여러 개의 픽셀(pixel)이 2차원 구조로 배열되어 있으며, 각 픽셀은 들어오는 빛의 밝기에 따라서 이를 전기적인 신호로 변환시키게 되는데 이러한 전기 신호를 측정하면 각 픽셀에 유입되는 빛의 양을 알 수 있고, 이를 이용하여 픽셀 단위의 이미지를 구성할 수 있다.Image sensor is composed of several pixels arranged in a two-dimensional structure, and each pixel converts them into electrical signals according to the brightness of incoming light. The amount of light can be known, and an image can be constructed using the pixel unit.
이와 같은 이미지 센서는 수십만에서 수백만개의 픽셀로 이루어진 픽셀 어레이와, 픽셀에서 감지한 아날로그 데이터를 디지털 데이터로 변환시키는 장치와, 수백 내지 수천개의 저장 장치 등으로 구성된다. 이러한 많은 수의 장치들로 인해 이미지 센서는 공정상의 오류를 가질 가능성이 존재하며, 이러한 이유로 인해 픽셀들 중에는 불량픽셀(dead pixel) 또는 핫픽셀(hot pixel)이 발생되며, 이와 같은 불량픽셀은 이미지 센서의 등급과 가격을 결정짓는 중요한 요소가 된다. 불량픽셀에 의해 생성된 픽셀 데이터는 인접 픽셀에 의해 생성 된 픽셀 데이터보다 지나치게 크거나 또는 반대로 지나치게 작은 특징이 있다.Such an image sensor is composed of a pixel array consisting of hundreds of thousands to millions of pixels, a device for converting analog data sensed by pixels into digital data, and hundreds to thousands of storage devices. Due to such a large number of devices, there is a possibility that an image sensor may have a process error. For this reason, a dead pixel or a hot pixel may be generated among the pixels. This is an important factor in determining the grade and price of a. Pixel data generated by bad pixels is characterized by being too large or vice versa smaller than pixel data generated by adjacent pixels.
종래의 불량픽셀 처리 방식은 주로 기준 픽셀값과 비교하여 그 차이가 일정 범위를 넘는 경우에는 이를 불량픽셀로 정의하고 이를 보정하는 것이었다. 그러나 이와 같은 종래의 방식은 하드웨어 자원을 많이 사용하고, 조밀한 영상이나 밝기의 차이가 심한 영상의 경우에는 인접 픽셀간 차이가 심하게 발생하므로, 실제로 불량픽셀이 아닌 경우에도 불량픽셀로 취급되어 보정이 이루어지게 되어, 복원된 영상은 실제 영상에 비해 많은 왜곡이 발생하는 문제점이 있다.In the conventional bad pixel processing method, when the difference exceeds a predetermined range compared with a reference pixel value, the bad pixel is defined as a bad pixel and corrected. However, such a conventional method uses a lot of hardware resources, and in the case of a dense image or a video having a large difference in brightness, a difference occurs between adjacent pixels. Therefore, even if it is not a bad pixel, the correction is treated as a bad pixel. As a result, the reconstructed image has a problem in that a lot of distortion occurs than the actual image.
본 발명은 상기한 바와 같은 문제점을 해결하기 위하여 제안된 것으로, 6×6 마크스 내에서 각 성분의 패턴을 비교하여 불량픽셀 또는 핫픽셀인지 여부를 판단하기 위한 불량픽셀 처리 장치를 제공하는데 그 목적이 있다.The present invention has been proposed to solve the above problems, and an object thereof is to provide a bad pixel processing apparatus for determining whether a bad pixel or a hot pixel is compared by comparing a pattern of each component within a 6x6 mark. .
또한, 본 발명은 불량픽셀에 대하여 보정된 6×6 구조의 화소값을 출력하기 위한 불량픽셀 처리 장치를 제공하는데 또 다른 목적이 있다.Another object of the present invention is to provide a bad pixel processing apparatus for outputting a pixel value of a 6x6 structure corrected for a bad pixel.
상기한 바와 같은 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면, 입력되는 베이어 패턴 이미지에 대하여 그 성분별 데이터로 분리하기 위한 분리부; 및 상기 성분별 데이터에서 각 데이터의 중앙값을 기준으로 한 화소값들의 분포(패턴)를 구하고, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 비교값을 구하고, 이 비교값을 불량픽셀 임계값과 비교하여 불량픽셀인지 여부를 판단하여 보정된 성분별 데이터를 출력하기 위한 불량픽셀 검출부를 포함하는 불량픽 셀 처리 장치가 제공된다.In order to achieve the above object, according to a preferred embodiment of the present invention, a separation unit for separating the input Bayer pattern image into the component-specific data; And calculating the distribution (pattern) of pixel values based on the median value of each data in the component-specific data, comparing patterns of other components, obtaining a comparison value based on each component, and comparing the comparison value with a bad pixel threshold. A bad pixel processing apparatus including a bad pixel detection unit for determining whether a bad pixel is compared with a value and outputting corrected component-specific data is provided.
이때, 상기 불량픽셀 검출부는, 상기 성분별 데이터의 중앙값을 각각 검출하기 위한 제1중앙값 검출부; 상기 성분별 데이터의 각 구성원소에서 상기 중앙값을 뺀 값의 절대값을 검출하기 위한 제1절대값 검출부; 상기 제1절대값 검출부의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여, 이를 합산하여 상기 성분별 데이터별 비교값을 검출하기 위한 제1비교값 검출부; 조도 분류를 위한 임계값과 상기 제1중앙값 검출부가 검출한 상기 중앙값을 이용하여 임계값을 설정하기 위한 임계값 설정부; 및 상기 제1비교값 검출부가 검출한 상기 비교값과 불량픽셀 임계값을 각각 비교하여, 불량픽셀의 존재 여부에 따라 출력 데이터를 결정하기 위한 제1출력 결정부를 포함한다.In this case, the bad pixel detection unit may include a first center value detection unit for detecting a median value of each component data; A first absolute value detector for detecting an absolute value of a value obtained by subtracting the median value from each element of the component-specific data; A first comparison value detector configured to obtain an absolute value of a value obtained by subtracting the other output from one output with respect to the output of the first absolute value detector; A threshold setting unit for setting a threshold value using a threshold value for illuminance classification and the median value detected by the first median detector; And a first output determination unit for comparing the comparison value detected by the first comparison value detector with a bad pixel threshold value to determine output data according to the presence or absence of a bad pixel.
여기서, 상기 제1출력 결정부는, 상기 제1비교값 검출부가 검출한 상기 비교값과 상기 불량픽셀 임계값을 각각 비교하여, 상기 불량픽셀 임계값보다 큰 비교값이 없는 경우에는, 상기 성분별 데이터를 출력으로 결정하고, 상기 제1비교값 검출부가 검출한 상기 비교값과 상기 불량픽셀 임계값을 각각 비교하여, 상기 불량픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 성분별 데이터의 구성원소를 각각 결정하되, 임의의 구성원소에 대하여 해당 구성원소에서 주위의 구성원소를 뺀 값의 절대값을 상기 임계값 결정부가 결정한 임계값과 비교하여, 상기 절대값이 상기 임계값보다 모두 큰 경우에는 해당 구성원소를 상기 주위 구성원소 중 중앙값으로 결정하며, 상기 제1비교값 검출부가 검출한 상기 비교값과 상기 불량픽셀 임계값을 각각 비교하여, 상기 불량픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 성 분별 데이터의 구성원소를 각각 결정하되, 임의의 구성원소에 대하여 해당 구성원소에서 주위의 구성원소를 뺀 값의 절대값을 상기 임계값 결정부가 결정한 임계값과 비교하여, 상기 절대값이 상기 임계값보다 큰 경우가 없는 경우에는 해당 구성원소를 출력으로 결정한다.Here, the first output determination unit compares the comparison value detected by the first comparison value detection unit with the bad pixel threshold value, and when there is no comparison value larger than the bad pixel threshold value, the component-specific data. Is determined as an output, and the comparison value detected by the first comparison value detection unit and the bad pixel threshold value are respectively compared to each other. If the absolute value is all greater than the threshold value, the absolute value of the value obtained by subtracting the neighboring member elements from the corresponding member elements for each member is compared with the threshold determined by the threshold determination unit. The corresponding element is determined as a median value among the surrounding elements, and the comparison value detected by the first comparison value detector is compared with the bad pixel threshold value, respectively. When there is only one comparison value larger than the bad pixel threshold value, each component of the classification data is determined, but the absolute value of the value obtained by subtracting neighboring members from the corresponding member for any member is determined. Compared with the threshold determined by the value determining unit, if the absolute value is not greater than the threshold, the corresponding element is determined as an output.
한편, 본 발명의 처리 장치는, 상기 불량픽셀 검출부로부터 수신한 성분별 데이터에서 패턴을 구하고, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 비교값을 구하고, 이 핫픽셀 비교값을 임계값과 비교하여 핫픽셀인지 여부를 판단하여 보정된 성분별 데이터를 출력하기 위한 핫픽셀 검출부를 더 포함하는 것이 바람직하다.On the other hand, the processing apparatus of the present invention obtains a pattern from component data received from the bad pixel detection unit, compares patterns of other components, obtains a comparison value based on each component, and compares the hot pixel comparison value with a threshold value. In addition, it is preferable to further include a hot pixel detection unit for outputting the corrected component-specific data by determining whether or not the hot pixel.
여기서, 상기 핫픽셀 검출부는, 상기 불량픽셀 검출부로부터 수신한 성분별 데이터의 중앙값을 각각 검출하기 위한 제2중앙값 검출부; 상기 불량픽셀 검출부로부터 수신한 성분별 데이터의 각 구성원소에서 상기 제2중앙값 검출부가 검출한 중앙값을 뺀 값의 절대값을 검출하기 위한 제2절대값 검출부; 상기 제2절대값 검출부의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여, 이를 합산하여 상기 성분별 데이터별 비교값을 검출하기 위한 제2비교값 검출부; 및 상기 제2비교값 검출부가 검출한 상기 비교값과 핫픽셀 임계값을 각각 비교하여, 핫픽셀의 존재 여부에 따라 출력 데이터를 결정하기 위한 제2출력 결정부를 포함한다.The hot pixel detection unit may include a second center value detection unit for detecting a median value of each component data received from the bad pixel detection unit; A second absolute value detector for detecting an absolute value of a value obtained by subtracting a median value detected by the second median detector from each component of the component-specific data received from the bad pixel detector; A second comparison value detector configured to obtain an absolute value of a value obtained by subtracting the other output from one output with respect to the output of the second absolute value detector, and add the sum to detect the comparison value for each component data; And a second output determination unit for comparing the comparison value detected by the second comparison value detection unit with the hot pixel threshold value to determine output data according to the presence or absence of a hot pixel.
이때, 상기 제2출력 결정부는, 상기 제2비교값 검출부가 검출한 상기 비교값과 상기 핫픽셀 임계값을 각각 비교하여, 상기 핫픽셀 임계값보다 큰 비교값이 없는 경우에는, 상기 성분별 데이터를 출력으로 결정하고, 상기 제2비교값 검출부가 검출한 상기 비교값과 상기 핫픽셀 임계값을 각각 비교하여, 상기 핫픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 성분별 데이터의 구성원소를 각각 결정하되, 임의의 구성원소에 대하여 해당 구성원소에서 주위의 구성원소를 뺀 값의 절대값을 상기 임계값 결정부가 결정한 임계값과 비교하여, 상기 절대값이 상기 임계값보다 모두 큰 경우에는 해당 구성원소를 상기 주위 구성원소 중 중앙값으로 결정하며, 상기 제2비교값 검출부가 검출한 상기 비교값과 상기 핫픽셀 임계값을 각각 비교하여, 상기 핫픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 성분별 데이터의 구성원소를 각각 결정하되, 임의의 구성원소에 대하여 해당 구성원소에서 주위의 구성원소를 뺀 값의 절대값을 상기 임계값 결정부가 결정한 임계값과 비교하여, 상기 절대값이 상기 임계값보다 큰 경우가 없는 경우에는 해당 구성원소를 출력으로 결정한다.In this case, the second output determiner compares the comparison value detected by the second comparison value detector with the hot pixel threshold value, and outputs the component-specific data when there is no comparison value larger than the hot pixel threshold value. And comparing the comparison value detected by the second comparison value detector with the hot pixel threshold value, and when there is only one comparison value that is larger than the hot pixel threshold value, determine each component of each component data. The absolute value of the value obtained by subtracting neighboring elements from the corresponding element for any member is compared with a threshold determined by the threshold determination unit, and if the absolute value is larger than the threshold value, the corresponding element is selected. The hot value is determined by a median value among the surrounding members, and the comparison value detected by the second comparison value detector is compared with the hot pixel threshold value, respectively. If there is only one comparison value that is larger than the threshold value, each component of the component-specific data is determined, but the absolute value of the value obtained by subtracting the surrounding components from the corresponding component for any member is determined. Compared with a threshold value, when the absolute value is not greater than the threshold value, the corresponding element is determined as an output.
상술한 목적, 특징들 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 우선 각 도면의 구성요소들에 참조 번호를 부가함에 있어서, 동일한 구성요소들에 한해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 번호를 가지도록 하고 있음에 유의하여야 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. First of all, in adding reference numerals to the components of each drawing, it should be noted that the same components have the same number as much as possible even if displayed on different drawings. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명에 따른 불량픽셀 처리 장치의 일실시예 구조도이다.1 is a structural diagram of an embodiment of a bad pixel processing apparatus according to the present invention.
도면에 도시된 바와 같이, 본 발명에 따른 처리 장치는, 성분 분리부(110), 불량픽셀 검출부(120) 및 핫픽셀 검출부(130)를 포함하여 구성된다.As shown in the figure, the processing apparatus according to the present invention includes a
성분 분리부(110)는 입력되는 6×6 베이어 패턴(bayer pattern)을 도 2와 같이 3×3 구조의 4개의 성분으로 분리한다. 도 2a는 도 1에 입력되는 6×6 베이어 패턴 이미지의 일예시도이고, 도 2b는 도 2a의 베이어 패턴을 3×3 구조의 성분으로 분리한 것을 설명하기 위한 일예시도이다.The
도면에 도시된 바와 같이, 본 발명의 성분 분리부(110)는 6×6 베이어 패턴을 동일한 성분 즉, R(red), Gr(GR라인의 G; green), Gb(GB라인의 G) 및 B(blue)의 성분으로만 구성된 3×3 구조의 데이터로 분리한다. 도 2b와 같이, 3×3 구조의 Gr, R, B 및 Gb 성분 데이터를 편의상 각각 C1, C2, C3 및 C4로 하기로 하자.As shown in the figure, the
불량픽셀 검출부(120)는 각 성분 데이터의 패턴(중앙값(median)을 기준으로 한 화소값들의 분포임. 이하 같다)을 구한 뒤, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 측정값을 구하고, 이 측정값을 비교하여 불량픽셀인지 여부를 판단한다. 이하, 도면을 참조로 더욱 상세히 설명하기로 하자.The bad
도 3은 도 1의 불량픽셀 검출부의 일실시예 상세 구조도이다.3 is a detailed structural diagram of an exemplary bad pixel detection unit of FIG. 1.
도면에 도시된 바와 같이, 본 발명의 불량픽셀 검출부(120)는, 중앙값 검출부(121), 절대값 검출부(122), 비교값 검출부(123), 임계값 설정부(124) 및 출력 결정부(125)를 포함하여 구성된다. 도면에서 입력 신호(C1, C2, C3, C4)를 제외하고 신호의 흐름을 하나의 선으로 처리하였으나, 그에 다양한 데이터가 포함되는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명하다.As shown in the drawing, the bad
중앙값 검출부(121)는 입력되는 3×3 구조의 C1, C2, C3 및 C4 데이터의 중앙값을 각각 검출한다. 위 데이터에 상응하는 중앙값을 각각 M1, M2, M3 및 M4라 하자.The
절대값 검출부(122)는 예를 들어, 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를 검출한다. Abs_1i, Abs_2i, Abs_3i 및 Abs_4i를 식으로 나타내면 수학식 1과 같다. For example, the absolute
여기서, i는 1부터 9까지의 자연수이다.Where i is a natural number from 1 to 9.
비교값 검출부(123)는 위에서 구한 절대값 검출부(122)의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여 이를 합산하여 비교값을 구한다. 즉, Abs_1i에서 나머지 Abs_2i, Abs_3i 및 Abs_4i을 뺀 값의 각 절대값을 구하고, 이를 합산하여 COMP_1i를 구한다. 이와 같은 방식으로 COMP_2i, COMP_3i 및 COMP_4i를 구한다. 이를 수학식으로 나타내면 다음과 같다. The
여기서, i는 1부터 9까지의 자연수이다. 도 4는 도 3의 중앙값 검출부, 절대값 검출부 및 비교값 검출부의 동작을 설명하기 위한 일예시도이다.Where i is a natural number from 1 to 9. FIG. 4 is an exemplary diagram for describing an operation of a median detector, an absolute detector, and a comparison detector of FIG. 3.
임계값 설정부(124)는 인가되는 조도 분류를 위한 임계값(Y_threshold)과 3×3 데이터의 중앙값인 M1~M4를 이용하여 내부 플래그를 위한 임계값 thr을 설정한다. Y_threshold는 시스템에 따라 조정 가능하다. 각 성분 데이터의 중앙값의 산술평균을 Y_m(즉, )으로 정의했을 때, 임계값 설정부(124)는 Y_m이 Y_threshold보다 작은 경우에는 thr을 0으로 설정하고, 그렇지 않은 경우에는 thr을 50으로 한다. 다만, 이에 한정되는 것은 아니며, 시스템에 따라 그 값이 달라질 수 있을 것이다.The
출력 결정부(125)는 위 비교값 검출부(123)가 검출한 4개의 비교값과 인가되는 불량픽셀 임계값(dead_threshold)을 각각 비교하여, 불량픽셀 임계값보다 큰 비교값이 없는 경우에는 원영상을 출력한다. 즉 3×3 크기의 Cj(j=1~4) 영상을 그대로 출력하게 된다. 도 5는 도 1의 불량픽셀 검출부가 출력하는 영상을 도시한 일예시도이다. 도면에 도시된 바와 같이, 불량픽셀 검출부(120)는 3×3 크기의 Cj(j=1~4) 영상을 출력하게 된다. 따라서, 출력 결정부(125)가 출력하는 데이터는 6×6 크기의 원영상이 된다. 도면에서 ‘Size3×3_Cj1’은 3×3 크기의 Cj 데이터의 1번째 구성원소를 말하는 것이다. 이하, 본 구조의 데이터를 가지고 설명하기로 하자.The
출력 결정부(125)는 만약, 불량픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 영상을 다시 구성하는데, 구성원소별로 픽셀을 구성하는 방법을 취한다. If there is only one comparison value larger than the bad pixel threshold, the
Size3×3_Cj1(Size3×3_Cj의 1번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(125)는 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 construct Size3 × 3_Cj1 (the first element of Size3 × 3_Cj, j = 1 to 4), the
또한, Size3×3_Cj2(Size3×3_Cj의 2번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(125)는 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) 데이터를 도 1의 핫픽셀 결정부(130)로 전달한다.In addition, in order to configure Size3 × 3_Cj2 (the second element of Size3 × 3_Cj, which is j = 1 to 4), the
핫픽셀 결정부(130)는 입력되는 각 성분 데이터의 패턴을 구한 뒤, 다른 성분들의 패턴을 비교하여, 각 성분을 기준으로 한 측정값을 구하고, 이 측정값을 비교하여 핫픽셀인지 여부를 판단한다. 이하, 도면을 참조로 더욱 상세히 설명하기로 하자.The hot
도 6은 도 1의 핫픽셀 검출부의 일실시예 상세 구조도이다.6 is a detailed structural diagram of an embodiment of the hot pixel detection unit of FIG. 1.
도면에 도시된 바와 같이, 본 발명의 핫픽셀 검출부(130)는 중앙값 검출부(131), 절대값 검출부(132), 비교값 검출부(133) 및 출력 결정부(134)를 포함하여 구성된다. 도면에서 입력 신호(Size3×3C1, Size3×3C2, Size3×3C3, Size3×3C4)를 제외하고 신호의 흐름을 하나의 선으로 처리하였으나, 그에 다양한 데이터가 포함되는 것은 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 자명하다.As shown in the figure, the
중앙값 검출부(131)는 입력되는 3×3 구조의 C1, C2, C3 및 C4 데이터의 중앙값을 각각 검출한다. 위 데이터에 상응하는 중앙값을 각각 M5, M6, M7 및 M8라 하자. 다만, 중앙값 검출부(131)가 검출하는 중앙값 M5, M6, M7 및 M8는 위 도 3의 불량픽셀 검출부(120)의 중앙값 검출부(121)가 검출하는 중앙값을 그대로 사용할 수도 있다.The
절대값 검출부(132)는 예를 들어, 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를 검출한다. Abs_5i, Abs_6i, Abs_7i 및 Abs_8i를 식으로 나타내면 수학식 3과 같다. For example, the absolute
여기서, i는 1부터 9까지의 자연수이다.Where i is a natural number from 1 to 9.
비교값 검출부(133)는 위에서 구한 절대값 검출부(132)의 출력에 대하여, 한 출력에서 다른 출력을 뺀 값의 절대값을 구하여 이를 합산하여 비교값을 구한다. 즉, Abs_5i에서 나머지 Abs_6i, Abs_7i 및 Abs_8i를 뺀 값의 각 절대값을 구하고, 이를 합산하여 COMP_5i를 구한다. 이와 같은 방식으로 COMP_6i, COMP_7i 및 COMP_8i를 구한다. 이를 수학식으로 나타내면 다음과 같다. The
여기서, i는 1부터 9까지의 자연수이다.Where i is a natural number from 1 to 9.
출력 결정부(134)는 위 비교값 검출부(133)가 검출한 4개의 비교값과 인가되는 핫픽셀 임계값(hot_threshold)을 각각 비교하여, 핫픽셀 임계값보다 큰 비교값이 없는 경우에는 원영상을 출력한다. 즉 3×3 크기의 Cj(j=1~4) 영상을 그대로 출력하게 된다. 따라서, 출력 결정부(134)가 출력하는 데이터는 6×6 크기의 원영상이 된다. The
출력 결정부(134)는 만약, 핫픽셀 임계값보다 큰 비교값이 하나만 있는 경우에는, 영상을 다시 구성하는데, 구성원소별로 픽셀을 구성하는 방법을 취한다. If there is only one comparison value larger than the hot pixel threshold value, the
Size3×3_Cj1(Size3×3_Cj의 1번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(134)는 1번째 원소에서 주위원소(즉, 도 5에서 Size3×3_Cj2, Size3×3_Cj5 및 Size3×3_Cj4)를 뺀 값의 절대값을 불량픽셀 검출부(120)의 임계값 결정부(124)가 결정하여 전달한 임계값 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
또한, Size3×3_Cj2(Size3×3_Cj의 2번째 원소, j=1~4임)을 구성하기 위하여 출력 결정부(134)는 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 데이터가 출력된다.In addition, in order to configure Size3 × 3_Cj2 (the second element of Size3 × 3_Cj, j = 1 to 4), the
도 7a는 본 발명의 장치에 입력되는 원영상을 나타낸 일예시도이며, 도 7b는 도 7a에 대하여 불량픽셀 및 핫픽셀을 검출하여 보정을 수행한 것을 나타낸 일예시도이다.FIG. 7A is an exemplary diagram illustrating an original image input to an apparatus of the present invention, and FIG. 7B is an exemplary diagram illustrating correcting by detecting a bad pixel and a hot pixel with respect to FIG. 7A.
도면에 도시된 바와 같이, 불량픽셀 및 핫픽셀을 검출하여 이를 보정하였음을 알 수 있다.As shown in the figure, it can be seen that a bad pixel and a hot pixel are detected and corrected.
이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하다는 것이 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 있어 명백할 것이다.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.
상기한 바와 같은 본 발명은, 6×6 마스크 내에서 중심 화소가 포함된 성분의 패턴 및 다른 성분들의 패턴들을 비교 분석함으로써, 불량픽셀 또는 핫픽셀인지의 여부를 정확하게 판단하여 6×6 구조의 보정한 이미지를 출력할 수 있도록 하는 효과가 있다.As described above, the present invention compares and analyzes the pattern of the component including the central pixel and the patterns of other components in the 6 × 6 mask to accurately determine whether the pixel is a bad pixel or a hot pixel, thereby correcting the 6 × 6 structure. This has the effect of letting you print an image.
Claims (10)
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050133563A KR100696167B1 (en) | 2005-12-29 | 2005-12-29 | Bad pixel processing unit |
PCT/KR2006/005844 WO2007075065A1 (en) | 2005-12-29 | 2006-12-28 | Device of processing dead pixel |
US12/159,385 US8131111B2 (en) | 2005-12-29 | 2006-12-28 | Device of processing dead pixel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050133563A KR100696167B1 (en) | 2005-12-29 | 2005-12-29 | Bad pixel processing unit |
Publications (1)
Publication Number | Publication Date |
---|---|
KR100696167B1 true KR100696167B1 (en) | 2007-03-20 |
Family
ID=41563462
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050133563A Expired - Fee Related KR100696167B1 (en) | 2005-12-29 | 2005-12-29 | Bad pixel processing unit |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100696167B1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040150846A1 (en) | 2003-02-05 | 2004-08-05 | Samsung Electronics Co., Ltd. | Color image halftoning apparatus and method, and mask generation apparatus and method used therein |
KR20050098704A (en) * | 2004-04-08 | 2005-10-12 | 주식회사 팬택앤큐리텔 | Camera-phone for detecting and restoring dead pixel and method thereof |
-
2005
- 2005-12-29 KR KR1020050133563A patent/KR100696167B1/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040150846A1 (en) | 2003-02-05 | 2004-08-05 | Samsung Electronics Co., Ltd. | Color image halftoning apparatus and method, and mask generation apparatus and method used therein |
KR20050098704A (en) * | 2004-04-08 | 2005-10-12 | 주식회사 팬택앤큐리텔 | Camera-phone for detecting and restoring dead pixel and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8131111B2 (en) | Device of processing dead pixel | |
US7477781B1 (en) | Method and apparatus for adaptive pixel correction of multi-color matrix | |
CN101352048A (en) | Device of processing dead pixel | |
KR100906606B1 (en) | Bad pixel processing method and device | |
CN104202583A (en) | Image processing device and method | |
US10552876B2 (en) | Method and apparatus for chroma reconstruction | |
US8606016B2 (en) | Edge detection apparatus and computing circuit employed in edge detection apparatus | |
CN102378041B (en) | A kind of picture quality detection method and device | |
EP2226763A2 (en) | Image processing method and apparatus for detecting an edge of an object within an image | |
US9147257B2 (en) | Consecutive thin edge detection system and method for enhancing a color filter array image | |
TWI544785B (en) | Image downsampling apparatus and method | |
US20220414827A1 (en) | Training apparatus, training method, and medium | |
US9721179B2 (en) | Line segment and arc detection apparatus | |
CN113891054A (en) | Efficient and flexible color processor | |
CN113281017B (en) | Quality detection method, terminal and storage medium for display screen | |
KR100696167B1 (en) | Bad pixel processing unit | |
CN119071473A (en) | Camera linearity correction method and device | |
US11039096B2 (en) | Image processing device, image processing method and storage medium | |
Zhang et al. | The modified gradient edge detection method for the color filter array image of the CMOS image sensor | |
EP2302582B1 (en) | Correcting defects in an image | |
CN101442680B (en) | Image Displacement Detection Method | |
KR100740625B1 (en) | Line Memory Sharing Method of Image Processing System | |
JP5073075B2 (en) | Thin line / character detection method and apparatus | |
CN101980543B (en) | Two-dimensional comb filter and luminance and chrominance separation method | |
Mijatović et al. | Implementation of algorithm for detection and correction of defective pixels in FPGA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20051229 |
|
PA0201 | Request for examination | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20061212 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20070312 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20070312 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20100108 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20110111 Start annual number: 5 End annual number: 5 |
|
PR1001 | Payment of annual fee |
Payment date: 20120106 Start annual number: 6 End annual number: 6 |
|
FPAY | Annual fee payment |
Payment date: 20130221 Year of fee payment: 7 |
|
PR1001 | Payment of annual fee |
Payment date: 20130221 Start annual number: 7 End annual number: 7 |
|
FPAY | Annual fee payment |
Payment date: 20140303 Year of fee payment: 8 |
|
PR1001 | Payment of annual fee |
Payment date: 20140303 Start annual number: 8 End annual number: 8 |
|
FPAY | Annual fee payment |
Payment date: 20150302 Year of fee payment: 9 |
|
PR1001 | Payment of annual fee |
Payment date: 20150302 Start annual number: 9 End annual number: 9 |
|
FPAY | Annual fee payment |
Payment date: 20180226 Year of fee payment: 12 |
|
PR1001 | Payment of annual fee |
Payment date: 20180226 Start annual number: 12 End annual number: 12 |
|
FPAY | Annual fee payment |
Payment date: 20190225 Year of fee payment: 13 |
|
PR1001 | Payment of annual fee |
Payment date: 20190225 Start annual number: 13 End annual number: 13 |
|
FPAY | Annual fee payment |
Payment date: 20200225 Year of fee payment: 14 |
|
PR1001 | Payment of annual fee |
Payment date: 20200225 Start annual number: 14 End annual number: 14 |
|
PR1001 | Payment of annual fee |
Payment date: 20210225 Start annual number: 15 End annual number: 15 |
|
PR1001 | Payment of annual fee |
Payment date: 20230220 Start annual number: 17 End annual number: 17 |
|
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20241223 |