KR20020006236A - Apparatus and method for correcting image quality of image scaler - Google Patents

Apparatus and method for correcting image quality of image scaler Download PDF

Info

Publication number
KR20020006236A
KR20020006236A KR1020000039778A KR20000039778A KR20020006236A KR 20020006236 A KR20020006236 A KR 20020006236A KR 1020000039778 A KR1020000039778 A KR 1020000039778A KR 20000039778 A KR20000039778 A KR 20000039778A KR 20020006236 A KR20020006236 A KR 20020006236A
Authority
KR
South Korea
Prior art keywords
filter coefficient
value
output
image
register
Prior art date
Application number
KR1020000039778A
Other languages
Korean (ko)
Other versions
KR100361579B1 (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 KR1020000039778A priority Critical patent/KR100361579B1/en
Publication of KR20020006236A publication Critical patent/KR20020006236A/en
Application granted granted Critical
Publication of KR100361579B1 publication Critical patent/KR100361579B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction
    • H04N1/411Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
    • H04N1/413Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/333Mode signalling or mode changing; Handshaking therefor
    • H04N1/33376Mode signalling or mode changing; Handshaking therefor according to characteristics or state of one of the communicating parties, e.g. available memory capacity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/40068Modification of image resolution, i.e. determining the values of picture elements at new relative positions

Abstract

PURPOSE: An apparatus and method for correcting picture quality of an image scaler are provided to decrease the number of multipliers in the image scaler, to reduce hardware load and to correct image distortion. CONSTITUTION: An apparatus for correcting picture quality of an image scaler includes a counter(121) for generating the first and second select signals for designating and outputting a repetition filter coefficient in case of extension and reduction of an image, a multiplexer(122) for receiving the first and second select signals to output the first and second repetition filter coefficients, and the first data generator(123) for receiving the first repetition filter coefficient and input image data to generate the first filter coefficient value and for multiplying the first filter coefficient value by the input image data to generate the first image data. The apparatus further has the second data generator(124) for receiving the first and second repetition filter coefficients to generate the second filter coefficient value, adding the second and first filter coefficient values to the second filter coefficient value to generate the third filter coefficient value and multiplying the third filter coefficient value by the input image data to generate the second image data, and an image data adder(128) for adding the first image data to the second image data.

Description

이미지 스케일러의 화질보정장치 및 화질보정방법{Apparatus and method for correcting image quality of image scaler}{Apparatus and method for correcting image quality of image scaler}

본 발명은 이미지 스케일러의 화질보정장치 및 방법에 관한 것으로, 특히 이미지 스케일러(image scaler)를 이용하여 영상이미지를 확대하거나 축소시 이미지정보를 필터링시켜 확대되거나 축소된 이미지가 왜곡되는 것을 방지하기 위한 화질보정장치 및 방법에 관한 것이다.The present invention relates to a device and a method for compensating image quality of an image scaler. In particular, the image quality is filtered to filter image information when an image image is enlarged or reduced using an image scaler to prevent distortion of the enlarged or reduced image. A calibration device and method.

영상 이미지를 확대하거나 축소하기 위해 이미지 스케일러가 사용된다. 영상 이미지를 확대하거나 축소하는 경우에 확대되거나 축소되기 전 원 영상 이미지에 비해 화질이 떨어지게 된다. 이미지 스케일러를 이용하여 확대되거나 축소에 의해 화질이 떨어지는 것을 방지하기 위해 화질보정장치가 사용된다. 종래의 이미지 스케일러의 화질보정장치를 첨부된 도면을 이용하여 설명하면 다음과 같다.An image scaler is used to enlarge or reduce the video image. When the video image is enlarged or reduced, the image quality is lower than that of the original video image which is enlarged or reduced. An image quality correction device is used to prevent image quality from being deteriorated by being enlarged or reduced by using an image scaler. The image quality correction apparatus of the conventional image scaler will be described with reference to the accompanying drawings.

도 1은 종래의 화질보정장치의 블럭도이다. 도 1에 도시된 종래의 화질보정장치는 이미지를 수평방향으로 확대하거나 축소하는 구성을 나타내고 있으며, 수직방향으로 확대하거나 축소하는 경우에는 제2레지스터부(Rb1,Rb2,…,Rb40)를 이미지의 한 라인을 지연시키기는 지연회로(도시 않음)로 대체하여 구성할 수 있음을 밝힌다.1 is a block diagram of a conventional image quality correction apparatus. The conventional image quality compensator shown in FIG. 1 shows a configuration in which an image is enlarged or reduced in the horizontal direction, and when the image is enlarged or reduced in the vertical direction, the second registers Rb1, Rb2,. The delay of one line can be configured by replacing with a delay circuit (not shown).

도 1에서와 같이 종래의 화질보정장치는 제1레지스터부(Ra1,Ra2,…,Ra40), 제2레지스터부(Rb1,Rb2,…,Rb40), 다수의 승산기(1,2,…,40) 및 다수의 가산기(41,42,…,79)로 구성된다. 제1레지스터부(Ra1,Ra2,…,Ra40)는제1a레지스터(Ra1), 제2a레지스터(Ra2),…,제40a레지스터(Ra40)가 직렬로 접속되며, 제2레지스터부(Rb1,Rb2,…,Rb40)는 제1b레지스터(Rb1), 제2b레지스터(Rb2),…,제40b레지스터(Rb40)가 직렬로 접속 연결된다.As shown in FIG. 1, the conventional image quality correction apparatus includes a first register part Ra1, Ra2, ..., Ra40, a second register part Rb1, Rb2, ..., Rb40, a plurality of multipliers 1, 2, ..., 40 ) And a plurality of adders 41, 42, ..., 79. The first registers Ra1, Ra2, ..., Ra40 are composed of the first a register Ra1, the second a register Ra2,. The 40th register Ra40 is connected in series, and the second register parts Rb1, Rb2, ..., Rb40 are connected to the first b register Rb1, the second b register Rb2,. The 40th register Rb40 is connected in series.

다수의 승산기(1,2,…,40)는 제1승산기(1), 제2승산기(2),…,제40승산기(40)로 구성되며, 각각의 제1승산기(1), 제2승산기(2),…,제40승산기(40)는 제1레지스터부(Ra1,Ra2,…,Ra40)와 제2레지스터부(Rb1,Rb2,…,Rb40) 사이에 병렬로 접속 연결된다. 다수의 가산기(41,42,…,79)는 제1가산기(41), 제2가산기(42),…,제39가산기(79)로 구성되며, 각각의 제1가산기(41), 제2가산기(42),…,제39가산기(79)는 제2레지스터부(Rb1,Rb2,…,Rb40)를 구성하고 있는 제1b레지스터(Rb1), 제2b레지스터(Rb2),…,제40b레지스터(Rb40)의 각각 사이에 직렬 접속되도록 구성된다.The plurality of multipliers 1, 2,..., 40 are the first multipliers 1, the second multipliers 2,... , The 40th multiplier 40, each of the first multiplier 1, the second multiplier 2,... The 40th multiplier 40 is connected in parallel between the first register portions Ra1, Ra2, ..., Ra40 and the second register portions Rb1, Rb2, ..., Rb40. The plurality of adders 41, 42, ..., 79 are composed of the first adder 41, the second adder 42, ... And a 39 th adder 79, each of the first adder 41, the second adder 42,... The thirty-ninth adder 79 comprises the first register Rb1, the second register Bb, and the second register Rb1, Rb2, ..., Rb40. And serially connected between each of the 40th registers Rb40.

제1레지스터부(Ra1,Ra2,…,Ra40)와 제2레지스터부(Rb1,Rb2,…,Rb40) 사이에 다수의 승산기(1,2,…,40)가 병렬로 접속되며 제2레지스터부(Rb1,Rb2,…,Rb40)의 사이에 다수의 가산기(41,42,…,79)가 직렬 접속되어 연결된 종래의 화질보정장치의 작용을 첨부된 도 2를 이용하여 설명하면 다음과 같다.A plurality of multipliers (1, 2, ..., 40) are connected in parallel between the first register (Ra1, Ra2, ..., Ra40) and the second register (Rb1, Rb2, ..., Rb40) and the second register unit Referring to FIG. 2, the operation of a conventional image quality compensator, in which a plurality of adders 41, 42, ..., 79 are connected in series between Rb1, Rb2, ..., Rb40, is as follows.

제1레지스터부(Ra1,Ra2,…,Ra40)의 제1a레지스터(Ra1)로 입력이미지데이터(P0,P1,P2,…,P39)가 소정 클럭에 동기되어 순차적으로 전송되면, 최초 클럭에 동기되어 제1입력이미지데이터(P0)는 제1a레지스터(Ra1)와 제1승산기(1)로 전송된다. 제1승산기(1)로 전송된 제1입력이미지데이터(P0)는 제1필터계수데이터(C0)와 승산되어 C0P0 값을 발생하여 제1b레지스터(Rb1)에 저장된다.When the input image data P0, P1, P2, ..., P39 are sequentially transmitted in synchronization with the predetermined clock, the first image is Ra1 of the first registers Ra1, Ra2, ..., Ra40. The first input image data P0 is transmitted to the first a register Ra1 and the first multiplier 1. The first input image data P0 transmitted to the first multiplier 1 is multiplied by the first filter coefficient data C0 to generate a C0P0 value and stored in the first b register Rb1.

두번째 클럭에 동기되어 제2입력이미지데이터(P1)가 제1a레지스터(Ra1)와 제1승산기(1)로 각각 전송되면 제1a레지스터(Ra1)로 전송된 제1입력이미지데이터(P0)는 제2승산기(2)로 전송된다. 제2승산기(2)로 전송된 제1입력이미지데이터(P0)는 제2필터계수데이터(C1)와 승산되어 C1P0 값을 발생하여 제1가산기(41)로 전송한다. 제2입력이미지데이터(P1)를 전송받은 제1승산기(1)는 제1필터계수데이터(C0)와 승산되어 C0P1 값을 발생하여 제1b레지스터(Rb1)에 저장된 후 제1가산기(41)로 전송된다.When the second input image data P1 is transmitted to the first a register Ra1 and the first multiplier 1 in synchronization with the second clock, the first input image data P0 transmitted to the first a register Ra1 is first generated. It is sent to the multiplier (2). The first input image data P0 transmitted to the second multiplier 2 is multiplied by the second filter coefficient data C1 to generate a C1P0 value, and transmitted to the first adder 41. The first multiplier 1 receiving the second input image data P1 is multiplied by the first filter coefficient data C0 to generate a C0P1 value, stored in the first b register Rb1, and then transferred to the first adder 41. Is sent.

C0P1 값과 C1P0 값을 수신받은 제1가산기(41)는 수신된 C0P1 값과 C1P0 값을 가산하여 C0P1+C1P0 값을 발생하여 제2b레지스터(Rb2)로 전송하게 된다. 전술한 과정을 반복해서 제3입력이미지데이터(P2)가 전송되면 제2가산기(42)에서는 C0P2+C1P1+C2P0 값을 발생하고, 제4입력이미지데이터(P3)가 전송되면 제3가산기(43)에서는 C0P3+C1P2+C2P1+C3P0 값을 발생한다. 제5입력이미지데이터(P4)가 전송되면 제4가산기(44)에서는 C0P4+C1P3+C2P2+C3P1+C4P0 값을 발생하여 출력하고 제40입력이미지데이터(P39)가 전송되는 시점에서 제39가산기(79)에서는 C0P39+C2P38+ …+C37P2+C38P1+C39P0 값을 발생하여 출력하게 된다.The first adder 41 receiving the C0P1 value and the C1P0 value adds the received C0P1 value and the C1P0 value to generate a C0P1 + C1P0 value and transmits the value to the second b register Rb2. When the third input image data P2 is transmitted by repeating the above-described process, the second adder 42 generates the C0P2 + C1P1 + C2P0 value, and when the fourth input image data P3 is transmitted, the third adder 43 uses the C0P3 + C1P2 + C2P1 + C3P0 value. Occurs. When the fifth input image data P4 is transmitted, the fourth adder 44 generates and outputs the values C0P4 + C1P3 + C2P2 + C3P1 + C4P0, and at the time point where the 40th input image data P39 is transmitted, the 39th adder 79 uses C0P39 + C2P38 +. The value + C37P2 + C38P1 + C39P0 is generated and output.

제39가산기(79)로부터 발생되어 출력되는 C0P39+C2P38+ …+C37P2+C38P1+C39P0 값과 같이 이미지를 축소하거나 확대시 40탭(tab)으로 보간하여 이미지를 크게 확대하거나 축소하는 경우에도 이미지의 화질이 왜곡되는 것을 방지할 수 있다. 이미지를 축소하거나 확대시 40탭으로 보간하는 경우에 탭수에 비례하여 40개의 승산기가 요구된다. 이미지를 확대하거나 축소함과 동시에 확대나 축소로 인해 화질이 왜곡되는 것을 보정하기 위해 탭수에 비례하여 승산기가 구비되는 경우에 이미지 스케일러의 칩 사이즈(chip size)가 커지며 승산 연산이 많아지게 되어 하드웨어(hardware)의 부담이 가중되는 문제점이 있다.C0P39 + C2P38 +, which is generated and output from the 39th adder 79; Like the + C37P2 + C38P1 + C39P0 value, the image quality of the image can be prevented from being distorted even when the image is greatly enlarged or reduced by interpolation with 40 tabs when the image is reduced or enlarged. 40 multipliers are required in proportion to the number of taps when interpolating to 40 taps when reducing or enlarging an image. When the multiplier is provided in proportion to the number of taps in order to correct the distortion of the image due to the enlargement or reduction while enlarging or reducing the image, the chip size of the image scaler is increased and the multiplication operation is increased. There is a problem that the burden of hardware) is increased.

본 발명은 이미지의 확대/축소시 반복되는 필터계수를 이용하여 승산기의 개수와 승산연산을 줄여 하드웨어적 부담을 줄일 수 있는 이미지 스케일러의 화질보정장치 및 방법을 제공함에 있다.The present invention provides an apparatus and method for compensating image quality of an image scaler which can reduce hardware burden by reducing the number of multipliers and multiplication operations using repeated filter coefficients when an image is enlarged / reduced.

본 발명의 다른 목적은 반복되는 필터계수가 정수배만 아니라 반복되지 않는 임의의 배율에 대해서 확대/축소시 이미지의 왜곡 없이 확대하거나 축소할 수 있는 이미지 스케일러의 화질보정장치 및 방법을 제공함에 있다.It is another object of the present invention to provide an image scaler and an image quality correcting apparatus capable of enlarging or reducing an image without distortion of an image when zooming in / out for any magnification that is not repeated, not just an integer multiple.

본 발명의 또 다른 목적은 이미지 스케일러에서 승산을 수행하는 승산기의 수를 최소화함으로써 이미지 스케일러의 칩 사이즈를 최소화할 수 있는 이미지 스케일러의 화질보정장치 및 방법을 제공함에 있다.It is still another object of the present invention to provide an apparatus and method for compensating image quality of an image scaler capable of minimizing the chip size of the image scaler by minimizing the number of multipliers performing multiplication in the image scaler.

도 1은 종래의 화질보정장치의 블럭도,1 is a block diagram of a conventional image quality correction apparatus;

도 2는 도 1에 도시된 화질보정장치의 논리연산결과를 나타낸 표,FIG. 2 is a table showing a logical operation result of the image quality correction device shown in FIG.

도 3은 본 발명에 의한 화질보정장치가 적용된 이미지 스케일러의 블럭도,3 is a block diagram of an image scaler to which an image quality correction apparatus according to the present invention is applied;

도 4는 도 3에 도시된 화질보정장치의 블럭도,4 is a block diagram of an image quality correction device shown in FIG. 3;

도 5a 내지 도 5e는 도 4에 도시된 화질보정장치의 타이밍도,5A through 5E are timing diagrams of the image quality correction apparatus shown in FIG. 4;

도 6a 및 도 6b는 본 발명에 의한 화질보정장치의 논리연산결과를 나타낸 표,6A and 6B are tables showing a logic operation result of the image quality correction apparatus according to the present invention;

도 7은 본 발명에 의한 화질보정방법을 나타낸 흐름도,7 is a flowchart illustrating a quality correction method according to the present invention;

도 8a 내지도 8c는 본 발명에 의한 화질보정장치의 계수산출데이터를 나타낸 표이다.8A to 8C are tables showing coefficient calculation data of the image quality correction apparatus according to the present invention.

본 발명의 이미지 스케일러의 화질보정장치는 카운터제어신호를 수신받아 이미지의 확대/축소시 반복필터계수를 지정하여 출력하기 위한 제1선택신호를 발생하여 연속적으로 출력하고 제1선택신호가 출력된 후 소정 시간 지연한 후 제2선택신호를 발생하여 연속적으로 출력하는 카운터부; 카운터부로부터 출력되는 제1선택신호와 제2선택신호를 수신받고 수신된 제1선택신호와 제2선택신호에 따라 제1반복필터계수와 제2반복필터계수를 출력하는 멀티플렉서부; 제1반복필터계수와 입력이미지데이터를 수신받고 제1반복필터계수를 순차적으로 피드백시켜 수신되는 제1반복필터계수와 가산하여 제1필터계수값을 발생하고 발생된 제1필터계수값과 수신된 입력이미지데이터를 승산하여 제1이미지데이터를 출력하는 제1데이터발생부; 제1반복필터계수와 제2반복필터계수를 연속적으로 수신받아 가산하여 제2필터계수값을 발생함과 아울러 제2필터계수값을 피드백시켜 수신되는 제1필터계수값과 선택적으로 수신받아 제2필터계수값에 제2필터계수값과 제1필터계수값을 선택적으로 가산하여 제3필터계수값을 발생하고 발생된 제3필터계수값과 수신된 이미지데이터를 승산하여 제2이미지데이터를 발생하는 제2데이터발생부; 및 제1데이터발생부에서 출력되는 제1이미지데이터와 제2데이터발생부로부터 출력되는 제2이미지데이터를 가산하여 출력하는 이미지데이터가산기로 구성됨을 특징으로 한다.The image quality correction apparatus of the image scaler of the present invention receives a counter control signal, generates a first selection signal for designating and outputting a repetition filter coefficient when the image is enlarged / reduced, and continuously outputs the first selection signal. A counter unit which generates a second selection signal and continuously outputs the signal after a predetermined time delay; A multiplexer unit receiving the first selection signal and the second selection signal output from the counter unit and outputting a first iteration filter coefficient and a second iteration filter coefficient according to the received first selection signal and the second selection signal; Receives the first repeating filter coefficient and the input image data and sequentially feeds back the first repeating filter coefficient to the received first repeating filter coefficient to generate a first filter coefficient value, and generates the first filter coefficient value and the received first filter coefficient value. A first data generator for multiplying input image data and outputting first image data; The first filter coefficient value and the second repeat filter coefficient are continuously received and added to generate a second filter coefficient value, and the second filter coefficient value is fed back to receive the first filter coefficient value and is selectively received. A third filter coefficient value is generated by selectively adding the second filter coefficient value and the first filter coefficient value to the filter coefficient value, and generating the second image data by multiplying the generated third filter coefficient value and the received image data. A second data generator; And an image data adder for adding the first image data output from the first data generator and the second image data output from the second data generator.

카운터부는 이미지의 확대시 제1원이미지크기값을 소정의 주기로 연속적으로 수신받아 출력하는 제1FC레지스터; 피드백되는 제1원이미지크기값을 수신받아 저장하는 제2FC레지스터; 제1FC레지스터로부터 출력되는 제1원이미지크기값을 수신받아 출력하고 출력되는 제1원이미지크기값을 제2FC레지스터로 피드백시켜 수신되는 제1원이미지크기값과 가산하여 제2원이미지크기값을 연속적으로 발생하여 출력하는 FC가산기; FC가산기로부터 출력되는 제1원이미지크기값과 제2원이미지크기값을 순차적으로 수신받아 확대이미지크기값과 비교하여 제1원이미지크기값과 제2원이미지크기값이 확대이미지크기값에 도달되면 재설정신호를 발생하여 출력하는 비교기; 및 재설정신호를 수신받고 반복필터계수를 반복하여 연속적으로 출력하기위한 제1선택신호를 발생하여 출력하고 제1선택신호가 출력된 후 소정 시간 지연한 후 제2선택신호를 발생하여 연속적으로 출력하는 어드레스 카운터부로 구성됨을 특징으로 한다.The counter unit includes: a first FC register configured to continuously receive and output a first original image size value at a predetermined period when the image is enlarged; A second FC register configured to receive and store the fed back first original image size value; The first original image size value received from the first FC register is received and outputted, and the first original image size value fed back to the second FC register is added to the first original image size value received to add the second original image size value. FC adder that generates and outputs continuously; The first original image size value and the second original image size value received from the FC adder are sequentially received, and the first original image size value and the second original image size value reach the enlarged image size value by comparing with the enlarged image size value. A comparator for generating and outputting a reset signal when the reset signal is generated; And generating and outputting a first selection signal for receiving a reset signal and repeatedly outputting a repeating filter coefficient, and generating a second selection signal after delaying a predetermined time after the first selection signal is output and continuously outputting the second selection signal. And an address counter.

멀티플레서부는 제1반복필터계수를 수신받아 카운터부로부터 출력되는 제1선택신호를 수신받아 제1반복필터계수를 연속적으로 출력하는 제1FC멀티플렉서; 제2반복필터계수를 수신받아 카운터부로부터 출력되는 제2선택신호를 수신받아 제2반복필터계수를 연속적으로 출력하는 제2FC멀티플렉서; 제3반복필터계수를 수신받아 카운터부로부터 출력되는 제3선택신호를 수신받아 제3반복필터계수를 연속적으로 출력하는 제3FC멀티플렉서; 및 제4반복필터계수를 수신받아 카운터부로부터 출력되는 제4선택신호를 수신받아 제4반복필터계수값을 연속적으로 출력하는 제4FC멀티플렉서로 구성됨을 특징으로 한다.The multiplexer unit may include: a first FC multiplexer configured to receive the first repeating filter coefficient and receive the first selection signal output from the counter unit to continuously output the first repeating filter coefficient; A second FC multiplexer which receives the second repeating filter coefficient and receives the second selection signal output from the counter unit and continuously outputs the second repeating filter coefficient; A third FC multiplexer which receives the third repeating filter coefficient and receives the third selection signal output from the counter unit and continuously outputs the third repeating filter coefficient; And a fourth FC multiplexer which receives the fourth repeated filter coefficient and receives the fourth selected signal output from the counter unit, and continuously outputs the fourth repeated filter coefficient value.

제1데이터발생부는 제1반복필터계수를 수신받아 출력하는 제1Ra레지스터;제1반복필터계수와 '0"값을 수신받고 제1외부선택신호를 수신받아 제1외부선택신호에 따라 '0"값과 순차적으로 수신되는 제1반복필터계수를 선택하여 출력하는 제1멀티플렉서; 제1Ra레지스터로부터 출력되는 제1반복필터계수를 수신받고 제1멀티플렉서로부터 선택되어 출력되는 '0"값과 제1반복필터계수를 수신받아 가산하여 제1필터계수값을 발생하여 출력하는 제1가산기; 제1가산기로부터 출력되는 제1반복필터계수와 제1필터계수값을 수신받고 수신된 제1반복필터계수를 제1멀티플렉서로 전송하고 수신된 제1필터계수값을 출력하는 제2Ra레지스터; 입력이미지데이터를 수신받아 출력하는 제3Ra레지스터; 제2Ra레지스터로부터 출력되는 제1반복필터계수와 제1필터계수값을 수신받고 제3Ra레지스터로부터 출력되는 입력이미지데이터를 수신받아 제1필터계수값에 승산시켜 제1이미지데이터를 발생하여 출력하는 제1승산기; 및 제1승산기로부터 출력되는 제1이미지데이터를 수신받아 출력하는 제4Ra레지스터로 구성됨을 특징으로 한다.A first Ra register configured to receive and output a first iterative filter coefficient; a first data generator receives a first iterative filter coefficient and a value of '0', receives a first external selection signal, and receives a first external selection signal according to a first external selection signal; A first multiplexer for selecting and outputting a value and a first iterative filter coefficient sequentially received; A first adder that receives the first iteration filter coefficient output from the first Ra register, receives and adds a value of '0' selected from the first multiplexer and the first iterative filter coefficient, and generates and outputs the first filter coefficient value. A second Ra register receiving the first iterative filter coefficient and the first filter coefficient value output from the first adder, transmitting the received first iterative filter coefficient to the first multiplexer, and outputting the received first filter coefficient value; A third Ra register for receiving and outputting image data; receiving a first repetitive filter coefficient and a first filter coefficient value output from the second Ra register, receiving input image data output from the third Ra register, and multiplying the first filter coefficient value A first multiplier for generating and outputting first image data; and a fourth Ra register for receiving and outputting first image data output from the first multiplier; do.

제2데이터발생부는 제1반복필터계수를 수신받아 출력하는 제1Rb레지스터;The second data generator includes: a first Rb register configured to receive and output a first iterative filter coefficient;

제2반복필터계수를 수신받아 출력하는 제2Rb레지스터; 제2Ra레지스터로부터 출력되는 제1필터계수값과 제2필터계수값을 순차적으로 수신받아 제2외부선택신호가 수신되면 수신된 제2외부선택신호에 따라 제1필터계수값과 제2필터계수값을 선택하여 출력하는 제2멀티플렉서; 제1Rb레지스터로부터 출력되는 제1반복필터계수와 제2Rb레지스터로부터 출력되는 제2반복필터계수를 수신받아 가산하여 제2필터계수값을 발생하여 출력하고 제2멀티플렉서로부터 선택되어 출력되는 제1필터계수값과 제2필터계수값을 수신받아 제2필터계수값을 가산시켜 제3필터계수값을 발생하여 출력하는 제2가산기; 제2가산기로부터 출력되는 제2필터계수값과 제3필터계수값을 각각 수신받아 수신된 제2필터계수값을 제2멀티플렉서로 전송하고 수신된 제3필터계수값을 수신받아 출력하는 제3Rb레지스터; 입력이미지데이터를 수신받아 출력하는 제4Rb레지스터; 제3Rb레지스터로부터 출력되는 제3필터계수값을 수신받고 제4Rb레지스터로부터 출력되는 입력이미지데이터를 수신받아 승산하여 제2이미지데이터를 발생하여 출력하는 제2승산기; 및 제2승산기로부터 출력되는 제2이미지데이터를 수신받아 출력하는 제5Rb레지스터로 구성됨을 특징으로 한다.A second Rb register for receiving and outputting a second iterative filter coefficient; The first filter coefficient value and the second filter coefficient value output from the second Ra register are sequentially received, and when the second external selection signal is received, the first filter coefficient value and the second filter coefficient value according to the received second external selection signal. A second multiplexer for selecting and outputting the selected; Receives and adds a first repeating filter coefficient output from the first Rb register and a second repeating filter coefficient output from the second Rb register to generate and output a second filter coefficient value, and then selects and outputs the second filter coefficient from the second multiplexer. A second adder receiving the value and the second filter coefficient value, adding the second filter coefficient value to generate and output a third filter coefficient value; A third Rb register that receives the second filter coefficient value and the third filter coefficient value output from the second adder, transmits the received second filter coefficient value to the second multiplexer, and receives and outputs the received third filter coefficient value; ; A fourth Rb register for receiving and outputting input image data; A second multiplier configured to receive a third filter coefficient value output from the third Rb register, receive and multiply input image data output from the fourth Rb register, and generate and output second image data; And a fifth Rb register configured to receive and output second image data output from the second multiplier.

본 발명의 이미지스케일러의 화질보정방법은 이미지를 M/N 배율로 확대 또는축소를 선택하는 단계; 이미지를 확대 또는 축소를 선택하는 단계에서 이미지의 확대 또는 축소가 선택되면 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값을 각각 "0"으로 초기화시키는 단계; 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값을 각각 "0"으로 초기화시키는 단계에서 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값이 "0"으로 초기화되면 이미지확대가 선택되었는지를 확인하는 단계; 이미지 확대가 선택되었는지를 확인하는 단계에서 이미지의 확대가 선택된 것으로 확인되면 총픽셀합에 N값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계; 총픽셀합에 N값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계에서 총픽셀합에 N값을 더하고 아울러 총픽셀 카운트값과 반복픽셀계수가 한 스텝씩 증가되면 총픽셀합이 M값보다 크거나 같은지를 확인하는 단계; 총픽셀합이 M값보다 크거나 같은지를 확인하는 단계에서 총픽셀합이 M값보다 크거나 같으면 총픽셀 카운트값이 N값 보다 크거나 같은지를 확인하는 단계; 총픽셀 카운트값이 N값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 N값 보다 크거나 같으면 반복픽셀계수를 이용하여 이미지를 보정하는 단계로 구성됨을 특징으로 한다.The image quality correction method of the image scaler of the present invention comprises the steps of selecting to enlarge or reduce the image to M / N magnification; Initializing the total pixel sum, the total pixel count value, the repetition pixel count, and the step increment value to “0” when the enlargement or reduction of the image is selected in the step of enlarging or reducing the image; In the step of initializing the total pixel sum, the total pixel count value, the repeat pixel count and the step increment value to "0", the total pixel sum, the total pixel count value, the repeat pixel count and the step increment value are initialized to "0". Checking whether magnification is selected; If it is determined that the image enlargement is selected in the step of confirming whether the image enlargement is selected, adding N to the total pixel sum and increasing the total pixel count value and the repetition pixel coefficient by one step; In addition to adding the N value to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step, adding the N value to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step, Checking whether the pixel sum is greater than or equal to the M value; Checking whether the total pixel count value is greater than or equal to the N value if the total pixel sum is greater than or equal to the M value in the checking whether the total pixel sum is greater than or equal to the M value; In the step of checking whether the total pixel count value is greater than or equal to the N value, the total pixel count value is greater than or equal to the N value.

이미지 확대가 선택되었는지를 확인하는 단계에서 이미지의 확대가 선택되지 않으면 이미지의 축소가 선택된 것으로 인식하여 총픽셀합에 M값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계; 총픽셀합에 M값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계에서 총픽셀합에 M값을 더하고 아울러 총픽셀 카운트값과 반복픽셀계수가 한 스텝씩 증가되면 총픽셀합이 N값보다 크거나 같은지를 확인하는 단계; 총픽셀합이 N값보다 크거나 같은지를 확인하는 단계에서 총픽셀합이 N값보다 크거나 같으면 총픽셀 카운트값이 M값 보다 크거나 같은지를 확인하는 단계; 총픽셀 카운트값이 M값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 M값 보다 크거나 같으면 반복픽셀계수를 이용하여 이미지를 보정하는 단계로 구성됨을 특징으로 한다.In the step of confirming that the image enlargement is selected, if the image enlargement is not selected, the image reduction is selected and the M value is added to the total pixel sum and the total pixel count value and the repeating pixel coefficient are increased by one step. ; In addition to adding the M value to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step, adding the M value to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step, Checking whether the pixel sum is greater than or equal to an N value; Checking whether the total pixel count value is greater than or equal to the M value if the total pixel sum is greater than or equal to the N value in the checking whether the total pixel sum is greater than or equal to the N value; In the step of checking whether the total pixel count value is greater than or equal to the M value, if the total pixel count value is greater than or equal to the M value, the method may include correcting an image by using a repeating pixel coefficient.

이하, 본 발명을 첨부된 도면을 이용하여 설명하면 다음과 같다.Hereinafter, the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명에 의한 화질보정장치가 적용된 이미지 스케일러의 블럭 도이고, 도 4는 도 3에 도시된 화질보정장치의 블럭도이다. 도시된 바와 같이, 카운터제어신호(C-control)를 수신받아 이미지의 확대/축소시 반복필터계수(C0,C1,…C21)를 지정하여 출력하기 위한 제1선택신호(sela)를 발생하여 연속적으로 출력하고 제1선택신호(sela)가 출력된 후 소정 시간 지연한 후 제2선택신호(selb)를 발생하여 연속적으로 출력하는 카운터부(121)와, 카운터부(121)로부터 출력되는 제1선택신호(sela)와 제2선택신호(selb)를 수신받고 수신된 제1선택신호(sela)와 제2선택신호(selb)에 따라 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 출력하는 멀티플렉서부(122)와, 제1반복필터계수(C0,C1,…C9)와 입력이미지데이터를 수신받고 제1반복필터계수(C0,C1,…C9)를 순차적으로 피드백시켜 수신되는 제1반복필터계수(C0,C1,…C9)와 가산하여 제1필터계수값(HC0)을 발생하고 발생된 제1필터계수값(HC0)과 수신된 입력이미지데이터를 승산하여 제1이미지데이터를 출력하는 제1데이터발생부(123)와, 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 연속적으로 수신받아 가산하여 제2필터계수값을 발생함과 아울러 제2필터계수값을 피드백시켜 수신되는 제1필터계수값(HC0)과 선택적으로 수신받아 제2필터계수값에 제2필터계수값과 제1필터계수값(HC0)을 선택적으로 가산하여 제3필터계수값(HC1)을 발생하고 발생된 제3필터계수값(HC1)과 수신된 이미지데이터를 승산하여 제2이미지데이터를 발생하는 제2데이터발생부(124)와, 제1데이터발생부(123)에서 출력되는 제1이미지데이터와 제2데이터발생부(124)로부터 출력되는 제2이미지데이터를 가산하여 출력하는 이미지데이터가산기(128)로 구성된다.3 is a block diagram of an image scaler to which the image quality correction apparatus according to the present invention is applied, and FIG. 4 is a block diagram of the image quality correction apparatus shown in FIG. As shown in the drawing, the counter control signal C-control is received to generate a first selection signal sela for designating and outputting the repetition filter coefficients C0, C1, ... C21 when the image is enlarged or reduced. A counter unit 121 for generating a second selection signal selb and outputting it continuously after a predetermined time delay after the first selection signal sela is output, and a first output from the counter unit 121. Receiving the selection signal sela and the second selection signal selb, and according to the received first selection signal sela and the second selection signal selb, the first iteration filter coefficients C0, C1,... The multiplexer unit 122 outputs the second iteration filter coefficients C0, C1, ... C21, the first iteration filter coefficients C0, C1, ... C9, and the input image data, and receives the first iteration filter coefficients C0, C0, C21. The first filter coefficient value HC0 is generated by adding the first iterative filter coefficients C0, C1, ... C9 received by sequentially feeding back C1, ... C9, and the generated first filter coefficient value HC0 and Received A first data generator 123 for multiplying the output image data to output the first image data, a first iteration filter coefficient C0, C1, ... C9 and a second iteration filter coefficient C0, C1, ... C21 Receive continuously and add a second filter coefficient value, and feed back the second filter coefficient value to receive first filter coefficient value HC0 and selectively receive the second filter coefficient value to the second filter coefficient value. A third filter coefficient value HC1 is generated by selectively adding the value and the first filter coefficient value HC0, and second image data is generated by multiplying the generated third filter coefficient value HC1 and the received image data. An image data adder for adding and outputting the second data generator 124, the first image data output from the first data generator 123, and the second image data output from the second data generator 124. It consists of 128.

이하, 본 발명의 구성 및 작용을 보다 상세히 설명하면 다음과 같다.Hereinafter, the configuration and operation of the present invention in more detail as follows.

본 발명의 이미지 스케일러의 화질보정장치 및 화질보정방법에서 화질보정장치를 먼저 설명한 후에 화질보정방법을 설명하겠다. 본 발명의 화질보정장치가 적용된 이미지 스케일러의 전체적인 구성은 도 3에 도시되어 있다. 도 3에 도시된 바와 같이 이미지 스케일러는 제1수직필터(110), 제2수평필터(120), 라인메모리부(130), 제2수직필터(140) 및 제2수평필터(150)로 구성된다. 영상이미지를 확대하기 위해서는 확대입력이미지데이터는 라인메모리부(130)로 입력된 후 제2수직필터(110) 및 제2수평필터(120)를 통해 확대 보정된 후 제2수평필터(120)를 통해 확대출력이미지데이터가 출력된다. 영상이미지를 축소하기 위해서는 축소입력이미지데이터는 제1수직필터(110), 제1수평필터(120) 및 라인메모리부(130)로 입력되어 축소된 후 보정되어 라인 메모리(130)를 통해 축소출력이미지데이터가 출력되도록 구성됨을 밝힌다.The image quality correction apparatus will be described first after the image quality correction apparatus and the image quality correction apparatus of the image scaler of the present invention. The overall configuration of the image scaler to which the image quality correction apparatus of the present invention is applied is shown in FIG. 3. As shown in FIG. 3, the image scaler includes a first vertical filter 110, a second horizontal filter 120, a line memory unit 130, a second vertical filter 140, and a second horizontal filter 150. do. In order to enlarge the image image, the enlarged input image data is input to the line memory unit 130 and then enlarged and corrected through the second vertical filter 110 and the second horizontal filter 120, and then the second horizontal filter 120 is enlarged. Through the enlarged output image data is output. In order to reduce the video image, the reduced input image data is input to the first vertical filter 110, the first horizontal filter 120, and the line memory unit 130, reduced, and then corrected to reduce the output image through the line memory 130. The image data is configured to be output.

이미지를 확대하거나 축소하기 위해 구성되는 제1수직필터(110), 제1수평필터(120), 제2수직필터(140) 및 제2수평필터(150)에서 제1수직필터(110)와 제2수직필터(140)가 서로 동일하게 구성되며, 제1수평필터(120)와 제2수평필터(150)가 서로 동일하게 구성된다. 제1 및 제2수직필터(110)(140)와 제1 및 제2수직필터(120)(150)의 구성 차이는 입력이미지데이터를 래치시키기 위해 래치(도시 않음)로 구성된다. 즉, 제1 및 제2수직필터(110)(140)는 입력이미지데이터를 래치시키기 위해 라인메모리(도시 않음)가 요구되며, 제1 및 제2수직필터(120)(150)는 픽셀데이터를 래치시키기 위한 레지스터(도시 않음)가 사용됨으로 본 발명의 상세한 구성을 설명하기 위해 제1수평필터(120)를 이용하였다.The first vertical filter 110 and the first vertical filter 110, the first horizontal filter 120, the second vertical filter 140, and the second horizontal filter 150 are configured to enlarge or reduce an image. The two vertical filters 140 are configured identically to each other, and the first horizontal filter 120 and the second horizontal filter 150 are configured identically to each other. The configuration difference between the first and second vertical filters 110 and 140 and the first and second vertical filters 120 and 150 is configured by a latch (not shown) to latch the input image data. That is, the first and second vertical filters 110 and 140 require a line memory (not shown) to latch the input image data, and the first and second vertical filters 120 and 150 use the pixel data. Since a register (not shown) for latching is used, the first horizontal filter 120 is used to describe the detailed configuration of the present invention.

제1수평필터(120)는 도 4에 도시되어 있다. 도 4에서와 같이 제1수평필터(120)는 카운터부(121), 멀티플렉서부(122), 제1데이터발생부(123), 제2데이터발생부(124) 및 이미지데이터가산기(128)로 구성된다. 카운터부(121)는 이미지 스케일러를 전반적으로 제어하는 제어기(도시 않음)로부터 카운터제어신호(C-control)를 수신받는다. 카운터제어신호(C-control)를 수신받은 카운터부(121)는 이미지의 확대/축소시 반복필터계수(C0,C1,…C21)를 지정하여 출력하기 위한 제1선택신호(sela)를 발생하여 연속적으로 출력하고 제1선택신호(sela)가 출력된 후 소정 시간 지연한 후 제2선택신호(selb)를 발생하여 연속적으로 출력한다.The first horizontal filter 120 is illustrated in FIG. 4. As shown in FIG. 4, the first horizontal filter 120 includes a counter 121, a multiplexer 122, a first data generator 123, a second data generator 124, and an image data adder 128. It is composed. The counter unit 121 receives a counter control signal C-control from a controller (not shown) that generally controls the image scaler. The counter unit 121 receiving the counter control signal C-control generates a first selection signal sela for specifying and outputting the repetitive filter coefficients C0, C1, ... C21 when the image is enlarged / reduced. After outputting continuously and delaying the predetermined time after the first selection signal sela is output, the second selection signal selb is generated and continuously output.

카운터부(121)로부터 출력되는 제1선택신호(sela)와 제2선택신호(selb)를 멀티플렉서부(122)에서 수신받는다. 제1선택신호(sela)와 제2선택신호(selb)를 수신받은 멀티플렉서부(122)는 수신된 제1선택신호(sela)와 제2선택신호(selb)에 따라제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 출력한다. 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)는 이미지를 확대하거나 축소시 반복되는 필터의 계수로 미리 산출되어 저장되어 사용되며, 제어기의 제어에 의해 멀티플렉서부(122)로 공급된다.The multiplexer 122 receives the first selection signal sela and the second selection signal selb output from the counter 121. The multiplexer unit 122 that receives the first selection signal sela and the second selection signal selb receives the first iteration filter coefficient C0 according to the received first selection signal sela and the second selection signal selb. , C1, ... C9 and second iterative filter coefficients C0, C1, ... C21 are output. The first iteration filter coefficients (C0, C1, ... C9) and the second iteration filter coefficients (C0, C1, ... C21) are calculated and stored in advance as coefficients of a filter that is repeated when the image is enlarged or reduced. It is supplied to the multiplexer part 122 by control.

멀티플렉서부(122)로부터 선택되어 순차적으로 출력되는 제1반복필터계수(C0,C1,…C9)를 제1데이터발생부(123)에서 수신받는다. 제1데이터발생부(123)는 제1반복필터계수(C0,C1,…C9,)와 입력이미지데이터를 수신받고 제1반복필터계수(C0,C1,…C9)를 순차적으로 피드백시켜 수신되는 제1반복필터계수(C0,C1,…C9)와 가산하여 제1필터계수값(HC0)을 발생하고 발생된 제1필터계수값(HC0)과 수신된 입력이미지데이터를 승산하여 제1이미지데이터를 출력하게 된다.The first data filter 123 receives the first iterative filter coefficients C0, C1, ... C9 selected from the multiplexer unit 122 and sequentially output. The first data generator 123 receives the first iterative filter coefficients C0, C1, ... C9, and the input image data, and sequentially feeds back the first iterative filter coefficients C0, C1, ... C9. The first filter coefficient value HC0 is generated by adding the first iterative filter coefficients C0, C1, ... C9, and the first image data is multiplied by the generated first filter coefficient value HC0 and the received input image data. Will print

멀티플렉서부(122)로부터 선택되어 순차적으로 제1반복필터계수(C0,C1,…C9)가 출력됨과 아울러 제1반복필터계수(C0,C1,…C9)가 출력된 후 제1반복필터계수(C0,C1,…C9)가 한 회 출력되는 시간만큼 소정 시간 지연된 후 제2반복필터계수(C0,C1,…C21)가 연속적으로 출력하게 된다. 멀티플렉서부(122)로부터 반복되어 출력되는 제2반복필터계수(C0,C1,…C21)는 제2데이터발생부(124)에서 수신받는다. 제2반복필터계수(C0,C1,…C21)를 수신받은 제2데이터발생부(124)는 제1반복필터계수(C0,C1,…C9)의 수신과 동시에 제2반복필터계수(C0,C1,…C21)를 연속적으로 수신받는다.The first iterative filter coefficients C0, C1, ... C9 are sequentially output from the multiplexer unit 122, and the first iterative filter coefficients C0, C1, ... C9 are output. The second iterative filter coefficients C0, C1, ... C21 are continuously output after a predetermined time delay by the time C0, C1, ... C9 is output once. The second iterative filter coefficients C0, C1, ... C21 repeatedly outputted from the multiplexer unit 122 are received by the second data generator 124. The second data generator 124 receiving the second iterative filter coefficients C0, C1, ... C21 simultaneously receives the second iterative filter coefficients C0, C1, ... C9 and receives the second iterative filter coefficients C0, C1, ... C21. C1, ... C21) are continuously received.

제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)가 수신되면제2데이터발생부(124)는 제1반복필터계수(C0,C1,…C9)와 제1반복필터계수(C0,C1,…C9)를 가산하여 제2필터계수값을 발생한다. 제2데이터발생부(124)는 제2필터계수값을 발생함과 아울러 제2필터계수값을 피드백시켜 제1필터계수값(HC0)과 선택적으로 수신받는다. 제2필터계수값을 피드백시켜 제1필터계수값(HC0)과 선택적으로 수신받는 제2데이터발생부(124)는 제2필터계수값에 제2필터계수값 또는 제1필터계수값(HC0)을 가산하여 제3필터계수값(HC1)을 발생한 후 제3필터계수값(HC1)과 수신된 이미지데이터를 승산하여 제2이미지데이터를 발생하여 출력한다.When the first iteration filter coefficients C0, C1, ... C9 and the second iteration filter coefficients C0, C1, ... C21 are received, the second data generation unit 124 receives the first iteration filter coefficients C0, C1, ... C9. C9) and the first iterative filter coefficients C0, C1, ... C9 are added to generate a second filter coefficient value. The second data generator 124 generates a second filter coefficient value and feeds back the second filter coefficient value to selectively receive the first filter coefficient value HC0. The second data generator 124 selectively receiving the first filter coefficient value HC0 and the second filter coefficient value HC0 by feeding back the second filter coefficient value has a second filter coefficient value or a first filter coefficient value HC0. Next, the third filter coefficient value HC1 is generated to add the second filter data, and second image data is generated by outputting the second filter coefficient value HC1 by multiplying the received image data.

제2데이터발생부로부터 출력되는 제2이미지데이터와 제1데이터발생부(123)에서 출력되는 제1이미지데이터는 이미지데이터가산기(128)에서 수신받아 가산된 후 이미지데이터 레지스터(129)로 출력된다. 제2데이터발생부(124)로부터 출력되는 제2이미지데이터와 제1데이터발생부(123)에서 출력되는 제1이미지데이터는 이미지데이터가산기(128)에서 수신받아 가산하는 과정에서 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 이용해 이미지 확대시 확대되는 이미지를 보정하게 되며, 축소시 반복되는 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)에서 최초 필터계수 "C0"을 출력하고 나머지는 사용하지 않음으로써 축소 이미지를 보정할 수 있게 된다.The second image data output from the second data generator and the first image data output from the first data generator 123 are received by the image data adder 128 and added to the image data register 129. . The first iterative filter coefficient in the process of receiving and adding the second image data output from the second data generator 124 and the first image data output from the first data generator 123. (C0, C1, ... C9) and the second iterative filter coefficients (C0, C1, ... C21) are used to correct the image to be enlarged when the image is enlarged, and the first iterative filter coefficient (C0, C1, ... to be repeated at the time of reduction The reduced image can be corrected by outputting the first filter coefficient "C0" in C9) and the second iterative filter coefficients C0, C1, ... C21 and not using the rest.

본 발명의 제1수평필터(120)의 구성을 보다 상세히 설명하면 다음과 같다. 먼저, 카운터부(121)는 제1FC레지스터(FCReg1), 제2FC레지스터(FCReg2), FC가산기(121a), 비교기(121b) 및 어드레스 카운터부(121c)로 구성된다. 이미지를소정의 배율로 확대시 제1FC레지스터(FCReg1)는 제1원이미지크기값(X-value)을 소정의 주기로 연속적으로 수신받아 출력한다. 제1FC레지스터(FCReg1)로부터 출력되는 제1원이미지크기값(X-value)은 FC가산기(121a)에서 수신받아 출력한다. FC가산기(121a)로부터 출력되는 최초 제1원이미지크기값(X-value)이 출력되면 이를 비교기(121b)에서 수신받는다. 비교기(121b)는 제1원이미지크기값(X-value)과 확대이미지크기값(Y-value)을 수신받아 비교하여 제1원이미지크기값(X-value)이 확대이미지크기값(Y-value)에 도달되면 재설정신호를 발생하고, 도달되지 않으면 재설정신호를 발생하지 않게 된다.Referring to the configuration of the first horizontal filter 120 of the present invention in more detail as follows. First, the counter unit 121 includes a first FC register FCReg1, a second FC register FCReg2, an FC adder 121a, a comparator 121b, and an address counter unit 121c. When the image is enlarged by a predetermined magnification, the first FC register FCReg1 continuously receives and outputs the first original image size value X-value at a predetermined period. The first original image size value X-value output from the first FC register FCReg1 is received by the FC adder 121a and output. When the first original original image size value (X-value) output from the FC adder 121a is output, it is received by the comparator 121b. The comparator 121b receives and compares the first original image size value X-value and the enlarged image size value Y-value, thereby comparing the first original image size value X-value to the enlarged image size value Y-value. value), a reset signal is generated. If not, a reset signal is not generated.

비교기(121b)로부터 재설정신호가 수신되지 않으면 어드레스 카운터부(121c)는 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 순차적으로 지정하기 위한 제1선택신호(sela)와 제2선택신호(selb)를 연속적으로 발생하여 출력한다. 제1반복필터계수(C0,C1,…C9)와 제2반복필터계수(C0,C1,…C21)를 주기적으로 반복시켜 출력하기 위한 재설정신호를 발생하기 위해 FC가산기(121a)는 수신된 제1원이미지크기값(X-value)을 피드백시키게 된다. 피드백되는 제1원이미지크기값(X-value)은 제2FC레지스터(FCReg2)에 저장된 후 FC가산기(121a)에서 수신받는다.If the reset signal is not received from the comparator 121b, the address counter 121c sequentially specifies the first iteration filter coefficients C0, C1, ... C9 and the second iteration filter coefficients C0, C1, ... C21. A first selection signal sela and a second selection signal selb are continuously generated and output. The FC adder 121a is configured to generate a reset signal for periodically repeating and outputting the first iteration filter coefficients C0, C1, ... C9 and the second iteration filter coefficients C0, C1, ... C21. The original image size value (X-value) is fed back. The fed back first original image size value X-value is stored in the second FC register FCReg2 and received by the FC adder 121a.

피드백되는 제1원이미지크기값(X-value)을 수신받음과 아울러 FC가산기(121a)는 제1FC레지스터(FCReg1)로부터 연속적으로 출력되는 제1원이미지크기값(X-value)을 수신받아 피드백되는 제1원이미지크기값(X-value)과 가산하여 제2원이미지크기값(X-value+X-value)을 발생하여 출력한다. FC가산기(121a)로부터 발생되어 출력되는 제2원이미지크기값(X-value+X-value)은 다시 비교기(121b)에서수신받아 확대이미지크기값(Y-value)과 비교하여 제2원이미지크기값(X-value+X-value)이 확대이미지크기값(Y-value)에 도달되면 재설정신호를 발생하여 출력한다.In addition to receiving the first original image size value (X-value) fed back, the FC adder 121a receives and receives the first original image size value (X-value) continuously output from the first FC register FCReg1. A second original image size value (X-value + X-value) is generated by adding the first original image size value (X-value) to be generated and output. The second original image size value (X-value + X-value) generated and output from the FC adder 121a is received by the comparator 121b and compared with the enlarged image size value (Y-value) to obtain the second original image. When the size value (X-value + X-value) reaches the enlarged image size value (Y-value), a reset signal is generated and output.

비교기(121b)로부터 재설정신호가 출력되면 어드레스 카운터부(121)는 수신된 재설정신호에 의해 제1 및 제2반복필터계수(C0,C1,…C9)(C0,C1,…C21)를 반복하여 연속적으로 출력하기 위한 제1선택신호(sela)를 발생하여 출력하고 제1선택신호(sela)가 출력된 후 소정 시간 지연한 후 제2선택신호(selb)를 발생하여 연속적으로 출력하게 된다. 제1선택신호(sela)와 제2선택신호(selb)를 소정 시간 지연시킨 후 출력하기 위해서 어드레스 카운터부(121c)는 제어기로부터 카운터 제어신호(C-control)를 수신받아 제1선택신호(sela)를 출력한 후 제2선택신호(selb)를 소정시간 지연한 후 출력하게 된다.When the reset signal is output from the comparator 121b, the address counter 121 repeats the first and second iterative filter coefficients C0, C1, ... C9 (C0, C1, ... C21) based on the received reset signal. After generating the first selection signal sela for continuously outputting and outputting the first selection signal sela, the second selection signal selb is generated continuously after being delayed for a predetermined time. In order to output the first selection signal sela and the second selection signal selb after a predetermined time delay, the address counter unit 121c receives the counter control signal C-control from the controller and receives the first selection signal sela. ) Is output after delaying the second selection signal selb for a predetermined time.

전술한 이미지 확대와 다르게 이미지를 축소하는 경우에는 제1FC레지스터(FCReg1)으로 제1축소이미지크기값(X-value)을 수신받고, FC가산기(121a)는 제1FC레지스터(FCReg1)로부터 출력되는 제1축소이미지크기값(X-value)을 수신받아 출력하고 출력되는 제1축소이미지크기값(X-value)을 피드백시켜 수신되는 제1축소이미지크기값(X-value)과 가산하여 제2축소이미지크기값(X-value+X-value)을 연속적으로 발생하여 출력하게 된다. FC가산기(121a)로부터 출력되는 제2축소이미지크기값(X-value+X-value)을 비교기(121b)에서 수신받음과 아울러 비교기(121b)는 제2축소이미지크기값(X-value+X-value)을 원이미지크기값(X-value+X-value)과 비교하기 위해 원이미지크기값(X-value+X-value)을 수신받도록 구성되며 나머지 동작은 이미지 확대시와 동일하게 동작을 실시하게 된다.When the image is reduced differently from the above-described image enlargement, the first reduced image size value X-value is received by the first FC register FCReg1, and the FC adder 121a is output from the first FC register FCReg1. Receives and outputs one reduced image size value (X-value) and feeds back the first reduced image size value (X-value) to add the received first reduced image size value (X-value) to the second reduction. The image size value (X-value + X-value) is generated continuously and printed. The second reduced image size value (X-value + X-value) output from the FC adder 121a is received by the comparator 121b, and the comparator 121b receives the second reduced image size value (X-value + X). -value) is configured to receive the original image size value (X-value + X-value) in order to compare it with the original image size value (X-value + X-value). Will be implemented.

카운터부(121)의 어드레스 카운터부(121c)로부터 출력되는 제1선택신호(sela)와 제2선택신호(selb)를 수신받아 제1 및 제2반복필터계수(C0,C1,…C9)(C0,C1,…C21)를 연속적으로 출력하기 위해 멀티플렉서부(122)가 구비된다. 멀티플렉서부(122)는 제1FC멀티플렉서(FCMUX1)와 제2FC멀티플렉서(FCMUX2)가 구비된다. 제1FC멀티플렉서(FCMUX1)는 미리 저장된 제1반복필터계수(C0,C1,…C9)를 수신받음과 아울러 카운터부(121)의 어드레스 카운터부(121c)로부터 출력되는 제1선택신호(sela)를 수신받는다.The first and second repetition filter coefficients C0, C1, ... C9 are received by receiving the first selection signal sela and the second selection signal selb output from the address counter 121c of the counter 121; A multiplexer unit 122 is provided to continuously output C0, C1, ... C21. The multiplexer unit 122 includes a first FC multiplexer FCMUX1 and a second FC multiplexer FCMUX2. The first FC multiplexer FCMUX1 receives the pre-stored first iterative filter coefficients C0, C1,... C9 and receives the first selection signal sela output from the address counter 121c of the counter 121. Receive

제1반복필터계수(C0,C1,…C9)와 제1선택신호(sela)를 수신받은 제1FC멀티플렉서(FCMUX1)는 수신된 제1선택신호(sela)에 따라 제1반복필터계수(C0,C1,…C9)에서 필터계수들 "C0,C1,…C9"를 하나씩 순차적으로 선택하여 출력한다. 제1FC멀티플렉서(FCMUX1)는 필터계수들 "C0,C1,…C9"를 하나씩 순차적으로 반복하여 출력하며, 제2FC멀티플렉서(FCMUX2)는 제1FC멀티플렉서(FCMUX1)와 동일한 동작을 하여 제2선택신호(selb)가 수신되면 제2반복필터계수(C0,C1,…C21)에서 필터계수들 "C0,C1,…C21"를 선택하여 하나씩 출력하게 된다. 여기서, 제1FC멀티플렉서(FCMUX1)와 제2FC멀티플렉서(FCMUX2)로부터 각각 출력되는 제1 및 제2반복필터계수(C0,C1,…C9)(C0,C1,…C21)의 지연시간은 반복되는 필터계수들 "C0,C1,…C21"이 순차적으로 모두 한 회 출력된 후 제2FC멀티플렉서(FCMUX2)로부터 제2반복필터계수(C0,C1,…C21)가 출력되도록 구성된다.The first FC multiplexer FCMUX1 receiving the first iteration filter coefficients C0, C1,... C9 and the first selection signal sela may receive a first iteration filter coefficient C0, in accordance with the received first selection signal sela. In C1, ... C9), filter coefficients "C0, C1, ... C9" are sequentially selected and output one by one. The first FC multiplexer FCMUX1 sequentially and repeatedly outputs the filter coefficients “C0, C1, ... C9” one by one, and the second FC multiplexer FCMUX2 performs the same operation as the first FC multiplexer FCMUX1 to perform the second selection signal ( When selb) is received, the filter coefficients C0, C1, C21 are selected from the second iterative filter coefficients C0, C1, C21, and output one by one. Here, the delay times of the first and second iterative filter coefficients C0, C1, ... C9 (C0, C1, ... C21) output from the first FC multiplexer FCMUX1 and the second FC multiplexer FCMUX2, respectively, are repeated filters. After the coefficients "C0, C1, ... C21" are all sequentially output one time, the second iterative filter coefficients C0, C1, ... C21 are output from the second FC multiplexer FCMUX2.

이미지의 축소나 확대시 보정을 보다 정밀하게 실시하기 위해 보간 탭수를 증가시키게 된다. 이를 위해 멀티플렉서부(122)에는 제1FC멀티플렉서(FCMUX1)와제2FC멀티플렉서(FCMUX2) 외에 제3FC멀티플렉서(FCMUX3)와 제4FC멀티플렉서(FCMUX4)가 추가로 구비된다. 멀티플렉서부(122)에 제3FC멀티플렉서(FCMUX3)와 제4FC멀티플렉서(FCMUX4)를 추가로 구비하기 위해 어드레스 카운터부(121c)는 제3선택신호(selc)와 제4선택신호(seld)를 발생하여 출력하게 된다.When the image is reduced or enlarged, the number of interpolation taps is increased to more accurately correct the image. To this end, the multiplexer unit 122 further includes a third FC multiplexer FCMUX3 and a fourth FC multiplexer FCMUX4 in addition to the first FC multiplexer FCMUX1 and the second FC multiplexer FCMUX2. In order to further include the third FC multiplexer FCMUX3 and the fourth FC multiplexer FCMUX4 in the multiplexer unit 122, the address counter 121c generates a third select signal selc and a fourth select signal seld. Will print.

어드레스 카운터부(121c)로부터 출력되는 제3선택신호(selc)와 제4선택신호(seld)는 각각 제3FC멀티플렉서(FCMUX3)와 제4FC멀티플렉서(FCMUX4)에서 수신받는다. 제3선택신호(selc)를 수신받은 제3FC멀티플렉서(FCMUX3)는 제2FC멀티플렉서(FCMUX2) 보다 반복되는 필터계수들 "C0,C1,…C21"의 한 출력 주기가 지연된 후 연속적으로 제3반복필터계수(C0,C1,…C31)를 연속적으로 출력하게 된다. 제4선택신호(seld)를 수신받은 제4FC멀티플렉서(FCMUX4)는 제3FC멀티플렉서(FCMUX3) 보다 반복되는 필터계수들 "C0,C1,…C21"이 한 회 순차적으로 모두 출력되는 시간 만큼 지연된 후 연속적으로 제4반복필터계수(C0,C1,…C31)를 연속적으로 출력하게 된다.The third selection signal selc and the fourth selection signal seld output from the address counter 121c are received by the third FC multiplexer FCMUX3 and the fourth FC multiplexer FCMUX4, respectively. The third FC multiplexer FCMUX3 receiving the third selection signal selc continuously performs a third iterative filter after one output period of the filter coefficients "C0, C1, ... C21" repeated than the second FC multiplexer FCMUX2 is delayed. The coefficients C0, C1, ... C31 are output continuously. The fourth FC multiplexer FCMUX4 receiving the fourth selection signal seld is continuously delayed by the time that all of the filter coefficients “C0, C1,… C21” which are repeated than the third FC multiplexer FCMUX3 are sequentially output one time. The fourth iterative filter coefficients C0, C1, ... C31 are output continuously.

멀티플레서부(122)의 제1FC멀티플렉서(FCMUX1), 제2FC멀티플렉서(FCMUX2), 제3FC멀티플렉서(FCMUX3) 및 제4FC멀티플렉서(FCMUX4)에서 각각 수신받는 제1 내지 제4반복필터계수(C0,C1,…C31)는 확대/축소배율이 정수배인 경우 동일한 값을 가지며 정수배가 아닌 경우에는 동일하지 않은 값이 사용된다. 예를 들어, 확대/축소배율이 정수배인 경우에 반복되는 필터계수가 "C0,C1,…C9"로 반복되면 "C0,C1,…C9" 개수 만큼 동일하게 반복시켜 출력되며, 정수배가 아닌 경우에는 반복되는 필터계수들 "C0,C1,…C9"의 개수가 8개가 될 수 있으며 9 내지 9 보다 적은 수가 될 수 있도록 구성된다. 반복되는 필터계수들 "C0,C1,…C9"의 개수가 서로 다른 경우에도 미리 저장시켜 사용함으로써 정수배일 때와 동일하게 사용할 수 있게 된다.First to fourth iterative filter coefficients C0 and C1 received by the first FC multiplexer FCMUX1, the second FC multiplexer FCMUX2, the third FC multiplexer FCMUX3, and the fourth FC multiplexer FCMUX4 of the multiplexer unit 122, respectively. ... C31) has the same value when the magnification factor is an integer multiple, and an unequal value is used when the magnification factor is not an integer multiple. For example, if the repeating filter coefficient is repeated as "C0, C1, ... C9" when the zoom factor is an integer multiple, the same number of "C0, C1, ... C9" is repeated and outputted. The number of repeated filter coefficients " C0, C1, ... C9 " may be eight and may be less than nine to nine. Even if the number of repeated filter coefficients " C0, C1, ... C9 "

멀티플렉서부(122)의 제1FC멀티플렉서(FCMUX1)로부터 출력되는 제1반복필터계수(C0,C1,…C9)를 제1데이터발생부(123)에서 수신받는다. 제1반복필터계수(C0,C1,…C9)를 수신받는 제1데이터발생부(123)는 제1Ra레지스터(Ra1), 제2Ra레지스터(Ra2), 제3Ra레지스터(Ra3), 제4Ra레지스터(Ra4), 제1멀티플렉서(MUX1), 제1가산기(123a) 및 제1승산기(123b)로 구성된다.The first data filter 123 receives the first iterative filter coefficients C0, C1, ... C9 output from the first FC multiplexer FCMUX1 of the multiplexer 122. The first data generator 123 receiving the first iterative filter coefficients C0, C1, ... C9 may include a first Ra register Ra1, a second Ra register Ra2, a third Ra register Ra3, and a fourth Ra register. Ra4), a first multiplexer MUX1, a first adder 123a, and a first multiplier 123b.

제1반복필터계수(C0,C1,…C9)를 제1데이터발생부(123)의 제1Ra레지스터(Ra1)에서 수신받는다. 제1반복필터계수(C0,C1,…C9)를 수신받은 제1Ra레지스터(Ra1)는 수신된 제1반복필터계수(C0,C1,…C9)를 순차적으로 출력한다. 제1Ra레지스터(Ra1)로부터 출력되는 제1반복필터계수(C0,C1,…C9)에서 최초로 입력되는 필터게수 "C0"는 제1가산기(123a)를 통과하여 제2Ra레지스터(Ra2)에 저장된다. 제2Ra레지스터(Ra2)에 저장된 최초의 필터게수 "C0"는 피드백되어 제1멀티플렉서(MUX1)로 전송됨과 아울러 제1승산기(123b)로 전송된다. 제1승산기(123b)로 전송된 최초의 필터게수 "C0"는 제3Ra레지스터(Ra3)를 통해 입력되는 입력이미지데이터와 승산된 후 제4Ra레지스터(Ra4)를 통해 출력된다.The first iterative filter coefficients C0, C1, ..., C9 are received by the first Ra register Ra1 of the first data generator 123. The first Ra register Ra1 receiving the first iterative filter coefficients C0, C1, ... C9 sequentially outputs the first iterative filter coefficients C0, C1, ... C9. The filter coefficient "C0" first input from the first iterative filter coefficients C0, C1, ... C9 output from the first Ra register Ra1 is passed through the first adder 123a and stored in the second Ra register Ra2. . The first filter coefficient "C0" stored in the second Ra register Ra2 is fed back to the first multiplexer MUX1 and to the first multiplier 123b. The first filter coefficient "C0" transmitted to the first multiplier 123b is multiplied by the input image data input through the third Ra register Ra3 and then output through the fourth Ra register Ra4.

제1멀티플렉서(MUX1)로 피드백된 최초의 필터게수 "C0"는 제1멀티플렉서(MUX1)로 수신된 "0"값과 교대로 선택되어 출력된다. 이 후 필터게수"C0"과 "0"값은 "C0" 이 후에 출력되는 필터계수들 "C1,C2,…C9"과 제1가산기(123a)에 의해 가산되어 제1필터계수값(HC0)을 발생하여 출력하게 된다. 제1가산기(123a)에서 발생되는 제1필터계수값(HC0)은 다시 제1멀티플렉서(MUX1)로 피드백되어 제1가산기(123a)로 수신되는 제1반복필터계수(C0,C1,…C9)와 가산되어 발생하게 된다. 여기서는 설명의 편의상 제1반복필터계수(C0,C1,…C9)가 가산된 제1필터계수값(HC0) 또한 통칭하여 제1필터계수값(HC0)으로 칭하였다.The first filter coefficient "C0" fed back to the first multiplexer MUX1 is selected and outputted alternately with the value "0" received by the first multiplexer MUX1. After that, the filter coefficients "C0" and "0" are added by the filter coefficients "C1, C2, ... C9" and the first adder 123a which are output after "C0" and the first filter coefficient value HC0. Will generate the output. The first filter coefficient value HC0 generated by the first adder 123a is fed back to the first multiplexer MUX1 and received by the first adder 123a to receive the first iterative filter coefficients C0, C1, ... C9. And are generated. For convenience of description, the first filter coefficient value HC0 to which the first iterative filter coefficients C0, C1, ... C9 are added is also collectively referred to as the first filter coefficient value HC0.

제1가산기(123a)에서 발생되어 출력되는 제1필터계수값(HC0)은 제2Ra레지스터(Ra2)에 일시 정장된 후 제1승산기(123b)로 전송된다. 제1필터계수값(HC0)을 수신받은 제1승산기(123b)는 제3Ra레지스터(Ra3)로부터 수신되는 입력이미지데이터와 수신된 제1필터계수값(HC0)과 승산하여 제1이미지데이터를 발생하여 출력하게 된다. 제1승산기(123b)로부터 출력되는 제1이미지데이터는 제4Ra레지스터(Ra4)로 순차적으로 저장된 후 이미지데이터가산기(128)로 전송된다. 여기서 입력이미지데이터를 수신받아 제1승산기(123b)로 전송하는 제3Ra레지스터(Ra3)를 수직필터로 사용시 라인메모리(도시 않음)로 구성하게 된다.The first filter coefficient value HC0 generated and output from the first adder 123a is temporarily suited to the second Ra register Ra2 and then transmitted to the first multiplier 123b. The first multiplier 123b receiving the first filter coefficient value HC0 multiplies the input image data received from the third Ra register Ra3 and the received first filter coefficient value HC0 to generate first image data. Will print. The first image data output from the first multiplier 123b is sequentially stored in the fourth Ra register Ra4 and then transmitted to the image data adder 128. The third Ra register Ra3, which receives the input image data and transmits it to the first multiplier 123b, is configured as a line memory (not shown).

제1데이터발생부(123)에서 순차적으로 입력되는 제1반복필터계수(C0,C1,…C9)와 입력이미지데이터를 가산시켜 이미지를 확대하거나 축소하는 동기 동작을 첨부된 도 5a를 이용하여 설명하면 다음과 같다. 도 5a에서와 같이 제1Ra레지스터(Ra1)로부터 출력되는 제1반복필터계수(C0,C1,…C9)는 동기신호파형 "rack"에 동기되는 제1선택신호 파형 "sela"의 선택에 출력된다. 제1선택신호 파형 "sela"에서 "0,1,2,…,9"는 십진수로 나타낸 번지를 의미하고 제1선택신호 파형 "sela"의 선택에 의해 출력되는 제1반복필터계수(C0,C1,…C9)는 파형 "cina"과 같이 출력되며, 제1멀티플렉서(MUX1)는 제1외부선택신호를 나타낸 파형 "mca"에 동기되어 "0"값과 "C0" 또는 제1필터계수값(HC0)을 교대로 선택하여 출력하게 된다.A synchronous operation of enlarging or reducing an image by adding first repetitive filter coefficients C0, C1, ... C9 and input image data sequentially input from the first data generator 123 will be described with reference to FIG. 5A. Is as follows. As shown in FIG. 5A, the first iterative filter coefficients C0, C1, ... C9 output from the first Ra register Ra1 are output to the selection of the first selection signal waveform "sela" synchronized with the synchronization signal waveform "rack". . In the first selection signal waveform "sela", "0,1,2, ..., 9" means the address represented by the decimal number and the first iterative filter coefficient C0, which is output by the selection of the first selection signal waveform "sela". C1, ... C9) are output like the waveform "cina", and the first multiplexer MUX1 is synchronized with the waveform "mca" representing the first external selection signal, "0" and "C0" or the first filter coefficient value. (HC0) is alternately selected and output.

제1가산기(123a)에 의해 가산되어 출력되어 제1멀티플렉서(MUX1)로 피드백되는 제1필터계수값(HC0)은 제1외부선택신호를 나타내 파형"mca"에 의해 파형 "hca"와 같이 제1필터계수값(HC0)과 "0"값을 교대로 선택하여 출력하게 된다. 제1가산기(123a)에 의해 가산되어 출력되어 제1필터계수값(HC0)은 파형 "hc0"와 같이 출력된다. 즉, 제1필터계수값(HC0)은 "C0, C0+C1, C0+C1+C2, C0+C1+C2+C3 …"과 같이 가산되어 출력된다. 제3Ra레지스터(Ra3)로 수신되는 입력이미지데이터는 "A0,A1,…"로 구성되며, 각 입력이미지데이터 "A0,A1,…"는 파형 "pixin"에 동기되어 수신되며, 제3Ra레지스터(Ra3)는 입력이미지데이터를 파형 "pixck"에 동기시켜 출력하게 된다.The first filter coefficient value HC0, which is added by the first adder 123a and output and fed back to the first multiplexer MUX1, represents the first external selection signal and is formed by the waveform "mca", such as the waveform "hca". The filter coefficient value HC0 and the value " 0 " are alternately selected and output. It is added by the first adder 123a and outputted, so that the first filter coefficient value HC0 is outputted as a waveform "hc0". That is, the first filter coefficient value HC0 is added and output as "C0, C0 + C1, C0 + C1 + C2, C0 + C1 + C2 + C3 ...". The input image data received by the third Ra register Ra3 is composed of "A0, A1, ...", and each input image data "A0, A1, ..." is received in synchronization with the waveform "pixin", and the third Ra register ( Ra3) outputs the input image data in synchronization with the waveform "pixck".

파형 "pixck"에 동기되어 제3Ra레지스터(Ra3)로부터 출력되는 입력이미지데이터는 파형 "md0"와 같이 발생되어 출력된다. 파형 "md0"와 같이 출력되는 입력이미지데이터는 제1승산기(123b)에서 제1필터계수값(HC0)과 승산된 후 제1이미지데이터를 나타내는 파형 "rdata"에서와 같이 순차적으로 "R0,R1,…"을 발생하여 출력하게 된다. 출력되는 "R0,R1,…"은 제4Ra레지스터(Ra4)로 전송된 후 이미지데이터가산기(128)로 전송된다.The input image data output from the third Ra register Ra3 in synchronization with the waveform "pixck" is generated and output like the waveform "md0". The input image data output as the waveform "md0" is multiplied by the first filter coefficient value HC0 in the first multiplier 123b, and then sequentially as "R0, R1" as in the waveform "rdata" representing the first image data. ,… "Will be printed. The output "R0, R1, ..." is transmitted to the fourth Ra register Ra4 and then to the image data adder 128.

이미지데이터가산기(128)는 제1이미지데이터 외에 제2이미지데이터를 수신받는다. 제2이미지데이터는 제2데이터발생부(124)에서 발생되며, 제2이미지데이터를 발생하기 위해 제2데이터발생부(124)는 제1Rb레지스터(Rb1)를 통해 제1반복필터계수(C0,C1,…C9)를 수신받아 출력함과 아울러 제2Rb레지스터(Rb2)는 제2반복필터계수(C0,C1,…C21)를 수신받아 출력한다. 제1Rb레지스터(Rb1)와 제2Rb레지스터(Rb2)로부터 각각 출력되는 제1 및 제2반복필터계수(C0,C1,…C9)(C0,C1,…C21)를 제2가산기(124a)에서 수신받아 가산하여 제2필터계수값을 발생하여 출력한다.The image data adder 128 receives second image data in addition to the first image data. The second image data is generated by the second data generator 124, and the second data generator 124 generates the first iterative filter coefficient C0 through the first Rb register Rb1 to generate the second image data. The second Rb register Rb2 receives and outputs the second iteration filter coefficients C0, C1, ... C21. The second adder 124a receives the first and second repetitive filter coefficients C0, C1, ... C9 (C0, C1, ... C21) output from the first and second Rb registers Rb1 and Rb2, respectively. Receive and add a second filter coefficient value to output.

제2가산기(124a)로부터 출력되는 제2필터계수값은 제2멀티플렉서(MUX2)로 전송된다. 제2필터계수값을 수신받은 제2멀티플렉서(MUX2)는 제2Ra레지스터(Ra2)로부터 출력되는 제1필터계수값(HCO)을 수신받아 제2필터계수값과 제1필터계수값(HCO)을 제2외부선택신호(mcb)에 따라 교대로 반복하여 출력하게 된다. 제2멀티플렉서(MUX2)로부터 교대로 선택되어 출력되는 제2필터계수값과 제1필터계수값(HCO)을 제2가산기(124a)에서 수신받아 제2필터계수값과 가산하여 제3필터계수값(HC1)을 발생하여 출력한다. 제2가산기(124a)로부터 출력되는 제3필터계수값(HC1)은 제3Rb레지스터(Rb3)에서 수신받아 제2승산기(124b)로 전송한다.The second filter coefficient value output from the second adder 124a is transmitted to the second multiplexer MUX2. The second multiplexer MUX2 receiving the second filter coefficient value receives the first filter coefficient value HCO output from the second Ra register Ra2 and receives the second filter coefficient value and the first filter coefficient value HCO. In response to the second external selection signal mcb, the signal is repeatedly outputted alternately. The second filter coefficient value and the first filter coefficient value HCO, which are alternately selected and output from the second multiplexer MUX2, are received by the second adder 124a and added with the second filter coefficient value to add a third filter coefficient value. Generate and output (HC1). The third filter coefficient value HC1 output from the second adder 124a is received by the third Rb register Rb3 and transmitted to the second multiplier 124b.

제3필터계수값(HC1)을 수신받은 제2승산기(124b)는 제4Rb레지스터(Rb4)를 통해 수신되는 입력이미지데이터를 수신받아 제3필터계수값(HC1)과 승산하여 제2이미지데이터를 발생하여 출력한다. 제4Rb레지스터(Rb4)는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성된다. 제2승산기(124b)로부터 출력되는 제2이미지데이터는 제5Rb레지스터(Rb5)로전송된 후 이미지데이터가산기(128)로 전송되어 제1이미지데이터와 가산된 후 이미지데이터 레지스터(129)로 전송하게 된다. 제2이미지데이터를 발생하는 제2데이터발생부(124)의 입출력파형은 도 5b에 도시되며, 도 5b에 도시된 파형 "selb, rbck,cinb,csb,mcb,hcb,hc1,pixck,md1,pdata"는 5a에 도시된 파형 "rack, sela,cina,mca,hca,hc0,pixin,pixck,md0,rdata"와 동일한 동작을 하므로 상세한 설명은 생략하겠다.The second multiplier 124b receiving the third filter coefficient value HC1 receives the input image data received through the fourth Rb register Rb4 and multiplies the third filter coefficient value HC1 to multiply the second image data. Generate and print. The fourth Rb register Rb4 is used to enlarge / reduce the image in the horizontal direction and is configured as a line memory when enlarged / reduced in the vertical direction of the image. The second image data output from the second multiplier 124b is transferred to the fifth Rb register Rb5 and then transferred to the image data adder 128, added with the first image data, and then transferred to the image data register 129. do. The input and output waveforms of the second data generator 124 for generating the second image data are shown in FIG. 5B, and the waveforms "selb, rbck, cinb, csb, mcb, hcb, hc1, pixck, md1, pdata " performs the same operation as the waveforms " rack, sela, cina, mca, hca, hc0, pixin, pixck, md0, rdata "

이미지의 확대/축소시 보간탭 수를 증가시키기 위해 멀티플렉서부(122)에 제3FC멀티플렉서(FCMUX3)와 제4FC멀티플렉서(FCMUX4)가 구비되면, 제3FC멀티플렉서(FCMUX3)와 제4FC멀티플렉서(FCMUX4)로부터 각각 출력되는 제3반복필터계수(C0,C1,…C31)와 제4반복필터계수(C0,C1,…C39)를 수신받아 처리하기 위해 제3데이터발생부(125)와 제4데이터발생부(126)와 제5데이터발생부(127)로 부가되어 구비된다.When the third FC multiplexer FCMUX3 and the fourth FC multiplexer FCMUX4 are provided in the multiplexer unit 122 to increase the number of interpolation tabs when the image is enlarged or reduced, from the third FC multiplexer FCMUX3 and the fourth FC multiplexer FCMUX4. In order to receive and process the third iterative filter coefficients C0, C1, ... C31 and the fourth iterative filter coefficients C0, C1, ... C39, respectively, the third data generator 125 and the fourth data generator 126 and the fifth data generating unit 127 are provided.

제3데이터발생부(125)는 먼저, 제1Rc레지스터(Rc1)를 통해 제2반복필터계수(C0,C1,…C21)를 수신받아 출력함과 아울러 제2Rc레지스터(Rc2)를 통해 제3반복필터계수(C0,C1,…C31)를 수신받아 출력한다. 제1Rc레지스터(Rc1)와 제2Rc레지스터(Rc2)로부터 각각 출력되는 제2 및 제3반복필터계수(C0,C1,…C21)(C0,C1,…C31)를 제3가산기(125a)에서 수신받아 가산하여 제4필터계수값을 발생하여 출력한다.The third data generator 125 first receives and outputs the second repetition filter coefficients C0, C1, ... C21 through the first Rc register Rc1, and the third repetition through the second Rc register Rc2. The filter coefficients C0, C1, ... C31 are received and output. The second and third iterative filter coefficients C0, C1, ... C21 (C0, C1, ... C31) output from the first Rc register Rc1 and the second Rc register Rc2, respectively, are received by the third adder 125a. It receives and adds to generate a fourth filter coefficient value and outputs it.

제3가산기(125a)로부터 출력되는 제4필터계수값은 제3멀티플렉서(MUX3)로 전송된다. 제4필터계수값을 수신받은 제3멀티플렉서(MUX3)는 제2Rb레지스터(Rb2)로부터 출력되는 제2필터계수값을 수신받아 제2필터계수값과 제4필터계수값을 제3외부선택신호(mcc)에 따라 교대로 반복하여 출력하게 된다. 제3멀티플렉서(MUX3)로부터 교대로 선택되어 출력되는 제4필터계수값과 제2필터계수값을 제3가산기(125a)에서 수신받아 제4필터계수값과 가산하여 제5필터계수값(HC2)을 발생하여 출력한다. 제3가산기(125a)로부터 출력되는 제5필터계수값(HC2)은 제3Rc레지스터(Rc3)에서 수신받아 제3승산기(125b)로 전송한다.The fourth filter coefficient value output from the third adder 125a is transmitted to the third multiplexer MUX3. The third multiplexer MUX3 receiving the fourth filter coefficient value receives the second filter coefficient value output from the second Rb register Rb2 and receives the second filter coefficient value and the fourth filter coefficient value as the third external selection signal ( mcc) will be outputted alternately. The fourth filter coefficient value and the second filter coefficient value, which are alternately selected and output from the third multiplexer MUX3, are received by the third adder 125a and added with the fourth filter coefficient value to add the fifth filter coefficient value HC2. Generate and print The fifth filter coefficient value HC2 output from the third adder 125a is received by the third Rc register Rc3 and transmitted to the third multiplier 125b.

제5필터계수값(HC2)을 수신받은 제3승산기(125b)는 제4Rc레지스터(Rc4)를 통해 수신되는 입력이미지데이터를 수신받아 제5필터계수값(HC2)과 승산하여 제3이미지데이터를 발생하여 출력한다. 제4Rc레지스터(Rc4)는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성된다. 제3승산기(125b)로부터 출력되는 제3이미지데이터는 제5Rc레지스터(Rc5)로 전송된 후 이미지데이터가산기(128)로 전송되어 제1 및 제2이미지데이터와 가산된 후 이미지데이터 레지스터(129)로 전송하게 된다. 제3이미지데이터를 발생하는 제3데이터발생부(125)의 입출력파형은 도 5c에 도시되며, 도 5c에 도시된 파형 "selc,rcck,cinc,csc,mcc,hcc,hc2,pixck,md2,qdata"는 5b에 도시된 파형 "selb, rbck,cinb,csb,mcb,hcb,hc1,pixck,md1,pdata"와 동일한 동작을 하므로 상세한 설명은 생략하겠다.The third multiplier 125b receiving the fifth filter coefficient value HC2 receives the input image data received through the fourth Rc register Rc4 and multiplies the fifth filter coefficient value HC2 to multiply the third image data. Generate and print. The fourth Rc register Rc4 is used to enlarge / reduce the image in the horizontal direction and is configured as a line memory when enlarged / reduced in the vertical direction of the image. The third image data output from the third multiplier 125b is transmitted to the fifth Rc register Rc5 and then transferred to the image data adder 128 and added with the first and second image data, and then the image data register 129. Will be sent to. The input and output waveforms of the third data generator 125 generating third image data are shown in FIG. 5C, and the waveforms "selc, rcck, cinc, csc, mcc, hcc, hc2, pixck, md2, qdata "performs the same operation as the waveforms" selb, rbck, cinb, csb, mcb, hcb, hc1, pixck, md1, pdata "shown in 5b, so a detailed description thereof will be omitted.

제4이미지데이터를 발생하는 제4데이터발생부(126)는 제1Rd레지스터(Rd1)를 통해 제3반복필터계수(C0,C1,…C31)를 수신받아 출력함과 아울러 제2Rd레지스터(Rd2)를 통해 제4반복필터계수(C0,C1,…C39)를 수신받아 출력한다.제1Rd레지스터(Rd1)와 제2Rd레지스터(Rd2)로부터 각각 출력되는 제3 및 제4반복필터계수(C0,C1,…C39)를 제4가산기(126a)에서 수신받아 가산하여 제6필터계수값을 발생하여 출력한다.The fourth data generator 126 generating the fourth image data receives and outputs the third iterative filter coefficients C0, C1, ... C31 through the first Rd register Rd1, and the second Rd register Rd2. The fourth iterative filter coefficients C0, C1, ... C39 are received and output through the third and fourth iterative filter coefficients C0, C1 respectively output from the first Rd register Rd1 and the second Rd register Rd2. ,... C39 is received by the fourth adder 126a, added to generate and output a sixth filter coefficient value.

제4가산기(126a)로부터 출력되는 제6필터계수값은 제4멀티플렉서(MUX4)로 전송된다. 제6필터계수값을 수신받은 제4멀티플렉서(MUX4)는 제3Rc레지스터(Rc3)로부터 출력되는 제4필터계수값을 수신받아 제4필터계수값과 제6필터계수값을 제4외부선택신호(mcd)에 따라 교대로 반복하여 출력하게 된다. 제4멀티플렉서(MUX4)로부터 교대로 선택되어 출력되는 제6필터계수값과 제4필터계수값을 제4가산기(126a)에서 수신받아 제6필터계수값과 가산하여 제7필터계수값(HC3)을 발생하여 출력한다. 제4가산기(126a)로부터 출력되는 제7필터계수값(HC3)은 제3Rd레지스터(Rd3)에서 수신받아 제4승산기(126b)로 전송한다.The sixth filter coefficient value output from the fourth adder 126a is transmitted to the fourth multiplexer MUX4. The fourth multiplexer MUX4 that has received the sixth filter coefficient value receives the fourth filter coefficient value output from the third Rc register Rc3 and receives the fourth filter coefficient value and the sixth filter coefficient value as the fourth external selection signal ( According to mcd), the output will be repeated alternately. The sixth filter coefficient value and the fourth filter coefficient value, which are alternately selected and output from the fourth multiplexer MUX4, are received by the fourth adder 126a and added with the sixth filter coefficient value to add the seventh filter coefficient value HC3. Generate and print The seventh filter coefficient value HC3 output from the fourth adder 126a is received by the third Rd register Rd3 and transmitted to the fourth multiplier 126b.

제7필터계수값(HC3)을 수신받은 제4승산기(126b)는 제4Rd레지스터(Rd4)를 통해 수신되는 입력이미지데이터를 수신받아 제7필터계수값(HC3)과 승산하여 제4이미지데이터를 발생하여 출력한다. 제4Rd레지스터(Rd4)는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성된다. 제4승산기(126b)로부터 출력되는 제4이미지데이터는 제5Rd레지스터(Rd5)로 전송된 후 이미지데이터가산기(128)로 전송되어 제1 및 제2이미지데이터와 가산된 후 이미지데이터 레지스터(129)로 전송하게 된다. 제4이미지데이터를 발생하는 제4데이터발생부(126)의 입출력파형은 도 5d에 도시되며, 도 5d에 도시된 파형 "seld,rdck,cind,csd,mcd,hcd,hc3,pixck,md3,sdata"는 5c에 도시된 파형"selc,rcck,cinc,csc,mcc,hcc,hc2,pixck,md2,qdata"와 동일한 동작을 하므로 상세한 설명은 생략하겠다.The fourth multiplier 126b receiving the seventh filter coefficient value HC3 receives the input image data received through the fourth Rd register Rd4 and multiplies the seventh filter coefficient value HC3 to multiply the fourth image data. Generate and print. The fourth Rd register Rd4 is used to enlarge / reduce the image in the horizontal direction and is configured as a line memory to enlarge / reduce the image in the vertical direction of the image. The fourth image data output from the fourth multiplier 126b is transmitted to the fifth Rd register Rd5 and then transferred to the image data adder 128 and added with the first and second image data, and then the image data register 129. Will be sent to. The input / output waveforms of the fourth data generator 126 for generating the fourth image data are shown in FIG. 5D, and the waveforms "seld, rdck, cind, csd, mcd, hcd, hc3, pixck, md3, sdata "performs the same operation as the waveforms" selc, rcck, cinc, csc, mcc, hcc, hc2, pixck, md2, qdata "shown in 5c, and thus the detailed description thereof will be omitted.

제5데이터발생부(127)는 제1Re레지스터(Re1)를 통해 제4반복필터계수(C0,C1,…C39)를 수신받아 출력한다. 제1Re레지스터(Re1)로부터 출력되는 제4반복필터계수(C0,C1,…C39)를 제5가산기(126a)에서 수신받아 가산하여 제8필터계수값(HC4)을 발생하여 출력한다. 제5가산기(127a)로부터 출력되는 제8필터계수값(HC4)은 제5멀티플렉서(MUX5)로 전송된다. 제8필터계수값(HC4)을 수신받은 제5멀티플렉서(MUX5)는 제3Rd레지스터(Rd3)로부터 출력되는 제6필터계수값을 수신받아 제6필터계수값과 제8필터계수값(HC4)을 제5외부선택신호(mce)에 따라 교대로 반복하여 출력하게 된다.The fifth data generator 127 receives and outputs the fourth iterative filter coefficients C0, C1, ..., C39 through the first Re register Re1. The fourth iterative filter coefficients C0, C1, ..., C39 output from the first Re register Re1 are received by the fifth adder 126a, added, and the eighth filter coefficient value HC4 is generated and output. The eighth filter coefficient value HC4 output from the fifth adder 127a is transmitted to the fifth multiplexer MUX5. The fifth multiplexer MUX5 receiving the eighth filter coefficient value HC4 receives the sixth filter coefficient value output from the third Rd register Rd3 and receives the sixth filter coefficient value HC8 and the eighth filter coefficient value HC4. The output is alternately repeated according to the fifth external selection signal mce.

제5멀티플렉서(MUX5)로부터 교대로 선택되어 출력되는 제6필터계수값과 제8필터계수값(HC4)을 제5가산기(127a)에서 수신받아 반복적으로 수신되는 제4반복필터계수(C0,C1,…C39)에 가산하여 제8필터계수값(HC4)을 발생하여 출력한다. 제5가산기(127a)로부터 출력되는 제8필터계수값(HC4)은 제3Re레지스터(Re3)에서 수신받아 제5승산기(127b)로 전송한다. 제8필터계수값(HC4)을 수신받은 제5승산기(127b)는 제4Re레지스터(Re4)를 통해 수신되는 입력이미지데이터를 수신받아 제8필터계수값(HC4)과 승산하여 제5이미지데이터를 발생하여 출력한다.Fourth repeated filter coefficients C0 and C1 that are repeatedly received by the fifth adder 127a by receiving the sixth filter coefficient value and the eighth filter coefficient value HC4 alternately selected and output from the fifth multiplexer MUX5. , ... is added to C39 to generate and output the eighth filter coefficient value HC4. The eighth filter coefficient value HC4 output from the fifth adder 127a is received by the third Re register Re3 and transmitted to the fifth multiplier 127b. The fifth multiplier 127b receiving the eighth filter coefficient value HC4 receives the input image data received through the fourth Re register Re4 and multiplies the eighth filter coefficient value HC4 to multiply the fifth image data. Generate and print.

제4Re레지스터(Re4)는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성된다. 제5승산기(127b)로부터 출력되는 제5이미지데이터는 제5Re레지스터(Re5)로 전송된 후이미지데이터가산기(128)로 전송되어 제1 및 제2이미지데이터와 가산된 후 이미지데이터 레지스터(129)로 전송하게 된다. 제5이미지데이터를 발생하는 제5데이터발생부(127)의 입출력파형은 도 5e에 도시되며, 도 5e에 도시된 파형 "sele,reck,cse,mce,hce,hc4,pixck,md4,tdata"는 5d에 도시된 파형 "seld,rdck,cind,csd,mcd,hcd,hc3,pixck,md3,sdata"와 동일한 동작을 하므로 상세한 설명은 생략하겠다.The fourth Re register Re4 is used to enlarge / reduce the image in the horizontal direction and is configured as a line memory to enlarge / reduce the image in the vertical direction of the image. The fifth image data output from the fifth multiplier 127b is transferred to the fifth Re register Re5 and then transferred to the image data adder 128 and added with the first and second image data, and then the image data register 129. Will be sent to. The input and output waveforms of the fifth data generator 127 for generating fifth image data are shown in FIG. 5E, and the waveforms "sele, reck, cse, mce, hce, hc4, pixck, md4, tdata" shown in FIG. 5E. The same operation as the waveforms "seld, rdck, cind, csd, mcd, hcd, hc3, pixck, md3, sdata" shown in 5d will be omitted.

이상과 같이 제1데이터발생기(123), 제2데이터발생기(124), 제3데이터발생기(125), 제4데이터발생기(126) 및 제5데이터발생기(127)에 각각 출력되는 제1 내지 제5이미지 데이터를 발생하기 위해 제1,3,5,7,8필수계수값(HC0)(HC1)(HC2)(HC3)(HC4)의 연산 결과는 도 6a 및 도 6b에 도시되어 있다. 도 6a 및 도 6b에 도시된 논리 연산 결과에서 제1필터계수값인 HC0를 SC0로 가정하고 연산한 결과이며, 제1,3,5,7,8필수계수값(HC0)(HC1)(HC2)(HC3)(HC4)이 시프트되어 출력됨으로써 시프트된 제1,3,5,7,8필수계수값(HC0)(HC1)(HC2)(HC3)(HC4)에 각각 이미지데이터를 승산한 후 이미지데이터 가산기(128)로 가산함으로써 이미지의 확대나 축소시 많은 승산 연산을 제거할 수 있게 된다.As described above, the first through fifth outputs to the first data generator 123, the second data generator 124, the third data generator 125, the fourth data generator 126, and the fifth data generator 127, respectively. The calculation results of the first, third, fifth, seventh and eighth essential coefficient values HC0, HC1, HC2, HC3 and HC4 to generate five image data are shown in FIGS. 6A and 6B. It is a result of assuming that the first filter coefficient value HC0 is SC0 in the logical operation results shown in FIGS. 6A and 6B, and the first, third, fifth, seventh and eighth essential coefficient values HC0 (HC1) and HC2 are calculated. After multiplying the image data by the shifted first, third, fifth, seventh and eighth essential coefficient values (HC0) (HC1) (HC2) (HC3) (HC4) by shifting and outputting (HC3) (HC4) By adding with the image data adder 128, many multiplication operations can be eliminated when the image is enlarged or reduced.

이미지를 확대하거나 축소시 승산기의 개수를 최소로 구성하여 승산연산을 줄이기 위해 반복필터계수값을 산출하여 화질을 보정하는 방법을 첨부된 도면을 이용하여 설명하면 다음과 같다.A method of correcting image quality by calculating a repetitive filter coefficient value to reduce multiplication by configuring the number of multipliers to a minimum when enlarging or reducing an image will be described with reference to the accompanying drawings.

도 7은 본 발명에 의한 화질보정방법을 나타낸 흐름도를 나타낸 도로, 먼저,이미지를 M/N 배율로 확대 또는 축소를 선택하는 단계(S110)를 실시한다. 이미지를 확대 또는 축소를 선택하는 단계(S110)에서 이미지의 확대 또는 축소가 선택되면 총픽셀합(sum)과 총픽셀 카운트값(tc)과 반복픽셀계수(jc)와 스텝증가값(ac)을 각각 "0"으로 초기화시키는 단계(S120)가 실시된다. 총픽셀합(sum)과 총픽셀 카운트값(tc)과 반복픽셀계수(jc)와 스텝증가값(ac)을 각각 "0"으로 초기화시키는 단계(S120)에서 총픽셀합(sum)과 총픽셀 카운트값(tc)과 반복픽셀계수(jc)와 스텝증가값(ac)이 각각 각각 "0"으로 초기화되면 이미지확대가 선택되었는지를 확인하는 단계(S130)가 실시된다.7 is a road illustrating a flowchart of a method for correcting image quality according to the present invention. First, an enlargement or reduction of an image at an M / N magnification is performed (S110). In step S110 of selecting an enlargement or reduction of an image, when the enlargement or reduction of the image is selected, the total pixel sum, total pixel count value (tc), repetition pixel count (jc), and step increment value (ac) are selected. Each step S120 is initialized. In the step S120, the total pixel sum sum and the total pixel count value tc, the repeat pixel count jc and the step increment value ac are initialized to "0", respectively. When the count value tc, the repetition pixel count jc and the step increment value ac are respectively initialized to "0", a step S130 is performed to confirm whether image magnification is selected.

이미지 확대가 선택되었는지를 확인하는 단계(S130)에서 이미지의 확대가 선택된 것으로 확인되면 총픽셀합(sum)에 N값을 더함과 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)를 한 스텝씩 증가시키는 단계(140)가 실시된다. 총픽셀합(sum)에 N값을 더함과 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)를 한 스텝씩 증가시키는 단계(140)에서 총픽셀합(sum)에 N값을 더하고 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)가 한 스텝씩 증가되면 총픽셀합(sum)이 M값보다 크거나 같은지를 확인하는 단계(150)가 실시된다.In the step S130 of checking whether the image magnification is selected, when it is confirmed that the magnification of the image is selected, an N value is added to the total pixel sum, and a total pixel count value tc and a repeating pixel coefficient jc are added. Step 140 is stepped up. In addition to adding the N value to the total pixel sum (sum) and increasing the total pixel count value (tc) and the repeating pixel coefficient (jc) by one step (140), the N value is added to the total pixel sum (sum) and When the total pixel count value tc and the repeating pixel coefficient jc are increased by one step, a step 150 of checking whether the total pixel sum is greater than or equal to the M value is performed.

총픽셀합(sum)이 M값보다 크거나 같은지를 확인하는 단계(150)에서 총픽셀합(sum)이 M값보다 크거나 같으면 총픽셀 카운트값(tc)이 N값 보다 크거나 같은지를 확인하는 단계(160)가 실시된다. 총픽셀 카운트값(tc)이 N값 보다 크거나 같은지를 확인하는 단계(S160)에서 총픽셀 카운트값(tc)이 N값 보다 크거나 같지 않으면 총픽셀합(sum)에서 M값을 감하고 반복픽셀계수(jc)를 "0"으로 초기화하며스텝증가값(ac)을 한스텝증가시키는 단계(S170)가 실시된다. 반대로, 총픽셀 카운트값(tc)이 N값 보다 크거나 같은지를 확인하는 단계(160)에서 총픽셀 카운트값(tc)이 N값 보다 크거나 같으면 반복픽셀계수(jc)를 이용하여 이미지를 보정하는 단계(S220)를 실시하여 산출된 반복픽셀계수(jc)를 이용하여 이미지를 확대시킨 후 탭보간을 실시하여 화질을 보정하게 된다.In step 150, if the total pixel sum is greater than or equal to the M value, if the total pixel sum is greater than or equal to the M value, the total pixel count value tc is greater than or equal to the N value. Step 160 is performed. In step S160, when the total pixel count value tc is greater than or equal to the N value, if the total pixel count value tc is not greater than or equal to the N value, the M value is subtracted from the total pixel sum sum and repeated. A step S170 is performed in which the pixel coefficient jc is initialized to "0" and the step increase value ac is increased by one step. Conversely, if the total pixel count value tc is greater than or equal to the N value in step 160 of checking whether the total pixel count value tc is greater than or equal to the N value, the image is corrected using the repeating pixel coefficient jc. The image is enlarged using the repeated pixel coefficient jc calculated by performing the step S220, and then the image quality is corrected by performing tab interpolation.

이미지 확대가 선택되었는지를 확인하는 단계(130)에서 이미지의 확대가 선택되지 않으면 이미지의 축소가 선택된 것으로 인식하여 총픽셀합(sum)에 M값을 더함과 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)를 한 스텝씩 증가시키는 단계(180)가 실시된다. 총픽셀합(sum)에 M값을 더함과 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)를 한 스텝씩 증가시키는 단계(180)에서 총픽셀합(sum)에 M값을 더하고 아울러 총픽셀 카운트값(tc)과 반복픽셀계수(jc)가 한 스텝씩 증가되면 총픽셀합(sum)이 N값보다 크거나 같은지를 확인하는 단계(S190)를 실시한다.If the enlargement of the image is not selected at step 130 of confirming whether the enlargement of the image is selected, the image is recognized as being reduced and the M value is added to the total pixel sum, and the total pixel count value (tc) is repeated. In step 180, the pixel coefficient jc is increased by one step. In addition to adding the M value to the total pixel sum (sum) and increasing the total pixel count value (tc) and the repeating pixel coefficient (jc) by one step, the M value is added to the total pixel sum (sum) When the total pixel count value tc and the repeating pixel coefficient jc are increased by one step, a step S190 of checking whether the total pixel sum is greater than or equal to the N value is performed.

총픽셀합(sum)이 N값보다 크거나 같은지를 확인하는 단계(S190)에서 총픽셀합(sum)이 N값보다 크거나 같으면 총픽셀 카운트값(tc)이 M보다 크거나 같은지를 확인하는 단계(S200)를 실시한다. 총픽셀 카운트값(tc)이 M보다 크거나 같은지를 확인하는 단계(S200)에서 총픽셀 카운트값(tc)이 M보다 크거나 같지 않으면 총픽셀합(sum)에서 N값을 감하고 반복픽셀계수(jc)를 "0"으로 초기화하며 스텝증가값(ac)을 한 스텝증가시키는 단계(S210)가 실시되며, 반대로 총픽셀 카운트값(tc)이 M값 보다 크거나 같은면 반복픽셀계수(jc)를 이용하여 이미지를 보정하는 단계(S220)를 실시하게 된다. M/N배율로 이미지를 확대하거나 축소시 반복픽셀계수(jc)값을 산출하는 실시예를 첨부된 도 8a 내지 도 8c를 이용하여 설명하면 다음과 같다.In operation S190, if the total pixel sum is greater than or equal to the N value, if the total pixel sum is greater than or equal to the N value, the total pixel count value tc is greater than or equal to M. Step S200 is performed. In the step S200 of checking whether the total pixel count value tc is greater than or equal to M, if the total pixel count value tc is not greater than or equal to M, the N value is subtracted from the total pixel sum sum and the repeated pixel count Initializing (jc) to " 0 " and increasing the step increment value ac by one step (S210), on the contrary, if the total pixel count value tc is greater than or equal to the M value, the repetition pixel coefficient jc ) To correct the image (S220). An embodiment of calculating a repeating pixel coefficient (jc) value when the image is enlarged or reduced by the M / N magnification will be described with reference to FIGS. 8A to 8C.

도 8a 내지 도 8c는 본 발명에 의한 화질보정장치의 계수산출데이터를 나타낸 표로 도 8a는 이미지를 수평방향으로 M/N 배율로 확대시 확대배율이 7000/768일 경우에 반복픽셀계수(jc)를 산출하는 과정을 나타내고 있다. 도 8a에서와 같이 7000/768 배율로 확대하는 경우에 반복픽셀계수(jc)가 정수배로 산출되지 않게 되며, 이 경우에도 미리 반복픽셀계수(jc)를 저장하여 사용하게 된다. 도 8b에는 10240/1024로 확대시 반복픽셀계수(jc)가 정수배로 산출됨을 나타내며 도 8c는 100/1024로 축소시 반복픽셀계수(jc)의 산출과정을 나타내고 있다. 도 8c에서와 같이 100/1024로 축소시 "0,11,21,…,1024"의 출력번지가 출력되어 이미지 크기를 축소하게 된다.8A to 8C are tables showing coefficient calculation data of the image quality correction apparatus according to the present invention. FIG. 8A is a repetitive pixel coefficient jc when the magnification is 7000/768 when the image is magnified to the M / N magnification in the horizontal direction. The process of calculating As shown in FIG. 8A, the repetition pixel coefficient jc is not calculated as an integer multiple when the image is enlarged at 7000/768 magnification. In this case, the repetition pixel coefficient jc is stored and used in advance. In FIG. 8B, the repetition pixel coefficient jc is calculated as an integer multiple when enlarged to 10240/1024, and FIG. 8C illustrates a calculation process of the repetitive pixel coefficient jc when reduced to 100/1024. When reducing to 100/1024 as shown in FIG. 8C, an output address of "0, 11, 21, ..., 1024" is output to reduce the image size.

이상과 같이 반복필터계수값을 미리 산출하고 각각의 반복픽셀계수를 이용하여 반복필터계수값을 이용하여 이미지의 확대/축소를 보정함으로써 종래보다 승산기를 줄여 승산 연산을 최소함으로써 이미지의 스케일러의 하드웨어 부담을 덜어줄 수 있게 된다.As described above, the repetition filter coefficient value is calculated in advance, and the repetition filter coefficient value is used to correct the enlargement / reduction of the image by using the repetition filter coefficient value. It can be saved.

이상에서 설명한 바와 같이 본 발명은 이미지 스케일러에서 승산기의 개수를 줄여 승산연산을 줄임으로써 하드웨어적 부담을 줄일 수 있고 반복되는 필터계수가 정수배만 아니라 반복되지 않는 임의의 배율에 대해서 확대/축소되는 이미지의 왜곡을 보정할 수 있는 효과를 제공한다.As described above, the present invention can reduce the hardware burden by reducing the number of multipliers by reducing the number of multipliers in the image scaler, and the repeated filter coefficients are not only integers but also magnified for any magnification that is not repeated. Provides the effect of correcting distortion.

Claims (23)

영상 이미지를 확대하거나 축소시 사용되는 이미지 스케일러에서 확대되거나 축소되는 이미지의 화질을 보정하기 위한 장치에 있어서,An apparatus for correcting an image quality of an image that is enlarged or reduced in an image scaler used to enlarge or reduce an image image, 카운터제어신호를 수신받아 이미지의 확대/축소시 반복필터계수를 지정하여 출력하기 위한 제1선택신호를 발생하여 연속적으로 출력하고 상기 제1선택신호가 출력된 후 소정 시간 지연한 후 제2선택신호를 발생하여 연속적으로 출력하는 카운터부;Receives a counter control signal and generates and continuously outputs a first selection signal for designating and outputting a repetitive filter coefficient when the image is enlarged / reduced. Counter unit for generating a continuous output; 상기 카운터부로부터 출력되는 제1선택신호와 제2선택신호를 수신받고 수신된 제1선택신호와 제2선택신호에 따라 제1반복필터계수와 제2반복필터계수를 출력하는 멀티플렉서부;A multiplexer unit receiving the first selection signal and the second selection signal output from the counter unit and outputting a first iteration filter coefficient and a second iteration filter coefficient according to the received first selection signal and the second selection signal; 상기 제1반복필터계수와 입력이미지데이터를 수신받고 제1반복필터계수를 순차적으로 피드백시켜 수신되는 제1반복필터계수와 가산하여 제1필터계수값을 발생하고 발생된 제1필터계수값과 수신된 입력이미지데이터를 승산하여 제1이미지데이터를 출력하는 제1데이터발생부;Receives the first iteration filter coefficient and the input image data, and sequentially feeds back the first iteration filter coefficient to the first iteration filter coefficient received to generate a first filter coefficient value, and generates the first filter coefficient value and the received first filter coefficient value. A first data generator configured to output first image data by multiplying the input image data; 상기 1반복필터계수와 제2반복필터계수를 연속적으로 수신받아 가산하여 제2필터계수값을 발생함과 아울러 제2필터계수값을 피드백시켜 수신되는 제1필터계수값과 선택적으로 수신받아 제2필터계수값에 제2필터계수값과 제1필터계수값을 선택적으로 가산하여 제3필터계수값을 발생하고 발생된 제3필터계수값과 수신된 이미지데이터를 승산하여 제2이미지데이터를 발생하는 제2데이터발생부; 및The first filter coefficient value and the second repeat filter coefficient are continuously received and added to generate a second filter coefficient value, and the second filter coefficient value is fed back to receive the first filter coefficient value and is selectively received. A third filter coefficient value is generated by selectively adding the second filter coefficient value and the first filter coefficient value to the filter coefficient value, and generating the second image data by multiplying the generated third filter coefficient value and the received image data. A second data generator; And 상기 제1데이터발생부에서 출력되는 제1이미지데이터와 상기 제2데이터발생부로부터 출력되는 제2이미지데이터를 가산하여 출력하는 이미지데이터가산기로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And an image data adder configured to add and output first image data output from the first data generator and second image data output from the second data generator. 제 1 항에 있어서, 상기 제1데이터발생부는 상기 제1반복필터계수를 수신받아 출력하는 제1Ra레지스터;2. The apparatus of claim 1, wherein the first data generator comprises: a first Ra register configured to receive and output the first iterative filter coefficient; 상기 제1반복필터계수와 '0"값을 수신받고 제1외부선택신호를 수신받아 제1외부선택신호에 따라 '0"값과 순차적으로 수신되는 상기 제1반복필터계수를 선택하여 출력하는 제1멀티플렉서;Receiving the first iterative filter coefficient and the value '0' and receiving the first external selection signal and selecting and outputting the first iterative filter coefficient sequentially received with the '0' value according to the first external selection signal; 1 multiplexer; 상기 제1Ra레지스터로부터 출력되는 제1반복필터계수를 수신받고 상기 제1멀티플렉서로부터 선택되어 출력되는 '0"값과 상기 제1반복필터계수를 수신받아 가산하여 제1필터계수값을 발생하여 출력하는 제1가산기;Receiving a first repeating filter coefficient output from the first Ra register, receiving and adding a value of '0' selected and output from the first multiplexer and the first repeating filter coefficient to generate and output a first filter coefficient value. A first adder; 상기 제1가산기로부터 출력되는 제1반복필터계수와 상기 제1필터계수값을 수신받고 수신된 제1반복필터계수를 상기 제1멀티플렉서로 전송하고 수신된 제1필터계수값을 출력하는 제2Ra레지스터;A second Ra register configured to receive the first repeating filter coefficient and the first filter coefficient value output from the first adder, transmit the received first repeating filter coefficient to the first multiplexer, and output the received first filter coefficient value ; 입력이미지데이터를 수신받아 출력하는 제3Ra레지스터;A third Ra register for receiving and outputting input image data; 상기 제2Ra레지스터로부터 출력되는 상기 제1반복필터계수와 상기 제1필터계수값을 수신받고 상기 제3Ra레지스터로부터 출력되는 입력이미지데이터를 수신받아 제1필터계수값에 승산시켜 제1이미지데이터를 발생하여 출력하는 제1승산기; 및Receives the first repeating filter coefficient and the first filter coefficient value output from the second Ra register, receives the input image data output from the third Ra register, multiplies the first filter coefficient value, and generates first image data. A first multiplier for outputting; And 상기 제1승산기로부터 출력되는 제1이미지데이터를 수신받아 출력하는 제4Ra레지스터로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fourth Ra register configured to receive and output first image data output from the first multiplier. 제 2 항에 있어서, 상기 제3Ra레지스터는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.3. The apparatus of claim 2, wherein the third Ra register is used to enlarge / reduce the image in a horizontal direction and to configure a line memory to enlarge / reduce the image in a vertical direction of the image. 제 1 항에 있어서, 상기 제2데이터발생부는 상기 제1반복필터계수를 수신받아 출력하는 제1Rb레지스터;2. The apparatus of claim 1, wherein the second data generator comprises: a first Rb register for receiving and outputting the first iterative filter coefficient; 상기 제2반복필터계수를 수신받아 출력하는 제2Rb레지스터;A second Rb register for receiving and outputting the second iterative filter coefficient; 상기 제2Ra레지스터로부터 출력되는 상기 제1필터계수값과 제2필터계수값을 순차적으로 수신받아 제2외부선택신호가 수신되면 수신된 제2외부선택신호에 따라 상기 제1필터계수값과 상기 제2필터계수값을 선택하여 출력하는 제2멀티플렉서;The first filter coefficient value and the second filter coefficient value output from the second Ra register are sequentially received, and when a second external selection signal is received, the first filter coefficient value and the first filter coefficient according to the received second external selection signal. A second multiplexer for selecting and outputting a second filter coefficient value; 상기 제1Rb레지스터로부터 출력되는 제1반복필터계수와 상기 제2Rb레지스터로부터 출력되는 제2반복필터계수를 수신받아 가산하여 제2필터계수값을 발생하여 출력하고 상기 제2멀티플렉서로부터 선택되어 출력되는 상기 제1필터계수값과 상기 제2필터계수값을 수신받아 제2필터계수값을 가산시켜 제3필터계수값을 발생하여 출력하는 제2가산기;Receiving and adding a first repetition filter coefficient output from the first Rb register and a second repetition filter coefficient output from the second Rb register to generate and output a second filter coefficient value, and outputting the second filter coefficient value selected from the second multiplexer A second adder receiving the first filter coefficient value and the second filter coefficient value, adding a second filter coefficient value to generate and output a third filter coefficient value; 상기 제2가산기로부터 출력되는 제2필터계수값과 제3필터계수값을 각각 수신받아 수신된 제2필터계수값을 상기 제2멀티플렉서로 전송하고 수신된 제3필터계수값을 수신받아 출력하는 제3Rb레지스터;Receiving the second filter coefficient value and the third filter coefficient value output from the second adder, respectively, transmitting the received second filter coefficient value to the second multiplexer, and receiving and outputting the received third filter coefficient value; 3Rb register; 입력이미지데이터를 수신받아 출력하는 제4Rb레지스터;A fourth Rb register for receiving and outputting input image data; 상기 제3Rb레지스터로부터 출력되는 상기 제3필터계수값을 수신받고 상기 제4Rb레지스터로부터 출력되는 입력이미지데이터를 수신받아 승산하여 제2이미지데이터를 발생하여 출력하는 제2승산기; 및A second multiplier configured to receive the third filter coefficient value output from the third Rb register, receive and multiply input image data output from the fourth Rb register, and generate and output second image data; And 상기 제2승산기로부터 출력되는 제2이미지데이터를 수신받아 출력하는 제5Rb레지스터로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fifth Rb register configured to receive and output second image data output from the second multiplier. 제 4 항에 있어서, 상기 제4Rb레지스터는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.5. The apparatus of claim 4, wherein the fourth Rb register is used when the image is enlarged or reduced in the horizontal direction and the line memory is configured when the image is enlarged or reduced in the vertical direction of the image. 제 1 항에 있어서, 상기 카운터부는 이미지의 확대시 제1원이미지크기값을 소정의 주기로 연속적으로 수신받아 출력하는 제1FC레지스터;The display apparatus of claim 1, wherein the counter unit comprises: a first FC register configured to continuously receive and output a first original image size value at a predetermined period when the image is enlarged; 피드백되는 제1원이미지크기값을 수신받아 저장하는 제2FC레지스터;A second FC register configured to receive and store the fed back first original image size value; 상기 제1FC레지스터로부터 출력되는 제1원이미지크기값을 수신받아 출력하고 출력되는 제1원이미지크기값을 상기 제2FC레지스터로 피드백시켜 수신되는 제1원이미지크기값과 가산하여 제2원이미지크기값을 연속적으로 발생하여 출력하는 FC가산기;Receives and outputs a first original image size value output from the first FC register, and feeds the first original image size value fed back to the second FC register to add the second original image size value to the second original image size. FC adder for continuously generating and outputting values; 상기 FC가산기로부터 출력되는 제1원이미지크기값과 제2원이미지크기값을 순차적으로 수신받아 확대이미지크기값과 비교하여 제1원이미지크기값과 제2원이미지크기값이 확대이미지크기값에 도달되면 재설정신호를 발생하여 출력하는 비교기; 및The first original image size value and the second original image size value received from the FC adder are sequentially received and compared with the enlarged image size value, so that the first original image size value and the second original image size value correspond to the enlarged image size value. A comparator for generating and outputting a reset signal when it is reached; And 상기 재설정신호를 수신받고 반복필터계수를 반복하여 연속적으로 출력하기 위한 제1선택신호를 발생하여 출력하고 상기 제1선택신호가 출력된 후 소정 시간 지연한 후 제2선택신호를 발생하여 연속적으로 출력하는 어드레스 카운터부로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.Receiving the reset signal and generating and outputting a first selection signal for continuously outputting a repeating filter coefficient and outputting the second selection signal after delaying a predetermined time after the first selection signal is output and continuously outputting the second selection signal. An image scaler of an image scaler, characterized by comprising an address counter. 제 6 항에 있어서, 상기 제1FC레지스터는 이미지의 축소시 제1축소이미지크기값을 수신받음을 특징으로 하는 이미지 스케일러의 화질보정장치.7. The apparatus of claim 6, wherein the first FC register receives a first reduced image size value when the image is reduced. 제 6 항에 있어서, 상기 FC가산기는 이미지의 축소시 상기 제1FC레지스터로부터 출력되는 제1축소이미지크기값을 수신받아 출력하고 출력되는 제1축소이미지크기값을 피드백시켜 수신되는 제1축소이미지크기값과 가산하여 제2축소이미지크기값을 연속적으로 발생하여 출력함을 특징으로 하는 이미지 스케일러의 화질보정장치.The first reduced image size of claim 6, wherein the FC adder receives and outputs a first reduced image size value output from the first FC register when the image is reduced, and feeds back the first reduced image size value. And a second reduced image size value continuously generated and added to the value to output the image scaler. 제 6 항에 있어서, 상기 비교기는 이미지의 축소시 상기 FC가산기로부터 출력되는 제1축소이미지크기값과 제2축소이미지크기값을 순차적으로 수신받아 원이미지크기값과 비교하여 제1축소이미지크기값과 제2축소이미지크기값이 원이미지크기값에 도달되면 재설정신호를 발생하여 출력함을 특징으로 하는 이미지 스케일러의화질보정장치.7. The method of claim 6, wherein the comparator receives the first reduced image size value and the second reduced image size value sequentially output from the FC adder when the image is reduced, and compares the first reduced image size value with the original image size value. And generating a reset signal when the second reduced image size value reaches the original image size value and outputting the reset signal. 제 6 항에 있어서, 상기 어드레스 카운터부는 이미지의 확대/축소시 탭수를 증가시키기 위해 제3선택신호와 제4선택신호를 출력함을 특징으로 하는 이미지 스케일러의 화질보정장치.7. The apparatus of claim 6, wherein the address counter outputs a third selection signal and a fourth selection signal to increase the number of taps when the image is enlarged / reduced. 제 1 항 또는 제 10 항에 있어서,The method according to claim 1 or 10, 상기 멀티플레서부는 제1반복필터계수를 수신받아 상기 카운터부로부터 출력되는 제1선택신호를 수신받아 제1반복필터계수를 연속적으로 출력하는 제1FC멀티플렉서;The multiplexer may include: a first FC multiplexer configured to receive a first repeating filter coefficient and receive a first selection signal output from the counter unit to continuously output a first repeating filter coefficient; 제2반복필터계수를 수신받아 상기 카운터부로부터 출력되는 제2선택신호를 수신받아 제2반복필터계수를 연속적으로 출력하는 제2FC멀티플렉서;A second FC multiplexer receiving a second repeating filter coefficient and receiving a second selection signal output from the counter unit to continuously output a second repeating filter coefficient; 제3반복필터계수를 수신받아 상기 카운터부로부터 출력되는 제3선택신호를 수신받아 제3반복필터계수를 연속적으로 출력하는 제3FC멀티플렉서; 및A third FC multiplexer which receives a third repeating filter coefficient and receives a third selection signal output from the counter unit and continuously outputs a third repeating filter coefficient; And 제4반복필터계수를 수신받아 상기 카운터부로부터 출력되는 제4선택신호를 수신받아 제4반복필터계수값을 연속적으로 출력하는 제4FC멀티플렉서로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fourth FC multiplexer configured to receive a fourth repeated filter coefficient and receive a fourth selection signal output from the counter to continuously output a fourth repeated filter coefficient value. 제 11 항에 있어서, 상기 멀티플레서부의 제1FC멀티플렉서와 제2FC멀티플렉서와 제3FC멀티플렉서와 제4FC멀티플렉서에서 각각 수신받는 제1반복필터계수와제2반복필터계수와 제3반복필터계수와 제4반복필터계수는 확대/축소배율이 정수배인 경우 동일한 값을 가지며 정수배가 아닌 경우에는 동일하지 않은 값이 사용됨을 특징으로 하는 이미지 스케일러의 화질보정장치.The method of claim 11, wherein the first and second iterative filter coefficients, the second iterative filter coefficient and the third iterative filter coefficient received by the first FC multiplexer, the second FC multiplexer, the third FC multiplexer, and the fourth FC multiplexer respectively. An iterative filter coefficient has the same value when the magnification factor is an integer multiple, and an unequal value is used when it is not an integer multiple. 제 11 항에 있어서, 상기 멀티플레서부의 제3FC멀티플렉서와 제4FC멀티플렉서로부터 각각 출력되는 제3반복필터계수와 제4반복필터계수를 수신받아 제3이미데이터와 제4이미지데이터와 제5이미지데이터를 발생하기 위해 제3데이터발생부와 제4데이터발생부와 제5데이터발생부가 구비됨을 특징으로 하는 이미지 스케일러의 화질보정장치.12. The method of claim 11, wherein the third image filter, the fourth image filter and the fifth image data are received by receiving the third iteration filter coefficient and the fourth iterative filter coefficient respectively output from the third FC multiplexer and the fourth FC multiplexer. And a third data generator, a fourth data generator, and a fifth data generator to generate the image quality control unit. 제 1 항 또는 제 13 항에 있어서, 상기 제3데이터발생부는 상기 제2반복필터계수를 수신받아 출력하는 제1Rc레지스터;14. The apparatus of claim 1 or 13, wherein the third data generator comprises: a first Rc register for receiving and outputting the second iterative filter coefficient; 상기 제3반복필터계수를 수신받아 출력하는 제2Rc레지스터;A second Rc register configured to receive and output the third iterative filter coefficient; 상기 제2Rb레지스터로부터 출력되는 상기 제2필터계수값과 제4필터계수값을 순차적으로 수신받아 제3외부선택신호가 수신되면 수신된 제3외부선택신호에 따라 상기 제2필터계수값과 상기 제4필터계수값을 선택하여 출력하는 제3멀티플렉서;The second filter coefficient value and the fourth filter coefficient value output from the second Rb register are sequentially received, and when a third external selection signal is received, the second filter coefficient value and the second filter coefficient value according to the received third external selection signal. A third multiplexer for selecting and outputting four filter coefficient values; 상기 제1Rc레지스터로부터 출력되는 제2반복필터계수와 상기 제2Rc레지스터로부터 출력되는 제3반복필터계수를 수신받아 가산하여 제4필터계수값을 발생하여 출력하고 상기 제3멀티플렉서로부터 선택되어 출력되는 상기 제2필터계수값과 상기 제4필터계수값에 제4필터계수값을 가산시켜 제5필터계수값을 발생하여 출력하는제3가산기;Receiving and adding a second repeating filter coefficient output from the first Rc register and a third repeating filter coefficient output from the second Rc register to generate and output a fourth filter coefficient value, and outputting the fourth filter coefficient value selected from the third multiplexer A third adder for generating and outputting a fifth filter coefficient value by adding a fourth filter coefficient value to the second filter coefficient value and the fourth filter coefficient value; 상기 제3가산기로부터 출력되는 제4필터계수값과 제5필터계수값을 각각 수신받아 수신된 제4필터계수값을 상기 제3멀티플렉서로 전송하고 수신된 제5필터계수값을 수신받아 출력하는 제3Rc레지스터;Receiving a fourth filter coefficient value and a fifth filter coefficient value respectively output from the third adder, transmitting the received fourth filter coefficient value to the third multiplexer, and receiving and outputting the received fifth filter coefficient value; 3Rc register; 입력이미지데이터를 수신받아 출력하는 제4Rc레지스터;A fourth Rc register for receiving and outputting input image data; 상기 제3Rc레지스터로부터 출력되는 상기 제5필터계수값을 수신받고 상기 제4Rc레지스터로부터 출력되는 입력이미지데이터를 수신받아 승산하여 제3이미지데이터를 발생하여 출력하는 제3승산기; 및A third multiplier that receives the fifth filter coefficient value output from the third Rc register and receives and multiplies the input image data output from the fourth Rc register to generate and output third image data; And 상기 제3승산기로부터 출력되는 제3이미지데이터를 수신받아 출력하는 제5Rc레지스터로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fifth Rc register configured to receive and output third image data output from the third multiplier. 제 14 항에 있어서, 상기 제4Rc레지스터는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.15. The apparatus of claim 14, wherein the fourth Rc register is used to enlarge / reduce the image in a horizontal direction and to configure a line memory to enlarge / reduce the image in a vertical direction of the image. 제 13 항 또는 제 14 항에 있어서, 상기 제4데이터발생부는 상기 제3반복필터계수를 수신받아 출력하는 제1Rd레지스터;15. The apparatus of claim 13 or 14, wherein the fourth data generator comprises: a first Rd register configured to receive and output the third iterative filter coefficient; 상기 제4반복필터계수를 수신받아 출력하는 제2Rd레지스터;A second Rd register configured to receive and output the fourth iterative filter coefficient; 상기 제2Rc레지스터로부터 출력되는 상기 제4필터계수값과 제6필터계수값을 순차적으로 수신받아 제4외부선택신호가 수신되면 수신된 제4외부선택신호에 따라상기 제4필터계수값과 상기 제6필터계수값을 선택하여 출력하는 제4멀티플렉서;Receiving the fourth filter coefficient value and the sixth filter coefficient value sequentially output from the second Rc register, and receiving the fourth external selection signal according to the received fourth external selection signal, the fourth filter coefficient value and the fourth filter coefficient value. A fourth multiplexer for selecting and outputting six filter coefficient values; 상기 제1Rd레지스터로부터 출력되는 제3반복필터계수와 상기 제2Rd레지스터로부터 출력되는 제4반복필터계수를 수신받아 가산하여 제6필터계수값을 발생하여 출력하고 상기 제4멀티플렉서로부터 선택되어 출력되는 상기 제4필터계수값과 상기 제6필터계수값에 제6필터계수값을 가산시켜 제7필터계수값을 발생하여 출력하는 제4가산기;The third repeated filter coefficients output from the first Rd register and the fourth repeated filter coefficients output from the second Rd register are received and added to generate and output a sixth filter coefficient value, and are selected and output from the fourth multiplexer. A fourth adder for generating and outputting a seventh filter coefficient value by adding a sixth filter coefficient value to the fourth filter coefficient value and the sixth filter coefficient value; 상기 제4가산기로부터 출력되는 제6필터계수값과 제7필터계수값을 각각 수신받아 수신된 제6필터계수값을 상기 제4멀티플렉서로 전송하고 수신된 제7필터계수값을 수신받아 출력하는 제3Rd레지스터;Receiving the sixth filter coefficient value and the seventh filter coefficient value output from the fourth adder, respectively, transmitting the received sixth filter coefficient value to the fourth multiplexer, and receiving and outputting the received seventh filter coefficient value; 3Rd register; 입력이미지데이터를 수신받아 출력하는 제4Rd레지스터;A fourth Rd register for receiving and outputting input image data; 상기 제3Rd레지스터로부터 출력되는 상기 제7필터계수값을 수신받고 상기 제4Rd레지스터로부터 출력되는 입력이미지데이터를 수신받아 승산하여 제4이미지데이터를 발생하여 출력하는 제4승산기; 및A fourth multiplier configured to receive the seventh filter coefficient value output from the third Rd register, receive and multiply input image data output from the fourth Rd register, and generate and output fourth image data; And 상기 제4승산기로부터 출력되는 제4이미지데이터를 수신받아 출력하는 제5Rd레지스터로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fifth Rd register configured to receive and output fourth image data output from the fourth multiplier. 제 16 항에 있어서, 상기 제4Rd레지스터는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.17. The apparatus of claim 16, wherein the fourth Rd register is used to enlarge / reduce the image in a horizontal direction and to configure a line memory to enlarge / reduce the image in a vertical direction of the image. 제 13 항 또는 제 16 항에 있어서, 상기 제5데이터발생부는 상기 제4반복필터계수를 수신받아 출력하는 제1Re레지스터;17. The apparatus of claim 13 or 16, wherein the fifth data generator comprises: a first Re register receiving and outputting the fourth iterative filter coefficient; 상기 제2Rd레지스터로부터 출력되는 상기 제6필터계수값과 제4반복필터계수를 순차적으로 수신받아 제5외부선택신호가 수신되면 수신된 제5외부선택신호에 따라 상기 제6필터계수값과 상기 제4반복필터계수를 선택하여 출력하는 제5멀티플렉서;The sixth filter coefficient value output from the second Rd register and the fourth repetition filter coefficient are sequentially received, and when the fifth external selection signal is received, the sixth filter coefficient value and the fifth filter according to the received fifth external selection signal. A fifth multiplexer for selecting and outputting four repetitive filter coefficients; 상기 제1Re레지스터로부터 출력되는 제4반복필터계수를 수신받고 상기 제4멀티플렉서로부터 선택되어 출력되는 상기 제6필터계수값과 제4반복필터계수값에 각각 가산시켜 제8필터계수값을 발생하여 출력하는 제5가산기;Receive a fourth iterative filter coefficient output from the first Re register, add to the sixth filter coefficient value and the fourth iterative filter coefficient value selected and output from the fourth multiplexer, respectively, to generate an eighth filter coefficient value, and output the same. A fifth adder; 상기 제5가산기로부터 출력되는 제4반복필터계수와 제8필터계수값을 각각 수신받아 수신된 제4반복필터계수를 상기 제5멀티플렉서로 전송하고 수신된 제8필터계수값을 수신받아 출력하는 제2Re레지스터;Receiving the fourth iterative filter coefficient value and the eighth filter coefficient value respectively output from the fifth adder, transmitting the received fourth iterative filter coefficient to the fifth multiplexer, and receiving and outputting the received eighth filter coefficient value; 2Re register; 입력이미지데이터를 수신받아 출력하는 제3Re레지스터;A third Re register for receiving and outputting input image data; 상기 제2Rd레지스터로부터 출력되는 상기 제8필터계수값을 수신받고 상기 제3Re레지스터로부터 출력되는 입력이미지데이터를 수신받아 승산하여 제5이미지데이터를 발생하여 출력하는 제5승산기; 및A fifth multiplier configured to receive the eighth filter coefficient value output from the second Rd register, receive and multiply input image data output from the third Re register, and generate and output fifth image data; And 상기 제5승산기로부터 출력되는 제5이미지데이터를 수신받아 출력하는 제4Re레지스터로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.And a fourth Re register receiving and outputting fifth image data output from the fifth multiplier. 제 18 항에 있어서, 상기 제3Re레지스터는 이미지의 수평방향으로 확대/축소시 사용되며 이미지의 수직방향으로 확대/축소시에는 라인메모리로 구성됨을 특징으로 하는 이미지 스케일러의 화질보정장치.19. The apparatus of claim 18, wherein the third register is used to enlarge / reduce the image in the horizontal direction and to configure the line memory to enlarge / reduce the image in the vertical direction. 이미지 스케일러를 이용하여 이미지를 확대하거나 축소시 화질을 보정하는 방법에 있어서,In the method of using the image scaler to correct the image quality when the image is enlarged or reduced, 이미지를 M/N 배율로 확대 또는 축소를 선택하는 단계;Selecting an enlargement or reduction of an image by M / N magnification; 상기 이미지를 확대 또는 축소를 선택하는 단계에서 이미지의 확대 또는 축소가 선택되면 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값을 각각 "0"으로 초기화시키는 단계;Initializing the total pixel sum, the total pixel count value, the repetition pixel count, and the step increment value to “0” when the enlargement or reduction of the image is selected in the step of enlarging or reducing the image; 상기 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값을 각각 "0"으로 초기화시키는 단계에서 총픽셀합과 총픽셀 카운트값과 반복픽셀계수와 스텝증가값이 "0"으로 초기화되면 이미지확대가 선택되었는지를 확인하는 단계;When the total pixel sum, the total pixel count value, the repeat pixel count value, the repeat pixel count, and the step increment value are initialized to "0", respectively, in the step of initializing the total pixel sum, the total pixel count value, the repeat pixel count, and the step increment value, respectively. Confirming whether image magnification is selected; 상기 이미지 확대가 선택되었는지를 확인하는 단계에서 이미지의 확대가 선택된 것으로 확인되면 총픽셀합에 N값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계;If it is determined that the enlargement of the image is selected in the step of confirming whether the enlargement of the image is selected, adding N to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step; 상기 총픽셀합에 N값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계에서 총픽셀합에 N값을 더하고 아울러 총픽셀 카운트값과 반복픽셀계수가 한 스텝씩 증가되면 총픽셀합이 M값보다 크거나 같은지를 확인하는 단계;In the step of adding the N value to the total pixel sum and increasing the total pixel count value and the repeating pixel coefficient by one step, when the total pixel count value and the repeating pixel coefficient are increased by one step Checking whether the total pixel sum is greater than or equal to the M value; 상기 총픽셀합이 M값보다 크거나 같은지를 확인하는 단계에서 총픽셀합이 M값보다 크거나 같으면 총픽셀 카운트값이 N값 보다 크거나 같은지를 확인하는 단계; 및Checking whether the total pixel count value is greater than or equal to the N value if the total pixel sum is greater than or equal to the M value in the checking whether the total pixel sum is greater than or equal to the M value; And 상기 총픽셀 카운트값이 N값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 N값 보다 크거나 같으면 반복픽셀계수를 이용하여 이미지를 보정하는 단계로 구성됨을 특징으로 하는 화질보정방법.And if the total pixel count value is greater than or equal to an N value, correcting an image using a repeating pixel coefficient if the total pixel count value is greater than or equal to an N value. 제 1 항에 있어서, 상기 총픽셀 카운트값이 N값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 N값 보다 크거나 같지 않으면 총픽셀합에서 M값을 감하고 반복필터계수를 "0"으로 초기화하며 스텝증가값을 한 스텝증가시키는 단계가 구비됨을 특징으로 하는 화질보정방법.The method of claim 1, wherein in the determining whether the total pixel count value is greater than or equal to the N value, the M value is subtracted from the total pixel sum and the repetition filter coefficient is “0” if the total pixel count value is not greater than or equal to the N value. And increasing the step increment value by one step. 제 1 항에 있어서, 상기 이미지 확대가 선택되었는지를 확인하는 단계에서 이미지의 확대가 선택되지 않으면 이미지의 축소가 선택된 것으로 인식하여 총픽셀합에 M값을 더함과 아울러 총픽셀 카운트값과 반복픽셀계수를 한 스텝씩 증가시키는 단계;The method of claim 1, wherein in the step of confirming whether the image enlargement is selected, if the image enlargement is not selected, the image reduction is selected and the M value is added to the total pixel sum, and the total pixel count value and the repetition pixel count are added. Increasing step by step; 상기 총픽셀합에 M값을 더함과 아울러 총픽셀 카운트값과 반복필터계수를 한 스텝씩 증가시키는 단계에서 총픽셀합에 M값을 더하고 아울러 총픽셀 카운트값과 반복픽셀계수가 한 스텝씩 증가되면 총픽셀합이 N값보다 크거나 같은지를 확인하는 단계;In the step of adding the M value to the total pixel sum and increasing the total pixel count value and the repetition filter coefficient by one step, if the M value is added to the total pixel sum and the total pixel count value and the repeating pixel coefficient are increased by one step, Checking whether the total pixel sum is greater than or equal to an N value; 상기 총픽셀합이 N값보다 크거나 같은지를 확인하는 단계에서 총픽셀합이 N값보다 크거나 같으면 총픽셀 카운트값이 M값 보다 크거나 같은지를 확인하는 단계; 및Checking whether the total pixel count value is greater than or equal to the M value if the total pixel sum is greater than or equal to the N value in the checking whether the total pixel sum is greater than or equal to the N value; And 상기 총픽셀 카운트값이 M값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 M값 보다 크거나 같으면 반복픽셀계수를 이용하여 이미지를 보정하는 단계가 구비됨을 특징으로 하는 화질보정방법.And if the total pixel count value is greater than or equal to the M value, correcting an image using a repeating pixel coefficient if the total pixel count value is greater than or equal to the M value. 제 22 항에 있어서, 상기 총픽셀 카운트값이 M값 보다 크거나 같은지를 확인하는 단계에서 총픽셀 카운트값이 M값 보다 크거나 같지 않으면 총픽셀합에서 N값을 감하고 반복픽셀계수를 "0"으로 초기화하며 스텝증가값을 한 스텝증가시키는 단계가 구비됨을 특징으로 하는 화질보정방법.23. The method of claim 22, wherein in the step of checking whether the total pixel count value is greater than or equal to the M value, if the total pixel count value is not greater than or equal to the M value, the N value is subtracted from the total pixel sum and the repeating pixel coefficient is "0." And increasing the step increment value by one step.
KR1020000039778A 2000-07-12 2000-07-12 Apparatus and method for correcting image quality of image scaler KR100361579B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000039778A KR100361579B1 (en) 2000-07-12 2000-07-12 Apparatus and method for correcting image quality of image scaler

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000039778A KR100361579B1 (en) 2000-07-12 2000-07-12 Apparatus and method for correcting image quality of image scaler

Publications (2)

Publication Number Publication Date
KR20020006236A true KR20020006236A (en) 2002-01-19
KR100361579B1 KR100361579B1 (en) 2002-11-18

Family

ID=19677525

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000039778A KR100361579B1 (en) 2000-07-12 2000-07-12 Apparatus and method for correcting image quality of image scaler

Country Status (1)

Country Link
KR (1) KR100361579B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007113767A1 (en) * 2006-04-04 2007-10-11 Koninklijke Philips Electronics N.V. Video processor comprising a pixel filter

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128539A (en) * 1994-08-30 2000-10-03 Texas Instruments Incorporated Method and apparatus for forming image scaling filters
US6061094A (en) * 1997-11-12 2000-05-09 U.S. Philips Corporation Method and apparatus for scaling and reducing flicker with dynamic coefficient weighting
JP2000092385A (en) * 1998-09-07 2000-03-31 Canon Inc Image interpolation device, its method and storage medium
JP3545619B2 (en) * 1998-11-04 2004-07-21 株式会社東芝 Image arbitrary magnification processing apparatus and method
JP3887975B2 (en) * 1998-11-10 2007-02-28 株式会社富士通ゼネラル Image magnification filter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007113767A1 (en) * 2006-04-04 2007-10-11 Koninklijke Philips Electronics N.V. Video processor comprising a pixel filter

Also Published As

Publication number Publication date
KR100361579B1 (en) 2002-11-18

Similar Documents

Publication Publication Date Title
EP0800687B1 (en) Digital image warping system
US5838296A (en) Apparatus for changing the magnification of video graphics prior to display therefor on a TV screen
EP0220880B1 (en) Signal interpolator
KR970009851B1 (en) Lcd control device
US6188803B1 (en) Image processing device
JPH07143455A (en) Video picture decoder and its signal processing method
US6067124A (en) Image processing apparatus and processing method
JP4445122B2 (en) System and method for 2-tap / 3-tap flicker filtering
KR20030008840A (en) Image processing apparatus for realizing panorama/waterglass function and method thereof
JPH1175220A (en) Video signal converter
JP2000184337A (en) Video signal processing unit
KR100361579B1 (en) Apparatus and method for correcting image quality of image scaler
EP1018259B1 (en) Flicker filtering and overscan compensation
JP2002132247A (en) Image display device and image display method
EP0700016A1 (en) Improvements in and relating to filters
US20080055201A1 (en) Panel interface device, LSI for image processing, digital camera and digital equipment
EP0851388B1 (en) Picture processing apparatus and method
CN1195352C (en) Sample data digital filter system
KR20020004169A (en) Zoom buffer control circuit having function of up/down scaling
JP2005012740A (en) Image processor and image processing method
JP3545619B2 (en) Image arbitrary magnification processing apparatus and method
JP2001160140A (en) Digital filter, image processor and image processing method
JPH1146352A (en) Image display device
JPH11155099A (en) Electronic zoom processor
JPH10240208A (en) Device and method for processing image

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111020

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20121026

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee