KR20110054145A - Apparatus and method for compensating color of image, and the recording media storing the program performing the said method - Google Patents

Apparatus and method for compensating color of image, and the recording media storing the program performing the said method Download PDF

Info

Publication number
KR20110054145A
KR20110054145A KR1020090110688A KR20090110688A KR20110054145A KR 20110054145 A KR20110054145 A KR 20110054145A KR 1020090110688 A KR1020090110688 A KR 1020090110688A KR 20090110688 A KR20090110688 A KR 20090110688A KR 20110054145 A KR20110054145 A KR 20110054145A
Authority
KR
South Korea
Prior art keywords
color
image
region
channel
value
Prior art date
Application number
KR1020090110688A
Other languages
Korean (ko)
Other versions
KR101068653B1 (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 KR1020090110688A priority Critical patent/KR101068653B1/en
Publication of KR20110054145A publication Critical patent/KR20110054145A/en
Application granted granted Critical
Publication of KR101068653B1 publication Critical patent/KR101068653B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/215Motion-based segmentation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

PURPOSE: An apparatus and method for compensating a color of an image, and a recording media storing the program performing the method are provided to prevent the color movement occurring in a color image sequence. CONSTITUTION: An apparatus for compensating a color of an image comprises: a region extraction unit(120) for extracting a colorless region from an input image by comparing an input image with a reference image; a first compensating value estimating unit(130) for estimating a first compensating value for each color channel; a second compensating value estimating unit(140) for estimating a second compensating value for each color channel; and a color compensating unit(150) for compensating a color in an input image based on a gain value.

Description

영상 컬러 보정 장치와 그 방법, 및 상기 방법을 구현하는 프로그램이 기록된 기록매체 {Apparatus and method for compensating color of image, and the recording media storing the program performing the said method}Apparatus and method for compensating color of image, and the recording media storing the program performing the said method}

본 발명은 영상 컬러 보정 장치와 그 방법, 및 상기 방법을 구현하는 프로그램이 기록된 기록매체에 관한 것이다. 보다 상세하게는, 색 항상성 유지와 더불어 색 불균형을 보정하는 영상 컬러 보정 장치와 그 방법, 및 상기 방법을 구현하는 프로그램이 기록된 기록매체에 관한 것이다.The present invention relates to an apparatus for correcting image color, a method thereof, and a recording medium having recorded thereon a program for implementing the method. More particularly, the present invention relates to an image color correction apparatus and method for correcting color imbalance in addition to maintaining color homeostasis, and a recording medium on which a program for implementing the method is recorded.

디지털 이미징 장치를 이용하여 영상을 획득하는 경우, 장치 내부적 요인 뿐만 아니라 외부 환경에 의한 영향도 받는다. 외부 환경 중에서 가장 큰 영향을 미치는 것은 빛의 종류를 결정하는 광원으로, 이러한 광원의 색온도에 따라 동일한 물체라 하더라도 서로 다른 색상의 영상을 얻게 된다. 이와 같이 외부 조명의 색온도에 의해 현재 획득하는 영상의 색이 변하는 경우 물체의 색 항상성(color constancy)이 깨지면서 색 불균형이 발생한다. 일반적으로 이러한 현상을 화이트 밸런스(white balance)가 맞지 않는다고 정의한다. 반면, 획득된 동영상이 장치 내부적 요인에 의해 색온도가 프레임에 따라 변하는 현상도 발생할 수 있다. 이러한 현상을 컬러 롤링(color rolling)이라 정의한다. 컬러 롤링은 동일한 환경에서 획득한 영상임에도 불구하고 영상의 색온도가 지속적으로 변하는 현상으로, 영상 전체 색이 황색, 청색, 무채색 등 서로 다른 밝기값을 가지면서 반복적으로 나타날 때 일어난다.When an image is acquired using a digital imaging device, not only the internal factors of the device but also the external environment are affected. The biggest influence among the external environment is a light source that determines the type of light, and depending on the color temperature of the light source, even if the same object is obtained with different colors. As such, when the color of the image currently acquired is changed by the color temperature of the external light, color constancy of the object is broken and color imbalance occurs. In general, this phenomenon is defined as a white balance (unbalanced). On the other hand, a color temperature may change with a frame due to internal factors of the acquired video. This phenomenon is defined as color rolling. Color rolling is a phenomenon in which the color temperature of the image is continuously changed even though the image is acquired in the same environment, and occurs when the entire color of the image appears repeatedly with different brightness values such as yellow, blue, and achromatic.

이처럼 영상 입력 장치의 내부적 혹은 외부적 요인으로 인해 영상의 색이 변질되는 경우, 동영상의 안정성이 떨어지면서 플리커(flicker) 등의 문제점이 발생한다. 더불어, 지속적으로 색이 변하면서 오브젝트 디텍션(object detection) 등 영상 응용에도 어려움이 따른다. 그래서, 종래에는 컬러 롤링을 저감시킬 수 있게 여러 방안이 제안되었다.As such, when the color of the image is changed due to an internal or external factor of the image input apparatus, the stability of the video decreases and a problem such as flicker occurs. In addition, there is a difficulty in the application of the image, such as object detection (color detection) as the color continuously changes. Therefore, conventionally, various methods have been proposed to reduce color rolling.

종래 컬러 롤링을 저감시키는 방법으로 자동 조리개 렌즈를 이용한 방법이 통용되고 있다. 자동 조리개 렌즈를 사용하면, 셔터 스피드(shutter speed)에 대해서 일정한 빛을 받아들일 수 있기 때문에 컬러 롤링 현상 없이 영상을 획득할 수 있다. 그러나, 자동 조리개 조절 렌즈가 고가인 이유로 이를 카메라 구성에 포함시킬 경우 카메라의 제조 비용이 급증하는 문제점이 있다.Conventionally, a method using an auto iris lens is commonly used as a method of reducing color rolling. By using an auto iris lens, since a constant light can be received with respect to a shutter speed, an image can be obtained without a color rolling phenomenon. However, there is a problem in that the manufacturing cost of the camera is rapidly increased when the automatic iris adjustment lens is included in the camera configuration because of the high price.

컬러 롤링을 저감시키는 방법으로 영상의 샘플링 주파수를 외부 광원(ex. 형광등)의 전원 주파수에 맞추는 라인 락(line lock) 모드 방법도 있다. 이 방법은 컬러 롤링의 근본적인 문제인 외부 광원의 전원 주파수와 영상의 샘플링 주파수의 차이를 보상하기 때문에 색온도 변화 없이 일정한 영상을 획득할 수 있다. 그러나, 이 방법은 하드웨어의 추가적 구성이 필요하여 제조 비용과 장치 부피가 증가하는 문제점을 발생시킨다.As a method of reducing color rolling, there is also a line lock mode method in which a sampling frequency of an image is matched with a power source frequency of an external light source (eg, a fluorescent lamp). This method compensates the difference between the power source frequency of the external light source and the sampling frequency of the image, which is a fundamental problem of color rolling, so that a constant image can be obtained without changing the color temperature. However, this method requires the additional configuration of hardware, which leads to the problem of increased manufacturing cost and device volume.

본 발명은 상기한 문제점을 해결하기 위해 안출된 것으로서, 컬러 영상 시퀀스에서 발생하는 색 유동성 억제와 색 불균형 보정을 동시에 수행하는 영상 컬러 보정 장치와 그 방법, 및 상기 방법을 구현하는 프로그램이 기록된 기록매체를 제공함을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problem, and an image color correction apparatus and method for simultaneously performing color fluidity suppression and color imbalance correction occurring in a color image sequence, and a recording in which a program for implementing the method is recorded. The purpose is to provide the medium.

본 발명은 상기한 목적을 달성하기 위해 안출된 것으로서, 입력 영상과 기준 영상을 비교하며, 상기 비교를 통해 상기 입력 영상으로부터 무채색 영역을 추출하는 영역 추출부; 상기 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 상기 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값을 추정하는 제1 보상값 추정부; 상기 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 상기 제1 채널과 동일 채널이며 상기 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값을 추정하는 제2 보상값 추정부; 및 상기 제1 보상값과 상기 제2 보상값으로부터 얻은 이득값으로 상기 입력 영상에서의 색을 보정하는 색 보정부를 포함하는 것을 특징으로 하는 영상 컬러 보정 장치를 제공한다.The present invention has been made to achieve the above object, an area extraction unit for comparing the input image and the reference image, and extracts an achromatic region from the input image through the comparison; A first compensation value estimator estimating a first compensation value for each color channel to compensate for a difference in color characteristic values of the target channel region selected from the achromatic region in consideration of color characteristic values of the reference channel region selected from the achromatic region; Estimating a second compensation value for each color channel that compensates for a difference in color characteristic values of a second channel region that is the same channel as the first channel and is selected from the achromatic region in consideration of color characteristic values of the first channel region selected from the reference image; A second compensation value estimator; And a color corrector configured to correct a color in the input image using a gain value obtained from the first compensation value and the second compensation value.

바람직하게는, 상기 제1 보상값 추정부는 상기 목적 채널 영역의 색 특성 평균값에 대한 상기 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제1 보상값을 추정한다.Preferably, the first compensation value estimating unit estimates the first compensation value for each color channel by using a ratio value of the color characteristic average value of the reference channel region to the color characteristic average value of the target channel region.

바람직하게는, 상기 제2 보상값 추정부는 상기 제2 채널 영역의 색 특성 평균값에 대한 상기 제1 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제2 보상값을 추정한다.Preferably, the second compensation value estimator estimates the second compensation value for each color channel by using a ratio value of the color characteristic average value of the first channel region to the color characteristic average value of the second channel region.

바람직하게는, 상기 색 보정부는 상기 이득값으로 상기 제1 보상값과 상기 제2 보상값의 곱셈값을 이용한다.Preferably, the color corrector uses a multiplication value of the first compensation value and the second compensation value as the gain value.

바람직하게는, 상기 영역 추출부는 상기 기준 영상으로 움직임이 없을 때 최대 밝기값을 가지는 영상을 선택하는 기준 영상 선택부를 포함한다.Preferably, the area extractor includes a reference image selector which selects an image having a maximum brightness value when there is no motion as the reference image.

바람직하게는, 상기 영역 추출부는 상기 입력 영상으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 상기 목적 영역을 무채색 영역으로 추출한다.Preferably, the region extracting unit extracts the target region as an achromatic region when the target region selected from the input image is included in an achromatic region of a predetermined light source based on a color temperature.

바람직하게는, 상기 영역 추출부는 상기 입력 영상과 상기 기준 영상을 비교하는 영상 비교부; 상기 비교를 통해 상기 입력 영상으로부터 움직임 영역을 추출하는 움직임 영역 추출부; 상기 입력 영상에서 상기 추출된 움직임 영역을 제외한 나머지 영역인 비움직임 영역을 대상으로 상기 무채색 영역을 추출하는 무채색 영역 추출부를 포함한다. 더욱 바람직하게는, 상기 영상 비교부는 상기 입력 영상과 상기 기준 영상을 블록 단위로 구분하여 비교하며, 상기 움직임 영역 추출부는 상기 입력 영상에 구비되는 목적 블록과 상기 기준 영상에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 상기 목적 블록을 움직임 영역으로 추출한다.Preferably, the area extractor comprises: an image comparator comparing the input image with the reference image; A motion region extractor which extracts a motion region from the input image through the comparison; And an achromatic region extraction unit configured to extract the achromatic region from a non-movement region, which is a region other than the extracted motion region, from the input image. More preferably, the image comparison unit classifies and compares the input image and the reference image in block units, and the motion region extraction unit distributes colors between a target block included in the input image and a target block included in the reference image. If the difference is greater than or equal to a predetermined reference value, the object block is extracted as a motion area.

바람직하게는, 상기 영상 컬러 보정 장치는 입력 영상을 복호화시키는 장치 에 구비되며, 상기 입력 영상으로 색 보간(color interpolation)된 영상을 이용한다.Preferably, the image color correction apparatus is provided in an apparatus for decoding an input image, and uses an image that is color interpolated as the input image.

또한, 본 발명은 (a) 입력 영상과 기준 영상을 비교하며, 상기 비교를 통해 상기 입력 영상으로부터 무채색 영역을 추출하는 단계; (b) 상기 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 상기 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값을 추정하는 단계; (c) 상기 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 상기 제1 채널과 동일 채널이며 상기 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값을 추정하는 단계; 및 (d) 상기 제1 보상값과 상기 제2 보상값으로부터 얻은 이득값으로 상기 입력 영상에서의 색을 보정하는 단계를 포함하는 것을 특징으로 하는 영상 컬러 보정 방법을 제공한다.In addition, the present invention comprises the steps of (a) comparing the input image and the reference image, and extracting the achromatic region from the input image through the comparison; (b) estimating a first compensation value for each color channel that compensates for the difference in color characteristic values of the target channel region selected from the achromatic region in consideration of the color characteristic values of the reference channel region selected from the achromatic region; (c) second compensation for each color channel considering the color characteristic value of the first channel region selected from the reference image to compensate for the difference in color characteristic values of the second channel region identical to the first channel and selected from the achromatic region; Estimating a value; And (d) correcting a color in the input image using a gain value obtained from the first compensation value and the second compensation value.

바람직하게는, 상기 (b) 단계는 상기 목적 채널 영역의 색 특성 평균값에 대한 상기 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제1 보상값을 추정한다.Preferably, the step (b) estimates the first compensation value for each color channel by using a ratio value of the color characteristic mean value of the reference channel region to the color characteristic mean value of the target channel region.

바람직하게는, 상기 (c) 단계는 상기 제2 채널 영역의 색 특성 평균값에 대한 상기 제1 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제2 보상값을 추정한다.Preferably, in the step (c), the second compensation value is estimated for each color channel by using a ratio value of the color characteristic mean value of the first channel region to the color characteristic mean value of the second channel region.

바람직하게는, 상기 (d) 단계는 상기 이득값으로 상기 제1 보상값과 상기 제2 보상값의 곱셈값을 이용한다.Preferably, step (d) uses a multiplication value of the first compensation value and the second compensation value as the gain value.

바람직하게는, 상기 (a) 단계는 상기 기준 영상으로 움직임이 없을 때 최대 밝기값을 가지는 영상을 선택하며, 상기 입력 영상으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 상기 목적 영역을 무채색 영역으로 추출한다.Preferably, the step (a) selects an image having a maximum brightness value when there is no motion as the reference image, and if the target region selected from the input image is included in the achromatic region of a predetermined light source based on a color temperature, The target area is extracted as an achromatic area.

바람직하게는, 상기 (a) 단계는 (aa) 상기 입력 영상과 상기 기준 영상을 블록 단위로 구분하여 비교하는 단계; (ab) 상기 비교를 통해 상기 입력 영상으로부터 움직임 영역을 추출하되, 상기 입력 영상에 구비되는 목적 블록과 상기 기준 영상에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 상기 목적 블록을 움직임 영역으로 추출하는 단계; (ac) 상기 입력 영상에서 상기 추출된 움직임 영역을 제외한 나머지 영역인 비움직임 영역을 대상으로 상기 무채색 영역을 추출하는 단계를 포함한다.Preferably, the step (a) comprises the steps of (aa) comparing the input image and the reference image by dividing each block; (ab) extracting a motion region from the input image through the comparison, and moving the target block when the difference in the color distribution between the target block included in the input image and the target block included in the reference image is greater than or equal to a predetermined reference value. Extracting to an area; and (c) extracting the achromatic region from the input image in the non-motion region, which is a region other than the extracted movement region.

본 발명에 따르면, 다음과 같은 효과를 얻을 수 있다. 첫째, 컬러 영상 시퀀스에서 발생하는 색 유동성 억제와 색 불균형 보정을 동시에 수행함으로써 영상에서 컬러 롤링을 제거할 수 있다. 또한, 밝기나 색 변화 없이 일관된 영상을 획득할 수 있으며, 영상의 품질도 향상시킬 수 있다. 둘째, 색 항상성을 유지시키면서 색 불균형을 보정하기 때문에 플리커가 발생하지 않으며, 디지털 이미징 장치를 안정적으로 구동시킬 수 있다. 세째, 하드웨어의 추가 없이 신호 처리 방법에 따라 소프트웨어적으로 구현하기 때문에 카메라 제조 원가를 절감시킬 수 있다.According to the present invention, the following effects can be obtained. First, color rolling may be removed from an image by simultaneously performing color fluidity suppression and color imbalance correction occurring in a color image sequence. In addition, it is possible to obtain a consistent image without changing the brightness and color, and to improve the quality of the image. Second, since the color imbalance is corrected while maintaining the color homeostasis, no flicker occurs and the digital imaging apparatus can be stably driven. Third, the cost of manufacturing a camera can be reduced because it is implemented in software according to the signal processing method without adding hardware.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 우선 각 도면의 구성요소들에 참조 부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략한다. 또한, 이하에서 본 발명의 바람직한 실시예를 설명할 것이나, 본 발명의 기술적 사상은 이에 한정하거나 제한되지 않고 당업자에 의해 변형되어 다양하게 실시될 수 있음은 물론이다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. First, in adding reference numerals to the components of each drawing, it should be noted that the same reference numerals are assigned to the same components as much as possible even if displayed on different drawings. In the following description of the present invention, a detailed description of known functions and configurations incorporated herein will be omitted when it may make the subject matter of the present invention rather unclear. In addition, the following will describe a preferred embodiment of the present invention, but the technical idea of the present invention is not limited thereto and may be variously modified and modified by those skilled in the art.

