KR100888428B1 - Device and Method of Removing Noise of Image - Google Patents

Device and Method of Removing Noise of Image Download PDF

Info

Publication number
KR100888428B1
KR100888428B1 KR1020070013410A KR20070013410A KR100888428B1 KR 100888428 B1 KR100888428 B1 KR 100888428B1 KR 1020070013410 A KR1020070013410 A KR 1020070013410A KR 20070013410 A KR20070013410 A KR 20070013410A KR 100888428 B1 KR100888428 B1 KR 100888428B1
Authority
KR
South Korea
Prior art keywords
value
pixel
noise
line
correction target
Prior art date
Application number
KR1020070013410A
Other languages
Korean (ko)
Other versions
KR20080074385A (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 KR1020070013410A priority Critical patent/KR100888428B1/en
Publication of KR20080074385A publication Critical patent/KR20080074385A/en
Application granted granted Critical
Publication of KR100888428B1 publication Critical patent/KR100888428B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/20Circuitry for controlling amplitude response
    • H04N5/205Circuitry for controlling amplitude response for correcting amplitude versus frequency characteristic
    • H04N5/208Circuitry for controlling amplitude response for correcting amplitude versus frequency characteristic for compensating for attenuation of high frequency components, e.g. crispening, aperture distortion correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/01Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level
    • H04N7/0117Conversion of standards, e.g. involving analogue television standards or digital television standards processed at pixel level involving conversion of the spatial resolution of the incoming video signal
    • H04N7/012Conversion between an interlaced and a progressive signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Image Processing (AREA)

Abstract

영상의 노이즈 제거 방법이 개시된다. 외부로부터 원본 영상을 입력받는 영상 입력부; 제1 방향으로 n개의 영역으로 나누어진 상기 원본 영상에서, 상기 영역에 포함된 상기 제1 방향의 라인 별 화소값들의 평균값 및 상기 라인들 간의 상기 평균값의 차이를 필터링하여 랜덤 노이즈 여부를 판단하고 상기 랜덤 노이즈의 발생 부분의 상기 화소값을 보정한 보정 화소값을 산출하는 랜덤 노이즈 제거부; 상기 원본 영상의 화소값을 읽어서 상기 랜덤 노이즈 제거부로 출력하고, 상기 보정 화소값을 이용하여 상기 랜덤 노이즈가 제거된 보정 영상을 생성하는 제어부; 및 상기 보정 영상을 출력하는 영상 출력부를 포함하는 노이즈 제거 장치가 제공된다. 본 발명의 실시예에 의하면 원 영상의 손실을 최소화하면서 영상에 발생한 노이즈를 간단한 연산에 의해 제거할 수 있다.

Figure R1020070013410

영상, 랜덤 노이즈, 패턴 노이즈.

A method for removing noise in an image is disclosed. Image input unit for receiving the original image from the outside; In the original image divided into n regions in a first direction, a difference between the average value of pixel values of each line in the first direction included in the region and the average value between the lines is filtered to determine whether random noise is present. A random noise removing unit for calculating a corrected pixel value correcting the pixel value of a generation portion of random noise; A controller which reads the pixel value of the original image and outputs the pixel value to the random noise removing unit, and generates a corrected image from which the random noise is removed using the corrected pixel value; And an image output unit configured to output the corrected image. According to an exemplary embodiment of the present invention, noise generated in an image may be removed by a simple operation while minimizing loss of an original image.

Figure R1020070013410

Image, random noise, pattern noise.

Description

영상의 노이즈 제거 장치 및 방법{Device and Method of Removing Noise of Image}Device and Method of Removing Noise of Image

도 1은 본 발명의 실시예에 의한 원본 영상을 n개의 영역으로 나누는 방법을 도시한 도면1 is a diagram illustrating a method of dividing an original image into n areas according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 의한 노이즈 제거 장치의 블록 구성도2 is a block diagram of a noise removing device according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 의한 노이즈 제거 방법의 흐름도3 is a flowchart of a noise removing method according to an embodiment of the present invention;

도 4는 본 발명의 일 실시예에 의한 랜덤 노이즈 제거부의 블록 구성도4 is a block diagram illustrating a random noise removing unit in accordance with an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 의한 원본 영상의 각 라인 별로 화소값의 평균값을 산출하는 과정을 나타낸 도면5 is a diagram illustrating a process of calculating an average value of pixel values for each line of an original image according to an embodiment of the present invention.

도 6은 본 발명의 일 실시예에 의한 랜덤 노이즈 제거 방법의 흐름도6 is a flowchart of a random noise removal method according to an embodiment of the present invention.

도 7는 본 발명의 일 실시예에 의한 패턴 노이즈 제거부의 블록 구성도7 is a block diagram illustrating a pattern noise removing unit in accordance with an embodiment of the present invention.

도 8은 본 발명의 일 실시예에 의한 패턴 노이즈 제거 방법의 흐름도8 is a flowchart illustrating a method for removing pattern noise according to an embodiment of the present invention.

도 9은 본 발명의 일 실시예에 의한 대처값을 산출하는 과정을 나타낸 도면9 is a diagram illustrating a process of calculating a coping value according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 의한 노이즈 제거가 되지 않은 원본 영상을 나타낸 도면10 is a view showing an original image that is not removed noise according to an embodiment of the present invention

도 11은 본 발명의 일 실시예에 의해 랜덤 노이즈가 제거된 보정 영상을 나타낸 도면11 is a diagram illustrating a corrected image from which random noise is removed according to an embodiment of the present invention.

도 12는 본 발명의 일 실시예에 의해 랜덤 노이즈 및 패턴 노이즈가 제거된 보정 영상을 나타낸 도면12 is a diagram illustrating a corrected image from which random noise and pattern noise are removed according to an embodiment of the present invention.

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

200 : 노이즈 제거 장치200: noise reduction device

210 : 영상 입력부210: video input unit

220 : 랜덤 노이즈 제거부220: random noise removal unit

230 : 패턴 노이즈 제거부230: pattern noise removing unit

240 : 제어부240: control unit

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

514 : 보정 대상 라인514: correction target line

본 발명은 영상에서의 노이즈 제거 방법 및 장치에 관한 것으로, 보다 상세하게는 영상에 줄무늬 형태로 발생하는 랜덤 노이즈와 패턴 노이즈를 제거하는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for removing noise in an image, and more particularly, to a method and apparatus for removing random noise and pattern noise generated in a stripe form in an image.

랜덤 노이즈는 전파장애 등을 비롯한 자연계에 존재하는 불확정적인 노이즈를 말한다. 그 명칭이 나타내듯 랜덤 노이즈는 랜덤으로, 즉 예측 불가능하게 발생 하므로 회피하기가 어렵다. VHS비디오 등이 영상을 녹화할 때 영상에 혼입되는 노이즈도 랜덤 노이즈의 일종이다.Random noise refers to indeterminate noise existing in nature, including radio interference. As its name suggests, random noise occurs randomly, that is, unpredictably, and is difficult to avoid. When VHS video and the like record a video, the noise mixed in the video is also a kind of random noise.

또한 패턴 노이즈는 영상에 고정적으로 발생하거나 존재하는 노이즈를 말한다. 따라서 패턴 노이즈는 그 위치나 노이즈의 정도가 미리 알려져 있을 수 있다. In addition, pattern noise refers to noise that is fixedly generated or exists in an image. Therefore, the pattern noise may be known in advance at the position or the degree of the noise.

종래에는 대역 차단 필터(band-reject filter), 노치 필터(notch filter), 적응적 메디안 필터(adaptive median filter) 등을 사용하여 영상의 줄무늬 노이즈를 제거하였다. In the related art, a band-reject filter, a notch filter, an adaptive median filter, and the like are removed to eliminate streak noise of an image.

대역 차단 필터(band-reject filter)는 대역 통과 필터와 정반대의 파형과 효과를 갖는 필터로서, 특정한 두 개의 차단 주파수 사이의 주파수 대역의 신호는 차단하고 그 이외의 주파수에 대해서는 감쇠없이 통과시키는 필터이다. 즉 특정 주파수에서 특정 주파수 사이의 신호만 제거하기 위한 용도의 필터로서, 특정주파수간의 간섭을 차단하고자 하는 경우에 많이 사용된다.A band-reject filter is a filter having a waveform and an effect opposite to that of a band pass filter. A band-reject filter is a filter that cuts out a signal in a frequency band between two specific cutoff frequencies and passes the other frequencies without attenuation. . That is, as a filter for removing only signals between specific frequencies at specific frequencies, it is frequently used to block interference between specific frequencies.

노치 필터(notch filter)는 특정의 주파수에서 급격한 감쇠 특성을 가지고 있는 필터이다. 노치 필터는 전송선에서 분기시켜 동조 반사소자에 의해 동조주파수 성분을 반사시켜줌으로써 텔레비전 송신기에서 출력되는 고주파 신호를 이용하여 불필요한 주파수 성분을 제거할 목적으로 쓰인다.Notch filters are filters that have a sharp attenuation at certain frequencies. The notch filter is used to remove unnecessary frequency components by using a high frequency signal output from a television transmitter by reflecting the tuning frequency component by the tuning reflection element by branching from the transmission line.

적응적 메디안 필터(adaptive median filter)는 임의의 점에 대한 주변에 윈도우를 씌워 윈도우 내의 중앙값으로 임의의 점에 대한 값을 대치하는 필터로서, 특히 노이즈에 따라 윈도우의 크기를 가변시키는 필터이다. 메디안 필터는 원하는 시점 또는 공간상의 점에 대한 이웃들에 대해 윈도우를 씌워 원하는 시점 또는 공 간상의 점의 값을 윈도우 내의 값들의 중앙치로 대치하는 것으로, 잡음이 섞인 신호에 대하여 신호의 고역 성분 손실을 작게 하면서 잡음을 효과적으로 제거할 수 있으며, 충격 잡신호의 제거에 우수한 성능을 나타낸다. 또한 중간값 검출을 위한 윈도우 크기를 에러 여부에 따라 가변시킴으로써, 메디안 필터의 에러 데이터 선택율을 최소화할 수 있다.An adaptive median filter is a filter that replaces a value for an arbitrary point with a median value in a window by covering a window around an arbitrary point, and in particular, changes the size of the window according to noise. The median filter covers the neighbors to the desired point or space point and replaces the value of the point or point point in the window with the median of the values in the window. It can effectively remove noise and shows excellent performance in removing shock signal. In addition, by varying the window size for the detection of the median value depending on the error, it is possible to minimize the error data selection rate of the median filter.

그러나 대역 차단 필터 또는 노치 필터를 사용하는 경우에는 우선 주파수 도메인에서 연산이 이루어지기 때문에 퓨리에 변환을 하여야 하는 번거로움이 있다. 또한 실제 센서에서 취득된 영상에 대역 차단 필터 또는 노치 필터를 적용할 경우, 노이즈의 특성에 따라 때로는 주파수 도메인에서 노이즈의 양상을 찾아내기가 어려울 수 있다. However, when the band cut filter or the notch filter is used, the operation is performed in the frequency domain. Therefore, the Fourier transform is troublesome. In addition, when a band cut filter or a notch filter is applied to an image acquired from an actual sensor, it may sometimes be difficult to find an aspect of noise in the frequency domain depending on the characteristics of the noise.

반면, 적응적 메디안 필터의 경우 공간 도메인에서 연산이 이루어 지기 때문에 앞에서 설명한 방법에 비해 연산이 수월하며, 기존의 다른 노이즈 제거 필터에 비해 고주파 성분의 손실을 많이 줄여준다. 하지만, 이 방법이 손실을 줄였다곤 하지만 실제 결과 영상을 확대해 보면 고주파 성분의 손실로 인해 원 영상과 비교했을 때 시각적으로 충분히 느낄 수 있을 만큼 블러링 및 에지 성분의 손상을 확인할 수 있다. 그리고, 랜덤하게 발생하면서 노이즈 정도가 크지 않을 경우에는 효과가 좋지만, 고정된 패턴의 노이즈에 대해서는 효과가 별로 없다.On the other hand, in the adaptive median filter, the calculation is performed in the spatial domain, which is easier to operate than the previously described method, and reduces the loss of high frequency components much more than other conventional noise removing filters. However, although this method reduces the loss, the resultant image can be magnified to show the loss of the blurring and edge components so that the loss of the high-frequency component can be felt visually enough when compared to the original image. In addition, the effect is good when the noise level is not large and occurs randomly. However, the effect is not very effective for the noise of the fixed pattern.

따라서, 본 발명은 퓨리에 변환 없이 보다 수월한 연산의 수행에 의해 노이 즈를 제거할 수 있는 노이즈 제거 장치 및 방법을 제공한다.Accordingly, the present invention provides a noise removing apparatus and method capable of removing noise by performing an easier operation without Fourier transform.

또한 본 발명은 랜덤 노이즈 제거와 패턴 노이즈 제거 모두에 있어서 안정된 처리 결과를 제공한다.The present invention also provides stable processing results in both random noise removal and pattern noise removal.

또한 본 발명은 노이즈를 영상 정보와 구분하기 위한 임계값을 조절하여 설정할 수 있는 노이즈 제거 방법 및 장치를 제공한다.The present invention also provides a method and apparatus for removing noise that can be set by adjusting a threshold for distinguishing noise from image information.

또한 본 발명은 화질 개선 시 노이즈 성분의 크기에 맞는 튜닝을 용이하게 하는 노이즈 제거 방법 및 장치를 제공한다.In addition, the present invention provides a method and apparatus for removing noise, which facilitates tuning to the size of noise component when improving image quality.

또한 본 발명은 입력 영상과 결과 영상을 비교할 때, 블러링 및 고주파 성분(에지 및 라인 경계 부분을 포함)의 손실을 최소화하여 결과 영상에서도 블러링 및 고주파 성분이 그대로 유지되는 노이즈 제거 방법 및 장치를 제공한다.In addition, the present invention provides a method and apparatus for removing noise in which the blurring and the high frequency components are maintained in the resultant image by minimizing the blurring and the loss of the high frequency components (including edge and line boundary parts) when comparing the input image with the resultant image. to provide.

또한 본 발명은 원 영상의 손실을 최소화하면서 노이즈 성분만을 제거할 수 있는 노이즈 제거 방법 및 장치를 제공한다.The present invention also provides a noise removal method and apparatus capable of removing only noise components while minimizing loss of an original image.

본 발명의 일 실시예에 따르면, 원본 영상을 입력받는 영상 입력부; 제1 방향으로 n개의 영역으로 나누어진 상기 원본 영상에서, 상기 영역에 포함된 상기 제1 방향의 라인 별 화소값들의 평균값 및 상기 라인들 간의 상기 평균값의 차이를 필터링하여 랜덤 노이즈 여부를 판단하고 상기 랜덤 노이즈의 발생 부분의 상기 화소값을 보정한 보정 화소값을 산출하는 랜덤 노이즈 제거부; 상기 보정 화소값을 이용하여 상기 랜덤 노이즈가 제거된 보정 영상을 생성하는 제어부; 및 상기 보정 영상을 출력하는 영상 출력부를 포함하는 노이즈 제거 장치가 제공된다.According to an embodiment of the present invention, an image input unit for receiving an original image; In the original image divided into n regions in a first direction, a difference between the average value of pixel values of each line in the first direction included in the region and the average value between the lines is filtered to determine whether random noise is present. A random noise removing unit for calculating a corrected pixel value correcting the pixel value of a generation portion of random noise; A controller configured to generate a corrected image from which the random noise is removed using the corrected pixel value; And an image output unit configured to output the corrected image.

본 발명의 다른 실시예에 따르면 상기 랜덤 노이즈 제거부는, 상기 n개의 영역으로 구분된 상기 원본 영상의 상기 화소값을 입력받는 랜덤 데이터 입력부; 상기 평균값에 대해 제1 방향 및 제2 방향으로의 제1 필터링을 수행하여 화소 오차 및 보정값을 산출하고, 상기 화소 오차에 대해 제2 필터링을 수행하여 비교값을 산출하여, 상기 보정값의 절대값 및 상기 비교값과 제1 임계값 및 제2 임계값을 비교하여 랜덤 노이즈를 검출하는 연산 및 판별부; 및 상기 보정 대상 라인이 랜덤 노이즈로 인식된 경우 상기 보정 대상 라인의 모든 화소값에 상기 보정값을 더한 보정 화소값을 상기 제어부로 출력하는 제1 영상 보정부를 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the random noise removing unit comprises: a random data input unit configured to receive the pixel value of the original image divided into the n areas; First filtering in the first and second directions is performed on the average value to calculate pixel error and correction value, and second filtering is performed on the pixel error to calculate a comparison value, thereby calculating the absolute value of the correction value. An arithmetic and discriminating unit comparing random values and the comparison value with a first threshold value and a second threshold value to detect random noise; And a first image corrector configured to output, to the controller, a correction pixel value obtained by adding the correction value to all pixel values of the correction target line when the correction target line is recognized as random noise. Is provided.

본 발명의 또 다른 실시예에 따르면 상기 연산 및 판별부는 상기 화소값으로부터 상기 영역별로 상기 라인에 포함된 상기 화소값의 평균값을 구하는 평균값 연산부; 및 상기 라인들 중 임의의 라인인 보정 대상 라인에 상응하는 상기 평균값과 상기 보정 대상 라인과 제2 방향으로 인접한 인접 라인에 상응하는 상기 평균값을 필터링하여 상기 보정 대상 라인에 상응하는 예측값을 산출하는 예측값 연산부를 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the calculating and determining unit comprises: an average value calculating unit obtaining an average value of the pixel values included in the line for each region from the pixel values; And a predicted value for filtering the average value corresponding to the correction target line, which is any one of the lines, and the average value corresponding to an adjacent line adjacent to the correction target line in a second direction, to calculate a prediction value corresponding to the correction target line. There is provided a noise removing device comprising a calculation unit.

본 발명의 또 다른 실시예에 따르면 상기 예측값 연산부는 상기 보정 대상 라인, 상기 보정 대상 라인에 대해 +제2 방향에 있는 1 이상의 상기 인접 라인 및 상기 보정 대상 라인에 대해 -제2 방향에 있는 1 이상의 상기 인접 라인에 상응하는 상기 평균값들 중 가장 작은 값과 가장 큰 값을 제외한 나머지 평균값을 평균함 으로써 상기 예측값을 산출하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the predictive value calculating unit includes one or more adjacent lines in the second direction with respect to the correction target line, the correction target line, and one or more in the second direction with respect to the correction target line. The noise removing device is provided by calculating the predicted value by averaging the average value of the average value except the smallest value and the largest value among the average values corresponding to the adjacent line.

본 발명의 또 다른 실시예에 따르면 상기 연산 및 판별부는 상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하고, 상기 화소 오차를 평균하여 보정값을 산출하는 오차 연산부-여기서 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인은 상기 보정 대상 라인이 포함된 영역과 다른 영역에 포함됨-를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the calculation and determining unit obtains a pixel error that is a difference between the average value and the prediction value corresponding to a line on the same line in the first direction and the correction target line and the correction target line. And an error calculating unit for calculating a correction value by averaging the pixel error, wherein a line on the same line in the first direction is included in a region different from the region in which the correction target line is included. A noise canceling apparatus is provided.

본 발명의 또 다른 실시예에 따르면 상기 연산 및 판별부는 상기 오차 연산부로부터 입력받은 상기 보정값의 절대값을 상기 제1 임계값과 비교하고, 상기 보정값의 절대값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 랜덤 노이즈 판별부를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the calculation and determining unit compares the absolute value of the correction value received from the error calculating unit with the first threshold value, and when the absolute value of the correction value is smaller, the correction target line The noise removing device further comprises a random noise discrimination unit for recognizing the random noise.

본 발명의 또 다른 실시예에 따르면 상기 연산 및 판별부는 상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하고, 상기 화소 오차들을 2개씩 조합하여, 조합된 상기 2개의 화소 오차 간의 차이인 비교값을 산출하는 비교값 연산부-여기서, 상기 비교값은 양수임-를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the calculation and determining unit obtains a pixel error that is a difference between the average value and the prediction value corresponding to a line on the same line in the first direction and the correction target line and the correction target line. A comparison value calculating unit for combining the pixel errors by two and calculating a comparison value that is a difference between the combined two pixel errors, wherein the comparison value is a positive number is provided. .

본 발명의 또 다른 실시예에 따르면 상기 연산 및 판별부는 상기 비교값 연산부로부터 입력받은 상기 비교값을 상기 제2 임계값과 비교하고, 상기 비교값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 랜덤 노이즈 판별부를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the calculation and discriminating unit compares the comparison value received from the comparison value calculating unit with the second threshold value, and if the comparison value is smaller, recognizes the correction target line as random noise. There is provided a noise removing apparatus, further comprising a random noise discriminating unit.

본 발명의 또 다른 실시예에 따르면 상기 오차 연산부는 상기 예측값에서 상기 평균값을 뺀 값을 상기 화소 오차로 구하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the error calculating unit is provided with a noise removing device, characterized in that to obtain a value obtained by subtracting the average value from the prediction value as the pixel error.

본 발명의 또 다른 실시예에 따르면 상기 오차 연산부는 상기 화소 오차를 평균하여 산출된 상기 보정값이 정수가 아닌 경우, 상기 화소 오차의 소수점 이하 값을 반올림한 값을 상기 보정값으로 산출하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, if the correction value calculated by averaging the pixel error is not an integer, the error calculating unit calculates a value rounded to a decimal point value of the pixel error as the correction value. A noise canceling apparatus is provided.

본 발명의 또 다른 실시예에 따르면 상기 랜덤 노이즈 제거부는 수평으로 발생한 상기 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수평 방향, 상기 제2 방향을 수직 방향으로 하며, 수직 방향으로 발생한 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수직 방향, 상기 제2 방향을 수평 방향으로 하여 상기 랜덤 노이즈를 제거하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, when the random noise removing unit removes the random noise generated horizontally, the first direction is a horizontal direction, the second direction is a vertical direction, and the random noise generated in the vertical direction is removed. When removing, the noise removing device is provided, wherein the random noise is removed by making the first direction the vertical direction and the second direction the horizontal direction.

본 발명의 또 다른 실시예에 따르면 상기 원본 영상에서 패턴 노이즈가 발생한 지점의 위치 정보로부터, 상기 패턴 노이즈가 발생한 상기 지점의 상기 화소값 및 상기 패턴 노이즈에 인접한 지점의 상기 화소값을 필터링하여 상기 패턴 노이즈 발생 부분의 상기 화소값을 보정한 대처값을 산출하는 패턴 노이즈 제거부를 더 포함하되, 상기 제어부는 상기 원본 영상의 화소값을 읽어서 상기 랜덤 노이즈 제거부 및 상기 패턴 노이즈 제거부로 출력하고, 상기 패턴 노이즈 제거부로 상기 패턴 노이즈의 상기 위치 정보를 출력하며, 상기 보정 화소값 및 상기 대처값을 이용하여 상기 랜덤 노이즈 및 상기 패턴 노이즈가 제거된 보정 영상을 생성하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another exemplary embodiment of the present invention, the pixel value of the point where the pattern noise occurs and the pixel value of a point adjacent to the pattern noise are filtered from the position information of the point where the pattern noise occurs in the original image. And a pattern noise remover configured to calculate a coping value for correcting the pixel value of the noise generating portion, wherein the controller reads the pixel value of the original image and outputs the pixel value to the random noise remover and the pattern noise remover. And outputting the positional information of the pattern noise to a pattern noise remover, and generating a corrected image from which the random noise and the pattern noise are removed using the corrected pixel value and the coping value. Is provided.

본 발명의 또 다른 실시예에 따르면 상기 패턴 노이즈 제거부는 상기 제어부로부터 상기 위치 정보를 입력받고, 상기 영상 입력부로부터 상기 원본 영상의 상기 화소값을 입력받는 고정 데이터 입력부; 상기 패턴 노이즈가 상기 제1 방향으로 발생한 경우, 상기 패턴 노이즈에 제2 방향으로 인접한 상기 화소값들을 필터링하여 대처값을 산출하는 패턴 노이즈 연산부; 상기 패턴 노이즈가 발생한 지점의 상기 화소값 대신 상기 대처값을 상기 제어부로 출력하는 제2 영상 보정부를 포함하는 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, the pattern noise removing unit comprises: a fixed data input unit configured to receive the position information from the controller, and to receive the pixel value of the original image from the image input unit; A pattern noise calculator configured to calculate a coping value by filtering the pixel values adjacent to the pattern noise in a second direction when the pattern noise occurs in the first direction; And a second image corrector configured to output the coping value to the controller instead of the pixel value at the point where the pattern noise occurs.

본 발명의 또 다른 실시예에 따르면 상기 패턴 노이즈 연산부는 상기 패턴 노이즈에 포함되는 지점의 상기 화소값, 상기 패턴 노이즈에 +제2 방향으로 인접한 m개의 상기 화소값 및 상기 패턴 노이즈에 -제2 방향으로 인접한 m개의 상기 화소값 들 중 중간값에 해당되는 값을 상기 대처값으로 산출하는 메디안 연산을 수행하는 것을 특징으로 하는 노이즈 제거 장치-여기서 m은 1 이상의 자연수임-가 제공된다.According to another embodiment of the present invention, the pattern noise calculation unit includes the pixel value at the point included in the pattern noise, the m number of pixel values adjacent to the pattern noise in the second direction, and the pattern noise in the -second direction. A noise canceller, wherein m is one or more natural numbers, is characterized by performing a median operation for calculating a median value among the m adjacent pixel values as the coping value.

본 발명의 또 다른 실시예에 따르면 상기 패턴 노이즈가 수직 방향으로 발생한 경우에는 상기 제1 방향은 수직 방향, 상기 제2 방향은 수평 방향이며, 상기 패턴 노이즈가 수평 방향으로 발생한 경우에는 상기 제1 방향은 수평 방향, 상기 제2 방향은 수직 방향인 것을 특징으로 하는 노이즈 제거 장치가 제공된다.According to another embodiment of the present invention, when the pattern noise occurs in the vertical direction, the first direction is a vertical direction, and the second direction is a horizontal direction, and when the pattern noise occurs in the horizontal direction, the first direction Is a horizontal direction, and the second direction is a vertical noise removal device is provided.

또한 본 발명의 일 실시예에 따르면 (a) 원본 영상을 입력받는 단계; (b)제1 방향으로 n개의 영역으로 나누어진 상기 원본 영상에서, 상기 영역에 포함된 상기 제1 방향의 라인 별 화소값의 평균값 및 상기 라인들 간의 상기 평균값의 차이를 필터링하여 랜덤 노이즈 여부를 판단하고 상기 랜덤 노이즈 발생 부분의 화소값을 보정한 보정 화소값을 산출하는 단계; (c) 상기 보정 화소값을 이용하여 상기 랜덤 노이즈가 제거된 보정 영상을 생성하는 단계; 및 (d)상기 보정 영상을 출력하는 단계를 포함하는 노이즈 제거 방법이 제공된다.In addition, according to an embodiment of the present invention (a) receiving the original image; (b) In the original image divided into n regions in a first direction, the difference between the average value of pixel values per line in the first direction included in the region and the average value between the lines is filtered to determine whether random noise is present. Determining and calculating a corrected pixel value correcting the pixel value of the random noise generating portion; (c) generating a corrected image from which the random noise is removed using the corrected pixel value; And (d) outputting the corrected image.

본 발명의 다른 실시예에 따르면 상기 (b) 단계는, (b1)상기 n개의 영역으로 구분된 상기 원본 영상의 상기 화소값과 제1 임계값 및 제2 임계값을 입력받는 단계; (b2)상기 평균값에 대해 제1 방향 및 제2 방향으로의 제1 필터링을 수행하여 화소 오차 및 보정값을 산출하고, 상기 화소 오차에 대해 제2 필터링을 수행하여 비교값을 산출하여, 상기 보정값의 절대값 및 상기 비교값과 상기 제1 임계값 및 상기 제2 임계값을 비교하여 랜덤 노이즈를 검출하는 단계; 및 (b3)상기 보정 대상 라인이 랜덤 노이즈로 판단된 경우 상기 보정 대상 라인의 화소값에 상기 보정값을 더한 보정 화소값을 출력하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b) may include: (b1) receiving the pixel value, the first threshold value, and the second threshold value of the original image divided into the n areas; (b2) performing a first filtering in the first and second directions on the average value to calculate a pixel error and a correction value, and performing a second filtering on the pixel error to calculate a comparison value, thereby correcting the correction Comparing the absolute value of the value and the comparison value with the first threshold value and the second threshold value to detect random noise; And (b3) outputting a correction pixel value obtained by adding the correction value to the pixel value of the correction target line when the correction target line is determined to be random noise.

본 발명의 또 다른 실시예에 따르면 상기 (b2) 단계는 (b21)상기 화소값으로부터 상기 영역별로 상기 라인에 포함된 상기 화소값의 평균값을 구하는 단계; 및 (b22)상기 라인들 중 임의의 라인인 보정 대상 라인에 상응하는 상기 평균값과 상기 보정 대상 라인과 제2 방향으로 인접한 인접 라인에 상응하는 상기 평균값을 필 터링하여 상기 보정 대상 라인에 상응하는 예측값을 산출하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b2) may include: (b21) obtaining an average value of the pixel values included in the line for each region from the pixel values; And (b22) a predicted value corresponding to the correction target line by filtering the average value corresponding to the correction target line which is any one of the lines and the average value corresponding to an adjacent line adjacent to the correction target line in a second direction. There is provided a noise removal method comprising the step of calculating the.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b22)는 상기 보정 대상 라인, 상기 보정 대상 라인에 대해 +제2 방향에 있는 1 이상의 상기 인접 라인 및 상기 보정 대상 라인에 대해 -제2 방향에 있는 1 이상의 상기 인접 라인에 상응하는 상기 평균값들 중 가장 작은 값과 가장 큰 값을 제외한 나머지 평균값을 평균함으로써 상기 예측값을 산출하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b22) is in the second direction with respect to the correction target line, at least one adjacent line in the second direction with respect to the correction target line and the correction target line. The noise removal method is provided by calculating the predicted value by averaging the average of the average values other than the smallest and largest values among the average values corresponding to one or more adjacent lines.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b2)는 (b23)상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하는 단계; 및 (b24)상기 화소 오차를 평균하여 보정값을 산출하는 단계-여기서 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인은 상기 보정 대상 라인이 포함된 영역과 다른 영역에 포함됨-를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b2) may include (b23) a pixel error that is a difference between an average value corresponding to the line on the same line in the first direction and the prediction value and the correction target line and the correction target line. Obtaining a; And (b24) calculating a correction value by averaging the pixel error, wherein a line on the same line in the first direction is included in a region different from the region in which the correction target line is included. There is provided a method for removing noise, including.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b2)는 (b25) 상기 보정값의 절대값을 상기 제1 임계값과 비교하고, 상기 보정값의 절대값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 단계를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, step (b2) (b25) compares the absolute value of the correction value with the first threshold value and randomizes the correction target line when the absolute value of the correction value is smaller. A noise removing method is provided, further comprising the step of recognizing it as noise.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b2)는 (b23)상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하는 단계; (b26)상기 화소 오차들을 2개씩 조합하여, 조합된 상기 2개의 화소 오차 간의 차이인 비교값을 산출하는 단계-여기서, 상기 비교값은 양수임-를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b2) may include (b23) a pixel error that is a difference between an average value corresponding to the line on the same line in the first direction and the prediction value and the correction target line and the correction target line. Obtaining a; (b26) combining the pixel errors by two, and calculating a comparison value that is a difference between the two combined pixel errors, wherein the comparison value is a positive number. Is provided.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b2)는 (b27)상기 비교값 연산부로부터 입력받은 상기 비교값을 상기 제2 임계값과 비교하고, 상기 비교값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 단계를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b2) (b27) compares the comparison value received from the comparison value calculator with the second threshold value, and if the comparison value is smaller, the correction target line; A noise removal method is provided, further comprising the step of recognizing it as random noise.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b23)는 상기 예측값에서 상기 평균값을 뺀 값을 상기 화소 오차로 구하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b23) is provided to the noise removal method, characterized in that the value obtained by subtracting the average value from the prediction value as the pixel error.

본 발명의 또 다른 실시예에 따르면 상기 단계 (b23)는 상기 화소 오차를 평균하여 산출된 상기 보정값이 정수가 아닌 경우, 상기 화소 오차의 소수점 이하 값을 반올림한 값을 상기 보정값으로 산출하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b23) is to calculate the value rounded to the decimal point value of the pixel error as the correction value when the correction value calculated by averaging the pixel error is not an integer. There is provided a noise removal method characterized in that.

본 발명의 또 다른 실시예에 따르면 상기 (b) 단계는 수평으로 발생한 상기 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수평 방향, 상기 제2 방향을 수직 방향으로 하며, 수직 방향으로 발생한 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수직 방향, 상기 제2 방향을 수평 방향으로 하여 상기 랜덤 노이즈를 제거하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (b) is to remove the random noise generated horizontally, the first direction in the horizontal direction, the second direction in the vertical direction, random noise generated in the vertical direction In case of removing the noise, a method of removing noise is provided by removing the random noise using the first direction as the vertical direction and the second direction as the horizontal direction.

본 발명의 또 다른 실시예에 따르면 (e)상기 원본 영상에서 패턴 노이즈가 발생한 지점의 위치 정보를 파악하여, 상기 패턴 노이즈가 발생한 상기 지점의 화소값 및 상기 패턴 노이즈에 인접한 지점의 상기 화소값을 필터링하여 상기 패턴 노이즈 발생 부분의 화소값을 보정한 대처값을 산출하는 단계를 더 포함하되, 상기 (c) 단계는 상기 보정 화소값 및 상기 대처값을 이용하여 상기 랜덤 노이즈 및 상기 패턴 노이즈가 제거된 보정 영상을 생성하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention (e) by grasping the position information of the point where the pattern noise occurs in the original image, the pixel value of the point where the pattern noise occurs and the pixel value of the point adjacent to the pattern noise Calculating a coping value by correcting the pixel value of the pattern noise generating part by filtering, wherein step (c) removes the random noise and the pattern noise by using the corrected pixel value and the coping value. There is provided a method for removing noise, comprising generating a corrected image.

본 발명의 또 다른 실시예에 따르면 상기 (e) 단계는 (e1)상기 위치 정보를 입력받고, 상기 원본 영상의 화소값을 입력받는 단계; (e2)상기 패턴 노이즈가 제1 방향으로 발생한 경우, 상기 패턴 노이즈에 제2 방향으로 인접한 화소값들을 필터링하여 대처값을 산출하는 단계; (e3)상기 패턴 노이즈가 발생한 지점의 화소값 대신 상기 대처값을 출력하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, the step (e) comprises: (e1) receiving the location information and receiving a pixel value of the original image; (e2) calculating a coping value by filtering pixel values adjacent to the pattern noise in a second direction when the pattern noise occurs in a first direction; and (e3) outputting the coping value instead of the pixel value at the point where the pattern noise occurs.

본 발명의 또 다른 실시예에 따르면 상기 (e2) 단계는 상기 패턴 노이즈에 포함되는 지점의 화소값, 상기 패턴 노이즈에 +제2 방향으로 인접한 m개의 상기 화소값 및 상기 패턴 노이즈에 -제2 방향으로 인접한 m개의 상기 화소값 들 중 중간값에 해당되는 값을 대처값으로 산출하는 메디안 연산을 수행하는 것을 특징으로 하는 노이즈 제거 방법-여기서 m은 1 이상의 자연수임-이 제공된다.According to another exemplary embodiment of the present invention, the step (e2) may include pixel values of a point included in the pattern noise, m number of pixel values adjacent to the pattern noise in a second direction, and a second direction of the pattern noise. A noise removal method, wherein m is one or more natural numbers, is performed by performing a median operation of calculating a median value corresponding to an intermediate value among m adjacent pixel values.

본 발명의 또 다른 실시예에 따르면 상기 패턴 노이즈가 수직 방향으로 발생한 경우에는 상기 제1 방향은 수직 방향, 상기 제2 방향은 수평 방향이며, 상기 패턴 노이즈가 수평 방향으로 발생한 경우에는 상기 제1 방향은 수평 방향, 상기 제2 방향은 수직 방향인 것을 특징으로 하는 노이즈 제거 방법이 제공된다.According to another embodiment of the present invention, when the pattern noise occurs in the vertical direction, the first direction is a vertical direction, and the second direction is a horizontal direction, and when the pattern noise occurs in the horizontal direction, the first direction Is a horizontal direction and the second direction is a vertical direction.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.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.

제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. The term and / or includes a combination of a plurality of related items or any item of a plurality of related items. 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 "comprising" or "stored" "mounted" "mounted" and the like are intended to indicate that there is a feature, number, step, action, component, part, or combination thereof described on the specification. It is to be understood that the present invention does not exclude in advance the possibility of the presence or the addition of one or more other features or numbers, steps, operations, components, parts, 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.

전술한 것 외의 다른 측면, 특징, 이점이 이하의 도면, 특허청구범위 및 발명의 상세한 설명으로부터 명확해질 것이다. Other aspects, features, and advantages other than those described above will become apparent from the following drawings, claims, and detailed description of the invention.

이하, 본 발명에 따른 노이즈 제거 장치 및 방법의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명하기로 하며, 첨부 도면을 참조하여 설명함에 있어, 동일하거나 대응하는 구성 요소는 동일한 도면번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, a preferred embodiment of the noise removing device and method according to the present invention will be described in detail with reference to the accompanying drawings, in the description with reference to the accompanying drawings, the same or corresponding components are given the same reference numerals and Duplicate explanations will be omitted.

영상에 발생할 수 있는 노이즈는 여러가지 형태를 띨 수 있다. 다만, 본 명세서에서는 줄무늬 노이즈가 발생하는 경우를 중심으로 설명하도록 한다. 그리고, 줄무늬 노이즈는 크게 랜덤 노이즈와 패턴 노이즈로 구분될 수 있다. 본 명세서에서는 랜덤 노이즈를 제거하는 경우과, 패턴 노이즈를 제거하는 경우로 나누어서 영상에 발생한 노이즈를 제거하는 장치 및 방법을 설명하기로 한다.Noise that can occur in an image can take many forms. However, in the present specification, description will be made mainly on the case where streak noise occurs. The streak noise can be largely classified into random noise and pattern noise. In the present specification, an apparatus and a method for removing noise generated in an image by dividing into a case of removing random noise and a case of removing pattern noise will be described.

본 발명의 실시예에 의하면, 노이즈 제거를 위해 전체 원본 영상을 몇 개의 영역으로 나누어서 화소값들의 평균을 구하는 과정이 포함될 수 있다. 여기서, 전 체 영상을 제1 방향 또는 제2 방향으로 n개의 영역으로 나누게 된다. 원본 영상을 특정 방향으로 n개의 영역으로 나눈다 함은, 영역 별로 구분된 원본 영상이 그 특정 방향으로 n개가 배열되도록 영상을 나눈다는 것이다.According to an exemplary embodiment of the present invention, a process of obtaining an average of pixel values by dividing the entire original image into several regions may be included to remove noise. Here, the entire image is divided into n regions in the first direction or the second direction. Dividing an original image into n regions in a specific direction means that the original image divided by regions is divided so that n pieces are arranged in the specific direction.

도 1은 본 발명의 실시예에 의한 원본 영상을 n개의 영역으로 나누는 방법을 도시한 도면이다. 1 is a diagram illustrating a method of dividing an original image into n areas according to an embodiment of the present invention.

도 1의 (a)에 의하면 제1 방향으로 n개의 영역(112, 114, 116)으로 나누어진 원본 영상(110)이 도시되어 있다. 여기서 제1 방향은 수평 방향을 의미하여, n은 3이다. 도 1의 (a)에 도시된 바에 따라 원본 영상의 영역을 구분하여 랜덤 노이즈를 제거하면, 수평 방향으로 발생한 랜덤 노이즈가 제거될 수 있다. 노이즈 제거 장치는 구분된 각 영역(112, 114, 116)에 각각 포함된 라인 단위로 화소값의 평균값을 산출한다. 118은 제1 방향의 라인의 한 예를 나타낸다. Referring to FIG. 1A, an original image 110 divided into n regions 112, 114, and 116 in a first direction is illustrated. Here, the first direction means a horizontal direction, and n is three. As shown in FIG. 1A, when the random noise is removed by dividing the region of the original image, random noise generated in the horizontal direction may be removed. The noise removing apparatus calculates an average value of pixel values in units of lines included in each of the divided regions 112, 114, and 116. 118 shows an example of the line in the first direction.

도 1의 (b)에 의하면 제2 방향으로 n개의 영역(122, 124, 126)으로 나누어진 원본 영상(120)이 도시되어 있다. 여기서 제2 방향은 수직 방향을 의미하여, n은 3이다. 도 1의 (b)에 도시된 바에 따라 원본 영상의 영역을 구분하여 랜덤 노이즈를 제거하면, 수직 방향으로 발생한 랜덤 노이즈가 제거될 수 있다. 노이즈 제거 장치는 구분된 각 영역(122, 124, 126)에 각각 포함된 라인 단위로 화소값의 평균값을 산출한다. 여기서 128은 제2 방향의 라인의 한 예이다.Referring to FIG. 1B, an original image 120 divided into n regions 122, 124, and 126 in a second direction is illustrated. Here, the second direction means a vertical direction, and n is three. As shown in FIG. 1B, when the random noise is removed by dividing the region of the original image, random noise generated in the vertical direction may be removed. The noise removing apparatus calculates an average value of pixel values in units of lines included in each of the divided regions 122, 124, and 126. Where 128 is an example of a line in the second direction.

원본 영상을 구성하는 각각의 영역에 있어서, 수평 방향으로 3 개의 영역으로분할된 원본 영상(110)의 경우 각 영역(112, 114, 116)은 수평 방향의 라인들을 포함하게 되며, 수직 방향으로 3 개의 영역으로 분할된 원본 영상(120)의 경우 각 영역(122, 124, 126)은 수직 방향의 라인들을 포함하게 된다.In each region constituting the original image, in the original image 110 divided into three regions in the horizontal direction, each region 112, 114, and 116 includes horizontal lines and 3 in the vertical direction. In the case of the original image 120 divided into two regions, each region 122, 124, and 126 includes vertical lines.

도 2는 본 발명의 일 실시예에 의한 노이즈 제거 장치(200)의 블록 구성도이며, 도 3은 본 발명의 일 실시예에 의한 노이즈 제거 방법의 흐름도이다. 도 2 및 도 3을 참조하여 노이즈 제거 장치(200)의 기능 및 동작에 대하여 설명하도록 한다.2 is a block diagram illustrating a noise removing apparatus 200 according to an embodiment of the present invention, and FIG. 3 is a flowchart illustrating a noise removing method according to an embodiment of the present invention. A function and an operation of the noise removing apparatus 200 will be described with reference to FIGS. 2 and 3.

본 발명의 일 실시예에 의한 노이즈 제거 장치(200)는 영상 입력부(210), 랜덤 노이즈 제거부(220), 패턴 노이즈 제거부(230), 제어부(240) 및 영상 출력부(250)를 포함할 수 있다. The noise removing apparatus 200 according to an embodiment of the present invention includes an image input unit 210, a random noise remover 220, a pattern noise remover 230, a controller 240, and an image output unit 250. can do.

실시예에 따라서는 랜덤 노이즈 제거부(220) 또는 패턴 노이즈 제거부(230) 둘 중의 하나만을 포함하는 노이즈 제거 장치가 실시될 수 있다. 다만 본 실시예에서는 랜덤 노이즈 제거와 패턴 노이즈 제거를 한 번에 설명하기 위해, 랜덤 노이즈 제거부(220)와 패턴 노이즈 제거부(230)를 모두 포함하는 노이즈 제거 장치를 위주로 설명한다. According to an exemplary embodiment, a noise removing device including only one of the random noise removing unit 220 and the pattern noise removing unit 230 may be implemented. However, in this embodiment, in order to describe the random noise removal and the pattern noise removal at a time, the noise removal apparatus including both the random noise removal unit 220 and the pattern noise removal unit 230 will be described.

마찬가지로, 노이즈 제거 방법에 있어서도, 랜덤 노이즈 제거와 패턴 노이즈제거 둘 중 어느 하나만을 실시하는 노이즈 제거 방법이 있을 수 있다. 그러나, 이해와 설명의 편의를 위해, 본 실시예는 영상 보정에 있어 랜덤 노이즈와 패턴 노이즈를 모두 제거할 수 있는 노이즈 제거 방법을 위주로 설명하도록 한다. Similarly, in the noise removal method, there may be a noise removal method that performs only one of random noise removal and pattern noise removal. However, for the sake of convenience of understanding and explanation, the present embodiment focuses on a noise removal method capable of removing both random noise and pattern noise in image correction.

영상 입력부(210)는 디스플레이할 영상을 외부로부터 입력받는다(S310). 이 때 입력받은 영상이 원본 영상에 해당한다. 영상 입력부(210)에는 영상과 함께, 그 입력 영상의 화소에 관한 정보가 함께 입력될 수 있다. 영상 입력부(210)로 입력된 원본 영상은, 랜덤 노이즈 제거부(220), 패턴 노이즈 제거부(230)에 의해 화소값 보정(S330, S360) 등의 방법으로 노이즈가 제거된다. The image input unit 210 receives an image to be displayed from the outside (S310). At this time, the input image corresponds to the original image. The image input unit 210 may be input together with an image and information about pixels of the input image. In the original image input to the image input unit 210, noise is removed by a method such as pixel value correction (S330, S360) by the random noise remover 220 and the pattern noise remover 230.

랜덤 노이즈 제거를 위해서 랜덤 노이즈 제거부(220)는 원본 영상에 랜덤 노이즈가 있는지 검토(S320)하여 랜덤 노이즈를 검출하고, 랜덤 노이즈가 발생한 부분의 화소값을 보정하기 위한 보정 화소값을 산출한다(S330). 또한 패턴 노이즈 제거부(230)는 원본 영상에 패턴 노이즈가 존재하는 경우(S340) 우선 패턴 노이즈의 위치 정보를 제어부(240) 또는 영상 입력부(210)로부터 입력받아 패턴 노이즈의 위치 정보를 파악(S350)한다. 그리고 패턴 노이즈 발생 부분의 화소값을 보정하기 위한 대처값을 산출(S360)한다. In order to remove the random noise, the random noise removing unit 220 examines whether the original image has random noise (S320), detects random noise, and calculates a corrected pixel value for correcting the pixel value of the portion where the random noise has occurred ( S330). In addition, when the pattern noise is present in the original image (S340), the pattern noise removing unit 230 first receives the position information of the pattern noise from the controller 240 or the image input unit 210 to identify the position information of the pattern noise (S350). )do. Then, a countermeasure value for correcting the pixel value of the pattern noise generating portion is calculated (S360).

그러면 제어부(240)는 보정 화소값 및/또는 대처값을 포함하는 보정된 화소값을 이용하여 출력용 보정 영상을 생성(S370)한다. 그리고 영상 출력부(250)는 제어부(240)가 생성한 보정 영상을 출력(S380)한다.Then, the controller 240 generates a correction image for output using the corrected pixel value including the corrected pixel value and / or the coping value (S370). The image output unit 250 outputs the corrected image generated by the controller 240 (S380).

원본 영상은 상술한 바에 따라 n개의 영역으로 이루어지며, 각 영역에 해당하는 영상은 라인들로 이루어진다. 또한 각 라인들은 각각의 화소값을 가지는 화소들의 배열을 포함한다. As described above, the original image is composed of n regions, and the image corresponding to each region is composed of lines. Each line also includes an array of pixels with respective pixel values.

제어부(240)는 영상 입력부(210)에 입력된 원본 영상으로부터 화소값을 읽어올 수 있다. 제어부(240)는 원본 영상으로부터 읽어온 원본 영상의 화소값들을 랜덤 노이즈 제거부(220) 또는 패턴 노이즈 제거부(230)로 출력할 수 있다. 또는 영 상 입력부(210)는 제어부(240)의 제어 신호에 의해 원본 영상의 화소들을 랜덤 노이즈 제거부(220) 또는 패턴 노이즈 제거부(230)로 출력할 수 있다. The controller 240 may read a pixel value from the original image input to the image input unit 210. The controller 240 may output pixel values of the original image read from the original image to the random noise remover 220 or the pattern noise remover 230. Alternatively, the image input unit 210 may output the pixels of the original image to the random noise remover 220 or the pattern noise remover 230 according to a control signal of the controller 240.

또한 랜덤 노이즈 여부를 판별하기 위해 필요한 제1 임계값 및 제2 임계값을 노이즈 제거 장치(200)의 사용자가 입력하면 제어부(240)는 이들 임계값을 입력받아 저장하거나, 랜덤 노이즈 제거부(220)로 출력할 수 있다. In addition, when a user of the noise removing apparatus 200 inputs the first threshold value and the second threshold value necessary to determine whether the random noise is present, the controller 240 receives and stores these threshold values, or the random noise removing unit 220. Can be printed as

영상 출력부(250)는 랜덤 노이즈 제거부(220) 및 패턴 노이즈 제거부(230)에 의해 노이즈가 제거된 영상인 보정 영상을 출력(S380)한다. 다만, 원본 영상에 노이즈로 판단되는 부분이 없었던 경우에는 화소값은 보정되지 않을 수 있고, 영상 출력부(250)를 통해 출력되는 영상은 원본 영상과 동일할 수 있다. The image output unit 250 outputs a corrected image that is an image from which noise is removed by the random noise remover 220 and the pattern noise remover 230 (S380). However, when there is no part determined as noise in the original image, the pixel value may not be corrected, and the image output through the image output unit 250 may be the same as the original image.

도 4는 본 발명의 일 실시예에 의한 랜덤 노이즈 제거부(220)의 블록 구성도이다. 4 is a block diagram of a random noise removing unit 220 according to an embodiment of the present invention.

도 4의 (a)에 도시된 실시예에 의하면, 랜덤 노이즈 제거부(220)는 랜덤 데이터 입력부(410), 연산 및 판별부(415) 및 제1 영상 보정부(480)를 포함할 수 있다. According to the exemplary embodiment illustrated in FIG. 4A, the random noise removing unit 220 may include a random data input unit 410, an operation and determination unit 415, and a first image correction unit 480. .

또한 연산 및 판별부(415)는 평균값 연산부(430), 예측값 연산부(440), 오차 연산부(450), 비교값 연산부(460), 랜덤 노이즈 판별부(470)를 포함할 수 있다. 다른 실시예에 의하면 연산 및 판별부(415)에 평균값 연산부(430), 예측값 연산부(440), 오차 연산부(450), 비교값 연산부(460), 랜덤 노이즈 판별부(470) 중 어느 하나 이상 또는 이들 간의 조합이 포함될 수 있다. 그러나 도 4의 (a)에 도시된 실시예에서는 이들 구성요소가 모두 포함된 경우를 위주로 설명한다. In addition, the operation and determination unit 415 may include an average value operation unit 430, a prediction value operation unit 440, an error operation unit 450, a comparison value operation unit 460, and a random noise determination unit 470. According to another exemplary embodiment, at least one of an average value calculator 430, a predicted value calculator 440, an error calculator 450, a comparison value calculator 460, and a random noise determiner 470 may be included in the calculation and determination unit 415. Combinations of these may be included. However, in the embodiment shown in (a) of Figure 4 will be described mainly in the case where all of these components are included.

여기서, 도 4의 (b)에 도시된 다른 실시예에 의하면 평균값 연산부(430), 예측값 연산부(440), 오차 연산부(450) 및 비교값 연산부(460)는 하나의 구성 요소인 랜덤 노이즈 연산부(420)로 구성될 수 있다. Here, according to another exemplary embodiment shown in FIG. 4B, the average value calculator 430, the predicted value calculator 440, the error calculator 450, and the comparison value calculator 460 are random components of one component. 420.

다만, 본 실시예에서는 랜덤 노이즈 제거부(220) 또는 연산 및 판별부(415)에서의 각 연산을 명확히 기재하기 위해 서로 다른 연산은 다른 구성 요소에서 수행되는 경우를 중심으로 설명하도록 한다.However, in the present embodiment, in order to clearly describe each operation in the random noise removing unit 220 or the calculation and discriminating unit 415, different operations will be described based on the case where the different components are performed.

랜덤 데이터 입력부(410)는 랜덤 노이즈 제거에 있어서 연산 수행에 필요한 데이터들을 입력받는다. 우선 원본 영상의 화소값을 제어부(240)로부터 입력받을 수 있다. 또한 보정 대상 라인이 랜덤 노이즈에 해당되는지를 판별하기 위해 필요한 제1 임계값 및 제2 임계값을 입력받을 수 있다. 제1 임계값 및 제2 임계값은 노이즈 제거 장치(200)에 미리 저장 또는 설정되어 있는 값일 수 있다. 또는 입력된 원본 영상의 노이즈 정도에 따라 외부로부터 입력받는 값일 수 있다. 제1 임계값 및 제2 임계값에 대해서는 랜덤 노이즈 판별부(470)에 대해 설명하는 부분에서 함께 기술하도록 한다.The random data input unit 410 receives data necessary for performing an operation in removing random noise. First, the pixel value of the original image may be input from the controller 240. In addition, the first threshold value and the second threshold value necessary for determining whether the correction target line corresponds to random noise may be input. The first threshold value and the second threshold value may be values previously stored or set in the noise removing apparatus 200. Or it may be a value received from the outside according to the noise level of the input original image. The first threshold value and the second threshold value will be described together in the description of the random noise discriminating unit 470.

다른 실시예에 의할 경우, 랜덤 데이터 입력부(410)는 영상 입력부(210)의 일부분으로 구성되는 등으로 인해 영상 입력부(210)와 하나의 구성 요소가 될 수 있다. 이 경우에는 제1 임계값 및 제2 임계값은 영상 입력부(210)가 입력받아, 랜덤 노이즈 검출 단계에서 영상 입력부(210)가 제1 임계값 및 제2 임계값을 랜덤 노이즈 판별부(470)로 출력할 수 있다. According to another exemplary embodiment, the random data input unit 410 may be a component of the image input unit 210 due to being configured as a part of the image input unit 210. In this case, the first threshold value and the second threshold value are input by the image input unit 210, and the image input unit 210 determines the first threshold value and the second threshold value at the random noise detection step 470. Can be printed as

연산 및 판별부(415)는 보정 대상 라인이 랜덤 노이즈에 해당하는지 판단(즉, 랜덤 노이즈를 검출)하고, 상기 판단을 위해 필요한 값들을 산출하기 위한 연산을 수행하는 부분이다. 연산 및 판별부(415)는 화소값 및 화소값들의 평균값에 대해 제1 필터링 및 제2 필터링을 수행하는데, 위 필터링들의 내용에 대해서는 아래에서 보다 상세하게 기술하도록 한다.The calculation and determining unit 415 determines whether the correction target line corresponds to random noise (that is, detects random noise) and performs a calculation for calculating values necessary for the determination. The calculation and discriminating unit 415 performs the first filtering and the second filtering on the pixel value and the average value of the pixel values. The contents of the above filtering will be described in more detail below.

평균값 연산부(430)는 라인 단위로, 각 라인 별 화소값들의 평균값을 구하는 연산을 수행할 수 있다. 본 명세서에서는 산술 평균을 구하는 방법에 의해 평균값을 구하는 실시예를 중심으로 설명하나, 다른 실시예에 의할 경우에는 이와는 다른 방법에 의해 라인 별 화소값을 구하는 것도 가능할 것이다. The average value calculator 430 may calculate an average value of pixel values of each line in line units. In the present specification, a description will be given of an embodiment for obtaining an average value by a method for calculating an arithmetic mean. However, in another embodiment, it may be possible to obtain pixel values per line by a different method.

예측값 연산부(440)는 보정 대상 라인의 평균값 및 보정 대상 라인과 제2 방향(본 실시예에서는 수직 방향)으로 인접한 라인, 즉 인접 라인의 화소값들의 평균값을 필터링하여 예측값을 산출한다. 예측값은 보정 대상 라인이 노이즈가 아니라면 측정되어야 할 화소값의 추정치로서의 값일 수 있다. The prediction value calculator 440 calculates the prediction value by filtering the average value of the correction target line and the average value of pixel values of adjacent lines in the second direction (vertical direction in this embodiment), that is, the correction target line. The predicted value may be a value as an estimate of the pixel value to be measured if the line to be corrected is not noise.

또한 오차 연산부(450)는 예측값과 평균값의 차이인 화소 오차를 구한다. 특히, 본 실시예에서는 예측값에서 평균값을 빼는 연산을 위주로 설명한다. 따라서 평균값이 예측값보다 크게 측정된 경우에는 화소 오차는 음수가 될 수 있고, 반대의 경우에는 화소 오차는 양수가 될 수 있다. 보정값은 보정 대상 라인의 화소 오차와 보정 대상 라인에 제1 방향으로 인접한 라인들, 즉 서로 다른 영역에 포함되어 있으면서 보정 대상 라인과 동일 선상에 있는 라인들의 화소 오차들을 평균한 값이다. In addition, the error calculator 450 calculates a pixel error that is a difference between the predicted value and the average value. In particular, the present embodiment focuses on the operation of subtracting the average value from the predicted value. Therefore, when the average value is larger than the predicted value, the pixel error may be negative, and in the opposite case, the pixel error may be positive. The correction value is a value obtained by averaging pixel errors of the line to be corrected and pixel errors of the lines adjacent to the line to be corrected in the first direction, that is, the lines included in different areas and on the same line as the line to be corrected.

평균값 연산부(440), 예측값 연산부(450) 및 오차 연산부(460)에서의 연산은 제1 필터링에 의해 수행되는 연산의 하나일 수 있다. 따라서 제1 필터링의 결과로 화소 오차 및 보정값이 얻어질 수 있다.The average value calculator 440, the predicted value calculator 450, and the error calculator 460 may be one of operations performed by the first filtering. Therefore, the pixel error and the correction value can be obtained as a result of the first filtering.

비교값 연산부(470)는 제1 필터링의 결과 산출된 화소 오차들 간의 차이를 연산한다. 또는 비교값 연산부(470)가 화소 오차를 산출하고, 화소 오차들 간의 ㅊ차이를 연상할 수도 있다. 보정 대상 라인과 동일 선상의 라인들에 상응하는 화소 오차들을, 2개씩 조합하여 그 두 값들 간의 차를 구함으로써 비교값을 산출할 수 있다. 단, 비교값은 2개씩 조합된 화소 오차들 간의 차의 절대값으로 음수가 아니다. 즉 제1 필터링의 결과 얻어진 값(화소 오차)들을 이용하여 비교값을 산출하는 연산은 제2 필터링에 의해 수행되는 연산의 하나일 수 있다. 즉, 제2 필터링의 결과 비교값이 산출될 수 있다.The comparison value calculator 470 calculates a difference between pixel errors calculated as a result of the first filtering. Alternatively, the comparison value calculator 470 may calculate a pixel error and associate a difference between the pixel errors. A comparison value can be calculated by combining two pixel errors corresponding to the correction target line and the lines on the same line and calculating the difference between the two values. However, the comparison value is an absolute value of the difference between the pixel errors combined by two, and is not negative. That is, an operation of calculating a comparison value using the values (pixel errors) obtained as a result of the first filtering may be one of operations performed by the second filtering. That is, the comparison result of the second filtering may be calculated.

랜덤 노이즈 판별부(470)는 제1 필터링의 결과 얻어진 값(보정값)의 절대값과 제1 임계값을 비교하고, 제2 필터링의 결과 얻어진 값(비교값)을 제2 임계값과 비교하여 보정 대상 라인이 랜덤 노이즈인지 여부를 판단한다. The random noise discriminating unit 470 compares the absolute value of the value (correction value) obtained as a result of the first filtering with the first threshold value, and compares the value (comparative value) obtained as a result of the second filtering with the second threshold value. It is determined whether the correction target line is random noise.

보정 대상 라인이 랜덤 노이즈에 해당하는지 여부를 판단하는 상기 제 과정을 수행하는 구성 부분을 연산 및 검출부라고 한다. 연산 및 검출부에 의해 랜덤 노이즈 검출에 필요한 값들의 연산 및 랜덤 노이즈 해당 여부의 판단이 완료되면 제1 영상 보정부(480)는 랜덤 노이즈 부분의 화소값을 보정한 보정 화소값을 산출하게 된다. A component that performs the above process of determining whether a correction target line corresponds to random noise is referred to as an operation and detection unit. When the calculation of the values necessary for the detection of the random noise and the determination of the random noise are completed by the operation and detection unit, the first image correction unit 480 calculates the corrected pixel value correcting the pixel value of the random noise portion.

도 5는 본 발명의 일 실시예에 의한 원본 영상의 각 라인 별로 화소값의 평균값을 산출하는 과정을 나타낸 도면이며, 도 6은 본 발명의 일 실시예에 의한 랜덤 노이즈 제거 방법의 흐름도이다. 도 5 및 도 6을 참조하여 본 발명의 일 실시예에 의한 랜덤 노이즈의 제거 과정을 설명한다. FIG. 5 is a diagram illustrating a process of calculating an average value of pixel values for each line of an original image according to an embodiment of the present invention, and FIG. 6 is a flowchart illustrating a random noise removing method according to an embodiment of the present invention. A process of removing random noise according to an embodiment of the present invention will be described with reference to FIGS. 5 and 6.

도 5에 도시된 바에 의하면 원본 영상(500)은 각각에 상응하는 화소값을 가지는 화소들로 구성되어 있다. 도 5에 표시된 a11, a12,… a1x 그리고 b11, b12, c11, … , c31, … 등이 그 자리에 위치한 화소들의 화소값이다. 이 점들의 배열이 라인을 구성할 수 있다. 즉 수평 방향(제1 방향)으로, 화소값 a11을 갖는 화소에서부터 화소값 a1x을 갖는 화소까지의 화소들이 배열된 것이 하나의 라인(510)을 구성할 수 있다. 여기서 원본 영상의 화소값은 랜덤 데이터 입력부(410)로 입력(S610)된다. As shown in FIG. 5, the original image 500 is composed of pixels having pixel values corresponding to the original image 500. A 11 , a 12 ,... a 1x and b 11 , b 12 , c 11 ,... , c 31 ,. And the like are the pixel values of the pixels located therein. The arrangement of these points can constitute a line. That is, in the horizontal direction (first direction), the arrangement of the pixels from the pixel having the pixel value a 11 to the pixel having the pixel value a 1x may constitute one line 510. Here, the pixel value of the original image is input to the random data input unit 410 (S610).

그리고 랜덤 데이터 입력부(410)는 후술할 랜덤 노이즈 판별부(470)가 랜덤 노이즈를 검출 또는 판별할 때 필요한 제1 임계값 및 제2 임계값을 제어부(240)로부터 입력(S610)받을 수 있다.The random data input unit 410 may receive an input (S610) of the first threshold value and the second threshold value required when the random noise determination unit 470, which will be described later, detects or determines the random noise.

원본 영상(500)은 상술한 바와 같이 n개의 영역으로 분할되는데, 도 5는 원본 영상이 수평 방향으로 3개의 영역으로 분할된 경우를 나타낸다. 본 실시예에 의한 원본 영상(500)은 제1 영역(540), 제2 영역(542) 그리고 제3 영역(544)으로 분할된다. 그리고 제1 영역(540)은 도시된 바와 같이 수평 방향의 라인들(예컨대 510, 512, 514, 516, 518, … 등을 포함)로 구성될 수 있다. As described above, the original image 500 is divided into n regions, and FIG. 5 illustrates a case in which the original image is divided into three regions in the horizontal direction. The original image 500 according to the present exemplary embodiment is divided into a first region 540, a second region 542, and a third region 544. As illustrated, the first region 540 may include horizontal lines (eg, including 510, 512, 514, 516, 518,...).

마찬가지로 제2 영역(542)은 그 영역에 속한 수평 방향(제1 방향)의 라인 들(520, 524 등을 포함)로, 제3 영역(544)은 그 영역에 속한 수평 방향(제1 방향)의 라인들(530, 534 등을 포함)로 구성된다. Similarly, the second region 542 is a line (including 520, 524, etc.) in the horizontal direction (first direction) belonging to the region, and the third region 544 is a horizontal direction (first direction) belonging to the region. Of lines 530, 534, and the like.

또한 본 명세서에서 동일 선상에 있는 라인이란, 각 영역에서 제2 방향(도 5에서는 수직 방향에 해당함)으로 동일한 위치에 있는 라인을 말한다. 즉, 라인 514에 대하여서는 라인 524 및 라인 534가 동일 선상에 있는 라인에 해당한다. In addition, in this specification, the line on the same line means the line located in the same position in a 2nd direction (corresponding to a vertical direction in FIG. 5) in each area | region. That is, for line 514, line 524 and line 534 correspond to the line on the same line.

또한 인접 라인이란, 동일한 영역 내에 있는 라인 중 특정 라인과 평행하게 인접하여 있는 라인을 말한다. 라인 514에 대하여서는 512와 516이 인접 라인에 해당하고, 2 개의 인접 라인이라 하면 라인 510, 512, 516, 518을 가리킨다. In addition, an adjacent line means the line which adjoins parallel to a specific line among the lines in the same area | region. For line 514, 512 and 516 correspond to adjacent lines, and two adjacent lines indicate lines 510, 512, 516 and 518.

보다 상세하게는, 라인 514에 대해서 +제2 방향으로의 인접 라인은 512이며, -제2 방향으로의 인접 라인은 516이다.More specifically, for line 514, the adjacent line in the + second direction is 512, and the -line adjacent in the second direction is 516.

본 발명의 실시예에 의하면 n값이 커질수록 랜덤 노이즈 검출의 정확도 또는 정밀도가 높아질 수 있다.According to an exemplary embodiment of the present invention, as the n value increases, the accuracy or precision of random noise detection may increase.

각 라인 별로 평균값 연산부(430)는 그 라인에 속하는 점들의 화소값을 평균한 평균값을 산출(S620)할 수 있다. 어느 한 라인에서만 화소값의 평균값이 현저히 높거나 낮다면 그 라인은 노이즈를 포함하고 있을 가능성이 높다.The average value calculator 430 for each line may calculate an average value obtained by averaging pixel values of points belonging to the line (S620). If the average value of a pixel value is significantly higher or lower on only one line, that line is likely to contain noise.

본 실시예에 의하면, 평균값은 하기의 수학식 1에 의해 산출될 수 있다.According to the present embodiment, the average value may be calculated by Equation 1 below.

[수학식 1][Equation 1]

a1 = (a11 + a12 + … + a1x)/xa 1 = (a 11 + a 12 +… + a 1x ) / x

a2 = (a21 + a22 + … + a2x)/xa 2 = (a 21 + a 22 +… + a 2x ) / x

a3 = (a31 + a32 + … + a3x)/xa 3 = (a 31 + a 32 +… + a 3x ) / x

ay = (ay1 + ay2 + … + ayx)/xa y = (a y1 + a y2 +… + a yx ) / x

b1 = (b11 + b12 + … + b1x)/xb 1 = (b 11 + b 12 +… + b 1x ) / x

c1 = (c31 + c31 + … + c3x)/xc 1 = (c 31 + c 31 +… + c 3x ) / x

제1 영역(540)에 포함되는 라인들의 화소값의 평균값을 H_ave1(550), 제2 영역(542)에 포함되는 라인들의 화소값의 평균값을 H_ave2(560), 제3 영역(544)에 포함되는 라인들의 화소값의 평균값을 H_ave3(570)이라고 한다. 이하에서는 예측값이나 보정값 등을 설명함에 있어서는 제1 영역(540)의 평균값들인 H_ave1(550) 중에서 평균값 a3 를 갖는 라인(514)에 대해 랜덤 노이즈를 검출하고 제거하는 경우를 예로 들어 설명하도록 한다. 따라서 화소값 a31 내지 a3x로 구성되는 라인(514)이 보정 대상 라인에 해당하게 된다.The average value of pixel values of the lines included in the first area 540 is included in the H_ave1 550, and the average value of the pixel values of the lines included in the second area 542 is included in the H_ave2 560 and the third area 544. The average value of the pixel values of the lines to be referred to as H_ave3 570. In the following description, a case in which random noise is detected and removed from the line 514 having an average value a 3 among H_ave1 550, which is an average value of the first region 540, will be described. . Accordingly, the line 514 composed of the pixel values a 31 to a 3x corresponds to the correction target line.

보정 대상 라인의 평균값이 산출되었으면, 인접 라인의 평균값을 이용하여 예측값을 산출(S630)할 수 있다. 예측값을 산출하는 연산은 예측값 연산부(440)에 의해 수행될 수 있다. 예측값은 보정 대상 라인(514)의 평균값(a3)과 그 인접 라인(510, 512, 516, 518 등)의 평균값들((a1, a2, a4, a5 등)을 "알파 트림드 민 필 터(alpha trimmed mean filter)"에 의한 필터링을 통해 구할 수 있다. When the average value of the correction target line is calculated, the prediction value may be calculated using the average value of the adjacent lines (S630). The operation of calculating the predicted value may be performed by the predicted value calculator 440. The predicted value is the average value of the correction target line (514), (a 3) and the average value of the adjacent line (510, 512, 516, 518, etc.) ((a 1, a 2 , a 4, a 5 , etc.) on the "alpha-stream This can be obtained by filtering by "alpha trimmed mean filter".

알파 트림드 민 필터에 의한 예측값 산출에 있어서, 필터 길이(filter length)가 5이고 알파(alpha)가 1인 경우를 일 실시예로 설명하도록 한다. 필터 길이가 5인 경우, 보정 대상 라인(514)과 +제2 방향으로 인접한 두 개의 라인(510, 512)의 평균값과(a1, a2) -제2 방향으로 인접한 두 개의 라인(516, 518)의 평균값(a4, a5) 및 보정 대상 라인(514)의 평균값(a3)을 포함하는 5개의 평균값에 대해 필터링을 한다. In calculating the predicted value by the alpha trimmed min filter, the case where the filter length is 5 and the alpha is 1 will be described as an embodiment. When the filter length is 5, the average value of the correction target line 514 and two lines 510 and 512 adjacent in the second direction (a 1 , a 2 ) and two lines adjacent in the second direction 516, The five average values including the average values a 4 and a 5 of 518 and the average values a 3 of the correction target line 514 are filtered.

또한 알파값이 1이라면, a1, a2, a3, a4, a5 중 가장 작은 값 하나와 가장 큰 값 하나를 제외한 나머지 3개의 평균값에 대해 연산을 수행하여 예측값을 산출한다. In addition, if the alpha value is 1, the predicted value is calculated by performing an operation on three remaining values except for the smallest one and the largest one among a 1 , a 2 , a 3 , a 4 , and a 5 .

만일 다른 실시예에 의해 필터 길이가 7이고 알파값이 2이며 보정 대상 라인의 평균값이 a4인 경우라면, a1, a2, a3, a4, a5, a6, a7 중 가장 작은 값과 두 번째로 작은 값(또는 가장 작은 값 두개), 그리고 가장 큰 값과 두 번째로 큰 값(또는 가장 큰 값 두개)을 제외한 나머지 평균값 세 개로 연산을 수행하게 된다.If, according to another embodiment, the filter length is 7, the alpha value is 2, and the average value of the line to be corrected is a 4 , the most of a 1 , a 2 , a 3 , a 4 , a 5 , a 6 , a 7 The operation is performed with the smallest value, the second smallest value (or two smallest values), and the average of the three remaining values except the largest and second largest value (or two largest values).

본 실시예에서는 예측값 연산부(440)가 a1, a2, a3, a4, a5 중 가장 작은 값 하나와 가장 큰 값 하나를 제외(즉, 알파값 = 1 인 경우)한 나머지 3개의 평균값을 산술 평균한 값과 보정 대상 라인의 평균값과의 차이를 예측값으로 산출(S630)한다.In the present exemplary embodiment, the predicted value calculator 440 excludes one of the smallest one and the largest one among a 1 , a 2 , a 3 , a 4 , and a 5 (that is, when alpha = 1). The difference between the arithmetic average value of the average value and the average value of the correction target line is calculated as a predicted value (S630).

이를 수학식으로 정리하면 다음과 같다. 여기서 pre_H1는 예측값이다. This can be summarized as follows. Where pre_H1 is a predicted value.

[수학식 2][Equation 2]

min_val = min([a1, a2, a3, a4, a5]) min_val = min ([a 1 , a 2 , a 3 , a 4 , a 5 ])

max_val = max([a1, a2, a3, a4, a5])max_val = max ([a 1 , a 2 , a 3 , a 4 , a 5 ])

pre_H1 = (a1 + a2 + a3 + a4 + a5 - min_val - max_val)/3 pre_H1 = (a 1 + a 2 + a 3 + a 4 + a 5 -min_val-max_val) / 3

min_val = min([b1, b2, b3, b4, b5]) min_val = min ([b 1 , b 2 , b 3 , b 4 , b 5 ])

max_val = max([b1, b2, b3, b4, b5])max_val = max ([b 1 , b 2 , b 3 , b 4 , b 5 ])

pre_H2 = (b1 + b2 + b3 + b4 + b5 - min_val - max_val)/3 pre_H2 = (b 1 + b 2 + b 3 + b 4 + b 5 -min_val-max_val) / 3

min_val = min([c1, c2, c3, c4, c5]) min_val = min ([c 1 , c 2 , c 3 , c 4 , c 5 ])

max_val = max([c1, c2, c3, c4, c5]) max_val = max ([c 1 , c 2 , c 3 , c 4 , c 5 ])

pre_H3 = (c1 + c2 + c3 + c4 + c5 - min_val - max_val)/3 pre_H3 = (c 1 + c 2 + c 3 + c 4 + c 5 -min_val-max_val) / 3

다만 여기서 상기 +제2 방향 또는 -제2 방향 중 어느 한 방향으로 1 이상의 상기 인접 라인이 없는 경우가 있을 수 있다. 이 경우에 예측값 연산부(440)는 나머지 한 방향으로 2 이상의 상기 인접 라인에 상응하는 상기 평균값들 중 가장 작 은 값과 가장 큰 값을 제외한 나머지 평균값들을 평균함으로써 상기 예측값을 산출할 수 있다.However, there may be a case where there is no one or more adjacent lines in any one of the + second direction and the-second direction. In this case, the predicted value calculator 440 may calculate the predicted value by averaging the remaining average values except the smallest and largest values among the average values corresponding to two or more adjacent lines in the other direction.

또한 본 실시예에 의하면, 화소 오차는 오차 연산부(450)가 수학식 2에 의해 산출된 예측값과 보정 대상 라인의 평균값의 차이에 해당하는데, 예측값에서 보정 대상 라인의 평균값을 뺀 값으로 산출될 수 있다. 따라서 화소 오차는 예측값이 평균값보다 작은 경우에는 음수가 된다. In addition, according to the present exemplary embodiment, the pixel error corresponds to a difference between the predicted value calculated by Equation 2 and the average value of the correction target line, which may be calculated by subtracting the average value of the correction target line from the prediction value. have. Therefore, the pixel error becomes negative when the predicted value is smaller than the average value.

또한 화소 오차는 보정 대상 라인과 동일 선상에 있는 모든 다른 영역의 라인에 대해서도 산출한다. 즉, 라인 524 및 534에 대해서도 그 예측값에서 평균값을 뺀 값인 화소 오차를 구할 수 있다. 하기의 수학식 3에서 diff_H1는 화소 오차이다. The pixel error is also calculated for the lines of all other areas on the same line as the correction target line. That is, the pixel error, which is obtained by subtracting the average value from the predicted values, can also be obtained for the lines 524 and 534. In Equation 3 below, diff_H1 is a pixel error.

[수학식 3][Equation 3]

diff_H1 = pre_H1 - a3 diff_H1 = pre_H1-a 3

diff_H2 = pre_H2 - b3 diff_H2 = pre_H2-b 3

diff_H3 = pre_H3 - c3 diff_H3 = pre_H3-c 3

그리고 오차 연산부(450)는 산출한 화소 오차를 이용하여 보정 대상 라인이 랜덤 노이즈인지 여부를 판별하고, 랜덤 노이즈인 경우 노이즈 부분의 화소값을 보정하기 위한 보정값 및 비교값을 산출할 수 있다. 다만 비교값은 비교값 연산부(460)에 의해 산출될 수 있다. The error calculator 450 may determine whether the line to be corrected is random noise by using the calculated pixel error, and calculate a correction value and a comparison value for correcting the pixel value of the noise part in the case of random noise. However, the comparison value may be calculated by the comparison value calculator 460.

우선, 보정값은 화소 오차들의 평균이다. 보정값(diff_all)의 연산은 하기의 수학식 4로 정리될 수 있다.First, the correction value is the average of pixel errors. The calculation of the correction value diff_all may be summarized by Equation 4 below.

[수학식 4][Equation 4]

diff_all = round((diff_H1 + diff_H2 + diff_H3)/3)diff_all = round ((diff_H1 + diff_H2 + diff_H3) / 3)

수학식 4에서 round는 반올림을 의미한다. 화소값은 소수점 이하의 값이 나올 수 없으므로, ((diff_H1 + diff_H2 + diff_H3)/3)가 정수가 아니라면 반올림을 통해 정수값으로 변경할 수 있다. In Equation 4, round means rounding. Since the pixel value cannot be below the decimal point, if ((diff_H1 + diff_H2 + diff_H3) / 3) is not an integer, it can be changed to an integer value by rounding.

또한 비교값은 각 영역의 화소 오차들 간의 차이를 말한다. 즉, 보정 대상 라인과 동일 선상에 있는 각 영역(540, 542, 544)의 라인들(514, 524, 534)에 상응하는 화소 오차들(diff_H1, diff_H2, diff_H3)을, 2개씩 조합하여 그 두 값들 간의 차를 구함으로써 비교값을 산출할 수 있다. 여기서 비교값은 2개씩 조합된 화소 오차들 간의 차의 절대값으로 음수가 아니다.In addition, the comparison value refers to a difference between pixel errors in each region. That is, the two pixel errors (diff_H1, diff_H2, diff_H3) corresponding to the lines 514, 524, and 534 of the respective areas 540, 542, and 544 on the same line as the correction target line are combined, and the two The comparison value can be calculated by obtaining the difference between the values. Here, the comparison value is an absolute value of the difference between the pixel errors combined by two, and is not negative.

비교값 연산부(460)가 비교값을 산출하는 연산을 수학식으로 나타내면 다음과 같다. 하기의 수학식 5에서 abs_diff1, abs_diff2, abs_diff3가 비교값이며, "abs"는 절대값을 취한다는 의미이다. 따라서 본 실시예에 의한 비교값은 When the comparison value operation unit 460 expresses an operation for calculating the comparison value, it is as follows. In Equation 5 below, abs_diff1, abs_diff2 and abs_diff3 are comparison values, and "abs" means taking an absolute value. Therefore, the comparison value according to this embodiment is

[수학식 5][Equation 5]

abs_diff1 = abs(abs(diff_H1) - abs(diff_H2))abs_diff1 = abs (abs (diff_H1)-abs (diff_H2))

abs_diff2 = abs(abs(diff_H1) - abs(diff_H3))abs_diff2 = abs (abs (diff_H1)-abs (diff_H3))

abs_diff3 = abs(abs(diff_H2) - abs(diff_H2))abs_diff3 = abs (abs (diff_H2)-abs (diff_H2))

로 구해질 수 있다.Can be obtained as

본 실시예에서 보정 대상 라인(514)이 랜덤 노이즈인지를 판별하는 방법은 다음과 같다. 랜덤 노이즈 판별부(470)는 보정값인 diff_all의 절대값(abs(diff_all))을 제1 임계값과 대소 비교한다(S670). 또한 랜덤 노이즈 판별부(470)는 비교값인 abs_diff1, abs_diff2 및 abs_diff3을 제2 임계값과 대소 비교한다. In the present embodiment, a method of determining whether the correction target line 514 is random noise is as follows. The random noise discriminating unit 470 compares the absolute value abs (diff_all) of diff_all, which is the correction value, with the first threshold value (S670). Also, the random noise discriminating unit 470 compares the comparison values abs_diff1, abs_diff2 and abs_diff3 with the second threshold value.

여기서 제1 임계값 및 제2 임계값은 노이즈 제거 장치(200)의 사용자가 임의로 입력할 수 있는 변수이다. 원본 영상의 노이즈가 심한 경우에는 제1 임계값 및 제2 임계값을 큰 수로 입력하는 등, 제1 임계값과 제2 임계값은 노이즈 정도에 따라 다르게 입력될 수 있다. Here, the first threshold value and the second threshold value are variables that a user of the noise removing apparatus 200 can arbitrarily input. When the noise of the original image is severe, the first threshold value and the second threshold value may be input differently according to the noise level, such as inputting the first threshold value and the second threshold value in large numbers.

전술한 바에 의해, 제1 임계값 및 제2 임계값은 제어부(240)가 외부로부터 입력받거나, 미리 설정 및 저장하고 있을 수 있다. 그리고 랜덤 노이즈 판별부(470)는 상술한 대소 비교를 하기 위해 제어부(240)로부터 제1 임계값 및 제2 임계값을 입력(S610)받을 수 있다. As described above, the first threshold value and the second threshold value may be input by the controller 240 from the outside, or may be preset and stored. The random noise discrimination unit 470 may receive a first threshold value and a second threshold value from the control unit 240 in order to perform the above-described large and small comparison (S610).

대소 비교 결과 보정값의 절대값이 제1 임계값보다 작고, 비교값인 abs_diff1, abs_diff2 및 abs_diff3 모두가 제2 임계값보다 작으면, 보정 대상 라인(514)은 랜덤 노이즈로 판별된다(S680). If the absolute value of the correction value is smaller than the first threshold value and all of the comparison values abs_diff1, abs_diff2 and abs_diff3 are smaller than the second threshold value, the correction target line 514 is determined as random noise (S680).

랜덤 노이즈 제거 방법은 크게 랜덤 노이즈 검출 단계와 화소값 보정에 의한 랜덤 노이즈 제거 단계로 구분될 수 있는데, 비교값 및 보정값의 대소 비교 단계까 지가 랜덤 노이즈 검출 단계에 해당될 수 있다. The random noise removal method may be largely divided into a random noise detection step and a random noise removal step by pixel value correction. The random noise detection step may correspond to the comparison value and the magnitude comparison step of the correction value.

보정 대상 라인(514)이 랜덤 노이즈인 것으로 판별되었다면, 제1 영상 보정부(480)는 보정 대상 라인(514)의 화소값들을 보상하는 방법에 의해 랜덤 노이즈를 제거할 수 있다. 제1 영상 보정부(480)는 보정 대상 라인(514)의 각 화소값들(a31, a32, … a3x)에 수학식 4에서 산출된 보정값을 더한다(S690). If it is determined that the correction target line 514 is random noise, the first image correction unit 480 may remove random noise by a method of compensating pixel values of the correction target line 514. The first image corrector 480 adds the correction value calculated in Equation 4 to the pixel values a 31 , a 32 ,... A 3x of the correction target line 514 (S690).

이 연산을 통해 얻어진 랜덤 노이즈가 제거된 영상(보정 영상)의 화소값을 보정 화소값이라고 한다. 제1 영상 보정부(480)는 산출한 보정 화소값을 제어부(240)로 출력(695)한다.The pixel value of the image (corrected image) from which the random noise obtained through this operation is removed is called a correction pixel value. The first image corrector 480 outputs 695 the calculated correction pixel value to the controller 240.

그러면 제어부(240)는 제1 영상 보정부(480)로부터 입력 받은 보정 화소값을 이용하여 보정 영상을 생성할 수 있음은 전술한 바와 같다. As described above, the controller 240 may generate the corrected image by using the corrected pixel value received from the first image corrector 480.

나머지 경우, 즉, 보정값의 절대값과 제1 임계값을 대소 비교하고, 비교값인 abs_diff1, abs_diff2 및 abs_diff3와 제2 임계값을 대소 비교한 결과 보정값 또는 비교값들 중 적어도 어느 하나가 크거나 같은 경우에는 보정 대상 라인(514)은 랜덤 노이즈가 아닌 것으로 판별될 수 있다. In other cases, that is, when the absolute value of the correction value and the first threshold value are compared with each other, and the comparison values abs_diff1, abs_diff2 and abs_diff3 with the second threshold value, at least one of the correction value or the comparison values is large. In this case, the correction target line 514 may be determined not to be random noise.

따라서 다른 라인에 대해 상술한 과정을 반복하여 랜덤 노이즈를 검출하고, 다른 라인들에서도 랜덤 노이즈가 감출되지 않았다면 원본 영상은 랜덤 노이즈 제거 없이 영상 출력부(250)를 통해 출력될 수 있다. 다만 원본 영상에 패턴 노이즈가 있다면, 패턴 노이즈의 제거 과정이 추가적으로 필요할 수 있다.Therefore, if the random noise is detected by repeating the above-described process for the other lines, and the random noise is not hidden in the other lines, the original image may be output through the image output unit 250 without removing the random noise. However, if there is pattern noise in the original image, it may be necessary to further remove the pattern noise.

도 4 및 도 5에서는 제1 방향은 수평 방향, 제2 방향은 수직 방향으로 하고, 노이즈 제거 장치(200)가 수평 방향으로 발생한 랜덤 노이즈를 제거하는 경우를 중심으로 설명하였다. 그러나 랜덤 노이즈는 수직 방향으로도 발생할 수 있는 바, 수직 방향의 랜덤 노이즈 제거도 필요하다. In FIG. 4 and FIG. 5, the first direction is a horizontal direction and the second direction is a vertical direction, and the noise removal apparatus 200 removes random noise generated in the horizontal direction. However, since random noise may also occur in the vertical direction, it is also necessary to remove random noise in the vertical direction.

따라서 상술한 과정을 반복하되, 제1 방향은 수직 방향, 제2 방향을 수평 방향으로 하여 평균값, 예측값, 화소 오차, 보정값 및 비교값을 산출하여 보정 화소값을 구함으로써 수직 방향의 랜덤 노이즈를 제거할 수 있다. 수평 방향과 수직 방향을 서로 바꾸어 위 과정을 반복하는 것은 당업자에게 자명한 사항인 바, 중복 설명은 생략하도록 한다.Therefore, the above-described process is repeated, but the first direction is a vertical direction and the second direction is a horizontal direction, and the average value, the prediction value, the pixel error, the correction value, and the comparison value are calculated to obtain the corrected pixel value. Can be removed. Repeating the above process by changing the horizontal direction and the vertical direction is obvious to those skilled in the art, and thus redundant description will be omitted.

도 7는 본 발명의 일 실시예에 의한 패턴 노이즈 제거부(230)의 블록 구성도이며, 도 8은 본 발명의 일 실시예에 의한 패턴 노이즈 제거 방법의 흐름도이다. 패턴 노이즈 제거부(230)는 도 8에 도시된 방법에 의해 원본 영상의 일정한 위치에 고정적으로 발생하는 노이즈인 패턴 노이즈를 제거할 수 있다. 7 is a block diagram illustrating a pattern noise removing unit 230 according to an embodiment of the present invention, and FIG. 8 is a flowchart illustrating a pattern noise removing method according to an embodiment of the present invention. The pattern noise remover 230 may remove pattern noise, which is noise generated at a fixed position of the original image by the method illustrated in FIG. 8.

도 7에 도시된 바에 따르면, 패턴 노이즈 제거부(230)는 고정 데이터 입력부(710), 패턴 노이즈 연산부(720) 및 제2 영상 보정부(730)를 포함할 수 있다.As illustrated in FIG. 7, the pattern noise remover 230 may include a fixed data input unit 710, a pattern noise calculator 720, and a second image corrector 730.

고정 데이터 입력부(710)는 패턴 노이즈 제거를 위해 필요한 비교적 일정한 데이터를 입력(S810, S820)받을 수 있다. 즉, 패턴 노이즈가 발생하는 일정한 위치의 위치 정보(원본 영상 상의 좌표 등으로 인식될 수 있음)를 입력 받을 수 있다. 또한 위치 정보 외에도, 패턴 노이즈 제거에 있어서도 원본 영상의 화소값들이 필요하므로, 이 값도 입력받을 수 있다. The fixed data input unit 710 may receive relatively constant data necessary for pattern noise removal (S810 and S820). That is, position information (which may be recognized as coordinates on the original image) of a predetermined position where pattern noise occurs may be input. In addition to the positional information, the pixel values of the original image are also required to remove the pattern noise, and thus this value can also be input.

실시예에 따라, 고정 데이터 입력부(710)는 위치 정보 또는 원본 영상의 화소값을 제어부(240)로부터 입력받을 수 있다(S810, S820).According to an embodiment, the fixed data input unit 710 may receive the position information or the pixel value of the original image from the controller 240 (S810 and S820).

또는 다른 실시예에 의할 때, 고정 데이터 입력부(710)는 영상 입력부(210)의 일부분으로 구성될 수 있음은 랜덤 노이즈 제거부의 경우와 동일하다. Alternatively, according to another embodiment, the fixed data input unit 710 may be configured as a part of the image input unit 210 as in the case of the random noise remover.

제1 방향으로 존재하는 패턴 노이즈는 그 패턴 노이즈에 포함되는 점의 화소값 및 그 주변의 화소값을 이용하여 제거될 수 있다. 패턴 노이즈 주변의 화소값은, 제2 방향으로 패턴 노이즈에 인접한 점의 화소값들을 의미할 수 있다.The pattern noise present in the first direction may be removed using the pixel value of the point included in the pattern noise and the pixel value of the periphery thereof. The pixel values around the pattern noise may mean pixel values of a point adjacent to the pattern noise in the second direction.

즉, 패턴 노이즈 연산부(720)가 패턴 노이즈에 포함된 점의 화소값과 그 점에 +제2 방향 및 -제2 방향으로 인접한 m개(예컨대 하나 또는 두 개)씩의 화소값을 필터링(S830)하면 대처값이 산출되며(S840), 산출된 대처된 값은 패턴 노이즈를 발생시킨 화소값을 대처한다. 이 때 산출된 값을 대처값이라고 한다. 필터링 방법의 상세한 예시는 도 9에서 설명하기로 한다.That is, the pattern noise calculator 720 filters pixel values of a point included in the pattern noise and pixel values of m points (for example, one or two) adjacent to the point in the + second direction and the-second direction (S830). In this case, the coping value is calculated (S840), and the calculated coping value copes with the pixel value generating the pattern noise. The value calculated at this time is called a coping value. A detailed example of the filtering method will be described with reference to FIG. 9.

제2 영상 보정부(730)는 패턴 노이즈 연산부(720)가 산출한 대처값으로 패턴 노이즈가 발생한 지점의 화소값을 대처(S840)하여, 패턴 노이즈가 제거된 영상의 대처값을 포함하는 화소값들을 제어부(240)로 출력(S850)할 수 있다.The second image correcting unit 730 copes with the pixel value at the point where the pattern noise occurs as the coping value calculated by the pattern noise calculating unit 720 (S840), and includes a pixel value including the coping value of the image from which the pattern noise is removed. These may be output to the control unit 240 (S850).

패턴 노이즈에 대해 상기 +제2 방향 또는 상기 -제2 방향 중 어느 한 방향으로 인접한 m개의 화소값이 없는 경우, 즉 어느 한 방향으로는 m개 미만의 화소만이 존재하는 경우가 있을 수 있다. 이 경우에는 상기 +제2 방향 또는 상기 -제2 방향으로 인접한 모든 화소값(l개)과 다른 방향으로 인접한 화소값(2m-l개) 및 상기 패턴 노이즈에 포함되는 지점의 화소값 이렇게 (2m+1)개의 화소값을 메디안 연산의 대상으로 한다. 연산 결과, (2m+1)개의 화소값들 중 중간값을 산출함으로써 대처값을 산출할 수 있다. There may be a case where there are no m pixel values adjacent to the pattern noise in either the + second direction or the-second direction, that is, there are less than m pixels in one direction. In this case, all pixel values (l) adjacent in the + second direction or-second direction and pixel values (2m-1) adjacent in the other direction and pixel values at points included in the pattern noise are thus (2m The pixel values of +1) are subjected to median calculation. As a result of the calculation, the coping value can be calculated by calculating an intermediate value among the (2m + 1) pixel values.

상술한 방법 외에도, 실시예에 따라서는 패턴 노이즈에 해당되는 화소값을 제외한 나머지 값들에 대해 메디안 연산을 수행하는 등, 원본 영상의 가장자리 부분에 대해 패턴 노이즈를 제거하기 위한 메디안 연산의 대상을 정하는 여러 가지 방법이 있을 수 있다.In addition to the above-described method, according to the exemplary embodiment, various mediation targets for mediation operation for removing pattern noise on edges of the original image, such as performing median operation on remaining values except pixel values corresponding to pattern noise, may be used. There may be ways.

도 9는 본 발명의 일 실시예에 의한 대처값을 산출하는 과정을 나타낸 도면이다. 9 is a diagram illustrating a process of calculating a coping value according to an embodiment of the present invention.

도 9에 의하면, 수직 방향의 패턴 노이즈(910)가 존재하는 원본 영상(900)이 도시되어 있다. 패턴 노이즈(910)를 구성하는 점들은 q0, q1 내지 qy의 화소값을 가진다. 노이즈 제거 장치(200)는 패턴 노이즈(910)와 수평 방향으로 인접한 점들의 화소값을 대처값 산출에 이용할 수 있다. Referring to FIG. 9, an original image 900 in which vertical pattern noise 910 exists is illustrated. The points constituting the pattern noise 910 have pixel values of q 0 , q 1 to q y . The noise removing apparatus 200 may use pixel values of points adjacent to the pattern noise 910 in the horizontal direction to calculate a coping value.

본 실시예에서는 패턴 노이즈 제거를 위한 연산은 메디안 연산인 경우를 예로 들어 설명하도록 한다. 메디안 연산에 의하면 패턴 노이즈 연산부(720)는 패턴 노이즈가 아닌 정상적인 부분의 화소값 두 개와 패턴 노이즈 부분의 화소값 중 중간값을 선택하여 이를 대처값으로 하여 패턴 노이즈 부분의 화소값을 대처한다. 이로써 패턴 노이즈 연산부(720)는 패턴 노이즈 부분의 화소값을 보정하여 제어부(240)가 보정 영상을 생성할 수 있게 한다.In the present embodiment, the operation for removing the pattern noise is described as an example of the median operation. According to the median operation, the pattern noise calculator 720 selects an intermediate value between two pixel values of the normal portion other than the pattern noise and the pixel value of the pattern noise portion to cope with the pixel value of the pattern noise portion. As a result, the pattern noise calculator 720 corrects the pixel value of the pattern noise part so that the controller 240 generates a corrected image.

도 9을 참조하여 설명하면, (p0, q0, r0)(920), (p1, q1, r1)(930), … (py, qy, ry)(950)은 각각 메디안 연산의 대상이 된다. Referring to FIG. 9, (p 0 , q 0 , r 0 ) 920, (p 1 , q 1 , r 1 ) 930,. (p y , q y , r y ) 950 are each subject to median operation.

p0, q0, r0 중 중간값이 p0인 경우 (p0, q0, r0)(920)에 대해 패턴 노이즈 연산부(720)가 메디안 연산을 수행하면 median([p0, q0, r0]) = p0 인 결과가 나온다. 그러면 제2 영상 보정부(730)는 패턴 노이즈 부분인 q0를 p0로 대처한다.When the median value of p 0 , q 0 , and r 0 is p 0 , when the pattern noise operator 720 performs the median operation on (p 0 , q 0 , r 0 ) 920, median ([p 0 , q 0 , r 0 ]) = p 0 . The second image correction unit 730 for coping q 0 pattern noise portion to p 0.

마찬가지로, (p3, q3, r3)(940) 중 중간값이 r3인 경우 (p3, q3, r3)(940)에 대해 패턴 노이즈 연산부(720)가 메디안 연산을 수행하면 median([p3, q3, r3]) = r3 인 결과가 나온다. 그러면 제2 영상 보정부(730)는 패턴 노이즈 부분인 q3를 r3로 대처한다. Similarly, (p 3, q 3, r 3) (940) when the middle case with a value of r 3 (p 3, q 3 , r 3) pattern noise calculating section 720 for 940 of performing a median operation results in median ([p 3 , q 3 , r 3 ]) = r 3 . Then, the second image corrector 730 copes with q 3 , which is a pattern noise part, as r 3 .

이러한 과정을 패턴 노이즈(910)를 구성하는 점들(q0 내지 qy)에 대해 반복하면 제2 영상 보정부(730)는 패턴 노이즈(910)를 발생시킨 점들의 화소값들을 모두 대처값으로 대처함으로써 패턴 노이즈(910)를 보정할 수 있다.If this process is repeated for the points q 0 to q y constituting the pattern noise 910, the second image correction unit 730 copes with all the pixel values of the points generating the pattern noise 910 as coping values. By doing this, the pattern noise 910 can be corrected.

그리고 제2 영상 보정부(730)는 대처값들을 포함하는 보정된 화소값을 제어부(240)로 출력하고, 제어부(240)는 패턴 노이즈가 제거된 보정 영상을 생성하여 영상 출력부(250)로 출력할 수 있다. In addition, the second image corrector 730 outputs the corrected pixel value including the coping values to the controller 240, and the controller 240 generates a corrected image from which pattern noise has been removed and outputs it to the image outputter 250. You can print

또한, 랜덤 노이즈 및/또는 패턴 노이즈를 제거하기 위하여 컴퓨터 등의 단말기에 의해 실행될 수 있는 명령어들의 프로그램이 유형적으로 구현되어 있으며, 컴퓨터 등의 단말기에 의해 판독될 수 있는 기록 매체로서, 본 명세서에 기재된 노이즈 제거 방법을 수행하는 프로그램이 기록된 기록 매체가 실시될 수 있다.In addition, a program of instructions that can be executed by a terminal such as a computer is tangibly implemented to remove random noise and / or pattern noise, and as a recording medium that can be read by a terminal such as a computer, A recording medium on which a program for performing the noise removing method is recorded can be implemented.

도 10 내지 도 12는 노이즈가 제거되기 전의 영상인 원본 영상과, 본 발명의 일 실시예에 의해 원본 영상의 랜덤 노이즈와 패턴 노이즈가 제거된 보정 영상을 나타낸 도면이다.10 to 12 are diagrams illustrating an original image that is an image before noise is removed and a corrected image from which random noise and pattern noise of the original image are removed according to an embodiment of the present invention.

도 10은 본 발명의 일 실시예에 의한 노이즈 제거가 되지 않은 원본 영상을 나타낸 도면, 도 11은 본 발명의 일 실시예에 의해 랜덤 노이즈가 제거된 보정 영상을 나타낸 도면, 도 12는 본 발명의 일 실시예에 의해 랜덤 노이즈 및 패턴 노이즈가 제거된 보정 영상을 나타낸 도면이다.FIG. 10 is a view showing an original image without noise removal according to an embodiment of the present invention, FIG. 11 is a view showing a correction image from which random noise is removed according to an embodiment of the present invention, and FIG. FIG. 1 is a diagram illustrating a corrected image from which random noise and pattern noise are removed according to an embodiment. FIG.

도 10에서 화살표로 표시된 부분에서 수직 방향으로 보이는 줄무늬가 패턴 노이즈이다. 그리고 화살표로 표시된 노이즈를 제외한 줄무늬로서 영상 전체에 걸쳐 수직 또는 수평 방향으로 존재하는 줄무늬가 랜덤 노이즈에 해당한다. 랜덤 노이즈는 패턴 노이즈와 달리 임의의 위치에 발생한다는 것은 전술한 바와 같다. 그리고 도 10에 도시된 바에 따르면 패턴 노이즈는 랜덤 노이즈에 비해 굵고 선명한 것을 볼 수 있다. The stripes seen in the vertical direction at the portions indicated by the arrows in FIG. 10 are pattern noise. The stripes excluding the noise indicated by the arrow, which exist in the vertical or horizontal direction throughout the image, correspond to random noise. As described above, random noise occurs at an arbitrary position unlike pattern noise. As shown in FIG. 10, the pattern noise is thicker and clearer than the random noise.

도 11에 따르면, 랜덤 노이즈가 제거되고 난 후의 영상은 굵고 진한 몇 개의 노이즈(패턴 노이즈)가 보이는 것을 제외하고는 원래의 영상이 도 10에 도시된 영상에 비해 선명해진 것을 볼 수 있다. 이는 도 11에 도시된 영상은 본 발명의 일 실시예에 의한 랜덤 노이즈 제거에 의해 도 10에 도시된 영상에 있던 흐릿한 줄무 늬들이 감소하였기 때문이다. According to FIG. 11, the image after the random noise is removed can be seen that the original image is clearer than the image shown in FIG. 10 except that some thick and dark noise (pattern noise) is visible. This is because the blurred image of the image shown in FIG. 10 is reduced by random noise removal according to an embodiment of the present invention.

도 12에 따르면, 도 10에서 화살표로 표시된 지점에 있던 수직 방향의 줄무늬가 제거되거나 또는 옅어져 있다. 도 12에 도시된 영상은 본 발명의 일 실시예에 의하여 랜덤 노이즈 및 패턴 노이즈가 제거된 영상이다. 따라서 도 12에 도시된 영상은 도 10 또는 도 11에 도시되어 있는 영상에 비하여 영상에 나타난 물체가 선명하게 보이는 것을 볼 수 있다. According to FIG. 12, the vertical stripes at the point indicated by the arrow in FIG. 10 are removed or lightened. The image shown in FIG. 12 is an image from which random noise and pattern noise are removed according to an embodiment of the present invention. Therefore, the image shown in FIG. 12 can be seen that the object shown in the image is clearly visible compared to the image shown in FIG. 10 or 11.

상기한 본 발명의 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.The above-described embodiments of the present invention are disclosed for the purpose of illustration, and those skilled in the art may make various modifications, changes, and additions within the spirit and scope of the present invention. Should be considered to be within the scope of the following claims.

본 발명의 실시예에 의하면 영상의 랜덤한 위치 또는 고정된 위치에 줄 무늬 형태로 발생하는 노이즈를 제거함에 있어 원 영상의 손실을 최소화 할 수 있다. According to an embodiment of the present invention, the loss of the original image may be minimized in removing noise generated in the form of stripes at a random position or a fixed position of the image.

또한 본 발명의 실시예에 의하면 퓨리에 변환 없이 공간 도메인에서 처리가 이루어지기 때문에 노이즈 제거를 위한 연산이 수월하다.In addition, according to the embodiment of the present invention, since the processing is performed in the spatial domain without Fourier transform, the operation for removing noise is easy.

또한 본 발명의 실시예에 의하면 랜덤 노이즈 제거와 패턴 노이즈 제거 모두에 있어서 안정된 처리 결과를 제공할 수 있다.Further, according to the embodiment of the present invention, it is possible to provide stable processing results in both random noise removal and pattern noise removal.

또한 본 발명의 실시예에 의하면 영상 정보와 구분하기 위한 임계값을 조절 하여 설정할 수 있기 때문에 노이즈 성분의 크기에 따른 화질 개선을 위한 튜닝이 용이하다. In addition, according to an exemplary embodiment of the present invention, since a threshold for distinguishing from image information may be adjusted and set, tuning for image quality improvement according to the size of noise component is easy.

또한 본 발명의 실시예에 의하면 입력 영상과 결과 영상을 비교할 때, 블러링 및 고주파 성분(에지 및 라인 경계 부분)의 손실 없이 결과 영상에서도 그대로 유지된다.In addition, according to the embodiment of the present invention, when comparing the input image and the resultant image, the resultant image is maintained without blurring and loss of high frequency components (edge and line boundary portions).

따라서 본 발명의 실시예에 의하면 원 영상의 손실을 최소화하면서 노이즈 성분만을 제거할 수 있다.Therefore, according to the exemplary embodiment of the present invention, only noise components may be removed while minimizing loss of the original image.

Claims (30)

원본 영상을 입력받는 영상 입력부; An image input unit for receiving an original image; 제1 방향으로 n개의 영역으로 나누어진 상기 원본 영상에서, 상기 영역에 포함된 상기 제1 방향의 라인 별 화소값들의 평균값 및 상기 라인 별 상기 평균값들 간의 차이를 필터링하여 랜덤 노이즈 여부를 판단하고 상기 랜덤 노이즈의 발생 부분의 상기 화소값을 보정한 보정 화소값을 산출하는 랜덤 노이즈 제거부;In the original image divided into n regions in a first direction, an average value of pixel values for each line in the first direction included in the region and a difference between the average values for each line are filtered to determine whether random noise is present. A random noise removing unit for calculating a corrected pixel value correcting the pixel value of a generation portion of random noise; 상기 보정 화소값을 이용하여 상기 랜덤 노이즈가 제거된 보정 영상을 생성하는 제어부; 및A controller configured to generate a corrected image from which the random noise is removed using the corrected pixel value; And 상기 보정 영상을 출력하는 영상 출력부를 포함하는 노이즈 제거 장치.And an image output unit configured to output the corrected image. 제1항에 있어서,The method of claim 1, 상기 랜덤 노이즈 제거부는,The random noise removing unit, 상기 n개의 영역으로 구분된 상기 원본 영상의 상기 화소값을 입력받는 랜덤 데이터 입력부;A random data input unit configured to receive the pixel values of the original image divided into the n areas; 상기 평균값에 대해 제1 방향 및 제2 방향으로의 제1 필터링을 수행하여 화소 오차 및 보정값을 산출하고, 상기 화소 오차에 대해 제2 필터링을 수행하여 비교값을 산출하여, 상기 보정값의 절대값 및 상기 비교값과 제1 임계값 및 제2 임계값을 비교하여 랜덤 노이즈를 검출하는 연산 및 판별부; 및First filtering in the first and second directions is performed on the average value to calculate pixel error and correction value, and second filtering is performed on the pixel error to calculate a comparison value, thereby calculating the absolute value of the correction value. An arithmetic and discriminating unit comparing random values and the comparison value with a first threshold value and a second threshold value to detect random noise; And 각 라인들 중 임의의 라인인 보정 대상 라인이 랜덤 노이즈로 인식된 경우 상기 보정 대상 라인의 모든 화소값에 상기 보정값을 더한 보정 화소값을 상기 제어부로 출력하는 제1 영상 보정부를 포함하는 것을 특징으로 하는 노이즈 제거 장치.And a first image correcting unit configured to output, to the controller, a correction pixel value obtained by adding the correction value to all the pixel values of the correction target line when the correction target line, which is any of the lines, is recognized as random noise. Noise canceller 제2항에 있어서, The method of claim 2, 상기 연산 및 판별부는The operation and determination unit 상기 화소값으로부터 상기 영역별로 상기 라인에 포함된 상기 화소값의 평균값을 구하는 평균값 연산부; 및An average value calculating unit for obtaining an average value of the pixel values included in the line for each region from the pixel values; And 상기 보정 대상 라인에 상응하는 상기 평균값과 상기 보정 대상 라인과 제2 방향으로 인접한 인접 라인에 상응하는 상기 평균값을 필터링하여 상기 보정 대상 라인에 상응하는 예측값을 산출하는 예측값 연산부를 포함하는 것을 특징으로 하는 노이즈 제거 장치.And a prediction value calculator configured to calculate the prediction value corresponding to the correction target line by filtering the average value corresponding to the correction target line and the average value corresponding to an adjacent line adjacent to the correction target line in a second direction. Noise reduction device. 제3항에 있어서,The method of claim 3, 상기 예측값 연산부는 상기 보정 대상 라인, 상기 보정 대상 라인에 대해 +제2 방향에 있는 1 이상의 상기 인접 라인 및 상기 보정 대상 라인에 대해 -제2 방향에 있는 1 이상의 상기 인접 라인에 상응하는 상기 평균값들 중 가장 작은 값과 가장 큰 값을 제외한 나머지 평균값을 평균함으로써 상기 예측값을 산출하는 것을 특징으로 하는 노이즈 제거 장치.The predictive value calculator includes the average values corresponding to the correction target line, the one or more adjacent lines in a + second direction with respect to the correction target line, and the one or more adjacent lines in a −2 direction with respect to the correction target line. And calculating the predicted value by averaging the remaining average values except for the smallest and largest values. 제3항에 있어서, The method of claim 3, 상기 연산 및 판별부는The operation and determination unit 상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하고, 상기 화소 오차를 평균하여 보정값을 산출하는 오차 연산부-여기서 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인은 상기 보정 대상 라인이 포함된 영역과 다른 영역에 포함됨-를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치.An error calculation unit for obtaining a pixel error that is a difference between an average value corresponding to the line on the same line in the first direction and the prediction value, and averaging the pixel error to calculate a correction value And a line that is collinear with the correction target line in the first direction is included in a region different from the region in which the correction target line is included. 제5항에 있어서, The method of claim 5, 상기 연산 및 판별부는The operation and determination unit 상기 오차 연산부로부터 입력받은 상기 보정값의 절대값을 상기 제1 임계값과 비교하고, 상기 보정값의 절대값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 랜덤 노이즈 판별부를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치.The apparatus may further include a random noise discrimination unit comparing the absolute value of the correction value input from the error calculating unit with the first threshold value and recognizing the correction target line as random noise when the absolute value of the correction value is smaller. Noise canceller characterized in that. 제3항에 있어서, The method of claim 3, 상기 연산 및 판별부는The operation and determination unit 상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하고,Obtaining a pixel error that is a difference between an average value corresponding to a line on the same line in the first direction and the prediction value in the correction target line and the correction target line, 상기 화소 오차들을 2개씩 조합하여, 조합된 상기 2개의 화소 오차 간의 차이인 비교값을 산출하는 비교값 연산부-여기서, 상기 비교값은 양수임-를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치.And a comparison value calculator which combines the pixel errors by two and calculates a comparison value that is a difference between the two combined pixel errors, wherein the comparison value is a positive number. 제7항에 있어서, The method of claim 7, wherein 상기 연산 및 판별부는The operation and determination unit 상기 비교값 연산부로부터 입력받은 상기 비교값을 상기 제2 임계값과 비교하고, 상기 비교값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 랜덤 노이즈 판별부를 더 포함하는 것을 특징으로 하는 노이즈 제거 장치.And comparing the comparison value received from the comparison value calculator with the second threshold value and, if the comparison value is smaller, further comprising a random noise discrimination unit for recognizing the correction target line as random noise. Device. 제5항에 있어서,The method of claim 5, 상기 오차 연산부는 상기 예측값에서 상기 평균값을 뺀 값을 상기 화소 오차로 구하는 것을 특징으로 하는 노이즈 제거 장치.And the error calculating unit obtains a value obtained by subtracting the average value from the predicted value as the pixel error. 제5항에 있어서,The method of claim 5, 상기 오차 연산부는 상기 화소 오차를 평균하여 산출된 상기 보정값이 정수가 아닌 경우, 상기 화소 오차의 소수점 이하 값을 반올림한 값을 상기 보정값으로 산출하는 것을 특징으로 하는 노이즈 제거 장치.And the error calculating unit calculates a value obtained by rounding a value below the decimal point of the pixel error as the correction value when the correction value calculated by averaging the pixel error is not an integer. 제1항에 있어서, The method of claim 1, 상기 랜덤 노이즈 제거부는 수평으로 발생한 상기 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수평 방향, 제2 방향을 수직 방향으로 하며,When the random noise removing unit removes the random noise generated horizontally, the first direction is a horizontal direction and the second direction is a vertical direction. 수직 방향으로 발생한 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수직 방향, 상기 제2 방향을 수평 방향으로 하여 상기 랜덤 노이즈를 제거하는 것을 특징으로 하는 노이즈 제거 장치.When the random noise generated in the vertical direction is removed, the random noise is removed by using the first direction in the vertical direction and the second direction in the horizontal direction. 제1항에 있어서, The method of claim 1, 상기 원본 영상에서 패턴 노이즈가 발생한 지점의 위치 정보로부터, 상기 패턴 노이즈가 발생한 상기 지점의 상기 화소값 및 상기 패턴 노이즈에 인접한 지점의 상기 화소값을 필터링하여 상기 패턴 노이즈 발생 부분의 상기 화소값을 보정한 대처값을 산출하는 패턴 노이즈 제거부를 더 포함하되, Correcting the pixel value of the pattern noise generation part by filtering the pixel value of the point where the pattern noise occurs and the pixel value of a point adjacent to the pattern noise from the positional information of the point where the pattern noise occurs in the original image. Further comprising a pattern noise removing unit for calculating a coping value, 상기 제어부는 상기 원본 영상의 화소값을 읽어서 상기 랜덤 노이즈 제거부 및 상기 패턴 노이즈 제거부로 출력하고, 상기 패턴 노이즈 제거부로 상기 패턴 노이즈의 상기 위치 정보를 출력하며, 상기 보정 화소값 및 상기 대처값을 이용하여 상기 랜덤 노이즈 및 상기 패턴 노이즈가 제거된 보정 영상을 생성하는 것을 특징으로 하는 노이즈 제거 장치.The controller reads the pixel values of the original image and outputs them to the random noise remover and the pattern noise remover, and outputs the position information of the pattern noise to the pattern noise remover, and corrects the corrected pixel values and the response. And a corrected image from which the random noise and the pattern noise are removed by using a value. 제12항에 있어서, The method of claim 12, 상기 패턴 노이즈 제거부는 상기 제어부로부터 상기 위치 정보를 입력받고, 상기 영상 입력부로부터 상기 원본 영상의 상기 화소값을 입력받는 고정 데이터 입력부;The pattern noise removing unit may receive the position information from the controller, and the fixed data input unit receives the pixel value of the original image from the image input unit; 상기 패턴 노이즈가 상기 제1 방향으로 발생한 경우, 상기 패턴 노이즈에 제2 방향으로 인접한 상기 화소값들을 필터링하여 대처값을 산출하는 패턴 노이즈 연산부;A pattern noise calculator configured to calculate a coping value by filtering the pixel values adjacent to the pattern noise in a second direction when the pattern noise occurs in the first direction; 상기 패턴 노이즈가 발생한 지점의 상기 화소값 대신 상기 대처값을 상기 제어부로 출력하는 제2 영상 보정부를 포함하는 것을 특징으로 하는 노이즈 제거 장치.And a second image corrector configured to output the coping value to the controller instead of the pixel value at the point where the pattern noise occurs. 제13항에 있어서, The method of claim 13, 상기 패턴 노이즈 연산부는 상기 패턴 노이즈에 포함되는 지점의 상기 화소값, 상기 패턴 노이즈에 +제2 방향으로 인접한 m개의 상기 화소값 및 상기 패턴 노이즈에 -제2 방향으로 인접한 m개의 상기 화소값들 중 중간값에 해당되는 값을 상기 대처값으로 산출하는 메디안 연산을 수행하는 것을 특징으로 하는 노이즈 제거 장치-여기서 m은 1 이상의 자연수임-.The pattern noise calculator may be configured to generate the pixel value at the point included in the pattern noise, m of the pixel values adjacent to the pattern noise in the second direction, and m of the pixel values adjacent to the pattern noise in the second direction. And a median operation for calculating a median value as the coping value, wherein m is a natural number of 1 or more. 제13항에 있어서, The method of claim 13, 상기 패턴 노이즈가 수직 방향으로 발생한 경우에는 상기 제1 방향은 수직 방향, 상기 제2 방향은 수평 방향이며, 상기 패턴 노이즈가 수평 방향으로 발생한 경우에는 상기 제1 방향은 수평 방향, 상기 제2 방향은 수직 방향인 것을 특징으로 하는 노이즈 제거 장치.When the pattern noise occurs in the vertical direction, the first direction is a vertical direction, and the second direction is a horizontal direction. When the pattern noise occurs in the horizontal direction, the first direction is a horizontal direction and the second direction is Noise canceller, characterized in that the vertical direction. (a) 원본 영상을 입력받는 단계; (a) receiving an original image; (b) 제1 방향으로 n개의 영역으로 나누어진 상기 원본 영상에서, 상기 영역에 포함된 상기 제1 방향의 라인 별 화소값의 평균값 및 상기 라인 별 상기 평균값들 간의 차이를 필터링하여 랜덤 노이즈 여부를 판단하고 상기 랜덤 노이즈 발생 부분의 화소값을 보정한 보정 화소값을 산출하는 단계;(b) In the original image divided into n regions in a first direction, the difference between the average value of pixel values per line in the first direction and the average values per line included in the region is filtered to determine whether random noise exists. Determining and calculating a corrected pixel value correcting the pixel value of the random noise generating portion; (c) 상기 보정 화소값을 이용하여 상기 랜덤 노이즈가 제거된 보정 영상을 생성하는 단계; 및(c) generating a corrected image from which the random noise is removed using the corrected pixel value; And (d)상기 보정 영상을 출력하는 단계를 포함하는 노이즈 제거 방법.and (d) outputting the corrected image. 제16항에 있어서,The method of claim 16, 상기 (b) 단계는,In step (b), (b1)상기 n개의 영역으로 구분된 상기 원본 영상의 상기 화소값과 제1 임계값 및 제2 임계값을 입력받는 단계;(b1) receiving the pixel value, the first threshold value, and the second threshold value of the original image divided into the n areas; (b2)상기 평균값에 대해 제1 방향 및 제2 방향으로의 제1 필터링을 수행하여 화소 오차 및 보정값을 산출하고, 상기 화소 오차에 대해 제2 필터링을 수행하여 비교값을 산출하여, 상기 보정값의 절대값 및 상기 비교값과 상기 제1 임계값 및 상기 제2 임계값을 비교하여 랜덤 노이즈를 검출하는 단계; 및(b2) performing a first filtering in the first and second directions on the average value to calculate a pixel error and a correction value, and performing a second filtering on the pixel error to calculate a comparison value, thereby correcting the correction Comparing the absolute value of the value and the comparison value with the first threshold value and the second threshold value to detect random noise; And (b3)각 라인들 중 임의의 라인인 보정 대상 라인이 랜덤 노이즈로 판단된 경우 상기 보정 대상 라인의 화소값에 상기 보정값을 더한 보정 화소값을 출력하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.and (b3) outputting a correction pixel value obtained by adding the correction value to the pixel value of the correction target line when the correction target line, which is any one of the lines, is determined to be random noise. Way. 제17항에 있어서, The method of claim 17, 상기 (b2) 단계는Step (b2) (b21)상기 화소값으로부터 상기 영역별로 상기 라인에 포함된 상기 화소값의 평균값을 구하는 단계; 및obtaining an average value of the pixel values included in the line for each region from the pixel values; And (b22)상기 보정 대상 라인에 상응하는 상기 평균값과 상기 보정 대상 라인과 제2 방향으로 인접한 인접 라인에 상응하는 상기 평균값을 필터링하여 상기 보정 대상 라인에 상응하는 예측값을 산출하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.(b22) calculating a predicted value corresponding to the correction target line by filtering the average value corresponding to the correction target line and the average value corresponding to an adjacent line adjacent to the correction target line in a second direction. Noise reduction method 제18항에 있어서,The method of claim 18, 상기 단계 (b22)는 Step (b22) is 상기 보정 대상 라인, 상기 보정 대상 라인에 대해 +제2 방향에 있는 1 이상의 상기 인접 라인 및 상기 보정 대상 라인에 대해 -제2 방향에 있는 1 이상의 상기 인접 라인에 상응하는 상기 평균값들 중 가장 작은 값과 가장 큰 값을 제외한 나머지 평균값을 평균함으로써 상기 예측값을 산출하는 것을 특징으로 하는 노이즈 제거 방법.The smallest value among the average values corresponding to the correction target line, the one or more adjacent lines in the second direction with respect to the correction target line and the one or more adjacent lines in the -second direction with respect to the correction target line. And calculating the predicted value by averaging the average of the average value excluding the largest value. 제18항에 있어서, The method of claim 18, 상기 단계 (b2)는Step (b2) is (b23)상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하 는 단계; 및(b23) obtaining a pixel error that is a difference between an average value corresponding to a line on the same line in the first direction and the prediction value in the correction target line and the correction target line; And (b24)상기 화소 오차를 평균하여 보정값을 산출하는 단계-여기서 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인은 상기 보정 대상 라인이 포함된 영역과 다른 영역에 포함됨-를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법.(b24) calculating a correction value by averaging the pixel error, wherein a line on the same line in the first direction is included in a region different from the region in which the correction target line is included; Noise reduction method characterized in that. 제20항에 있어서, The method of claim 20, 상기 단계 (b2)는Step (b2) is (b25) 상기 보정값의 절대값을 상기 제1 임계값과 비교하고, 상기 보정값의 절대값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 단계를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법.(b25) further comprising comparing the absolute value of the correction value with the first threshold value and recognizing the correction target line as random noise when the absolute value of the correction value is smaller. Way. 제18항에 있어서, The method of claim 18, 상기 단계 (b2)는Step (b2) is (b23)상기 보정 대상 라인과 상기 보정 대상 라인에 상기 제1 방향으로 동일 선상에 있는 라인에 상응하는 평균값과 상기 예측값 간의 차이인 화소 오차를 구하는 단계;(b23) obtaining a pixel error that is a difference between an average value corresponding to a line on the same line in the first direction and the prediction value in the correction target line and the correction target line; (b26)상기 화소 오차들을 2개씩 조합하여, 조합된 상기 2개의 화소 오차 간 의 차이인 비교값을 산출하는 단계-여기서, 상기 비교값은 양수임-;(b26) combining the pixel errors by two to calculate a comparison value that is a difference between the two combined pixel errors, wherein the comparison value is positive; 를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법.Noise removal method further comprising. 제22항에 있어서, The method of claim 22, 상기 단계 (b2)는Step (b2) is (b27)상기 단계 (b26)에서 산출된 상기 비교값을 상기 제2 임계값과 비교하고, 상기 비교값이 더 작은 경우 상기 보정 대상 라인을 랜덤 노이즈로 인식하는 단계를 더 포함하는 것을 특징으로 하는 노이즈 제거 방법.(b27) further comprising comparing the comparison value calculated in the step (b26) with the second threshold value and recognizing the correction target line as random noise when the comparison value is smaller. How to remove noise. 제20항에 있어서,The method of claim 20, 상기 단계 (b23)는 상기 예측값에서 상기 평균값을 뺀 값을 상기 화소 오차로 구하는 것을 특징으로 하는 노이즈 제거 방법.And the step (b23) is obtained by subtracting the average value from the predicted value as the pixel error. 제20항에 있어서,The method of claim 20, 상기 단계 (b23)는 상기 화소 오차를 평균하여 산출된 상기 보정값이 정수가 아닌 경우, 상기 화소 오차의 소수점 이하 값을 반올림한 값을 상기 보정값으로 산출하는 것을 특징으로 하는 노이즈 제거 방법.And the step (b23) is to calculate the value obtained by rounding a value below the decimal point of the pixel error as the correction value when the correction value calculated by averaging the pixel error is not an integer. 제16항에 있어서, The method of claim 16, 상기 (b) 단계는 수평으로 발생한 상기 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수평 방향, 제2 방향을 수직 방향으로 하며,In the step (b), when the random noise generated horizontally is removed, the first direction is a horizontal direction and the second direction is a vertical direction. 수직 방향으로 발생한 랜덤 노이즈를 제거하는 경우에는 상기 제1 방향을 수직 방향, 상기 제2 방향을 수평 방향으로 하여 상기 랜덤 노이즈를 제거하는 것을 특징으로 하는 노이즈 제거 방법.When the random noise generated in the vertical direction is removed, the random noise is removed using the first direction as the vertical direction and the second direction as the horizontal direction. 제16항에 있어서, The method of claim 16, (e)상기 원본 영상에서 패턴 노이즈가 발생한 지점의 위치 정보를 파악하여, 상기 패턴 노이즈가 발생한 상기 지점의 화소값 및 상기 패턴 노이즈에 인접한 지점의 상기 화소값을 필터링하여 상기 패턴 노이즈 발생 부분의 화소값을 보정한 대처값을 산출하는 단계를 더 포함하되, (e) grasping the position information of the point where the pattern noise occurs in the original image, and filtering the pixel value of the point where the pattern noise occurs and the pixel value of the point adjacent to the pattern noise to perform the pixel of the pattern noise generating part. Comprising the step of calculating the corrected value of the correction value, 상기 (c) 단계는 상기 보정 화소값 및 상기 대처값을 이용하여 상기 랜덤 노이즈 및 상기 패턴 노이즈가 제거된 보정 영상을 생성하는 것을 특징으로 하는 노이즈 제거 방법.And (c) generating a corrected image from which the random noise and the pattern noise are removed using the corrected pixel value and the coping value. 제27항에 있어서, The method of claim 27, 상기 (e) 단계는 Step (e) is (e1)상기 위치 정보를 입력받고, 상기 원본 영상의 화소값을 입력받는 단계;(e1) receiving the location information and receiving a pixel value of the original image; (e2)상기 패턴 노이즈가 제1 방향으로 발생한 경우, 상기 패턴 노이즈에 제2 방향으로 인접한 화소값들을 필터링하여 대처값을 산출하는 단계;(e2) calculating a coping value by filtering pixel values adjacent to the pattern noise in a second direction when the pattern noise occurs in a first direction; (e3)상기 패턴 노이즈가 발생한 지점의 화소값 대신 상기 대처값을 출력하는 단계를 포함하는 것을 특징으로 하는 노이즈 제거 방법.and (e3) outputting the coping value instead of the pixel value of the point where the pattern noise occurs. 제28항에 있어서, The method of claim 28, 상기 (e2) 단계는 상기 패턴 노이즈에 포함되는 지점의 화소값, 상기 패턴 노이즈에 +제2 방향으로 인접한 m개의 상기 화소값 및 상기 패턴 노이즈에 -제2 방향으로 인접한 m개의 상기 화소값들 중 중간값에 해당되는 값을 대처값으로 산출하는 메디안 연산을 수행하는 것을 특징으로 하는 노이즈 제거 방법-여기서 m은 1 이상의 자연수임-.In the step (e2), among the pixel values at the point included in the pattern noise, the m pixel values adjacent to the pattern noise in the second direction, and the m pixel values adjacent to the pattern noise in the second direction. Noise removal method, characterized in that for performing the median operation to calculate the value corresponding to the median value as a coping value, where m is a natural number of 1 or more. 제28항에 있어서, The method of claim 28, 상기 패턴 노이즈가 수직 방향으로 발생한 경우에는 상기 제1 방향은 수직 방향, 상기 제2 방향은 수평 방향이며, 상기 패턴 노이즈가 수평 방향으로 발생한 경우에는 상기 제1 방향은 수평 방향, 상기 제2 방향은 수직 방향인 것을 특징으로 하는 노이즈 제거 방법.When the pattern noise occurs in the vertical direction, the first direction is a vertical direction, and the second direction is a horizontal direction. When the pattern noise occurs in the horizontal direction, the first direction is a horizontal direction and the second direction is Noise canceling method characterized in that the vertical direction.
KR1020070013410A 2007-02-08 2007-02-08 Device and Method of Removing Noise of Image KR100888428B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020070013410A KR100888428B1 (en) 2007-02-08 2007-02-08 Device and Method of Removing Noise of Image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070013410A KR100888428B1 (en) 2007-02-08 2007-02-08 Device and Method of Removing Noise of Image

Publications (2)

Publication Number Publication Date
KR20080074385A KR20080074385A (en) 2008-08-13
KR100888428B1 true KR100888428B1 (en) 2009-03-11

Family

ID=39883720

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070013410A KR100888428B1 (en) 2007-02-08 2007-02-08 Device and Method of Removing Noise of Image

Country Status (1)

Country Link
KR (1) KR100888428B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10853922B2 (en) 2017-02-24 2020-12-01 Samsung Electronics Co., Ltd. Method and device for correcting image

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040013749A (en) * 2002-08-08 2004-02-14 삼성전자주식회사 device and method for removing noise from digital image data, and digital display device using the same
JP2004304641A (en) 2003-03-31 2004-10-28 Minolta Co Ltd Image processing method and image processing apparatus
JP2005295302A (en) 2004-04-01 2005-10-20 Mitsubishi Electric Corp Camera image processing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040013749A (en) * 2002-08-08 2004-02-14 삼성전자주식회사 device and method for removing noise from digital image data, and digital display device using the same
JP2004304641A (en) 2003-03-31 2004-10-28 Minolta Co Ltd Image processing method and image processing apparatus
JP2005295302A (en) 2004-04-01 2005-10-20 Mitsubishi Electric Corp Camera image processing device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
웨이브렛 변환을 이용한 영상의 노이즈 제거 ( Removing Noise of Image Wavelet Transform ),류수하 · 신재호 저,대한전자공학회 학술대회 논문집 (신호처리합동) 제8권 1호, 1995. 1, pp. 821 ~ 824 (4pages)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10853922B2 (en) 2017-02-24 2020-12-01 Samsung Electronics Co., Ltd. Method and device for correcting image
US11295420B2 (en) 2017-02-24 2022-04-05 Samsung Electronics Co., Ltd. Method and device for correcting image
US11727546B2 (en) 2017-02-24 2023-08-15 Samsung Electronics Co., Ltd. Method and device for correcting image

Also Published As

Publication number Publication date
KR20080074385A (en) 2008-08-13

Similar Documents

Publication Publication Date Title
JP4760801B2 (en) Image determination apparatus, image determination method, and program
US7916937B2 (en) Image processing device having color shift correcting function, image processing program and electronic camera
KR101980931B1 (en) Image processing device, image processing method, and recording medium
US8913842B2 (en) Image smoothing method based on content-dependent filtering
TWI463861B (en) Device and method for removing mosquito noises
KR20170087278A (en) Method and Apparatus for False Contour Detection and Removal for Video Coding
JP6046927B2 (en) Image processing apparatus and control method thereof
JP3862621B2 (en) Image processing apparatus, image processing method, and program thereof
JPH11341278A (en) Picture processor
JP5324508B2 (en) Image processing apparatus and method, and image processing program
JP5455611B2 (en) Image processing apparatus, image processing method, and program
JP5056242B2 (en) Image determination apparatus, image determination method, and program
KR100888428B1 (en) Device and Method of Removing Noise of Image
JP4802941B2 (en) Image processing apparatus and image processing method
JP2009044417A (en) Image discrimination device, image discrimination method, and program
JPH1141491A (en) Two-dimensional noise reducing circuit
JP2005311455A (en) Imaging device, noise reduction device, noise reduction method and program
JP4571605B2 (en) Noise reduction apparatus and method
JP4040512B2 (en) Image processing method and image processing apparatus
KR100856303B1 (en) Apparatus for removing ringing noise and apparatus for removing noise
JP2004303076A (en) Image processing method and image processor
JP2006014164A (en) Imaging device and method for eliminating noise
JP3734652B2 (en) Image processing device
JP2006078552A (en) Image magnification device
JP3990103B2 (en) Image processing apparatus and image processing method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20130221

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20140303

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20150302

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20180226

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20190225

Year of fee payment: 11