KR101241739B1 - Method of processing video, computer readable recording medium and device of processing video therefor - Google Patents

Method of processing video, computer readable recording medium and device of processing video therefor Download PDF

Info

Publication number
KR101241739B1
KR101241739B1 KR1020110069141A KR20110069141A KR101241739B1 KR 101241739 B1 KR101241739 B1 KR 101241739B1 KR 1020110069141 A KR1020110069141 A KR 1020110069141A KR 20110069141 A KR20110069141 A KR 20110069141A KR 101241739 B1 KR101241739 B1 KR 101241739B1
Authority
KR
South Korea
Prior art keywords
error
pixel
candidate point
color
color data
Prior art date
Application number
KR1020110069141A
Other languages
Korean (ko)
Other versions
KR20130008411A (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 KR1020110069141A priority Critical patent/KR101241739B1/en
Publication of KR20130008411A publication Critical patent/KR20130008411A/en
Application granted granted Critical
Publication of KR101241739B1 publication Critical patent/KR101241739B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4015Image demosaicing, e.g. colour filter arrays [CFA] or Bayer patterns

Landscapes

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

Abstract

본 발명은 영상 처리 방법 및 이를 위한 컴퓨터 판독 가능한 저장 매체에 관한 것으로서, 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하고, 상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하고, 상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하고, 상기 결정된 오류 경계 방향을 이용하여 필터링을 수행한다. 간단한 방법으로 베이어 어레이 필터의 부정 컬러를 감소할 수 있다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and a computer-readable storage medium for the same, comprising: performing color interpolation on a plurality of pixels configured as a Bayer array and outputting RGB color data, and performing the color interpolation It is determined whether the error candidate point is one pixel among the pixels, the error boundary direction is determined based on the error candidate point, and filtering is performed using the determined error boundary direction. In simple ways, the negative color of the Bayer array filter can be reduced.

Description

영상 처리 방법, 이를 위한 컴퓨터 판독 가능한 저장 매체 및 영상 처리 장치{METHOD OF PROCESSING VIDEO, COMPUTER READABLE RECORDING MEDIUM AND DEVICE OF PROCESSING VIDEO THEREFOR}FIELD OF PROCESSING VIDEO, COMPUTER READABLE RECORDING MEDIUM AND DEVICE OF PROCESSING VIDEO THEREFOR

본 발명은 영상 처리 방법, 이를 위한 컴퓨터 판독 가능한 저장 매체 및 영상 처리 장치에 관한 것으로서, 특히, 피사체의 모서리 부분에서 빈번하게 발생하는 부정 컬러(false color)를 간단하고 신속한 방법으로 수정할 수 있는 영상 처리 방법 등에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method, a computer readable storage medium and an image processing apparatus for the same, and in particular, an image processing for correcting a false color frequently occurring at an edge of a subject in a simple and rapid manner. Method and the like.

배이어 컬러 필터 어레이(Bayer Color filter Array)는 포토 센서의 평방 그리드에 RGB 컬러 필터를 배열하는 어레이의 일종으로서 발명자 Bryce Bayer의 이름을 따서 지어진 명칭이다. 배이어 필터는 모자이크 형상의 어레이로 구성되고, RGB 컬러 필터가 25%, 50% 및 25% 의 비율로 어레이 상에 분포됨으로써 RGB 색상을 픽셀별로 감지할 수 있다. 또한, 하나의 픽셀은 필터에 따라 RGB 어느 한가지 색상만이 판별 가능하므로, 픽셀의 자체 색상은 해당 픽셀 및 주위의 다른 픽셀에서의 RGB 값을 조합한 컬러 보간(color interpolation)에 의해 획득될 수 있다. 컬러 보간 기법으로서, demosaicing 알고리즘 등이 사용될 수 있다. Bayer color filter array is a name after inventor Bryce Bayer as an array of RGB color filters arranged on a square grid of a photo sensor. The Bayer filter is composed of an array of mosaic shapes, and the RGB color filters are distributed on the array in a ratio of 25%, 50%, and 25%, so that RGB colors can be detected pixel by pixel. In addition, since one pixel can determine only one color of RGB according to a filter, its own color can be obtained by color interpolation combining RGB values of the pixel and other pixels around the pixel. . As a color interpolation technique, a demosaicing algorithm or the like may be used.

한편, 배이어 필터의 특정 방향으로 컬러의 변화가 급격히 생기는 경우에는 컬러 보간되더라도 픽셀 자체 색상이 제대로 획득되지 않는, 예컨대 부정 컬러(false color)가 발생할 수 있다. 이외에도 부정 컬러는 오리지널 이미지의 색상의 급격한 변화 및 이미지 센서의 자원 부족 및 후처리 기법의 부정확성에 기인할 수 있고 최종 영상의 화질 저하의 원인이 된다. On the other hand, in the case where the color change suddenly occurs in a specific direction of the Bayer filter, even if the color is interpolated, the color of the pixel itself may not be properly obtained, for example, a false color may occur. In addition, the negative color may be caused by a sudden change in the color of the original image, a lack of resources of the image sensor, and an inaccuracy of the post-processing technique.

부정 컬러는 컬러 보간 처리를 보완하거나 후처리를 추가하는 등의 처리에 의해 감소될 수 있으나, 이를 위한 자원 및 시간이 더 소요된다.Negative colors can be reduced by processing such as complementing color interpolation processing or adding post-processing, but this requires more resources and time.

본 발명은 상술한 문제점을 해결하기 위하여 컬러 보간 후의 영상의 간단한 후처리를 통하여 부정 컬러를 감소시킬 수 있는 영상 처리 방법 등을 제공하도록 한다.The present invention is to provide an image processing method and the like that can reduce the negative color through a simple post-processing of the image after color interpolation to solve the above problems.

본 발명의 일 실시예에 따른 영상 처리 방법은 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 단계; 상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 단계; 상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 단계; 및 상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 단계를 포함한다.An image processing method according to an embodiment of the present invention includes performing color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data; Determining whether the pixel is an error candidate point for one of the plurality of color interpolated pixels; Determining an error boundary direction based on the error candidate point; And performing filtering using the determined error boundary direction.

본 발명의 일 실시예에 따른 복수의 픽셀로부터 출력되는 RGB 컬러 데이터에 의한 영상을 처리하는 명령어 코드를 포함하는 컴퓨터로 판독 가능한 저장 매체는,상기 명령어 코드는, 프로세서가, 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하고, 상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하고, 상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하며, 상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하도록 하는 코드를 포함한다.In a computer-readable storage medium including an instruction code for processing an image by RGB color data output from a plurality of pixels according to an embodiment of the present invention, the instruction code is a processor, the processor array is configured Color interpolation is performed on a plurality of pixels outputting RGB color data, and it is determined whether one of the plurality of pixels having color interpolation is an error candidate point, and an error is performed based on the error candidate point. And determining a boundary direction and performing filtering by using the determined error boundary direction.

본 발명의 일 실시예에 따른 영상 처리 장치는, 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부; 상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부; 상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부; 및 상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부를 포함한다.An image processing apparatus according to an embodiment of the present invention includes a color interpolation unit configured to perform a color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data; An error point determination unit that determines whether an error candidate point is included in one pixel of the plurality of color interpolated pixels; A boundary direction determination unit for determining an error boundary direction based on the error candidate point; And a filtering unit which performs filtering using the determined error boundary direction.

본 발명에 따르면 비교적 적은 자원으로 간단하게 영상의 화질을 향상시킬 수 있다.According to the present invention, the image quality of an image can be easily improved with a relatively small resource.

도 1은 배이어 필터 어레이의 일례를 나타낸다.
도 2(a)는 피사체의 실제 이미지의 예를 나타내고, 도 2(b)는 컬러 보간된 이미지의 예를 나타낸다.
도 3은 본 발명의 일 실시예에 따른 영상 처리 방법의 순서도를 나타낸다.
도 4는 본 발명의 일 실시예에 따른 영상 처리 장치의 구성에 대한 블록도를 나타낸다.
1 shows an example of a Bayer filter array.
2 (a) shows an example of the actual image of the subject, and FIG. 2 (b) shows an example of the color interpolated image.
3 is a flowchart of an image processing method according to an embodiment of the present invention.
4 is a block diagram of a configuration of an image processing apparatus according to an embodiment of the present invention.

실시 예의 설명에 있어서, 각 층(막), 영역, 패턴 또는 구조물들이 기판, 각 층(막), 영역, 패드 또는 패턴들의 "상/위(on/over)"에 또는 "아래(under)"에 형성되는 것으로 기재되는 경우에 있어, "상/위(on/over)"와 "아래(under)"는 "직접(directly)" 또는 "다른 층을 개재하여 (indirectly)" 형성되는 것을 모두 포함한다. 또한 각 층의 상/위 또는 아래에 대한 기준은 도면을 기준으로 설명한다.In the description of the embodiments, it is to be understood that each layer (film), area, pattern or structure may be referred to as being "on" or "under" the substrate, each layer Quot; on "and" under "are intended to include both" directly "or" indirectly " do. Also, the criteria for top, bottom, or bottom of each layer will be described with reference to the drawings.

도면에서 각층의 두께나 크기는 설명의 편의 및 명확성을 위하여 과장되거나 생략되거나 또는 개략적으로 도시되었다. 또한 각 구성요소의 크기는 실제크기를 전적으로 반영하는 것은 아니다.The thickness and size of each layer in the drawings are exaggerated, omitted, or schematically shown for convenience and clarity of explanation. In addition, the size of each component does not necessarily reflect the actual size.

또한, 본 발명에 따른 영상 처리 장치는 이미지를 인식하여 저장할 수 있는 카메라, 디지털 카메라, 네트워크 카메라, 컴퓨터, 휴대용 이동 단말, 랩탑 또는 스마트폰으로 구현되거나 해당 장치에 탑재되어 구성될 수도 있으며, 이미지를 인식할 수 있는 임의의 디바이스를 모두 포함할 수 있다.
In addition, the image processing apparatus according to the present invention may be implemented as a camera, a digital camera, a network camera, a computer, a portable mobile terminal, a laptop, or a smartphone capable of recognizing and storing an image, or may be configured and mounted on the device. It can include any device that can be recognized.

도 1은 배이어 필터 어레이의 일례를 나타낸다. 도 1을 참조하면, 배이어 필터 어레이(100)는 평방 어레이상에 50%의 그린 필터, 25%의 레드 및 블루 필터를 포함하는 복수의 픽셀 어레이로 구성될 수 있다. 각 픽셀에는 레드(red), 그린(green) 및 블루(blue) 필터 중 하나가 배치되어 해당 컬러 데이터만을 출력할 수 있다. 예컨대, R11, R13, R15, R31, R33, R35, R51, R53 및 R55 픽셀에서는 레드 컬러 데이터를 출력하고, G12, G14, G21, G23, G25, G32, G34, G41, G43, G45, G52, G54에서는 그린 컬러 데이터를 출력하며, B22, B24, B42, B44에서는 블루 컬러 데이터를 출력하고 있다. 각 픽셀에서 출력되는 컬러 데이터들은 컬러 보간에 의해 풀 색상 데이터(full color data)로 처리되어 이미지로 재현될 수 있다. 도 1에서는 25개의 픽셀이 예시되어 있지만 배이어 필터 어레이는 이보다 더 확장될 수 있다. 1 shows an example of a Bayer filter array. Referring to FIG. 1, the Bayer filter array 100 may be configured of a plurality of pixel arrays including 50% green filters, 25% red and blue filters on a square array. Each pixel may include one of red, green, and blue filters to output only corresponding color data. For example, R11, R13, R15, R31, R33, R35, R51, R53, and R55 pixels output red color data, and G12, G14, G21, G23, G25, G32, G34, G41, G43, G45, G52, G54 outputs green color data, while B22, B24, B42 and B44 output blue color data. Color data output from each pixel may be processed into full color data by color interpolation and reproduced as an image. While 25 pixels are illustrated in FIG. 1, the Bayer filter array can be further expanded.

한편, 컬러 보간 과정 중에서 부정 컬러가 많이 생기는 곳은 레드 컬러 데이터를 출력하는 픽셀, 에컨대, R33에서 블루 컬러 B33를 보간하는 경우, 또는 블루 컬러 데이터를 출력하는 픽셀, 예컨대 B22에서 레드 컬러 R22를 보간하는 경우일 수 있다. 본 발명에서는 이점을 감안하여 픽셀에서 출력되는 오리지널 컬러 데이터가, 레드 컬러 데이터 또는 블루 컬러 데이터인 픽셀에 대하여 부정 컬러 서프레션(false color suppression)을 수행함으로써 화질을 향상시키는 방법을 제안한다. In the color interpolation process, a large number of irregular colors are generated when a pixel outputting red color data, for example, when interpolating a blue color B33 at R33, or a pixel outputting blue color data, such as a red color R22 at B22. It may be the case of interpolation. In view of the advantages, the present invention proposes a method of improving image quality by performing false color suppression on a pixel which is original color data output from a pixel, which is red color data or blue color data.

도 2(a)는 피사체의 실제 이미지의 예를 나타내고, 도 2(b)는 컬러 보간된 이미지의 예를 나타낸다. 도 2(b)에서 나타내는 바와 같이, 난간(10)과 배경 사이의 컬러값이 차이가 남에 따라 난간의 색상에 부정 컬러가 발생하여 원래 색상보다 왜곡된 색상이 나타날 수 있다. 본 발명에서는 난간(10)과 동일한 방향으로 왜곡된 색상이 발생하는 것을 감안하여 이 방향을 오류 경계 방향(edge direction)으로 간주하고 오류 경계 방향을 중심으로 노이즈를 감소하는 발명을 제안한다.2 (a) shows an example of the actual image of the subject, and FIG. 2 (b) shows an example of the color interpolated image. As shown in FIG. 2 (b), as the color value between the railing 10 and the background remains different, a negative color may occur in the color of the railing, resulting in a distorted color than the original color. In the present invention, in consideration of occurrence of distorted colors in the same direction as that of the handrail 10, the present invention considers this direction as an edge direction and reduces noise around the error boundary direction.

이하에서, 도 1의 R33 픽셀에서 블루 칼라인 B22를 보간할 때 부정 컬러 서프레션을 수행하는 경우를 예로 들어 설명한다. 부정 컬러 서프레션을 수행하는데 있어서, 배이어 어레이(100)의 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)이 전제되어야 한다. 컬러 보간 기법은, nearest-netgbor interpolation, bilinear interpolation, bicubic interpolation, spline interpolation 및 renczos resampling 이 사용될 수 있다.Hereinafter, a case in which negative color suppression is performed when interpolating a blue color B22 in the R33 pixel of FIG. 1 will be described as an example. In performing negative color suppression, color interpolation must be assumed for a plurality of pixels outputting RGB color data of the Bayer array 100. As the color interpolation technique, nearest-netgbor interpolation, bilinear interpolation, bicubic interpolation, spline interpolation and renczos resampling can be used.