도 1은 본 발명의 바람직한 실시예에 따른 영상 컬러 보정 장치를 개략적으로 도시한 블록도이다. 도 1에 따르면, 영상 컬러 보정 장치(100)는 영상 입력부(110), 영역 추출부(120), 제1 보상값 추정부(130), 제2 보상값 추정부(140), 색 보정부(150), 영상 출력부(160), 전원부(170) 및 제어부(180)를 포함한다.1 is a block diagram schematically illustrating an image color correction apparatus according to a preferred embodiment of the present invention. According to FIG. 1, the apparatus 100 for correcting an image color includes an image input unit 110, an area extractor 120, a first compensation value estimator 130, a second compensation value estimator 140, and a color corrector ( 150, an image output unit 160, a power supply unit 170, and a controller 180.

영상 컬러 보정 장치(100)는 컬러 영상 시퀀스에서 발생하는 색 유동성 억제(컬러 롤링 현상 방지)와 더불어 색 불균형 보정을 수행한다. 자세하게는, 영상 컬러 보정 장치(100)는 다음과 같이 작동한다. 먼저, 영상 컬러 보정 장치(100)는 미리 설정해 놓은 기준 프레임에 대해 현재 프레임과의 비교를 통해 화상 내부의 움직임을 파악한다. 이후, 영상 컬러 보정 장치(100)는 현재 프레임과 기준 프레임 상에서 추출한 정지 영역에 포함된 무채색 영역의 채널별 컬러 특성을 이용하여 현재 프레임의 밝기 변화분을 보상한다. 영상 컬러 보정 장치(100)는 이러한 구동을 통하여 영상 시퀀스의 시간축 상에서 발생하는 색 유동성을 방지하고 하나의 영상 에서 발생하는 색 불균형을 동시에 해결한다. 또한, 영상에서 일정 밝기를 가짐과 동시에 물체의 색이 실제와 가장 유사하게 나타나도록 한다.The image color correction apparatus 100 performs color imbalance correction as well as color fluidity suppression (color rolling phenomenon prevention) generated in the color image sequence. In detail, the image color correcting apparatus 100 operates as follows. First, the image color correction apparatus 100 detects a motion inside an image by comparing a preset reference frame with a current frame. Thereafter, the image color correction apparatus 100 compensates for the brightness change of the current frame by using the color characteristics of each channel of the achromatic region included in the still region extracted on the current frame and the reference frame. The image color correction device 100 prevents color fluidity occurring on the time axis of the image sequence and simultaneously solves color imbalance occurring in one image. In addition, while having a certain brightness in the image, the color of the object appears to be most similar to the actual.

영상 컬러 보정 장치(100)는 가중치를 이용하여 영상의 밝기를 보상함으로써 색감을 향상시키는 데에 기여한다. 컬러 롤링 현상은 형광등에 전원을 공급하는 전원 주파수 60Hz와 동영상의 샘플링 주파수(sampling frequency) 59.94Hz 사이의 차이로 인해 각 프레임마다 받아들이는 광량에 변화가 생기기 때문에 나타난다. 이때, R, G에 비해 상대적으로 파장이 짧은 B 채널 값에 대해서는 센서의 수광부에서 받아들이는 광량 변화가 크게 나타나며, 주변 광원의 종류에 따라 각 채널의 색 변화가 다르게 나타나기도 한다. 또한, 각 시점에 대해서 형광등에서 나오는 빛의 파장이 달라질 수 있는데, 이 역시 컬러 롤링의 원인 중 하나이다.The image color correction apparatus 100 contributes to improving color by compensating for the brightness of the image by using the weight. The color rolling phenomenon is caused by a change in the amount of light received in each frame due to a difference between a 60 Hz power supply frequency for supplying fluorescent lamps and a 59.94 Hz sampling frequency for video. In this case, a change in the amount of light received by the light receiving unit of the sensor may be large for a B channel value having a shorter wavelength than R and G, and a color change of each channel may be different depending on the type of ambient light source. In addition, for each time point, the wavelength of light emitted from the fluorescent lamp may vary, which is also one of the causes of color rolling.

영상 컬러 보정 장치(100)는 연속된 영상에서 나타나는 색 유동성을 신호처리적인 관점에서 억제시킨다. 특히, 영상 컬러 보정 장치(100)는 ISP(Image Signal Processing) 모듈에서 색 보간(color interpolation) 과정 이후의 영상에 대해 적용하여 동영상의 색 유동성을 방지하며, 컬러 롤링 억제와 함께 화이트 밸런스를 동시에 수행한다.The image color correcting apparatus 100 suppresses color fluidity appearing in a series of images from a signal processing point of view. In particular, the image color correction apparatus 100 is applied to an image after a color interpolation process in an ISP (Image Signal Processing) module to prevent color fluidity of a video, and simultaneously performs white balance with color rolling suppression. do.

영상 컬러 보정 장치(100)는 입력 영상을 복호화시키는 장치에 구비된다. 본 실시예에서 반드시 이에 한정되는 것은 아니므로, 영상 컬러 보정 장치(100)는 입력 영상을 부호화시키는 장치에 구비되는 것도 가능하다. 영상 컬러 보정 장치(100)는 예컨대 감시용 카메라에 구비될 수 있다.The image color correction device 100 is provided in an apparatus for decoding an input image. In the present exemplary embodiment, the present invention is not limited thereto, and the image color correcting apparatus 100 may be provided in an apparatus for encoding an input image. The image color correction device 100 may be provided in, for example, a surveillance camera.

영상 입력부(110)는 영상을 입력받는 기능을 수행한다.The image input unit 110 performs a function of receiving an image.

영역 추출부(120)는 입력 영상 프레임과 기준 영상 프레임을 비교하며, 이 비교를 통해 입력 영상 프레임으로부터 무채색 영역을 추출하는 기능을 수행한다. 이러한 영역 추출부(120)는 기준 영상 프레임 선택부(121), 영상 프레임 비교부(122), 움직임 영역 추출부(123) 및 무채색 영역 추출부(124)를 포함한다. 이하 설명은 도 2를 참조한다.The region extractor 120 compares the input image frame with the reference image frame, and extracts an achromatic region from the input image frame through the comparison. The region extractor 120 includes a reference image frame selector 121, an image frame comparator 122, a motion region extractor 123, and an achromatic region extractor 124. The following description refers to FIG. 2.

기준 영상 프레임 선택부(121)는 컬러 롤링 제거를 위해 설정한 밝기 보상의 기준이 되는 기준 영상 프레임을 선택하는 기능을 수행한다. 바람직하게는, 기준 영상 프레임 선택부(121)는 움직임이 없을 때 최대 밝기값을 가지는 영상 프레임을 기준 영상 프레임으로 선택한다.The reference image frame selector 121 selects a reference image frame as a reference for the brightness compensation set for color rolling removal. Preferably, the reference image frame selector 121 selects an image frame having a maximum brightness value as the reference image frame when there is no movement.

영상 프레임 비교부(122)는 입력 영상 프레임과 기준 영상 프레임을 비교하는 기능을 수행한다. 바람직하게는, 영상 프레임 비교부(122)는 입력 영상 프레임과 기준 영상 프레임을 블록 단위로 구분하여 비교한다.The image frame comparator 122 performs a function of comparing the input image frame with the reference image frame. Preferably, the image frame comparison unit 122 compares the input image frame and the reference image frame in block units.

움직임 영역 추출부(123)는 입력 영상 프레임과 기준 영상 프레임의 비교를 통해 입력 영상 프레임으로부터 움직임 영역을 추출하는 기능을 수행한다. 본 실시예에서 움직임 영역을 추출하는 것은 입력 영상 프레임에서 움직임 영역을 배제시켜 비움직임 영역을 구하기 위해서이다.The motion region extractor 123 extracts a motion region from the input image frame by comparing the input image frame with the reference image frame. In this embodiment, the moving area is extracted to obtain the moving area by excluding the moving area from the input image frame.

움직임 영역 추출부(123)는 입력 영상 프레임에 구비되는 목적 블록과 기준 영상 프레임에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 목적 블록을 움직임 영역으로 추출한다. 움직임 영역 추출부(123)는 이를 위해 제1 색 분포값 계산부(미도시), 제2 색 분포값 계산부(미도시), 및 색분포 비 교부(미도시)를 구비할 수 있다. 상기에서, 제1 색 분포값 계산부는 입력 영상 프레임에 구비되는 블록들에 대하여 각 블록의 색 분포값을 계산하는 기능을 수행한다. 또한, 제2 색분포 계산부는 기준 영상 프레임에 구비되는 블록들에 대하여 각 블록의 색 분포값을 계산하는 기능을 수행한다. 또한, 색분포 비교부는 입력 영상 프레임에 구비되는 특정 블록과 기준 영상 프레임에 구비되는 비교대상 블록 간의 색분포 값을 비교하는 기능을 수행한다.The motion region extractor 123 extracts the object block as the motion region when the difference in the color distribution between the object block included in the input image frame and the target block included in the reference image frame is equal to or greater than a predetermined reference value. The motion region extractor 123 may include a first color distribution value calculator (not shown), a second color distribution value calculator (not shown), and a color distribution comparison unit (not shown). In the above description, the first color distribution calculator calculates a color distribution value of each block with respect to blocks included in the input image frame. Also, the second color distribution calculator performs a function of calculating a color distribution value of each block with respect to blocks included in the reference image frame. In addition, the color distribution comparison unit performs a function of comparing the color distribution values between the specific block included in the input image frame and the comparison target block included in the reference image frame.

움직임 판단 방법은 기준 프레임과 입력 프레임 사이의 변화 정도를 파악함으로써 이루어진다. 본 실시예에서는 정확한 기준에 따라 기준 프레임으로 삼았다는 가정 하에 알고리즘을 진행한다. 본 실시예에서는 기준 프레임으로 움직임이 없는 상태의 밝기가 가장 밝은 프레임을 선택한다. 그 이유는 다음과 같다. 첫째, 움직임을 판단하는 데에 적합한 기준이어야 하기 때문이다. 둘째, 색 유동성이 발생하는 경우 가장 밝기가 밝은 부분으로 수렴시키는 것이 컬러 롤링 저감에 유리하기 때문이다.The motion determination method is performed by grasping the degree of change between the reference frame and the input frame. In this embodiment, the algorithm is performed on the assumption that the frame is a reference frame according to an accurate reference. In the present embodiment, a frame having the brightest brightness in a state of no motion is selected as the reference frame. The reason for this is as follows. First, it should be a suitable standard for judging movement. Second, when color fluidity occurs, it is advantageous to reduce color rolling by converging to the brightest part.

프레임 내 움직임 판단은 기준 프레임과 입력 프레임의 비교를 바탕으로 국지적 움직임에 대해 검출하는 것이다. 이때, 대부분의 하드웨어 구성에서는 프레임 메모리 사용에 대한 제약이 있기 때문에, 본 실시예에서는 하나의 프레임을 다수의 블록으로 나눈 뒤 움직임을 판단하는 블록 모션 맵 기반 움직임 판단 방법을 이용한다.Intra-frame motion determination detects local motion based on a comparison of the reference frame and the input frame. At this time, since most hardware configurations have restrictions on the use of frame memory, the present embodiment uses a block motion map based motion determination method of determining a motion after dividing a frame into a plurality of blocks.

먼저, 프레임을 블록으로 나누었을 때, 각 블록에 대한 색분포 통계치로써 평균을 추출한다. 이후, 각 블록 평균에 대해서 기준 프레임과의 비교를 통해 차이 가 큰 부분에 대해서는 국지적 움직임이 있는 것으로 판단한다. 반면, 유사한 부분에 대해서는 국지적 움직임이 없는 것으로 판단한다. 이때, 입력 프레임에서의 m번째 블록 평균은 다음과 같이 정의할 수 있다.First, when a frame is divided into blocks, an average is extracted as color distribution statistics for each block. Then, it is determined that there is a local movement for the large difference between each block average through comparison with the reference frame. On the other hand, there is no local movement for similar parts. In this case, the m-th block average in the input frame may be defined as follows.

Figure 112009070378042-PAT00001
Figure 112009070378042-PAT00001

상기에서, Nm은 m번째 블록에 속하는 픽셀의 위치를 나타내며, A(i, j)는 입력 프레임의 (i, j)에서의 A 채널 성분을 나타낸다.In the above, N m represents the position of a pixel belonging to the m-th block, and A (i, j) represents the A channel component in (i, j) of the input frame.

이를 바탕으로 m번째 블록에 대한 국지적 움직임 여부는 수학식 2와 같이 판단된다. 한편, 도 3에서 블록 단위 모션 맵을 구하는 과정은 수학식 2에서

Figure 112009070378042-PAT00002
와 같다. 이 과정으로부터 얻어진 결과값은 블록 단위의 로컬 모션 맵(local motion map)(300)으로, 움직임 영역(310)과 비움직임 영역(320)을 포함한다. 도면부호 330은 입력 영상 프레임을 가리키며, 도면부호 340은 기준 영상 프레임을 가리킨다.Based on this, whether the local motion of the m-th block is determined as shown in Equation 2. Meanwhile, the process of obtaining the block unit motion map in FIG. 3 is shown in Equation 2.
Figure 112009070378042-PAT00002
Same as The result obtained from this process is a local motion map 300 in blocks, and includes a motion region 310 and a non-movement region 320. Reference numeral 330 denotes an input image frame, and reference numeral 340 denotes a reference image frame.

Figure 112009070378042-PAT00003
Figure 112009070378042-PAT00003

상기에서, A는 R 채널, G 채널, B 채널 중 어느 하나를 의미한다. gain은 기준 프레임과 현재 프레임의 밝기 차이를 보정하기 위한 가중치 값이며, Thres(·) 는 움직임 여부를 판단하는 경판정(hard decision) 함수이다. 일반적으로 실시간 구현을 위해 gain은 이전 프레임에서의 밝기 보정 값을 사용한다. 이때, 각각의 채널에 대해서 분포하고 있는 국지적 움직임 정보를 통합하기 위해 어느 한 채널에 국지적 움직임이 있는 블록은 아래 수학식 3에 따라 국지적 움직임이 있는 블록으로 판단한다.In the above, A means any one of the R channel, G channel, B channel. gain is a weight value for correcting the difference in brightness between the reference frame and the current frame, and Thres (·) is a hard decision function for determining whether to move. In general, for real-time implementation, gain uses the brightness correction value from the previous frame. In this case, in order to integrate local motion information distributed for each channel, a block having local motion in one channel is determined as a block having local motion according to Equation 3 below.

Figure 112009070378042-PAT00004
Figure 112009070378042-PAT00004

m번째 블록이 모션이 없다고 판명되는 경우 이 영역에 대해 무채색 영역 여부를 판단한다.If the m-th block is found to have no motion, it is determined whether or not the achromatic region is used for this region.

비움직임 영역 추출부는 입력 영상 프레임에서 추출된 움직임 영역을 제외한 나머지 영역을 대상으로 비움직임 영역을 추출하는 기능을 수행한다. 입력 영상 프레임에서 움직임 영역을 제외하면 쉽게 비움직임 영역을 구할 수 있다. 따라서, 이러한 비움직임 영역 추출부는 본 실시예에서 구비되지 않아도 무방하다.The non-movement area extractor extracts the non-movement area from the other areas except for the motion area extracted from the input image frame. Excluding the moving area from the input image frame, the moving area can be easily obtained. Therefore, such a moving area extracting portion may not be provided in this embodiment.

무채색 영역 추출부(124)는 추출된 비움직임 영역으로부터 무채색 영역을 추출하는 기능을 수행한다. 바람직하게는, 영역 추출부(120)는 입력 영상 프레임으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 목적 영역을 무채색 영역으로 추출한다.The achromatic region extraction unit 124 extracts an achromatic region from the extracted non-movement region. Preferably, the region extractor 120 extracts the target region as the achromatic region when the target region selected from the input image frame is included in the achromatic region of the predetermined light source based on the color temperature.

무채색 영역을 추출하는 방법은 다양하다. 본 실시예에서는 무채색 영역 추출 방법으로 색온도에 기반한 무채색 추출 방법을 사용한다. 이하 설명은 도 4를 참조한다. 도 4에는 일반적인 광원의 무채색 영역이 x 영역과 y 영역의 조합으로 나타나 있다. 주어진 블록의 픽셀 성분들을 x 값과 y 값으로 변환했을 때 이 픽셀 성분들로 구성되는 영역이 도 4에 표시된 영역(400)에 포함된다면 해당 영역을 무채색 영역으로 볼 수 있다. 반면, 포함되지 않는다면 이 영역을 일반 색 영역으로 보면 된다.There are various ways to extract achromatic regions. In this embodiment, an achromatic extraction method based on color temperature is used as an achromatic extraction method. The following description refers to FIG. 4. In FIG. 4, the achromatic region of the general light source is shown as a combination of an x region and a y region. When the pixel components of a given block are converted into x and y values, if the region composed of the pixel components is included in the region 400 shown in FIG. 4, the region may be regarded as an achromatic region. On the other hand, if not included, this area can be regarded as a normal color gamut.

다시, 도 1을 참조하여 설명한다.Again, this will be described with reference to FIG. 1.

제1 보상값 추정부(130)는 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값, 즉 채널 간 색 보상값을 추정하는 기능을 수행한다. 바람직하게는, 제1 보상값 추정부(130)는 목적 채널 영역의 색 특성 평균값에 대한 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 제1 보상값을 추정한다.The first compensation value estimator 130 considers the color characteristic values of the reference channel region selected from the achromatic region to compensate for the difference in the color characteristic values of the target channel region selected from the achromatic region, that is, between channels. It estimates the color compensation value. Preferably, the first compensation value estimator 130 estimates the first compensation value for each color channel by using a ratio value of the color characteristic average value of the reference channel region to the color characteristic average value of the target channel region.

제1 보상값 추정부(130)는 기준 채널 선택부(131)를 포함한다. 기준 채널 선택부(131)는 무채색 영역에 포함된 적어도 두개의 채널들로부터 기준 채널을 선택하는 기능을 수행한다. 바람직하게는, 기준 채널 선택부(131)는 기준 채널로 G 채널을 선택한다. 그 이유는 일반적으로 R·G·B 3개의 채널 중에서 G 채널이 영상의 밝기 정보를 대표하기 때문이다.The first compensation value estimator 130 includes a reference channel selector 131. The reference channel selector 131 selects a reference channel from at least two channels included in the achromatic region. Preferably, the reference channel selector 131 selects the G channel as the reference channel. This is because, in general, the G channel represents the brightness information of the video among the three R, G, and B channels.

제1 보상값 추정부(130)는 입력 영상 프레임의 무채색 영역에 대해 R, G, B 각 채널에서의 비율을 구한다. 제1 보상값 추정부(130)의 이러한 기능은 채널 간 차이 보상을 통해 색 불균형을 해소하므로 색 항상성을 향상시키는 데에 기여한다.The first compensation value estimator 130 calculates a ratio of each of the R, G, and B channels with respect to the achromatic region of the input image frame. This function of the first compensation value estimator 130 contributes to improving color homeostasis by eliminating color imbalance through the difference compensation between channels.

R, G, B 채널에 각각 나타나는 색 유동성 및 색 불균형은 수학식 3에 기재된 채널별 통계적 특성을 이용하여 다음과 같이 일정 비의 곱으로써 나타난다.The color fluidity and color imbalance that appear in the R, G, and B channels, respectively, are represented as a product of a constant ratio as follows using statistical characteristics of each channel described in Equation (3).

Rout=gainRRR out = gain R R

Gout=gainGGG out = gain G G

Bout=gainBBB out = gain B B

이때, 색 불균형을 해결하기 위한 방안으로 von kries의 방법에 기초하여 다음과 같이 R, B 채널에 나타난 색 치우침을 G 채널을 기준으로 맞추어 주도록 한다.At this time, as a way to solve the color imbalance, based on the method of von kries to adjust the color shift appearing in the R, B channel as a reference to the G channel as follows.

Figure 112009070378042-PAT00005
Figure 112009070378042-PAT00005

상기에서, RAWB, GAWB, BAWB는 R 채널, G 채널, B 채널 각각에서의 보상값을 의미한다. 또한,

Figure 112009070378042-PAT00006
는 입력 프레임에서 R 채널, G 채널, B 채널 각각에서의 색 특성 평균값을 의미한다. 또한, R, G, B는 입력 프레임에서 R 채널, G 채널, B 채널 각각에서의 색상값을 의미한다.In the above description, R AWB , G AWB , and B AWB mean a compensation value in each of the R channel, the G channel, and the B channel. Also,
Figure 112009070378042-PAT00006
Denotes an average value of color characteristics in each of the R channel, the G channel, and the B channel in the input frame. In addition, R, G, and B denote color values of the R, G, and B channels in the input frame.

제2 보상값 추정부(140)는 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 제1 채널과 동일 채널이며 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값, 즉 프레임 간 색 보상 값을 추정하는 기능을 수행한다. 바람직하게는, 제2 보상값 추정부(140)는 제2 채널 영역의 색 특성 평균값에 대한 제1 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 제2 보상값을 추정한다.The second compensation value estimator 140 considers the color characteristic values of the first channel region selected from the reference image to compensate for the difference in the color characteristic values of the second channel region identical to the first channel and selected from the achromatic region. A function of estimating a second compensation value, that is, a color compensation value between frames is performed. Preferably, the second compensation value estimator 140 estimates the second compensation value for each color channel by using a ratio value of the color characteristic mean value of the first channel region to the color characteristic mean value of the second channel region.

제2 보상값 추정부(140)는 기준 영상 프레임의 무채색 영역에서 R·G·B 비율을 계산한다. 제2 보상값 추정부(140)는 계산된 비율과 함께 입력 영상 프레임의 무채색 영역에서 구한 R·G·B 비율을 이용하여 밝기를 보상한다. 제2 보상값 추정부(140)는 이러한 보상을 통해 색 유동성을 방지하며, 컬러 롤링 현상을 제거시킨다.The second compensation value estimator 140 calculates an R, G, and B ratio in the achromatic region of the reference image frame. The second compensation value estimator 140 compensates the brightness using the R, G, and B ratios obtained from the achromatic region of the input image frame together with the calculated ratio. The second compensation value estimator 140 prevents color fluidity and removes color rolling through the compensation.

제2 보상값 추정부(140)는 색 유동성을 방지하기 위해 아래 수학식 5에 따라 기준 프레임과 입력 프레임 간의 비율을 맞추어 준다.The second compensation value estimator 140 adjusts the ratio between the reference frame and the input frame according to Equation 5 below to prevent color fluidity.

Figure 112009070378042-PAT00007
Figure 112009070378042-PAT00007

상기에서, RCRS, GCRS, BCRS는 R 채널, G 채널, B 채널 각각에서의 제2 보상값을 의미한다. 또한, Rtarget, Gtarget, Btarget는 기준 프레임에서 R 채널, G 채널, B 채널 각각에서의 색 특성 평균값을 의미한다.In the above description, R CRS , G CRS , and B CRS mean a second compensation value in each of the R channel, the G channel, and the B channel. In addition, R target , G target , and B target mean color characteristic average values of each of the R channel, the G channel, and the B channel in the reference frame.

색 보정부(150)는 제1 보상값과 제2 보상값으로부터 얻은 이득값으로 입력 영상 프레임에서의 색을 보정하는 기능을 수행한다.The color corrector 150 corrects colors in the input image frame by using gain values obtained from the first compensation value and the second compensation value.

색 보정부(150)는 이득값 계산부(151)를 포함한다. 이득값 계산부(151)는 제 1 보상값과 제2 보상값의 곱셈값을 이득값으로 계산하는 기능을 수행한다. 이득값 계산부(151)는 제1 보상값과 제2 보상값의 합산값을 이득값으로 계산하는 것도 가능하다.The color corrector 150 includes a gain value calculator 151. The gain value calculator 151 calculates a multiplication value of the first compensation value and the second compensation value as a gain value. The gain value calculator 151 may calculate the sum of the first compensation value and the second compensation value as a gain value.

프레임 간의 밝기를 통일시킨 후(CRS; Color Rolling Suppression) 입력 프레임의 색 불균형을 해결(AWB; Auto White Balance)한다면, AWB에 의한 영향이 상쇄되면서 하나의 통합된 가중치를 얻을 수 있다. 이러한 가중치는 AWB에 의한 제1 색 보정값과 CRS에 의한 제2 색 보정값을 곱셈한 것으로 수학식 6에 기재된 바와 같다.If the brightness between the frames is unified (CRS; Color Rolling Suppression) to solve the color unbalance of the input frame (AWB; Auto White Balance), the influence of the AWB is canceled and one integrated weight can be obtained. This weight is obtained by multiplying the first color correction value by AWB and the second color correction value by CRS, as described in Equation 6.

Figure 112009070378042-PAT00008
Figure 112009070378042-PAT00008

상기에서, gainR, gainG, gainB는 R 채널, G 채널, B 채널 각각에서의 가중치를 의미한다. 또한, Gcurrent는 입력 프레임에서 기준 채널인 G 채널의 색상값을 의미한다.In the above description, gain R , gain G , and gain B mean weights in the R channel, the G channel, and the B channel, respectively. In addition, G current means a color value of the G channel which is a reference channel in the input frame.

가중치는 시간에 반비례하는 특성과 더불어 프레임 간 움직임 정도에 대한 정보도 포함한다. 따라서, 입력 프레임과의 유사성이 반영될 수 있도록 움직임이 미리 정해진 기준값보다 클 경우 작은 가중치를 부여한다.The weights contain information that is inversely proportional to time, as well as information about interframe movement. Therefore, when the motion is larger than a predetermined reference value, a small weight is given to reflect the similarity with the input frame.

최종적으로 획득한 영상 시퀀스에 대한 무채색 영역의 R, G, B 변화량은 도 5에 도시한 바와 같다. 도 5의 (a)는 입력 영상의 무채색 평균 변화량을 나타내며, 도 5의 (b)는 본 실시예가 적용된 출력 영상의 무채색 평균 변화량을 나타낸다. 도 5의 (a)와 (b)를 비교해 보면 알 수 있듯이, 본 실시예에서는 밝기나 색 변화 없이 일관된 영상을 획득할 수 있으며, 영상의 품질도 향상시킬 수 있다.The change amounts of R, G, and B in the achromatic region with respect to the finally obtained image sequence are as shown in FIG. 5. FIG. 5A shows the achromatic average change amount of the input image, and FIG. 5B shows the achromatic average change amount of the output image to which the present embodiment is applied. As can be seen by comparing (a) and (b) of FIG. 5, in this embodiment, a consistent image can be obtained without changing brightness or color, and the quality of the image can be improved.

그런데, 입력 프레임의 채널 특성인

Figure 112009070378042-PAT00009
는 직접 계산하여 입력 프레임에 적용하기엔 어려움이 따르기 때문에 보통 추정을 한다. 이때, 바로 이전 프레임 정보를 이용할 수도 있지만, 잡음의 영향으로 정확성이 떨어진다. 그래서, 본 실시예에서는 입력 프레임 채널 특성을 다음과 같이 추정한다.However, the channel characteristics of the input frame
Figure 112009070378042-PAT00009
Is usually estimated because it is difficult to calculate and apply to the input frame. In this case, the previous frame information may be used, but accuracy is lowered due to noise. Thus, in this embodiment, the input frame channel characteristics are estimated as follows.

본 실시예에서 제안하는 입력 프레임 채널 특성 추정 방법은 수학식 7과 같으며, 누적 평균을 이용하여 불필요한 고주파 성분을 제거시키며 입력 프레임과 가까운 쪽에 가중치를 줌으로써 추정 시간을 감축시킬 수가 있다.The input frame channel characteristic estimation method proposed in the present embodiment is as shown in Equation 7, and the estimated time can be reduced by eliminating unnecessary high frequency components using a cumulative average and weighting the input frame closer to the input frame.

Figure 112009070378042-PAT00010
Figure 112009070378042-PAT00010

상기에서,

Figure 112009070378042-PAT00011
은 각 프레임에서의 무채색 영역의 평균값을 나타낸다. A(i, j)는 입력 영상의 (i, j) 화소 위치에서의 A 채널 값이며, N은 해당 프레임의 무채색 영역에 대한 집합이다.In the above,
Figure 112009070378042-PAT00011
Represents the average value of the achromatic region in each frame. A (i, j) is an A channel value at the (i, j) pixel position of the input image, and N is a set of achromatic regions of the frame.

입력 프레임 채널 특성 추정 방법은 변화량에 대한 누적 평균을 이용하여 변화량을 보상할 수 있게 하며, 잡음에 의한 변화가 평균값에 미치는 영향을 최소화시킨다. 이러한 입력 프레임 채널 특성 추정 방법은 앞서 설명한 가중치 계산 방법과 마찬가지로 기준 프레임보다 입력 프레임에 가까운 것에 더 많은 가중치를 부여한다.The input frame channel characteristic estimation method can compensate for the change amount by using the cumulative average of the change amount, and minimizes the effect of the change caused by noise on the mean value. The input frame channel characteristic estimation method weights more to an input frame closer to the reference frame than the weight calculation method described above.

영상 출력부(160)는 색 보정이 이루어진 영상을 출력하는 기능을 수행한다.The image output unit 160 performs a function of outputting an image that has been color corrected.

전원부(170)는 영상 컬러 보정 장치(100)를 구성하는 각 부에 전원을 공급하는 기능을 수행한다.The power supply unit 170 supplies power to each unit constituting the image color correction device 100.

제어부(180)는 영상 컬러 보정 장치(100)를 구성하는 각 부의 전체 작동을 제어하는 기능을 수행한다.The controller 180 controls the overall operation of each unit constituting the image color correcting apparatus 100.

이상 설명한 영상 컬러 보정 장치(100)은 컬러 롤링 현상을 제거함으로써 컬러 영상 시퀀스의 색감을 유지함과 동시에 프레임 각각의 색 항상성을 높여준다. 이러한 영상 컬러 보정 장치(100)의 특징에 대해 정리하면 다음과 같다.The image color correction apparatus 100 described above improves color homeostasis of each frame while maintaining color of the color image sequence by removing color rolling. The features of the image color correction device 100 are summarized as follows.

첫째, 컬러 이미징 시스템에서 획득하는 컬러 영상 시퀀스에 대해 색 유동성이 발생하고 색 불균형이 일어나는 경우에 적용함으로써, 일정한 색감을 가지는 고품질 영상을 획득할 수 있다.First, high-quality images having a constant color can be obtained by applying to a case where color fluidity occurs and color imbalance occurs with respect to a color image sequence acquired by a color imaging system.

둘째, 현재 프레임과 기준 프레임 간 비교를 통해 밝기를 보정하는 보상값과 채널별 균형을 맞추는 보상값을 하나로 통합함으로써, 단일 프로세스로써 색 유동성과 색 불균형을 모두 해소시킬 수 있다.Second, by combining the compensation value to compensate for the brightness and the balance value for each channel through comparison between the current frame and the reference frame, it is possible to solve both color fluidity and color imbalance in a single process.

세째, 컬러 롤링 현상 해결을 위해서는 밝기의 기준이 되는 프레임을 선정해야 한다. 본 실시예에서는 이러한 기준 영상으로 최대 밝기를 가지고 화면 내에서 움직임이 없는 정지 영상을 설정한다.Third, in order to solve the color rolling phenomenon, it is necessary to select a frame that is a reference for brightness. In the present exemplary embodiment, a still image having maximum brightness and no motion in the screen is set as the reference image.

네째, 보상값으로 현재 프레임과 기준 프레임의 통계적 특성을 나타내는 값의 비율로 정하되 움직임이 없는 영역의 대표값만을 이용한다.Fourth, as the compensation value, the ratio of the value representing the statistical characteristics of the current frame and the reference frame is defined, but only the representative value of the region without motion is used.

다섯째, 영상 내부 물체의 움직임이 있는 영역을 제외시키기 위해서는 먼저 움직임 영역을 추출해야 한다. 본 실시예에서는 동일 위치에 대해 기준 프레임과 현재 프레임 사이의 변화 정도를 비교함으로써 움직임 여부를 파악한다.Fifth, in order to exclude the area where the motion of the object inside the image is located, the moving area must be extracted first. In the present embodiment, whether the motion is determined by comparing the degree of change between the reference frame and the current frame with respect to the same position.

여섯째, 현재 프레임의 밝기 차를 보상하는 방법에 있어서 보상 가중치(gain)를 구하여 현재 프레임의 모든 화소 위치에 동일하게 보상해 준다.Sixth, in the method of compensating for the difference in brightness of the current frame, a compensation weight is obtained to equally compensate all pixel positions of the current frame.

일곱째, 움직임 영역을 추출할 때에 프레임 정보를 이용함에 있어서 프레임 메모리 사용이 제한될 경우 영상 프레임을 k개의 블록으로 나누어 블록 대표값으로 대체한다.Seventh, when using the frame information when extracting the motion region, if the use of frame memory is limited, the image frame is divided into k blocks and replaced with a block representative value.

다음으로, 영상 컬러 보정 방법에 대해 설명한다. 도 6은 본 발명의 바람직한 실시예에 따른 영상 컬러 보정 방법을 도시한 순서도이다. 이하 설명은 도 6을 참조한다.Next, an image color correction method will be described. 6 is a flowchart illustrating an image color correction method according to an exemplary embodiment of the present invention. The following description refers to FIG. 6.

먼저, 영상 입력부(110)가 영상을 입력받는다(S600).First, the image input unit 110 receives an image (S600).

이후, 영역 추출부(120)가 입력 영상 프레임과 기준 영상 프레임을 비교하며, 이 비교를 통해 상기 입력 영상 프레임으로부터 무채색 영역을 추출한다(S610). 영역 추출부(120)는 기준 영상 프레임으로 움직임이 없을 때 최대 밝기 값을 가지는 영상 프레임을 선택하며, 입력 영상 프레임으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 목적 영역을 무채색 영역으로 추출한다.Thereafter, the area extractor 120 compares the input image frame with the reference image frame, and extracts an achromatic region from the input image frame through the comparison (S610). The region extractor 120 selects an image frame having a maximum brightness value when there is no motion as the reference image frame. When the object region selected from the input image frame is included in the achromatic region of a predetermined light source based on the color temperature, the region extractor 120 selects the object region. Extract into achromatic regions.

영역 추출부(120)의 무채색 영역 추출 과정을 보다 자세하게 설명하면 다음과 같다. 제1 단계에서, 영상 프레임 비교부(122)가 입력 영상 프레임과 기준 영상 프레임을 블록 단위로 구분하여 비교한다. 이후 제2 단계에서, 움직임 영역 추출부(123)가 상기 비교를 통해 입력 영상 프레임으로부터 움직임 영역을 추출하되, 입력 영상 프레임에 구비되는 목적 블록과 기준 영상 프레임에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 목적 블록을 움직임 영역으로 추출한다. 이후 제3 단계에서, 무채색 영상 추출부(124)가 입력 영상 프레임에서 추출된 움직임 영역을 제외한 나머지 영역 즉, 비움직임 영역을 대상으로 무채색 영역을 추출한다.The achromatic region extraction process of the region extraction unit 120 will be described in more detail as follows. In a first step, the image frame comparison unit 122 compares the input image frame and the reference image frame in block units. Then, in the second step, the motion region extractor 123 extracts the motion region from the input image frame through the comparison, but the difference in the color distribution between the target block included in the input image frame and the target block included in the reference image frame If the value is equal to or greater than the predetermined reference value, the object block is extracted as the motion area. Thereafter, in the third step, the achromatic image extracting unit 124 extracts the achromatic region from the remaining regions other than the movement region extracted from the input image frame, that is, the non-moving region.

이후, 제1 보상값 추정부(130)가 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값을 추정한다(S620). 바람직하게는, 제1 보상값 추정부(130)는 목적 채널 영역의 색 특성 평균값에 대한 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 제1 보상값을 추정한다.Subsequently, the first compensation value estimator 130 estimates a first compensation value for each color channel that compensates for the difference in color characteristic values of the target channel region selected from the achromatic region in consideration of the color characteristic values of the reference channel region selected from the achromatic region. (S620). Preferably, the first compensation value estimator 130 estimates the first compensation value for each color channel by using a ratio value of the color characteristic average value of the reference channel region to the color characteristic average value of the target channel region.

이후, 제2 보상값 추정부(140)가 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 제1 채널과 동일 채널이며 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값을 추정한 다(S630). 바람직하게는, 제2 보상값 추정부(140)는 제2 채널 영역의 색 특성 평균값에 대한 제1 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 제2 보상값을 추정한다.Subsequently, the second compensation value estimator 140 compensates the difference in the color characteristic values of the second channel region that is the same channel as the first channel and is selected from the achromatic region in consideration of the color characteristic values of the first channel region selected from the reference image. A second compensation value for each color channel is estimated (S630). Preferably, the second compensation value estimator 140 estimates the second compensation value for each color channel by using a ratio value of the color characteristic mean value of the first channel region to the color characteristic mean value of the second channel region.

이후, 색 보정부(150)가 제1 보상값과 제2 보상값으로부터 얻은 이득값으로 입력 영상 프레임에서의 색을 보정한다(S640). 바람직하게는, 색 보정부(150)는 이득값으로 제1 보상값과 제2 보상값의 곱셈값을 이용한다.Thereafter, the color corrector 150 corrects the color in the input image frame using gains obtained from the first compensation value and the second compensation value (S640). Preferably, the color corrector 150 uses a multiplication value of the first compensation value and the second compensation value as a gain value.

이후, 영상 출력부(160)가 색 보정된 영상을 출력한다(S650).Thereafter, the image output unit 160 outputs the color corrected image (S650).

한편, 상술한 본 발명의 실시예들은 컴퓨터에서 실행될 수 있는 프로그램으로 작성 가능하고, 컴퓨터로 읽을 수 있는 기록매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, ROM, 플로피 디스크, 하드 디스크, 자기 테이프 등), 광학적 판독 매체(예를 들면, CD-ROM, DVD, 광데이터 저장장치 등) 및 캐리어 웨이브(예를 들면, 인터넷을 통한 전송)와 같은 저장매체를 포함한다.Meanwhile, the above-described embodiments of the present invention can be written as a program that can be executed in a computer, and can be implemented in a general-purpose digital computer that operates the program using a computer-readable recording medium. The computer-readable recording medium may be a magnetic storage medium (for example, a ROM, a floppy disk, a hard disk, a magnetic tape, etc.), an optical reading medium (for example, a CD-ROM, a DVD, an optical data storage device, etc.). And storage media such as carrier waves (eg, transmission over the Internet).

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 본 발명에 개시된 실시예 및 첨부된 도면들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구 범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리 범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and various modifications, changes, and substitutions may be made by those skilled in the art without departing from the essential characteristics of the present invention. will be. Accordingly, the embodiments disclosed in the present invention and the accompanying drawings are not intended to limit the technical spirit of the present invention but to describe the present invention, and the scope of the technical idea of the present invention is not limited by the embodiments and the accompanying drawings. . The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

컬러 롤링 문제는 감시용 카메라와 같은 고정형 카메라에서 많이 발생한다. 그 이유는 제품의 특성상 저가의 카메라를 사용하기 때문이다. 기존에는 컬러 롤링을 해소시키기 위해 조리개와 같은 모듈을 추가 구성하였다. 그러나, 제조 비용과 제품의 부피가 증가되는 문제점이 있어 제품의 경쟁력이 떨어졌다. 본 발명은 컬러 롤링 문제를 신호 처리적으로 해결함으로써 ISP 내부에서 구현 가능하며, 색감의 문제도 동시에 해결할 수 있다. 본 발명이 감시용 카메라, 고정형 PC 카메라 등 각종 촬상 장치에 적용될 경우, 카메라 생산업체의 제품 경쟁력을 더욱 높일 수가 있다.Color rolling problems are common with stationary cameras such as surveillance cameras. This is because of the low cost camera used in the nature of the product. Previously, modules such as apertures were additionally configured to eliminate color rolling. However, there is a problem that the manufacturing cost and the volume of the product is increased, the competitiveness of the product is reduced. The present invention can be implemented in the ISP by solving the color rolling problem by signal processing, and at the same time can solve the color problem. When the present invention is applied to various imaging devices such as surveillance cameras and fixed PC cameras, it is possible to further enhance the product competitiveness of camera manufacturers.

