Claims (19)
소정수의 레벨로 표현되는 영상신호에 대해 그레이 레벨을 조절하여 콘트라스트를 개선하는 히스토그램 등화를 이용하여 화질개선회로에 있어서; 입력되는 영상신호에 존재하는 임펄스성분의 잡음을 검출해서 검출된 임펄스 잡음을 트리밍해서 잡음 제거된 신호를 출력하는 잡음 감소수단; 및 상기 제거된 신호를 입력하여 화면 단위의 그레이 레벨 분포를 근거로 한 누적분포함수값을 계산해서 상기 잡음 제거된 신호를 상기 누적분포함수값에 따라 새로운 그레이 레벨로 맵핑하여 등화된 신호를 출력하는 히스토그램 등화수단을 프함함을 특징으로 하는 화질 개선회로.A picture quality improvement circuit using histogram equalization which improves contrast by adjusting gray levels for video signals represented by a predetermined number of levels; Noise reduction means for detecting noise of an impulse component present in an input video signal, trimming the detected impulse noise, and outputting a noise canceled signal; And calculating the cumulative distribution function value based on the gray level distribution of the screen unit by inputting the removed signal, and outputting an equalized signal by mapping the noise canceled signal to a new gray level according to the cumulative distribution function value. An image quality improvement circuit comprising a histogram equalizing means.
제1항에 있어서, 상기 잡음 감소수단은 입력샘플을 포함하는 서로 다른 소정크기의 복수개의 윈도우를 발생하는 윈도우 발생수단; 각 윈도우의 평균 샘플값과 샘플들의 절대편차의 평균을 검출해서 입력샘플이 이상치임을 검출하는 이상치 검출수단; 상기 이상치 검출수단에서 입력샘플이 이상치로 검출되면 선택제어신호를 발생 하는 선택제어신호 발생수단; 소정 크기의 트리밍 윈도우를 이용하여 트리미드된 신호를 출력하는 트리밍수단; 및 상기 선택제어신호에 따라 상기 입력샘플에 임펄스성분이 존재하면 상기 트리미드된 신호를 출력신호로서 출력하고, 그렇지 않으면 입력샘플을 그대로 출력신호로서 출력하는 선택수단을 포함함을 특징으로 화질 개선회로.2. The apparatus of claim 1, wherein the noise reduction means comprises: window generating means for generating a plurality of windows having different predetermined sizes including input samples; Outlier detection means for detecting that the input sample is an outlier by detecting an average of an average sample value of each window and an absolute deviation of the samples; Selection control signal generating means for generating a selection control signal when the input sample is detected as an abnormal value by the abnormal value detecting means; Trimming means for outputting a trimmed signal using a trimming window having a predetermined size; And selecting means for outputting the trimmed signal as an output signal if an impulse component is present in the input sample according to the selection control signal, and otherwise outputting the input sample as an output signal. .
제2항에 있어서, 상기 윈도우 발생수단은 반복/비반보고 잡음 감소모드에 따라 반복 잡음 감소모드에서는 상기 출력신호를 피드백받아 입력샘플로 대체하는 것을 특징으로 하는 화질 개선회로.3. The image quality improvement circuit according to claim 2, wherein the window generating means replaces the input signal by receiving the output signal in the repetitive noise reduction mode according to the repetitive / non-reported noise reduction mode.
제2항에 있어서, 상기 입력샘플을 포함하는 소정크기의 수평백터와 소정의 가중백터를 연산해서 수평량을 검출하는 수단; 및 검출된 수평량을 소정의 파라미터와 비교해서 비교제어신호를 발생하는 비교수단을 더 포함함을 특징으로 하는 화질 개선회로.3. The apparatus of claim 2, further comprising: means for detecting a horizontal amount by calculating a horizontal vector having a predetermined size and a predetermined weight vector including the input sample; And comparing means for generating a comparison control signal by comparing the detected horizontal amount with a predetermined parameter.
제4항에 있어서, 상기 선택수단은 상기 선택제어신호 및 상기 비교제어신호에 따라 상기 입력샘플에 임펄스성분이 존재하고 검출된 수평량이 소정의 파라미터보다 크면, 상기 트리미드된 신호를 출력신호로서 출력하고 그렇지 않으면 상기 입력샘플을 그대로 출력신호로서 출력함을 특징으로 하는 화질 개선회로.The method according to claim 4, wherein the selection means outputs the trimidated signal as an output signal when an impulse component is present in the input sample and the detected horizontal amount is larger than a predetermined parameter according to the selection control signal and the comparison control signal. Otherwise, the input sample is output as it is as an output signal.
제2항에 있어서, 상기 윈도우 발생수단은 입력샘플을 포함하는 서로 다른 크기의 제1윈도우와 제2윈도우를 발생함을 특징으로 하는 화질 개선회로.The image quality improvement circuit according to claim 2, wherein the window generating means generates first and second windows of different sizes including an input sample.
제6항에 있어서, 상기 이상치 검출수단은 입력샘플과 제1윈도우의 평균샘플값과의 절대차가, 소정의 파라미터가 곱해진 제1윈도우의 절대편차의 평균보다 크면 입력샘플에 임펄스성분이 포함되어 있는 것으로 판단해서 제1이상치 검출신호를 출력하는 제1이상치 검출기; 및 입력샘플과 제2윈도우의 평균샘플값과의 절대차가 소정 파라미터가 곱해진 제2윈도우의 절대편차의 평균보다 크면 즉, 입력샘플에 임펄스성분이 포함되어 있는 것으로 판단해서 제2이상치 검출신호를 출력하는 제2이상치 검출기를 포함함을 특징으로 하는 화질 개선회로.7. The method of claim 6, wherein the outlier detection means includes an impulse component in the input sample if the absolute difference between the input sample and the average sample value of the first window is greater than the average of the absolute deviation of the first window multiplied by a predetermined parameter. A first outlier detector for determining that there is a signal and outputting a first outlier detection signal; And when the absolute difference between the input sample and the average sample value of the second window is larger than the average of the absolute deviations of the second window multiplied by a predetermined parameter, that is, the input sample includes an impulse component to determine the second outlier detection signal. And a second outlier detector for outputting the image quality improvement circuit.
제2항에 있어서, 상기 트리밍 수단은 트리미드 평균 필터임을 특징으로 하는 화질 개선회로.3. The image quality improvement circuit according to claim 2, wherein the trimming means is a trimid average filter.
제2항에 있어서, 상기 트리밍 윈도우는 상기 복수개의 윈도우중 하나의 윈도우를 선택함을 특징으로 하는 화질 개선회로.The image quality improvement circuit according to claim 2, wherein the trimming window selects one of the plurality of windows.
제1항에 있어서, 상기 히스토그램 등화수단은The method of claim 1, wherein the histogram equalization means
상기 잡음 제거된 신호를 입력하여 화면단위로 그레이 레벨 분포를 계산하여 확률밀도함수값을 출력하는 제1계산수단; 상기 확률밀도함수값을 근거로하여 누적분포함수를 계산하는 제2계산수단; 및 상기 잡음 제거된 신호를 계산된 누적분포함수값에 따라 그레이 레벨로 맵핑하는 맵핑수단을 포함함을 특징으로 하는 화질 개선회로.First calculation means for inputting the noise canceled signal to calculate a gray level distribution in units of screens and outputting a probability density function value; Second calculating means for calculating a cumulative distribution function based on the probability density function value; And mapping means for mapping the noise canceled signal to a gray level according to the calculated cumulative distribution function value.
제10항에 있어서, 상기 제2계산수단에서 계산된 누적분포함수값과 동일한 화면의 신호를 상기 맵핑수단에 입력하기 위하여 상기 잡음 제거된 신호를 한 화면동안 지연해서 상기 맵핑수단에 입력하는 화면 메모리를 더 포함함을 특징으로 하는 화질 개선회로.11. The screen memory according to claim 10, wherein the noise canceled signal is delayed for one screen and inputted to the mapping means in order to input a signal of a screen equal to the cumulative distribution function value calculated by the second calculating means to the mapping means. Image quality improvement circuit further comprising a.
제10항에 있어서, 상기 제2계산수단에서 계산된 누적분포함수값을 화면단위로 갱신하고, 갱신되는 동안 저장된 한 화면전의 누적분포함수값을 상기 맵핑수단에 출력하는 버퍼를 더 포함함을 특징으로 하는 화질 개선회로.11. The method of claim 10, further comprising a buffer for updating the cumulative distribution function value calculated by the second calculating means in units of screens and outputting the cumulative distribution function value before one screen stored during the updating to the mapping means. Image quality improvement circuit.
소정수의 레벨로 표현되는 영상신호에 대해 그레이 레벨을 조절하여 콘트라스트를 개선하는 히스토그램 등화를 이용하여 화질을 개선하는 방법에 있어서; (a) 입력되는 영상신호에 존재하는 임펄스성분의 잡음을 검출해서 검출된 임펄스 잡음을 트리밍해서 잡음 제거된 신호를 출력하는 단계; 및 (b) 상기 잡음 제거된 신호를 입력하여 화면단위의 그레이 레벨 분포를 근거로 한 누적분포함수값을 계산해서 상기 잡음 제거된 신호를 상기 누적분포함수값에 따라 새로운 그레이 레벨로 맵핑하여 등화된 신호를 출력하는 단계를 포함함을 특징으로 하는 화질 개선방법.A method for improving image quality by using histogram equalization that improves contrast by adjusting gray levels for video signals represented by a predetermined number of levels; (a) detecting noise of an impulse component present in an input video signal and trimming the detected impulse noise to output a noise canceled signal; And (b) inputting the noise canceled signal to calculate a cumulative distribution function value based on the gray level distribution of a screen unit, mapping the noise canceled signal to a new gray level according to the cumulative distribution function value, and equalizing the same. And outputting a signal.
제13항에 있어서, 상기 (a)단계는 (a1) 입력신호를 포함하는 서로 다른 크기의 복수개의 윈도우를 발생하는 단계; (a2) 각 윈도우에 대해 평균샘플값과 샘플들의 절대편차의 평균을 구하는 단계; (a3) 구해진 각 윈도우의 평균샘플값과 샘플들의 절대편차의 평균을 이용하여 입력신호에 임펄스성분이 존제하는지를 검출하는 단계; 및 (a4) 상기 입력신호에 임펄스성분이 존재하면 소정크기의 트리밍 윈도우내의 샘플들을 트리밍해서 출력하고, 그렇지 않으면 입력신호를 그대로 바이패스하는 단계를 포함함을 특징으로 하는 화질 개선방법.The method of claim 13, wherein step (a) comprises: (a1) generating a plurality of windows having different sizes including an input signal; (a2) calculating an average of the mean sample value and the absolute deviation of the samples for each window; (a3) detecting whether an impulse component is present in the input signal using the averaged sample value of each window and the average of absolute deviations of the samples; And (a4) trimming and outputting samples in a trimming window having a predetermined size if an impulse component is present in the input signal, and bypassing the input signal as it is.
제14항에 있어서, 상기 (a3)단계에서는 적어도 둘 이상의 윈도우에서 입력신호에 임펄스성분이 존재한다고 판단될 때 입력신호에 임펄스성분이 존재하는 것으로 판단함을 특징으로 하는 화질 개선회로.15. The image quality improvement circuit according to claim 14, wherein in step (a3), when it is determined that an impulse component exists in the input signal in at least two or more windows, it is determined that an impulse component exists in the input signal.
제14항에 있어서, 상기 트리밍 윈도우는 상기 복수개의 윈도우 중 하나의 윈도우를 선택함을 특징으로 하는 화질 개선방법.15. The method of claim 14, wherein the trimming window selects one of the plurality of windows.
제14항에 있어서, 상기 (a4)단계는 (a4-1) 상기 입력신호를 포함하는 소정 크기의 수평백터와 소정의 가중백터를 연산해서 수평량을 검출하는 단계; 및 (a4-2) 상기 입력신호에 임펄스성분이 존재하고 검출된 수평량이 소정의 파라미터보다 크면, 소정크기의 트리밍 윈도우내의 샘플들을 트리밍해서 출력신호로 출력하고, 그렇지않으면 입력신호를 그대로 바이패스하는 단계를 포함함을 특징으로 하는 화질 개선방법.15. The method of claim 14, wherein step (a4) comprises: (a4-1) detecting a horizontal amount by calculating a horizontal vector having a predetermined size and a predetermined weight vector including the input signal; And (a4-2) if an impulse component is present in the input signal and the detected horizontal amount is larger than a predetermined parameter, trimming samples in a trimming window having a predetermined size and outputting the output signal; otherwise, bypassing the input signal as it is. Quality improvement method comprising the step of.
제14항에 있어서, 상기 (a4)단계는 (a4-11) 상기 입력샘플에 임펄스성분이 존재하면 상기 복수개의 윈도우중 하나의 윈도우내의 샘플들을 트리밍해서 트리미드된 신호를 출력신호로서 출력하고, 그렇지 않으면 입력샘플을 그대로 출력신호로서 출력하는 단계; 및 (a4-12) 상기 입력샘플을 상기 출력신호로서 대체한 후 다음 입력샘플로 이동한 후 상기(a)단계로 피드백하는 단계를 포함함을 특징으로 하는 화질 개선방법.15. The method of claim 14, wherein the step (a4) comprises: (a4-11) if an impulse component exists in the input sample, trimming samples in one of the plurality of windows to output a trimided signal as an output signal, Otherwise outputting the input sample as an output signal; And (a4-12) replacing the input sample with the output signal, moving to the next input sample, and feeding back to the step (a).
제13항에 있어서, 상기 (b)단계는 (b1) 상기 잡음 제거된 신호를 입력하여 화면단위로 그레이 레벨 분호를 계산하여 확률밀도함수값을 출력하는 단계; (b2) 상기 확률밀도함수값을 근거로하여 누적분포함수값을 계산하는 단계; 및 (b3) 상기 잡음 제거된 신호를 계산된 누적분포함수값에 따라 그레이 레벨로 맵핑하는 단계를 포함함을 특징으로 하는 화질 개선방법.15. The method of claim 13, wherein step (b) comprises: (b1) inputting the noise canceled signal to calculate gray level decoding on a screen basis to output a probability density function value; (b2) calculating a cumulative distribution function value based on the probability density function value; And (b3) mapping the noise canceled signal to a gray level according to the calculated cumulative distribution function value.