KR19980023632A - Video signal compression coding device - Google Patents

Video signal compression coding device Download PDF

Info

Publication number
KR19980023632A
KR19980023632A KR1019960043130A KR19960043130A KR19980023632A KR 19980023632 A KR19980023632 A KR 19980023632A KR 1019960043130 A KR1019960043130 A KR 1019960043130A KR 19960043130 A KR19960043130 A KR 19960043130A KR 19980023632 A KR19980023632 A KR 19980023632A
Authority
KR
South Korea
Prior art keywords
step size
quantization step
quantization
orthogonal transform
output
Prior art date
Application number
KR1019960043130A
Other languages
Korean (ko)
Other versions
KR100200627B1 (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 KR1019960043130A priority Critical patent/KR100200627B1/en
Publication of KR19980023632A publication Critical patent/KR19980023632A/en
Application granted granted Critical
Publication of KR100200627B1 publication Critical patent/KR100200627B1/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/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/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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/176Methods 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 an image region, e.g. an object the region being a block, e.g. a macroblock

Abstract

본 발명은 영상신호 압축 부호화 장치에 관한 것으로서, 입력 영상 신호를 직교변환 블록과 소블록 및 대블록으로 블록화시키는 블록화 수단; 상기 블록화 수단으로부터 출력된 신호를 직교변환 블록단위로 직교변환을 수행하는 직교변환 수단; 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 입력으로하여 다단계 부호화 과정을 거쳐 양자화 스텝사이즈를 결정하는 양자화 스텝사이즈 선정 수단; 상기 양자화 스텝사이즈 선정 수단에서 양자화 스텝사이즈를 선정하는 동안 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 지연시키는 버퍼; 상기 양자화 스텝사이즈 선정 수단에서 선정된 양자화 스텝사이즈로 상기 버퍼로부터 출력된 계수에 양자화를 수행하는 양자화 수단; 상기 양자화 수단으로부터 양자화된 신호로 연속장 부호화를 수행하는 연속장 부호화 수단; 상기 연속장 부호화 수단으로부터 출력된 신호로 가변장 부호화를 수행하는 가변장 부호화 수단; 및 상기 가변장 부호화 수단으로부터 출력된 신호를 소정의 포맷에 맞게 기록하기 위하여 데이터를 재배치하는 데이터 정렬기를 포함한다. 따라서, 고속 탐색의 효율을 높이기 위하여 입력신호를 독립적인 일정 단위로 압축 부호화하고, 입력신호의 부호량을 일정한 크기로 맞추기 위한 보다 효율적인 양자화를 수행할 수 있도록 함으로써, 화질을 향상시키는 효과를 제공한다.The present invention relates to a video signal compression encoding apparatus, comprising: block means for blocking an input video signal into an orthogonal transform block, a small block, and a large block; Orthogonal transform means for performing orthogonal transform of the signal output from the blocking means in orthogonal transform block units; Quantization step size selection means for determining the quantization step size through a multi-stage encoding process by inputting the orthogonal transform coefficients output from the orthogonal transform means; A buffer for delaying the orthogonal transformed coefficients output from the orthogonal transformation means while the quantization step size selection means selects the quantization step size; Quantization means for performing quantization on coefficients output from the buffer at the quantization step size selected by the quantization step size selection means; Continuous field encoding means for performing continuous field encoding on the quantized signal from the quantization means; Variable length encoding means for performing variable length encoding on the signal output from the continuous field encoding means; And a data sorter for rearranging the data in order to record the signal output from the variable length encoding means in a predetermined format. Accordingly, in order to increase the efficiency of the fast search, compression and coding of the input signal are performed in independent units, and the quantization can be performed more efficiently to adjust the code amount of the input signal to a certain size, thereby improving the image quality. .

Description

영상신호 압축 부호화 장치Video signal compression coding device

본 발명은 영상신호 압축 부호화 장치에 관한 것으로서, 특히 화질의 측면에서 크게 영향을 미치는 신호압축단계에서 사용되는 양자화 스텝사이즈 생성방법 및 그에 적합한 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video signal compression encoding apparatus, and more particularly, to a method for generating a quantization step size used in a signal compression step having a great effect in terms of image quality, and a device suitable therefor.

디지탈 비디오 카셋트 레코더(Digital Video Cassette Recorder; 이하 DVCR이라 함)의 출현은 비디오 테이프의 기록 밀도 증가와 디지탈 압축 기법의 향상 및 디지탈 회로 기술의 발달로 가능하게 되었다. 현재 DVCR은 여러번 반복 재생하여도 그 화질에 열화가 없이 원화상의 화질을 유지할 수 있는 등 많은 장점을 갖고 있기 때문에 아날로그 비디오 테이프 레코더에서 디지탈 비디오 테이프 레코더로의 변환은 필연적이라 할 수 있다. 표준 비디오 영상의 DVCR에 대한 국제 표준안이 결정됨에 따라 향후 DVCR의 많은 수요가 예상되며 그 응용분야도 다양해져 간다.The advent of the Digital Video Cassette Recorder (hereinafter referred to as DVCR) has been made possible by the increasing recording density of video tapes, the improvement of digital compression techniques and the development of digital circuit technology. Since DVCR has many advantages such as maintaining the original image quality without deterioration even after repeated playback, conversion from an analog video tape recorder to a digital video tape recorder is inevitable. As the international standard for DVCR of standard video image is decided, much demand of DVCR is expected in the future and its application is also diversified.

DVCR 시스템의 성능, 특히 화질의 측면에서 크게 영향을 미치는 부분인 압축단계에서 사용되는 양자화 스텝 사이즈의 생성기법은 영상신호의 압축방법에 있어 대부분의 사양이 고정되어 있기 때문에 전체 시스템의 화질에 관련된 핵심부분이다.The generation technique of the quantization step size used in the compression stage, which greatly affects the performance of the DVCR system, especially in terms of the image quality, is the key to the image quality of the entire system because most specifications are fixed in the compression method of the video signal. Part.

종래에는 디지탈 영상신호를 비디오 테이프에 기록시 매 프레임마다 일정수의 비디오 트랙에 기록해야 하므로 출력이 일정치 않은 가변장 부호화 방법을 사용하여 영상신호를 압축 기록하는데 있어서 많은 문제점이 발생하게 된다. 즉, 압축되어 출력되는 영상신호는 어떤 경우는 고정된 목표 길이보다 적을 수도 있고, 어떤 경우는 초과할 수도 있게 된다. 이 경우 재생되는 화질의 저하 및 손상을 가져오게 되므로 가급적이면 주어진 영역을 효율적으로 이용하여 고정된 목표 길이에 근접하는 부호 길이의 출력 방법이 DVCR의 영상신호 압축부분에 있어서 필수적이다.Conventionally, since a digital video signal must be recorded in a predetermined number of video tracks every frame when recording on a videotape, many problems occur in compressing and recording a video signal using a variable length coding method in which the output is not constant. That is, the compressed and output video signal may be smaller than the fixed target length in some cases and may be exceeded in some cases. In this case, since the degradation and damage of the image quality to be reproduced are caused, a code length output method approaching a fixed target length by using a given area as efficiently as possible is essential in the video signal compression part of the DVCR.

또한, DVCR의 부가 기능중에서 고속 탐색이 필수적이며 이 기능의 구현이 가장 어려운 문제점 중의 하나가 된다. 아날로그 비디오 테이프 레코더의 경우 고속 탐색시에도 별도의 방법이 없이 그냥 읽혀진대로 재생하여 디스플레이하면 된다. 그러나, DVCR의 경우는 가변장 부호화 방법을 사용하여 기록하므로 일부분이 읽혀지더라도 모든 신호가 재생되지 못한다. 현재 이러한 고속 탐색 기능의 구현을 위하여 압축되어 출력되는 부호 코드를 가능하면 적은 단위의 독립적인 복호화가 가능한 단위로의 고정이 필요하다.In addition, among the additional functions of the DVCR, high-speed search is essential and the implementation of this function is one of the most difficult problems. In the case of an analog video tape recorder, there is no need for a high speed search. However, in the case of DVCR, recording is performed using the variable length coding method, so that even if a part is read, all signals cannot be reproduced. Currently, in order to implement such a fast search function, it is necessary to fix a code code that is compressed and output to a unit capable of independent decoding of as few units as possible.

이러한 것을 위하여 일정수의 소블럭으로 구성된 하나의 대블럭 단위로 가변장 부호화를 수행하며, 출력된 부호 코드는 일정한 비디오 테이프의 영역에 기록하기 위하여 일정 포맷에 맞게 강제로 고정하게 된다. 독립적인 부호화 단위를 전체 프레임에서 소단위로 축소함으로서 고속 탐색의 성능을 높일 수 있다. 그러나, 대블럭 단위의 고정은 고속 탐색에는 그 성능이 좋을지 몰라도 신호 압축 측면에서 보면 프레임 단위에 비하여 화질 측면 등에서 상대적인 손해가 있게된다.To this end, variable-length coding is performed in units of one large block composed of a certain number of small blocks, and the output code codes are forcibly fixed in accordance with a predetermined format for recording in a constant video tape area. The performance of fast searching can be improved by reducing the independent coding units from the entire frame to the sub-units. However, although the performance of the large block unit may be good for high-speed search, there is a relative loss in image quality compared to the frame unit in terms of signal compression.

하나의 독립적인 대블럭 단위로 부호화된 코드를 일정 영역의 비디오 테이프에 기록하기 위한 방법에 있어서 그 성능을 좌우하는 가장 중요한 부분은 양자화 과정이 된다. 압축과정은 크게 가변장 부호화 과정과 양자화 과정으로 구성되는데, 가변장 부호화 과정에서는 연속장 부호화(RLC;Run Length Coding)을 거친 신호를 가변장 부호 테이블에 의하여 부호화를 수행하므로 입력되는 신호에 따라 그대로 부호화만 해주는 에러가 없는 압축과정이 된다. 이러한 과정의 전단계에 있어서 입력된 신호의 정보량에 따라 일정 크기의 고정된 영역에 기록하기 위하여 데이터의 양을 줄이는데 이용되는 정확하고 효율적인 양자화 과정이 중요하고 필수적이다.In a method for recording a code encoded in one independent large block unit on a certain area of a video tape, the most important part of the performance is a quantization process. The compression process is largely composed of a variable length coding process and a quantization process. In the variable length coding process, a signal that has undergone continuous length coding (RLC) is encoded by a variable length code table, so that it is changed according to an input signal. It is a compression-free compression process that only encodes. In the previous stage of the process, an accurate and efficient quantization process used to reduce the amount of data is important and essential for recording in a fixed area of a certain size according to the amount of information of the input signal.

본 발명은 적당한 크기의 비디오 테이프에 충분한 시간동안 재생될 수 있도록 디지탈 영상 신호를 영상 데이터 압축 기법을 제공하기 위한 것으로서, 특히 고속 탐색의 효율을 높이기 위하여 입력 신호를 독립적인 일정 단위로 압축 부호화하는 방법에 있어서 입력 신호의 부호량을 일정한 크기로 맞추기 위한 보다 효율적인 영상신호 압축 부호화 장치를 제공함에 있다.The present invention is to provide a video data compression technique for a digital video signal to be reproduced for a sufficient time on a video tape of a suitable size, in particular, a method of compression coding the input signal in an independent unit in order to increase the efficiency of fast search To provide a more efficient video signal compression coding apparatus for matching the code amount of the input signal to a constant size.

도 1은 본 발명에 따른 고정된 크기의 영역에 압축 부호화된 신호를 기록하기 위한 영상 신호 압축 부호화기의 블록도이다.1 is a block diagram of a video signal compression encoder for recording a compression coded signal in a fixed size region according to the present invention.

도 2는 도 1의 블록화 유니트(2)의 구성을 보이는 도면이다.FIG. 2 is a diagram showing the configuration of the blocking unit 2 of FIG.

도 3은 본 발명에 따른 양자화 스텝사이즈를 선정하기 위한 일실시예로서 양자화 스텝사이즈 선택 유니트의 상세 블록도이다.3 is a detailed block diagram of a quantization step size selection unit as an embodiment for selecting a quantization step size according to the present invention.

도 4는 본 발명에 따른 양자화 스텝사이즈를 선정하기 위한 다른 일실시예로서 양자화 스텝사이즈 선택 유니트의 상세 블록도이다.4 is a detailed block diagram of a quantization step size selection unit as another embodiment for selecting a quantization step size according to the present invention.

도 5는 본 발명에 따른 양자화기의 블록도이다.5 is a block diagram of a quantizer according to the present invention.

도 6은 본 발명에 따른 양자화 스텝사이즈의 선택을 보이는 일실시예의 흐름도이다.6 is a flowchart of one embodiment showing selection of a quantization step size in accordance with the present invention.

도 7은 본 발명에 따른 양자화 스텝사이즈의 선택을 보이는 다른 일실시예의 흐름도이다.7 is a flowchart of another embodiment showing selection of a quantization step size in accordance with the present invention.

도 8은 본 발명에 따른 양자화 스텝사이즈 선택 방법 흐름도이다.8 is a flowchart illustrating a method of selecting a quantization step size according to the present invention.

상술한 바와 같은 목적을 달성하기 위한 본 발명에 따른 영상신호 압축 부호화 장치는 입력 영상 신호를 직교변환 블록과 소블록 및 대블록으로 블록화시키는 블록화 수단; 상기 블록화 수단으로부터 출력된 신호를 직교변환 블록단위로 직교변환을 수행하는 직교변환 수단; 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 입력으로하여 다단계 부호화 과정을 거쳐 양자화 스텝사이즈를 결정하는 양자화 스텝사이즈 선정 수단; 상기 양자화 스텝사이즈 선정 수단에서 양자화 스텝사이즈를 선정하는 동안 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 지연시키는 버퍼; 상기 양자화 스텝사이즈 선정 수단에서 선정된 양자화 스텝사이즈로 상기 버퍼로부터 출력된 계수에 양자화를 수행하는 양자화 수단; 상기 양자화 수단으로부터 양자화된 신호로 연속장 부호화를 수행하는 연속장 부호화 수단; 상기 연속장 부호화 수단으로부터 출력된 신호로 가변장 부호화를 수행하는 가변장 부호화 수단; 및 상기 가변장 부호화 수단으로부터 출력된 신호를 소정의 포맷에 맞게 기록하기 위하여 데이터를 재배치하는 데이터 정렬기를 포함한다.In accordance with another aspect of the present invention, there is provided a video signal compression encoding apparatus comprising: block means for blocking an input video signal into an orthogonal transform block, a small block, and a large block; Orthogonal transform means for performing orthogonal transform of the signal output from the blocking means in orthogonal transform block units; Quantization step size selection means for determining the quantization step size through a multi-stage encoding process by inputting the orthogonal transform coefficients output from the orthogonal transform means; A buffer for delaying the orthogonal transformed coefficients output from the orthogonal transformation means while the quantization step size selection means selects the quantization step size; Quantization means for performing quantization on coefficients output from the buffer at the quantization step size selected by the quantization step size selection means; Continuous field encoding means for performing continuous field encoding on the quantized signal from the quantization means; Variable length encoding means for performing variable length encoding on the signal output from the continuous field encoding means; And a data sorter for rearranging the data in order to record the signal output from the variable length encoding means in a predetermined format.

상기 입력 정보의 균등화를 위한 블록화 수단은 수개의 직교변환 블록으로 구성된 소블럭 단위의 처리 후 수개의 소블록으로 구성된 대블록 단위의 처리 또는 대블록 단위의 처리 후 소블록 단위의 처리가 가능한 것을 특징으로 한다.Blocking means for the equalization of the input information is characterized in that it is possible to process in a small block unit after the processing of a small block unit of several small blocks or processing of a small block unit after the processing of a small block unit consisting of several orthogonal transform blocks. It is done.

상기 양자화 수단은 양자화 스텝사이즈에 의하여 제어되며 입력신호를 비트 시프트 시키거나 또는 양자화 테이블에 스텝사이즈를 곱한 것을 입력 신호에 나누는 것을 특징으로 한다.The quantization means is controlled by the quantization step size and characterized in that the input signal is bit-shifted or divided by the step size multiplied by the quantization table divided by the input signal.

상기 양자화 스텝사이즈 선정 수단은 기준 양자화 스텝사이즈 외에 수개의 양자화 스텝사이즈를 이용하여 병렬로 양자화 수단, 연속장 부호화 수단, 가변장 부호화 수단 및 누적 수단을 수행하여 목표 정보량에 가장 근접한 결과를 출력시키는 양자화 스텝사이즈를 선정하는 것을 특징으로 한다.The quantization step size selecting means performs quantization means, continuous field coding means, variable length coding means, and accumulation means in parallel using several quantization step sizes in addition to the reference quantization step size to output a result closest to the target information amount. It is characterized by selecting a step size.

상기 양자화 스텝사이즈 선정기의 정규화기는 주어진 입력 신호인 직교변환된 계수들에 대하여 기준 양자화 스텝사이즈를 사용하여 양자화 과정을 수행한 후 연속장 부호화 과정을 거쳐 발생된 직교 변환 블록 단위의 심볼의 개수를 소블록 단위와 대블록 단위로 합한 값과 대블록 단위의 사용 가능한 고정된 길이에 대응하는 심볼의 개수와의 정규화 관계를 이용하여 소블록마다 사용 가능한 새로운 심볼의 개수를 할당하는 것을 특징으로 한다.The normalizer of the quantization step size selector performs a quantization process on a quadrature transformed coefficient that is a given input signal using a reference quantization step size, and then calculates the number of symbols in orthogonal transform block units generated through a continuous field coding process. The number of new symbols available for each small block is allocated by using a normalization relationship between the sum of the small blocks and the large blocks and the number of symbols corresponding to the usable fixed lengths.

상기 양자화 스텝사이즈 선정기의 정규화기는 주어진 입력 신호인 직교 변환된 계수들에 대하여 기준 양자화 스텝사이즈를 사용하여 양자화 과정, 연속장 부호화 과정 및 가변장 부호화 과정을 거쳐 발생된 직교 변환 블록 단위의 부호 길이를 소블록 단위와 대블록 단위로 합한 값과 대블록 단위의 사용 가능한 고정된 길이와의 정규화 관계를 이용하여 소블록마다 사용 가능한 새로운 부호코드 길이를 할당하는 것을 특징으로 한다.The normalizer of the quantization step size selector uses a reference quantization step size with respect to the quadrature transformed coefficients, which are given input signals, and uses code lengths of orthogonal transform blocks generated through quantization, continuous field coding, and variable length coding. It is characterized by allocating a new code code length that can be used for each small block by using the normalization relationship between the sum of the small block unit and the large block unit and the usable fixed length unit of the large block unit.

상기 양자화 스텝사이즈 선정기의 양자화 스텝사이즈의 결정은 정규화 과정에 의하여 각각의 소블록에 할당된 값과 수개의 양자화 스텝사이즈에 의한 출력값 중에서 가장 오차가 적은 결과를 출력시키는 양자화 스텝사이즈를 실제의 양자화기에서 사용하는 것을 특징으로 한다.The determination of the quantization step size of the quantization step size selector is the actual quantization of the quantization step size which outputs the result with the least error among the values assigned to each small block and the output value by several quantization step sizes by a normalization process. It is characterized by using in a group.

이하, 도면을 참조하여 본 발명을 보다 상세히 설명한다.Hereinafter, the present invention will be described in more detail with reference to the drawings.

도 1은 본 발명에 따른 고정된 크기의 영역에 압축 부호화된 신호를 기록하기 위한 영상 신호 압축 부호화기의 블록도이다.1 is a block diagram of a video signal compression encoder for recording a compression coded signal in a fixed size region according to the present invention.

도 1에 있어서, 참조부호 1은 입력신호이고, 2는 블록화 유니트이고, 3은 직교변환 유니트이고, 4는 양자화 스텝 사이즈 선택 유니트이고, 5는 버퍼이고, 6은 양자화 유니트이고, 7은 연속장 부호화 유니트이고, 8은 가변길이 부호화 유니트이고, 9는 데이터 정렬기 유니트이며, 10은 출력신호이다.In Fig. 1, reference numeral 1 is an input signal, 2 is a block unit, 3 is an orthogonal transform unit, 4 is a quantization step size selection unit, 5 is a buffer, 6 is a quantization unit, and 7 is a continuous field. An encoding unit, 8 is a variable length encoding unit, 9 is a data sorter unit, and 10 is an output signal.

디지탈 영상 신호(1)가 입력되면, 직교변환 부호화의 수행단위인 직교변환블럭과 이러한 직교변환블럭이 수개로 이루어진 소블럭 단위의 블록화와 수개의 소블럭으로 이루어진 대블럭 단위의 블록화 처리가 수행된다. 블록화 유니트(2)는 압축의 효율성을 위하여 한 프레임에 걸쳐 입력된 디지탈 영상 신호의 정보를 균등하게 분할한다.When the digital image signal 1 is input, an orthogonal transform block that is an execution unit of orthogonal transform coding, a block of several small blocks and a block of large blocks of several small blocks are performed. . The blocking unit 2 equally divides the information of the digital video signal input over one frame for the purpose of compression.

도 2는 도 1의 블록화 유니트(2)의 구성을 보이는 도면이다.FIG. 2 is a diagram showing the configuration of the blocking unit 2 of FIG.

블록화의 최소단위는 직교변환블록(11)이며 수개의 직교변환블럭단위로 이루어진 소블럭(12)은 다시 이러한 소블럭이 수개로 이루어진 대블록화 유니트(13)를 거치게 된다. 도 2에 나타난 소블록화 유니트(12)와 대블록화 유니트(13)는 그 구성 방법에 있어서 도시한 순서와 반대로 즉, 대블록화 유니트(13)와 소블록화 유니트(12)의 순서로 구성할 수도 있다.The minimum unit of blocking is the orthogonal transform block 11, and the small block 12 composed of several orthogonal transform block units passes through the large block unit 13 composed of several small blocks. The small-blocking unit 12 and the large-blocking unit 13 shown in FIG. 2 may be configured in the reverse order shown in the construction method, that is, in the order of the large-blocking unit 13 and the small-blocking unit 12. .

이처럼 압축 부호화 과정에서 독립적으로 복호화가 가능한 단위의 입력이 들어오면 먼저 직교변환을 수행한다. 직교 변환의 가장 대표적인 예로는 가장 많이 사용하는 이산여현변환(DCT)을 들 수 있다. 직교 변환이 수행된 계수들은 두 개의 경로를 거치게 된다. 한쪽 양자화 과정에서 사용되는 양자화 스텝 사이즈 선택 유니트(4)로 구성되며, 다른 한쪽은 양자화 스텝 사이즈가 구해지는 동안 직교변환을 거친 계수들을 지연시키는 버퍼(5)로 구성된다.As described above, when an input of an independently decodable unit is input in a compression encoding process, an orthogonal transformation is performed first. The most representative example of the orthogonal transformation is the most commonly used discrete cosine transform (DCT). The coefficients with orthogonal transformation are performed through two paths. One is composed of a quantization step size selection unit 4 used in the quantization process, and the other is composed of a buffer 5 for delaying coefficients subjected to orthogonal transformation while the quantization step size is obtained.

입력된 신호를 일정한 압축 비율로 압축 부호화하여 기록하는데 있어서, 다양한 입력신호에 대하여 거의 일정한 크기로 압축 부호화된 데이터를 출력하는데 양자화 유니트(6)의 양자화 수단이 가장 중요한 역할을 한다. 뒷단에 나오는 연속장 부호화 유니트(7)의 연속장 부호화와 가변길이 부호화 유니트(8)의 가변장 부호화의 경우 에러없이 어느 정도 부호량을 줄여주지만 그 양에는 한계가 있기에 양자화 수단에 전체적인 압축 비율의 조정을 의존할 수밖에 없다.In the compression-coding of the input signal at a constant compression ratio, the quantization means of the quantization unit 6 plays the most important role in outputting the compression-coded data with a substantially constant size for various input signals. In the case of continuous length coding of the continuous length coding unit 7 and variable length coding of the variable length coding unit 8 shown later, the amount of code is reduced to some extent without error, but the amount thereof is limited. There is no choice but to rely on adjustment.

선택된 양자화 스텝사이즈에 의하여 양자화 과정을 거친 계수들은 연속장 부호화 과정을 수행한다. 연속장 부호화는 직교변환블록 단위로 입력된 계수들의 값에서 연속적으로 '0'일 경우 '0'이 아닌 값을 만날때까지 그 개수를 카운팅하여 '0'이 아닌 값과의 조합으로 이루어진 심볼(symbol)을 출력한다. 가변장 부호화 유니트(7)는 연속장 부호화 유니트(7)에서 출력된 심볼에 대하여 그 발생 확률이 높은 심볼에는 부호 길이가 적은 코드워드(code word)를 할당하고, 발생확률이 낮은 심볼에 대해서는 상대적으로 부호 길이가 긴 코드워드를 할당하여 부호화 과정을 수행한다.Coefficients subjected to quantization by the selected quantization step size perform a continuous field coding process. Continuous field coding is a symbol consisting of a combination of nonzero values and counting the number of coefficients input in units of orthogonal transform blocks until a nonzero value is encountered. ) The variable length coding unit 7 assigns a code word having a small code length to a symbol having a high probability of occurrence for a symbol output from the continuous field coding unit 7, and applies a symbol word having a low probability of occurrence An encoding process is performed by allocating codewords having a long code length.

가변길이 부호화 유니트(8)로부터 출력된 데이터는 그 길이가 일정치 않고 출력되는 주기도 일정치 않다. 따라서, 압축 부호화된 데이터를 고정된 크기의 영역에 주어진 포맷에 맞게 기록하기 위하여 가변길이 부호화 유니트(8)로부터 출력된 데이터를 정렬해야만 한다. 데이터 정렬기 유니트(9)는 가변길이 부호화 유니트(8)로부터 출력된 부호코드를 일정한 길이의 워드로 변환하여 정해진 고정된 영역에 기록하는 역할을 한다.The data output from the variable length coding unit 8 is not constant in length, and is not constant in output period. Therefore, the data output from the variable length coding unit 8 must be aligned in order to record the compressed coded data in a fixed sized area according to a given format. The data sorter unit 9 serves to convert the code code output from the variable length coding unit 8 into a word of a constant length and to record it in a fixed fixed area.

그러면, 상술한 바와 같은 압축 부호화 과정에 있어서 양자화를 수행하기 위한 양자화 스텝사이즈의 선정 방법에 관하여 설명하면 다음과 같다.A method of selecting a quantization step size for performing quantization in the compression encoding process as described above will now be described.

도 3은 본 발명에 따른 양자화 스텝사이즈를 선정하기 위한 일실시예로서 양자화 스텝사이즈 선택 유니트(4)의 상세 블록도이다.3 is a detailed block diagram of the quantization step size selection unit 4 as an embodiment for selecting the quantization step size according to the present invention.

도 3에 있어서, 참조부호 13은 다단계 양자화기이고, 14는 다단계 연속장 부호화기이고, 15는 다단계 누적기이고, 16은 정규화기이고, 17은 양자화 스텝사이즈 검출기이다. 다단계 양자화기(13)로 입력되는 신호는 도 1에서 보인 바와 같은 직교변환 부호화 유니트(3)로부터 출력된 신호이며, 양자화 스텝사이즈 검출기(17)로부터 출력된 신호는 도 1에서 보인 바와 같은 양자화 유니트(6)로 출력된다.In Fig. 3, reference numeral 13 is a multistage quantizer, 14 is a multistage continuous field encoder, 15 is a multistage accumulator, 16 is a normalizer, and 17 is a quantization step size detector. The signal input to the multilevel quantizer 13 is a signal output from the orthogonal transform coding unit 3 as shown in FIG. 1, and the signal output from the quantization step size detector 17 is a quantization unit as shown in FIG. 1. Is outputted as (6).

수개의 소블럭으로 구성된 대블럭 단위마다 출력되는 부호량이 고정된 영역에 기록되어야 하므로 직교변환 블록마다 양자화 스텝사이즈가 정해지는 경우와, 소블럭마다 양자화 스텝사이즈가 정해질 경우 및 대블럭 전체에 걸쳐 양자화 스텝사이즈가 정해질 수 있다.Since the code amount output for each large block unit composed of several small blocks must be recorded in a fixed area, the quantization step size is determined for each orthogonal transform block, the quantization step size is determined for each small block, and the entire large block. Quantization step size can be determined.

소블럭마다 양자화 스텝사이즈가 주어지게 될 경우; 다단계 양자화기(13)에서는 입력된 직교변환 블럭들을 고정된 수개의 양자화 스텝사이즈에 의하여 양자화를 수행한다. 한편, 양자화 과정은 도 5에 나타난 바와 같이 입력된 직교변환된 계수들을 양자화 스텝사이즈에 따라 비트 시프트(bit shift)하여 그 값을 줄이거나, 직교변환 블록에 해당하는 양자화 테이블에 의하여 테이블에 의하여 각각의 계수들에 곱셈을 행하여 양자화를 수행한다. 다음은 각각의 양자화 스텝사이즈에 의하여 출력된 각각의 직교변환 블록단위의 계수들에 대하여 병렬 연속장 부호화(14)를 수행한다. 다단계 누적기(15)는 직교변환 블록 단위의 연속장 부호화의 출력 심볼을 소블럭 단위마다 누적하여 출력한다. 정규화기(16)는 기준 대블럭 단위로 누적된 심볼 값과 소블럭 단위로 누적된 심볼 값을 이용하여 소블럭 단위마다 새로운 목표 심볼값을 할당한다. 양자화 스텝사이즈 검출기(17)는 소블럭 단위로 주어진 목표 심볼값과 수개의 양자화 스텝사이즈에 의하여 병렬로 출력된 소블럭 단위의 심볼값과의 차이가 가장 적은 값을 나오게 하는 양자화 스텝사이즈를 선정한다. 이 선정된 양자화 스텝사이즈는 실제로 양자화 과정에 사용된다.Given a quantization step size per small block; The multilevel quantizer 13 performs quantization of the input orthogonal transform blocks by a fixed number of quantization step sizes. In the quantization process, as shown in FIG. 5, the orthogonal transformed coefficients are bit-shifted according to the quantization step size to reduce the values, or the quantization table corresponding to the orthogonal transform block is used to determine the table by the table. Quantization is performed by multiplying the coefficients of. Next, parallel continuous field coding 14 is performed on coefficients of each orthogonal transform block unit output by each quantization step size. The multi-stage accumulator 15 accumulates and outputs the output symbols of continuous field coding in units of orthogonal transform blocks for each small block unit. The normalizer 16 allocates a new target symbol value for each small block unit by using a symbol value accumulated in a reference large block unit and a symbol value accumulated in a small block unit. The quantization step size detector 17 selects a quantization step size that results in the smallest difference between the target symbol value given in small block units and the symbol value in small block units output in parallel by several quantization step sizes. . This selected quantization step size is actually used in the quantization process.

도 4는 또 다른 예로서 도 3처럼 정규화기에 사용되는 입력값으로 연속장 부호화기의 출력값을 사용치 않고 연속장 부호화기의 출력을 가변장 부호화 과정을 거쳐 실제와 같은 부호길이를 계산하여 정규화기에서 사용한다. 즉, 연속장 부호화기의 심볼값이 아닌 보다 정확한 값인 부호길이를 이용하여 소블럭마다 목표 부호길이를 할당한다.As another example, FIG. 4 is an input value used for the normalizer as shown in FIG. 3, and the output of the continuous field encoder is calculated using a variable length encoding process to calculate the actual code length and used in the normalizer. do. That is, a target code length is allocated for each small block using a code length that is a more accurate value rather than a symbol value of a continuous length encoder.

양자화 스텝사이즈의 선정방법은 도 6에서 상세히 설명한다.The method of selecting the quantization step size will be described in detail with reference to FIG. 6.

먼저, 직교변환된 계수들이 양자화기에 입력된다. 대블럭 단위로 출력되는 부호량은 고정된 영역에 기록해야 하는 제한 때문에 반드시 이 크기에 맞추어 출력되어야 하며 따라서, 소블럭 단위로 양자화 스텝사이즈를 조절하여 이러한 목적을 이룬다. 이 과정에 있어서, 가장 중요한 것은 어떠한 방법으로 소블럭마다 양자화 스텝사이즈를 고정된 크기에 가장 근접하게 접근하느냐에 있다. 본 발명에서는 수개의 양자화 스텝사이즈를 동시에 사용하여 연속장 부호화의 심볼을 구하거나 가변장 부호화의 부호길이를 구하여 이를 이용한 정규화 단에서 각 소블럭마다 목표치를 할당하여 이 값과 앞서 수행한 수개의 양자화 스텝사이즈에 의한 출력값과의 비교시 가장 근접한 결과를 가져오는 양자화 스텝사이즈를 실제의 양자화기에서 사용한다.First, orthogonal transformed coefficients are input to the quantizer. The amount of code output in units of large blocks must be output in accordance with this size due to the limitation of recording in a fixed area, and thus, this purpose is achieved by adjusting the quantization step size in units of small blocks. In this process, the most important thing is how to approach the quantization step size closest to a fixed size per small block. In the present invention, a symbol of continuous length coding is obtained by using several quantization step sizes simultaneously, or a code length of variable length coding is obtained, and a normalization stage using the same is assigned a target value for each small block, and this value and several quantizations previously performed. The actual quantizer uses a quantization step size that produces the closest result when comparing the output value by the step size.

기준 양자화기(34)에서는 상위 다단계 양자화기(35)에서 사용되는 양자화 스텝사이즈들과 하위 다단계 양자화기(33)에서 사용되는 양자화 스텝사이즈들의 중간값으로 정해지며 이에 의한 결과값이 정규화기의 입력값으로 사용되어 소블럭마다 새로운 목표값이 설정된다.In the reference quantizer 34, the intermediate value between the quantization step sizes used in the upper multistage quantizer 35 and the quantization step sizes used in the lower multistage quantizer 33 is determined. Used as a value, a new target value is set for each small block.

앞서 설명한 것과 마찬가지로 각각의 양자화 스텝사이즈에 대한 양자화기의 출력된 값은 직교변환 블록 단위로 연속장 부호화 과정을 거쳐 심볼이 출력되며, 이 심볼값들이 바로 소단위의 누적기(39, 40, 41)로 입력되거나 도 7에 나타난 것과 같이 가변장 부호화기로 입력될 수 있다. 처음의 경우는 연속장 부호화기의 출력값이 정규화기에서 사용되고 후자의 경우는 가변장 부호화의 출력값이 사용된다.As described above, the output value of the quantizer for each quantization step size is a symbol is output through a continuous field coding process in units of orthogonal transform blocks, and these symbol values are the accumulators 39, 40, and 41 of small units. It may be input to or as a variable length encoder as shown in FIG. In the first case, the output of the continuous-length encoder is used by the normalizer, and in the latter case, the output of the variable-length encoding is used.

도 6에 있어서, 하위와 상위의 다단계 누적기에는 각각의 양자화 스텝사이즈에 대한 연속장 부호화기의 출력 심볼값이 소블럭 단위로 누적되어 양자화 스텝사이즈 선택기(44)에 들어가며, 기준 양자화 스텝사이즈에 의한 연속장 부호화기의 출력심볼값은 소블럭 단위로 누적됨과 동시에 대단위 누적기(42)에서 수개의 소블럭 단위의 심볼값을 누적시킨다. 이러한 값들은 정규화기(43)에서 각각의 소블럭마다 목표 심볼값을 다시 할당하는데 사용된다.In Fig. 6, the lower and upper multi-stage accumulators accumulate the output symbol values of the continuous field coder for each quantization step size in small blocks and enter the quantization step size selector 44, which is based on the reference quantization step size. The output symbol values of the continuous field encoder are accumulated in small block units, and the large accumulator 42 accumulates several small block unit symbol values. These values are used in the normalizer 43 to reassign the target symbol value for each small block.

정규화기의 동작 원리를 설명하면 다음과 같다.The principle of operation of the normalizer is as follows.

기준 양자화 스텝사이즈에 의한 최종 출력을 대블럭 단위로 합하여 볼 때, 일정한 영역에 압축 부호화된 데이터를 기록해야 하는 경우에 있어서 그 출력이 일정한 크기를 넘으면 안되는 제한이 있기에 만일, 출력값이 일정 크기를 넘을 경우엔 전체적으로 양자화 스텝사이즈를 넓게하여 부호량을 줄이는 과정이 필요하고, 이와 반대로 출력값이 목표치보다 적을 경우엔 기록되지 않고 남는 부분이 있게 되므로 부호량을 늘이는 즉 양자화 스텝사이즈를 줄여 부호량의 감소를 적게하는 방향으로 압축부호화 해야만 복호화시 화질의 열화를 막을 수 있다.When the final output based on the reference quantization step size is summed in units of large blocks, the output should not exceed a certain size when the compressed coded data should be recorded in a certain area. In this case, it is necessary to reduce the code amount by widening the quantization step size as a whole. On the contrary, when the output value is smaller than the target value, there is a part that is not recorded. Therefore, the code amount is increased, that is, the quantization step size is reduced to reduce the code amount. Compression encoding must be performed in a lesser direction to prevent deterioration of image quality during decoding.

정규화기에서는 이와 같이 복호화시 화질의 열화를 막기 위하여 기록 가능한 영역을 최대로 활용하기 위한 양자화 스텝사이즈를 결정하는 기준값을 정하는데 있다. 다시 말해서, 기준 양자화 스텝사이즈에 의한 대블럭 단위의 전체 출력값이 목표치보다 많으면 소블럭 단위로 각기 부호량을 줄여 전체적으로 목표치에 근접하게 맞추고 반대로 대블럭의 출력값이 목표치보다 적으면 소블럭 단위로 양자화 스텝사이즈를 줄여 전체적으로 고정된 크기의 목표치에 도달하게 조절한다. 이처럼 소블럭 단위의 양자화 스텝사이즈의 조절로 부호량을 증감하는데 있어서 각각의 소블럭 단위의 양자화 스텝사이즈의 선정이 가장 중요하다.In the normalizer, a reference value for determining a quantization step size for maximizing use of a recordable area in order to prevent deterioration of image quality in decoding is thus determined. In other words, if the total output value of the large block unit by the reference quantization step size is larger than the target value, the respective code amount is reduced in small block units to bring it closer to the overall target value. Reduce the size to adjust the overall fixed size target. As described above, the selection of the quantization step size of each small block unit is most important in increasing or decreasing the code amount by adjusting the quantization step size of the small block unit.

대블럭내의 소블럭중에서 그 출력값이 다른 소블럭에 비해 많은 것도 있고, 어떤 것은 적은 것도 있다. 대블럭 단위의 출력값이 목표치보다 넘을 경우 출력값이 상대적으로 많은 소블럭의 경우 그 감소시키는 양도 다른 소블럭에 비해 많게 감소시키는 양자화 스텝사이즈를 선정한다. 이는 상대적으로 정보량이 많은 부분이 그렇지 않은 경우보다 인간의 시각적 특성에 덜 민감하기 때문에 단순한 영역의 소블럭의 출력값을 줄이는 것보다 상대적으로 더 복잡한 소블럭의 출력값을 줄이는 것이 복호화시 화질의 열화를 줄일 수 있다.Some of the small blocks in the large block have more outputs than others, and some of them are smaller. When the output value of the large block unit exceeds the target value, the quantization step size is selected in which the decreasing amount of the small block having a relatively large output value is also reduced compared to other small blocks. This is because a relatively large amount of information is less sensitive to human visual characteristics than it would otherwise, so reducing the output of a more complex small block rather than reducing the output of a small block in a simple area reduces the degradation of image quality during decoding. Can be.

따라서, 이러한 원리가 적용되는 정규화 과정을 통해서 각각의 소블럭마다 적절한 양자화 스텝사이즈를 선정하여 목표치에 도달할 수 있는 보다 효율적인 양자화 스텝사이즈의 선정을 수행할 수 있다.Therefore, through the normalization process to which this principle is applied, an appropriate quantization step size can be selected for each small block to select a more efficient quantization step size that can reach a target value.

이러한 정규화 과정에 사용되는 기준값으로 도 6에 나타낸 것과 같이 연속장 부호화기의 출력값을 이용하는 경우와 도 7에 나타낸 것과 같이 가변장 부호화기의 출력값을 이용하는 것을 들 수 있다. 전자의 경우는 가변장 부호화기가 생략되었기에 하드웨어 측면에서 보면 그 양이 줄어드는 반면 실제로 기록되는 데이터는 가변장 부호화기의 출력이므로 약간의 오차가 발생할 수 있다. 한편, 가변장 부호화기의 출력값을 이용할 경우 보다 정확한 양자화 스텝 사이즈를 구할 수 있다.Examples of the reference value used in the normalization process include the use of the output of the continuous length encoder as shown in FIG. 6 and the use of the output of the variable length encoder as shown in FIG. 7. In the former case, since the variable length encoder is omitted, the amount is reduced in terms of hardware. However, since the data actually recorded is the output of the variable length encoder, some errors may occur. On the other hand, when the output value of the variable length encoder is used, a more accurate quantization step size can be obtained.

연속장 부호화기의 출력값을 이용할 경우는 이 부호화기의 출력값이 실제의 가변장 부호화기의 출력값에 비례하기 때문에 이러한 관계를 이용하여 가변장 부호화기의 생략도 어느 정도 가능하게 된다.When the output value of the continuous length encoder is used, since the output value of the encoder is proportional to the output value of the actual variable length encoder, the variable length encoder can be omitted to some extent by using this relationship.

먼저, 도 6에 나타난 정규화기에서는 각 소블럭마다 사용가능한 부호 길이에 대응하는 목표 심볼의 개수를 할당하는 정규화 과정을 수행한다. 여기서, 사용되는 정규화 수학식 1에 나타낸 것과 같이 기준되는 양자화 스텝사이즈에 의한 양자화 과정에서 출력된 대블럭의 심볼의 개수와 대블럭을 구성하는 각각의 소블럭의 심볼 개수에 의한 정규화를 수행하여 각각의 소블럭마다 사용 가능한 목표 심볼의 개수를 다시 할당한다.First, the normalizer shown in FIG. 6 performs a normalization process of allocating the number of target symbols corresponding to the available code lengths for each small block. Here, as shown in the normalization equation 1 used, normalization is performed by the number of symbols of the large blocks output in the quantization process based on the reference quantization step size and the number of symbols of each small block constituting the large block, respectively. Reassign the number of available target symbols for every small block of.

여기서, D는 대블럭이 사용 가능한 고정된 부호 길이에 대응되는 심볼의 개수로서 고정된 부호 길이와 심볼의 개수와는 항상 똑같은 값을 유지하지 않지만 다양한 입력 영상신호로부터 평균값을 취하여 얻어진 값을 사용한다.Here, D is the number of symbols corresponding to a fixed code length that can be used as a large block, but does not always maintain the same value as the fixed code length and the number of symbols, but uses a value obtained by taking an average value from various input video signals. .

한편, 도 7에 나타난 정규화기에서는 각 소블럭마다 사용 가능한 부호 길이를 할당하는 과정으로서 아래의 수학식 2에 해당한다.On the other hand, in the normalizer shown in FIG. 7 is a process of allocating usable code lengths for each small block, which corresponds to Equation 2 below.

상기 A, B, C, D 및 A', B', C', D'는 다음과 같다.The A, B, C, D and A ', B', C ', D' is as follows.

A : 각 소블럭마다 할당된 사용 가능한 심볼 개수A: the number of usable symbols allocated for each small block

B : 기준 양자화 스텝사이즈에 의한 대블럭의 심볼 개수B: Number of symbols of a large block by reference quantization step size

C : 기준 양자화 스텝사이즈에 의한 소블럭의 심볼 개수C: number of small blocks by reference quantization step size

D : 대블럭에 해당하는 사용 가능한 고정된 부호 길이에 대응되는 목표 심볼 개수D: the number of target symbols corresponding to the available fixed code length corresponding to the large block

A' : 각 소블럭마다 할당된 사용 가능한 부호 길이A ': Usable sign length allocated for each small block

B' : 기준 양자화 스텝사이즈에 의한 대블럭의 부호 길이B ': code length of large block by reference quantization step size

C' : 기준 양자화 스텝사이즈에 의한 소블럭의 부호 길이C ': Code length of small block by reference quantization step size

D' : 대블럭에 해당하는 사용 가능한 고정된 부호 길이D ': Usable fixed code length for large blocks

이와 같은 정규화기를 거친 정보들은 도 8에 나타난 것과 같이 오차가 가장 적은 결과를 가져오는 양자화 스텝사이즈를 선정한다. 즉, 각 양자화 스텝사이즈에 의한 소블럭 단위의 출력값들과 정규화 식에 의하여 소블럭마다 할당된 값과의 비교에 의하여 그 차이값의 절대값이 가장 적은 결과를 가져오는 양자화 스텝사이즈를 선택한다. 이와 같은 과정을 거쳐 결정된 양자화 스텝사이즈는 실제로 양자화 과정의 양자화 스텝사이즈로 사용된다.Information through the normalizer selects a quantization step size that results in the least error as shown in FIG. 8. That is, a comparison is made between the output values of the small block unit by each quantization step size and the value assigned to each small block by the normalization equation, thereby selecting the quantization step size which results in the lowest absolute value of the difference value. The quantization step size determined through this process is actually used as the quantization step size of the quantization process.

도 6과 도 7의 양자화 스텝사이즈 선택기의 구조는 다음과 같다.The structure of the quantization step size selector of FIGS. 6 and 7 is as follows.

부호 길이 정보(63)는 도 6의 경우엔 각각의 양자화 스텝사이즈들에 의한(기준 양자화 스텝사이즈, 상위 양자화 스텝사이즈들, 하위 양자화 스텝사이즈들) 소블럭 단위의 심볼의 개수이며 도 7의 경우엔 이에 해당하는 소블럭 단위의 부호 길이가 되며, 목표 부호길이 정보(64)는 기준 양자화 스텝사이즈에 의한 정규화 과정을 거친 소블럭 단위마다의 할당된 부호 길이 정보값이며, 부호 길이 정보 오차 추정(65)는 두 입력신호를 뺄셈하는 연산기이며, 양자화 스텝사이즈 추정(66)은 이 오차값들 중에서 그 값이 가장 적은 결과를 가져오는 양자화 스텝사이즈를 선정하는 연산기이다.In the case of FIG. 6, the code length information 63 is the number of symbols in small blocks based on respective quantization step sizes (reference quantization step sizes, upper quantization step sizes, and lower quantization step sizes). The target code length information 64 is an assigned code length information value for each small block unit that has been normalized by a reference quantization step size, and the code length information error estimation ( 65 is an operator for subtracting two input signals, and the quantization step size estimation 66 is an operator for selecting a quantization step size that results in the least of these error values.

상술한 바와 같은 영상신호 압축 부호화 장치는 고속 탐색의 효율을 높이기 위하여 입력신호를 독립적인 일정 단위로 압축 부호화하고, 입력신호의 부호량을 일정한 크기로 맞추기 위한 보다 효율적인 양자화를 수행할 수 있도록 함으로써, 화질을 향상시키는 효과를 제공한다.The video signal compression encoding apparatus as described above compresses and encodes an input signal in a predetermined unit to increase the efficiency of the fast search, and can perform more efficient quantization for matching the code amount of the input signal to a constant size. Provides the effect of improving image quality.

Claims (7)

입력 영상 신호를 직교변환 블록과 소블록 및 대블록으로 블록화시키는 블록화 수단;Blocking means for blocking the input video signal into an orthogonal transform block and a small block and a large block; 상기 블록화 수단으로부터 출력된 신호를 직교변환 블록단위로 직교변환을 수행하는 직교변환 수단;Orthogonal transform means for performing orthogonal transform of the signal output from the blocking means in orthogonal transform block units; 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 입력으로하여 다단계 부호화 과정을 거쳐 양자화 스텝사이즈를 결정하는 양자화 스텝사이즈 선정 수단;Quantization step size selection means for determining the quantization step size through a multi-stage encoding process by inputting the orthogonal transform coefficients output from the orthogonal transform means; 상기 양자화 스텝사이즈 선정 수단에서 양자화 스텝사이즈를 선정하는 동안 상기 직교변환 수단으로부터 출력된 직교변환된 계수들을 지연시키는 버퍼;A buffer for delaying the orthogonal transformed coefficients output from the orthogonal transformation means while the quantization step size selection means selects the quantization step size; 상기 양자화 스텝사이즈 선정 수단에서 선정된 양자화 스텝사이즈로 상기 버퍼로부터 출력된 계수에 양자화를 수행하는 양자화 수단;Quantization means for performing quantization on coefficients output from the buffer at the quantization step size selected by the quantization step size selection means; 상기 양자화 수단으로부터 양자화된 신호로 연속장 부호화를 수행하는 연속장 부호화 수단;Continuous field encoding means for performing continuous field encoding on the quantized signal from the quantization means; 상기 연속장 부호화 수단으로부터 출력된 신호로 가변장 부호화를 수행하는 가변장 부호화 수단; 및Variable length encoding means for performing variable length encoding on the signal output from the continuous field encoding means; And 상기 가변장 부호화 수단으로부터 출력된 신호를 소정의 포맷에 맞게 기록하기 위하여 데이터를 재배치하는 데이터 정렬기를 포함하는 영상신호 압축 부호화 장치.And a data aligner for rearranging data in order to record a signal output from the variable length coding unit in a predetermined format. 제1항에 있어서, 입력 정보의 균등화를 위한 블록화 수단은 수개의 직교변환 블록으로 구성된 소블럭 단위의 처리 후 수개의 소블록으로 구성된 대블록 단위의 처리 또는 대블록 단위의 처리 후 소블록 단위의 처리가 가능한 것을 특징으로 하는 영상신호 압축 부호화 장치.According to claim 1, Blocking means for the equalization of the input information is a small block unit after the processing of a small block unit or a small block unit of a plurality of small blocks after processing of a small block unit consisting of several orthogonal transform blocks A video signal compression coding apparatus, characterized in that the processing is possible. 제1항에 있어서, 상기 양자화 수단은 양자화 스텝사이즈에 의하여 제어되며 입력신호를 비트 시프트 시키거나 또는 양자화 테이블에 스텝사이즈를 곱한 것을 입력 신호에 나누는 것을 특징으로 하는 영상신호 압축 부호화 장치.The video signal compression encoding apparatus of claim 1, wherein the quantization means is controlled by a quantization step size and bit-shifts the input signal or divides the input signal by multiplying the quantization table by the step size. 제1항에 있어서, 양자화 스텝사이즈 선정 수단은 기준 양자화 스텝사이즈 외에 수개의 양자화 스텝사이즈를 이용하여 병렬로 양자화 수단, 연속장 부호화 수단, 가변장 부호화 수단 및 누적 수단을 수행하여 목표 정보량에 가장 근접한 결과를 출력시키는 양자화 스텝사이즈를 선정하는 것을 특징으로 하는 영상신호 압축 부호화 장치.The method according to claim 1, wherein the quantization step size selecting means performs quantization means, continuous field encoding means, variable length encoding means, and accumulation means in parallel using several quantization step sizes in addition to the reference quantization step size to obtain the closest target information amount. And a quantization step size for outputting the result. 제4항에 있어서, 상기 양자화 스텝사이즈 선정기의 정규화기는 주어진 입력 신호인 직교변환된 계수들에 대하여 기준 양자화 스텝사이즈를 사용하여 양자화 과정을 수행한 후 연속장 부호화 과정을 거쳐 발생된 직교 변환 블록 단위의 심볼의 개수를 소블록 단위와 대블록 단위로 합한 값과 대블록 단위의 사용 가능한 고정된 길이에 대응하는 심볼의 개수와의 정규화 관계를 이용하여 소블록마다 사용 가능한 새로운 심볼의 개수를 할당하는 것을 특징으로 하는 영상신호 압축 부호화 장치.5. The orthogonal transform block of claim 4, wherein the normalizer of the quantization step size selector generates a quantization process using a reference quantization step size for orthogonal transformed coefficients that are a given input signal, and then generates an orthogonal transform block. Allocate the number of new symbols available for each small block using a normalization relationship between the sum of the number of symbols in the unit, the small block unit and the large block unit, and the number of symbols corresponding to the available fixed length in the large block unit. And a video signal compression encoding device. 제4항에 있어서, 상기 양자화 스텝사이즈 선정기의 정규화기는 주어진 입력 신호인 직교 변환된 계수들에 대하여 기준 양자화 스텝사이즈를 사용하여 양자화 과정, 연속장 부호화 과정 및 가변장 부호화 과정을 거쳐 발생된 직교 변환 블록 단위의 부호 길이를 소블록 단위와 대블록 단위로 합한 값과 대블록 단위의 사용 가능한 고정된 길이와의 정규화 관계를 이용하여 소블록마다 사용 가능한 새로운 부호코드 길이를 할당하는 것을 특징으로 하는 영상신호 압축 부호화 장치.5. The orthogonalizer of claim 4, wherein the normalizer of the quantization step size selector is orthogonal generated through a quantization process, a continuous field coding process, and a variable length coding process using reference quantization step sizes for orthogonal transformed coefficients which are given input signals. A new codecode length that can be used for each small block is allocated by using a normalization relationship between the sum of the code lengths of the transform block unit and the small block unit and the large block unit, and the usable fixed length unit of the large block unit. Image signal compression encoding apparatus. 제5항 또는 제6항에 있어서, 상기 양자화 스텝사이즈 선정기의 양자화 스텝사이즈의 결정은 정규화 과정에 의하여 각각의 소블록에 할당된 값과 수개의 양자화 스텝사이즈에 의한 출력값 중에서 가장 오차가 적은 결과를 출력시키는 양자화 스텝사이즈를 실제의 양자화기에서 사용하는 것을 특징으로 하는 영상신호 압축 부호화 장치.7. The method of claim 5 or 6, wherein the determination of the quantization step size of the quantization step size selector results in the least error among the values assigned to each small block by the normalization process and the output values by several quantization step sizes. And a quantization step size for outputting the quantizer is used in an actual quantizer.
KR1019960043130A 1996-09-30 1996-09-30 Video signal compression encoding device KR100200627B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960043130A KR100200627B1 (en) 1996-09-30 1996-09-30 Video signal compression encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960043130A KR100200627B1 (en) 1996-09-30 1996-09-30 Video signal compression encoding device

Publications (2)

Publication Number Publication Date
KR19980023632A true KR19980023632A (en) 1998-07-06
KR100200627B1 KR100200627B1 (en) 1999-06-15

Family

ID=19475714

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960043130A KR100200627B1 (en) 1996-09-30 1996-09-30 Video signal compression encoding device

Country Status (1)

Country Link
KR (1) KR100200627B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000059527A (en) * 1999-03-04 2000-10-05 윤종용 Image data compression method
KR100774455B1 (en) * 2001-06-15 2007-11-08 엘지전자 주식회사 Bit rate operation apparatus for realtime video transmit application
US10696286B2 (en) 2017-05-23 2020-06-30 Mando Corporation Electronic brake system and control method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000059527A (en) * 1999-03-04 2000-10-05 윤종용 Image data compression method
KR100774455B1 (en) * 2001-06-15 2007-11-08 엘지전자 주식회사 Bit rate operation apparatus for realtime video transmit application
US10696286B2 (en) 2017-05-23 2020-06-30 Mando Corporation Electronic brake system and control method thereof

Also Published As

Publication number Publication date
KR100200627B1 (en) 1999-06-15

Similar Documents

Publication Publication Date Title
KR100188934B1 (en) Apparatus and method of encoding image signal
JP2661985B2 (en) Digital video signal encoding device and corresponding decoding device
US5539468A (en) Coding device and decoding device adaptive to local characteristics of an image signal
US5073821A (en) Orthogonal transform coding apparatus for reducing the amount of coded signals to be processed and transmitted
US6072835A (en) Variable transfer rate control coding apparatus
EP0495490B1 (en) Video signal encoding apparatus
EP0385654B1 (en) Highly efficient coding apparatus
US5510785A (en) Method of coding a digital signal, method of generating a coding table, coding apparatus and coding method
EP0677969B1 (en) Moving picture coding method and an apparatus therefor
JP3419497B2 (en) Video compression method and decompression method and apparatus for fixing bits
US6163573A (en) Equipment and method for compressing picture data
US7869659B2 (en) Image-comparing apparatus, image-comparing method, image-retrieving apparatus and image-retrieving method
JPH0583696A (en) Picture encoding device
CN1099767C (en) Method and device for compressing digital data
US5541659A (en) Picture signal coding/decoding method and device using thereof
US5703652A (en) Information signal encoding system and method for adaptively encoding an information signal
CN110896483A (en) Method for compressing and decompressing image data
KR100272120B1 (en) Quantization control circuit
JPH0522715A (en) Picture encoder
EP0917372B1 (en) Method and apparatus for selecting a quantization table for encoding a digital image
US6549671B1 (en) Picture data encoding apparatus with bit amount adjustment
KR100200627B1 (en) Video signal compression encoding device
US6829300B1 (en) Signal processing method and device
JP2890740B2 (en) Digital video signal playback device
US7190884B2 (en) Signal recording apparatus and method, signal reproducing apparatus and method, medium, and information assembly

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: 20080228

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee