KR101488641B1 - Image processing apparatus and Image processing method - Google Patents

Image processing apparatus and Image processing method Download PDF

Info

Publication number
KR101488641B1
KR101488641B1 KR20140082704A KR20140082704A KR101488641B1 KR 101488641 B1 KR101488641 B1 KR 101488641B1 KR 20140082704 A KR20140082704 A KR 20140082704A KR 20140082704 A KR20140082704 A KR 20140082704A KR 101488641 B1 KR101488641 B1 KR 101488641B1
Authority
KR
South Korea
Prior art keywords
image
input image
component
data
unit
Prior art date
Application number
KR20140082704A
Other languages
Korean (ko)
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 KR20140082704A priority Critical patent/KR101488641B1/en
Application granted granted Critical
Publication of KR101488641B1 publication Critical patent/KR101488641B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/90Dynamic range modification of images or parts thereof
    • G06T5/92Dynamic range modification of images or parts thereof based on global image properties
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/40Analysis of texture
    • G06T7/41Analysis of texture based on statistical description of texture

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Processing (AREA)

Abstract

The present invention relates to an image processing apparatus. The image processing apparatus according to an embodiment of the present invention includes: an image decomposition unit which separates the brightness data of an input image into a luminance component and a reflection component; an image correction unit which calculates the gamma curve by using the luminance component and corrects the input image by using the gamma curve; and a detail enhancement unit which uses the reflection component to enhance the details of the corrected input image.

Description

영상처리장치 및 영상처리방법{Image processing apparatus and Image processing method}[0001] The present invention relates to an image processing apparatus and an image processing method,

실시 예는 영상처리장치에 관한 것이다.An embodiment relates to an image processing apparatus.

실시 예는 영상처리방법에 관한 것이다.An embodiment relates to an image processing method.

최근 고성능 영상처리장치의 요구가 커짐에 따라 다양한 환경에서 우수한 화질의 영상을 얻기 위한 영상처리 기술들이 개발되고 있다.Recently, as the demand of high performance image processing apparatus has increased, image processing techniques for obtaining a high quality image in various environments have been developed.

그러나 상기 영상을 획득하기 위한 이미지 센서는 다이나믹 레인지(Dynamic range)의 한계로 인해 밝은 영역과 어두운 영역의 정보를 함께 표현할 수 없는 문제점이 있다.However, the image sensor for acquiring the image has a problem that information of a bright region and a dark region can not be expressed together due to a limitation of a dynamic range.

상기 다이나믹 레인지는 영상에서 가장 밝은 영역과 가장 어두운 영역의 밝기 비율을 뜻한다. 상기 영상을 획득하기 위한 이미지 센서에 사용되는 다이나믹 레인지는 실 세계 장면의 밝기범위를 모두 표현할 수 없다.The dynamic range means a brightness ratio of the brightest region and the darkest region in the image. The dynamic range used in the image sensor for acquiring the image can not express all the brightness range of the real world scene.

종래에는 상기 다이나믹 레인지를 보정하기 위해 감마커브를 사용하여 영상의 밝은 영역과 어두운 영역을 개선하였으나, 상기 감마커브를 이용한 영상 개선의 경우 어두운 영역에서 과도한 개선이 발생할 수 있으며, 밝은 영역에서는 영상을 포화시키는 문제점이 있다.Conventionally, in order to correct the dynamic range, a gamma curve is used to improve a bright region and a dark region of the image. However, in the image enhancement using the gamma curve, excessive improvement may occur in the dark region, .

실시 예는 저조도영역에서의 화질을 개선하는 영상처리장치를 제공한다.The embodiment provides an image processing apparatus for improving image quality in a low-illuminance region.

실시 예는 영상의 디테일을 개선할 수 있는 영상처리방법을 제공한다. The embodiment provides an image processing method capable of improving detail of an image.

실시 예에 따른 영상처리장치는, 입력영상의 명도데이터에서 조도 성분을 추출하는 영상 분해부; 및 상기 조도성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정하는 영상 보정부를 포함한다.An image processing apparatus according to an embodiment includes an image decomposition unit for extracting an illumination component from brightness data of an input image; And an image correcting unit for calculating a gamma curve using the roughness component and correcting the input image by the gamma curve.

상기 영상 보정부는 상기 입력영상의 저조도 영역에서 비교적 큰 값의 보정을 수행하고, 상기 입력영상의 고조도 영역에서 비교적 작은 값의 보정을 수행할 수 있다.The image correction unit may perform a relatively large correction in a low-illuminance area of the input image, and may perform a correction of a relatively small value in a high-illuminance area of the input image.

상기 영상 보정부는

Figure 112014062605110-pat00001
에 의해 영상을 보정하고, 상기 r은 상기 입력영상의 조도성분에 의해 결정되는 가중치일 수 있다.The image correction unit
Figure 112014062605110-pat00001
And r may be a weight determined by the illuminance component of the input image.

상기 가중치는

Figure 112014062605110-pat00002
에 의해 연산되고, 상기 μ는 오프셋 값일 수 있다.The weight
Figure 112014062605110-pat00002
, And the μ may be an offset value.

상기 오프셋 값은 상기 조도성분 전체의 평균값일 수 있다.The offset value may be an average value of the entire illuminance component.

상기 영상 분해부는 상기 입력영상의 명도 데이터를 상기 조도 성분 및 반사성분으로 분리할 수 있다.The image decomposition unit may divide brightness data of the input image into the illumination component and the reflection component.

상기 보정된 입력영상의 디테일을 개선하는 디테일 개선부를 더 포함할 수 있다.And a detail improvement unit for improving the details of the corrected input image.

상기 디테일 개선부는 상기 영상 분해부에서 추출된 반사성분을 이용하여 상기 보정된 입력영상의 디테일을 개선할 수 있다.The detail improvement unit may improve the details of the corrected input image using the reflection component extracted from the image decomposition unit.

상기 디테일 개선부는 상기 보정된 입력영상의 에지 영역을 개선할 수 있다.The detail improvement unit may improve an edge area of the corrected input image.

상기 입력 영상의 RGB 데이터를 HSV 데이터로 변환하는 HSV 변환부를 더 포함할 수 있다.And an HSV converter for converting RGB data of the input image into HSV data.

상기 보정된 입력영상의 HSV 데이터를 RGB 데이터로 변환하는 RGB 변환부를 더 포함할 수 있다.And an RGB converter for converting the HSV data of the corrected input image into RGB data.

실시 예에 따른 영상처리방법은 입력영상의 명도 데이터에서 조도 성분을 추출하는 단계; 및 상기 조도성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정하는 단계를 포함할 수 있다.According to an embodiment of the present invention, there is provided an image processing method comprising: extracting an illuminance component from brightness data of an input image; And calculating a gamma curve using the roughness component, and correcting the input image by the gamma curve.

상기 입력영상을 보정하는 단계는,

Figure 112014062605110-pat00003
에 의해 영상을 보정하고, 상기 r은 상기 입력영상의 조도성분에 의해 결정되는 가중치일 수 있다.Wherein the step of correcting the input image comprises:
Figure 112014062605110-pat00003
And r may be a weight determined by the illuminance component of the input image.

상기 보정된 입력영상의 디테일을 개선하는 단계를 더 포함할 수 있다.And further improving the details of the corrected input image.

실시 예에 따른 영상처리장치는 조도성분을 이용하여 감마커브를 산출하고, 이를 통해 입력영상을 보정하여 저조도 영역에서의 화질을 개선할 수 있다.The image processing apparatus according to the embodiment can calculate the gamma curve using the illuminance component and correct the input image thereby improving the image quality in the low-illuminance region.

실시 예에 따른 영상처리방법은 반사성분을 이용하여 보정된 입력영상의 디테일을 개선하여 화상품질을 향상시킬 수 있다.The image processing method according to the embodiment can improve the image quality by improving the detail of the input image corrected using the reflection component.

도 1은 제1 실시 예에 따른 영상처리장치를 나타내는 도면이다.
도 2는 제1 실시 예에 따라 분리된 영상을 나타내는 도면이다.
도 3은 제1 실시 예에 따른 영상 보정부에서 산출한 감마커브를 나타내는 도면이다.
도 4는 제1 실시 예에 따라 보정된 영상을 나타내는 도면이다.
도 5는 제2 실시 예에 따른 영상처리장치를 나타내는 블록도이다.
도 6은 제2 실시 예에 따른 영상처리장치의 디테일 개선부에 의해 개선된 영상을 나타내는 도면이다.
도 7은 실시 예에 따른 영상처리방법을 나타내는 순서도이다.
도 8은 실시 예에 따라 영상처리를 수행한 후의 개선된 영상을 나타내는 도면이다.
1 is a view showing an image processing apparatus according to the first embodiment.
2 is a view showing an image separated according to the first embodiment.
3 is a diagram showing a gamma curve calculated by the image correction unit according to the first embodiment.
4 is a view showing an image corrected according to the first embodiment.
5 is a block diagram showing an image processing apparatus according to the second embodiment.
6 is a diagram illustrating an image enhanced by the detail improvement unit of the image processing apparatus according to the second embodiment.
7 is a flowchart showing an image processing method according to the embodiment.
8 is a diagram showing an improved image after performing image processing according to an embodiment.

이하에서는 도면을 참조하여 본 발명의 구체적인 실시예를 상세하게 설명한다. 다만, 본 발명의 사상은 제시되는 실시예에 제한되지 아니하고, 본 발명의 사상을 이해하는 당업자는 동일한 사상의 범위 내에서 다른 구성요소를 추가, 변경, 삭제 등을 통하여, 퇴보적인 다른 발명이나 본 발명 사상의 범위 내에 포함되는 다른 실시예를 용이하게 제안할 수 있을 것이나, 이 또한 본원 발명 사상 범위 내에 포함된다고 할 것이다.
Hereinafter, specific embodiments of the present invention will be described in detail with reference to the drawings. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the inventive concept. Other embodiments falling within the scope of the inventive concept may readily be suggested, but are also considered to be within the scope of the present invention.

또한, 각 실시예의 도면에 나타나는 동일한 사상의 범위 내의 기능이 동일한 구성요소는 동일한 참조부호를 사용하여 설명한다.
The same reference numerals are used to designate the same components in the same reference numerals in the drawings of the embodiments.

도 1은 제1 실시 예에 따른 영상처리장치를 나타내는 도면이다.1 is a view showing an image processing apparatus according to the first embodiment.

도 1을 참조하면, 제1 실시 예에 따른 영상처리장치(1)는 HSV변환부(10), 영상 분해부(20), 영상 보정부(30) 및 RGB 변환부(40)를 포함할 수 있다.1, the image processing apparatus 1 according to the first embodiment may include an HSV conversion unit 10, an image decomposition unit 20, an image correction unit 30, and an RGB conversion unit 40 have.

상기 영상처리장치(1)에는 입력영상이 입력된다. 상기 입력영상은 RGB데이터로 입력된다.An input image is input to the image processing apparatus 1. The input image is input as RGB data.

상기 HSV변환부(10)는 상기 RGB데이터로 구성된 입력영상을 HSV데이터로 변환한다. 상기 HSV데이터에서, H는 색상(Hue), S는 채도(Saturation), V는 명도(Value)를 의미한다. 상기 H(Hue)는 0°이상이고 360°미만인 값을 가지고, S(Saturation)은 0 이상이고 1 이하인 값을 가지며, V(Value)는 0 이상이고 1 이하인 값을 가진다. 상기 HSV 변환부(10)는 수학식 1 내지 6과 같이 RGB 데이터의 입력영상을 HSV 데이터로 변환한다.The HSV converter 10 converts the input image composed of the RGB data into HSV data. In the HSV data, H means Hue, S means Saturation, and V means Value. The H (Hue) has a value of 0 ° or more and less than 360 °, S (Saturation) has a value of 0 or more and 1 or less, and V (Value) has a value of 0 or more and 1 or less. The HSV converting unit 10 converts the input image of RGB data into HSV data as shown in Equations (1) to (6).

Figure 112014062605110-pat00004
Figure 112014062605110-pat00004

상기 수학식 1을 이용하여 V를 산출할 수 있으며, 상기 HSV변환부(10)를 통해 구해진 V를 영상 분해부(20)로 전달한다. 상기 영상 분해부(20)는 상기 HSV 데이터 중 명도(V) 데이터에서 레티넥스(Retinex) 이론에 따라 조도(Illumination) 성분을 추출할 수 있다. 상기 영상분해부(20)는 상기 명도(V) 데이터 중 조도성분을 추출하여 상기 영상 보정부(30)로 전달할 수 있다.V can be calculated using Equation (1), and the V obtained through the HSV converter 10 is transferred to the image decomposition unit 20. The image decomposition unit 20 may extract an illumination component from the luminance (V) data of the HSV data according to the Retinex theory. The image decomposition unit 20 may extract an illumination component from the brightness V data and transmit the extracted illumination component to the image correction unit 30.

상기 레티넥스 이론은 인간의 망막에 의해 인식되는 특정영역의 색과 밝기는 조명의 강도와는 무관하며, 주변 영역의 값과의 비율에 의해 결정된다는 이론으로 현재 화소의 값과 주변화소의 비율을 차이로 변환하기 위해 로그함수를 사용하고, 상기 입력영상의 명도 데이터(V)는 수학식 8에 의해 조도(Illumination) 성분과 반사(reflectance) 성분으로 분리할 수 있다.The Retinex Theory is based on the theory that the color and brightness of a specific region recognized by a human retina are independent of the intensity of the illumination and are determined by the ratio to the value of the surrounding region. The logarithmic function is used to convert the brightness data (V) of the input image into an illumination component and a reflectance component according to Equation (8).

Figure 112014062605110-pat00005
Figure 112014062605110-pat00005

상기 수학식 2에서 상기 V(x,y)는 입력영상의 명도 데이터를 의미하고, 상기I(x,y)는 입력영상의 명도 데이터의 조도 성분을 의미하고, 상기 R(x,y)는 입력영상의 명도 데이터의 반사성분을 의미하며, x와 y는 영상안에 존재하는 화소의 좌표를 의미한다.In Equation (2), V (x, y) denotes brightness data of the input image, I (x, y) denotes an illuminance component of brightness data of the input image, and R Means the reflection component of the brightness data of the input image, and x and y denote the coordinates of the pixel existing in the image.

상기 수학식 2에 의해 입력영상의 명도 데이터(V)는 도 2와 같이 조도 성분과 반사성분으로 분리될 수 있다.The brightness data (V) of the input image can be separated into an illuminance component and a reflection component according to Equation (2) as shown in FIG.

상기 입력영상의 조도 성분은 하기의 수학식 3에 의해 산출될 수 있다.The illuminance component of the input image can be calculated by the following equation (3).

Figure 112014062605110-pat00006
Figure 112014062605110-pat00006

상기 수학식 3에서 G(x,y)는 가우시안 함수로 하기의 수학식 4로 연산될 수 있다.In Equation (3), G (x, y) can be calculated by the following Equation (4) as a Gaussian function.

Figure 112014062605110-pat00007
Figure 112014062605110-pat00007

상기 수학식 4에서 κ는 정규화 상수를 의미하고, σ는 표준편차를 의미한다.In Equation (4), κ denotes a normalization constant, and σ denotes a standard deviation.

상기 영상 분해부(20)는 상기 조도 성분을 상기 영상 보정부(30)로 전달한다. 상기 영상 보정부(30)는 상기 입력영상의 명도 데이터의 조도 성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정한다. 상기 영상 보정부 (30)는 상기 조도 성분을 기반으로 상기 감마커브를 산출할 수 있다.The image decomposition unit 20 transmits the illumination component to the image correction unit 30. The image correcting unit 30 calculates a gamma curve using the illuminance component of the brightness data of the input image, and corrects the input image by the gamma curve. The image correction unit 30 may calculate the gamma curve based on the illumination component.

상기 영상 보정부 (30)는 하기 수학식 5에 의해 감마커브를 산출할 수 있다.The image correcting unit 30 may calculate a gamma curve by the following equation (5).

Figure 112014062605110-pat00008
Figure 112014062605110-pat00008

상기 수학식 5에서 V'(x,y)는 보정 후의 입력영상의 명도 데이터를 의미한다.상기 수학식 5에서 r은 가중치를 의미한다. 상기 가중치(r)는 상기 영상의 조도성분에 의해 결정된다. 상기 가중치(r)는 하기의 수학식 6에 의해 산출될 수 있다.In Equation (5), V '(x, y) denotes brightness data of the corrected input image. In Equation (5), r denotes a weight. The weight r is determined by the illuminance component of the image. The weight r can be calculated by the following equation (6).

Figure 112014062605110-pat00009
Figure 112014062605110-pat00009

상기 수학식 6에서 μ는 오프셋 값을 의미한다. 상기 오프셋 값은 상기 조도 성분 전체의 평균값일 수 있다. 상기 가중치(r)는 각각의 화소의 조도성분을 반영한다. 상기 수학식 5 및 수학식 6에 의해 상기 가중치(r)가 큰 값을 가지면, 상기 보정 후의 명도 데이터(V`(x,y))는 보정전의 명도 데이터(V(x,y))에 비해 차이가 큰 값을 가지고, 상기 가중치(r)가 작은 값을 가지면, 상기 보정 후의 명도 데이터(V`(x,y))는 보정 전의 명도 데이터(V(x,y))에 비해 차이가 작은 값을 가진다.In Equation (6),? Denotes an offset value. The offset value may be an average value of the entire illuminance component. The weight r reflects the illuminance component of each pixel. The corrected brightness data V '(x, y) is compared with the brightness data V (x, y) before correction if the weight r has a large value according to Equations 5 and 6, (X, y) after the correction has a smaller value than the brightness data V (x, y) before correction, if the difference has a large value and the weight r has a small value. Value.

상기 영상 보정부(30)는 보정된 영상 데이터를 상기 RGB 변환부(40)로 전달할 수 있다.The image correction unit 30 may transmit the corrected image data to the RGB conversion unit 40. [

상기 영상 보정부(30)에 의해 보정된 영상데이터는 개선된 V가 반영된 HSV 데이터이므로, 상기 RGB 변환부(40)는 상기 HSV 데이터로 구성된 보정된 영상 데이터를 RGB 데이터로 변환하여 출력한다.
Since the image data corrected by the image correction unit 30 is HSV data reflecting the improved V, the RGB conversion unit 40 converts the corrected image data composed of the HSV data into RGB data and outputs the RGB data.

도 4는 제1 실시 예에 따라 보정된 영상을 나타내는 도면이다.4 is a view showing an image corrected according to the first embodiment.

도 4를 참조하면, 입력영상을 종래의 감마커브를 적용하여 보정한 영상과 제1 실시 예에 따른 감마커브를 적용한 영상을 비교하면, 상기 제1 실시 예에 따른 감마커브를 적용한 영상이 저조도 영역에서 밝은 영상으로 보정되어 출력되고, 고조도 영역에서는 입력영상과 유사한 영상으로 출력된다.4, when an image obtained by correcting an input image by applying a conventional gamma curve and an image obtained by applying a gamma curve according to the first embodiment are compared with each other, And is outputted as an image similar to the input image in the high contrast region.

상기 제1 실시 예에 따른 영상의 보정의 경우 저조도 영역에서는 밝은 영상으로 보정되어 디테일이 드러나게 되고, 고조도 영역에서는 입력영상과 유사한 영상으로 출력되어 디테일이 유지되는 효과가 있다.
In the case of the correction of the image according to the first embodiment, the bright image is corrected to a bright image to reveal the detail, and in the high image area, the image is outputted as an image similar to the input image to maintain the detail.

도 5는 제2 실시 예에 따른 영상처리장치를 나타내는 블록도이다.5 is a block diagram showing an image processing apparatus according to the second embodiment.

제2 실시 예에 따른 영상처리장치는 제1 실시 예와 비교하여 디테일 개선부를 더 포함하는 것 이외에는 제1 실시 예와 동일하다. 따라서, 제2 실시 예를 설명함에 있어서, 제1 실시 예와 공통되는 구성에 대해서는 동일한 도면번호를 부여하고 상세한 설명을 생략한다.The image processing apparatus according to the second embodiment is the same as the first embodiment except that it further includes a detail improvement unit as compared with the first embodiment. Therefore, in describing the second embodiment, the same reference numerals are assigned to the same components as those of the first embodiment, and a detailed description thereof is omitted.

도 5를 참조하면, 제2 실시 예에 따른 영상처리장치는 HSV 변환부(10), 영상분해부(20), 영상 보정부(30), 디테일 개선부(35) 및 RGB 변환부(40)를 포함할 수 있다.5, the image processing apparatus according to the second embodiment includes an HSV conversion unit 10, an image decomposition unit 20, an image correction unit 30, a detail improvement unit 35, and an RGB conversion unit 40, . ≪ / RTI >

상기 HSV변환부(10)는 상기 RGB데이터로 구성된 입력영상을 HSV데이터로 변환한다.The HSV converter 10 converts the input image composed of the RGB data into HSV data.

상기 영상 분해부(20)는 상기 HSV 데이터 중 명도(V) 데이터를 레티넥스(Retinex) 이론에 따라 조도(Illumination) 성분을 추출할 수 있다. 상기 영상분해부(20)는 상기 명도(V) 데이터 중 조도성분을 추출하여 상기 영상 보정부(30)로 전달할 수 있다.The image decomposition unit 20 may extract illumination (V) data from the HSV data according to the Retinex theory. The image decomposition unit 20 may extract an illumination component from the brightness V data and transmit the extracted illumination component to the image correction unit 30.

상기 영상 보정부(30)는 상기 입력영상의 명도 데이터의 조도 성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정한다.The image correcting unit 30 calculates a gamma curve using the illuminance component of the brightness data of the input image, and corrects the input image by the gamma curve.

상기 영상 보정부(30)는 보정된 영상 데이터를 상기 디테일 개선부(35)로 전달할 수 있다.The image correction unit 30 may transmit the corrected image data to the detail improvement unit 35. [

상기 디테일 개선부(35)는 상기 영상 분해부(20)에서 획득한 반사성분을 이용하여 상기 보정된 영상 데이터의 디테일을 개선한다.The detail improvement unit 35 improves the details of the corrected image data using the reflection component acquired by the image decomposition unit 20. [

Figure 112014062605110-pat00010
Figure 112014062605110-pat00010

상기 디테일 개선부(35)는 상기 수학식 7에 의해 영상 데이터의 디테일을 개선하고, 개선된 영상 데이터(D(x,y))를 상기 RGB 변환부(40)로 출력한다. 상기 수학식 7을 참조하면, 상기 디테일 개선부(35)는 보정 후의 명도 데이터(V`(x,y))와 입력영상의 반사성분(R(x,y))의 로그 값을 합하여 개선된 영상 데이터(D(x,y))를 산출할 수 있다.The detail improvement unit 35 improves the detail of the image data according to Equation (7) and outputs the improved image data D (x, y) to the RGB conversion unit 40. Referring to Equation (7), the detail improvement unit 35 calculates the brightness of the input image by adding the corrected brightness data V '(x, y) and the logarithm of the reflection component R (x, y) It is possible to calculate the image data D (x, y).

상기 반사성분(R(x,y))은 영상의 에지 영역과 같은 고주파성분을 포함하므로, 상기 디테일 개선부(35)는 상기 반사성분(R(x,y))으로 상기 보정 후의 명도 데이터(V`(x,y))를 개선함으로써 영상의 에지 영역을 개선할 수 있다.Since the reflection component R (x, y) includes a high frequency component such as an edge area of the image, the detail improvement unit 35 corrects the brightness data (R (x, y) V '(x, y)), thereby improving the edge area of the image.

도 6은 제2 실시 예에 따른 영상처리장치의 디테일 개선부에 의해 개선된 영상을 나타내는 도면이다.6 is a diagram illustrating an image enhanced by the detail improvement unit of the image processing apparatus according to the second embodiment.

제2 실시 예의 상기 영상 보정부(30)에 의해 보정 후의 명도 데이터(V`(x,y))에 상기 디테일 개선부(35)는 상기 반사성분(R(x,y))의 로그 값을 더하여 디테일이 개선된 개선 영상 데이터(D(x,y))를 얻을 수 있다.The detail improvement section 35 applies the logarithm of the reflection component R (x, y) to the brightness data V '(x, y) after the correction by the image correction section 30 of the second embodiment In addition, improved image data D (x, y) with improved detail can be obtained.

상기 디테일 개선부(35)에 의해 영상의 에지영역이 명확해지는 등의 디테일이 개선되어 선명한 보정영상을 출력할 수 있다.The details such as the edge area of the image being clarified by the detail improvement unit 35 are improved and a clear corrected image can be outputted.

표 1은 제2 실시 예에 따른 영상처리장치에 의해 보정된 영상의 화질 개선 정도를 나타내는 표이다.Table 1 is a table showing the degree of image quality improvement of the image corrected by the image processing apparatus according to the second embodiment.

영상처리방법Image processing method VCM값VCM value 기존영상Existing video 0.011080.01108 MSRCRMSRCR 0.020770.02077 NRCIRNRCIR 0.020270.02027 제2 실시 예Second Embodiment 0.023080.02308

상기 표 1에서 VCM값(Visual contrast measure)은 육안으로 관찰할 수 있는 밝기와 명암을 수치화한 값이다. 상기 VCM값은 수학식 8에 의해 연산될 수 있다.In Table 1, the VCM value (visual contrast measure) is a numerical value of brightness and contrast which can be observed with the naked eye. The VCM value may be calculated by Equation (8).

Figure 112014062605110-pat00011
Figure 112014062605110-pat00011

상기 수학식 8에서 N은 마스크의 개수를 의미하고 영상의 전체 화소수와 동일하다. i는 상기 마스크의 인덱스를 의미하며, si는 상기 인덱스를 가지는 마스크의 표준편차를 의미하고, mi는 상기 인덱스를 가지는 마스크의 평균값을 의미한다.In Equation (8), N denotes the number of masks and is equal to the total number of pixels of the image. i denotes an index of the mask, s i denotes a standard deviation of the mask having the index, and m i denotes an average value of the mask having the index.

상기 표 1에서 MSRCR(Multi Scale Retinex with Color Restoration)과 NRCIR(Natural Rendering of Color Image based on Retinex)은 종래의 영상 개선방법의 종류이다.In Table 1, MSRCR (Multi Scale Retinex with Color Restoration) and NRCIR (Natural Rendering of Color Image Based on Retinex) are types of conventional image enhancement methods.

상기 표 1을 참조하면, 기존영상에 비해 MSRCR, NRCIR 및 제2 실시 예는 모두 높은 VCM값을 가지므로, 기존영상에 비해 모두 명암이 개선된 방법임을 확인할 수 있다. 다만, MSRCR 및 NRCIR의 영상개선방법에 비해 제2 실시 예에 따른 영상개선방법은 더 큰 VCM값을 가지므로, 기존 영상개선방법에 비해 상기 제2 실시 예에 따른 영상 개선방법이 더 선명한 화질을 출력할 수 있음을 확인할 수 있다.Referring to Table 1, since the MSRCR, the NRCIR, and the second embodiment have higher VCM values than the existing image, it can be confirmed that the method is improved in contrast compared to the existing image. However, since the image enhancement method according to the second embodiment has a larger VCM value than the image enhancement method of the MSRCR and the NRCIR, the image enhancement method according to the second embodiment has a clearer image quality than the conventional image enhancement method Can be output.

표 2는 제2 실시 예에 따른 영상처리장치의 처리속도를 나타내는 표이다.Table 2 is a table showing the processing speed of the image processing apparatus according to the second embodiment.

영상처리방법Image processing method 평균 처리속도(50 images)Average throughput (50 images) MSRCRMSRCR 4.3920 sec.4.3920 sec. NCRIRNCRIR 0.8497 sec.0.8497 sec. 제2 실시 예Second Embodiment 0.2042 sec.0.2042 sec.

상기 표 2에서 상기 처리속도는 50개의 영상의 평균처리속도를 나타낸다.In Table 2, the processing speed represents an average processing speed of 50 images.

표 2를 참조하면, MSRCR 및 NCRIR에 비해 상기 제2 실시 예에 따른 영상처리장치에서 수행되는 영상 개선방법의 처리속도가 빠른 것을 확인할 수 있다. 따라서, 제2 실시 예에 따른 영상처리장치(1)는 종래의 영상개선방법보다 빠른 속도로 영상을 처리할 수 있는 효과가 있다.
Referring to Table 2, it can be seen that the processing speed of the image enhancement method performed in the image processing apparatus according to the second embodiment is faster than that of MSRCR and NCRIR. Accordingly, the image processing apparatus 1 according to the second embodiment has an effect of processing images at a higher speed than the conventional image improving method.

도 7은 실시 예에 따른 영상처리방법을 나타내는 순서도이다.7 is a flowchart showing an image processing method according to the embodiment.

도 7을 참조하면, 실시 예에 따른 영상처리방법은 입력영상을 HSV 데이터로 변환하는 단계를 포함한다. (S110)Referring to FIG. 7, an image processing method according to an embodiment includes converting an input image into HSV data. (S110)

상기 HSV변환부(10)는 RGB 데이터의 입력영상을 입력받고, 이를 HSV 데이터로 변환한다. 상기 HSV 변환부(10)는 HSV 데이터로 변환된 입력영상을 상기 영상 분해부(20)로 전달한다.The HSV converter 10 receives an input image of RGB data and converts it into HSV data. The HSV converter 10 transfers the HSV-converted input image to the image decomposer 20.

상기 영상 분해부(20)는 상기 HSV 변환부(10)로부터 입력받은 HSV데이터를 분해한다. (S120)The image decomposition unit 20 decomposes the HSV data received from the HSV converter 10. (S120)

상기 영상 분해부(20)는 상기 HSV데이터 중 명도(V) 데이터에서 레티넥스(Retinex) 이론에 따라 조도(Illumination) 성분을 추출할 수 있다. 상기 영상분해부(20)는 상기 명도(V) 데이터 중 조도성분을 추출하여 상기 영상 보정부(30)로 전달할 수 있다.The image decomposition unit 20 may extract an illumination component from the luminance (V) data of the HSV data according to the Retinex theory. The image decomposition unit 20 may extract an illumination component from the brightness V data and transmit the extracted illumination component to the image correction unit 30.

상기 영상 보정부(30)는 상기 조도 성분에 기초하여 영상을 보정한다. (S130)The image correcting unit (30) corrects the image based on the illuminance component. (S130)

상기 영상 보정부(30)는 상기 입력영상의 명도 데이터의 조도 성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정한다. 상기 영상 보정부 (30)는 상기 조도 성분을 기반으로 상기 감마커브를 산출할 수 있다.The image correcting unit 30 calculates a gamma curve using the illuminance component of the brightness data of the input image, and corrects the input image by the gamma curve. The image correction unit 30 may calculate the gamma curve based on the illumination component.

상기 영상 보정부(30)는 상기 감마커브에 의해 보정된 입력영상의 디테일을 개선할 수 있다. 상기 영상 분해부(20)에서 획득한 반사성분을 이용하여 상기 보정된 영상 데이터의 디테일을 개선할 수 있다.The image correcting unit 30 can improve the detail of the input image corrected by the gamma curve. The details of the corrected image data can be improved by using the reflection component acquired by the image decomposition unit 20. [

상기 영상 보정부(30)는 보정된 입력영상을 상기 RGB변환부(40)로 전달한다.The image correction unit 30 transmits the corrected input image to the RGB conversion unit 40. [

상기 RGB변환부(40)는 상기 영상 보정부(30)에 의해 보정된 영상 데이터를 RGB 데이터로 변환하여 출력한다. (S140)
The RGB conversion unit 40 converts the image data corrected by the image correction unit 30 into RGB data and outputs the RGB data. (S140)

도 8은 실시 예에 따라 영상처리를 수행한 후의 개선된 영상을 나타내는 도면이다. 실시 예에 따른 영상처리방법에 의해 저조도영역에서의 영상의 밝기가 개선되고, 디테일이 향상되며, 처리속도를 향상시킬 수 있는 효과가 있다.
8 is a diagram showing an improved image after performing image processing according to an embodiment. By the image processing method according to the embodiment, the brightness of the image in the low-illuminance area is improved, the detail is improved, and the processing speed is improved.

상기에서는 본 발명에 따른 실시예를 기준으로 본 발명의 구성과 특징을 설명하였으나 본 발명은 이에 한정되지 않으며, 본 발명의 사상과 범위 내에서 다양하게 변경 또는 변형할 수 있음은 본 발명이 속하는 기술분야의 당업자에게 명백한 것이며, 따라서 이와 같은 변경 또는 변형은 첨부된 특허청구범위에 속함을 밝혀둔다.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It will be apparent to those skilled in the art that changes or modifications may fall within the scope of the appended claims.

1: 영상처리장치
10: HSV변환부
20: 영상 분해부
30: 영상 보정부
35: 디테일 개선부
40: RGB 변환부
1: Image processing device
10: HSV converter
20:
30: image correction unit
35: Detail improvement section
40: RGB conversion section

Claims (14)

입력영상의 명도데이터를 조도 성분 및 반사 성분으로 분리하는 영상 분해부;
상기 조도성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정하는 영상 보정부; 및
상기 반사성분을 이용하여 보정된 입력영상의 디테일을 개선하는 디테일 개선부를 포함하고,
상기 영상 보정부는 상기 감마커브에 의해 상기 입력영상의 저조도 영역에서 비교적 큰 값의 보정을 수행하고, 상기 입력영상의 고조도 영역에서 비교적 작은 값의 보정을 수행하는 영상처리장치.
An image decomposition unit for separating brightness data of an input image into an illumination component and a reflection component;
An image correction unit for calculating a gamma curve using the illumination component and correcting the input image by the gamma curve; And
And a detail improvement unit for improving the detail of the input image corrected using the reflection component,
Wherein the image correction unit performs a relatively large correction in a low-luminance area of the input image by the gamma curve, and performs correction of a relatively small value in a high-luminance area of the input image.
삭제delete 제1항에 있어서,
상기 영상 보정부는
Figure 112014062605110-pat00012
에 의해 영상을 보정하고,
상기 r은 상기 입력영상의 조도성분에 의해 결정되는 가중치인 영상처리장치.
The method according to claim 1,
The image correction unit
Figure 112014062605110-pat00012
To correct the image,
And r is a weight determined by an illuminance component of the input image.
제3항에 있어서,
상기 가중치는
Figure 112014062605110-pat00013
에 의해 연산되고,
상기 μ는 오프셋 값인 영상처리장치.
The method of claim 3,
The weight
Figure 112014062605110-pat00013
Lt; / RTI >
And? Is an offset value.
제4항에 있어서,
상기 오프셋 값은 상기 조도성분 전체의 평균값인 영상처리장치.
5. The method of claim 4,
Wherein the offset value is an average value of the entire illuminance component.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 디테일 개선부는 상기 보정된 입력영상의 에지 영역을 개선하는 영상처리장치.
The method according to claim 1,
Wherein the detail improvement unit improves the edge area of the corrected input image.
제1항에 있어서,
상기 입력 영상의 RGB 데이터를 HSV 데이터로 변환하는 HSV 변환부를 더 포함하는 영상처리장치.
The method according to claim 1,
And an HSV converter for converting RGB data of the input image into HSV data.
제1항에 있어서,
상기 보정된 입력영상의 HSV 데이터를 RGB 데이터로 변환하는 RGB 변환부를 더 포함하는 영상처리장치.
The method according to claim 1,
And an RGB conversion unit for converting HSV data of the corrected input image into RGB data.
입력영상의 명도 데이터를 조도 성분과 반사 성분으로 분리하는 단계;
상기 조도성분을 이용하여 감마커브를 산출하고, 상기 감마커브에 의해 상기 입력영상을 보정하는 단계; 및
상기 반사 성분을 이용하여 보정된 입력영상의 디테일을 개선하는 단계를 포함하고,
상가 입력영상을 보정하는 단계는 상기 감마커브에 의해 상기 입력영상의 저조도 영역에서 비교적 큰 값의 보정을 수행하고, 상기 입력영상의 고조도 영역에서 비교적 작은 값의 보정을 수행하는 영상처리방법.
Separating brightness data of an input image into an illumination component and a reflection component;
Calculating a gamma curve using the illumination component, and correcting the input image by the gamma curve; And
And improving the detail of the input image corrected using the reflection component,
Wherein the step of correcting the input image comprises performing a correction of a relatively large value in the low-luminance region of the input image by the gamma curve and performing a correction of a relatively small value in the high-luminance region of the input image.
제12항에 있어서,
상기 입력영상을 보정하는 단계는,
Figure 112014062605110-pat00014
에 의해 영상을 보정하고,
상기 r은 상기 입력영상의 조도성분에 의해 결정되는 가중치인 영상처리방법.
13. The method of claim 12,
Wherein the step of correcting the input image comprises:
Figure 112014062605110-pat00014
To correct the image,
And r is a weight determined by an illuminance component of the input image.
삭제delete
KR20140082704A 2014-07-02 2014-07-02 Image processing apparatus and Image processing method KR101488641B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20140082704A KR101488641B1 (en) 2014-07-02 2014-07-02 Image processing apparatus and Image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20140082704A KR101488641B1 (en) 2014-07-02 2014-07-02 Image processing apparatus and Image processing method

Publications (1)

Publication Number Publication Date
KR101488641B1 true KR101488641B1 (en) 2015-02-06

Family

ID=52591226

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20140082704A KR101488641B1 (en) 2014-07-02 2014-07-02 Image processing apparatus and Image processing method

Country Status (1)

Country Link
KR (1) KR101488641B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190072027A (en) * 2017-12-15 2019-06-25 현대자동차주식회사 Method for improving low illumination image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000018315A (en) * 1998-09-01 2000-04-06 윤종용 Imaging apparatus having a wide dynamic range and image signal processing method thereof
KR20110100050A (en) * 2010-03-03 2011-09-09 엘지전자 주식회사 Image processing device and method of image processing
KR20130033331A (en) * 2011-09-26 2013-04-03 (주)엘앤디 Sensibility lighting control apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000018315A (en) * 1998-09-01 2000-04-06 윤종용 Imaging apparatus having a wide dynamic range and image signal processing method thereof
KR20110100050A (en) * 2010-03-03 2011-09-09 엘지전자 주식회사 Image processing device and method of image processing
KR20130033331A (en) * 2011-09-26 2013-04-03 (주)엘앤디 Sensibility lighting control apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190072027A (en) * 2017-12-15 2019-06-25 현대자동차주식회사 Method for improving low illumination image
KR102395305B1 (en) * 2017-12-15 2022-05-09 현대자동차주식회사 Method for improving low illumination image

Similar Documents

Publication Publication Date Title
US10134359B2 (en) Device or method for displaying image
CN104240194B (en) A kind of enhancement algorithm for low-illumination image based on parabolic function
CN109325922B (en) Image self-adaptive enhancement method and device and image processing equipment
WO2013185449A1 (en) Image enhancement method, image enhancement device and display device
US9691141B2 (en) Image correction device for accelerating image correction and method for same
US20190228512A1 (en) Image processing device, image processing method, and image capturing device
US10521887B2 (en) Image processing device and image processing method
JP2010039758A (en) Image processor and image processing method
KR20100053287A (en) The apparatus for enhancing image by generating and blending multiple image and method therefor
KR102221116B1 (en) A device and method for removing the noise on the image using cross-kernel type median filter
US9699386B2 (en) Image processing apparatus and method
JP6451669B2 (en) Evaluation apparatus, evaluation method, and camera system
US9762877B2 (en) Image processing apparatus and image processing method
US10796418B2 (en) Image processing apparatus, image processing method, and program
CN102339461A (en) Method and equipment for enhancing image
US10275860B2 (en) Image processing device, image capturing device, image processing method, and program
KR101488641B1 (en) Image processing apparatus and Image processing method
JP5203159B2 (en) Image processing method, image processing system, and image processing program
JP4742068B2 (en) Image processing method, image processing system, and image processing program
CN115937031A (en) Enhancement method for low-illumination image
JP2007158388A (en) Image quality improvement method, apparatus, and program
JP2018160024A (en) Image processing device, image processing method and program
JP2018093359A (en) Image processing apparatus, image processing method, and program
JP5225491B2 (en) Image processing apparatus and image processing method
US20180063380A1 (en) Image processing device

Legal Events

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

Payment date: 20171227

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20181122

Year of fee payment: 5