도 1은 본 발명의 바람직한 실시예에 따른 영상 컬러 보정 장치를 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating an image color correction apparatus according to a preferred embodiment of the present invention.

도 2는 본 발명의 바람직한 실시예에 따른 영역 추출부를 개략적으로 도시한 블록도이다.2 is a block diagram schematically showing a region extraction unit according to a preferred embodiment of the present invention.

도 3은 블록 단위의 로컬 모션 맵을 구하는 과정에 관련한 도면이다.3 is a diagram related to a process of obtaining a local motion map in units of blocks.

도 4는 색온도에 기반한 무채색 추출 방법에 적용되는 그래프이다.4 is a graph applied to an achromatic extraction method based on color temperature.

도 5는 최종적으로 획득한 영상 시퀀스에 대한 무채색 영역의 R, G, B 변화량을 도시한 도면이다.5 is a diagram illustrating an amount of change in R, G, and B in the achromatic region for the finally obtained image sequence.

도 6은 본 발명의 바람직한 실시예에 따른 영상 컬러 보정 방법을 도시한 순서도이다.6 is a flowchart illustrating an image color correction method according to an exemplary embodiment of the present invention.

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

100 : 영상 컬러 보정 장치 110 : 영상 입력부100: image color correction device 110: image input unit

120 : 영역 추출부 121 : 기준 영상 프레임 선택부120: region extraction unit 121: reference image frame selection unit

122 : 영상 프레임 비교부 123 : 움직임 영역 추출부122: image frame comparator 123: motion region extractor

124 : 무채색 영역 추출부 130 : 제1 보상값 추정부124: achromatic region extraction unit 130: first compensation value estimation unit

131 : 기준 채널 선택부 140 : 제2 보상값 추정부131: reference channel selector 140: second compensation value estimator

150 : 색 보정부 151 : 이득값 계산부150: color correction unit 151: gain value calculation unit

160 : 영상 출력부160: video output unit

Claims (16)

입력 영상과 기준 영상을 비교하며, 상기 비교를 통해 상기 입력 영상으로부터 무채색 영역을 추출하는 영역 추출부;A region extraction unit which compares an input image with a reference image and extracts an achromatic region from the input image through the comparison; 상기 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 상기 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값을 추정하는 제1 보상값 추정부;A first compensation value estimator estimating a first compensation value for each color channel to compensate for a difference in color characteristic values of the target channel region selected from the achromatic region in consideration of color characteristic values of the reference channel region selected from the achromatic region; 상기 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 상기 제1 채널과 동일 채널이며 상기 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값을 추정하는 제2 보상값 추정부; 및Estimating a second compensation value for each color channel that compensates for a difference in color characteristic values of a second channel region that is the same channel as the first channel and is selected from the achromatic region in consideration of color characteristic values of the first channel region selected from the reference image; A second compensation value estimator; And 상기 제1 보상값과 상기 제2 보상값으로부터 얻은 이득값으로 상기 입력 영상에서의 색을 보정하는 색 보정부A color corrector configured to correct a color in the input image by using a gain value obtained from the first compensation value and the second compensation value 를 포함하는 것을 특징으로 하는 영상 컬러 보정 장치.Image color correction apparatus comprising a. 제 1 항에 있어서,The method of claim 1, 상기 제1 보상값 추정부는 상기 목적 채널 영역의 색 특성 평균값에 대한 상기 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제1 보상값을 추정하는 것을 특징으로 하는 영상 컬러 보정 장치.And the first compensation value estimator estimates the first compensation value for each color channel by using a ratio value of the average color characteristic of the reference channel region to the average color characteristic of the target channel region. . 제 1 항에 있어서,The method of claim 1, 상기 제2 보상값 추정부는 상기 제2 채널 영역의 색 특성 평균값에 대한 상기 제1 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제2 보상값을 추정하는 것을 특징으로 하는 영상 컬러 보정 장치.The second compensation value estimator estimates the second compensation value for each color channel by using a ratio value of the average color characteristic of the first channel region to the average color characteristic of the second channel region. Correction device. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,4. The method according to any one of claims 1 to 3, 상기 색 보정부는 상기 이득값으로 상기 제1 보상값과 상기 제2 보상값의 곱셈값을 이용하는 것을 특징으로 하는 영상 컬러 보정 장치.And the color corrector uses a multiplication value of the first compensation value and the second compensation value as the gain value. 제 1 항에 있어서,The method of claim 1, 상기 영역 추출부는 상기 기준 영상으로 움직임이 없을 때 최대 밝기값을 가지는 영상을 선택하는 기준 영상 선택부를 포함하는 것을 특징으로 하는 영상 컬러 보정 장치.And the area extractor comprises a reference image selector which selects an image having a maximum brightness value when there is no motion as the reference image. 제 1 항에 있어서,The method of claim 1, 상기 영역 추출부는 상기 입력 영상으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 상기 목적 영역을 무채색 영역으로 추출하는 것을 특징으로 하는 영상 컬러 보정 장치.And extracting the target area into the achromatic region when the target region selected from the input image is included in an achromatic region of a predetermined light source based on a color temperature. 제 1 항에 있어서,The method of claim 1, 상기 영역 추출부는,The area extraction unit, 상기 입력 영상과 상기 기준 영상을 비교하는 영상 비교부;An image comparison unit comparing the input image with the reference image; 상기 비교를 통해 상기 입력 영상으로부터 움직임 영역을 추출하는 움직임 영역 추출부; 및A motion region extractor which extracts a motion region from the input image through the comparison; And 상기 입력 영상에서 상기 추출된 움직임 영역을 제외한 비움직임 영역을 대상으로 상기 무채색 영역을 추출하는 무채색 영역 추출부An achromatic region extraction unit for extracting the achromatic region from the input image to the non-moving region except for the extracted motion region 를 포함하는 것을 특징으로 하는 영상 컬러 보정 장치.Image color correction apparatus comprising a. 제 7 항에 있어서,The method of claim 7, wherein 상기 영상 비교부는 상기 입력 영상과 상기 기준 영상을 블록 단위로 구분하여 비교하며,The image comparison unit classifies and compares the input image and the reference image in block units, 상기 움직임 영역 추출부는 상기 입력 영상에 구비되는 목적 블록과 상기 기준 영상에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 상기 목적 블록을 움직임 영역으로 추출하는 것을 특징으로 하는 영상 컬러 보정 장치.The motion area extractor extracts the object block as a motion area when the difference in the color distribution between the object block included in the input image and the target block included in the reference image is greater than or equal to a predetermined reference value. . 제 1 항에 있어서,The method of claim 1, 상기 영상 컬러 보정 장치는 입력 영상을 복호화시키는 장치에 구비되며, 상기 입력 영상으로 색 보간(color interpolation)된 영상을 이용하는 것을 특징으로 하는 영상 컬러 보정 장치.The image color correction apparatus is provided in a device for decoding an input image, and the image color correction apparatus, characterized in that for using the image interpolated (color interpolated) to the input image. (a) 입력 영상과 기준 영상을 비교하며, 상기 비교를 통해 상기 입력 영상으로부터 무채색 영역을 추출하는 단계;(a) comparing an input image with a reference image and extracting an achromatic region from the input image through the comparison; (b) 상기 무채색 영역으로부터 선택된 기준 채널 영역의 색 특성값을 고려하여 상기 무채색 영역으로부터 선택된 목적 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제1 보상값을 추정하는 단계;(b) estimating a first compensation value for each color channel that compensates for the difference in color characteristic values of the target channel region selected from the achromatic region in consideration of the color characteristic values of the reference channel region selected from the achromatic region; (c) 상기 기준 영상으로부터 선택된 제1 채널 영역의 색 특성값을 고려하여 상기 제1 채널과 동일 채널이며 상기 무채색 영역으로부터 선택된 제2 채널 영역의 색 특성값 차이를 보상시키는 색 채널별 제2 보상값을 추정하는 단계; 및(c) second compensation for each color channel considering the color characteristic value of the first channel region selected from the reference image to compensate for the difference in color characteristic values of the second channel region identical to the first channel and selected from the achromatic region; Estimating a value; And (d) 상기 제1 보상값과 상기 제2 보상값으로부터 얻은 이득값으로 상기 입력 영상에서의 색을 보정하는 단계(d) correcting a color in the input image using a gain value obtained from the first compensation value and the second compensation value; 를 포함하는 것을 특징으로 하는 영상 컬러 보정 방법.Image color correction method comprising the. 제 10 항에 있어서,11. The method of claim 10, 상기 (b) 단계는 상기 목적 채널 영역의 색 특성 평균값에 대한 상기 기준 채널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제1 보상값을 추정하는 것을 특징으로 하는 영상 컬러 보정 방법.And (b) estimating the first compensation value for each color channel by using a ratio value of the average color characteristic of the reference channel region to the average color characteristic of the target channel region. 제 10 항에 있어서,11. The method of claim 10, 상기 (c) 단계는 상기 제2 채널 영역의 색 특성 평균값에 대한 상기 제1 채 널 영역의 색 특성 평균값의 비율값을 이용하여 색 채널별로 상기 제2 보상값을 추정하는 것을 특징으로 하는 영상 컬러 보정 방법.In the step (c), the second compensation value is estimated for each color channel by using a ratio value of the average color characteristic of the first channel area to the average color characteristic of the second channel area. Calibration method. 제 10 항에 있어서,11. The method of claim 10, 상기 (d) 단계는 상기 이득값으로 상기 제1 보상값과 상기 제2 보상값의 곱셈값을 이용하는 것을 특징으로 하는 영상 컬러 보정 방법.In the step (d), the multiplication value of the first compensation value and the second compensation value is used as the gain value. 제 10 항에 있어서,11. The method of claim 10, 상기 (a) 단계는 상기 기준 영상으로 움직임이 없을 때 최대 밝기값을 가지는 영상을 선택하며, 상기 입력 영상으로부터 선택된 목적 영역이 색온도에 기반하여 미리 정해진 광원의 무채색 영역에 포함되면 상기 목적 영역을 무채색 영역으로 추출하는 것을 특징으로 하는 영상 컬러 보정 방법.In the step (a), the image having the maximum brightness value is selected when there is no motion as the reference image, and when the target region selected from the input image is included in the achromatic region of the predetermined light source based on the color temperature, the target region is achromatic. Image color correction method characterized in that the extraction to the area. 제 10 항에 있어서,11. The method of claim 10, 상기 (a) 단계는,In step (a), (aa) 상기 입력 영상과 상기 기준 영상을 블록 단위로 구분하여 비교하는 단계;(aa) comparing the input image with the reference image by dividing the data in blocks; (ab) 상기 비교를 통해 상기 입력 영상으로부터 움직임 영역을 추출하되, 상기 입력 영상에 구비되는 목적 블록과 상기 기준 영상에 구비되는 대상 블록 간의 색분포 차이값이 미리 정해진 기준값 이상일 경우 상기 목적 블록을 움직임 영역으 로 추출하는 단계; 및(ab) extracting a motion region from the input image through the comparison, and moving the target block when the difference in the color distribution between the target block included in the input image and the target block included in the reference image is greater than or equal to a predetermined reference value. Extracting into regions; And (ac) 상기 입력 영상에서 상기 추출된 움직임 영역을 제외한 비움직임 영역을 대상으로 상기 무채색 영역을 추출하는 단계(ac) extracting the achromatic region from the input image in the non-moving region except for the extracted movement region 를 포함하는 것을 특징으로 하는 영상 컬러 보정 방법.Image color correction method comprising the. 컴퓨터로 판독 가능한 기록매체에 있어서,In a computer-readable recording medium, 제 10 항 내지 제 15 항 중 어느 한 항에 따른 방법을 구현하는 프로그램이 기록된 기록매체.A recording medium having recorded thereon a program for implementing the method according to any one of claims 10 to 15.
KR1020090110688A 2009-11-17 2009-11-17 Apparatus and method for compensating color of image, and the recording media storing the program performing the said method KR101068653B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090110688A KR101068653B1 (en) 2009-11-17 2009-11-17 Apparatus and method for compensating color of image, and the recording media storing the program performing the said method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090110688A KR101068653B1 (en) 2009-11-17 2009-11-17 Apparatus and method for compensating color of image, and the recording media storing the program performing the said method