먼저, 컬러 보간된 복수의 픽셀 중 R33 픽셀에 대하여 오류 후보 지점인 지 여부를 판단한다. 본 명세서에서 오류 후보 지점은, 해당 픽셀에서 컬라 보간되어 풀 컬러 이미지가 생성될 때 생성된 풀 컬러 이미지가 노이즈가 많은 것으로 판단되는 픽셀일 수 있다. First, it is determined whether the R33 pixel is an error candidate point among the plurality of color interpolated pixels. In the present specification, the error candidate point may be a pixel in which the generated full color image is determined to be noisy when color full interpolation is performed on the corresponding pixel.

오류 후보 지점을 판단하는데 있어서, 식1과 같이 R33 주위에 배치된 오리지널 그린 컬러 데이터가 이용된다. In determining the error candidate point, original green color data arranged around R33 is used as in Equation 1.

fcd = |G32 + G34 - G23 - G43 |, fcd = | G32 + G34-G23-G43 |,

if fcd > T, R33 = false color candidate, --------(식1)if fcd> T, R33 = false color candidate, -------- (Equation 1)

식1을 참조하면, R33 픽셀 주위에서 세로 방향으로 배치된 그린 컬러 데이터 G23, G43 과, 가로 방향으로 배치된 그린 컬러 데이터 G32, G24의 차이값이 이용된다 . 해당 차이값의 절대값이 설정 기준치 T보다 큰 경우, 해당 픽셀 R33을 오류 후보 지점으로 판단한다. 이하, 픽셀 R33을 오류 후보 지점으로 판단한 경우의 처리를 설명한다.Referring to Equation 1, the difference value between the green color data G23 and G43 arranged in the vertical direction around the R33 pixel and the green color data G32 and G24 arranged in the horizontal direction is used. When the absolute value of the difference value is larger than the set reference value T, the pixel R33 is determined as an error candidate point. The processing in the case where the pixel R33 is determined as an error candidate point will be described below.

다음에, 상기 오류 후보 지점인 픽셀 R33을 중심으로 오류 경계 방향을 결정한다. 본 명세서에서 설명되는 오류 경계 방향은 해당 픽셀을 중심으로 컬러 데이터의 차이가 크게 나타나는 방향을 나타내고, 배이어 어레이에서는 그 특성상 수직 또는 수평 방향으로 컬러 데이터가 크게 차이나는 점을 이용하여 오류 경계 방향이 수직 방향인지 수평 방향인 지를 판단하는 것을 포함한다.Next, an error boundary direction is determined based on the pixel R33 which is the error candidate point. The error boundary direction described in this specification indicates a direction in which the color data is greatly different around the pixel, and in the Bayer array, the error boundary direction is changed by using a point in which the color data is significantly different in the vertical or horizontal direction due to its characteristics. Determining whether it is vertical or horizontal.

먼저, 오류 후보 지점인 R33 픽셀의 주위에 배치된 픽셀의 오리지널 컬러 데이터에 대하여 수직 방향의 차이값 dv 및 수평 방향의 차이값 dh 를 계산한다.First, the difference value dv in the vertical direction and the difference value dh in the horizontal direction are calculated for the original color data of the pixel arranged around the R33 pixel, which is an error candidate point.

dv 및 dh 는 아래 식2 내지 식9에서와 같이 구해질 수 있다.dv and dh can be obtained as in Equations 2 to 9 below.

dv2 = |G12 - G32| + 2 * |B22 - B42| + |G32 - G52| ---식2dv2 = | G12-G32 | + 2 * | B22-B42 | + | G32-G52 |

dv3 = |R13 - R33| + 2 * |G23 - G43| + |R33 - R53| ---식3dv3 = | R13-R33 | + 2 * | G23-G43 | + | R33-R53 |

dv4 = |G14 - G34| + 2 * |B24 - B44 | + |G34 - G54|---식4dv4 = | G14-G34 | + 2 * | B24-B44 | + | G34-G54 | --- Equation 4

dv = dv2 + 2 * dv3 + dv4-----------------------------------식5dv = dv2 + 2 * dv3 + dv4 ----------------------------------- Equation 5

dh2 = |G21 - G23| + 2 * |B22 - B24| + |G23 - G25| ---식6dh2 = | G21-G23 | + 2 * | B22-B24 | + | G23-G25 |

dh3 = |R31 - R33| + 2 * |G32 - G34| + |R33 - R35| ---식7dh3 = | R31-R33 | + 2 * | G32-G34 | + | R33-R35 |

dh4 = |G41 - G43| + 2 * |B42 - B44| + |G43 - G45| ---식8dh4 = | G41-G43 | + 2 * | B42-B44 | + | G43-G45 |

dh= dh2 + 2* dh3 + dh4 ------------------------------------식9dh = dh2 + 2 * dh3 + dh4 ------------------------------------ Equation 9

이 때 수직 방향의 차이값 dv 및 수평 방향의 차이값 dh을 비교하고, dh 가 dv 보다 큰 경우 오류 경계 방향은 수직 방향이 되고, 그렇지 아니한 경우 오류 경계 방향은 수평 방향이 된다. 즉, 특정 방향의 차이값이 클수록 오류 후보 지점을 중심으로 특정 방향의 양쪽 컬러 데이터의 차이가 큰 것을 의미하고, 특정 방향의 직교 방향을 따라 도 2(b)에서와 같은 오류 경계 방향이 생길 수 있음을 의미하기 때문이다. At this time, the difference value dv in the vertical direction and the difference value dh in the horizontal direction are compared, and if dh is larger than dv, the error boundary direction becomes a vertical direction, otherwise the error boundary direction becomes a horizontal direction. That is, the larger the difference value in a specific direction, the larger the difference between both color data in a specific direction centering on the error candidate point, and an error boundary direction as shown in FIG. 2 (b) may occur along the orthogonal direction of the specific direction. Because it means.

오류 경계 방향이 결정되면, 이것을 이용하여 해당 오류 후보 지점에 대한 보간 컬러의 필터링을 수행할 수 있다. 예컨대, 픽셀 R33에서 보간된 컬러 B33 컬러의 필터링은 미디언 필터(median filter)에 의해 수행될 수 있다. 예컨대, 오류 경계 방향이 수직 방향으로 결정된 경우에는 식 10에서와 같이 보간 컬러 B33이 필터링 될 수 있다. 식 10을 참조하면, 미디언 필터 함수 median()의 엔트리에 보간 컬러 B33, 오류 경계 방향에 대한 정정 데이터로서 value1 및 value2를 입력할 수 있다. 미디언 필터 함수의 결과값은 정정된 보간 컬러 데이터로서 출력된다. 정정 데이터 value1 및 value2는 오류 후보 지점 R33을 중심으로 수직 방향에 대한 정정 데이터이다.Once the error boundary direction is determined, it can be used to filter the interpolation color for the corresponding error candidate point. For example, filtering of the color B33 color interpolated in the pixel R33 may be performed by a median filter. For example, when the error boundary direction is determined in the vertical direction, the interpolation color B33 may be filtered as in Equation 10. Referring to Equation 10, interpolation color B33 and value1 and value2 may be input to the entry of the median filter function median () as correction data for the error boundary direction. The result of the median filter function is output as corrected interpolation color data. Correction data value1 and value2 are correction data for the vertical direction about error candidate point R33.

median(B33, value1, value2)median (B33, value1, value2)

value1 = {-G12 - G32 + 2*B22 + G23 + 2*B24 - G14 - G34}/4value1 = {-G12-G32 + 2 * B22 + G23 + 2 * B24-G14-G34} / 4

value2 = {-G32 - G52 + 2*B42 + G43 + 2*B44 - G34 - G54}/4 value2 = {-G32-G52 + 2 * B42 + G43 + 2 * B44-G34-G54} / 4

-------식10Equation 10

한편, 오류 경계 방향이 수평 방향인 경우에는 식 11에서와 같이 보간 컬러 B33이 필터링되어 정정될 수 있다.On the other hand, when the error boundary direction is the horizontal direction, the interpolation color B33 may be filtered and corrected as in Equation 11.

median(B33, value3, value4)median (B33, value3, value4)

value3 = {-G21 - G23 + 2*B22 + G32 + 2*B42 - G41 - G43}/4value3 = {-G21-G23 + 2 * B22 + G32 + 2 * B42-G41-G43} / 4

value2 = {-G23 - G25 + 2*B24 + G34 + 2*B44 - G43 - G45}/4 value2 = {-G23-G25 + 2 * B24 + G34 + 2 * B44-G43-G45} / 4

-------식11Equation 11

식11에서 value3 및 value4는 수평 방향에 대한 정정 데이터이다. In Equation 11, value3 and value4 are correction data for the horizontal direction.

본 명세서에서는 미디언 필터의 엔트리로서 3개의 엔트리 값이 입력되고 있지만 본 발명은 이에 한정되지 않고, 정정 데이터로서 입력될 수 있는 다른 데이터값이 입력될 수 있고 엔트리의 개수도 제한되지 않는다.In the present specification, three entry values are input as the entry of the median filter. However, the present invention is not limited thereto, and other data values that can be input as correction data may be input, and the number of entries is not limited.

한편, 도 1에서는 레드 컬러 데이터가 출력되는 픽셀을 중심으로 부정 컬러 서프레션을 수행하고 있지만, 블루 데이터가 출력되는 픽셀에 대해서도 동일하게 부정 컬러 서프레션이 수행될 수 있다.Meanwhile, in FIG. 1, negative color suppression is performed mainly on a pixel to which red color data is output, but negative color suppression may be similarly performed to a pixel to which blue data is output.

또한, 상술한 보간 컬러의 필터링에 의한 보간 컬러의 정정은 픽셀 R33에서만 수행되고 있지만, 이미지 센서에 포함된 모든 픽셀에 대해서도 보간 컬러의 정정이 수행되어야 하므로, R33 이외의 다른 픽셀, 예컨대, B22, B24, B42, B44, R11, R13, R15,... 등에 대해서도 상술한 오류 후보 지점의 판단, 오류 경계 방향의 결정 및 필터링이 수행됨으로써 전체 이미지가 정정될 수 있다.In addition, although the above-described correction of the interpolation color by filtering of the interpolation color is performed only in the pixel R33, the correction of the interpolation color must also be performed on all the pixels included in the image sensor, so that pixels other than R33, for example, B22, Also for B24, B42, B44, R11, R13, R15, ..., the entire image can be corrected by performing the above-described determination of the error candidate point, determination of the error boundary direction, and filtering.

도 3은 본 발명의 일 실시예에 따른 영상 처리 방법의 순서도를 나타낸다. 3 is a flowchart of an image processing method according to an embodiment of the present invention.

단계(S11)에서, 정정 대상의 픽셀을 선택한다. 상술한 바와 같이 컬러의 정정은 복수의 픽셀에 대해서 전체 또는 일부 수행되므로, 픽셀 하나하나에 대해 본 발명에 따른 영상 처리 방법이 순차적으로 또는 동시에 수행될 수 있고, 이를 수행할 때마다 정정 대상의 픽셀이 임의의 방법에 의해 선택될 수 있다.In step S11, the pixel to be corrected is selected. As described above, since the color correction is performed in whole or in part with respect to the plurality of pixels, the image processing method according to the present invention may be performed sequentially or simultaneously with respect to each pixel, and the pixel to be corrected is performed every time. This can be selected by any method.

단계(S12)에서, 해당 픽셀이 오류 후보 지점인 지를 판단한다. 오류 후보 지점의 판단은 상술한 바와 같이, 해당 픽셀의 주위에 배치된 오리지널 컬러 데이터들의 값을 이용할 수 있다.In step S12, it is determined whether the corresponding pixel is an error candidate point. The determination of the error candidate point may use the value of the original color data arranged around the pixel as described above.

단계(S13)에서, 해당 픽셀이 오류 후보 지점인 경우에는 오류 후보 지점을 중심으로 오류 경계 방향을 결정한다. 오류 경계 방향은 예컨대, 수직 방향 또는 수평 방향일 수 있다.In step S13, when the pixel is an error candidate point, an error boundary direction is determined based on the error candidate point. The error boundary direction can be, for example, a vertical direction or a horizontal direction.

단계(S14)에서, 오류 경계 방향을 이용하여 오류 후보 지점의 보간 컬러에 대한 필터링을 수행한다. 필터링에 있어서, 오류 후보 지점의 보간 컬러 데이터, 적어도 하나의 정정 데이터를 엔트리로 인력한 미디언 필터가 이용될 수 있다. 필터링 결과값은 보간 컬러의 정정된 값이 된다.In step S14, filtering on the interpolation color of the error candidate point is performed using the error boundary direction. In the filtering, a median filter that employs interpolation color data of the error candidate point and at least one correction data as an entry may be used. The filtering result is a corrected value of the interpolation color.

단계(S15)에서, 픽셀 하나에 대한 필터링이 완료되면, 정정 대상의 오류 후보 지점이 더 있는 지를 판단한다. 오류 후보 지점의 판단이 모두 완료되면 컬러의 정정을 완료한다. 오류 후보 지점의 판단이 완료되지 않으면 단계(S11)로 돌아가 대상 픽셀을 다시 선택함으로써 상술한 영상 처리 방법을 반복할 수 있다.
In step S15, when filtering of one pixel is completed, it is determined whether there are more error candidate points to be corrected. When the determination of the error candidate point is all completed, the color correction is completed. If the determination of the error candidate point is not completed, the process may be repeated by returning to step S11 and selecting the target pixel again.

도 4는 본 발명의 일 실시예에 따른 영상 처리 장치의 구성에 대한 블록도를 나타낸다. 도 4를 참조하면, 본 발명에 따른 영상 처리 장치(200)는 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부(201), 상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부(202), 상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부(203) 및 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부(204)를 포함할 수 있다. 4 is a block diagram of a configuration of an image processing apparatus according to an embodiment of the present invention. Referring to FIG. 4, the image processing apparatus 200 according to the present invention includes a color interpolation unit 201 configured to perform a color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data. An error point determination unit 202 for determining whether an error candidate point is one pixel among the plurality of color interpolated pixels, a boundary direction determination unit 203 for determining an error boundary direction based on the error candidate point, and the determined It may include a filtering unit 204 for performing filtering using the error boundary direction.

또한, 영상 처리 장치(200)는, 상기 복수의 픽셀에 대한 오류 후보 지점의 판단이 완료되는 지를 판단하고, 상기 복수의 픽셀 중 다른 픽셀을 선택하며, 상기 선택된 픽셀에 대하여 상기 오류 후보 지점의 판단, 상기 오류 경계 방향의 결정 및 필터링 수행 단계를 반복하도록 제어하는 제어부(205)를 더 포함할 수 있다.In addition, the image processing apparatus 200 may determine whether the determination of the error candidate point for the plurality of pixels is completed, select another pixel among the plurality of pixels, and determine the error candidate point for the selected pixel. The control unit may further include a control unit 205 which controls to repeat the determination and filtering of the error boundary direction.

컬러 보간부(201)는, 복수의 픽셀에서 인식되는 RGB 색상 신호를 수신하고 각 색상 신호를 이용하여 각 픽셀의 전체 색상(full color)을 예측할 수 있으며, 이를 위해 CFA(Color Filter Array)를 포함할 수 있다.The color interpolator 201 may receive an RGB color signal recognized by a plurality of pixels and predict the full color of each pixel using each color signal, and includes a color filter array (CFA) for this purpose. can do.

오류 지점 판단부(202)는, 도 3의 단계(S12)에서 수행한 일련의 동작을 수행하고, 경계 방향 결정부(203)는 도 3의 단계(S13)에서 수행한 일련의 동작을 수행하며, 필터링부(204)는 단계(S14)에서 수행한 일련의 동작을 수행할 수 있다.The error point determination unit 202 performs a series of operations performed in step S12 of FIG. 3, and the boundary direction determination unit 203 performs a series of operations performed in step S13 of FIG. 3. The filtering unit 204 may perform a series of operations performed in step S14.

제어부(205)는 오류 지점 판단부(202)의 동작에 앞서 오류 후보 지점의 판단 대상인 픽셀을 선택하고, 해당 픽셀의 필터링이 완료되거나 오류 후보 지점이 아닌 것으로 판단된 경우에, 다른 오류 후보 지점의 판단을 수행할 지를 결정하는 일련의 동작을 수행할 수 있다. 이러한 동작을 수행하기 위하여 제어부(205)는 System On Chip 프로세서로 구성될 수 있다.Before the operation of the error point determining unit 202, the control unit 205 selects a pixel that is a determination target of an error candidate point, and when filtering of the pixel is completed or is determined to be not an error candidate point, A series of actions can be performed to determine whether to perform the judgment. In order to perform such an operation, the controller 205 may be configured as a system on chip processor.

한편, 영상 처리 장치(200)는 도 4에서 도시되는 구성요소 외에도, 영상을 인식하기 위한 이미지 센서(CCD/CMOS), 각 픽셀에 장착된 RGB 필터와 같은 광학 필터, 네트워크에 접속 가능하기 위한 네트워크 모듈, 디코더 또는 메모리를 더 포함할 수 있다.Meanwhile, the image processing apparatus 200 may, in addition to the components illustrated in FIG. 4, have an image sensor (CCD / CMOS) for recognizing an image, an optical filter such as an RGB filter mounted at each pixel, and a network for connecting to a network. It may further include a module, a decoder or a memory.

또한, 도 4에서는, 컬러 보간부(201), 오류 지점 판단부(202), 경계 방향 결정부(203) 및 필터링부가 제어부(205)와 독립적으로 구성되어 있지만, 이들이 제어부(205)에 포함되어 상술한 동작들을 수행할 수도 있다.
In addition, although the color interpolation unit 201, the error point determination unit 202, the boundary direction determination unit 203, and the filtering unit are configured independently of the control unit 205 in FIG. 4, these are included in the control unit 205. The above-described operations may be performed.

상술한 바와 같이, 본 발명의 일 실시예에 의해서는 간단한 방법으로 부정 컬러를 감소시킬 수 있는 영상 처리 방법을 제공할 수 있다. As described above, according to an embodiment of the present invention, it is possible to provide an image processing method capable of reducing an irregular color by a simple method.

이상에서 실시예들에 설명된 특징, 구조, 효과 등은 적어도 하나의 실시예에 포함되며, 반드시 하나의 실시예에만 한정되는 것은 아니다. 나아가, 각 실시예에서 예시된 특징, 구조, 효과 등은 실시예들이 속하는 분야의 통상의 지식을 가지는 자에 의해 다른 실시예들에 대해서도 조합 또는 변형되어 실시 가능하다. 따라서 이러한 조합과 변형에 관계된 내용들은 실시예의 범위에 포함되는 것으로 해석되어야 할 것이다.The features, structures, effects and the like described in the embodiments are included in at least one embodiment and are not necessarily limited to only one embodiment. Furthermore, the features, structures, effects, and the like illustrated in each embodiment may be combined or modified with respect to other embodiments by those skilled in the art to which the embodiments belong. Accordingly, the contents of such combinations and modifications should be construed as being included in the scope of the embodiments.

또한, 이상에서 실시예를 중심으로 설명하였으나 이는 단지 예시일 뿐 실시예를 한정하는 것이 아니며, 실시예가 속하는 분야의 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 설정하는 실시예의 범위에 포함되는 것으로 해석되어야 할 것이다.
In addition, the above description has been made with reference to the embodiments, which are merely examples and are not intended to limit the embodiments, and those skilled in the art to which the embodiments belong may not be exemplified above without departing from the essential characteristics of the embodiments. It will be understood that various modifications and applications are possible. For example, each component specifically shown in the embodiments can be modified and implemented. And differences relating to such modifications and applications will have to be construed as being included in the scope of the embodiments set forth in the appended claims.

Claims (17)

삭제delete 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 단계;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 단계;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 단계; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 단계를 포함하며,
상기 필터링은 상기 오류 후보 지점에 대한 픽셀의 보간된 컬러 데이터를 정정하는 것을 포함하고, 상기 픽셀의 보간된 컬러 데이터, 상기 오류 경계 방향에 대한 적어도 하나의 정정 데이터를 엔트리(entry)로 하여 미디언 필터(median filter)를 수행함으로써 보간된 컬러 데이터를 정정하는 영상 처리 방법.
Performing color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data;
Determining whether the pixel is an error candidate point for one of the plurality of color interpolated pixels;
Determining an error boundary direction based on the error candidate point; And
Performing filtering using the determined error boundary direction,
The filtering may include correcting interpolated color data of a pixel for the error candidate point, and using the interpolated color data of the pixel, at least one correction data for the error boundary direction as an entry. An image processing method for correcting interpolated color data by performing a median filter.
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 단계;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 단계;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 단계; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 단계를 포함하며,
상기 오류 후보 지점은 출력되는 오리지널 컬러 데이터가 R(red) 또는 B(blue)인 픽셀이고, 상기 하나의 픽셀의 주위에 배치된 오리지널 G(green) 컬러 데이터를 이용하여 판단되는 영상 처리 방법.
Performing color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data;
Determining whether the pixel is an error candidate point for one of the plurality of color interpolated pixels;
Determining an error boundary direction based on the error candidate point; And
Performing filtering using the determined error boundary direction,
The error candidate point is a pixel of which original color data to be output is R (red) or B (blue), and is determined using original G (green) color data disposed around the one pixel.
제3항에 있어서,
상기 오류 후보 지점은 상기 하나의 픽셀의 주위 제1 방향에 배치된 적어도 하나의 오리지널 G 컬러 데이터 및 제2 방향에 배치된 적어도 하나의 오리지널 G 컬러 데이터의 차이를 이용하여 판단되는 영상 처리 방법.
The method of claim 3,
And the error candidate point is determined using a difference between at least one original G color data disposed in a first direction around the one pixel and at least one original G color data disposed in a second direction.
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 단계;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 단계;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 단계; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 단계를 포함하며,
상기 오류 경계 방향을 결정하는 단계는 상기 오류 후보 지점의 주위에 배치된 픽셀의 오리지널 RGB 데이터에 대하여 제1 방향의 차이값 및 제2 방향의 차이값을 구하는 단계;
상기 제1 방향의 차이값 및 상기 제2 방향의 차이값을 비교하는 단계 및
상기 비교 결과에 따라 오류 경계 방향을 상기 제1 방향 및 상기 제 2 방향 중 하나로 판단하는 단계를 포함하는 영상 처리 방법.
Performing color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data;
Determining whether the pixel is an error candidate point for one of the plurality of color interpolated pixels;
Determining an error boundary direction based on the error candidate point; And
Performing filtering using the determined error boundary direction,
The determining of the error boundary direction may include obtaining a difference value in a first direction and a difference value in a second direction with respect to original RGB data of a pixel disposed around the error candidate point;
Comparing the difference in the first direction and the difference in the second direction; and
And determining an error boundary direction as one of the first direction and the second direction according to the comparison result.
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 단계;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 단계;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 단계; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 단계를 포함하며,
상기 하나의 픽셀의 오리지널 컬러 데이터가 R33이고 상기 하나의 픽셀의 주위에서 제1 방향으로 배치된 오리지널 G 컬러 데이터가 G32 및 G34이며 제2 방향으로 배치된 오리지널 G 컬러 데이터가 G23 및 G43인 경우,
|G32 + G34 - G23 - G43 |의 값이 설정 기준치보다 큰 경우에 상기 하나의 픽셀을 오류 후보 지점으로 판단하는 단계를 더 포함하는 영상 처리 방법.
Performing color interpolation on a plurality of pixels configured as a Bayer array to output RGB color data;
Determining whether the pixel is an error candidate point for one of the plurality of color interpolated pixels;
Determining an error boundary direction based on the error candidate point; And
Performing filtering using the determined error boundary direction,
When the original color data of the one pixel is R33 and the original G color data arranged in the first direction around the one pixel is G32 and G34 and the original G color data arranged in the second direction is G23 and G43,
And judging the one pixel as an error candidate point when the value of | G32 + G34-G23-G43 | is larger than a preset reference value.
제2항 내지 제6항 중 어느 하나의 항에 있어서,
상기 오류 경계 방향은 상기 오류 후보 지점의 주위 제1 방향에 배치된 오리지널 컬러 데이터들 및 제2 방향에 배치된 오리지널 컬러 데이터들의 차이값들을 이용하여 결정되는 영상 처리 방법.
The method according to any one of claims 2 to 6,
And the error boundary direction is determined by using difference values between original color data arranged in a first direction around the error candidate point and original color data arranged in a second direction.
제2항 내지 제6항 중 어느 하나의 항에 있어서,
상기 복수의 픽셀에 대한 오류 후보 지점의 판단이 완료되는 지를 판단하는 단계;
상기 복수의 픽셀 중 다른 픽셀을 선택하는 단계 및
상기 선택된 픽셀에 대하여 상기 오류 후보 지점의 판단, 상기 오류 경계 방향의 결정 및 필터링 수행 단계를 반복하는 단계를 더 포함하는 영상 처리 방법.
The method according to any one of claims 2 to 6,
Determining whether determination of an error candidate point for the plurality of pixels is completed;
Selecting another pixel of the plurality of pixels; and
And repeating the determining of the error candidate point, determining the error boundary direction, and performing filtering on the selected pixel.
복수의 픽셀로부터 출력되는 RGB 컬러 데이터에 의한 영상을 처리하는 명령어 코드를 포함하는 컴퓨터로 판독 가능한 저장 매체에 있어서,
상기 명령어 코드는, 프로세서가,
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하고,
상기 컬러 보간 된 복수의 픽셀 중 오리지널 컬러 데이터가 R(red) 또는 B(blue)인 하나의 픽셀에 대하여 상기 하나의 픽셀의 주위에 배치된 오리지널 G(green) 컬러 데이터를 이용하여 오류 후보 지점인 지를 판단하고,
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하며
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하도록 하는 코드를 포함하는 컴퓨터로 판독가능한 저장 매체.
A computer-readable storage medium including instruction code for processing an image by RGB color data output from a plurality of pixels,
The instruction code, the processor,
Color interpolation is performed on a plurality of pixels configured as a Bayer array to output RGB color data,
An error candidate point using original G (green) color data disposed around the one pixel with respect to one pixel among the plurality of color interpolated pixels, wherein the original color data is R (red) or B (blue). Judge
Determine an error boundary direction based on the error candidate point;
And code for causing filtering using the determined error boundary direction.
삭제delete 배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부를 포함하며,
상기 필터링부는 상기 오류 후보 지점에 대한 픽셀의 보간된 컬러 데이터를 정정하고, 상기 픽셀의 보간된 컬러 데이터, 상기 오류 경계 방향에 대한 적어도 하나의 정정 데이터를 엔트리(entry)로 하여 미디언 필터(median filter)를 수행함으로써 보간된 컬러 데이터를 정정하는 영상 처리 장치.
A color interpolation unit configured as a Bayer array to perform color interpolation on a plurality of pixels outputting RGB color data;
An error point determination unit that determines whether an error candidate point is included in one pixel of the plurality of color interpolated pixels;
A boundary direction determination unit for determining an error boundary direction based on the error candidate point; And
And a filtering unit which performs filtering using the determined error boundary direction.
The filtering unit corrects the interpolated color data of the pixel with respect to the error candidate point, and medians the median filter by using the interpolated color data of the pixel and at least one correction data of the error boundary direction as an entry. image processing apparatus for correcting interpolated color data by performing a filter).
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부를 포함하며,
상기 오류 지점 판단부는, 출력되는 오리지널 컬러 데이터가 R(red) 또는 B(blue)인 픽셀이고, 상기 하나의 픽셀의 주위에 배치된 오리지널 G(green) 컬러 데이터를 이용하여 오류 후보 지점을 판단하는 영상 처리 장치.
A color interpolation unit configured as a Bayer array to perform color interpolation on a plurality of pixels outputting RGB color data;
An error point determination unit that determines whether an error candidate point is included in one pixel of the plurality of color interpolated pixels;
A boundary direction determination unit for determining an error boundary direction based on the error candidate point; And
And a filtering unit which performs filtering using the determined error boundary direction.
The error point determination unit is a pixel in which the original color data to be output is R (red) or B (blue), and determines an error candidate point using original G (green) color data arranged around the one pixel. Image processing device.
제12항에 있어서,
상기 오류 후보 지점은 상기 하나의 픽셀의 주위 제1 방향에 배치된 적어도 하나의 오리지널 G 컬러 데이터 및 제2 방향에 배치된 적어도 하나의 오리지널 G 컬러 데이터의 차이를 이용하여 판단되는 영상 처리 장치.
The method of claim 12,
And the error candidate point is determined using a difference between at least one original G color data disposed in a first direction around the one pixel and at least one original G color data disposed in a second direction.
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부를 포함하며,
상기 경계 방향 결정부는,
상기 오류 후보 지점의 주위에 배치된 픽셀의 오리지널 RGB 데이터에 대하여 제1 방향의 차이값 및 제2 방향의 차이값을 구하고,
상기 제1 방향의 차이값 및 상기 제2 방향의 차이값을 비교하며,
상기 비교 결과에 따라 오류 경계 방향을 상기 제1 방향 및 상기 제 2 방향 중 하나로 경계 방향을 판단하는 영상 처리 장치.
A color interpolation unit configured as a Bayer array to perform color interpolation on a plurality of pixels outputting RGB color data;
An error point determination unit that determines whether an error candidate point is included in one pixel of the plurality of color interpolated pixels;
A boundary direction determination unit for determining an error boundary direction based on the error candidate point; And
And a filtering unit which performs filtering using the determined error boundary direction.
The boundary direction determination unit,
Obtaining a difference value in a first direction and a difference value in a second direction with respect to original RGB data of a pixel disposed around the error candidate point,
Comparing the difference in the first direction with the difference in the second direction,
And determining the boundary direction as one of the first direction and the second direction based on the comparison result.
배이어 어레이로 구성되어 RGB 컬러 데이터를 출력하는 복수의 픽셀에 대하여 컬러 보간(color interpolation)을 수행하는 컬러 보간부;
상기 컬러 보간된 복수의 픽셀 중 하나의 픽셀에 대하여 오류 후보 지점인 지를 판단하는 오류 지점 판단부;
상기 오류 후보 지점을 중심으로 오류 경계 방향을 결정하는 경계 방향 결정부; 및
상기 결정된 오류 경계 방향을 이용하여 필터링을 수행하는 필터링부를 포함하며,
상기 오류 지점 판단부는,
상기 하나의 픽셀의 오리지널 컬러 데이터가 R33이고 상기 하나의 픽셀의 주위에서 제1 방향으로 배치된 오리지널 G 컬러 데이터가 G32 및 G34이며 제2 방향으로 배치된 오리지널 G 컬러 데이터가 G23 및 G43인 경우,
|G32 + G34 - G23 - G43 |의 값이 설정 기준치보다 큰 경우에 상기 하나의 픽셀을 오류 후보 지점으로 판단하는 영상 처리 장치.
A color interpolation unit configured as a Bayer array to perform color interpolation on a plurality of pixels outputting RGB color data;
An error point determination unit that determines whether an error candidate point is included in one pixel of the plurality of color interpolated pixels;
A boundary direction determination unit for determining an error boundary direction based on the error candidate point; And
And a filtering unit which performs filtering using the determined error boundary direction.
The error point determination unit,
When the original color data of the one pixel is R33 and the original G color data arranged in the first direction around the one pixel is G32 and G34 and the original G color data arranged in the second direction is G23 and G43,
G32 + G34-G23-G43 | Image processing apparatus for determining the one pixel as an error candidate point when the value of the |
제11항 내지 제15항 중 어느 하나의 항에 있어서,
상기 경계 방향 결정부는, 상기 오류 후보 지점의 주위 제1 방향에 배치된 오리지널 컬러 데이터들 및 제2 방향에 배치된 오리지널 컬러 데이터들의 차이값들을 이용하여 상기 경계 방향을 결정하는 영상 처리 장치.
The method according to any one of claims 11 to 15,
And the boundary direction determiner determines the boundary direction using difference values between original color data arranged in a first direction around the error candidate point and original color data arranged in a second direction.
제11항 내지 제15항 중 어느 하나의 항에 있어서,
상기 복수의 픽셀에 대한 오류 후보 지점의 판단이 완료되는 지를 판단하고,
상기 복수의 픽셀 중 다른 픽셀을 선택하며,
상기 선택된 픽셀에 대하여 상기 오류 후보 지점의 판단, 상기 오류 경계 방향의 결정 및 필터링 수행을 반복하도록 제어하는 제어부를 더 포함하는 영상 처리 장치.
The method according to any one of claims 11 to 15,
Determine whether the determination of the error candidate point for the plurality of pixels is completed;
Selecting another pixel of the plurality of pixels,
And a controller configured to repeat determination of the error candidate point, determination of the error boundary direction, and filtering with respect to the selected pixel.
KR1020110069141A 2011-07-12 2011-07-12 Method of processing video, computer readable recording medium and device of processing video therefor KR101241739B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110069141A KR101241739B1 (en) 2011-07-12 2011-07-12 Method of processing video, computer readable recording medium and device of processing video therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110069141A KR101241739B1 (en) 2011-07-12 2011-07-12 Method of processing video, computer readable recording medium and device of processing video therefor

Publications (2)

Publication Number Publication Date
KR20130008411A KR20130008411A (en) 2013-01-22
KR101241739B1 true KR101241739B1 (en) 2013-03-11

Family

ID=47838523

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110069141A KR101241739B1 (en) 2011-07-12 2011-07-12 Method of processing video, computer readable recording medium and device of processing video therefor

Country Status (1)

Country Link
KR (1) KR101241739B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000023173A (en) * 1998-07-01 2000-01-21 Eastman Kodak Japan Ltd Noise elimination method for solid-state color image pickup device
JP2004214756A (en) 2002-12-27 2004-07-29 Seiko Epson Corp Image noise reduction
JP2005167974A (en) 2003-11-10 2005-06-23 Seiko Epson Corp Image processing method and image processor, image processing program, and semiconductor device
JP2009200635A (en) 2008-02-19 2009-09-03 Olympus Imaging Corp Image processor, and processing method and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000023173A (en) * 1998-07-01 2000-01-21 Eastman Kodak Japan Ltd Noise elimination method for solid-state color image pickup device
JP2004214756A (en) 2002-12-27 2004-07-29 Seiko Epson Corp Image noise reduction
JP2005167974A (en) 2003-11-10 2005-06-23 Seiko Epson Corp Image processing method and image processor, image processing program, and semiconductor device
JP2009200635A (en) 2008-02-19 2009-09-03 Olympus Imaging Corp Image processor, and processing method and program

Also Published As

Publication number Publication date
KR20130008411A (en) 2013-01-22

Similar Documents

Publication Publication Date Title
US9756266B2 (en) Sensor data rescaler for image signal processing
US9210391B1 (en) Sensor data rescaler with chroma reduction
US10298863B2 (en) Automatic compensation of lens flare
JP5904213B2 (en) Image processing apparatus, image processing method, and program
US10440299B2 (en) Correcting pixel defects based on defect history in an image processing pipeline
JP5060535B2 (en) Image processing device
US8837853B2 (en) Image processing apparatus, image processing method, information recording medium, and program providing image blur correction
US11949995B2 (en) Universal and adaptive de-mosaicing (CFA) system
US9030579B2 (en) Image processing apparatus and control method that corrects a signal level of a defective pixel
JPWO2012117616A1 (en) Imaging apparatus and defective pixel correction method
JP5306298B2 (en) Image processing device
JP2008252558A (en) Imaging apparatus
JP5169994B2 (en) Image processing apparatus, imaging apparatus, and image processing method
JP2013066157A (en) Image processing apparatus, image processing method, and program
TW201314623A (en) Image processing module and image processing method
US9270872B2 (en) Apparatus, systems, and methods for removing shading effect from image
JP2006135919A (en) Method and program for interpolating color imaged image data
CN110246080B (en) Demosaicing method and system thereof
US20150055861A1 (en) Methods and Systems for Image Demosaicing
US20130322755A1 (en) Image processing method and apparatus
JP5631769B2 (en) Image processing device
US9911177B2 (en) Applying chroma suppression to image data in a scaler of an image processing pipeline
KR101241739B1 (en) Method of processing video, computer readable recording medium and device of processing video therefor
JP5106221B2 (en) Imaging device
JP4889391B2 (en) Image processing apparatus and image processing method

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
LAPS Lapse due to unpaid annual fee