Claims (9)
소정수의 그레이 레벨로 표현되는 영상신호를 히스토그램 등화하여 화질 개선하는 방법에 있어서: (a) 입력되는 영상신호를 화면단위로 그레이 레벨 분포도를 구하고, 구해진 화면단위의 그레이 레벨 분포도를 근거로 하여 확률밀도함수를 구하는 단계; (b) 구해진 확률밀도함수를 근거로 하여 화면단위로 누적밀도함수를 구하는 단계; (c) 입력되는 영상신호를 화면단위로 평균레벨을 계산하는 단계; 및 (d) 입력영상의 평균밝기에 근거하여 소정의 보정함수에 따른 밝기 보상값을 상기 평균레벨에 가산하여 보상된 평균레벨을 얻는 단계; 및 (e) 입력되는 영상신호를 구해진 누적밀도함수에 따라 그레이레벨로 맵핑하되 상기 입력영상의 평균레벨은 상기 보상된 평균레벨로 맵핑되도록 변환함수를 조정하는 단계를 포함함을 특징으로 하는 화질 개선 방법.A method for enhancing image quality by histogram equalizing a video signal represented by a predetermined number of gray levels, the method comprising the steps of: (a) obtaining a gray level distribution diagram for each input video signal on a screen basis; Obtaining a density function; (b) obtaining an accumulated density function on a screen basis on the basis of the obtained probability density function; (c) calculating an average level of an input video signal on a screen basis; And (d) obtaining a compensated average level by adding a brightness compensation value according to a predetermined correction function to the average level based on an average brightness of the input image; And (e) mapping the input video signal to a gray level according to the obtained cumulative density function, and adjusting a conversion function such that an average level of the input image is mapped to the compensated average level. Way.
제1항에 있어서, 상기 입력되는 영상신호를 화면단위로 지연해서 상기 (e)단계로 출력하는 단계(f)를 더 포함함을 특징으로 하는 화질 개선 방법.The method of claim 1, further comprising: (f) delaying the input video signal by a unit of a picture and outputting the delayed video signal to the step (e).
소정수의 그레이 레벨로 표현되는 영상신호를 히스토그램 등화하여 화질 개선하는 방법에 있어서; (a) 입력되는 영상신호를 화면단위로 그레이 레벨 분포도를 구하고, 구해진 화면단위의 그레이 레벨 분포도를 근거로 하여 확률밀도함수를 구하는 단계; (b) 입력되는 영상신호를 화면단위로 평균레벨을 계산하는 단계; (c) 구해진 확률밀도함수를 근거로 하여 화면단위로 누적밀도함수와 상기 평균레벨에 대한 누적밀도함수값을 구하는 단계; (d) 입력영상의 평균밝기에 근거하여 소정의 보정함수에 따른 밝기 보상값을 상기 평균레벨에 가산하여 보상된 평균레벨을 얻는 단계; 및 (e) 상기 화면단위의 누적밀도함수에서 입력되는 영상신호에 대응되는 누적리도함수값과 평균레벨에 대한 누적밀도함수값에 따라 그레이 레벨로 맵핑하되, 상기 입력영상의 평균레벨이 보상된 평균레벨로 맵핑되도록 변환함수를 조정하는 단계를 포함함을 특징으로 하는 화질 개선 방법.A method for enhancing image quality by histogram equalization of a video signal represented by a predetermined number of gray levels, the method comprising: (a) obtaining a gray level distribution diagram of an input video signal on a screen basis, and obtaining a probability density function on the basis of a gray level distribution diagram of the obtained screen unit; (b) calculating an average level of an input video signal on a screen basis; (c) obtaining a cumulative density function and a cumulative density function value for the average level on a screen basis on the basis of the obtained probability density function; (d) obtaining a compensated average level by adding a brightness compensation value according to a predetermined correction function to the average level based on an average brightness of the input image; And (e) mapping the gray level into the gray level according to the cumulative relief function value corresponding to the video signal input from the cumulative density function of the screen unit and the cumulative density function value with respect to the average level, Level of the input image to be mapped.
제3항에 있어서, 상기 입력되는 영상신호를 화면단위로 지연해서 상기 (e)단계로 출력하는 단계(f)를 더 포함함을 특징으로 하는 화질 개선 방법.4. The method of claim 3, further comprising: (f) delaying the input video signal by a unit of a picture and outputting the delayed video signal to the step (e).
소정수의 그레이 레벨로 표현되는 영상신호를 히스토그램 등화하여 화질 개선하는 회로에 있어서; 입력되는 영상신호를 화면단위로 그레이 레벨 분포도를 계산해서 계산된 화면단위의 그레이 레벨 분포도를 근거로 하여 확률밀도함수를 계산하는 제1계산수단; 상기 제1계산수단에서 계산된 확률밀도함수를 근거로 하여 누적밀도함수를 계산하는 제2계산수단; 상기 입력되는 영상신호를 화면단위로 평균레벨을 계산하는 제3계산수단; 입력영상의 평균밝기에 근거로 하여 소정의 보정함수에 따른 밝기 보상값을 상기 평균레벨에 가산하여 보상된 평균레벨을 출력하는 밝기 보상수단; 및 상기 계산된 누적밀도함수에서 입력되는 영상신호에 대응한 누적밀도 함수값과 평균레벨에 대한 누적밀도함수값에 따라 그레이 레벨로 맵핑하되, 상기 입력영상의 평균레벨은 보상된 평균레벨로 맵핑하도록 변환함수를 조정하여 등화된 신호를 출력하는 출력수단을 포함함을 특징으로 하는 화질 개선 회로.A circuit for enhancing picture quality by histogram equalizing a video signal represented by a predetermined number of gray levels, the circuit comprising: A first calculation means for calculating a probability density function based on a gray level distribution diagram of a screen unit calculated by calculating a gray level distribution diagram on a screen basis of an input video signal; Second calculation means for calculating a cumulative density function based on the probability density function calculated by the first calculation means; Third calculation means for calculating an average level of the input video signal on a screen basis; A brightness compensation means for adding a brightness compensation value according to a predetermined correction function to the average level based on an average brightness of an input image to output a compensated average level; And mapping the accumulated image data to a gray level according to a cumulative density function value corresponding to a video signal input from the calculated cumulative density function and an accumulated density function value corresponding to an average level, And output means for outputting an equalized signal by adjusting a conversion function.
제5항에 있어서, 상기 제2계산수단에서 계산된 누적밀도함수와 동일프레임의 영상신호를 상기 맵핑수단에 입력시키기 위하여 상기 입력되는 영상신호를 한 화면단위로 지연하는 화면 메모리를 더 포함함을 특징으로 하는 화질 개선 회로.6. The apparatus of claim 5, further comprising a screen memory for delaying the inputted video signal in units of one screen so as to input the video signal of the same frame as the cumulative density function calculated by the second calculation means to the mapping means A picture quality improvement circuit characterized by.
제5항에 있어서, 상기 제2계산수단에서 계산된 상기 누적밀도함수를 화면단위로 갱신하고, 갱신되는 동안 저장된 누적밀도함수와 상기 평균레벨에 대한 누적밀도함수값을 출력하는 버퍼를 더 포함함을 특징으로 하는 화질 개선 회로.The apparatus of claim 5, further comprising: a buffer for updating the cumulative density function calculated by the second calculation unit on a screen basis, and outputting an accumulated cumulative density function during updating and an accumulated cumulative density function value for the average level And an image quality improving circuit.
제5항에 있어서, 상기 출력수단은 상기 입력영상의 평균레벨은 보상된 평균레벨로 맵핑하고, 평균레벨 이하의 입력 영상신호는 이에 대응하는 누적밀도함수값과 상기 평균레벨에 대한 누적밀도함수값에 따라 제1범위의 그레이 레벨로 맵핑하는 제1맵퍼; 상기 평균레벨보다 큰 입력 영상신호는 이에 대응하는 누적밀도함수값과 상기 평균레벨에 대한 누적밀도함수값에 따라 제2범위의 그레이 레벨로 맵핑하는 제2맵퍼; 상기 입력되는 영상신호와 상기 평균레벨을 비교해서 선택제어신호를 발생하는 비교기; 및 상기 선택제어신호에 따라 즉, 입력되는 영상신호가 상기 평균레벨 이하이면 제1맵퍼를 선택하고, 그렇지 않으면 제2맵퍼를 선택하는 선택기를 포함함을 특징으로 하는 화질 개선 회로.6. The apparatus of claim 5, wherein the output means maps the average level of the input image to a compensated average level, and the input image signal having an average level or lower corresponds to a cumulative density function value corresponding thereto and an accumulated density function value A first mapper mapping the first range of gray levels according to the first range; A second mapper for mapping an input image signal having an average level higher than the average level to a gray level of a second range according to a cumulative density function value corresponding thereto and an accumulated density function value for the average level; A comparator for comparing the input video signal with the average level to generate a selection control signal; And a selector for selecting the first mapper if the input video signal is equal to or lower than the average level according to the selection control signal, and selecting the second mapper otherwise.
제6항에 있어서, 상기 출력수단은 상기 입력영상의 평균레벨은 보상된 평균레벨로 맵핑하고, 평균레벨 이하의 상기 화면메모리로부터 출력되는 영상신호는 이에 대응하는 누적밀도함수값과 상기 평균레벨에 대한누적밀도함수값에 따라 제1범위의 그레이 레벨로 맵핑하는 제1맵퍼; 상기 평균레벨보다 큰 상기 화면메모리로부터 출력되는 영상신호는 이에 대응하는 누적밀도함수값과 상기 평균레벨에 대한 누적밀도함수값에 따라 제2범위의 그레이 레벨로 맵핑하는 제2맵퍼; 상기 화면메모리로부터 출력되는 영상신호와 상기 평균레벨을 비교해서 선택제어신호를 발생하는 비교기; 및 상기 선택제어신호에 따라 즉, 화면메모리로부터 출력되는 영상신호가 상기 평균레벨 이하이면 제1맵퍼를 선택하고, 그렇지 않으면 제2맵퍼를 선택하는 선택기를 포함함을 특징으로 하는 화질 개선 회로.7. The apparatus of claim 6, wherein the output means maps the average level of the input image to a compensated average level, and the video signal output from the screen memory below the average level corresponds to a cumulative density function value corresponding to the average level, A first mapper mapping the first range of gray levels according to a cumulative density function value; A second mapper for mapping an image signal output from the picture memory, which is larger than the average level, to a gray level of a second range according to a cumulative density function value corresponding thereto and an accumulated density function value for the average level; A comparator for comparing a video signal output from the picture memory with the average level to generate a selection control signal; And a selector for selecting the first mapper if the video signal output from the screen memory is equal to or lower than the average level according to the selection control signal, and if not, selecting the second mapper.
※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: It is disclosed by the contents of the first application.