Publications (2)

Publication Number Publication Date
KR20110054145A true KR20110054145A (en) 2011-05-25
KR101068653B1 KR101068653B1 (en) 2011-09-28

Family

ID=44363391

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090110688A KR101068653B1 (en) 2009-11-17 2009-11-17 Apparatus and method for compensating color of image, and the recording media storing the program performing the said method

Country Status (1)

Country Link
KR (1) KR101068653B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018194318A1 (en) * 2017-04-17 2018-10-25 삼성전자 주식회사 Electronic apparatus for correcting color temperature of captured image using reference color information corresponding to external object, and method for controlling electronic apparatus
KR20190008070A (en) * 2017-07-13 2019-01-23 삼성전자주식회사 Electronics apparatus, Display apparatus and contorl method thereof
CN111955004A (en) * 2018-06-18 2020-11-17 Jvc建伍株式会社 Color correction device
CN114697629A (en) * 2020-12-25 2022-07-01 惠州视维新技术有限公司 White balance processing method and device, storage medium and terminal equipment
JP7171969B1 (en) * 2019-11-06 2022-11-15 コーニンクレッカ フィリップス エヌ ヴェ System for performing motion compensation of images

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102558472B1 (en) 2018-02-07 2023-07-25 삼성전자주식회사 Electronic device for conrolling display of content and operating method thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10145627A (en) 1996-09-10 1998-05-29 Dainippon Screen Mfg Co Ltd Image contrast adjustment method, device therefor and storage medium recording program
KR101031553B1 (en) * 2004-07-08 2011-04-27 삼성전자주식회사 Digital video camera for compensating white balance automatically and method thereof
JP4442664B2 (en) 2007-08-31 2010-03-31 ブラザー工業株式会社 Image processing apparatus, image processing method, and image processing program
KR101367199B1 (en) * 2007-09-07 2014-02-27 삼성전자주식회사 Image display device and method for revising display character thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018194318A1 (en) * 2017-04-17 2018-10-25 삼성전자 주식회사 Electronic apparatus for correcting color temperature of captured image using reference color information corresponding to external object, and method for controlling electronic apparatus
US11252389B2 (en) 2017-04-17 2022-02-15 Samsung Electronics Co., Ltd. Electronic apparatus for correcting color temperature of captured image using reference color information corresponding to external object, and method for controlling electronic apparatus
KR20190008070A (en) * 2017-07-13 2019-01-23 삼성전자주식회사 Electronics apparatus, Display apparatus and contorl method thereof
CN111955004A (en) * 2018-06-18 2020-11-17 Jvc建伍株式会社 Color correction device
CN111955004B (en) * 2018-06-18 2022-02-25 Jvc建伍株式会社 Color correction device
JP7171969B1 (en) * 2019-11-06 2022-11-15 コーニンクレッカ フィリップス エヌ ヴェ System for performing motion compensation of images
CN114697629A (en) * 2020-12-25 2022-07-01 惠州视维新技术有限公司 White balance processing method and device, storage medium and terminal equipment
CN114697629B (en) * 2020-12-25 2023-10-20 惠州视维新技术有限公司 White balance processing method and device, storage medium and terminal equipment

Also Published As

Publication number Publication date
KR101068653B1 (en) 2011-09-28

Similar Documents

Publication Publication Date Title
US9247153B2 (en) Image processing apparatus, method and imaging apparatus
US10672134B2 (en) Image processing apparatus, imaging apparatus, image processing method, and storage medium storing image processing program
CN110022469B (en) Image processing method, image processing device, storage medium and electronic equipment
US8417032B2 (en) Adjustment of image luminance values using combined histogram
KR100467610B1 (en) Method and apparatus for improvement of digital image quality
US8311282B2 (en) Image processing apparatus, image processing method, and program
US7538822B2 (en) Apparatus and method for filtering digital image signal
KR101068653B1 (en) Apparatus and method for compensating color of image, and the recording media storing the program performing the said method
RU2496250C1 (en) Image processing apparatus and method
CN107533756B (en) Image processing device, imaging device, image processing method, and storage medium storing image processing program for image processing device
KR100925629B1 (en) METHOD FOR AUTO WHITE BALANCE IN YCbCr COLOR SPACE
US9978128B2 (en) Image processing appartatus and method, recording medium storing image processing program readable by computer, and imaging apparatus
JP4539432B2 (en) Image processing apparatus and imaging apparatus
KR20110016812A (en) Photographing apparatus and photographing method
JP2014010776A (en) Image processing apparatus, image processing method, and program
US7932939B2 (en) Apparatus and method for correcting blurred images
KR20130000665A (en) Method and apparatus for detecting and compensating back light frame
KR20100067268A (en) Apparatus and method for adjusting auto white balance using effective area
KR100915598B1 (en) Automatic white balance apparatus and method thereof
KR20150040559A (en) Apparatus for Improving Image Quality and Computer-Readable Recording Medium with Program Therefor
JP4265986B2 (en) Image processing method, apparatus, and program
JP2008048031A (en) Image processor and image processing method
JP2002152669A (en) Moving picture processor, moving picture processing method and recording medium
JP2010130392A (en) Image processor
KR20060105809A (en) Contrast improvement apparatus using hostogram modeling

Legal Events

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

Payment date: 20140515

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150922

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160919

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee