KR100293369B1 - Digital video compression coding and decoding system using shape adaptive selection and thereof method - Google Patents

Digital video compression coding and decoding system using shape adaptive selection and thereof method Download PDF

Info

Publication number
KR100293369B1
KR100293369B1 KR1019990011238A KR19990011238A KR100293369B1 KR 100293369 B1 KR100293369 B1 KR 100293369B1 KR 1019990011238 A KR1019990011238 A KR 1019990011238A KR 19990011238 A KR19990011238 A KR 19990011238A KR 100293369 B1 KR100293369 B1 KR 100293369B1
Authority
KR
South Korea
Prior art keywords
pixels
block
mode control
control signal
shape information
Prior art date
Application number
KR1019990011238A
Other languages
Korean (ko)
Other versions
KR20000061858A (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 KR1019990011238A priority Critical patent/KR100293369B1/en
Publication of KR20000061858A publication Critical patent/KR20000061858A/en
Application granted granted Critical
Publication of KR100293369B1 publication Critical patent/KR100293369B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/142Detection of scene cut or scene change
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/182Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel

Abstract

본 발명은 영상압축 기법을 이용하는 통신장치 및 멀티미디어 장치 등에 사용되는 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법에 관한 것으로서, 본 발명에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법에 의하면 부호화하려는 영상신호블록에 대한 모양정보를 이용하여 그 영상신호블록에서 많은 화소를 포함하는 방향으로 먼저 변환을 수행한 후 나머지 방향으로 변환을 수행하도록 하여 부호화 효율을 높일 수 있고, 부호화된 신호를 입력받아 복호화시키는 과정에서 복원된 모양정보를 이용하여 상기 변환과 역순서로 역변환을 수행하므로써 복호화 효율을 높일 수 있다는 뛰어난 효과가 있다.The present invention relates to a digital image compression encoding and decoding apparatus using a shape adaptive selection used in a communication apparatus and a multimedia apparatus using a video compression technique, and a method thereof, and to a digital image compression encoding using a shape adaptive selection according to the present invention. And a decoding apparatus and a method thereof, by using a shape information of an image signal block to be encoded, first converting the image signal block to a direction including a large number of pixels, and then performing a transformation to the other direction to increase encoding efficiency. In the process of receiving an encoded signal and decoding the encoded signal, an inverse transform may be performed in the reverse order of the transform using shape information reconstructed to increase decoding efficiency.

Description

모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법{DIGITAL VIDEO COMPRESSION CODING AND DECODING SYSTEM USING SHAPE ADAPTIVE SELECTION AND THEREOF METHOD}Digital video compression encoding and decoding apparatus using shape adaptive selection and its method {DIGITAL VIDEO COMPRESSION CODING AND DECODING SYSTEM USING SHAPE ADAPTIVE SELECTION AND THEREOF METHOD}

본 발명은 영상압축 기법을 이용하는 통신장치 및 멀티미디어 장치등에 사용되는 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법에 관한 것이다.The present invention relates to a digital image compression encoding and decoding apparatus and method using shape adaptive selection used in a communication apparatus and a multimedia apparatus using an image compression technique.

일반적으로, 디지털영상을 압축 부호화 하는 방법에 있어서, 영상신호블록을 직교변환(ORTHOGONAL TRANSFORM; 이하, 직교변환이라 명명함.)방법을 사용하여 변환계수(TRANSFORM COEFFICIENT; 이하, 변환계수라 명명함.)로 변환한 후 그 변환계수를 부호화 하는 방식은 현재 가장 많이 사용되는 방식으로서 정지영상 압축 부호화 표준화 방식인 ISO/IEC JPEG, 동영상 압축 부호와 표준화 방식인 ISO/IEC MPEG, ITU-T의 H.261, H.263 등 의 모든 디지털 압축부호화에 대한 국제 표준에서도 널리 사용되고 있는 실정이다.In general, in a method of compressing and encoding a digital image, a transform coefficient (TRANSFORM COEFFICIENT; hereinafter referred to as a transform coefficient) using an orthogonal transform (ORTHOGONAL TRANSFORM) method is used. ) And then the conversion coefficient is encoded. The most widely used method is ISO / IEC JPEG, which is a standardized still image compression coding standard, and ISO / IEC MPEG, ITU-T, which is a standardized video compression code. It is also widely used in international standards for all digital compression encoding such as 261 and H.263.

또한, 최근에는 부호화하고자하는 영상신호블록을 모양정보를 이용하여 물체와 비 물체 또는 부호화대상인 부분과 부호화대상이 아닌 부분으로 나누어 이들을 각각 부호화 하는 방식인 물체단위 부호화(OBJECT-BASED CODING)방식이 사용되는 추세이다.Recently, an object-based coding method, which is a method of encoding an image signal block to be encoded by using shape information into an object and a non-object or a part to be encoded and a part not to be encoded, is encoded. It is a trend.

종래의 내용기반 부호화방식들 중 변환기반 압축기법은 입력되는 영상신호블록을 모양정보(SHAPE INFORMATION; 이하, 모양정보라 명명함.)에 의해 제어되는 변환방법에 의해 변환하고 변환계수를 양자화(QUANTIZATION)한 후 양자화된 변환계수를 가변길이 부호화(VARIABLE LENGTH CODING)하여 전송하는 한편, 이의 역과정을 통하여 신호를 복원하는 방법을 사용하였다.Among conventional content-based coding schemes, the converter class compressor method converts an input image signal block by a transform method controlled by SHAPE INFORMATION (hereinafter, referred to as shape information) and quantizes the transform coefficient. After quantization, the quantized transform coefficient is transmitted by VARIABLE LENGTH CODING, and the reverse process is used to recover the signal.

이때 모양정보를 이용하여 영상신호블록의 압축부호화시 부호화하려는 화면을 배경과 물체로 분리할 수 있으며, 분리된 배경화면과 물체화면 각각을 독립적으로 부호화할 수 있다.In this case, the shape information may be separated into a background and an object to be encoded in compression encoding of the image signal block, and the separated background and object screens may be independently encoded.

이에 대한 종래의 영상압축 부호화 및 복호화 시스템은 도 1에 도시한 바와같이, 입력영상신호블록을 압축기술을 이용하여 부호화 시키는 부호화 장치와, 그 부호화된 신호를 입력받아 부호화의 역과정을 통하여 신호를 복원하는 복호화 장치로 이루어져 있다.In the conventional video compression encoding and decoding system, as shown in FIG. 1, an encoding apparatus for encoding an input image signal block by using a compression technique, and receiving the encoded signal, receives a signal through an inverse process of encoding. It consists of a decoding device to recover.

상기 부호화 장치는 입력 영상신호블록과 복원된 영상신호블록을 감산하여 예측오차신호블록을 출력하는 감산기(1)와, 부호화에 도움을 주는 부가정보신호(예: 모양정보)와 가변길이 부호화된 모양정보신호를 출력하는 부가정보 부호기(9), 상기 감산기(1)에서 예측오차신호블록을 입력받는 동시에 상기 부가정보 부호기(9)에서 모양정보를 입력받아 특정 변환방법에 의해 변환된 변환계수를 출력하는 직교변환기(2)와, 상기 직교변환기(2)에서 변환계수를 입력받아 양자화된 변환계수블록으로 변환하는 양자화기(3)와, 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 가변길이 부호화된 변환계수 신호로 변환하는 가변길이 부호기(8)와, 상기 가변길이 부호기(8)에서 가변길이 부호화된 신호와 상기 부가정보 부호기(9)에서 모양정보를 입력받아 그 두 신호를 멀티플레싱하여 전송매체(12)로 전송하는 다중화기(11)로 구성된다.The encoding apparatus includes a subtractor 1 for outputting a prediction error signal block by subtracting an input image signal block and a reconstructed image signal block, an additional information signal (eg, shape information) and a variable length coded shape to assist in encoding. A sub information encoder 9 for outputting an information signal and a predictive error signal block are received by the subtractor 1, and shape information is received by the sub information encoder 9 and a transform coefficient converted by a specific conversion method is output. An orthogonal transformer 2, a quantizer 3 for receiving a transform coefficient from the orthogonal transformer 2, and converting the transform coefficient into a quantized transform coefficient block, and a quantized transform coefficient block from the quantizer 3 The variable length coder 8 converts the variable length coded transform coefficient signal, the variable length coded signal from the variable length coder 8 and the shape information from the side information encoder 9. The multiplexer 11 multiplexes the two signals and transmits the two signals to the transmission medium 12.

한편, 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 역양자화 시키는 제 1 역양자화기(4)와, 상기 제 1 역양자화기(4)에서 역양자화된 변환계수블록을 입력받는 동시에 상기 부가정보부호기(9)에서 모양정보를 입력받아 역직교변환된 신호블록으로 변환하는 역직교변환기(5)와, 상기 역직교변환기(5)에서 역직교변환된 신호블록과 후술되는 제 1메모리(7)에 저장되어 있던 복원된 영상신호블록을 가산하여 영상신호블록을 복원하는 가산기(6a)와, 상기 가산기(6a)에서 가산된 신호를 입력받아 저장하여 상기 감산기(1)로 그 복원된 영상신호블록을 출력하는 제 1메모리(7)가 추가로 구성되어 있다.On the other hand, the first inverse quantizer (4) for receiving and inverse quantization of the transform coefficient block quantized by the quantizer (3), and the inverse quantized transform coefficient block in the first inverse quantizer (4) An inverse orthogonal transformer 5 that receives shape information from the additional information encoder 9 and converts the shape information into a signal block that is inversely orthogonally transformed; a signal block that is inversely orthogonally transformed in the inverse orthogonal transformer 5; An adder 6a which adds the reconstructed video signal blocks stored in (7) to reconstruct the video signal blocks, and receives and stores the signals added by the adder 6a to the subtractor 1; A first memory 7 for outputting a video signal block is further configured.

또한, 상기 복호화장치는 상기 다중화기(11)에서 전송매체(12)를 통해 가변길이 부호화된 신호를 입력받아 가변길이 부호화된 모양정보 신호와 가변길이 부호화된 변환계수신호를 출력하는 디먹스부(13)와, 상기 디먹스부(13)에서 가변길이 부호화된 변환계수 신호를 입력받아 양자화된 변환계수 블록으로 변환하는 복호기(15)와, 상기 복호기(15)에서 양자화된 변환계수 블록를 입력받아 역양자화된 변환계수블록으로 변환하는 제 2역양자화기(16)와, 상기 디먹스부(13)에서 가변길이 부호화된 모양정보를 복원시키는 부가정보복호기(14)와, 상기 제 2역양자화기(16)에서 역양자화된 변환계수블록을 입력받는 동시에 부가정보 복호기(14)에서 모양정보를 입력받아 역직교변환된 신호블록을 출력하는 역직교변환기(17)와, 상기 역직교변환기(17)에서 역직교변환된 신호블록을 입력받는 동시에 후술되는 제 2메모리(18)에 저장된 이전의 복원영상신호블록을 입력받아 그 두신호를 가산하여 복원된 영상신호블록을 출력하는 가산기(6b)와, 상기 가산기(6b)에서 출력되는 복원영상신호블록을 저장하고 필요시 상기 가산기(6b)로 출력하는 제 2메모리(18)로 구성되어 있다.The decoding apparatus may further include: a demux unit for receiving a variable length coded signal from the multiplexer 11 through a transmission medium 12 and outputting a variable length coded shape information signal and a variable length coded transform coefficient signal; 13), a decoder 15 for receiving a variable length coded transform coefficient signal from the demux 13 and converting the transform coefficient signal into a quantized transform coefficient block, and a quantized transform coefficient block received from the decoder 15 A second inverse quantizer 16 for converting into a quantized transform coefficient block, an additional information decoder 14 for restoring shape information encoded with variable length in the demux unit 13, and the second inverse quantizer ( 16, an inverse orthogonal transformer 17 for receiving the dequantized transform coefficient block and simultaneously receiving shape information from the side information decoder 14 and outputting an inverse orthogonal transformed signal block, and in the inverse orthogonal transformer 17 Inverse orthogonal An adder 6b for receiving a previously restored video signal block stored in a second memory 18 to be described later and adding the two signals to output a restored video signal block, and the adder 6b. And a second memory 18 for storing the reconstructed video signal block outputted from the < RTI ID = 0.0 >

상기 모양정보는 영상을 물체영역과 비물체영역(배경)으로 구분하는 정보로서 부호기 및 복호기에서 전체 영상대신 물체영역을 중심으로 하는 신호처리를 가능하게 하며, 일반적인 이진 모양정보는 물체에 속하는 화소와 물체가 아닌 화소 (배경)에 서로 다른 값을 가지도록 하는 이진 마스크의 형태를 가진다.The shape information is information that divides an image into an object region and a non-object region (background). The shape information enables signal processing centering on an object region instead of the entire image in an encoder and a decoder. It takes the form of a binary mask that allows different values for pixels (backgrounds) rather than objects.

상기 구성을 가지는 종래의 영상압축부호화 및 복호화 장치의 동작을 설명하기로 한다.The operation of the conventional video compression encoding and decoding apparatus having the above configuration will be described.

먼저, 감산기(1)에서 영상신호블록과 복원된 영상신호블록을 감산한 예측오차신호블록을 출력하면, 직교변환기(2)는 상기 예측오차신호블록을 입력받는 동시에 상기 부가정보부호기(9)에서 모양정보를 입력받아 직교변환방법에 의해 변환된 변환계수를 출력한다.First, when the subtractor 1 outputs the prediction error signal block obtained by subtracting the video signal block and the reconstructed video signal block, the quadrature converter 2 receives the prediction error signal block and at the same time the additional information encoder 9 receives the prediction error signal block. It receives shape information and outputs the transform coefficient converted by the orthogonal transform method.

이때 감산기(1)는 제 1메모리(7)로 부터 예측된 신호와 현재 입력신호와의 예측 오차 뿐아니라 제 1메모리(7)의 신호로 부터의 예측 없이 현재 입력신호를 그대로 출력할 수 있는데 이경우 이를 위해서 제 1메모리(7)에 저장되있는 값을 0으로 초기화하여 감산기(1)로부터의 신호와 입력영상 신호를 동일하게 만들 수 있다.In this case, the subtractor 1 may output the current input signal as it is without prediction from the signal of the first memory 7 as well as the prediction error between the signal predicted from the first memory 7 and the current input signal. To this end, the value stored in the first memory 7 may be initialized to 0 to make the signal from the subtractor 1 equal to the input image signal.

이때, 양자화기(3)는 상기 직교변환기(2)에서 변환계수를 입력받아 양자화된 변환계수블록으로 변환하고, 가변길이 부호기(8)에서는 상기 양자화된 변환계수블록을 입력받아 가변길이 부호화된 변환계수 신호로 변환하고, 그 가변길이 부호화된 신호를 다중화기(11)에 출력한다.In this case, the quantizer 3 receives the transform coefficient from the quadrature converter 2 and transforms the transform coefficient into a quantized transform coefficient block. The variable length encoder 8 receives the quantized transform coefficient block and converts the variable length coded transform into a quantized transform coefficient block. The signal is converted into a coefficient signal, and the variable length coded signal is output to the multiplexer 11.

상기 다중화기(11)는 상기 가변길이 부호화된 변환계수 신호와 상기 부가정보 부호기(9)에서 가변길이 부호화된 모양정보를 입력받아 그 두 신호를 멀티플레싱하여 전송매체(12)를 통해 출력한다.The multiplexer 11 receives the variable length coded transform coefficient signal and the variable length coded shape information from the side information encoder 9 and multiplexes the two signals to output them through the transmission medium 12.

이어서, 상기 디먹스부(13)에서는 상기 전송매체(12)로부터 부호화된 신호를 입력받아 가변길이 부호화된 모양정보와 가변길이 부호화된 변환계수 블록을 출력한다.Subsequently, the demux 13 receives the encoded signal from the transmission medium 12 and outputs variable length coded shape information and a variable length coded transform coefficient block.

복호기(15)는 상기 디먹스부(13)에서 가변길이 부호화된 신호를 입력받아 양자화된 변환계수 블록으로 변환하고, 제 2 역양자화기(16)는 상기 양자화된 변환계수 블록를 입력받아 역양자화된 변환계수블록을 출력한다.The decoder 15 receives the variable length coded signal from the demux 13 and converts the quantized transform coefficient block into a quantized transform coefficient block, and the second inverse quantizer 16 receives the quantized transform coefficient block and dequantizes it. Output the transform coefficient block.

역직교변환기(17)는 제 2 역양자화기(16)에서 역양자화된 변환계수블록을 입력받는 동시에 상기 부가정보 복호기(14)에서 모양정보를 입력받아 역직교변환된 신호블록을 출력하고, 가산기(6b)는 역직교변환된 신호블록을 입력받는 동시에 제 2 메모리(18)에서 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 복원된 영상신호 블록을 출력한다.The inverse orthogonal transformer 17 receives the inverse quantized transform coefficient block from the second inverse quantizer 16 and receives shape information from the additional information decoder 14, and outputs an inverse orthogonal transformed signal block. 6b receives an inversely orthogonally transformed signal block and simultaneously receives a previously restored video signal block from the second memory 18, adds the two signals, and outputs the restored video signal block.

한편, 상기 양자화기(3)에서 양자화된 변환계수블록은 제 1역양자화기(4)로 입력되어 역양자화된 변환계수블록으로 변환되고, 그 신호는 역직교변환기(5)에 입력된다.On the other hand, the transform coefficient block quantized by the quantizer 3 is input to the first inverse quantizer 4 and converted into a dequantized transform coefficient block, and the signal is input to the inverse orthogonal transformer 5.

이와 동시에 상기 부가정보 부호기(9)에서 모양정보가 상기 역직교변환기(5)에 입력되고, 이에 따라 역직교변환기(5)는 역직교변환된 신호블록을 출력하고, 가산기(6a)는 상기 역직교변환된 신호블록과 상기 제 1 메모리(7)에서 이전에 복원된 영상신호블록을 가산하여 복원된 영상신호블록으로 변환하고, 그 영상신호블록은 제 1메모리(7)에 저장되어 상기 감산기(1)에 입력된다.At the same time, the shape information is input from the side information encoder 9 to the inverse orthogonal transformer 5, whereby the inverse orthogonal transformer 5 outputs the inverse orthogonal transformed signal block, and the adder 6a is the inverse. The orthogonal transformed signal block and the image signal block previously reconstructed in the first memory 7 are added to be converted into a reconstructed image signal block, and the image signal block is stored in the first memory 7 to reduce the subtractor ( Is entered in 1).

그리고, 부가정보복호기(14)는 복원된 모양정보를 출력하며, 제 2 메모리(18)에는 예측을 위해 복원된 입력영상신호블록이 저장된다.The additional information decoder 14 outputs the reconstructed shape information, and the second image 18 stores the reconstructed input image signal block for prediction.

한편, 상기 직교변환기(2)에서 사용되는 변환방법에 대해 도 2a 내지 도 2e를 참조하여 설명하면, 빗금친 부분이 부호화 대상이 있는 부분으로 이 부분만을 변환하여 부호화 한다. 먼저, 영상신호블록이 입력되면(도 2a), 입력된 신호를 단위블록의 상단에 대해 정렬하고(도 2b), 세로방향으로 DCT변환한다(도 2c).On the other hand, the conversion method used in the quadrature converter 2 will be described with reference to Figs. 2A to 2E. Only the hatched portion is converted to the portion to be encoded and encoded. First, when the video signal block is input (FIG. 2A), the input signal is aligned with respect to the upper end of the unit block (FIG. 2B), and DCT transformed in the vertical direction (FIG. 2C).

이어서, 좌측에 대해 정렬이 완료되면 가로방향으로 DCT변환하여(도 2d), 최종변환신호를 얻는다(도 2e).Subsequently, when alignment is completed with respect to the left side, DCT conversion is performed in the horizontal direction (Fig. 2D) to obtain a final converted signal (Fig. 2E).

도 3a 내지 도 3c는 도 1의 직교변환기(2)에서 직교변환하는 방향에 따라 변환계수가 상이하다는 것을 설명하기 위한 도면으로서, 도 3a는 직교변환기(2)에 입력되는 신호블록이고, 여기서 숫자가 없는 부분은 부호화 대상이 없는 부분, 즉 배경영역으로 부호화를 수행하지 않는 부분을 나타내며, 숫자가 있는 부분이 변환되어 부호화 되는 부분이다.3A to 3C are diagrams for explaining that the transform coefficients are different according to the direction orthogonal transformed by the orthogonal transformer 2 of FIG. 1, and FIG. 3A is a signal block input to the orthogonal transformer 2, wherein the number The part without indicates the part without encoding, i.e., the part which does not perform encoding into the background area, and the part with the number is converted and encoded.

그리고, 도 3b는 세로방향으로 먼저 직교변환한 후 가로방향으로 직교변환 했을 때의 변환계수이며, 도 3c는 가로방향으로 먼저 직교변환한 후 세로방향으로 직교변환 했을 때의 변환계수이다.3B is a conversion coefficient when the first orthogonal transformation is performed in the longitudinal direction and then the orthogonal transformation is performed in the horizontal direction, and FIG.

여기서 도 3b와 도 3c를 비교해보면 직교변환 방향순서에 따라 다른 결과 즉 다른 변환계수가 생성되는 것을 확인 할 수 있다.Here, comparing FIG. 3B and FIG. 3C, it can be seen that different results, that is, different conversion coefficients are generated according to the orthogonal transformation direction order.

상기 세도면을 자세히 살펴보면, 도 3a와 같이 가로방향으로 유사도가 높은 입력신호블록에 대해서는 가로방향으로 먼저 직교변환 한 후 세로방향으로 직교변환한 도 3c의 결과가 세로방향으로 먼저 직교변환한 후 가로 방향으로 직교변환한 도 3b의 결과 보다 높은 에너지 집중효과를 보이며, 더적은 수의 변환계수들 만을 부호화 하므로 더 높은 압축성능을 보이게 된다.Looking at the details, the input signal block having a high similarity in the horizontal direction as shown in FIG. 3A is orthogonally transformed in the horizontal direction first and then orthogonally transformed in the vertical direction. As a result of FIG. 3B orthogonal transformation, the energy concentration is higher than that of FIG. 3B. Since only a small number of transformation coefficients are encoded, a higher compression performance is obtained.

즉, 도 3b와 같이 세로방향으로 먼저 직교변환한 후 가로방향으로 직교변환 했을 경우 12가지의 다른 값의 변화계수를 부호화 해야 하나 가로 방향으로 직교변환한후 세로방향으로 직교변환 했을 경우 5가지의 다른 값의 변한 계수만을 부호화 하면 되므로 부호화 효율을 높일 수 있다.That is, when orthogonal transformation is performed first in the vertical direction and then transversely orthogonally transformed as shown in FIG. 3B, 12 different values of coefficients of change must be encoded. Encoding efficiency can be increased because only coefficients having different values are encoded.

종래에는 도 3a 내지 도 3c에 도시한 바와같이 직교변환되는 입력신호의 유사성을 고려하지 않고, 일방적으로 가로직교변환후 세로직교변환하는 방법을 사용하거나 세로직교변환후 가로직교변환하는 방법을 사용하므로 입력신호의 특성에 대해 최적의 변환결과를 얻을 수 없다는 문제점이 있었다.Conventionally, as shown in FIGS. 3A to 3C, without considering the similarity of an input signal that is orthogonally transformed, a method of unilaterally transforming after transverse orthogonal transformation or using a method of transverse orthogonal transformation after vertical orthogonal transformation is used. There was a problem in that an optimum conversion result could not be obtained for the characteristics of the input signal.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위해 이루어진 것으로서, 본 발명의 목적은 압축부호화 효율을 높이기 위한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법을 제공하는데 있다.Accordingly, the present invention has been made to solve the above problems, and an object of the present invention is to provide an apparatus and method for digital video compression encoding and decoding using shape adaptive selection to increase compression encoding efficiency.

상기의 목적을 달성하기 위해 본 발명의 제 1실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화장치는 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 장치에 있어서, 부호화하려는 영상신호블록의 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 보다 많은 화소수를 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어기와, 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 직교변환을 수행하는 직교변환수단으로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression encoding apparatus using shape adaptive selection according to the first embodiment of the present invention is an apparatus for compression encoding by receiving an image signal block by performing orthogonal transformation using shape information. A mode controller for receiving a shape information of an image signal block to be analyzed and outputting a mode control signal for first performing orthogonal transformation in a direction having a larger number of pixels by analyzing the number of pixels in the horizontal and vertical directions, and in the mode controller An orthogonal transformation means for receiving a mode control signal and performing orthogonal transformation in response thereto.

상기의 목적을 달성하기 위해 본 발명의 제 1실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화방법은 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 방법에 있어서, 부호화하려는 영상신호블록의 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 최대 가로방향 화소수 및 최대 세로방향 화소수 중 큰 값을 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와, 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 직교변환을 수행하는 직교변환단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression encoding method using shape adaptive selection according to the first embodiment of the present invention is a method of compression encoding by receiving an image signal block and performing orthogonal transformation using shape information. The mode control signal is inputted by analyzing the number of pixels in the horizontal and vertical directions by receiving the shape information of the image signal block to be subjected to the orthogonal transformation in the direction having the larger value among the maximum horizontal pixels and the maximum vertical pixels. And an orthogonal transformation step of performing orthogonal transformation by the mode control signal outputting step and the mode control signal output in the mode control signal generating step.

상기의 목적을 달성하기 위해 본 발명의 제 1실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 복호화장치는 직교변환되어 압축부호화된 정보를 복호화하는 장치에 있어서, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 판단하여 보다 적은 화소수를 갖는 방향으로 먼저 역직교변환시키도록 하는 모드제어신호를 출력하는 모드제어기와, 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 역직교변환을 수행하는 역직교변환수단으로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression decoding apparatus using shape adaptive selection according to the first embodiment of the present invention is an apparatus for decoding orthogonally transformed compressed coded information, and reconstructing a video block to be currently decoded. And a mode controller for determining a number of pixels in the horizontal and vertical directions and outputting a mode control signal to first inversely orthogonally convert in a direction having a smaller number of pixels. Inverted orthogonal transformation means for receiving an input and performing an inverse orthogonal transformation accordingly.

상기의 목적을 달성하기 위해 본 발명의 제 1실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 복호화방법은 직교변환되어 압축부호화된 정보를 복호화하는 방법에 있어서, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 최대 가로방향 화소수 및 최대 세로방향 화소수 중 작은 값을 갖는 방향으로 먼저 역직교변환시키도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와, 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 역직교변환을 수행하는 역직교변환단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression decoding method using shape adaptive selection according to the first embodiment of the present invention is a method of decoding orthogonally transformed compressed coded information, and reconstructing a video block to be currently decoded. Mode control outputting a mode control signal to first receive inverse orthogonal transformation in the direction having the smaller value among the maximum horizontal pixels and the maximum vertical pixels by analyzing the number of pixels in the horizontal and vertical directions And an inverse orthogonal transformation step for performing inverse orthogonal transformation by the mode control signal output in the mode control signal generation step.

상기의 목적을 달성하기 위해 본 발명의 제 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화장치는 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 장치에 있어서, 부호화하려는 영상신호블록의 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 변환방법을 결정하고 이에 상응하는 모드제어신호 1 내지 4 중 어느 하나를 출력하는 모드제어기와, 상기 모드제어기에서 모드제어신호를 입력받아 이에 따라 입력되는 영상신호블록을 정렬하거나 대칭이동시킨 후 직교변환시키는 직교변환수단으로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression encoding apparatus using shape adaptive selection according to a second embodiment of the present invention is an apparatus for performing compression encoding by receiving an image signal block and performing orthogonal transformation using shape information. A mode controller for determining a conversion method by receiving the shape information of the image signal block to be compared and comparing the number of pixels of the four edges of the image signal block, and outputting any one of the corresponding mode control signals 1 to 4, in the mode controller It characterized in that the orthogonal conversion means for receiving the mode control signal according to the orthogonal transformation after aligning or symmetrically shifting the input image signal block.

상기의 목적을 달성하기 위해 본 발명의 제 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화방법은 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 방법에 있어서, 부호화하려는 영상신호블록의 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 이에 상응하는 모드제어신호 1 내지 4 중 어느 하나를 출력하는 모드제어신호발생단계와, 상기 모드제어신호발생단계에서 입력되는 영상신호블록의 4모서리중 하단에 위치한 면에 가장 많은 화소들이 존재하여 모드제어신호 1을 출력하면 이에 따라 모양정보의 경계에 해당하는 입력영상신호블록의 화소들을 최상단에 배치하고, 가로방향으로 시프트하여 블록의 좌측단열에 정렬한 다음 가로 및 세로 직교변환을 순서대로 수행하는 제 1 변환단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression encoding method using shape adaptive selection according to a second embodiment of the present invention is a method of compression encoding by receiving an image signal block by orthogonal transformation using shape information. A mode control signal generating step of receiving the shape information of the video signal block to be compared and comparing the number of pixels of the four corners of the video signal block and outputs any one of the mode control signals 1 to 4 corresponding thereto, and the mode control signal generating step When the mode control signal 1 is output due to the largest number of pixels on the bottom of the four edges of the video signal block inputted from, the pixels of the input video signal block corresponding to the boundary of the shape information are arranged at the top and horizontally. To the left column of the block, shifting in the direction, and then performing horizontal and vertical orthogonal transformations in order. Claim characterized by consisting of a first conversion step.

상기의 목적을 달성하기 위해 본 발명의 제 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축복호화장치는 직교변환되어 압축부호화된 정보를 복호화하는 장치에 있어서, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 역변환방법을 결정하고 이에 상응하여 모드제어신호를 출력하는 모드제어기와, 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 직교변환과정과 역으로 역직교변환을 수행한 후 원래 영상신호의 위치에 재정렬하는 역직교변환수단으로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression / decoding apparatus using shape adaptive selection according to a second embodiment of the present invention is an apparatus for decoding orthogonally transformed compressed coded information, and reconstructing a video block to be currently decoded. And a mode controller for determining an inverse conversion method by comparing the number of pixels of four edges of the image signal block and outputting a mode control signal according to the received shape information. The inverse orthogonal transformation means for performing the inverse orthogonal transformation inverse to the conversion process and rearranging the position of the original video signal.

상기의 목적을 달성하기 위해 본 발명의 제 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축복호화방법은 직교변환되어 압축부호화된 정보를 복호화하는 방법에 있어서, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 역변환방법을 결정하고 이에 상응하여 모드제어신호를 출력하는 모드제어신호발생단계와, 상기 모드제어신호발생단계에서 모드제어신호를 입력받아 이에 상응하여 직교변환과정과 역으로 역직교변환을 수행한 후 원래 영상신호의 위치에 재정렬하는 역변환단계로 이루어진 것을 특징으로 한다.In order to achieve the above object, a digital image compression decoding method using shape adaptive selection according to a second embodiment of the present invention is a method of decoding orthogonally transformed compressed coded information, and reconstructing a video block to be currently decoded. And a mode control signal generation step for determining an inverse conversion method by comparing the number of pixels of four edges of the image signal block and outputting a mode control signal accordingly. In response to the input, the orthogonal conversion process is performed inversely orthogonally, and then inversely transformed to the position of the original video signal.

도 1은 종래기술에 의한 영상압축 부호화 및 복호화 장치의 제어블록도,1 is a control block diagram of a video compression encoding and decoding apparatus according to the prior art;

도 2a 내지 도 2e는 도 1의 직교변환기에서 모양정보를 이용하여 직교변환하는 과정을 나타낸 도면,2A to 2E are diagrams illustrating a process of orthogonal transformation using shape information in the orthogonal transformer of FIG. 1;

도 3a 내지 도 3c는 도 1의 직교변환기에서 직교변환하는 방향에 따라 변환계수가 상이하다는 것을 설명하기 위한 도면,3A to 3C are diagrams for explaining that conversion coefficients are different according to a direction orthogonal transformation in the orthogonal transformer of FIG. 1;

도 4는 본 발명의 제 1, 2 실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치에 관한 제어블록도,4 is a control block diagram of a digital image compression encoding and decoding apparatus using shape adaptive selection according to the first and second embodiments of the present invention;

도 5는 도 4의 모드제어기의 실시예 1을 도시한 도면,FIG. 5 is a view showing Embodiment 1 of the mode controller of FIG. 4;

도 6은 8×8 블록 단위부호화의 수행시 입력모양정보의 일례를 나타낸 도면,6 is a view showing an example of input shape information when performing 8 × 8 block unit encoding;

도 7은 도 4의 모드제어기의 실시예 2를 도시한 도면,FIG. 7 is a view showing Embodiment 2 of the mode controller of FIG. 4; FIG.

도 8a 내지 도 8d는 본 발명의 제 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치에 있어서 입력되는 영상신호블록에 따른 모드제어기로부터의 모드제어신호 1, 2, 3, 4에 의해 직교변환수단에서의 변환과정을 도시한 도면.8A to 8D illustrate mode control signals 1, 2, 3, and 3 from the mode controller according to an input image signal block in a digital image compression encoding and decoding apparatus using shape adaptive selection according to a second embodiment of the present invention. 4 shows a conversion process in the orthogonal conversion means.

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

100, 100', 400, 400' : 모드제어기 110, 410 : 가로방향 카운터100, 100 ', 400, 400': Mode controller 110, 410: Horizontal counter

120. 420 : 세로방향 카운터 130, 430 : 비교기120.420: portrait counter 130, 430: comparator

140, 440 : 경계화소측정수단 150, 450 : 비교기140, 440: boundary pixel measuring means 150, 450: comparator

200, 200' : 직교변환수단 300, 300' : 제 1 역직교변환수단200, 200 ': orthogonal transformation means 300, 300': first inverse orthogonal transformation means

500, 500' : 제 2 역직교변환수단500, 500 ': second inverse orthogonal transformation means

이하, 본 발명의 실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법에 대하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, an apparatus and method for digital video compression encoding and decoding using shape adaptive selection according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 발명의 제 1, 2실시예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축부호화 및 복호화장치에 관한 제어블록도로서 종래와 동일한 부분에 대해서는 동일부호를 붙인다.FIG. 4 is a control block diagram of a digital image compression encoding and decoding apparatus using shape adaptive selection according to the first and second embodiments of the present invention.

본 발명의 제 1실시예에 의한 부호화 장치에 대해 도 4를 참조하여 설명하기로 한다.An encoding apparatus according to a first embodiment of the present invention will be described with reference to FIG. 4.

본 발명의 제 1실시예에 의한 부호화장치는 감산기(1), 부가정보부호기(9), 모드제어기(100), 직교변환수단(200), 양자화기(3), 가변길이부호기(8), 다중화기(11), 제 1역양자화기(4), 제 1역직교변환수단(300), 가산기(6a) 및 제 1메모리(7)로 구성되어 있다.The encoding apparatus according to the first embodiment of the present invention includes a subtractor (1), an additional information encoder (9), a mode controller (100), orthogonal transform means (200), a quantizer (3), a variable length encoder (8), It consists of a multiplexer 11, a first inverse quantizer 4, a first inverse orthogonal transformation means 300, an adder 6a and a first memory 7.

상기 감산기(1)는 영상신호블록과 복원된 영상신호블록를 감산하여 예측오차신호블록을 출력하는 역할을 하고, 상기 부가정보 부호기(9)는 부호화에 도움을 주는 복원된 모양정보 및 가변길이 부호화된 모양정보를 출력하는 역할을 한다.The subtractor 1 subtracts the video signal block and the reconstructed video signal block to output the prediction error signal block, and the side information encoder 9 encodes the reconstructed shape information and the variable length code to help the encoding. It outputs shape information.

상기 감산기(1)는 상기 제 1메모리(7)로부터 예측된 신호와 현재 입력신호와의 예측 오차 뿐 아니라 제 1메모리(7)의 신호로부터의 예측 없이 현재 입력신호를 그대로 출력할 수 있는데 이 경우 이를 위해서 제 1메모리(7)에 저장되어있는 값을 0으로 초기화하여 감산기(1)로부터의 신호와 입력영상 신호를 동일하게 만들 수 있다.The subtractor 1 may output the current input signal as it is without prediction from the signal of the first memory 7 as well as a prediction error between the signal predicted from the first memory 7 and the current input signal. To this end, the value stored in the first memory 7 may be initialized to 0 to make the signal from the subtractor 1 equal to the input image signal.

상기 모드제어기(100)는 상기 부호정보부호기(9)에서 모양정보를 입력받아 그 모양정보의 화소를 분석하여 이에 상응하는 모드제어신호를 출력하는 역할을 하며 이에 대해 상세히 설명하면 다음과 같다.The mode controller 100 receives shape information from the code information encoder 9 and analyzes pixels of the shape information and outputs a mode control signal corresponding to the shape information.

도 5를 참조하여 설명하면, 가로방향 카운터(110)는 상기 부가정보부호기(9)에서 입력되는 모양정보의 가로방향 화소수를 세는 역할을 하고, 세로방향카운터(120)는 상기 부가정보부호기(9)에서 입력되는 모양정보의 세로방향 화소수를 세는 역할을 한다. 비교기(130)는 상기 가로방향 카운터(110) 및 세로방향카운터(120)로부터 출력되는 가로방향 화소 카운터 수와 세로방향 화소 카운터 수를 비교하여 더 많은 화소수를 보이는 방향을 선택하여 그 선택된 방향으로 변환을 수행하도록 하는 모드제어신호를 출력하는 역할을 한다. 이는 정해진 직교변환 순서에 영상신호블록을 변환하는 경우보다 상기와 같은 많은 화소를 변환하기 위한 방법을 사용하는 것이 부호화 효율측면에서 유리하므로 화소수가 많은 방향으로 먼저 변환을 수행하도록 한다. 이때, 화소수를 세기 위한 다양한 방법이 사용될 수 있으며, 그 예로 최대의 가로방향 화소수를 갖는 행의 화소수와 최대의 세로방향 화소수를 갖는 열의 화소수를 이용하는 방법, 전체 화소수를 가로와 세로방향으로의 최대 화소수로 나눈 결과를 사용하는 방법, 또는 변환단위 화소수에 대한 변환이득을 고려하여 이에 대해 적절히 가중 값을 주어 가로와 세로 방향의 화소수를 측정하는 방법 등이 사용될 수 있다.Referring to FIG. 5, the horizontal counter 110 counts the number of horizontal pixels of shape information input from the additional information encoder 9, and the vertical counter 120 measures the additional information encoder ( It counts the number of vertical pixels of shape information input in 9). The comparator 130 compares the number of horizontal pixel counters and the number of vertical pixel counters output from the horizontal counter 110 and the vertical counter 120 to select a direction showing more pixels and selects the direction in the selected direction. It outputs a mode control signal for performing the conversion. This is because it is advantageous in terms of coding efficiency to use a method for converting a large number of pixels as described above in the case of transforming an image signal block in a predetermined orthogonal transform order, so that the transform is performed first in a direction in which the number of pixels is high. In this case, various methods for counting the number of pixels may be used. For example, a method of using the number of pixels in a row having the maximum horizontal pixel number and the number of pixels in a column having the maximum vertical pixel number, A method of using the result divided by the maximum number of pixels in the vertical direction, or a method of measuring the number of pixels in the horizontal and vertical directions by appropriately weighting them in consideration of the conversion gain for the number of conversion unit pixels may be used. .

도 6은 8×8 블록단위 부호화를 수행하는 경우 입력되는 모양정보의 일례를 나타낸 도면으로서, 빗금 친 부분이 물체에 해당하는 부분이며 이 부분만이 부호화 대상이라 가정한다. 상기 도 6을 이용하여 화소수를 측정한 후 모드제어신호를 출력하는 방법에 대해 설명하기로 한다.6 is a diagram illustrating an example of shape information input when 8 × 8 block unit encoding is performed. It is assumed that a hatched portion corresponds to an object and only this portion is an encoding target. A method of outputting a mode control signal after measuring the number of pixels using FIG. 6 will be described.

먼저, 모양정보내의 화소수를 측정하는 첫 번째 방법으로 최대화소 값을 사용하는 방법에 대해 설명하면, 도 6에서 가로방향으로 7개의 최대화소를 갖는 것을 볼 수 있고, 세로방향으로의 최대화소는 6개이다. 그러므로 도 6과 같은 모양정보가 입력되는 블록의 경우 비교기(130)는 가로방향으로 먼저 직교변환을 수행한 후 세로 방향으로 직교변환을 수행하도록 하는 모드 제어신호를 발생시킨다.First, a description will be made of a method of using a maximized value as the first method of measuring the number of pixels in the shape information. In FIG. 6, it can be seen that there are seven maximized pixels in the horizontal direction. Six. Therefore, in the case of the block in which the shape information as shown in FIG. 6 is input, the comparator 130 generates a mode control signal to first perform orthogonal transformation in the horizontal direction and then perform orthogonal transformation in the vertical direction.

화소수를 측정하는 두 번째 방법은 모양정보 내 화소수를 최대화소로 나누어 각각의 방향에 대한 화소수로 사용하는 것으로, 도 6에서 모양정보 내의 화소수는 17개이고, 가로방향으로의 최대화소수는 7개이며, 세로방향으로의 최대화소수는 6개이다. 결과적으로 가로방향으로의 화소수는 17/7이고, 세로방향으로의 화소수는 17/6이며, 세로 방향으로의 화소수가 가로방향으로의 화소수에 비하여 큰 값을 보이므로 세로방향으로 먼저 변환을 수행한 후 가로방향으로 변환을 수행하도록 모드제어신호를 출력한다. 첫 번째 방법에 비하여 두 번째 방법의 장점은 가로와 세로중 전체적으로 많은 화소수를 갖는 방향으로 먼저 변환하도록 보장하는 특징이 있다.The second method of measuring the number of pixels is to divide the number of pixels in the shape information into pixels for each direction by dividing the number of pixels in the shape information. In FIG. 6, the number of pixels in the shape information is 17, and the maximum number of pixels in the horizontal direction is Seven, with a maximum of six in the vertical direction. As a result, the number of pixels in the horizontal direction is 17/7, the number of pixels in the vertical direction is 17/6, and the number of pixels in the vertical direction is larger than the number of pixels in the horizontal direction. Outputs the mode control signal to perform the conversion in the horizontal direction. The advantage of the second method over the first method is that it guarantees to convert first to the direction having the largest number of pixels in the horizontal and vertical directions.

상기 직교변환수단(200)은 상기 감산기(1)에서 예측오차신호블록을 입력받는 한편, 상기 모드제어기(100)에서 출력되는 모드제어신호에 의해 직교변환모드가 제어되어 직교변환을 수행하므로 써 변환계수를 출력하는 역할을 한다.The orthogonal transformation means 200 receives the prediction error signal block from the subtractor 1, and the orthogonal transformation mode is controlled by the mode control signal output from the mode controller 100 to perform orthogonal transformation. It outputs coefficients.

상기 양자화기(3)는 상기 직교변환수단(200)에서 변환계수를 입력받아 양자화된 변환계수블록으로 변환하는 역할을 하고, 가변길이 부호기(8)는 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 가변길이 부호화된 신호로 변환하는 역할을 하며, 상기 다중화기(11)는 상기 가변길이 부호기(8)에서 가변길이 부호화된 신호를 입력받는 한편 상기 부가정보 부호기(9)에서 가변길이 부호화된 모양정보신호를 입력받아 그 두 신호를 멀티플레싱하여 전송매체(12)로 전송하는 역할을 한다.The quantizer 3 receives a transform coefficient from the orthogonal transform means 200 and converts the transform coefficient into a quantized transform coefficient block, and the variable length coder 8 quantizes the transform coefficient from the quantizer 3. It receives a block and converts it into a variable length coded signal. The multiplexer 11 receives a variable length coded signal from the variable length coder 8 and a variable length from the side information encoder 9. It receives the encoded shape information signal and serves to multiplex the two signals and transmit them to the transmission medium 12.

상기 제 1 역양자화기(4)는 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 역양자화된 변환계수블록으로 변환하는 역할을 하고, 상기 제 1 역직교변환수단(300)은 상기 제 1 역양자화기(4)에서 역양자화된 변환계수블록을 입력받아 상기 부가정보 부호기(9)에서 입력되는 모양정보 및 상기 모드제어기(100)에서 입력되는 모드제어신호를 이용하여 상기 직교변환수단(200)과의 역 과정으로 역변환을 수행하여 이에 상응하는 역변환계수를 출력하는 역할을 한다.The first inverse quantizer 4 receives the quantized transform coefficient block from the quantizer 3 and converts the dequantized transform coefficient block into the inverse quantized transform coefficient block. The orthogonal conversion means by receiving the inverse quantized transform coefficient block from the first inverse quantizer 4 and using shape information input from the additional information encoder 9 and a mode control signal input from the mode controller 100. Inversely performing the inverse process with the (200) serves to output the corresponding inverse transform coefficients.

상기 가산기(6a)는 상기 제 1 역직교변환수단(300)에서 역변환계수를 입력받는 동시에 상기 제 1 메모리(7)에 저장되어 있던 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 영상신호블록을 복원하는 역할을 하고, 상기 제 1 메모리(7)는 상기 가산기(6a)에서 복원영상신호블록을 입력받아 다음 예측을 위해 저장하여 상기 감산기(1)로 그 복원된 영상신호블록을 출력하는 역할을 한다.The adder 6a receives an inverse transform coefficient from the first inverse orthogonal transform means 300 and receives a previously restored image signal block stored in the first memory 7 and adds the two signals. The first memory 7 receives the reconstructed image signal block from the adder 6a and stores the reconstructed image signal block in the subtractor 1 for the next prediction. It plays a role of outputting.

본 발명의 제 1실시 예에 의한 복호화장치에 대해 상기 도 4를 참조하여 설명하면 다음과 같다.The decoding apparatus according to the first embodiment of the present invention will be described with reference to FIG. 4 as follows.

본 발명의 제 1실시 예에 의한 복호화장치는 디먹스부(13), 복호기(15), 제 2 역양자화기(16), 부가정보 복호기(14), 모드제어기(400), 제 2 역직교변환수단(500), 가산기(6b), 제 2메모리(18)로 구성되어 있다.The decoding apparatus according to the first embodiment of the present invention includes a demux 13, a decoder 15, a second inverse quantizer 16, an additional information decoder 14, a mode controller 400, and a second inverse orthogonality. The conversion means 500, the adder 6b, and the 2nd memory 18 are comprised.

상기 디먹스부(13)는 상기 부호화장치에서 전송매체(12)를 통해 부호화된 신호를 입력받아 디멀티플레싱하여 부호화된 모양정보와 부호화된 영상신호를 출력하는 역할을 하고, 상기 복호기(15)는 상기 디먹스부(13)에서 부호화된 영상신호를 입력받아 가변길이 복호화된 신호로 변환하는 역할을 한다.The demux unit 13 decodes the encoded signal through the transmission medium 12 in the encoding apparatus and outputs the encoded shape information and the encoded image signal, and the decoder 15. The demux 13 receives a video signal encoded by the demux 13 and converts the signal into a variable length decoded signal.

상기 제 2 역양자화기(16)는 상기 복호기(15)에서 가변길이 복호화된 신호를 입력받아 역양자화된 변환계수블록으로 변환하는 역할을 하고, 부가정보 복호기(14)는 상기 디먹스부(13)에서 부호화된 모양정보를 입력받아 모양정보를 복원시키는 역할을 한다.The second inverse quantizer 16 receives a variable length decoded signal from the decoder 15 and converts the dequantized transform coefficient block into an inverse quantized transform coefficient block. The additional information decoder 14 is the demux unit 13. ) Receives the encoded shape information and restores the shape information.

상기 모드제어기(400)는 상기 부가정보 복호기(14)에서 복원된 모양정보를 입력받아 상기 부호화장치의 모드제어기(100)와 동일한 방법으로 모드제어신호를 발생하는 역할을 한다.The mode controller 400 receives the shape information restored by the additional information decoder 14 and generates a mode control signal in the same manner as the mode controller 100 of the encoding apparatus.

상기 제 2 역직교변환수단(500)은 상기 제 2 역양자화기(16)에서 역양자화된 변환계수블록을 입력받아 모드제어기(400)에서 입력되는 모드제어신호에 의해 상기 직교변환수단(200)변환순서와 역으로 역변환을 수행하여 역변환계수를 출력하는 역할을 한다.The second inverse orthogonal transform means 500 receives the inverse quantized transform coefficient block from the second inverse quantizer 16 and receives the orthogonal transform means 200 by the mode control signal input from the mode controller 400. It performs the inverse transformation in reverse to the conversion order and outputs the inverse transformation coefficient.

상기 가산기(6b)는 상기 제 2 역직교변환수단(500)에서 역변환된 신호블록을 입력받는 동시에 상기 제 2메모리(18)에서 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 복원된 영상신호블록을 출력하는 역할을 하고, 상기 제 2 메모리(18)는 예측을 위해 상기 복원된 입력영상신호블록을 저장하고, 그 신호블록은 상기 가산기(6b)로 다음 예측을 위해 출력된다.The adder 6b receives a signal block inversely transformed by the second inverse orthogonal conversion means 500 and receives an image signal block reconstructed in the second memory 18 and adds the two signals to restore the image. The second memory 18 stores the reconstructed input image signal block for prediction, and the signal block is output to the adder 6b for the next prediction.

상기와 같은 구성을 가지는 본 발명의 제 1실시 예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치를 이용한 부호화 방법 및 복호화 방법에 대해 설명하기로 한다.An encoding method and a decoding method using a digital image compression encoding and decoding apparatus using shape adaptive selection according to the first embodiment of the present invention having the above-described configuration will be described.

먼저, 부호화 방법에 대해 설명하면, 영상신호블록은 감산기(1)에 입력되고, 모양정보는 부가정보부호기(9)에 입력되어 부호화된다.First, the encoding method will be described. The video signal block is input to the subtractor 1, and the shape information is input to the additional information encoder 9 and encoded.

이때, 감산기(1)는 입력 영상신호블록과 제 1 메모리(7)에서 출력되는 복원된 영상신호블록을 감산하여 예측오차신호블록을 구하고, 직교변환수단(200)에 그 신호를 출력한다.At this time, the subtractor 1 subtracts the input video signal block and the reconstructed video signal block output from the first memory 7 to obtain a prediction error signal block, and outputs the signal to the orthogonal transformation means 200.

이어서, 직교변환수단(200)은 상기 감산기(1)에서 예측오차신호블록을 입력받아 상기 모드제어기(100)에서 입력되는 모드제어신호에 의해 결정된 순서에 따라 직교변환을 수행하고 이에 상응하는 변환계수를 출력한다.Subsequently, the orthogonal transformation means 200 receives the prediction error signal block from the subtractor 1, performs orthogonal transformation according to the order determined by the mode control signal input from the mode controller 100, and the corresponding transformation coefficient. Outputs

한편, 상기 모드제어기(100)에서 모드제어신호를 발생하는 과정은 상기 부호화장치에서 전술하였으므로 생략한다.Meanwhile, the process of generating a mode control signal in the mode controller 100 is omitted in the encoding apparatus.

이때, 양자화기(3)는 상기 직교변환수단(200)에서 출력되는 변환계수를 양자화된 변환계수블록으로 변환하고, 가변길이 부호기(8)는 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 가변길이 부호화된 변환계수 신호로 변환하고, 다중화기(11)는 그 가변길이 부호화된 변환계수 신호를 입력받는 동시에 상기 부가정보부호기(9)에서 가변길이 부호화된 모양정보 신호를 입력받아 그 두 신호를 멀티플레싱하여 전송매체(12)를 통해 전송시킨다.In this case, the quantizer 3 converts the transform coefficient output from the orthogonal transform means 200 into a quantized transform coefficient block, and the variable length encoder 8 converts the transform coefficient block quantized by the quantizer 3. A variable length coded transform coefficient signal is received and the multiplexer 11 receives the variable length coded transform coefficient signal and receives the variable length coded shape information signal from the additional information encoder 9. The two signals are multiplexed and transmitted through the transmission medium 12.

한편, 상기 양자화기(3)에서 출력된 양자화된 변환계수블록은 제 1 역양자화기(4)에 입력되어 역양자화된 변환계수블록으로 변환되고, 제 1 역직교변환수단(300)은 상기 제 1 역양자화기(4)에서 역양자화된 변환계수블록을 입력받아 상기 모드제어기(100)에서 입력되는 모드제어신호에 의해 역변환모드가 제어되어 상기 직교변환수단(200)에서 수행된 직교변환의 역으로 역직교변환을 수행하므로 써 역변환계수를 출력한다.On the other hand, the quantized transform coefficient block output from the quantizer 3 is input to the first inverse quantizer 4 is converted into a dequantized transform coefficient block, the first inverse orthogonal transform means 300 is the first 1 The inverse transform mode is controlled by a mode control signal input from the mode controller 100 by receiving the inverse quantized transform coefficient block from the inverse quantizer 4, thereby performing inverse of the orthogonal transform performed by the orthogonal transform means 200. Inverse orthogonal transformation is used to output the inverse transformation coefficient.

이어서, 가산기(6a)는 상기 제 1 역직교변환수단(300)에서 역변환계수를 입력받는 동시에 제 1 메모리(7)에서 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 영상신호블록으로 복원하여 제 1 메모리(7)에 저장되고, 제 1 메모리(7)에서는 감산기(1)로 복원된 영상신호블록을 출력한다.Subsequently, the adder 6a receives an inverse transform coefficient from the first inverse orthogonal transformation means 300 and simultaneously receives an image signal block restored in the first memory 7, adds the two signals, and restores the image signal block. The video signal block is stored in the first memory 7 and reconstructed by the subtractor 1.

한편, 제 1실시예에 의한 복호화방법에 대해 설명하면, 먼저, 디먹스부(13)는 전송매체(12)를 통해 부호화된 영상신호를 입력받아 디멀티플레싱하여 가변길이 부호화된 모양정보 및 가변길이 부호화된 변환계수신호를 출력하고, 복호기(15)는 상기 가변길이 부호화된 영상신호를 입력받아 양자화된 변환계수 신호로 변환하는 한편, 부가정보 복호기(14)는 상기 가변길이 부호화된 모양정보를 입력받아 원래의 모양정보로 복원시킨다.Meanwhile, referring to the decoding method according to the first embodiment, first, the demux unit 13 receives the encoded video signal through the transmission medium 12 and demultiplexes the shape information and the variable length coded shape information. A length-coded transform coefficient signal is output, and the decoder 15 receives the variable length coded image signal and converts it into a quantized transform coefficient signal, while the side information decoder 14 converts the variable length coded shape information. Receive the input and restore the original shape information.

이때, 제 2 역양자화기(16)는 상기 복호기(15)에서 양자화된 변환계수 신호를 입력받아 역양자화된 변환계수블록으로 변환하고, 제 2 역직교변환수단(500)은 상기 제 2 역양자화기(16)에서 역양자화된 변환계수블록을 입력받아 상기 모드제어기(400)에서 입력되는 모드제어신호에 의해 역변환 모드가 제어되어 상기 직교변환수단(200)에서의 직교변환순서와 역으로 역직교변환을 수행하므로 써 역직교변환된 신호블록을 출력한다.At this time, the second inverse quantizer 16 receives the transform coefficient signal quantized by the decoder 15 and converts the inverse quantized transform coefficient block, and the second inverse orthogonal transformation means 500 performs the second inverse quantization. The inverse transform mode is controlled by the mode control signal input from the mode controller 400 by receiving the inverse quantized transform coefficient block from the controller 16, and is inversely orthogonal to the orthogonal transform order in the orthogonal transform means 200. Outputs the inverse orthogonal transformed signal block by performing the conversion.

이어서, 가산기(6b)는 상기 제 2 역직교변환수단(500)에서 역직교변환된 신호블록과 제 2 메모리(18)에서 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여서 복원된 영상신호블록을 출력한다.Subsequently, the adder 6b receives a signal block inversely orthogonally transformed by the second inverse orthogonal transformation means 500 and an image signal block previously restored in the second memory 18, and adds the two signals to be restored. Outputs a video signal block.

한편, 제 2 메모리(18)는 상기 제 2 가산기(6b)에서 출력되는 복원된 영상신호블록을 입력받아 저장하여 상기 제 2 가산기(6b)로 복원된 영상신호블록을 출력한다.Meanwhile, the second memory 18 receives and stores the reconstructed video signal block output from the second adder 6b and outputs the reconstructed video signal block to the second adder 6b.

본 발명의 제 2실시 예에 의한 부호화 장치에 대해 도 4를 참조하여 설명하기로 한다.An encoding apparatus according to a second embodiment of the present invention will be described with reference to FIG. 4.

본 발명의 제 2실시 예에 의한 부호화장치는 감산기(1), 부가정보부호기(9), 모드제어기(100'), 직교변환수단(200'), 양자화기(3), 가변길이부호기(8), 다중화기(11), 제 1역양자화기(4), 제 1역직교변환수단(300'), 가산기(6a) 및 제 1메모리(7)로 구성되어 있으며, 상기 모드제어기(100'), 직교변환수단(200'), 제 1 역직교변환수단(300')을 제외한 모든 구성요소는 상기 제 1실시 예와 동일하므로 동일한 구성요소에 대해서는 설명을 생략하기로 한다.A coding apparatus according to a second embodiment of the present invention includes a subtractor 1, an additional information encoder 9, a mode controller 100 ', an orthogonal transform means 200', a quantizer 3, and a variable length encoder 8 ), A multiplexer (11), a first inverse quantizer (4), a first inverse orthogonal conversion means (300 '), an adder (6a), and a first memory (7), and the mode controller (100'). Since all components except for the orthogonal transformation means 200 'and the first inverse orthogonal transformation means 300' are the same as those of the first embodiment, a description of the same components will be omitted.

상기 모드제어기(100')에 대해 도 7을 참조하여 설명하기로 한다.The mode controller 100 ′ will be described with reference to FIG. 7.

상기 모드제어기(100')는 도 7에 도시한 바와 같이 경계화소측정수단(140)과 비교기(150)로 구성되어 있다.As shown in FIG. 7, the mode controller 100 ′ includes a boundary pixel measuring unit 140 and a comparator 150.

상기 경계화소측정수단(140)은 현재 부호화 하려는 블록에 대한 모양정보의 4방향 즉 블록의 좌, 우, 상, 하측 면에서의 모양정보내의 화소수 정보를 출력하는 역할을 하고, 상기 비교기(150)는 상기 경계화소측정수단(140)에서 입력되는 상기 화소수 정보를 비교하여 직교변환수단(200') 및 제 1 역직교변환수단(300')의 변환 및 역변환 동작을 제어하기 위한 모드제어신호를 출력하는 역할을 한다.The boundary pixel measuring unit 140 outputs the pixel number information in the shape information of four directions of shape information of the block to be currently encoded, that is, left, right, top, and bottom of the block, and the comparator 150 ) Is a mode control signal for controlling the conversion and inverse conversion operations of the orthogonal transformation means 200 ′ and the first inverse orthogonal transformation means 300 ′ by comparing the pixel number information input from the boundary pixel measurement means 140. Outputs the role.

그리고, 상기 모드제어기(100')는 모양정보의 위치와 크기에 따라 4가지의 다른 변환모드제어신호를 출력한다. 일반적으로 모양정보를 이용하여 영상블록을 물체와 비 물체로 나누는 경우 경계 면에 해당하는 화소들 사이의 밝기 값은 물체내부의 밝기 값보다 어두운 값을 갖는 경향이 있으므로 영상의 경계에 해당하는 부분을 부호화 하는 경우 보다 높은 유사도를 갖는 화소들을 단위로 변환을 수행할 수 있다. 변환기반 부호화의 경우 화소사이의 유사도가 높을수록 보다 높은 부호화 효율을 높일 수 있으므로 모양정보의 경계화소를 이용하여 직교변환을 수행하는 경우 보다 높은 부호화 효율을 기대할 수 있다.The mode controller 100 ′ outputs four different conversion mode control signals according to the position and size of the shape information. In general, when dividing an image block into an object and a non-object using shape information, the brightness value between pixels corresponding to the boundary surface tends to be darker than the brightness value inside the object. In the case of encoding, transformation may be performed in units of pixels having a higher similarity. In the case of the transcoheran coding, the higher the similarity between the pixels, the higher the coding efficiency. Therefore, when the orthogonal transformation is performed using the boundary pixels of the shape information, higher coding efficiency can be expected.

상기 모드제어기(100')의 동작을 설명하면, 먼저, 경계화소측정수단(140)은 부가정보부호기(9)에서 현재 부호화 하려는 블록에 대한 모양정보를 입력받아 블록의 좌, 우, 상, 하 측에 위치하는 모양정보내의 화소수를 각각 출력한다.Referring to the operation of the mode controller 100 ′, first, the boundary pixel measuring unit 140 receives shape information of a block to be currently encoded by the side information encoder 9, and then determines left, right, up, and down of the block. The number of pixels in the shape information located on the side is output.

이어서, 비교기(130)는 상기 경계화소측정수단(140)으로부터 출력되는 4가지 종류의 화소수를 비교하여 가장 많은 화소수를 갖는 면에 대해 적절한 모드제어 신호를 출력하도록 한다.Subsequently, the comparator 130 compares the number of four types of pixels output from the boundary pixel measuring means 140 to output an appropriate mode control signal for the surface having the largest number of pixels.

이때, 비교기(150)는 블록 하단에 가장 많은 화소가 존재하는 경우 모드제어신호 1을, 블록 우측 단에 가장 많은 화소가 존재하는 경우 모드제어신호 2를, 블록 상단에 가장 많은 화소가 존재하는 경우 모드제어신호 3을, 블록 좌측 단에 가장 많은 화소가 존재하는 경우 모드제어신호 4를 출력한다고 가정하며, 이에 대해 좀더 상세히 설명하기로 한다.In this case, the comparator 150 uses the mode control signal 1 when the most pixels exist at the bottom of the block, the mode control signal 2 when the most pixels exist at the right end of the block, and the most pixels at the top of the block. It is assumed that the mode control signal 3 is outputted when the most pixels exist in the left end of the block, which will be described in more detail.

도 8a 내지 도 8d는 제 2실시 예에 의한 모드제어기에 입력되는 영상신호블록의 모드제어신호에 따른 직교변환동작을 설명하기 위한 도면으로서, 빗금 친 부분이 부호화 하는 물체부분이고, 그 중 진한 빗금부분은 입력블록의 경계화소를 나타낸다.8A to 8D are diagrams for explaining an orthogonal transformation operation according to a mode control signal of an image signal block input to the mode controller according to the second embodiment, wherein the hatched portions are the object portions to be encoded, and the dark hatched portions thereof. The part represents the boundary pixel of the input block.

도 8a에 대해 설명하면, a블록은 입력된 영상블록을 나타내며, 블록의 4개 면들 중 하단에 위치한 면에 가장 많은 화소들이 존재하는 경우로서 모드제어신호 1을 출력하고, 직교변환수단(200')은 상기 모드제어기(100')로부터 모드제어신호 1을 입력받아 이에 따라 도 8a의 b블록에 도시한 바와 같이 모양정보의 경계에 해당하는 입력영상블록의 화소들을 최상 단에 배치한다. 이어서, 가로방향으로 시프트하여 도 8a의 c블록에 도시한 바와 같이 블록의 좌측단 열에 대해 정렬한 다음 가로방향으로 직교변환을 수행한 후, 도 8a의 d블록에 도시한 바와 같이 세로방향으로 직교변환을 수행한다.Referring to FIG. 8A, a block represents an input image block, and the mode control signal 1 is output as the case where the most pixels exist on the bottom surface among the four surfaces of the block, and the orthogonal conversion means 200 ' ) Receives the mode control signal 1 from the mode controller 100 ′ and accordingly arranges the pixels of the input image block corresponding to the boundary of the shape information at the top as shown in block b of FIG. 8A. Subsequently, after shifting in the horizontal direction, the left end of the block is aligned as shown in block c of FIG. 8A, and then orthogonally transformed in the horizontal direction, and then perpendicular to the vertical direction as shown in block d of FIG. 8A. Perform the conversion.

도 8b에 대해 설명하면, 4블록 중 a블록은 입력된 영상블록을 나타내며, 블록의 4개 면들 중 우측 단에 위치한 면에 가장 많은 화소들이 존재하는 경우로서 모드제어신호 2를 출력하고, 직교변환수단(200')은 상기 모드제어기(100')로부터 모드제어신호 2를 입력받아 이에 따라 도 8b의 b블록에 도시한 바와 같이 모양정보의 경계에 해당하는 입력영상블록의 화소들을 좌측 단에 배치한다. 이어서, 상단방향으로 시프트하여 도 8b의 c블록에 도시한 바와 같이 블록의 상단 열에 대해 정렬한 다음 세로방향으로 직교변환을 수행한 후, 도 8b의 d블록에 도시한 바와 같이 가로방향으로 직교변환을 수행한다.Referring to FIG. 8B, a block of four blocks represents an input image block, and the mode control signal 2 is outputted as orthogonal transformation when most pixels are present on the rightmost side of the four surfaces of the block. The means 200 'receives the mode control signal 2 from the mode controller 100' and accordingly arranges the pixels of the input image block corresponding to the boundary of the shape information at the left end as shown in the block b of FIG. 8B. do. Subsequently, after shifting in the upper direction to align the upper column of the block as shown in block c of FIG. 8B and performing orthogonal transformation in the vertical direction, orthogonal transform in the horizontal direction as shown in block d in FIG. 8B. Do this.

도 8c에 대해 설명하면, a블록은 입력된 영상블록을 나타내며, 블록의 4개 면들 중 상단에 위치한 면에 가장 많은 화소들이 존재하는 경우로서 모드제어신호 3을 출력하고, 직교변환수단(200')은 상기 모드제어기(100')로부터 모드제어신호 3를 입력받아 이에 따라 도 8c의 b블록에 도시한 바와 같이 입력영상신호를 세로방향으로 대칭이동 시키며, c블록에 도시한 바와 같이 블록 상단으로 정렬한다. 그리고, d블록과 같이 블록의 좌측 단에 대하여 정렬한 다음 가로방향으로 직교변환을 수행한 후 e블록에 도시한 바와 같이 세로방향으로 직교변환을 수행한다.Referring to FIG. 8C, a block represents an input image block, and the mode control signal 3 is output as the case where the largest number of pixels exist on the top surface among the four surfaces of the block. ) Receives the mode control signal 3 from the mode controller 100 ′ and symmetrically shifts the input video signal in the vertical direction as shown in block b of FIG. 8c, and moves to the top of the block as shown in block c. Sort it. Then, the left end of the block is aligned with the d block, and then the orthogonal transformation is performed in the horizontal direction, and then the orthogonal transformation is performed as shown in the e block.

도 8d에 대해 설명하면, a블록은 입력된 영상블록을 나타내며, 블록의 4개 면들 중 좌측 단에 위치한 면에 가장 많은 화소들이 존재하는 경우로서 모드제어신호 4를 출력하고, 직교변환수단(200')은 상기 모드제어기(100')로부터 모드제어신호 4를 입력받아 이에 따라 도 8d의 b블록에 도시한 바와 같이 입력영상신호를 가로방향으로 대칭이동 시키며, c블록에 도시한 바와 같이 블록 좌측 단으로 정렬한다. 그리고, d블록과 같이 블록의 상단에 대하여 정렬한 다음 세로방향으로 직교변환을 수행한 후 e블록에 도시한 바와 같이 가로방향으로 직교변환을 수행한다.Referring to FIG. 8D, a block represents an input image block, and the mode control signal 4 is outputted as the case where the most pixels exist on the left side of the four surfaces of the block, and the orthogonal conversion means 200 ') Receives the mode control signal 4 from the mode controller 100' and accordingly shifts the input video signal horizontally as shown in block b of FIG. 8D. Sort by columns. Then, the alignment is performed with respect to the upper end of the block as in block d, and then orthogonal in the vertical direction, and then orthogonal in the horizontal direction as shown in e block.

상기 직교변환수단(200')은 상술한 바와같이 상기 모드제어기(100')에서 입력되는 모드제어신호 1 내지 4에 따라 입력되는 영상신호블록을 상단 및 좌측단으로 이동시킨 후 가로 및 세로 직교변환시키거나, 좌측단 및 상단으로 이동시킨 후 세로 및 가로직교변환시키거나, 세로대칭이동 후 상단 및 좌측단으로 이동시킨 후 가로 및 세로직교변환시키거나 또는 가로대칭이동후 좌측단 및 상단으로 이동시킨 후 세로 및 가로직교변환시키는 역할을 한다.As described above, the orthogonal conversion means 200 'moves the image signal blocks inputted according to the mode control signals 1 to 4 input from the mode controller 100' to the upper and left ends, and then transforms the horizontal and vertical orthogonal transforms. After moving to the left and top ends, vertical and horizontal orthogonal transformation, or after vertical symmetry, move to the top and left end, and then to the horizontal and vertical orthogonal transformation, or after horizontal symmetry, and moving to left and top It acts as a vertical and horizontal orthogonal transformation.

상기 제 1 역직교변환수단(300')은 상기 직교변환수단(200')에서의 변환과정의 역과정으로 동작한다. 즉 모드제어신호 1이 입력될 때는 세로방향으로 역변환을 수행한 후 가로방향으로 역변환을 수행한다. 이후 모양정보를 이용하여 블록의 상단에 대해 정렬된 신호블록을 구하고 이를 다시 모양정보를 이용하여 원래 영상신호의 위치에 재정렬 한다.The first inverse orthogonal transformation means 300 ′ operates as an inverse process of the conversion process in the orthogonal transformation means 200 ′. That is, when the mode control signal 1 is input, the inverse transformation is performed in the vertical direction and the inverse transformation is performed in the horizontal direction. After that, the signal blocks aligned with the top of the block are obtained by using the shape information, and then they are rearranged to the position of the original video signal by using the shape information.

또한, 모드제어신호 2가 입력될 때는 가로방향으로 역변환을 수행 한 후 세로 방향으로 역변환을 수행하고 모양정보를 이용하여 원래 영상신호의 위치에 대해 재정렬 한다.In addition, when the mode control signal 2 is input, the inverse transformation is performed in the horizontal direction, and the inverse transformation is performed in the vertical direction, and the position information is rearranged using the shape information.

또한, 모드제어신호 3이 입력될 때는 세로방향으로 역변환을 수행한 후 가로 방향으로 역변환을 수행하고, 모양정보를 이용하여 원래 영상신호의 위치에 대해 재정렬 한다.In addition, when the mode control signal 3 is input, the inverse transformation is performed in the vertical direction, and the inverse transformation is performed in the horizontal direction, and the shape information is used to rearrange the position of the original video signal.

또한, 모드제어신호 4가 입력될 때는 가로방향으로 역변환을 수행한 후 세로방향으로 역변환을 수행하고 모양정보를 이용하여 원래 영상신호의 위치에 대해 재정렬 한다.In addition, when the mode control signal 4 is input, the inverse transformation is performed in the horizontal direction, and the inverse transformation is performed in the vertical direction, and the position information is rearranged using the shape information.

이어서, 본 발명의 제 2실시예에 의한 복호화장치에 대해 도 4를 참조하여 설명하기로 한다.Next, a decoding apparatus according to a second embodiment of the present invention will be described with reference to FIG.

본 발명의 제 2실시예에 의한 복호화장치는 디먹스부(13), 복호기(15), 제 2 역양자화기(16), 부가정보 복호기(14), 모드제어기(400'), 제 2 역직교변환수단(500'), 가산기(6b), 제 2메모리(18)로 구성되어 있으며, 상기 모드제어기(400') 및 제 2역직교변환수단(500')을 제외한 모든 구성요소는 제 1실시예와 동일하므로 설명을 생략하기로 한다.The decoding apparatus according to the second embodiment of the present invention includes a demux 13, a decoder 15, a second inverse quantizer 16, an additional information decoder 14, a mode controller 400 ', and a second station. Orthogonal conversion means 500 ', adder 6b, second memory 18, and all components except for the mode controller 400' and the second inverse orthogonal conversion means 500 ' Since it is the same as the embodiment, a description thereof will be omitted.

상기 모드제어기(400')는 상기 부가정보 복호기(14)에서 복원된 모양정보를 입력받아 상기 제 2실시예에 의한 부호화장치의 모드제어기(100')와 동일한 과정에 의해 모드제어신호를 출력하고, 상기 제 2역직교변환수단(500')은 상기 제 2역양자화기(16)에서 역양자화계수를 입력받아 상기 모드제어기(400')에서 입력되는 모드제어신호 1 내지 4 에 따라 상기 직교변환수단(200')과 역 순서로 역직교변환을 수행한 후 이에 상응하는 역직교변환계수를 출력하며, 이에 대한 상세과정은 상기 제 1역직교변환수단(300')의 경우와 동일하므로 생략하기로 한다.The mode controller 400 'receives the shape information restored by the additional information decoder 14 and outputs a mode control signal by the same process as that of the mode controller 100' of the encoding apparatus according to the second embodiment. The second inverse orthogonal transformation means 500 'receives the inverse quantization coefficient from the second inverse quantizer 16 and performs orthogonal transformation according to the mode control signals 1 to 4 input from the mode controller 400'. After performing the inverse orthogonal transformation with the means 200 'and outputting the inverse orthogonal transformation coefficient corresponding thereto, the detailed process thereof is the same as that of the first inverse orthogonal transformation means 300', and thus will be omitted. Shall be.

상기와 같은 구성을 가지는 본 발명의 제 2실시 예에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치를 이용한 부호화 방법 및 복호화 방법에 대해 설명하기로 한다.An encoding method and a decoding method using a digital image compression encoding and decoding apparatus using shape adaptive selection according to the second embodiment of the present invention having the above-described configuration will be described.

먼저, 부호화 방법에 대해 설명하면, 영상신호블록은 감산기(1)에 입력되고, 모양정보는 부가정보부호기(9)에 입력되어 부호화된다.First, the encoding method will be described. The video signal block is input to the subtractor 1, and the shape information is input to the additional information encoder 9 and encoded.

이때, 감산기(1)는 입력 영상신호블록과 제 1 메모리(7)에서 출력되는 복원된 영상신호블록을 감산하여 예측오차신호블록을 구하고, 직교변환수단(200')에 그 신호를 출력한다.At this time, the subtractor 1 subtracts the input image signal block and the reconstructed image signal block output from the first memory 7 to obtain a prediction error signal block, and outputs the signal to the orthogonal transformation means 200 '.

이어서, 직교변환수단(200')은 상기 감산기(1)에서 예측오차신호블록을 입력받아 상기 모드제어기(100')에서 입력되는 모드제어신호 1 내지 4 중 하나의 모드제어신호에 의해 변환을 수행하며, 이에 대한 상세한 설명은 상기 제 2실시예에 의한 부호화장치에 게재되어 있으므로 생략하기로 한다.Subsequently, the orthogonal transformation means 200 ′ receives the prediction error signal block from the subtractor 1 and performs conversion by one mode control signal among the mode control signals 1 to 4 input from the mode controller 100 ′. The detailed description thereof will be omitted since it is published in the encoding apparatus according to the second embodiment.

이때, 양자화기(3)는 상기 직교변환수단(200')에서 출력되는 변환계수를 양자화된 변환계수블록으로 변환하고, 가변길이 부호기(8)는 상기 양자화기(3)에서 양자화된 변환계수블록을 입력받아 가변길이 부호화된 변환계수 신호로 변환하며, 다중화기(11)는 그 가변길이 부호화된 변환계수 신호를 입력받는 동시에 상기 부가정보부호기(9)에서 가변길이 부호화된 모양정보 신호를 입력받아 그 두 신호를 멀티플레싱하여 전송매체(12)를 통해 전송시킨다.In this case, the quantizer 3 converts the transform coefficient output from the orthogonal transform means 200 'into a quantized transform coefficient block, and the variable length encoder 8 converts the transform coefficient block quantized by the quantizer 3 Converts the signal into a variable length coded transform coefficient signal, and the multiplexer 11 receives the variable length coded transform coefficient signal and simultaneously receives the variable length coded shape information signal from the additional information encoder 9. The two signals are multiplexed and transmitted through the transmission medium 12.

한편, 상기 양자화기(3)에서 출력된 양자화된 변환계수블록은 제 1 역양자화기(4)에 입력되어 역양자화된 변환계수블록으로 변환되고, 제 1 역직교변환수단(300')은 상기 제 1 역양자화기(4)에서 역양자화된 변환계수블록을 입력받아 상기 모드제어기(100')에서 입력되는 모드제어신호 제 1 내지 4중 어느 하나에 의해 역변환모드가 제어되어 상기 직교변환수단(200')에서 수행된 직교변환의 역으로 역직교변환을 수행하므로 써 역변환계수를 출력한다.On the other hand, the quantized transform coefficient block output from the quantizer 3 is input to the first inverse quantizer 4 is converted into a dequantized transform coefficient block, the first inverse orthogonal transform means 300 ' The inverse transform mode is controlled by any one of the mode control signals 1 to 4 inputted from the mode controller 100 'by receiving the inverse quantized transform coefficient block from the first inverse quantizer 4, thereby performing the quadrature conversion means ( The inverse transform coefficient is outputted by performing inverse orthogonal transformation as the inverse of the orthogonal transformation performed at 200 ').

이어서, 가산기(6a)는 상기 제 1 역직교변환수단(300')에서 역변환계수를 입력받는 동시에 제 1 메모리(7)에서 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 영상신호블록으로 복원하여 제 1 메모리(7)에 저장되고, 제 1 메모리(7)에서는 감산기(1)로 복원된 영상신호블록을 출력한다.Subsequently, the adder 6a receives an inverse transform coefficient from the first inverse orthogonal transformation means 300 'and simultaneously receives an image signal block reconstructed from the first memory 7 and adds the two signals to the image signal block. The video signal block is restored and stored in the first memory 7, and is restored to the subtractor 1.

한편, 제 2실시예에 의한 복호화방법에 대해 설명하면, 먼저, 디먹스부(13)는 전송매체(12)를 통해 부호화된 영상신호를 입력받아 디멀티플레싱하여 가변길이 부호화된 모양정보 및 가변길이 부호화된 변환계수신호를 출력하고, 복호기(15)는 상기 가변길이 부호화된 영상신호를 입력받아 양자화된 변환계수 신호로 변환하는 한편, 부가정보 복호기(14)는 상기 가변길이 부호화된 모양정보를 입력받아 원래의 모양정보로 복원시킨다.Meanwhile, referring to the decoding method according to the second embodiment, first, the demux unit 13 receives the encoded video signal through the transmission medium 12 and demultiplexes the shape information and the variable length coded shape information. A length-coded transform coefficient signal is output, and the decoder 15 receives the variable length coded image signal and converts it into a quantized transform coefficient signal, while the side information decoder 14 converts the variable length coded shape information. Receive the input and restore the original shape information.

이때, 제 2 역양자화기(16)는 상기 복호기(15)에서 양자화된 변환계수 신호를 입력받아 역양자화된 변환계수블록으로 변환하고, 제 2 역직교변환수단(500')은 상기 제 2 역양자화기(16)에서 역양자화된 변환계수블록을 입력받아 상기 모드제어기(400')에서 입력되는 모드제어신호에 의해 역변환 모드가 제어되어 상기 직교변환수단(200')에서의 직교변환순서와 역으로 역직교변환을 수행하며 이에 대한 상세 과정은 상기 제 1 역직교변환수단(300')과 동일하므로 생략하기로 한다.In this case, the second inverse quantizer 16 receives the transform coefficient signal quantized by the decoder 15 and converts the inverse quantized transform coefficient block, and the second inverse orthogonal transform means 500 'is the second inverse. The inverse transform mode is controlled by the mode control signal inputted from the mode controller 400 'by receiving the inverse quantized transform coefficient block from the quantizer 16 to reverse the orthogonal transform order in the orthogonal transform means 200'. Inverse orthogonal transformation is performed, and a detailed process thereof is the same as that of the first inverse orthogonal transformation means 300 ', and thus will be omitted.

이어서, 가산기(6b)는 상기 제 2 역직교변환수단(500')에서 역직교변환된 신호블록과 제 2 메모리(18)에서 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여서 복원된 영상신호블록을 출력한다.Subsequently, the adder 6b receives the signal block that has been inversely orthogonally transformed by the second inverse orthogonal transformation means 500 'and the image signal block that has been previously restored in the second memory 18, and adds the two signals to restore the inverse orthogonal transformation. Output the video signal block.

한편, 제 2 메모리(18)는 상기 제 2 가산기(6b)에서 출력되는 복원된 영상신호블록을 입력받아 저장하여 상기 제 2 가산기(6b)로 복원된 영상신호블록을 출력한다.Meanwhile, the second memory 18 receives and stores the reconstructed video signal block output from the second adder 6b and outputs the reconstructed video signal block to the second adder 6b.

상술한 바와 같이 본 발명에 의한 모양 적응적 선택을 이용하는 디지털 영상압축 부호화 및 복호화 장치 및 그 방법에 의하면 부호화하려는 영상신호블록에 대한 모양정보를 이용하여 그 영상신호블록에서 많은 화소를 포함하는 방향으로 먼저 변환을 수행한 후 나머지 방향으로 변환을 수행하도록 하여 부호화 효율을 높일 수 있고, 부호화된 신호를 입력받아 복호화시키는 과정에서 복원된 모양정보를 이용하여 상기 변환과 역순서로 역변환을 수행하므로써 복호화 효율을 높일 수 있다는 뛰어난 효과가 있다.As described above, according to the present invention, a digital image compression encoding and decoding apparatus using shape adaptive selection and a method thereof include a plurality of pixels in a video signal block using shape information of an image signal block to be encoded. First of all, the encoding efficiency can be increased by performing the transformation in the remaining direction, and the decoding efficiency is improved by performing the inverse transformation in the reverse order of the transformation by using the shape information reconstructed in the process of receiving and decoding the encoded signal. There is an excellent effect that you can increase.

Claims (30)

영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 장치에 있어서,In an apparatus for compressing and encoding a video signal block by performing orthogonal transformation using shape information, 부호화하려는 영상신호블록의 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 보다 많은 화소수를 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어기와,A mode controller which receives shape information of an image signal block to be encoded and analyzes the number of pixels in the horizontal and vertical directions and outputs a mode control signal for performing orthogonal transformation in a direction having more pixels; 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 직교변환을 수행하는 직교변환수단으로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And an orthogonal transformation means for receiving a mode control signal from the mode controller and performing orthogonal transformation according to the mode control signal. 제 1항에 있어서,The method of claim 1, 상기 모드제어기는 입력되는 모양정보의 최대 가로방향 화소수 및 최대 세로방향 화소수 중 큰 값을 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력함을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal for performing orthogonal transformation first in a direction having a larger value among the maximum horizontal pixels and the maximum vertical pixels of the shape information input. Digital video compression encoding device. 제 1항에 있어서,The method of claim 1, 상기 모드제어기는 입력되는 모양정보내 전체화소수를 최대가로방향 화소수 및 최대 세로방향 화소수로 각각 나누어 그 결과값 중 큰 값을 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력함을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal for dividing the total number of pixels in the shape information input into the maximum number of horizontal pixels and the maximum number of vertical pixels, respectively, to perform orthogonal transformation first in a direction having a larger value among the result values. Digital image compression encoding device using a shape adaptive selection characterized in that. 제 1항 내지 제 3항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3, 상기 모드제어기는 입력되는 모양정보의 가로방향 화소수를 세는 가로방향 카운터와,The mode controller includes a horizontal counter for counting the number of horizontal pixels of the shape information inputted; 입력되는 모양정보의 세로방향 화소수를 세는 세로방향 카운터와,A vertical counter that counts the number of vertical pixels of shape information input; 상기 가로 및 세로방향 카운터에서 가로 및 세로 방향 화소 카운터수에 대한 정보를 입력받아 비교하여 보다 많은 화소수를 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 비교기로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And a comparator configured to output a mode control signal for first performing orthogonal transformation in a direction having a larger number of pixels by receiving and comparing information on the number of horizontal and vertical pixel counters in the horizontal and vertical counters. Digital video compression encoding apparatus using shape adaptive selection. 부호화하려는 영상신호블록과 복원된 영상신호블록을 감산하여 예측오차신호블록을 출력하는 감산기와,A subtractor for outputting a prediction error signal block by subtracting a video signal block to be encoded and a reconstructed video signal block; 부호화에 도움을 주는 복원된 모양정보 및 가변길이 부호화된 모양정보를 출력하는 부가정보부호기와,An additional information encoder for outputting the reconstructed shape information and the variable length coded shape information to help the encoding; 상기 부가정보부호기에서 부호화하려는 영상신호블록의 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 보다 많은 화소수를 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어기와,Receiving the reconstructed shape information of the image signal block to be encoded by the additional information encoder, analyzing the number of pixels in the horizontal and vertical directions, and outputting a mode control signal to first perform orthogonal transformation in a direction having more pixels Mode controller, 상기 감산기에서 예측오차신호블록을 입력받아 상기 모드제어기에서 입력되는 모드제어신호 및 상기 부가정보부호기에서 입력되는 복원된 모양정보를 이용하여 직교변환을 수행하므로써 이에 상응하는 변환계수를 출력하는 직교변환수단과,Orthogonal transformation means for receiving a prediction error signal block from the subtractor and outputting a corresponding transformation coefficient by performing orthogonal transformation using the mode control signal input from the mode controller and the restored shape information input from the additional information encoder. and, 상기 직교변환수단에서 변환계수를 입력받아 양자화된 변환계수로 변환하는 양자화기와,A quantizer for receiving a transform coefficient from the orthogonal transform means and converting the transform coefficient into a quantized transform coefficient; 상기 양자화기에서 양자화된 변환계수를 입력받아 가변길이 부호화된 신호로 변환하는 가변길이 부호화기와,A variable length encoder for receiving a quantized transform coefficient from the quantizer and converting the transform coefficient into a variable length coded signal; 상기 가변길이 부호화기에서 가변길이 부호화된 신호를 입력받는 동시에 상기 부가정보 부호기에서 가변길이 부호화된 모양정보신호를 입력받아 그 두신호를 멀티플레싱하여 전송매체로 전송하는 다중화기로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.A shape adaptation device comprising: a multiplexer receiving a variable length coded signal from the variable length encoder and a variable length coded shape information signal from the side information encoder to multiplex the two signals and transmit the same to a transmission medium; Video compression encoding apparatus using automatic selection. 제 5항에 있어서,The method of claim 5, 상기 양자화기에서 양자화된 변환계수를 입력받아 역양자화된 변환계수로 변환하는 역양자화기와,An inverse quantizer for receiving a quantized transform coefficient from the quantizer and converting the quantized transform coefficient into a dequantized transform coefficient; 상기 역양자화기에서 역양자화된 변환계수를 입력받아 상기 부가정보 부호기에서 입력되는 복원된 모양정보 및 상기 모드제어기에서 입력되는 모드제어신호를 이용하여 상기 직교변환수단과의 역과정으로 역변환을 수행하므로써 이에 상응하는 역변환계수를 출력하는 역직교변환수단과,By receiving the inverse quantized conversion coefficient from the inverse quantizer by using the recovered shape information input from the additional information encoder and the mode control signal input from the mode controller by performing the inverse conversion with the orthogonal transformation means Inverse orthogonal transform means for outputting a corresponding inverse transform coefficient; 상기 역직교변환수단에서 역변환계수를 입력받는 동시에 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 영상신호블록을 복원하는 가산기와,An adder for receiving an inverse transform coefficient from the inverse orthogonal transform means and receiving a previously restored video signal block and adding the two signals to restore the video signal block; 상기 가산기에서 복원된 영상신호블록을 입력받아 다음 예측을 위해 저장한 후 상기 감산기로 그 복원된 영상신호블록을 출력하는 메모리가 추가되어 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And a memory for receiving the reconstructed image signal block by the adder, storing the image signal block for the next prediction, and outputting the reconstructed image signal block to the subtractor. . 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 방법에 있어서,In a method of compressing and encoding a video signal block by receiving orthogonal transformation using shape information, 부호화하려는 영상신호블록의 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 최대 가로방향 화소수 및 최대 세로방향 화소수 중 큰 값을 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와,Mode control signal that receives the shape information of the image signal block to be encoded and analyzes the number of pixels in the horizontal and vertical directions to perform orthogonal transformation first in the direction having the larger value among the maximum horizontal pixels and the maximum vertical pixels. Generating a mode control signal, and 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 직교변환을 수행하는 직교변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.And an orthogonal transformation step of performing orthogonal transformation by the mode control signal outputted in the mode control signal generation step. 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 방법에 있어서,In a method of compressing and encoding a video signal block by receiving orthogonal transformation using shape information, 부호화하려는 영상신호블록의 모양정보를 입력받아 모양정보내 전체화소수를 최대 가로방향 화소수 및 최대 세로방향 화소수로 각각 나누어 그 결과값 중 큰 값을 갖는 방향으로 먼저 직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와,A mode that receives the shape information of the image signal block to be encoded and divides the total number of pixels in the shape information into the maximum horizontal pixels and the maximum vertical pixels, respectively, and performs orthogonal transformation in the direction having the larger value first. A mode control signal generation step of outputting a control signal; 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 직교변환을 수행하는 직교변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.And an orthogonal transformation step of performing orthogonal transformation by the mode control signal outputted in the mode control signal generation step. 직교변환되어 압축부호화된 정보를 복호화하는 장치에 있어서,An apparatus for decoding orthogonal transformed and compressed coded information, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 판단하여 보다 적은 화소수를 갖는 방향으로 먼저 역직교변환시키도록 하는 모드제어신호를 출력하는 모드제어기와,A mode controller which receives the restored shape information of the image block to be decoded and outputs a mode control signal for determining the number of pixels in the horizontal and vertical directions and first performing inverse orthogonal transformation in a direction having a smaller number of pixels; 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 역직교변환을 수행하는 역직교변환수단으로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.And an inverse orthogonal transformation means for receiving a mode control signal from the mode controller and performing inverse orthogonal transformation accordingly. 제 9항에 있어서,The method of claim 9, 상기 모드제어기는 입력되는 모양정보의 최대 가로방향 화소수 및 최대 세로방향 화소수 중 작은 값을 갖는 방향으로 먼저 역직교변환을 수행하도록 하는 모드제어신호를 출력함을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.The mode controller outputs a mode control signal for first performing inverse orthogonal transformation in a direction having a smaller value among the maximum horizontal pixels and the maximum vertical pixels of the shape information input. Digital video compression decoding device to use. 제 9항에 있어서,The method of claim 9, 상기 모드제어기는 입력되는 모양정보내 전체화소수를 최대가로방향 화소수 및 최대 세로방향 화소수로 각각 나누어 그 결과값 중 작은 값을 갖는 방향으로 먼저 역직교변환을 수행하도록 하는 모드제어신호를 출력함을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.The mode controller outputs a mode control signal for dividing the total number of pixels in the shape information input into the maximum horizontal pixel number and the maximum vertical pixel number respectively so as to first perform inverse orthogonal transformation in a direction having a smaller value among the result values. Digital image compression and decoding apparatus using shape adaptive selection characterized in that. 제 9항 내지 제 11항 중 어느 한 항에 있어서,The method according to any one of claims 9 to 11, 상기 모드제어기는 입력되는 모양정보의 가로방향 화소수를 세는 가로방향 카운터와,The mode controller includes a horizontal counter for counting the number of horizontal pixels of the shape information inputted; 입력되는 모양정보의 세로방향 화소수를 세는 세로방향 카운터와,A vertical counter that counts the number of vertical pixels of shape information input; 상기 가로 및 세로방향 카운터에서 가로 및 세로 방향 화소 카운터수에 대한 정보를 입력받아 비교하여 보다 적은 화소수를 갖는 방향으로 먼저 역직교변환을 수행하도록 하는 모드제어신호를 출력하는 비교기로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.And a comparator configured to output a mode control signal for first performing inverse orthogonal transformation in a direction having a smaller number of pixels by receiving and comparing information about the number of horizontal and vertical pixel counters in the horizontal and vertical counters. Digital image compression and decoding device using shape adaptive selection. 영상압축부호화장치에 의해 부호화된 신호를 입력받아 디멀티플레싱하여 부호화된 모양정보와 부호화된 영상신호를 출력하는 디먹스부와,A demux unit for receiving the encoded signal by the image compression encoding apparatus and demultiplexing the encoded shape information and outputting the encoded image signal; 상기 디먹스부에서 부호화된 영상신호를 입력받아 가변길이 복호화된 신호로 변환하는 복호기와,A decoder which receives the video signal encoded by the demux unit and converts the image signal into a variable length decoded signal; 상기 복호기에서 가변길이 복호화된 신호를 입력받아 역양자화된 변환계수로 변환하는 역양자화기와,An inverse quantizer for receiving a variable length decoded signal from the decoder and converting the signal into a dequantized transform coefficient; 상기 디먹스부에서 부호화된 모양정보를 입력받아 복원시키는 부가정보복호기와,An additional information decoder for receiving and restoring the shape information encoded by the demux unit; 상기 부가정보복호기에서 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 판단하여 보다 적은 화소수를 갖는 방향으로 먼저 역직교변환시키도록 하는 모드제어신호를 출력하는 모드제어기와,The additional information decoder receives the restored shape information of the image block to be currently decoded, and outputs a mode control signal for determining the number of pixels in the horizontal and vertical directions and first performing inverse orthogonal transformation in the direction having the smaller number of pixels. With a mode controller 상기 역양자화기에서 역양자화된 변환계수를 입력받아 상기 모드제어기에서 입력되는 모드제어신호에 의해 역직교변환을 수행하는 역직교변환수단과,Inverse orthogonal transform means for receiving an inverse quantized transform coefficient from the inverse quantizer and performing inverse orthogonal transform by a mode control signal input from the mode controller; 상기 역직교변환수단에서 역직교변환된 신호블록을 입력받는 동시에 전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 복원된 영상신호블록을 출력하는 가산기와,An adder for receiving a signal block that has been inversely orthogonally transformed by the inverse orthogonal transformation means and receiving a previously restored image signal block and adding the two signals to output the reconstructed image signal block; 상기 가산기에서 복원된 영상신호블록을 입력받아 저장한 후 다음 예측을 위해 상기 가산기로 출력하는 메모리로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.And a memory for receiving and storing the image signal block reconstructed by the adder and outputting the image signal block to the adder for the next prediction. 직교변환되어 압축부호화된 정보를 복호화하는 방법에 있어서,In a method of decoding orthogonal transformed compressed coded information, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 가로 및 세로 방향으로의 화소수를 분석하여 최대 가로방향 화소수 및 최대 세로방향 화소수 중 작은 값을 갖는 방향으로 먼저 역직교변환시키도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와,Receives the shape information of the image block to be decoded and analyzes the number of pixels in the horizontal and vertical directions to inversely orthogonally transform the direction of the direction having the smaller value among the maximum horizontal pixels and the maximum vertical pixels. A mode control signal generating step of outputting a mode control signal; 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 역직교변환을 수행하는 역직교변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 방법.And an inverse orthogonal transformation step of performing inverse orthogonal transformation according to the mode control signal outputted in the mode control signal generating step. 직교변환되어 압축부호화된 정보를 복호화하는 방법에 있어서,In a method of decoding orthogonal transformed compressed coded information, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 모양정보내 전체화소수를 최대 가로방향 화소수 및 최대 세로방향 화소수로 각각 나누어 그 결과값 중 작은 값을 갖는 방향으로 먼저 역직교변환을 수행하도록 하는 모드제어신호를 출력하는 모드제어신호발생단계와,The restored shape information of the image block to be decoded is inputted, and the total number of pixels in the shape information is divided into the maximum horizontal pixels and the maximum vertical pixels, respectively. A mode control signal generating step of outputting a mode control signal for performing; 상기 모드제어신호발생단계에서 출력된 모드제어신호에 의해 역직교변환을 수행하는 역직교변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 방법.And an inverse orthogonal transformation step of performing inverse orthogonal transformation according to the mode control signal outputted in the mode control signal generating step. 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 장치에 있어서,In an apparatus for compressing and encoding a video signal block by performing orthogonal transformation using shape information, 부호화하려는 영상신호블록의 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 변환방법을 결정하고 이에 상응하는 모드제어신호 1 내지 4 중 어느 하나를 출력하는 모드제어기와,A mode controller which receives shape information of an image signal block to be encoded, compares the number of pixels of four edges of the image signal block, determines a conversion method, and outputs any one of mode control signals 1 to 4 corresponding thereto; 상기 모드제어기에서 모드제어신호를 입력받아 이에 따라 입력되는 영상신호블록을 정렬하거나 대칭이동시킨 후 직교변환시키는 직교변환수단으로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And an orthogonal transformation means for receiving a mode control signal from the mode controller and aligning or symmetrically shifting the input image signal block and orthogonally transforming the image signal block. 제 16항에 있어서,The method of claim 16, 상기 모드제어기는 입력되는 영상신호블록의 4모서리중 하단에 위치한 면에 가장 많은 화소들이 존재할 경우 모드제어신호 1을 출력하고, 이에 따라 상기 직교변환수단은 상기 모드제어신호 1을 입력받아 모양정보의 경계에 해당하는 입력영상신호블록의 화소들을 최상단에 배치하고, 가로방향으로 시프트하여 블록의 좌측단열에 정렬한 다음 가로 및 세로 직교변환을 순서대로 수행하는 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal 1 when there are most pixels on the bottom surface of the four edges of the input image signal block. Accordingly, the orthogonal conversion means receives the mode control signal 1 to receive the shape information. Digitally using shape adaptive selection, wherein pixels of an input image signal block corresponding to a boundary are arranged at the top, shifted horizontally to be aligned with the left column of the block, and horizontal and vertical orthogonal transformations are sequentially performed. Image compression encoding device. 제 16항에 있어서,The method of claim 16, 상기 모드제어기는 입력되는 영상신호블록의 4모서리중 우측단에 위치한 면에 가장 많은 화소들이 존재할 경우 모드제어신호 2를 출력하고, 이에 따라 상기 직교변환수단은 상기 모드제어신호 2을 입력받아 모양정보의 경계에 해당하는 입력영상신호블록의 화소들을 좌측단에 배치하고, 상단으로 시프트하여 블록의 상단열에 정렬한 다음 세로 및 가로 직교변환을 순서대로 수행하는 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal 2 when there are the most pixels on the surface located at the right end of the four edges of the input image signal block. Accordingly, the orthogonal conversion means receives the mode control signal 2 and receives shape information. The pixels of the input image signal block corresponding to the edges of the input image signal block are arranged at the left end, shifted to the top to align with the top column of the block, and then vertically and horizontally orthogonal transformation is performed. Image compression encoding device. 제 16항에 있어서,The method of claim 16, 상기 모드제어기는 입력되는 영상신호블록의 4모서리중 상단에 위치한 면에 가장 많은 화소들이 존재할 경우 모드제어신호 3을 출력하고, 이에 따라 상기 직교변환수단은 상기 모드제어신호 3을 입력받아 입력영상신호블록의 화소들을 세로방향으로 대칭이동시키고, 블록상단으로 정렬하며, 블록좌측단에 대하여 정렬한 다음 가로 및 세로 직교변환을 순서대로 수행하는 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal 3 when there are the most pixels on the top surface of the four edges of the input image signal block. Accordingly, the quadrature conversion means receives the mode control signal 3 and receives the input image signal. Digital image compression encoding apparatus using shape adaptive selection, characterized in that the pixels of the block are vertically symmetrically shifted, aligned at the top of the block, aligned with respect to the left end of the block, and then horizontally and vertically orthogonally transformed. . 제 16항에 있어서,The method of claim 16, 상기 모드제어기는 입력되는 영상신호블록의 4모서리중 좌측단에 위치한 면에 가장 많은 화소들이 존재할 경우 모드제어신호 4를 출력하고, 이에 따라 상기 직교변환수단은 상기 모드제어신호 4를 입력받아 입력영상신호블록의 화소들을 가로방향으로 대칭이동시키고, 블록좌측단으로 정렬하며, 블록상단에 대하여 정렬한 다음 세로 및 가로 직교변환을 순서대로 수행하는 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.The mode controller outputs a mode control signal 4 when there are the most pixels on the left side of the four edges of the input image signal block. Accordingly, the quadrature conversion means receives the mode control signal 4 and receives an input image. Digital image compression encoding using shape adaptive selection, characterized in that the pixels of the signal block are symmetrically moved in the horizontal direction, aligned to the left end of the block, aligned to the top of the block, and then vertical and horizontal orthogonal transformation is performed in order. Device. 제 16항 내지 제 20항 중 어느 한 항에 있어서,The method according to any one of claims 16 to 20, 상기 모드제어기는 부호화하려는 영상신호블록의 모양정보를 입력받아 영상신호블록의 4모서리의 화소수에 대한 정보를 출력하는 경계화소측정수단과,The mode controller includes boundary pixel measurement means for receiving shape information of an image signal block to be encoded and outputting information on the number of pixels of four edges of the image signal block; 상기 경계화소측정수단에서 입력영상신호블록의 4모서리의 화소수에 대한 정보를 입력받아 비교하여 가장 많은 화소수를 갖는 면에 대한 모드제어신호 1 내지 4 중 어느 하나를 출력하는 비교기로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And a comparator for receiving and comparing information on the number of pixels of four edges of the input image signal block from the boundary pixel measuring means and outputting any one of mode control signals 1 to 4 for the plane having the largest number of pixels. Digital video compression encoding apparatus using shape adaptive selection. 부호화하려는 영상신호블록과 복원된 영상신호블록을 감산하여 예측오차신호블록을 출력하는 감산기와,A subtractor for outputting a prediction error signal block by subtracting a video signal block to be encoded and a reconstructed video signal block; 부호화에 도움을 주는 복원된 모양정보 및 가변길이 부호화된 모양정보를 출력하는 부가정보부호기와,An additional information encoder for outputting the reconstructed shape information and the variable length coded shape information to help the encoding; 상기 부가정보부호기에서 부호화하려는 영상신호블록의 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 변환방법을 결정하고 이에 상응하는 모드제어신호 1 내지 4 중 어느 하나를 출력하는 모드제어기와,The sub information encoder receives the restored shape information of the image signal block to be encoded, compares the number of pixels of four edges of the image signal block, determines a conversion method, and outputs any one of mode control signals 1 to 4 corresponding thereto. Mode controller, 상기 모드제어기에서 모드제어신호를 입력받아 이에 따라 상기 감산기에서 입력되는 예측오차신호블록을 정렬하거나 대칭이동시킨 후 직교변환시키는 직교변환수단과,Orthogonal transformation means for receiving a mode control signal from the mode controller and aligning or symmetrically shifting the prediction error signal block inputted from the subtractor according to the orthogonal transformation; 상기 직교변환수단에서 변환계수를 입력받아 양자화된 변환계수로 변환하는 양자화기와,A quantizer for receiving a transform coefficient from the orthogonal transform means and converting the transform coefficient into a quantized transform coefficient; 상기 양자화기에서 양자화된 변환계수를 입력받아 가변길이 부호화된 신호로 변환하는 가변길이 부호화기와,A variable length encoder for receiving a quantized transform coefficient from the quantizer and converting the transform coefficient into a variable length coded signal; 상기 가변길이 부호화기에서 가변길이 부호화된 신호를 입력받는 동시에 상기 부가정보 부호기에서 가변길이 부호화된 모양정보신호를 입력받아 그 두신호를 멀티플레싱하여 전송매체로 전송하는 다중화기로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.A shape adaptation device comprising: a multiplexer receiving a variable length coded signal from the variable length encoder and a variable length coded shape information signal from the side information encoder to multiplex the two signals and transmit the same to a transmission medium; Video compression encoding apparatus using automatic selection. 제 22항에 있어서,The method of claim 22, 상기 양자화기에서 양자화된 변환계수를 입력받아 역양자화된 변환계수로 변환하는 역양자화기와,An inverse quantizer for receiving a quantized transform coefficient from the quantizer and converting the quantized transform coefficient into a dequantized transform coefficient; 상기 역양자화기에서 역양자화된 변환계수를 입력받아 상기 부가정보 부호기에서 입력되는 복원된 모양정보 및 상기 모드제어기에서 입력되는 모드제어신호를 이용하여 상기 직교변환수단과의 역과정으로 역변환을 수행한 후 이를 모양정보를 이용하여 원래 영상신호블록의 위치에 재정렬하므로써 이에 상응하는 역변환계수를 출력하는 역직교변환수단과,Inverse transformation is performed inversely with the orthogonal transformation means by receiving the inverse quantized transform coefficient from the inverse quantizer and using the restored shape information inputted from the side information encoder and a mode control signal inputted from the mode controller. And inverse orthogonal transform means for outputting an inverse transform coefficient corresponding to the position of the original video signal block by using the shape information. 상기 역직교변환수단에서 역변환계수를 입력받는 동시에 이전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 영상신호블록을 복원하는 가산기와,An adder for receiving an inverse transform coefficient from the inverse orthogonal transform means and receiving a previously restored video signal block and adding the two signals to restore the video signal block; 상기 가산기에서 복원된 영상신호블록을 입력받아 다음 예측을 위해 저장한 후 상기 감산기로 그 복원된 영상신호블록을 출력하는 메모리가 추가되어 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 장치.And a memory for receiving the reconstructed image signal block by the adder, storing the image signal block for the next prediction, and outputting the reconstructed image signal block to the subtractor. . 영상신호블록을 입력받아 모양정보를 이용하여 직교변환하므로써 압축부호화하는 방법에 있어서,In a method of compressing and encoding a video signal block by receiving orthogonal transformation using shape information, 부호화하려는 영상신호블록의 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 이에 상응하는 모드제어신호 1 내지 4 중 어느 하나를 출력하는 모드제어신호발생단계와,A mode control signal generation step of receiving shape information of an image signal block to be encoded and comparing the number of pixels of four edges of the image signal block and outputting any one of mode control signals 1 to 4 corresponding thereto; 상기 모드제어신호발생단계에서 입력되는 영상신호블록의 4모서리중 하단에 위치한 면에 가장 많은 화소들이 존재하여 모드제어신호 1을 출력하면 이에 따라 모양정보의 경계에 해당하는 입력영상신호블록의 화소들을 최상단에 배치하고, 가로방향으로 시프트하여 블록의 좌측단열에 정렬한 다음 가로 및 세로 직교변환을 순서대로 수행하는 제 1 변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.In the mode control signal generation step, when the mode control signal 1 is output because the most pixels exist on the lower surface among the four edges of the image signal block inputted, the pixels of the input image signal block corresponding to the boundary of the shape information are accordingly. And a first conversion step of arranging at the top, shifting in the horizontal direction to align with the left column of the block, and performing horizontal and vertical orthogonal transformations in order. 제 24항에 있어서,The method of claim 24, 상기 모드제어신호발생단계에서 입력되는 영상신호블록의 4모서리중 우측단에 위치한 면에 가장 많은 화소들이 존재하여 모드제어신호 2를 출력하면, 이에 따라 모양정보의 경계에 해당하는 입력영상신호블록의 화소들을 좌측단에 배치하고, 상단으로 시프트하여 블록의 상단열에 정렬한 다음 세로 및 가로 직교변환을 순서대로 수행하는 제 2변환단계가 추가되어 이루어짐 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.When the mode control signal 2 is output due to the largest number of pixels on the surface located at the right end of the four edges of the image signal block input in the mode control signal generation step, according to the boundary of the shape information, Digital image compression encoding using shape adaptive selection, comprising a second conversion step of placing pixels at the left end, shifting them to the top, aligning them in the top column of the block, and performing vertical and horizontal orthogonal transformations in order. Way. 제 24항에 있어서,The method of claim 24, 상기 모드제어신호발생단계에서 입력되는 영상신호블록의 4모서리중 상단에 위치한 면에 가장 많은 화소들이 존재하여 모드제어신호 3을 출력하면, 이에 따라 입력영상신호블록의 화소들을 세로방향으로 대칭이동시키고, 블록상단으로 정렬하며, 블록좌측단에 대하여 정렬한 다음 가로 및 세로 직교변환을 순서대로 수행하는 제 3변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.When the mode control signal 3 is output because most pixels exist on the top surface of the four edges of the image signal block input in the mode control signal generation step, the pixels of the input image signal block are symmetrically moved in the vertical direction. And a third transformation step of aligning the upper end of the block, aligning the left end of the block, and then performing horizontal and vertical orthogonal transformations in order. 제 24항에 있어서,The method of claim 24, 상기 상기 모드제어신호발생단계에서 입력되는 영상신호블록의 4모서리중 좌측단에 위치한 면에 가장 많은 화소들이 존재하여 모드제어신호 4를 출력하면, 이에 따라 입력영상신호블록의 화소들을 가로방향으로 대칭이동시키고, 블록좌측단으로 정렬하며, 블록상단에 대하여 정렬한 다음 세로 및 가로 직교변환을 순서대로 수행하는 제 4변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축부호화 방법.When the mode control signal 4 is output due to the largest number of pixels on the left side of the four edges of the image signal block input in the mode control signal generation step, the pixels of the input image signal block are symmetrical in the horizontal direction. And a fourth transforming step of moving the blocks, arranging them to the left end of the block, and aligning the upper ends of the blocks, and performing vertical and horizontal orthogonal transformations in order. 직교변환되어 압축부호화된 정보를 복호화하는 장치에 있어서,An apparatus for decoding orthogonal transformed and compressed coded information, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 역변환방법을 결정하고 이에 상응하여 모드제어신호를 출력하는 모드제어기와,A mode controller which receives the reconstructed shape information of the image block to be currently decoded, compares the number of pixels of four edges of the image signal block, determines an inverse conversion method, and outputs a mode control signal accordingly; 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 직교변환과정과 역으로 역직교변환을 수행한 후 원래 영상신호의 위치에 재정렬하는 역직교변환수단으로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.The mode controller receives the mode control signal and correspondingly performs an inverse orthogonal transformation inverse to the orthogonal transformation process and then inverts the orthogonal transformation means to rearrange the position of the original video signal. Digital video compression decoding device. 영상압축부호화장치에 의해 부호화된 신호를 입력받아 디멀티플레싱하여 부호화된 모양정보와 부호화된 영상신호를 출력하는 디먹스부와,A demux unit for receiving the encoded signal by the image compression encoding apparatus and demultiplexing the encoded shape information and outputting the encoded image signal; 상기 디먹스부에서 부호화된 영상신호를 입력받아 가변길이 복호화된 신호로 변환하는 복호기와,A decoder which receives the video signal encoded by the demux unit and converts the image signal into a variable length decoded signal; 상기 복호기에서 가변길이 복호화된 신호를 입력받아 역양자화된 변환계수로 변환하는 역양자화기와,An inverse quantizer for receiving a variable length decoded signal from the decoder and converting the signal into a dequantized transform coefficient; 상기 디먹스부에서 부호화된 모양정보를 입력받아 복원시키는 부가정보복호기와,An additional information decoder for receiving and restoring the shape information encoded by the demux unit; 상기 부가정보복호기에서 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 역변환방법을 결정하고 이에 상응하여 모드제어신호를 출력하는 모드제어기와,A mode controller which receives the reconstructed shape information of the image block to be decoded by the additional information decoder, compares the number of pixels of four edges of the image signal block, and determines an inverse conversion method and outputs a mode control signal accordingly; 상기 모드제어기에서 모드제어신호를 입력받아 이에 상응하여 상기 역양자화기에서 입력되는 역양자화된 변환계수를 직교변환과정과 역으로 역직교변환을 수행한 후 원래 영상신호의 위치에 재정렬하는 역직교변환수단과,An inverse orthogonal transformation in which a mode control signal is inputted from the mode controller and inversely orthogonally transforms an inverse quantized transformation coefficient inputted from the inverse quantizer into an orthogonal transformation process and inversely to a position of an original video signal Sudan, 상기 역직교변환수단에서 역직교변환된 신호블록을 입력받는 동시에 전에 복원된 영상신호블록을 입력받아 그 두 신호를 가산하여 복원된 영상신호블록을 출력하는 가산기와,An adder for receiving a signal block that has been inversely orthogonally transformed by the inverse orthogonal transformation means and receiving a previously restored image signal block and adding the two signals to output the reconstructed image signal block; 상기 가산기에서 복원된 영상신호블록을 입력받아 저장한 후 다음 예측을 위해 상기 가산기로 출력하는 메모리로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 장치.And a memory for receiving and storing the image signal block reconstructed by the adder and outputting the image signal block to the adder for the next prediction. 직교변환되어 압축부호화된 정보를 복호화하는 방법에 있어서,In a method of decoding orthogonal transformed compressed coded information, 현재 복호화 하려는 영상블록에 대한 복원된 모양정보를 입력받아 영상신호블록의 4모서리의 화소수를 비교하여 역변환방법을 결정하고 이에 상응하여 모드제어신호를 출력하는 모드제어신호발생단계와,A mode control signal generation step of receiving the reconstructed shape information of the current image block to be decoded, comparing the number of pixels of four edges of the image signal block to determine an inverse conversion method, and outputting a mode control signal accordingly; 상기 모드제어신호발생단계에서 모드제어신호를 입력받아 이에 상응하여 직교변환과정과 역으로 역직교변환을 수행한 후 원래 영상신호의 위치에 재정렬하는 역변환단계로 이루어진 것을 특징으로 하는 모양 적응적 선택을 이용하는 디지털 영상압축복호화 방법.In the mode control signal generation step receives the mode control signal corresponding to the orthogonal conversion process and inverse orthogonal transform inversely corresponding to the shape of the original image signal, the inverse transform step consisting of the step of adaptive selection Digital video compression decoding method to use.
KR1019990011238A 1999-03-31 1999-03-31 Digital video compression coding and decoding system using shape adaptive selection and thereof method KR100293369B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990011238A KR100293369B1 (en) 1999-03-31 1999-03-31 Digital video compression coding and decoding system using shape adaptive selection and thereof method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990011238A KR100293369B1 (en) 1999-03-31 1999-03-31 Digital video compression coding and decoding system using shape adaptive selection and thereof method

Publications (2)

Publication Number Publication Date
KR20000061858A KR20000061858A (en) 2000-10-25
KR100293369B1 true KR100293369B1 (en) 2001-06-15

Family

ID=19578369

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990011238A KR100293369B1 (en) 1999-03-31 1999-03-31 Digital video compression coding and decoding system using shape adaptive selection and thereof method

Country Status (1)

Country Link
KR (1) KR100293369B1 (en)

Also Published As

Publication number Publication date
KR20000061858A (en) 2000-10-25

Similar Documents

Publication Publication Date Title
JP3888597B2 (en) Motion compensation coding apparatus and motion compensation coding / decoding method
USRE40079E1 (en) Video encoding and decoding apparatus
US5999655A (en) Method and apparatus for transmission of video pictures which are segmented to form maps of picture blocks of variable block sizes
US7616687B2 (en) Signal compressing system
US20040136457A1 (en) Method and system for supercompression of compressed digital video
US7764735B2 (en) Signal compressing system
US6674910B1 (en) Apparatus and method for image-compression encoding and decoding using adaptive transform
JP2002199402A (en) System for transcoding discrete cosine transform coded signals, and method related thereto
KR20040007139A (en) Coding and decoding method and apparatus using plural scanning patterns
KR20060119628A (en) Image compression method and apparatus therefor and image restoring method and apparatus therefor
US7426311B1 (en) Object-based coding and decoding apparatuses and methods for image signals
KR100293369B1 (en) Digital video compression coding and decoding system using shape adaptive selection and thereof method
KR100530566B1 (en) Image compression coding and decoding apparatus using adaptive transformation method and method thereof
JP3948442B2 (en) Motion compensation decoding apparatus
KR100460947B1 (en) Device for processing image signal and method thereof
KR100203694B1 (en) Method and apparatus for encoding an image signal having an object by using an extension-interpolation technique
KR100203713B1 (en) Method and apparatus for processing an image signal having an object by using an extension-interpolation technique
JPH03124124A (en) Inter-frame/in-frame adaptive coding system
KR20000050508A (en) Apparatus for hierarchial motion estimation in image coder

Legal Events

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

Payment date: 20110404

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee