KR100989760B1 - Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise - Google Patents

Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise Download PDF

Info

Publication number
KR100989760B1
KR100989760B1 KR1020080135229A KR20080135229A KR100989760B1 KR 100989760 B1 KR100989760 B1 KR 100989760B1 KR 1020080135229 A KR1020080135229 A KR 1020080135229A KR 20080135229 A KR20080135229 A KR 20080135229A KR 100989760 B1 KR100989760 B1 KR 100989760B1
Authority
KR
South Korea
Prior art keywords
value
bayer
image
values
image data
Prior art date
Application number
KR1020080135229A
Other languages
Korean (ko)
Other versions
KR20100077314A (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 KR1020080135229A priority Critical patent/KR100989760B1/en
Publication of KR20100077314A publication Critical patent/KR20100077314A/en
Application granted granted Critical
Publication of KR100989760B1 publication Critical patent/KR100989760B1/en

Links

Images

Classifications

    • G06T5/70
    • G06T5/73
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2209/00Details of colour television systems
    • H04N2209/04Picture signal generators
    • H04N2209/041Picture signal generators using solid-state devices
    • H04N2209/042Picture signal generators using solid-state devices having a single pick-up sensor
    • H04N2209/045Picture signal generators using solid-state devices having a single pick-up sensor using mosaic colour filter
    • H04N2209/046Colour interpolation to calculate the missing colour values

Abstract

이미지에 포함된 노이즈를 효과적으로 제거할 수 있는 이미지 처리 장치, 이미지 처리 장치의 노이즈 제거 방법 및 노이즈 제거 방법이 기록된 기록매체가 개시된다. 이미지 처리 장치는 이미지 센서로부터 베이어 이미지 데이터를 제공받고, 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하고, 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 베이어 노이즈 제거부 및 베이어 노이즈 제거부로부터 제공된 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 컬러 보간부를 포함한다. 따라서, 에지 영역과 노이지가 포함된 영역을 잘 구분할 수 있고, 이로 인해 베이어 이미지에 포함된 노이즈를 효과적으로 제거하여 출력 이미지 품질을 향상시킬 수 있다.Disclosed are an image processing apparatus capable of effectively removing noise included in an image, a recording medium recording a noise removing method of the image processing apparatus, and a noise removing method. The image processing apparatus receives Bayer image data from an image sensor, obtains an image boundary value based on pixel values of the same pixel components among pixel values included in the Bayer image data, and the image boundary value is larger than the preset area boundary value. When the color is small based on the Bayer noise canceling unit provided from the Bayer noise canceling unit and the Bayer noise canceling unit which outputs a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as the Bayer noise removing unit. It includes a color interpolation unit for performing interpolation. Therefore, the edge region and the region containing noisy can be distinguished well, and thus, the noise included in the Bayer image can be effectively removed to improve the output image quality.

이미지, 노이즈, 베이어, CSP, ISP Image, Noise, Bayer, CSP, ISP

Description

이미지 처리 장치, 이미지 처리 장치의 노이즈 제거 방법 및 노이즈 제거 방법이 기록된 기록매체{Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise}Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise}

본 발명은 신호 처리 장치에 관한 것으로, 더욱 상세하게는 촬상된 이미지를 처리하는 신호 처리 장치에 적용될 수 있는 이미지 처리 장치, 이미지 처리 장치의 노이즈 제거 방법 및 노이즈 제거 방법이 기록된 기록매체에 관한 것이다.The present invention relates to a signal processing apparatus, and more particularly, to a recording medium in which an image processing apparatus, a noise removing method and a noise removing method of an image processing apparatus which can be applied to a signal processing apparatus for processing a captured image are recorded. .

CCD(Charge Coupled Device) 또는 CMOS(Complementary Metal Oxide Semiconductor) 등과 같은 이미지 센서는 미세한 화소(pixel)가 2차원적으로 집적된 형태로 구성되고 입사된 빛의 밝기에 상응하는 전기 신호를 디지털 신호로 변환하여 출력한다. 여기서, 이미지 센서는 베이어(Bayer) 패턴으로 구성될 수 있고, 베이터 패턴으로 입사된 빛의 밝기에 상응하는 베이어 이미지 데이터를 제공한다.Image sensors such as Charge Coupled Device (CCD) or Complementary Metal Oxide Semiconductor (CMOS) are composed of two-dimensional integrated pixels and convert electrical signals corresponding to the brightness of incident light into digital signals. To print. Here, the image sensor may be configured in a Bayer pattern, and provides Bayer image data corresponding to brightness of light incident on the Bayer pattern.

이미지 센서로부터 제공된 베이터 이미지 데이터는 이미지 신호 처리 장치를 통해 컬러 보간, 휘도 처리, 색채 처리, 컬러 포맷 변환 등과 같은 다양한 신호 처리를 거쳐 휘도 신호 및 색차 신호로 출력된다.Batter image data provided from an image sensor is output as a luminance signal and a color difference signal through various signal processing such as color interpolation, luminance processing, color processing, color format conversion, and the like through an image signal processing apparatus.

도 1은 일반적인 이미지 신호 처리 장치의 구성을 나타내는 블록도이다.1 is a block diagram showing the configuration of a general image signal processing apparatus.

도 1을 참조하면, 일반적인 이미지 신호 처리 장치는 원시 데이터 처리부(10), 컬러 보간부(20), 컬러 보정부(30), 감마 보정부(40) 및 포맷 변환부(50)를 포함한다.Referring to FIG. 1, a general image signal processing apparatus includes a raw data processor 10, a color interpolator 20, a color corrector 30, a gamma corrector 40, and a format converter 50.

원시 데이터 처리부(10)는 이미지 센서로부터 베이터 패턴의 원시 데이터(RAW) 즉, 베이어 이미지 데이터를 제공받고, 이미지 센서에 존재하는 결점의 보정(defect correction)이나 렌즈의 짧은 초점 거리로 인해 발생하는 쉐이딩 보정(shading correction) 등과 같은 전처리 과정을 수행한다.The raw data processing unit 10 receives raw data (RAW), that is, Bayer image data of a Bayer pattern, from an image sensor, and shading caused by defect correction or short focal length of a lens present in the image sensor. Perform preprocessing such as shading correction.

컬러 보간부(20)는 원시 데이터 처리부(10)에서 전처리가 수행된 데이터를 제공받고, 보간(interpolation)을 통하여 하나의 채널 성분을 가지는 각각의 화소 성분을 R(Red), G(Green), B(Blue) 성분으로 분리한 후 이들을 결합하여 각각의 화소가 R, G, B의 세가지 채널 성분을 가지는 이미지 데이터를 생성한다.The color interpolator 20 receives data preprocessed by the raw data processor 10, and interpolates each pixel component having one channel component through R (Red), G (Green), After separation into B (Blue) components, these pixels are combined to generate image data in which each pixel has three channel components of R, G, and B.

컬러 보정부(30)는 표준 컬러 공간(color space)인 sRGB 또는 Adobe RGB 규격에 근사한 출력 영상을 얻기 위해 이미지 센서의 데이터 분광 특성을 sRGB 또는 Adobe RGB 분광 특성에 근접하도록 보정한다.The color corrector 30 corrects the data spectral characteristics of the image sensor to be close to the sRGB or Adobe RGB spectral characteristics in order to obtain an output image approximating the sRGB or Adobe RGB standard, which is a standard color space.

감마 보정부(40)는 인간의 시각이 밝기에 대해 비선형적으로 반응한다는 점을 고려하여 비선형 전달 함수를 사용하여 빛의 강도 신호를 비선형적으로 변형한다.The gamma correction unit 40 non-linearly transforms the intensity signal of the light by using a nonlinear transfer function in consideration of the fact that human vision reacts non-linearly to brightness.

포맷 변환부(50)는 RGB 영역의 이미지 데이터를 밝기(Luminance) 성분인 Y 성분과 색차(Chrominance) 성분인 Cb, Cr 성분으로 변환한다.The format converter 50 converts the image data of the RGB region into a Y component, which is a luminance component, and a Cb and Cr component, which is a chrominance component.

일반적으로 이미지 센서의 감도를 높여서 촬영하는 고감도 샷(High Sensitive Shot)의 경우, 이미지 센서의 아날로그 게인이 증가하게 되어 노이즈가 증가하게 되고 결과적으로 이미지 센서로부터 출력되는 베이어 패턴의 원시 이미지 데이터에 노이즈 성분이 증가하게 된다.In general, a high sensitivity shot taken by increasing the sensitivity of the image sensor increases the analog gain of the image sensor, thereby increasing the noise, and consequently the noise component in the raw image data of the Bayer pattern output from the image sensor. Will increase.

고감도 샷으로 인해 노이즈가 증가된 경우 도 1에 도시된 바와 같은 종래의 이미지 처리 장치는 증가된 노이즈가 포함된 베이어 이미지에 대해 컬러 보간, 컬러 보정, 감마 보정 등의 이미지 처리를 수행하기 때문에 이미지 처리 과정에서 처리 부하가 커지게 되고, 처리 효율이 떨어지는 단점이 있다.When the noise is increased due to the high sensitivity shot The conventional image processing apparatus as shown in FIG. 1 performs image processing such as color interpolation, color correction, gamma correction, etc. on a Bayer image including the increased noise. In the process, the processing load is increased, and the processing efficiency is lowered.

또한, 종래의 이미지 처리 장치는 베이어 이미지에 노이즈 성분이 많이 포함된 상태에서 이미지 처리를 수행하기 때문에 이미지 처리의 정확도가 떨어지게 되고 결과적으로 처리된 이미지의 품질이 저하되는 단점이 있다.In addition, the conventional image processing apparatus has a disadvantage in that the image processing is performed in a state in which the Bayer image contains a lot of noise components, so that the accuracy of the image processing is lowered, and as a result, the quality of the processed image is degraded.

따라서, 본 발명의 제1 목적은 이미지에 포함된 노이즈를 효과적으로 감소시킬 수 있는 이미지 처리 장치를 제공하는 것이다.Accordingly, it is a first object of the present invention to provide an image processing apparatus that can effectively reduce noise included in an image.

또한, 본 발명의 제2 목적은 이미지에 포함된 노이즈를 효과적으로 감소시킬 수 있는 노이즈 제거 방법을 제공하는 것이다.In addition, a second object of the present invention is to provide a noise removal method that can effectively reduce noise included in an image.

또한, 본 발명의 제3 목적은 이미지에 포함된 노이즈를 효과적으로 감소시킬 수 있는 노이즈 제거 방법이 기록된 기록매체를 제공하는 것이다.It is also a third object of the present invention to provide a recording medium on which a noise removing method is recorded, which can effectively reduce noise included in an image.

상술한 본 발명의 제1 목적을 달성하기 위한 본 발명의 일 측면에 따른 이미지 처리 장치는, 이미지 센서로부터 베이어 이미지 데이터를 제공받고, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하고, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 베이어 노이즈 제거부 및 상기 베이어 노이즈 제거부로부터 제공된 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 컬러 보간부를 포함한다. 상기 베이어 노이즈 제거부는 상기 이미지 경계값이 상기 설정된 영역 경계값 보다 큰 경우에는 상기 제2 보정값을 상기 베이어 노이즈 제거값으로 출력할 수 있다. 상기 베이어 노이즈 제거부는 상기 베이어 이미지 데이터에서 중심 화소값을 획득하고, 상기 베이어 이미지 데이터에 대해 가우시안 필터링을 수행하여 가우시안 필터링값을 획득할 수 있다. 상기 베이어 노이즈 제거부는 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하고, 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구한 후, 상기 수평 방향의 에지 성분값 및 상기 수직 방향의 에지 성분값의 평균을 계산하여 상기 이미지 경계값을 구할 수 있다. 상기 베이어 노이즈 제거부는, 상기 베이어 이미지 데이터에서 소정 수평 라인의 화소값들과 상기 소정 수평 라인과 동일한 화소 성분을 가지는 인접 수평 라인의 화소값들 중 동일한 열에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수평 라인에 대한 에지 성분값을 구한 후, 적어도 하나의 상기 수평 라인에 대한 에지 성분값 각각에 대한 절대값들의 평균을 구함으로써 상기 수평 방향의 에지 성분을 구할 수 있다. 상기 베이어 노이즈 제거부는, 상기 베이어 이미지 데이터에서 소정 수직 라인의 화소값들과 상기 소정 수직 라인과 동일한 화소 성분을 가지는 인접 수직 라인의 화소값들 중 동일한 행에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수직 라인에 대한 에지 성분값을 구한 후, 적어도 하나의 상기 수직 라인에 대한 에지 성분값 각각에 대한 절대값들의 평균을 구하여 상기 수직 방향의 에지 성분을 구할 수 있다. 상기 베이어 노이즈 제거부는, 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 저주파수 보정 강도 값에 기초하여 상기 제1 보정값을 획득하고, 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 고주파수 보정 강도 값에 기초하여 상기 제2 보정값을 획득할 수 있다. 상기 베이어 노이즈 제거부는, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 수학식, BNR_out=(Edge_val×hf_out+(BNR_area_thr-Edge_val)×lf_out)/BNR_area_thr(여기서, BNR_out은 상기 베이어 노이즈 제거값, Edge_val은 상기 이미지 경계값, BNR_area_thr은 상기 설정된 영역 경계값, lf_out은 상기 제1 보정값, hf_out은 상기 제2 보정값을 의미함)에 의해 상기 제1 보정값 및 상기 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 획득할 수 있다.An image processing apparatus according to an aspect of the present invention for achieving the first object of the present invention described above, receives Bayer image data from an image sensor, the pixel of the same pixel components of the pixel values included in the Bayer image data Obtain an image boundary value based on the values, and if the image boundary value is smaller than a preset area boundary value, remove a Bayer noise by removing a correction value corresponding to the image boundary value among the values between the first and second correction values. And a color interpolation unit that performs color interpolation based on the Bayer noise removal value provided from the Bayer noise removal unit. The bayer noise removing unit may output the second correction value as the bayer noise removing value when the image boundary value is larger than the set area boundary value. The Bayer noise removing unit may obtain a Gaussian filtering value by obtaining a center pixel value from the Bayer image data and performing Gaussian filtering on the Bayer image data. The Bayer noise removing unit obtains a horizontal edge component value from the Bayer image data, obtains a vertical edge component value from the Bayer image data, and then extracts the edge component values of the horizontal direction and the vertical edge component values. The image boundary value can be obtained by calculating an average. The Bayer noise removing unit obtains a difference value between pixel values belonging to the same column among pixel values of a predetermined horizontal line and pixel values of an adjacent horizontal line having the same pixel component as the predetermined horizontal line in the Bayer image data. After multiplying, the average of the values multiplied by the weight is obtained to obtain an edge component value for a horizontal line, and then the average of absolute values for each of the edge component values for at least one horizontal line is obtained. Edge components can be obtained. The Bayer noise removing unit is configured to obtain a difference value between pixel values of a predetermined vertical line and pixel values belonging to a same row among pixel values of an adjacent vertical line having the same pixel component as the predetermined vertical line. After multiplying the weights, an average of the values multiplied by the weights is obtained to obtain an edge component value for a vertical line, and then an average of absolute values for each of the edge component values for at least one vertical line is obtained to obtain an average of the vertical directions. Edge components can be obtained. The Bayer noise removing unit may obtain the first correction value based on the center pixel value, the Gaussian filtering value, and a preset low frequency correction intensity value, and obtain the center pixel value, the Gaussian filtering value, and a preset high frequency correction intensity value. The second correction value may be obtained based on. The Bayer noise canceller may include: Equation BNR_out = (Edge_val × hf_out + (BNR_area_thr-Edge_val) × lf_out) / BNR_area_thr (where BNR_out is the Bayer noise removal value, Edge_val, when the image boundary value is smaller than a preset region boundary value). Is the image boundary value, BNR_area_thr is the set area boundary value, lf_out is the first correction value, and hf_out is the second correction value), among the values between the first correction value and the second correction value. A correction value corresponding to the image boundary value may be obtained.

또한, 본 발명의 제2 목적을 달성하기 위한 본 발명의 일 측면에 따른 노이즈 제거 방법은, 소정 크기의 마스크를 가지는 베이어 이미지 데이터를 제공 받는 단계와, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계와, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계 및 상기 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 단계를 포함한다. 상기 노이즈 제거 방법은, 상기 이미지 경계값이 상기 설정된 영역 경계값 보다 큰 경우에는 상기 제2 보정값을 상기 베이어 노이즈 제거값으로 출력하는 단계를 더 포함할 수 있다. 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계는, 상기 베이어 이미지 데이터에서 중심 화소값을 획득하는 단계 및 상기 베이어 이미지 데이터에 대해 가우시안 필터링을 수행하여 가우시안 필터링값을 획득하는 단계를 포함할 수 있다. 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계는, 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하는 단계와, 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구하는 단계 및 상기 수평 방향의 에지 성분값 및 상기 수직 방향의 에지 성분값의 평균을 계산하여 상기 이미지 경계값을 구하는 단계를 포함할 수 있다. 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하는 단계는, 상기 베이어 이미지 데이터에서 소정 수평 라인의 화소값들과 상기 소정 수평 라인과 동일한 화소 성분을 가지는 인접 수평 라인의 화소값들 중 동일한 열에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수평 라인에 대한 에지 성분값을 구하는 단계 및 적어도 하 나의 상기 수평 라인에 대한 에지 성분값 각각에 대한 절대값 들의 평균을 구함으로써 상기 수평 방향의 에지 성분을 구하는 단계를 포함할 수 있다. 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구하는 단계는, 상기 베이어 이미지 데이터에서 소정 수직 라인의 화소값들과 상기 소정 수직 라인과 동일한 화소 성분을 가지는 인접 수직 라인의 화소값들 중 동일한 행에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수직 라인에 대한 에지 성분값을 구하는 단계 및 적어도 하나의 상기 수직 라인에 대한 에지 성분값 각각에 대한 절대값 들의 평균을 구하여 상기 수직 방향의 에지 성분을 구하는 단계를 포함할 수 있다. 상기 이미지 경계값이 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계는 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 저주파수 보정 강도 값에 기초하여 상기 제1 보정값을 획득하는 단계 및 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 고주파수 보정 강도 값에 기초하여 상기 제2 보정값을 획득하는 단계를 포함할 수 있다. 상기 이미지 경계값이 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계는, 수학식 BNR_out=(Edge_val×hf_out+(BNR_area_thr-Edge_val)×lf_out)/BNR_area_thr(여기서, BNR_out은 상기 베이어 노이즈 제거값, Edge_val은 상기 이미지 경계값, BNR_area_thr은 상기 설정된 영역 경계값, lf_out은 상기 제1 보정값, hf_out은 상기 제2 보정값을 의미함) 에 의해 상기 제1 보정값 및 상기 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 획득할 수 있다.In addition, according to an aspect of the present invention, there is provided a method for removing noise, comprising: receiving Bayer image data having a mask having a predetermined size, and among pixel values included in the Bayer image data. Obtaining an image boundary value based on pixel values of the same pixel components; and corresponding to the image boundary value among values between a first correction value and a second correction value when the image boundary value is smaller than a preset area boundary value. Outputting a correction value to be a Bayer noise removal value and performing color interpolation based on the Bayer noise removal value. The noise removing method may further include outputting the second correction value as the Bayer noise removing value when the image boundary value is larger than the set area boundary value. The step of obtaining an image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data may include obtaining a center pixel value from the Bayer image data and Gaussian filtering the Bayer image data. It may include the step of obtaining a Gaussian filtering value. The step of obtaining an image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data may include obtaining a horizontal edge component value from the Bayer image data, and in the Bayer image data. The method may include obtaining an edge component value in a vertical direction and calculating the average of the horizontal edge component value and the vertical edge component value to obtain the image boundary value. The step of obtaining a horizontal edge component value from the Bayer image data may include: belonging to a same column among pixel values of a predetermined horizontal line and pixel values of an adjacent horizontal line having the same pixel component as the predetermined horizontal line in the Bayer image data. Obtaining a difference value of pixel values, multiplying a predetermined weight, and then averaging the values multiplied by the weight to obtain an edge component value for a horizontal line, and an absolute value for each of the edge component values for at least one of the horizontal lines. Obtaining the horizontal edge component by averaging the values. The step of obtaining the edge component value in the vertical direction from the Bayer image data may include: setting the edge component values in the vertical direction to the same row of pixel values of a predetermined vertical line and pixel values of an adjacent vertical line having the same pixel component as the predetermined vertical line. Obtaining a difference value between pixel values belonging to each other, multiplying a predetermined weight, and then calculating an average of the multiplied weighted values to obtain an edge component value for a vertical line, and for each edge component value for at least one vertical line. Obtaining an average of absolute values to obtain an edge component in the vertical direction. When the image boundary value is smaller than the set area boundary value, outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value may include the center pixel value, the Acquiring the first correction value based on a Gaussian filtering value and a preset low frequency correction intensity value and obtaining the second correction value based on the center pixel value, the Gaussian filtering value, and a preset high frequency correction intensity value It may include a step. When the image boundary value is smaller than the set area boundary value, the step of outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as the Bayer noise removal value may be expressed by Equation BNR_out = ( Edge_val × hf_out + (BNR_area_thr-Edge_val) × lf_out) / BNR_area_thr (where BNR_out is the Bayer noise removal value, Edge_val is the image boundary value, BNR_area_thr is the set area boundary value, and lf_out is the first correction value, hf_out is the above A second correction value) to obtain a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value.

또한, 본 발명의 제3 목적을 달성하기 위한 본 발명의 일 측면에 따른 노이즈 제거 방법이 기록된 기록매체는 소정 크기의 마스크를 가지는 베이어 이미지 데이터를 제공 받는 단계와, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계와, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계 및 상기 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 단계를 수행하는 프로그램이 기록된다.In addition, the recording medium recording the noise removing method according to an aspect of the present invention for achieving the third object of the present invention is provided with the Bayer image data having a mask of a predetermined size, and included in the Bayer image data Obtaining an image boundary value based on pixel values of the same pixel components among the pixel values; and when the image boundary value is smaller than a preset area boundary value, the image among the values between the first correction value and the second correction value. A program for outputting a correction value corresponding to a boundary value as a Bayer noise removal value and performing color interpolation based on the Bayer noise removal value is recorded.

상기와 같은 이미지 처리 장치, 이미지 처리 장치의 노이즈 제거 방법 및 노이즈 제거 방법이 기록된 기록매체에 따르면, 소정의 마스크 크기로 입력된 베이어 이미지에서 이미지 경계값(Edge_val)을 이용하여 에지 성분을 판단한 후, 에지 주변 에서는 노이즈 제거 강도를 줄여서 에지 정보의 손실을 최소화하고, 평평한 면 영역에서는 노이즈 제거 강도를 에지 경계값(Edge_val)에 따라 저주파수 영역 보정값(lf_out)과 고주파수 영역 보정값(hf_out) 사이에서 적응적으로 조절하여 노이즈를 제거한다.According to the recording medium in which the image processing apparatus, the noise removing method, and the noise removing method of the image processing apparatus are recorded, the edge component is determined by using the image boundary value Edge_val in the Bayer image input with the predetermined mask size. In order to minimize the loss of edge information around the edges, the loss of edge information is minimized. In the flat plane region, the noise reduction intensity is set between the low frequency region correction value (lf_out) and the high frequency region correction value (hf_out) according to the edge boundary value (Edge_val). Adaptive adjustment to remove noise

따라서, 에지 영역과 노이지가 포함된 영역을 잘 구분할 수 있고, 이로 인해 베이어 이미지에 포함된 노이즈를 효과적으로 제거하여 출력 이미지 품질을 향상시 킬 수 있다.Therefore, the edge region and the noisy region can be distinguished well, and thus, the noise included in the Bayer image can be effectively removed to improve the output image quality.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다. As the invention allows for various changes and numerous embodiments, particular embodiments will be illustrated in the drawings and described in detail in the written description. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents, and substitutes included in the spirit and scope of the present invention. Like reference numerals are used for like elements in describing each drawing.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다. The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as the second component, and similarly, the second component may also be referred to as the first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이 해되어야 할 것이다. When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art and shall not be construed in ideal or excessively formal meanings unless expressly defined in this application. Do not.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 본 발명을 설명함에 있어 전체적인 이해를 용이하게 하기 위하여 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.Hereinafter, with reference to the accompanying drawings, it will be described in detail a preferred embodiment of the present invention. In the following description of the present invention, the same reference numerals are used for the same elements in the drawings and redundant descriptions of the same elements will be omitted.

도 2는 본 발명의 일 실시예에 따른 이미지 처리 장치의 구성을 나타내는 블록도이고, 도 3은 도 2에 도시된 전처리부의 기능을 설명하기 위한 개념도이다. 도 2에서는 본 발명의 요지를 불필요하게 흐릴 수 있는 공지 기능 및 구성에 대한 도시를 생략하였다.2 is a block diagram illustrating a configuration of an image processing apparatus according to an exemplary embodiment of the present invention, and FIG. 3 is a conceptual diagram illustrating a function of a preprocessor shown in FIG. 2. In FIG. 2, illustration of known functions and configurations that may unnecessarily obscure the subject matter of the present invention are omitted.

도 2 및 도 3을 참조하면, 이미지 처리 장치는 베이어 노이즈 제거부(100) 및 컬러 보간부(200)를 포함할 수 있다.2 and 3, the image processing apparatus may include a Bayer noise remover 100 and a color interpolator 200.

베이어 노이즈 제거부(100)는 이미지 센서로부터 베이어 이미지 데이터를 제공받고, 제공받은 베이어 이미지 데이터에 대한 전처리를 수행하여 에지 성분을 판단한 후, 판단된 에지 성분에 기초하여 평탄한 면 영역에서는 노이즈 제거 강도를 높이고, 이미지의 내용 중 에지 영역에서는 노이즈의 제거 강도를 낮게 함으로써 에지 성분에 따라 적응적으로 노이즈를 이미지를 제거한다.The Bayer noise removing unit 100 receives Bayer image data from an image sensor, performs preprocessing on the provided Bayer image data, and determines an edge component. In this case, the noise is removed adaptively according to the edge components by lowering the intensity of removing noise in the edge region of the image contents.

구체적으로, 베이어 노이즈 제거부(100)는 전처리부(110) 및 노이즈 제거부(130)를 포함할 수 있다.In detail, the Bayer noise remover 100 may include a preprocessor 110 and a noise remover 130.

전처리부(110)는 이미지 센서로부터 5×5 마스크 크기의 베이어 이미지 데이터를 제공받고, 제공된 베이어 이미지 데이터로부터 중심 화소값(Bc)을 추출하고, 가우시안 필터링을 수행하여 가우시안 필터링값(GBc)을 생성한다.The preprocessing unit 110 receives Bayer image data having a 5 × 5 mask size from the image sensor, extracts the center pixel value Bc from the provided Bayer image data, and performs Gaussian filtering to generate a Gaussian filtering value GBc. do.

즉, 도 3의 (a)에 도시된 바와 같이 이미지 센서로부터 제공되는 5×5 마스크 크기의 베이어 이미지 데이터는 중심 화소 성분이 R, Gb, Gr 및 B인 4가지 베이어 패턴 중 어느 하나의 베이어 패턴을 가지는 베이어 이미지 데이터가 될 수 있고, 도 3의 (b)에 도시된 바와 같이 각각의 화소값은 화소의 위치에 따라 P11 내지 P55로 표시될 수 있다.That is, as shown in (a) of FIG. 3, Bayer image data of 5 × 5 mask size provided from an image sensor includes Bayer patterns of any one of four Bayer patterns having R, Gb, Gr, and B as central pixel components. It may be Bayer image data having a, and as shown in FIG. 3B, each pixel value may be represented by P11 to P55 according to the position of the pixel.

전처리부(110)는 도 3의 (b)에 도시된 바와 같이 베이어 이미지 데이터에서 중심 화소값(Bc)으로 P33의 값(즉, Bc=P33)을 추출한다.As shown in FIG. 3B, the preprocessor 110 extracts a value of P33 (ie, Bc = P33) from the Bayer image data to the central pixel value Bc.

또한, 전처리부(110)는 도 3의 (c)에 도시된 바와 같이 베이어 이미지 데이터의 중심 화소(P33)와 동일한 화소 성분을 가지는 화소들(P11, P13, P15, P31, P33, P35, P51, P53 및 P55)들에 대해 가우시안 필터(Gaussian filter)를 적용하여 가우시안 필터링값(GBc)을 획득한다.In addition, the preprocessor 110 may include pixels P11, P13, P15, P31, P33, P35, and P51 having the same pixel component as the center pixel P33 of the Bayer image data, as illustrated in FIG. 3C. Gaussian filter is applied to P53 and P55 to obtain Gaussian filtering value GBc.

가우시안 필터링값(GBc)은 수학식 1에 의해 계산될 수 있다.The Gaussian filtering value GBc may be calculated by Equation 1.

GBc=(P11+2×P13+P15+2×P31+4×P33+2×P35+P51+2×P53+P55)/16GBc = (P11 + 2 × P13 + P15 + 2 × P31 + 4 × P33 + 2 × P35 + P51 + 2 × P53 + P55) / 16

또한, 전처리부(110)는 이미지 센서로부터 제공되는 5×5 마스크 크기의 베이어 이미지 데이터에 대해 이미지 경계값(Edge_val)을 구한다. In addition, the preprocessor 110 obtains an image boundary value Edge_val for Bayer image data having a 5 × 5 mask size provided from the image sensor.

전처리부(110)는 이미지 경계값(Edge_val)을 구하기 위해 먼저, 도 3의 (b)에 도시된 5×5 마스크의 베이어 패턴에서 수평 방향의 에지 성분값을 구한다. 즉, 수학식 2와 같이 5×5 마스크 크기를 가지는 베이어 패턴에서 소정의 수평 라인의 화소값들과 상기 소정의 수평 라인과 동일한 화소 성분을 가지는 인접 수평 라인의 화소값들 중 동일한 열에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱하고 이 가중치가 곱해진 값들의 평균을 구함으로써 수평 라인에 대한 4개의 에지 성분값을 구한다. 그리고, 상기와 같이 구해진 4개의 에지 성분값들에 대한 절대값의 평균을 구함으로써 수평 방향의 에지 성분값을 구한다.In order to obtain an image boundary value Edge_val, the preprocessing unit 110 first obtains horizontal edge component values in a Bayer pattern of a 5 × 5 mask shown in FIG. That is, in a Bayer pattern having a 5 × 5 mask size as shown in Equation 2, pixel values belonging to the same column among pixel values of a predetermined horizontal line and pixel values of adjacent horizontal lines having the same pixel component as the predetermined horizontal line. The four edge component values for the horizontal line are obtained by multiplying the difference value of the multiplier by multiplying a predetermined weight and averaging the multiplied weights. The edge component values in the horizontal direction are obtained by obtaining an average of absolute values of the four edge component values obtained as described above.

H_EDGE_COMP1=(2×(P11-P31)+4×(P12-P32)+4×(P13-P33)+4×(P14-P34)H_EDGE_COMP1 = (2 × (P11-P31) + 4 × (P12-P32) + 4 × (P13-P33) + 4 × (P14-P34)

+2×(P15-P35))/16+ 2 × (P15-P35)) / 16

H_EDGE_COMP2=(2×(P21-P41)+4×(P22-P42)+4×(P23-P43)+4×(P24-P44)H_EDGE_COMP2 = (2 × (P21-P41) + 4 × (P22-P42) + 4 × (P23-P43) + 4 × (P24-P44)

+2×(P25-P45))/16+ 2 × (P25-P45)) / 16

H_EDGE_COMP3=(2×(P31-P51)+4×(P32-P52)+4×(P33-P53)+4×(P34-P54)H_EDGE_COMP3 = (2 × (P31-P51) + 4 × (P32-P52) + 4 × (P33-P53) + 4 × (P34-P54)

+2×(P35-P55))/16+ 2 × (P35-P55)) / 16

H_EDGE_COMP4=(2×(P11-P51)+4×(P12-P52)+4×(P13-P53)+4×(P14-P54)H_EDGE_COMP4 = (2 × (P11-P51) + 4 × (P12-P52) + 4 × (P13-P53) + 4 × (P14-P54)

+2×(P15-P55))/16+ 2 × (P15-P55)) / 16

H_EDGE=(abs(H_EDGE_COMP1)+abs(H_EDGE_COMP2)+abs(H_EDGE_COMP3)H_EDGE = (abs (H_EDGE_COMP1) + abs (H_EDGE_COMP2) + abs (H_EDGE_COMP3)

+abs(H_EDGE_COMP1))/4+ abs (H_EDGE_COMP1)) / 4

또한, 전처리부(110)는 5×5 마스크의 베이어 패턴에서 수직 방향의 에지 성분을 구한다. 즉, 수학식 3와 같이 5×5 마스크 크기를 가지는 베이어 패턴에서 소정의 수직 라인의 화소값들과 상기 소정의 수직 라인과 동일한 화소 성분을 가지는 인접 수직 라인의 화소값들 중 동일한 행에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱하고 이 가중치가 곱해진 값들의 평균을 구함으로써 수직 라인에 대한 4개의 에지 성분값을 구한다. 그리고, 상기와 같이 구해진 4개의 에지 성분값들에 대한 절대값의 평균을 구함으로써 수직 방향의 에지 성분값을 구한다.In addition, the preprocessing unit 110 obtains an edge component in the vertical direction in a Bayer pattern of a 5 × 5 mask. That is, in a Bayer pattern having a 5 × 5 mask size as shown in Equation 3, pixels belonging to the same row among pixel values of a predetermined vertical line and pixel values of adjacent vertical lines having the same pixel component as the predetermined vertical line. The four edge component values for the vertical line are obtained by calculating the difference between the values, multiplying the preset weights, and averaging the values multiplied by the weights. The edge component values in the vertical direction are obtained by obtaining an average of absolute values of the four edge component values obtained as described above.

V_EDGE_COMP1=(2×(P11-P13)+4×(P21-P23)+4×(P31-P33)+4×(P41-P43)V_EDGE_COMP1 = (2 × (P11-P13) + 4 × (P21-P23) + 4 × (P31-P33) + 4 × (P41-P43)

+2×(P51-P53))/16+ 2 × (P51-P53)) / 16

V_EDGE_COMP2=(2×(P12-P14)+4×(P22-P24)+4×(P32-P34)+4×(P42-P44)V_EDGE_COMP2 = (2 × (P12-P14) + 4 × (P22-P24) + 4 × (P32-P34) + 4 × (P42-P44)

+2×(P52-P54))/16+ 2 × (P52-P54)) / 16

V_EDGE_COMP3=(2×(P13-P15)+4×(P23-P25)+4×(P33-P35)+4×(P43-P45)V_EDGE_COMP3 = (2 × (P13-P15) + 4 × (P23-P25) + 4 × (P33-P35) + 4 × (P43-P45)

+2×(P53-P55))/16+ 2 × (P53-P55)) / 16

V_EDGE_COMP4=(2×(P11-P15)+4×(P21-P25)+4×(P31-P35)+4×(P41-P45)V_EDGE_COMP4 = (2 × (P11-P15) + 4 × (P21-P25) + 4 × (P31-P35) + 4 × (P41-P45)

+2×(P51-P55))/16+ 2 × (P51-P55)) / 16

V_EDGE=(abs(V_EDGE_COMP1)+abs(V_EDGE_COMP2)+abs(V_EDGE_COMP3)V_EDGE = (abs (V_EDGE_COMP1) + abs (V_EDGE_COMP2) + abs (V_EDGE_COMP3)

+abs(V_EDGE_COMP1))/4+ abs (V_EDGE_COMP1)) / 4

전처리부(110)는 수학식 2 및 수학식 3을 통해 수평 방향 에지 성분값(H_EDGE) 및 수직 방향의 에지 성분값(V_EDGE)을 구한 후 수학식 4와 같이 수평 방향 에지 성분값(H_EDGE) 및 수직 방향의 에지 성분값(V_EDGE)의 평균을 계산하여 이미지 경계값(Edge_val)을 구한다.The preprocessing unit 110 obtains the horizontal edge component value H_EDGE and the vertical edge component value V_EDGE through Equations 2 and 3, and then, as shown in Equation 4, the horizontal edge component value H_EDGE and An image boundary value Edge_val is obtained by calculating an average of the vertical edge component values V_EDGE.

Edge_val=(H_EDGE+V_EDGE)/2Edge_val = (H_EDGE + V_EDGE) / 2

베이어 이미지에 포함된 노이즈의 제거에 있어서 가장 중요한 요소는 에지 성분과 노이즈를 잘 구분한 후 노이즈 성분이 포함된 영역에 대해서만 잡음 제거 처리를 수행하는 것이다. The most important factor in removing the noise included in the Bayer image is to distinguish the noise from the edge components well, and then perform the noise reduction process only on the region containing the noise component.

인간의 눈은 이미지의 에지 주변보다 평탄한 영역에 존재하는 노이즈에 더 민감하기 때문에 본 발명의 일 실시예에서는 에지와 노이즈 성분을 구분하기 위해 이미지 경계값(Edge_val)을 이용하여 에지 성분을 판단하고, 에지 주변에서는 노이즈 제거 강도를 줄여서 에지 정보의 손실을 최소화하고, 평탄한 영역에서는 노이즈 제거 강도를 높여서 이미지에 포함된 노이즈를 효과적으로 줄인다.Since the human eye is more sensitive to noise in a flat area than the edges of the image, in an embodiment of the present invention, the edge component is determined by using an image boundary value Edge_val to distinguish the edge from the noise component. By reducing the noise removal intensity around the edges, the loss of edge information is minimized. In the flat areas, the noise reduction intensity is increased to effectively reduce the noise contained in the image.

노이즈 제거부(130)는 전처리부(110)로부터 제공된 중심 화소값(Bc), 가우시안 필터링값(GBc) 및 이미지 경계값(Edge_val)과, 개발자로부터 제공된 파라미터값인 베이어 노이즈 제거 인에이블 값(BNR_on), 영역 경계 값(BNR_area_thr), 저주파수 보정 강도 값(BNR_lf_str), 고주파수 보정 강도 값(BNR_hf_str)에 기초하여 저주파수 영역 및 고주파수 영역에 대한 보정값을 결정하고, 고주파수 영역과 저주파수 영역 사이의 영역에 대해서는 노이즈 제거 강도를 이미지 경계값(Edge_val)에 따라 적응적으로 조절하여 노이즈를 제거한다.The noise removing unit 130 may include a center pixel value Bc, a Gaussian filtering value GBc, and an image boundary value Edge_val provided from the preprocessor 110, and a Bayer noise removal enable value BNR_on which is a parameter value provided by the developer. ), The correction values for the low frequency region and the high frequency region are determined based on the region boundary value (BNR_area_thr), the low frequency correction intensity value (BNR_lf_str), and the high frequency correction intensity value (BNR_hf_str). The noise removal intensity is adaptively adjusted according to the image edge value Edge_val to remove noise.

구체적으로, 노이즈 제거부(130)는 전처리부(110)로부터 제공된 중심 화소값(Bc) 및 가우시안 필터링값(GBc)과, 개발자로부터 제공된 저주파수 보정 강도 값(BNR_lf_str)에 기초하여 저주파수 영역 보정값(lf_out)을 수학식 5와 같이 계산한다. Specifically, the noise removing unit 130 may generate a low frequency region correction value based on the center pixel value Bc and Gaussian filtering value GBc provided from the preprocessor 110 and the low frequency correction intensity value BNR_lf_str provided by the developer. lf_out) is calculated as in Equation 5.

lf_out=((255-BNR_lf_str)×Bc+BNR_lf_str×GBc)/256lf_out = ((255-BNR_lf_str) × Bc + BNR_lf_str × GBc) / 256

여기서, 저주파수 영역은 이미지에서 평탄한 영역을 의미하고, 저주파수 영역 보정값(lf_out)은 저주파수 영역 즉, 이미지 경계값(Edge_val)이 0인 영역에 대해 출력되는 베이어 노이즈 제거값(BNR_out)으로 5×5 마스크 크기를 가지는 베이어 패턴에 포함된 각 화소값이 8비트로 구성된 경우 0 내지 255로 정규화된 값이다.Here, the low frequency region means a flat region in the image, and the low frequency region correction value lf_out is a Bayer noise removal value BNR_out output for the low frequency region, that is, the region where the image boundary value Edge_val is 0, and is 5 × 5. When each pixel value included in the Bayer pattern having the mask size is composed of 8 bits, the pixel value is normalized to 0 to 255.

또한, 노이즈 제거부(130)는 전처리부(110)로부터 제공된 중심 화소값(Bc) 및 가우시안 필터링값(GBc)과, 개발자로부터 제공된 고주파수 보정 강도 값(BNR_hf_str)에 기초하여 고주파수 영역 보정값(hf_out)을 수학식 6과 같이 계산한다.In addition, the noise removing unit 130 based on the central pixel value Bc and Gaussian filtering value GBc provided from the preprocessor 110 and the high frequency correction intensity value BNR_hf_str provided by the developer, the high frequency region correction value hf_out. ) Is calculated as in Equation 6.

hf_out=((255-BNR_hf_str)×Bc+BNR_hf_str×GBc)/256hf_out = ((255-BNR_hf_str) × Bc + BNR_hf_str × GBc) / 256

여기서, 고주파수 영역은 이미지에 포함된 에지 영역을 의미하고, 고주파수 영역 보정값(hf_out)은 고주파수 영역 즉, 이미지 경계값(Edge_val)이 개발자로부터 제공된 영역 경계값(BNR_area_thr)보다 큰 값을 가지는 경우에 대해 출력되는 베이어 노이즈 제거값(BNR_out)으로 5×5 마스크 크기를 가지는 베이어 패턴에 포함된 각 화소값이 8비트로 구성된 경우 0 내지 255로 정규화된 값이다. Here, the high frequency region means an edge region included in the image, and the high frequency region correction value hf_out corresponds to a high frequency region, that is, when the image boundary value Edge_val has a value larger than the region boundary value BNR_area_thr provided by the developer. A Bayer noise removal value (BNR_out) that is outputted in relation to each other is a value normalized to 0 to 255 when each pixel value included in the Bayer pattern having a 5 × 5 mask size is composed of 8 bits.

또한, 노이즈 제거부(130)는 전처리부(110)로부터 제공된 이미지 경계값(Edge_val)이 0보다 크고 영역 경계값(BNR_area_thr) 보다 작은 경우에는 이미지 경계값(Edge_val)에 따라 노이즈의 제거 강도를 적응적으로 조절하여 베이어 노이즈 제거값(BNR_out)을 출력한다.In addition, when the image boundary value Edge_val provided from the preprocessing unit 110 is greater than zero and smaller than the area boundary value BNR_area_thr, the noise removing unit 130 adapts the noise removal intensity according to the image boundary value Edge_val. By adjusting it to output Bayer noise reduction value (BNR_out).

이미지 경계값(Edge_val)이 0보다 크고 영역 경계값(BNR_area_thr) 보다 작은 경우의 베이어 노이즈 제거값(BNR_out)은 수학식 7에 의해 계산될 수 있다.The Bayer noise removal value BNR_out when the image boundary value Edge_val is greater than zero and smaller than the area boundary value BNR_area_thr may be calculated by Equation 7.

BNR_out=(Edge_val×hf_out+(BNR_area_thr-Edge_val)×lf_out)/BNR_area_thrBNR_out = (Edge_val × hf_out + (BNR_area_thr-Edge_val) × lf_out) / BNR_area_thr

노이즈 제거부(130)는 베이어 노이즈 제거 인에이블 값(BNR_on)이 비활성화를 지시하는 값이면 노이즈 제거 동작을 수행하지 않고, 전처리부(110)로 제공된 중심 화소값(Bc)을 베이어 노이즈 제거값(BNR_out)으로 출력한다.If the Bayer noise removal enable value BNR_on is a value indicating the deactivation, the noise removal unit 130 does not perform a noise removal operation, and replaces the Bayer noise removal value (Bc) with the center pixel value Bc provided to the preprocessor 110. BNR_out).

컬러 보간부(200)는 베이어 노이즈 제거부(100)로부터 베이어 노이즈 제거값(BNR_out)을 제공받고, 보간을 통하여 하나의 채널 성분을 가지는 각각의 화소 성분을 R, G, B 성분으로 분리한 후 이들을 결합하여 각각의 화소가 R, G, B의 세가지 채널 성분을 가지는 이미지 데이터를 생성한다.The color interpolator 200 receives the Bayer noise removal value BNR_out from the Bayer noise canceller 100, and separates each pixel component having one channel component into R, G, and B components through interpolation. These are combined to generate image data in which each pixel has three channel components of R, G, and B.

도 4는 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating a noise removing method of an image processing apparatus according to an embodiment of the present invention.

도 4를 참조하면, 베이어 노이즈 제거부(100)는 개발자로부터 제공된 영역 경계값(BNR_area_thr)에 기초하여 노이즈 제거를 위한 영역을 두 개의 영역으로 구분하고, 수학식 4를 통해 계산된 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr) 보다 큰 경우에는 수학식 6을 통해 계산된 고주파수 영역 보정값(hf_out)을 베이어 노이즈 제거값(BNR_out)으로 출력하고, 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr) 보다 작은 경우에는 저주파수 영역 보정값(lf_out)과 고주파수 영역 보정값(hf_out) 사이의 값 중 이미지 경계값(Edge_val)에 대응되는 값을 수학식 7에 의해 구한 후 베이어 노이즈 제거값(BNR_out)으로 출력한다.Referring to FIG. 4, the Bayer noise removing unit 100 divides an area for removing noise into two areas based on an area boundary value BNR_area_thr provided from a developer, and calculates an image boundary value calculated through Equation 4 ( When Edge_val) is larger than the area boundary value BNR_area_thr, the high frequency area correction value hf_out calculated through Equation 6 is output as the Bayer noise removal value BNR_out, and the image edge value Edge_val is the area boundary value (BNR_area_thr). If it is smaller than BNR_area_thr), the value corresponding to the image boundary value Edge_val among the values between the low frequency region correction value lf_out and the high frequency region correction value hf_out is calculated by Equation 7 and then Bayer noise removal value BNR_out. Will output

도 4에서 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr) 보다 큰 경우에는 고주파수 영역으로 이미지에서 에지에 해당하는 것으로 볼 수 있기 때문에 노이즈 제거 강도를 낮게 설정하여 노이즈를 제거하고, 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr) 보다 작은 경우에는 저주파수 영역으로 이미지 경계 값(Edge_val)이 0에 가까울수록 이미지에서 평평한 면에 해당한다고 볼 수 있다. 따라서, 본 발명의 실시예에서는 인간의 시각 특성에 기초하여 이미지 경계값(Edge_val)이 0에 가까울수록 노이즈 제거 강도를 적응적으로 높게 설정하여 노이즈를 제거함으로써 노이즈 제거의 정확도를 향상시킨다.In FIG. 4, when the image boundary value Edge_val is larger than the region boundary value BNR_area_thr, since the image edge corresponds to an edge in the image with a high frequency region, the noise elimination intensity is set low to remove the noise, and the image boundary value ( If the edge_val) is smaller than the area boundary value BNR_area_thr, it may be regarded as a flat surface in the image as the edge value of the image is closer to zero. Therefore, according to the exemplary embodiment of the present invention, as the image boundary value Edge_val approaches 0, the noise elimination intensity is adaptively set to be high to remove the noise, thereby improving the accuracy of the noise elimination.

도 5는 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 과정을 나타내는 흐름도이다.5 is a flowchart illustrating a noise removing process of an image processing apparatus according to an embodiment of the present invention.

도 5를 참조하면, 먼저 베이어 노이즈 제거부(100)는 이미지 센서로부터 5×5 마스크 크기의 베이어 이미지 데이터를 제공받고(단계 501), 중심 화소값(Bc), 가우시안 필터링값(GBc) 및 이미지 경계값(Edge_val)을 계산한다(단계 503).Referring to FIG. 5, first, the Bayer noise removing unit 100 receives Bayer image data having a 5 × 5 mask size from an image sensor (step 501), a center pixel value Bc, a Gaussian filtering value GBc, and an image. The edge value Edge_val is calculated (step 503).

여기서, 가우시안 필터링값(GBc)은 수학식 1을 통해 구할 수 있고, 이미지 경계값(Edge_val)은 수학식 2 내지 수학식 4를 통해 구할 수 있다. 이미지 경계값(Edge_val)은 이미지에 포함된 에지 성분을 판단하기 위한 값으로, 에지 영역과 평평한 면 영역에 서로 다른 노이즈 제거 강도를 적용하고, 에지 성분에 따라 노이즈 제거 강도를 적응적으로 적용하기 위해 이용된다.Here, the Gaussian filtering value GBc may be obtained through Equation 1, and the image boundary value Edge_val may be obtained through Equations 2 to 4. The image edge (Edge_val) is a value for determining edge components included in an image, and applies different noise reduction strengths to edge regions and flat surface regions, and adaptively applies noise reduction strengths according to edge components. Is used.

또한, 베이어 노이즈 제거부(100)는 개발자로부터 노이즈 제거를 위한 파라미터 값인 베이어 노이즈 제거 인에이블 값(BNR_on), 영역 경계 값(BNR_area_thr), 저주파수 보정 강도 값(BNR_lf_str) 및 고주파수 보정 강도 값(BNR_hf_str)을 제공받는다(단계 505).In addition, the Bayer noise removing unit 100 may include a Bayer noise removal enable value BNR_on, an area boundary value BNR_area_thr, a low frequency correction intensity value BNR_lf_str, and a high frequency correction intensity value BNR_hf_str, which are parameters for removing noise from a developer. Is provided (step 505).

본 발명의 일 실시예에서는 상기 파라미터 값을 개발자로부터 제공받는 것으로 예를 들어 설명하였으나, 본 발명의 다른 실시예에서는 이미지 처리 장치에 포 함된 제어부(미도시) 또는 이미지 처리 장치가 설치된 시스템에 포함된 제어부(미도시)가 노출값, 이미지 센서 감도 등과 같은 이미지 촬영 환경에 따라 상기 파라미터 값들을 미리 설정된 룩업 테이블을 참조하여 적응적으로 베이어 노이즈 제거부(100)에 제공하도록 구성될 수도 있다.In an embodiment of the present invention, for example, the parameter value is provided from a developer, but in another embodiment of the present invention, a control unit (not shown) included in the image processing device or an image processing device included in the system is installed. The controller (not shown) may be configured to adaptively provide the parameter values to the Bayer noise canceller 100 by referring to a preset lookup table according to an image photographing environment such as an exposure value, an image sensor sensitivity, and the like.

이후, 베이어 노이즈 제거부(100)는 베이어 노이즈 제거 인에이블 값(BNR_on)가 활성화를 지시하는 값인가(예를 들면, 1)를 판단하고(단계 507), 베이어 노이즈 제거 인에이블 값(BNR_on)으로 활성화를 지시하는 값이 입력된 것으로 판단되면, 저주파수 영역 보정값(lf_out) 및 고주파수 영역 보정값(hf_out)을 계산한다(단계 509). 여기서, 상기 저주파수 영역 보정값(lf_out)은 수학식 5를 통해 계산될 수 있고, 고주파수 영역 보정값(hf_out)은 수학식 6을 통해 계산될 수 있다.Thereafter, the Bayer noise removing unit 100 determines whether the Bayer noise removing enable value BNR_on is a value indicating the activation (for example, 1) (step 507), and the Bayer noise removing enable value BNR_on If it is determined that a value indicating activation is input, the low frequency region correction value lf_out and the high frequency region correction value hf_out are calculated (step 509). Here, the low frequency region correction value lf_out may be calculated through Equation 5, and the high frequency region correction value hf_out may be calculated through Equation 6.

다음으로, 베이어 노이즈 제거부(100)는 단계 503에서 획득한 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr)보다 작은가를 판단하고(단계 511), 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr)보다 작은값을 가지는 것으로 판단되면, 수학식 7을 통해 이미지 경계값(Edge_val)에 따라 노이즈의 제거 강도를 적응적으로 조절하여 베이어 노이즈 제거값(BNR_out)을 출력한다(단계 513).Next, the Bayer noise removing unit 100 determines whether the image boundary value Edge_val acquired in step 503 is smaller than the region boundary value BNR_area_thr (step 511), and the image boundary value Edge_val is the region boundary value ( If it is determined to have a value smaller than BNR_area_thr, the Bayer noise removal value BNR_out is output by adaptively adjusting the noise removal intensity according to the image boundary value Edge_val through Equation 7 (step 513).

단계 513에서 베이어 노이즈 제거값(BNR_out)은 저주파수 영역 보정값(lf_out)과 고주파수 영역 보정값(hf_out) 사이의 값을 가질 수 있다.In operation 513, the Bayer noise removal value BNR_out may have a value between the low frequency region correction value lf_out and the high frequency region correction value hf_out.

단계 511에서 이미지 경계값(Edge_val)이 영역 경계값(BNR_area_thr)보다 큰 값을 가지는 것으로 판단되면, 베이어 노이즈 제거부(100)는 고주파수 영역 보정 값(hf_out)을 베이어 노이즈 제거값(BNR_out)으로 출력한다(단계 515).If it is determined in step 511 that the image boundary value Edge_val has a value larger than the area boundary value BNR_area_thr, the Bayer noise removing unit 100 outputs the high frequency region correction value hf_out as the Bayer noise removing value BNR_out. (Step 515).

단계 507에서 베이어 노이즈 제거 인에이블 값(BNR_on)이 비활성화를 지시하는 값인 경우에는 베이어 이미지의 노이즈 제거를 수행하지 않는 것을 의미하므로, 베이어 노이즈 제거부(100)는 베이어 노이즈 제거값(BNR_out)으로 중심 화소값(Bc)을 출력한다.If the Bayer noise removal enable value BNR_on is a value indicating inactivation in step 507, it means that the Bayer image noise removal is not performed. Therefore, the Bayer noise removal unit 100 is centered on the Bayer noise removal value BNR_out. The pixel value Bc is output.

도 6은 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 결과를 나타내는 것으로, 도 6의 (a)는 베이어 이미지에 대한 노이즈 제거를 수행하는 않은 이미지를 나타내고, 도 6의 (b)는 본 발명의 일 실시예에 따라 베이어 이미지에 대한 노이즈 제거를 수행한 결과를 나타낸다.6 illustrates a noise removal result of an image processing apparatus according to an embodiment of the present invention. FIG. 6A illustrates an image in which noise removal is not performed on a Bayer image, and FIG. The result of performing noise removal on the Bayer image according to an embodiment of the present invention is shown.

도 6에 도시된 바와 같이 본 발명의 일 실시예에 따른 노이즈 제거 방법에서는 베이어 이미지에서 5×5 마스크 크기 단위로 이미지 경계값(Edge_val)을 이용하여 에지 성분을 판단하고, 에지 주변(601) 에서는 노이즈 제거 강도를 줄여서 에지 정보의 손실을 최소화하고, 평평한 면 영역(603)에서는 노이즈 제거 강도를 에지 경계값(Edge_val)에 따라 저주파수 영역 보정값(lf_out)과 고주파수 영역 보정값(hf_out) 사이에서 적응적으로 조절하여 노이즈를 제거함으로써 효과적으로 베이어 이미지에 포함된 노이즈를 제거할 수 있다.As illustrated in FIG. 6, in the noise removing method according to an exemplary embodiment, edge components are determined using an image boundary value Edge_val in units of 5 × 5 masks in a Bayer image, and in an edge periphery 601. Reduce the noise removal intensity to minimize the loss of edge information, and in the flat surface region 603, the noise removal intensity is adapted between the low frequency region correction value (lf_out) and the high frequency region correction value (hf_out) according to the edge boundary value Edge_val. By adjusting the noise, the noise included in the Bayer image can be effectively removed.

이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although described with reference to the embodiments above, those skilled in the art will understand that the present invention can be variously modified and changed without departing from the spirit and scope of the invention as set forth in the claims below. Could be.

도 1은 일반적인 이미지 신호 처리 장치의 구성을 나타내는 블록도이다.1 is a block diagram showing the configuration of a general image signal processing apparatus.

도 2는 본 발명의 일 실시예에 따른 이미지 처리 장치의 구성을 나타내는 블록도이다.2 is a block diagram illustrating a configuration of an image processing apparatus according to an embodiment of the present invention.

도 3은 도 2에 도시된 전처리부의 기능을 설명하기 위한 개념도이다.3 is a conceptual diagram illustrating a function of a preprocessor shown in FIG. 2.

도 4는 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating a noise removing method of an image processing apparatus according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 과정을 나타내는 흐름도이다.5 is a flowchart illustrating a noise removing process of an image processing apparatus according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 따른 이미지 처리 장치의 노이즈 제거 결과를 나타내는 것이다.6 illustrates a noise removal result of the image processing apparatus according to the exemplary embodiment of the present invention.

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

100 : 베이어 노이즈 제거부 110 : 전처리부100: Bayer noise removing unit 110: Preprocessing unit

130 : 노이즈 제거부 200 : 컬러 보간부130: noise removing unit 200: color interpolation unit

Claims (17)

이미지 센서로부터 제공된 이미지의 노이즈를 제거하는 이미지 처리 장치에 있어서,An image processing apparatus for removing noise of an image provided from an image sensor, comprising: 상기 이미지 센서로부터 베이어 이미지 데이터를 제공받고, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하고, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하며, 상기 이미지 경계값이 상기 설정된 영역 경계값 보다 큰 경우에는 상기 제2 보정값을 상기 베이어 노이즈 제거값으로 출력하는 베이어 노이즈 제거부; 및A Bayer image data is provided from the image sensor, an image boundary value is obtained based on pixel values of the same pixel components among the pixel values included in the Bayer image data, and the image boundary value is smaller than a preset area boundary value. And outputs a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value. When the image boundary value is larger than the set area boundary value, the second correction value is output. A Bayer noise removing unit for outputting a value as the Bayer noise removing value; And 상기 베이어 노이즈 제거부로부터 제공된 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 컬러 보간부를 포함하는 이미지 처리 장치.And a color interpolation unit which performs color interpolation based on the Bayer noise removal value provided from the Bayer noise removing unit. 삭제delete 제1항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 1, wherein the Bayer noise removing unit, 상기 베이어 이미지 데이터에서 중심 화소값을 획득하고, 상기 베이어 이미지 데이터에 대해 가우시안 필터링을 수행하여 가우시안 필터링값을 획득하는 것을 특징으로 하는 이미지 처리 장치.And a Gaussian filtering value by obtaining a central pixel value from the Bayer image data and performing Gaussian filtering on the Bayer image data. 제3항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 3, wherein the Bayer noise removing unit, 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하고, 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구한 후, 상기 수평 방향의 에지 성분값 및 상기 수직 방향의 에지 성분값의 평균을 계산하여 상기 이미지 경계값을 구하는 것을 특징으로 하는 이미지 처리 장치.A horizontal edge component value is obtained from the Bayer image data, a vertical edge component value is obtained from the Bayer image data, and then the average of the horizontal edge component value and the vertical edge component value is calculated. And an image boundary value. 제4항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 4, wherein the Bayer noise removing unit, 상기 베이어 이미지 데이터에서 소정 수평 라인의 화소값들과 상기 소정 수평 라인과 동일한 화소 성분을 가지는 인접 수평 라인의 화소값들 중 동일한 열에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수평 라인에 대한 에지 성분값을 구한 후, 적어도 하나의 상기 수평 라인에 대한 에지 성분값 각각에 대한 절대값들의 평균을 구함으로써 상기 수평 방향의 에지 성분을 구하는 것을 특징으로 하는 이미지 처리 장치.In the Bayer image data, a difference value between pixel values belonging to a same column among pixel values of a predetermined horizontal line and pixel values of an adjacent horizontal line having the same pixel component as the predetermined horizontal line is obtained, multiplied by a preset weight, and then the weighted value. Calculates an edge component value for a horizontal line by averaging the multiplied values, and then obtains an edge component in the horizontal direction by calculating an average of absolute values for each of the edge component values for at least one horizontal line. Image processing apparatus. 제4항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 4, wherein the Bayer noise removing unit, 상기 베이어 이미지 데이터에서 소정 수직 라인의 화소값들과 상기 소정 수직 라인과 동일한 화소 성분을 가지는 인접 수직 라인의 화소값들 중 동일한 행에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수직 라인에 대한 에지 성분값을 구한 후, 적어도 하나의 상기 수직 라인에 대한 에지 성분값 각각에 대한 절대값들의 평균을 구하여 상기 수직 방향의 에지 성분을 구하는 것을 특징으로 하는 이미지 처리 장치.In the Bayer image data, a difference value between pixel values belonging to the same row among pixel values of a predetermined vertical line and pixel values of an adjacent vertical line having the same pixel component as the predetermined vertical line is obtained and multiplied by a preset weight. Obtaining an edge component value for a vertical line by obtaining an average of weighted values, and then calculating an average of absolute values for each of the edge component values for at least one vertical line to obtain an edge component in the vertical direction. Image processing apparatus. 제3항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 3, wherein the Bayer noise removing unit, 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 저주파수 보정 강도 값에 기초하여 상기 제1 보정값을 획득하고, 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 고주파수 보정 강도 값에 기초하여 상기 제2 보정값을 획득하는 것을 특징으로 하는 이미지 처리 장치.Obtain the first correction value based on the center pixel value, the Gaussian filtering value, and a preset low frequency correction intensity value, and based on the center pixel value, the Gaussian filtering value, and a preset high frequency correction intensity value, And a correction value is obtained. 제3항에 있어서, 상기 베이어 노이즈 제거부는,The method of claim 3, wherein the Bayer noise removing unit, 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 수학식,If the image boundary value is smaller than the preset area boundary value, BNR_out=(Edge_val×hf_out+(BNR_area_thr-Edge_val)×lf_out)/BNR_area_thrBNR_out = (Edge_val × hf_out + (BNR_area_thr-Edge_val) × lf_out) / BNR_area_thr (여기서, BNR_out은 상기 베이어 노이즈 제거값, Edge_val은 상기 이미지 경계값, BNR_area_thr은 상기 설정된 영역 경계값, lf_out은 상기 제1 보정값, hf_out은 상기 제2 보정값을 의미함)에 의해 상기 제1 보정값 및 상기 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 획득하는 것을 특징으로 하는 이미지 처리 장치.(Where BNR_out is the Bayer noise removal value, Edge_val is the image boundary value, BNR_area_thr is the set area boundary value, lf_out is the first correction value, and hf_out is the second correction value). And a correction value corresponding to the image boundary value among the values between the correction value and the second correction value. 이미지 처리 장치의 노이즈 제거 방법에 있어서,In the noise removing method of the image processing apparatus, 소정 크기의 마스크를 가지는 베이어 이미지 데이터를 제공 받는 단계;Receiving Bayer image data having a mask having a predetermined size; 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계;Obtaining an image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data; 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계; Outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value when the image boundary value is smaller than a preset area boundary value; 상기 이미지 경계값이 상기 설정된 영역 경계값 보다 큰 경우에는 상기 제2 보정값을 상기 베이어 노이즈 제거값으로 출력하는 단계; 및Outputting the second correction value as the Bayer noise removal value when the image boundary value is larger than the set area boundary value; And 상기 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 단계를 포함하는 노이즈 제거 방법.And performing color interpolation based on the Bayer noise removal value. 삭제delete 제9항에 있어서, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계는,The method of claim 9, wherein the obtaining of the image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data includes: 상기 베이어 이미지 데이터에서 중심 화소값을 획득하는 단계; 및Obtaining a center pixel value from the Bayer image data; And 상기 베이어 이미지 데이터에 대해 가우시안 필터링을 수행하여 가우시안 필터링값을 획득하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.And performing Gaussian filtering on the Bayer image data to obtain a Gaussian filtering value. 제11항에 있어서, 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계는,The method of claim 11, wherein the obtaining of the image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data comprises: 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하는 단계;Obtaining edge component values in a horizontal direction from the Bayer image data; 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구하는 단계; 및Obtaining edge component values in the vertical direction from the Bayer image data; And 상기 수평 방향의 에지 성분값 및 상기 수직 방향의 에지 성분값의 평균을 계산하여 상기 이미지 경계값을 구하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.And calculating the average of the horizontal edge component value and the vertical edge component value to obtain the image boundary value. 제12항에 있어서, 상기 베이어 이미지 데이터에서 수평 방향의 에지 성분값을 구하는 단계는,The method of claim 12, wherein the obtaining of the horizontal edge component value from the Bayer image data comprises: 상기 베이어 이미지 데이터에서 소정 수평 라인의 화소값들과 상기 소정 수평 라인과 동일한 화소 성분을 가지는 인접 수평 라인의 화소값들 중 동일한 열에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수평 라인에 대한 에지 성분값을 구하는 단계; 및In the Bayer image data, a difference value between pixel values belonging to a same column among pixel values of a predetermined horizontal line and pixel values of an adjacent horizontal line having the same pixel component as the predetermined horizontal line is obtained, multiplied by a preset weight, and then the weighted value. Obtaining an edge component value for the horizontal line by calculating the average of the multiplied values; And 적어도 하나의 상기 수평 라인에 대한 에지 성분값 각각에 대한 절대값 들의 평균을 구함으로써 상기 수평 방향의 에지 성분을 구하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.Obtaining the horizontal edge component by averaging the absolute values for each of the edge component values for at least one of the horizontal lines. 제12항에 있어서, 상기 베이어 이미지 데이터에서 수직 방향의 에지 성분값을 구하는 단계는,The method of claim 12, wherein the obtaining of the vertical edge component value from the Bayer image data comprises: 상기 베이어 이미지 데이터에서 소정 수직 라인의 화소값들과 상기 소정 수직 라인과 동일한 화소 성분을 가지는 인접 수직 라인의 화소값들 중 동일한 행에 속하는 화소값들의 차이값을 구하여 미리 설정된 가중치를 곱한 후, 상기 가중치가 곱해진 값들의 평균을 구하여 수직 라인에 대한 에지 성분값을 구하는 단계; 및In the Bayer image data, a difference value between pixel values belonging to the same row among pixel values of a predetermined vertical line and pixel values of an adjacent vertical line having the same pixel component as the predetermined vertical line is obtained and multiplied by a preset weight. Obtaining an edge component value for the vertical line by averaging the weighted values; And 적어도 하나의 상기 수직 라인에 대한 에지 성분값 각각에 대한 절대값 들의 평균을 구하여 상기 수직 방향의 에지 성분을 구하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.And obtaining an average of absolute values for each of the edge component values for at least one vertical line to obtain the edge component in the vertical direction. 제11항에 있어서, 상기 이미지 경계값이 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계는The method of claim 11, wherein when the image boundary value is smaller than the set area boundary value, outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 저주파수 보정 강도 값에 기초하여 상기 제1 보정값을 획득하는 단계; 및 Obtaining the first correction value based on the center pixel value, the Gaussian filtering value, and a preset low frequency correction intensity value; And 상기 중심 화소값, 상기 가우시안 필터링값 및 미리 설정된 고주파수 보정 강도 값에 기초하여 상기 제2 보정값을 획득하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.And obtaining the second correction value based on the center pixel value, the Gaussian filtering value, and a preset high frequency correction intensity value. 제11항에 있어서, 상기 이미지 경계값이 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계는, 수학식The method of claim 11, wherein when the image boundary value is smaller than the set area boundary value, outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value , Equation BNR_out=(Edge_val×hf_out+(BNR_area_thr-Edge_val)×lf_out)/BNR_area_thrBNR_out = (Edge_val × hf_out + (BNR_area_thr-Edge_val) × lf_out) / BNR_area_thr (여기서, BNR_out은 상기 베이어 노이즈 제거값, Edge_val은 상기 이미지 경계값, BNR_area_thr은 상기 설정된 영역 경계값, lf_out은 상기 제1 보정값, hf_out은 상기 제2 보정값을 의미함)에 의해 상기 제1 보정값 및 상기 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 획득하는 것을 특징으로 하는 노이즈 제거 방법.(Where BNR_out is the Bayer noise removal value, Edge_val is the image boundary value, BNR_area_thr is the set area boundary value, lf_out is the first correction value, and hf_out is the second correction value). And a correction value corresponding to the image boundary value among values between the correction value and the second correction value. 이미지의 노이즈를 제거하는 디지털 처리 장치에 의해 실행될 수 있는 명령어의 프로그램이 유형적으로 구현되어 있으며, 상기 디지털 처리 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서,In the recording medium in which a program of instructions executable by a digital processing device for removing noise of an image is tangibly implemented, and recording a program that can be read by the digital processing device, 소정 크기의 마스크를 가지는 베이어 이미지 데이터를 제공 받는 단계;Receiving Bayer image data having a mask having a predetermined size; 상기 베이어 이미지 데이터에 포함된 화소값들 중 동일한 화소 성분들의 화소값들에 기초하여 이미지 경계값을 구하는 단계;Obtaining an image boundary value based on pixel values of the same pixel components among the pixel values included in the Bayer image data; 상기 이미지 경계값이 미리 설정된 영역 경계값 보다 작은 경우 제1 보정값 및 제2 보정값 사이의 값 중 상기 이미지 경계값에 대응되는 보정값을 베이어 노이즈 제거값으로 출력하는 단계; Outputting a correction value corresponding to the image boundary value among the values between the first correction value and the second correction value as a Bayer noise removal value when the image boundary value is smaller than a preset area boundary value; 상기 이미지 경계값이 상기 설정된 영역 경계값 보다 큰 경우에는 상기 제2 보정값을 상기 베이어 노이즈 제거값으로 출력하는 단계; 및Outputting the second correction value as the Bayer noise removal value when the image boundary value is larger than the set area boundary value; And 상기 베이어 노이즈 제거값에 기초하여 컬러 보간을 수행하는 단계를 수행하는 프로그램을 기록한 기록매체.And a program for performing color interpolation based on the Bayer noise removal value.
KR1020080135229A 2008-12-29 2008-12-29 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise KR100989760B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080135229A KR100989760B1 (en) 2008-12-29 2008-12-29 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080135229A KR100989760B1 (en) 2008-12-29 2008-12-29 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise

Publications (2)

Publication Number Publication Date
KR20100077314A KR20100077314A (en) 2010-07-08
KR100989760B1 true KR100989760B1 (en) 2010-10-26

Family

ID=42638687

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080135229A KR100989760B1 (en) 2008-12-29 2008-12-29 Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise

Country Status (1)

Country Link
KR (1) KR100989760B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230154355A (en) 2022-04-29 2023-11-08 주식회사 실리콘아츠 Apparatus and method for denoising based on non-local mean

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101133520B1 (en) * 2011-01-03 2012-04-04 엠텍비젼 주식회사 Color noise reduction method and device
KR101931332B1 (en) 2012-06-29 2018-12-20 삼성전자주식회사 Apparatus and method of reducing noise of image
KR101990540B1 (en) 2012-10-31 2019-06-18 삼성전자주식회사 Image processing method, image signal processor and image sensing system thereof
KR102165610B1 (en) 2014-04-23 2020-10-14 삼성전자주식회사 X-ray Imaging Apparatus and Image Processing Method of X-ray Imaging Apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004221838A (en) 2003-01-14 2004-08-05 Sony Corp Apparatus and method for image processing, recording medium, and program
JP2005303731A (en) * 2004-04-13 2005-10-27 Fuji Photo Film Co Ltd Signal processor, signal processing method and digital camera
JP2006086851A (en) 2004-09-16 2006-03-30 Canon Inc Imaging apparatus
JP2008177724A (en) 2007-01-17 2008-07-31 Sony Corp Image input device, signal processor, and signal processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004221838A (en) 2003-01-14 2004-08-05 Sony Corp Apparatus and method for image processing, recording medium, and program
JP2005303731A (en) * 2004-04-13 2005-10-27 Fuji Photo Film Co Ltd Signal processor, signal processing method and digital camera
JP2006086851A (en) 2004-09-16 2006-03-30 Canon Inc Imaging apparatus
JP2008177724A (en) 2007-01-17 2008-07-31 Sony Corp Image input device, signal processor, and signal processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230154355A (en) 2022-04-29 2023-11-08 주식회사 실리콘아츠 Apparatus and method for denoising based on non-local mean

Also Published As

Publication number Publication date
KR20100077314A (en) 2010-07-08

Similar Documents

Publication Publication Date Title
US7697044B2 (en) Image processing apparatus and image processing method
JP5527448B2 (en) Image input device
KR100786931B1 (en) Image signal processing apparatus and image signal processing method
US8036457B2 (en) Image processing apparatus with noise reduction capabilities and a method for removing noise from a captured image
JP4346634B2 (en) Target detection device
JP4803178B2 (en) Image processing apparatus, computer program product, and image processing method
US20050285968A1 (en) Image sensing apparatus and image processing method therefor
JP5060447B2 (en) Noise cancellation processing circuit and solid-state imaging device
JP4420917B2 (en) Imaging device
EP2866445A1 (en) Imaging device
CN111080559B (en) Image purple fringing eliminating device and method
JP2004088149A (en) Imaging system and image processing program
WO2005057938A1 (en) Imaging system and image processing program
JPH11215515A (en) Device and method for eliminating noise on each line of image sensor
WO2010116923A1 (en) Image input device
KR100989760B1 (en) Apparatus For Processing Image Siganl, Method For Reducing Noise Of Image Signal Processing Apparatus And Recorded Medium For Performing Method Of Reducing Noise
US7034869B2 (en) Image processing method, image pickup apparatus and program
JP5701640B2 (en) Image processing device
JP2004363853A (en) Method and device for reducing noise of image signal
JP7423033B2 (en) Image signal processing method
JP4596069B2 (en) Noise removal filter processing circuit, image processing circuit, imaging device, and noise removal program
KR100999888B1 (en) Apparatus for Processing Image Siganls, Method for Reducing luminence Noise in the Image Signal Processing Apparatus and Record Medium for Performing Method of Reducing luminence Noise
JP5103580B2 (en) Image processing apparatus and digital camera
JP2010147800A (en) Image processing apparatus
JP4993275B2 (en) Image processing device

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: 20130926

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140929

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20151001

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20181001

Year of fee payment: 9