KR100259471B1 - Improved shape coding apparatus and method - Google Patents

Improved shape coding apparatus and method Download PDF

Info

Publication number
KR100259471B1
KR100259471B1 KR1019970027165A KR19970027165A KR100259471B1 KR 100259471 B1 KR100259471 B1 KR 100259471B1 KR 1019970027165 A KR1019970027165 A KR 1019970027165A KR 19970027165 A KR19970027165 A KR 19970027165A KR 100259471 B1 KR100259471 B1 KR 100259471B1
Authority
KR
South Korea
Prior art keywords
block
pattern
encoding
subblocks
patterns
Prior art date
Application number
KR1019970027165A
Other languages
Korean (ko)
Other versions
KR19990003314A (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 KR1019970027165A priority Critical patent/KR100259471B1/en
Publication of KR19990003314A publication Critical patent/KR19990003314A/en
Application granted granted Critical
Publication of KR100259471B1 publication Critical patent/KR100259471B1/en

Links

Images

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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: An encoding apparatus and a method thereof are to reduce a processing time of an encoding and enhance an encoding effectiveness by partitioning block data into a plurality of sub blocks and performing an encoding using a statistic value of adjacent pixels. CONSTITUTION: A frame memory(102) stores a present frame signal which is extracted from a video signal. An area extension block(104) extends MxM block to Nx N block, where M and N are positive integers and N is greater than M. An area partition block(106) partitions the extended NxN blocks into a plurality of PxP sub blocks, where P is a positive integer. A code table(110) includes n numbers of pattern code words, wherein each of the pattern code words has a plurality of patterns corresponding to the PxP sub blocks and statistic information corresponding to the plurality of the patterns. A pattern determination block(108) stores a previous pixel data of the present frame and determines a pattern code word for encoding the corresponding sub block. A mode adaptive block(112) determines one of the plurality of the patterns as an optimum pattern and calculates statistic values of the corresponding sub block based on the statistic information of the optimum pattern. An encoding block(114) encodes the calculated statistic values by using an arithmetic code.

Description

개선된 형태 부호화 장치 및 방법{IMPROVED SHAPE CODING APPARATUS AND METHOD}IMPROVED SHAPE CODING APPARATUS AND METHOD

본 발명은 영상신호를 저전송율로 압축 부호화하는 물체 기반 부호화 기법에 관한 것으로, 더욱 상세하게는 물체 기반 부호화에서 물체의 형태를 부호화하는 데 적합한 개선된 형태 부호화 장치 및 방법에 관한 것이다.The present invention relates to an object-based encoding technique for compressing and encoding a video signal at a low bit rate, and more particularly, to an improved shape encoding apparatus and method suitable for encoding a shape of an object in object-based encoding.

이 기술분야에 잘 알려진 바와같이, 이산화된 영상신호의 전송은 아나로그 신호보다 좋은 화질을 유지할 수 있다. 일련의 이미지 "프레임"으로 구성된 영상신호가 디지탈 형태로 표현될 때, 특히 고품질 텔레비젼(HDTV)의 경우 상당한 양의 전송 데이터가 발생하게 된다. 그러나, 종래의 전송 채널의 사용가능한 주파수 영역이 제한되어 있으므로, 많은 양의 디지탈 데이터를 전송하기 위해서는 전송하고자 하는 데이터를 압축하여 그 전송량을 줄일 필요가 있다.As is well known in the art, the transmission of discrete video signals can maintain better image quality than analog signals. When a video signal composed of a series of image "frames" is represented in digital form, a considerable amount of transmission data is generated, especially for high-definition television (HDTV). However, since the usable frequency range of the conventional transmission channel is limited, in order to transmit a large amount of digital data, it is necessary to compress the data to be transmitted and reduce its transmission amount.

따라서, 송신측의 부호화 시스템에서는 영상신호를 전송할 때 그 전송되는 데이터량을 줄이기 위하여 영상신호가 갖는 공간적, 시간적인 상관성을 이용하여 압축 부호화한 다음 전송채널을 통해 압축 부호화된 영상신호를 수신측의 복호화 시스템에 전송하게 된다.Therefore, when transmitting a video signal, the transmitting system compresses and compresses the video signal by using the spatial and temporal correlation of the video signal to reduce the amount of data. To the decryption system.

한편, 영상신호를 부호화하는 데 주로 이용되는 다양한 압축 기법으로서는, 확률적 부호화 기법과 시간적, 공간적 압축 기법을 결합한 하이브리드 부호화 기법이 가장 효율적인 것으로 알려져 있다.On the other hand, as the various compression techniques mainly used for encoding an image signal, a hybrid encoding technique combining a stochastic encoding technique and a temporal and spatial compression technique is known to be the most efficient.

상기한 부호화 기법중의 하나인 대부분의 하이브리드 부호화 기법은 움직임 보상 DPCM(차분 펄스 부호 변조), 2차원 DCT(이산 코사인 변환), DCT 계수의 양자화, VLC(가변장 부호화) 등을 이용한다. 여기에서, 움직임 보상 DPCM은 현재 프레임과 이전 프레임간의 물체의 움직임을 결정하고, 물체의 움직임에 따라 현재 프레임을 예측하여 현재 프레임과 예측치간의 차이를 나타내는 차분신호를 만들어내는 방법이다. 이러한 방법은, 예를들어 Staffan Ericsson 의 "Fixed and Adaptive Predictors for Hybrid Predictive/Transform Coding", IEEE Transactions on Communication, COM-33, NO.12 (1985년, 12월), 또는 Ninomiy와 Ohtsuka의 "A motion Compensated Interframe Coding Scheme for Television Pictures",IEEE Transactions on Communication, COM-30, NO.1 (1982년, 1월)에 기재되어 있다.Most of the hybrid coding schemes, which are one of the above coding techniques, use motion compensated DPCM (differential pulse code modulation), two-dimensional discrete cosine transform (DCT), quantization of DCT coefficients, VLC (variable modulation coding), and the like. Here, the motion compensation DPCM determines a motion of the object between the current frame and the previous frame, and predicts the current frame according to the motion of the object to generate a differential signal representing the difference between the current frame and the predicted value. Such methods are described, for example, in Staffan Ericsson's "Fixed and Adaptive Predictors for Hybrid Predictive / Transform Coding", IEEE Transactions on Communication, COM-33, NO.12 (December 1985, December), or "A" by Ninomiy and Ohtsuka. motion Compensated Interframe Coding Scheme for Television Pictures ", IEEE Transactions on Communication, COM-30, NO.1 (January, 1982).

보다 상세하게, 움직임 보상 DPCM에서는 현재 프레임과 이전 프레임간에 추정된 물체의 움직임에 따라, 현재 프레임을 이전 프레임으로부터 예측하는 것이다. 여기에서, 추정된 움직임은 이전 프레임과 현재 프레임간의 변위를 나타내는 2차원 움직임 벡터로 나타낼 수 있다. 여기에서, 물체의 화소 변위는, 잘 알려진 바와같이, 소정크기(예를들면, 8??8 크기)의 블록단위로 현재 프레임의 블록을 이전 프레임의 블록들과 비교하여 최적 정합 블록을 결정하여 입력되는 현재 프레임에 대해 블록 전체에 대한 프레임간 변위 벡터(프레임간에 블록이 이동한 정도)를 추정하는 블록단위 움직임 추정 기법과 각 화소단위로 현재 프레임의 화소값을 이전 프레임의 화소값들로 부터 추정하여 보상하는 화소단위 움직임 추정 기법 등을 통해 그 움직임을 추정할 수 있을 것이다.More specifically, the motion compensation DPCM predicts the current frame from the previous frame according to the motion of the object estimated between the current frame and the previous frame. Here, the estimated motion may be represented by a two-dimensional motion vector representing the displacement between the previous frame and the current frame. Herein, the pixel displacement of the object is, as is well known, by comparing the block of the current frame with the blocks of the previous frame in units of a predetermined size (for example, 8 ?? 8 size) to determine an optimal matching block. A block-by-block motion estimation technique that estimates the interframe displacement vector (how much the block has moved between frames) for the entire block with respect to the current frame being input, and the pixel value of the current frame in each pixel unit from the pixel values of the previous frame. The motion may be estimated through a pixel-by-pixel motion estimation technique.

따라서, 송신측에서는 영상신호를 전송할 때 상술한 바와같은 부호화 기법을 통해 블록단위 또는 화소단위로 영상신호가 갖는 공간적, 시간적인 상관성을 고려해 압축 부호화하여 출력측의 버퍼에 차례로 저장하게 되며, 이와같이 저장된 부호화된 영상데이터는 채널의 요구에 부응하여 소망하는 비트 레이트로 전송채널을 통해 수신측의 복호화 시스템에 전송될 것이다.Therefore, when transmitting a video signal, the transmitting side compresses and encodes the image signal in the buffer of the output side in order by taking into account the spatial and temporal correlation of the image signal in block units or pixel units through the above-described encoding technique. The image data will be transmitted to the decoding system at the receiving side via the transmission channel at a desired bit rate in response to the channel requirements.

보다 상세하게, 송신측의 부호화 시스템에서는 이산 코사인 변환(DCT) 등의 변환 부호화를 이용하여 영상신호의 공간적인 중복성을 제거하고, 또한 움직임 추정,예측 등을 통한 차분 부호화를 이용하여 영상신호의 시간적인 중복성을 제거함으로서, 영상신호를 효율적으로 압축하게 된다.More specifically, the coding system on the transmitting side removes spatial redundancy of the video signal by using transform coding such as discrete cosine transform (DCT), and further uses temporal encoding of motion of the video signal through motion estimation and prediction. By eliminating redundant redundancy, the video signal can be efficiently compressed.

통상적으로, 상술한 바와같은 DPCM/DCT 하이브리드 부호화 기법은 목표 비트레이트가 Mbps 급이고, 그 응용분야로서는 CD-ROM, 컴퓨터, 가전제품(디지탈 VCR 등), 방송(HDTV) 등이 될 수 있으며, 세계 표준화기구에 의해 표준안이 이미 완성된, 영상내의 블록단위 움직임의 통계적 특성만을 주로 고려하는, 고전송율의 부호화에 관한 MPEG1,2 및 H.261 부호화 알고리즘 등에 주로 관련된다.Typically, the DPCM / DCT hybrid coding scheme as described above has a target bitrate of Mbps, and its application fields may be CD-ROM, computer, home appliance (digital VCR, etc.), broadcast (HDTV), etc. It is mainly concerned with MPEG-1, 2 and H.261 coding algorithms related to high bit rate encoding, which mainly consider only the statistical characteristics of the block-by-block motion in the image, which has already been completed by the World Standards Organization.

한편, 최근들어 PC 의 급격한 성능 향상과 보급 확산, 디지탈 전송기술의 발전, 고화질 디스플레이 장치의 실현, 메모리 디바이스의 발달 등으로 가전제품을 비롯한 각종 기기들이 방대한 데이터를 가진 영상 정보를 처리하고 제공할 수 있는 기술중심으로 재편되고 있는 실정이며, 이러한 요구를 충족시키기 위하여 비트레이트가 kbps 급인 기존의 저속 전송로(예를들면, PSTN, LAN, 이동 네트워크 등)를 통한 오디오-비디오 데이터의 전송과 한정된 용량의 저장장치로의 저장을 위해 고압축율을 갖는 새로운 부호화 기술을 필요로 하고 있다.On the other hand, in recent years, due to the rapid performance improvement and diffusion of PCs, the development of digital transmission technology, the realization of high-definition display devices, the development of memory devices, various devices such as home appliances can process and provide image information with huge data. In order to meet these demands, the transmission and limited capacity of audio-video data through existing low-speed transmission paths (eg, PSTN, LAN, mobile network, etc.) with a bit rate of kbps to meet these demands. New coding techniques with high compression ratios are needed for storage in storage systems.

그러나, 상술한 바와같은 기존의 동영상 부호화 기법들은 이동 물체의 모양과 전역 움직임(global motion) 등과는 관계없이 전체 영상에서 지역적인 블록 움직임에 근거하고 있다. 따라서, 기존의 동영상 부호화 기법들은 저전송율에서 블록별 이동 보상 부호화를 적용하는 경우 블록화 현상, 모서리 떨림 현상, 반점 현상 등과 같은 화질 저하가 최종 복원되는 재생 영상에 나타나게 된다. 또한, 저전송율의 영상 전송을 위해 해상도를 유지하려면 영상 데이터의 고압축율이 필요한 데, 상기한 기존의 DCT 변환에 기초한 하이브리드 부호화 기법으로는 그 구현이 불가능하다.However, the existing video coding techniques described above are based on local block motion in the entire image regardless of the shape of the moving object and the global motion. Therefore, in the conventional video coding techniques, when the block-by-block motion compensation coding is applied, image quality degradation such as blocking, corner blurring, and spotting appears in the reproduced video that is finally reconstructed. In addition, in order to maintain the resolution for low data transmission, a high compression rate of image data is required. However, the hybrid coding scheme based on the conventional DCT conversion cannot be implemented.

따라서, 현재로서는 기존의 DCT 변환에 기초한 부호화 기법에 대해 추가 압축 실현을 위한 부호화 기법의 표준이 필요한 실정이며, 이러한 시대적인 필요 욕구에 따라 최근 인간의 시각 특성에 바탕을 두고 주관적 화질을 중요시하는 MPEG4 의 표준안 제정을 위한 저전송율 동영상 부호화 기법에 대한 연구가 도처에서 활발히 진행되고 있다.Therefore, at present, there is a need for a standard of a coding scheme for additional compression realization with respect to a coding scheme based on a conventional DCT transformation. In accordance with the needs of the times, MPEG4, which focuses on subjective picture quality based on recent human visual characteristics, is required. The research on low bit rate video encoding technique for the standardization of the standard has been actively conducted everywhere.

이러한 필요 충족을 위해 현재 연구되고 있는 실현 가능한 유력한 저전송율 동영상 부호화 기법들로서는, 예를들면, 기존의 부호화 기법을 향상시키고자 하는 파형 기반 부호화(Wave-Based Coding), 모델 기반 부호화(Model-Based Coding)의 일종에 속하는 동영상 물체 기반 부호화(Object-Based Coding), 영상을 복수개의 부블록으로 분할하여 부호화하는 분할 기반 부호화 (Segmentation-Based Coding), 영상의 자기유사성을 이용하는 프렉탈 부호화(Fractal Coding) 등이 있다. 여기에서, 본 발명은 동영상 물체 기반 부호화 기법에 관련된다고 볼 수 있다.In order to meet these needs, potential viable low-rate video coding techniques currently being studied are, for example, wave-based coding and model-based coding to improve existing coding techniques. Object-Based Coding, a kind of coding, Segmentation-Based Coding that divides and encodes an image into a plurality of subblocks, and Fractal Coding that uses image self-similarity Etc. Here, the present invention may be regarded as related to a video object-based encoding technique.

본 발명에 관련되는 동영상 물체 기반 부호화 기법으로는 물체 지향 해석 및 합성 부호화 기법(object - oriented analysis - synthesis coding technique)이 있으며, 이러한 기법은 Michael Hotter, "Object - Oriented Analysis - Synthesis Coding Based on Moving Two - Dimentional Objects", Signal Processing : Image Communication 2, pp.409-428(December, 1990)에 개시되어 있다.The video object-based coding technique related to the present invention includes an object-oriented analysis-synthesis coding technique, which is described by Michael Hotter, "Object-Oriented Analysis-Synthesis Coding Based on Moving Two." -Dimentional Objects ", Signal Processing: Image Communication 2, pp. 409-428 (December, 1990).

상기한 물체 지향 해석 및 합성 부호화 기법에 따르면, 입력 비디오 신호는 임의의 물체들로 나누어지고, 각 물체의 움직임, 윤곽 및 화소 데이터는 그들 상호간의 데이터 특성상 성질이 전혀 다른 정보이므로 그 부호화 방법이 서로 독립적, 즉 서로 다른 부호화 채널을 통해 각각 처리된다. 따라서, 각각 별개의 부호화 채널을 통해 부호화된 정보들은, 예를들면 멀티플렉서 등을 통해 다중화되어 전송기로 보내질 것이다. 여기에서, 본 발명은 윤곽, 즉 물체의 형태 정보를 인트라 모드 또는 인터 모드로 부호화하는 기법에 관련된다.According to the object-oriented analysis and the synthesis coding technique described above, the input video signal is divided into arbitrary objects, and since the motion, the contour, and the pixel data of each object are completely different information due to their data characteristics, the encoding methods are mutually different. They are processed independently, ie, through different coding channels. Therefore, information encoded through separate coding channels may be multiplexed through a multiplexer or the like and sent to a transmitter. Here, the present invention relates to a technique for encoding contour, that is, shape information of an object in an intra mode or an inter mode.

한편, 물체의 형태 정보를 부호화하는 기존의 방법에 있어서, 현재 프레임의 형태(즉, 윤곽선)과 이전 프레임의 형태간의 예측 부호화를 수행하는 인트라 모드 또는 현재 프레임의 형태를 부호화하는 인터 모드시에 얻어지는 근사화된 형태 정보(즉, 윤곽 화소값)에 대해 준비된 코드 테이블을 이용하여 확률 적응을 수행하였으며, 이러한 확률 적응 결과로써 얻어지는 각 심볼(즉, 윤곽 화소값)들에 대한 확률값들을 산술 부호화(arithmetic coding)하여 전송채널로 전송한다.On the other hand, in the existing method of encoding the shape information of the object, obtained in the intra mode for performing the prediction encoding between the shape of the current frame (that is, the outline) and the shape of the previous frame or in the inter mode encoding the shape of the current frame. Probability adaptation was performed using a code table prepared for approximated shape information (ie, contour pixel values), and arithmetic coding of probability values for each symbol (ie, contour pixel values) obtained as a result of such a probability adaptation. ) To transmit to the transmission channel.

즉, 상기한 종래기술에서는, 인트라 모드의 경우 한 화소단위로 부호화하고자 하는 현재 화소값을 부호화할 때, 현재 화소에 인접하는 이미 부호화된 소정범위의 화소값들을 이용하여 이들에 의한 확률값으로 부호화를 수행, 즉 일예로서 도 5a에 도시된 바와같이, 부호화하고자 하는 현재 화소가 굵은 실선으로 도시되어 참조번호 A로써 표시된 화소라 할 때 이전에 이미 부호화된 현재 프레임내 a1 - a10 의 인접 화소들을 이용하여 이들에 의한 확률값으로 부호화를 수행하고 있다.That is, in the above-described conventional technique, when encoding a current pixel value to be encoded in one pixel unit in the intra mode, encoding is performed using a probability value thereof by using pixel values in a predetermined range adjacent to the current pixel. As an example, as shown in FIG. 5A, when the current pixel to be encoded is a pixel indicated by a thick solid line and denoted by the reference number A, the adjacent pixels of a1 to a10 in the current frame previously encoded are used. The encoding is performed using the probability values thereof.

또한, 상기한 종래기술에서는, 인터 모드의 경우 현재 프레임의 인접 화소값들과 이전 프레임의 인접하는 화소값들을 이용하여 이들에 의한 확률값으로 부호화를 수행, 즉 일예로서 도 5b 및 도 5c에 각각 도시된 바와같이, 부호화하고자 하는 현재 화소가 굵은 실선으로 도시되어 참조번호 A로써 표시된 화소라 할 때 이전에 이미 부호화된 현재 프레임내 b1 - b4 의 인접 화소들 및 이전 프레임내 b5 - b8 의 인접 화소들을 이용하여 이들에 의한 확률값으로 부호화를 수행하고 있다. 이때, 도 5b는 현재 프레임내 인접하는 화소들의 일예를 도시한 것이고, 도 5c는 이전 프레임내 인접하는 4방향 화소들의 일예를 도시한 것이다.In addition, in the above-described conventional technology, in the inter mode, encoding is performed using probability values by using adjacent pixel values of the current frame and adjacent pixel values of the previous frame, that is, as shown in FIGS. 5B and 5C, respectively. As shown, when the current pixel to be encoded is a pixel indicated by a thick solid line and denoted by the reference number A, adjacent pixels of b1-b4 in the current frame previously encoded and adjacent pixels of b5-b8 in the previous frame are encoded. The encoding is performed using the probability values based on these values. 5B illustrates an example of adjacent pixels in the current frame, and FIG. 5C illustrates an example of adjacent four-direction pixels in the previous frame.

즉, 종래기술에서는 상술한 바와같이 인트라 모드 또는 인터 모드시에 한 화소단위로 확률분포를 이용하는 부호화를 수행한다.That is, in the prior art, as described above, encoding is performed using the probability distribution in one pixel unit in the intra mode or the inter mode.

그러나, 상기한 종래기술에서와 같이 한 화소단위로 부호화를 수행하지 않고, 몇 개의 화소를 그룹핑(즉, 패턴 벡터 양자화 기법에서와 같은 N×N 서브 블록(예를들면, 2×2 서브 블록, 4×4 서브 블록 등)으로의 그룹핑)하여 인접 화소들을 이용하는 확률값으로 부호화를 수행한다면, 부호화를 위한 처리시간의 단축 및 부호화의 효율향상을 크게 도모할 수 있을 것이다.However, several pixels are grouped (ie, N × N subblocks (e.g., 2 × 2 subblocks) as in the pattern vector quantization technique) without performing encoding by one pixel unit as in the conventional art. If coding is performed using a probability value using adjacent pixels by grouping into 4x4 subblocks, etc., it is possible to greatly shorten processing time for encoding and to improve encoding efficiency.

또한, 화소들을 몇 개씩 그룹핑한 패턴으로 확률 부호화를 수행한다는 것은 인접하는 화소들간의 상관관계를 필연적으로 이용한다는 것을 의미하는 데, 이것은 곧 부호화의 효율 개선으로 이어질 것이다. 즉, 산술 부호화의 경우 심볼들의 확률값 분포가 한쪽으로 몰릴수록 부호화의 효율이 증진되는 데, 이러한 점을 고려할 때 화소들을 몇 개씩 그룹핑하여 부호화하는 경우 확률값의 집중에 대단히 유리할 것이다.In addition, performing probability coding in a pattern in which pixels are grouped by several means that a correlation between adjacent pixels is necessarily used, which will lead to an improvement in coding efficiency. That is, in the case of arithmetic coding, the efficiency of coding is improved as the probability value distribution of symbols is pushed to one side. Considering this point, it is very advantageous to concentrate the probability values when grouping and encoding a few pixels.

따라서, 본 발명은 상기한 점에 착안하여 안출한 것으로, 윤곽선 정보들을 포함하는 프레임 영역의 N×N 블록 데이터를 다수의 서브 블록으로 분할하고, 이 분할된 서브 블록들에 대응하는 다수의 패턴을 갖는 다수의 패턴 코드워드를 구비하는 코드 테이블을 이용하여 확률 부호화를 실현할 수 있는 개선된 형태 부호화 장치를 제공하는 데 그 목적이 있다.Accordingly, the present invention devised in view of the above point, divides the N × N block data of the frame area including the contour information into a plurality of sub-blocks, and a plurality of patterns corresponding to the divided sub-blocks An object of the present invention is to provide an improved shape encoding apparatus capable of realizing probability coding using a code table having a plurality of pattern codewords.

본 발명의 다른 목적은 윤곽선 정보들을 포함하는 프레임 영역의 N×N 블록 데이터를 다수의 서브 블록으로 분할하고, 인접하는 주변 화소값들을 참조하며, 이 분할된 서브 블록들에 대응하는 각각의 패턴을 갖는 다수의 코드 테이블을 이용하여 확률 부호화를 실현할 수 있는 형태 부호화 방법을 제공하는 데 있다.Another object of the present invention is to divide N × N block data of a frame area including contour information into a plurality of sub-blocks, refer to neighboring neighboring pixel values, and identify respective patterns corresponding to the divided sub-blocks. There is provided a shape coding method capable of realizing probability coding using a plurality of code tables.

상기 목적을 달성하기 위한 일관점의 일형태에 따른 본 발명은, 부호화하고자 하는 영상신호에서 추출한 윤곽선 정보를 포함하는 현재 프레임의 현재 윤곽을 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 장치에 있어서, 상기 영상신호에서 추출한 현재 프레임 신호를 저장하는 프레임 메모리; 상기 프레임 메모리에서 제공되는 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 확장하며, 상기 M 및 N이 정수인 영역 확장 블록; 상기 영역 확장 블록으로부터 제공되는 상기 확장된 N×N 블록을 다수의 P×P 서브 블록으로 분할하며, 상기 P가 정수인 영역 분할 블록; 상기 P×P 서브 블록에 대응하는 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비한 코드 테이블; 현재 부호화하고자 하는 P×P 서브 블록 이전에 이미 부호화된 상기 현재 프레임의 이전 화소 데이터를 저장하며, 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록에 인접하는 상기 현재 프레임의 n개의 주변 화소값들에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 상기 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 패턴 결정 블록; 상기 코드 테이블에서 제공되는 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 모델 적응 블록; 및 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 부호화 블록으로 이루어진 개선된 형태 부호화 장치를 제공한다.In accordance with one aspect of the present invention, there is provided a form encoding apparatus for encoding a current contour of a current frame including contour information extracted from a video signal to be encoded, using probability coding based on a prepared code table. A frame memory for storing a current frame signal extracted from the video signal; An area extension block extending each M × M block provided in the frame memory into an N × N block having an area at least larger than that, wherein M and N are integers; A region partition block dividing the expanded N × N block provided from the region extension block into a plurality of P × P subblocks, wherein P is an integer; A code table having n pattern codewords each having a plurality of patterns corresponding to the P × P subblocks and probability information corresponding to each of the plurality of patterns; Stores previous pixel data of the current frame that is already encoded before the P × P subblock to be currently encoded, and based on n neighboring pixel values of the current frame adjacent to the corresponding subblock provided from the region partitioning block. A pattern determination block determining one of the n pattern codewords as a pattern codeword for encoding the corresponding subblock; One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword provided in the code table and corresponding subblocks provided from the region partitioning block, and the determined optimal A model adaptation block that calculates probability values for the corresponding subblocks based on probability information on the pattern; And an encoding block which encodes the calculated probability values using an arithmetic code.

상기 목적을 달성하기 위한 일관점의 다른 형태에 따른 본 발명은, 추출된 현재 윤곽선 신호를 포함하는 현재 프레임과 추출된 이전 윤곽선 신호를 포함하는 이전 프레임간의 감산을 통해 얻어지는 차분 윤곽선 정보를 포함하는 현재 프레임의 상기 차분 윤곽선 정보를 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 장치에 있어서, 상기 차분 윤곽선 정보를 포함하는 현재 프레임 신호를 저장하는 제 1 프레임 메모리; 상기 프레임 메모리에서 제공되는 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 확장하며, 상기 M 및 N이 정수인 영역 확장 블록; 상기 영역 분할 블록로부터 제공되는 상기 확장된 N×N 블록을 다수의 P×P 서브 블록으로 분할하며, 상기 P가 정수인 영역 분할 블록; 상기 P×P 서브 블록에 대응하는 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비한 코드 테이블; 이전에 부호화된 이전 차분 윤곽선 정보를 포함하는 이전 프레임의 각 화소 데이터를 저장하고, 현재 부호화하고자 하는 P×P 서브 블록 이전에 이미 부호화된 상기 현재 프레임의 이전 화소 데이터를 저장하는 제 2 프레임 메모리; 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록에 인접하는 상기 기부호화된 현재 프레임의 n개의 주변 화소값 및 상기 해당 서브 블록에 인접하는 상기 이전 프레임의 n개의 주변 화소값에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 상기 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 패턴 결정 블록; 상기 코드 테이블에서 제공되는 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 모델 적응 블록; 및 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 부호화 블록으로 이루어진 개선된 형태 부호화 장치를 제공한다.According to another aspect of the present invention, there is provided a present invention including differential contour information obtained through subtraction between a current frame including an extracted current contour signal and a previous frame including an extracted previous contour signal. A shape encoding apparatus for encoding the difference contour information of a frame through probability coding based on a prepared code table, comprising: a first frame memory for storing a current frame signal including the difference contour information; An area extension block extending each M × M block provided in the frame memory into an N × N block having an area at least larger than that, wherein M and N are integers; A region partition block dividing the expanded N × N block provided from the region partition block into a plurality of P × P subblocks, wherein P is an integer; A code table having n pattern codewords each having a plurality of patterns corresponding to the P × P subblocks and probability information corresponding to each of the plurality of patterns; A second frame memory for storing each pixel data of a previous frame including previously encoded previous difference contour information, and storing previous pixel data of the current frame that is already encoded before a P × P subblock to be currently encoded; The n patterns on the basis of n peripheral pixel values of the base-coded current frame adjacent to the sub-block provided from the region dividing block and n peripheral pixel values of the previous frame adjacent to the sub-block. A pattern determination block that determines one of codewords as a pattern codeword for encoding the corresponding subblock; One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword provided in the code table and corresponding subblocks provided from the region partitioning block, and the determined optimal A model adaptation block that calculates probability values for the corresponding subblocks based on probability information on the pattern; And an encoding block which encodes the calculated probability values using an arithmetic code.

상기 목적을 달성하기 위한 다른 관점의 일형태에 따른 본 발명은, 부호화하고자 하는 영상신호에서 추출한 윤곽선 정보를 포함하는 현재 프레임의 현재 윤곽을 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 방법에 있어서, 상기 코드 테이블은, 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비하며, 상기 부호화 방법은: 상기 영상신호에서 추출한 현재 프레임 신호를 기설정된 다수의 M×M 블록으로 분할하며, 상기 N은 정수인 제 1 단계; 상기 분할된 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 각각 확장하며, 상기 M이 정수인 제 2 단계; 상기 확장된 각 N×N 블록을 다수의 P×P 서브 블록으로 각각 분할하며, 상기 P가 정수인 제 3 단계; 이미 부호화된 상기 현재 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 4 단계; 상기 분할된 각 서브 블록에 인접하는 상기 결정된 n개의 주변 화소값들에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 분할된 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 제 5 단계; 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 제 6 단계; 및 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 제 7 단계로 이루어진 개선된 형태 부호화 방법을 제공한다.According to another aspect of the present invention, there is provided a form encoding method for encoding a current outline of a current frame including contour information extracted from a video signal to be encoded, using probability coding based on a prepared code table. The code table comprises n pattern codewords each having a plurality of patterns and probability information corresponding to each of the plurality of patterns, and the encoding method comprises: a predetermined number of current frame signals extracted from the video signal; Dividing into M × M blocks, wherein N is an integer; Expanding each of the divided M × M blocks into N × N blocks each having at least a larger area, wherein M is an integer; Dividing each of the expanded N × N blocks into a plurality of P × P subblocks, wherein P is an integer; A fourth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the current frame that is already encoded; A fifth step of determining any one of the n pattern codewords as a pattern codeword for encoding the corresponding subblock based on the determined n neighboring pixel values adjacent to each of the divided subblocks; One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword and the corresponding subblocks, and based on probability information for the determined optimal pattern, the corresponding subblocks are assigned to the corresponding subblocks. A sixth step of calculating probability values And a seventh step of encoding the calculated probability values using an arithmetic code.

상기 목적을 달성하기 위한 다른 관점의 다른 형태에 따른 본 발명은, 추출된 현재 윤곽선 신호를 포함하는 현재 프레임과 추출된 이전 윤곽선 신호를 포함하는 이전 프레임간의 감산을 통해 얻어지는 차분 윤곽선 정보를 포함하는 현재 프레임의 상기 차분 윤곽선 정보를 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 방법에 있어서, 상기 코드 테이블은, 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비하며, 상기 부호화 방법은: 상기 영상신호에서 추출한 현재 프레임 신호를 기설정된 다수의 M×M 블록으로 분할하며, 상기 N은 정수인 제 1 단계; 상기 분할된 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 각각 확장하며, 상기 M이 정수인 제 2 단계; 상기 확장된 각 N×N 블록을 다수의 P×P 서브 블록으로 각각 분할하며, 상기 P가 정수인 제 3 단계; 이미 부호화된 상기 현재 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 4 단계; 기부호화된 이전 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 5 단계; 상기 결정된 현재 프레임의 n개의 주변 화소값 및 상기 결정된 이전 프레임의 n개의 주변 화소값에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 분할된 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 제 6 단계; 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 제 7 단계; 및 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 제 8 단계로 이루어진 개선된 형태 부호화 방법을 제공한다.According to another aspect of another aspect of the present invention, a present invention includes differential contour information obtained by subtraction between a current frame including an extracted current contour signal and a previous frame including an extracted previous contour signal. In the form encoding method for encoding the difference contour information of a frame through probability coding based on a prepared code table, the code table includes n pattern codes each having a plurality of patterns and probability information corresponding to each of the plurality of patterns. The encoding method comprises: a first step of dividing a current frame signal extracted from the video signal into a plurality of predetermined M × M blocks, wherein N is an integer; Expanding each of the divided M × M blocks into N × N blocks each having at least a larger area, wherein M is an integer; Dividing each of the expanded N × N blocks into a plurality of P × P subblocks, wherein P is an integer; A fourth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the current frame that is already encoded; A fifth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the base-coded previous frame; Based on the determined n neighboring pixel values of the current frame and the determined n neighboring pixel values of the previous frame, any one of the n pattern codewords is determined as a pattern codeword for encoding the corresponding subblock. Sixth step; One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword and the corresponding subblocks, and based on probability information for the determined optimal pattern, the corresponding subblocks are assigned to the corresponding subblocks. A seventh step of calculating probability values And an eighth step of encoding the calculated probability values using an arithmetic code.

도 1은 본 발명의 바람직한 실시예에 따른 개선된 형태 부호화 장치의 블록구성도,1 is a block diagram of an improved shape coding apparatus according to a preferred embodiment of the present invention;

도 2는 본 발명에 따라 M×M 블록을 N×N 블록으로 확장한 블록 데이터의 일예를 도시한 것으로, 2a는 M×M 블록의 일예를, 2b는 확장된 N×N 블록의 일예를 도시한 도면,2 illustrates an example of block data in which an M × M block is expanded to an N × N block according to the present invention, 2a illustrates an example of an M × M block, and 2b illustrates an example of an extended N × N block. One drawing,

도 3은 본 발명에 따라 분할되는 P×P 서브 블록의 코드 테이블을 결정할 때 해당 서브 블록에 인접하는 주변 화소값들을 참조하는 경우의 일예를 도시한 것으로, 3a는 인트라 모드 부호화의 경우를, 3b 및 3c는 인터 모드 부호화의 경우를 각각 도시한 도면,FIG. 3 illustrates an example of referring to neighboring pixel values adjacent to a corresponding subblock when determining a code table of a P × P subblock to be partitioned according to the present invention. FIG. 3A illustrates a case of intra mode encoding. And 3c shows a case of inter mode encoding, respectively;

도 4는 본 발명에 따라 M×M 블록을 다수의 2×2 서브 블록으로 분할할 때 각 서브 블록의 패턴예를 도시한 도면,4 is a view showing a pattern example of each sub block when dividing an M × M block into a plurality of 2 × 2 subblocks according to the present invention;

도 5는 종래방법에 따라 한 화소 단위로 확률 부호화를 수행할 때 인접하는 주변 화소값들을 참조하는 경우의 일예를 도시한 것으로, 5a는 인트라 모드 부호화의 경우를, 5b 및 5c는 인터 모드 부호화의 경우를 각각 도시한 도면.FIG. 5 illustrates an example of referring to neighboring neighboring pixel values when performing probability coding in units of one pixel according to a conventional method, in which 5a represents intra mode encoding and 5b and 5c represent inter mode encoding. Figures showing cases respectively.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

102,109 : 프레임 메모리 104 : 영역 확장 블록102109: Frame memory 104: Area Expansion Block

106 : 영역 분할 블록 108 : 패턴 결정 블록106: region division block 108: pattern determination block

110 : 코드 테이블 112 : 모델 결정 블록110: code table 112: model determination block

114 : 부호화 블록114: coding block

본 발명의 상기 및 기타 목적과 여러가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시예로 부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명의 가장 특징적인 기술요지는, 전술한 종래기술에서와 같이 윤곽선을 확률 부호화할 때 한 화소씩 수행하는 것이 아니라, 몇 개의 화소를 그룹핑, 즉 패턴 벡터 양자화 기법에서와 같이 N×N 서브 블록(예를들면, 2×2 서브 블록, 4×4 서브 블록 등)으로 그룹핑하여 인접 화소들에 기초하는 패턴 코드워드를 이용하는 확률값으로 부호화를 수행한다는 것으로, 이러한 기술수단을 통해 본 발명에서 목적으로 하는 바, 즉 부호화를 위한 처리시간의 단축 및 부호화의 효율증진을 도모할 수 있다.First, the most characteristic technical gist of the present invention is not to perform the pixel by one pixel when performing contour coding on the contour as in the above-mentioned prior art, but to group several pixels, that is, N × N as in the pattern vector quantization technique. Grouping into subblocks (e.g., 2x2 subblocks, 4x4 subblocks, etc.) performs encoding with a probability value using a pattern codeword based on adjacent pixels. That is, it is possible to shorten the processing time for encoding and to increase the efficiency of encoding.

또한, 본 발명에서는 화소들을 몇 개씩 그룹핑한 패턴으로 확률 부호화를 수행하는 데, 이것은 인접하는 화소들간의 상관관계를 필연적으로 이용한다는 것을 의미하는 것으로, 부호화의 효율 개선을 더욱 증진시킬 수 있다. 즉, 산술 부호화의 경우 심볼들의 확률값 분포가 한쪽으로 몰릴수록 부호화의 효율이 증진되는 데, 이러한 점을 고려할 때 본 발명에서와 같이 화소들을 몇 개씩 그룹핑하여 부호화하는 경우 확률값의 집중에 대단히 유리하기 때문이다.Further, in the present invention, probability coding is performed in a pattern in which pixels are grouped several times, which means that a correlation between adjacent pixels is necessarily used, and the efficiency of encoding can be further improved. That is, in the case of arithmetic coding, the efficiency of coding is improved as the probability value distribution of symbols is pushed to one side. In view of such a point, as in the present invention, when grouping and encoding a few pixels as in the present invention, it is very advantageous to concentrate the probability values. to be.

도 1은 본 발명의 바람직한 실시예에 따른 개선된 형태 부호화 장치의 블록구성도를 나타낸다.1 shows a block diagram of an improved shape coding apparatus according to a preferred embodiment of the present invention.

동도면에 도시된 바와같이, 본 발명의 형태 부호화 장치는 제 1 프레임 메모리(102), 영역 확장 블록(104), 영역 분할 블록(106), 패턴 결정 블록(108), 제 2 프레임 메모리(109), 코드 테이블(110), 모델 적응 블록(112) 및 부호하 블록(114)을 포함한다.As shown in the figure, the shape coding apparatus of the present invention includes a first frame memory 102, an area extension block 104, an area division block 106, a pattern determination block 108, and a second frame memory 109. ), Code table 110, model adaptation block 112, and undersignal block 114.

도 1을 참조하면, 제 1 프레임 메모리(102)에는 도시 생략된 형태 검출수단을 통해 추출된 형태 정보(즉, 윤곽선 정보)가 프레임 단위로 저장되는 데, 이때 저장되는 윤곽선 정보는 부호화 모드가 인트라 모드일 때 한 프레임에 대한 전체 윤곽선 정보가 될 것이고, 인터 모드일 때 현재 프레임과 이전 프레임간의 움직임 보상을 통해 얻어지는 에러신호, 즉 차분 윤곽선 정보가 될 것이다.Referring to FIG. 1, in the first frame memory 102, shape information (that is, outline information) extracted through shape detection means (not shown) is stored in units of frames. In the mode, it will be the entire contour information of one frame, and in the inter mode, it will be the error signal obtained through the motion compensation between the current frame and the previous frame, that is, the differential contour information.

다음에, 영역 확장 블록(104)에서는 상기한 프레임 메모리(102)로부터 제공되는 윤곽선을 포함하는 M×M 블록 데이터를 적어도 큰 영역을 갖는 N×N 블록 데이터로 확장, 즉 일예로서 도 2a에 도시된 바와같은 16×16 블록 데이터를 4변으로 한 화소씩 증가시켜, 일예로서 도 2b에 도시된 바와같이, 18×18 블록 데이터로 확장시키며, 이와같이 확장된 N×N 블록 데이터들은 다음단의 영역 분할 블록(106)으로 제공된다. 도 2b에서 참조부호 A는 원래의 M×M 블록 영역을 나타내고, 참조부호 B는 확장 영역을 나타낸다.Next, in the area expansion block 104, the MxM block data including the contours provided from the frame memory 102 is expanded into NxN block data having at least a large area, that is, shown in FIG. 2A as an example. As shown in FIG. 2B, the 16 × 16 block data as shown in FIG. 2B is expanded to 18 × 18 block data, and the expanded N × N block data is the next region. Provided as split block 106. In FIG. 2B, reference numeral A denotes an original M × M block region, and reference numeral B denotes an extended region.

이때, 확장 영역(B)의 각 화소값들은 M×M 블록 영역의 인접하는 화소값들을 이용하여 산출할 수 있다. 즉, 일예로서 도 2b에 도시된 바와같이, 사선으로 채워져 참조부호 b로써 표시된 확장 영역(B)의 5화소값들은 M×M 블록 영역에서 사선으로 채워져 참조부호 a로써 표시된 인접하는 4개 화소값들의 평균으로 대체할 수 있다.In this case, each pixel value of the extended area B may be calculated using adjacent pixel values of the M × M block area. That is, as an example, as shown in Fig. 2B, five pixel values of the extended area B filled with diagonal lines and indicated by the reference numeral b are adjacent four pixel values filled with diagonal lines and indicated by the reference numeral a in the M × M block area. Can be replaced by their average.

여기에서, M×M 블록 데이터를 확장하는 이유는, 각각의 패턴을 갖는 다수의 코드 테이블을 이용하는 확률 부호화를 위해 최적의 코드 테이블 선택할 때 해당 P×P 서브 블록(예를들면, 2×2 서브 블록, 4×4 서브 블록 등)에 인접하는 주변 화소값들을 이용하는 데, N×N 블록의 각 변에 위치하는 화소값들에 대한 인접 화소값들을 생성하기 위해서이다.Here, the reason for extending the M × M block data is that the P × P subblock (eg, 2 × 2 sub) is selected when the optimal code table is selected for probability coding using a plurality of code tables having respective patterns. Blocks, 4x4 sub-blocks, etc.) are used to generate adjacent pixel values for pixel values located on each side of the NxN block.

또한, 영역 분할 블록(106)에서는 M×M 블록(예를들면, 16×16 블록)을 다수개의 P×P 서브 블록(예를들면, 2×2 서브 블록 또는 4×4 서브 블록)으로 각각 분할, 일예로서 도 2a에 도시된 바와같이, 16×16 블록을 64개의 2×2 서브 블록으로 분할하며, 여기에서 분할된 P×P 서브 블록들은 라인 L11을 통해 패턴 결정 블록(108) 및 모델 적응 블록(112)으로 각각 제공된다. 이때, M×M 블록이 64개의 2×2 서브 블록으로 분할 될 때 각 서브 블록은, 도 4에 도시된 바와같은 16개의 패턴중 어느 한 패턴을 갖게 될 것이다.In the area dividing block 106, the MxM blocks (e.g., 16x16 blocks) are each divided into a plurality of PxP subblocks (e.g., 2x2 subblocks or 4x4 subblocks). Partitioning, for example, as shown in FIG. 2A, divides a 16 × 16 block into 64 2 × 2 subblocks, where the divided P × P subblocks are pattern determined block 108 and model via line L11. Each is provided to an adaptation block 112. At this time, when the M × M block is divided into 64 2 × 2 subblocks, each subblock will have any one of 16 patterns as shown in FIG. 4.

한편, 패턴 결정 블록(108)에서는 라인 L11을 통해 제공되는 각 서브 블록들에 대해 인접하는 주변 화소값들에 의거하여 코드 테이블(110)에 준비된 다수의 코드 테이블들중 대응하는 하나의 코드 테이블을 결정한다.Meanwhile, the pattern determination block 108 selects a corresponding code table from among the plurality of code tables prepared in the code table 110 based on neighboring pixel values adjacent to each of the sub blocks provided through the line L11. Decide

즉, M×M 블록이 64개의 2×2 서브 블록으로 분할된다고 가정할 때, 코드 테이블(110)에는 각각 16개의 패턴과 각 패턴에 대응하는 확률값을 갖는 총 64개이 패턴 코드워드가 준비되는 데, 패턴 결정 블록(108)에서는 도시 생략된 시스템 제어기(예를들면, 마이크로 프로세서)로부터 제공되는 부호화 모드신호 및 해당 서브 블록에 인접하는 주변 화소값들에 의거하여 준비된 다수의 패턴 코드워드중 해당 서브 블록에 가장 적합한 하나의 패턴 코드워드를 결정한다.That is, assuming that an M × M block is divided into 64 2 × 2 subblocks, a total of 64 pattern codewords having 16 patterns and probability values corresponding to each pattern are prepared in the code table 110. In the pattern determination block 108, a sub-item of a plurality of pattern codewords prepared based on an encoding mode signal provided from a system controller (eg, a microprocessor), not shown, and peripheral pixel values adjacent to the sub-block. One pattern codeword most suitable for the block is determined.

예를들어, 현재 부호화 모드가 인트라 모드일 때, 패턴 결정 블록(108)에서는, 일예로서 도 3a에 도시된 바와같이, 해당 서브 블록(A)에 인접하는 현재 프레임의 이미 부호화된 6개의 주변 화소값들(a1 - a6)에 의거하여 코드 테이블내 다수의 패턴 코드워드들중 해당 서브 블록에 가장 적합한 하나의 패턴 코드워드를 결정한다. 즉, 일예로서 패턴 코드워드는“000000”에서부터“111111”의 값을 가질 수 있으며, 이들 각 패턴 코드워드는, 도 4에 도시된 바와같은 16개의 패턴 및 각 패턴에 각각 대응하는 확률값을 구비한다.For example, when the current encoding mode is an intra mode, in the pattern determination block 108, as shown in FIG. 3A as an example, six neighboring pixels that have already been encoded in the current frame adjacent to the corresponding subblock A are shown. Based on the values a1-a6, one pattern codeword most suitable for the corresponding subblock among the plurality of pattern codewords in the code table is determined. That is, as an example, the pattern codeword may have a value from "000000" to "111111", and each of these pattern codewords has 16 patterns as shown in FIG. 4 and probability values corresponding to each pattern, respectively. .

이때, 현재 프레임에서 이미 부호화된 화소 데이터들은 제 2 프레임 메모리(109)로부터 제공되는 데, 이러한 제 2 프레임 메모리(109)에는 현재 프레임내의 이미 부호화된 화소 데이터 및 확장 영역의 화소 데이터가 저장되며, 또한 이전 프레임의 화소 데이터 및 확장 영역의 화소 데이터가 저장된다. 여기에서, 현재 프레임내의 이미 부호화된 화소 데이터 및 확장 영역의 화소 데이터는 인트라 모드 부호화시에 각 서브 블록들의 패턴 코드워드를 결정하는 데 이용되고, 이전 프레임의 화소 데이터 및 확장 영역의 화소 데이터는 인터 모드 부호화시에 각 서브 블록들의 패턴 코드워드를 결정하는 데 이용된다.In this case, the pixel data already encoded in the current frame is provided from the second frame memory 109. The second frame memory 109 stores the already encoded pixel data in the current frame and pixel data of the extended region. Also, the pixel data of the previous frame and the pixel data of the extended area are stored. Here, the already encoded pixel data in the current frame and the pixel data of the extended region are used to determine the pattern codeword of each sub-block during intra mode encoding, and the pixel data of the previous frame and the pixel data of the extended region are interleaved. It is used to determine the pattern codeword of each subblock in mode encoding.

또한, 현재 부호화 모드가 인터 모드일 때, 패턴 결정 블록(108)에서는, 일예로서 도 3b에 도시된 바와같이, 해당 서브 블록(A)에 인접하는 이미 부호화된 현재 프레임의 3개의 주변 화소값들(b1, b2, b3) 및 도 3c에 도시된 바와같이 해당 서브 블록(A)에 대응하는 위치에 있는 이전 프레임내 이전 서브 블록(A′)에 인접하는 3개의 주변 화소값들(b4, b5, b6)에 의거하여 코드 테이블내 다수의 패턴 코드워드들중 해당 서브 블록에 가장 적합한 하나의 패턴 코드워드를 결정한다.Further, when the current encoding mode is the inter mode, in the pattern determination block 108, as shown in FIG. 3B as an example, three peripheral pixel values of the already encoded current frame adjacent to the corresponding subblock A are shown. Three peripheral pixel values b4 and b5 adjacent to the previous subblock A 'in the previous frame at the position corresponding to the corresponding subblock A as shown in (b1, b2, b3) and FIG. 3C. , b6) determines one pattern codeword that is most suitable for the corresponding subblock among the plurality of pattern codewords in the code table.

이때, 16×16 블록을 다수의 4×4 서브 블록으로 분할하여 확률 부호화를 수행할 때 패턴 코드워드의 결정을 위해 참조되는 이미 부호화된 현재 프레임의 인접하는 주변 화소들은, 예를들면 11개의 화소들로 구성될 수 있을 것이다.In this case, when the 16x16 block is divided into a plurality of 4x4 subblocks and subjected to probability coding, neighboring neighboring pixels of the currently encoded current frame, which are referred to for determining the pattern codeword, are 11 pixels, for example. It may be composed of

따라서, 코드 테이블(110)에서는 상술한 바와같은 과정을 통해 인트라 모드 또는 인터 모드시에 결정되는 패턴 코드워드 정보들, 즉 결정된 패턴 코드워드에 구비된 패턴 정보들을 라인 L13을 통해 후술하는 모델 적응 블록(112)으로 제공하게 될 것이다. 물론, 수신측의 복호화 장치에는 송신측 부호화 장치와 동일한 코드 테이블이 준비되어 있다.Therefore, in the code table 110, the pattern adaptation block which will be described later through the line L13 the pattern codeword information determined in the intra mode or the inter mode through the process described above, that is, the pattern information included in the determined pattern codeword. Will be provided at 112. Of course, the same decoding table as the transmitting encoder is prepared in the decoding device on the receiving side.

한편, 모델 적응 블록(112)에서는 라인 L13을 통해 코드 테이블(110)에서 제공되는 결정된 패턴 코드워드내의 다수의 각 패턴들과 라인 L11을 통해 영역 분할 블록(106)으로부터 제공되는 분할된 P×P 서브 블록(예를들면, 2×2 서브 블록)간의 패턴 매칭을 통해 그에 상응하는 최적의 패턴을 검출하며, 이 검출된 패턴에 상응하는 확률 정보를 이용하여 분할된 각 서브 블록들에 대한 확률값들을 적응적으로 산출하며, 여기에서 산출된 각 서브 블록들에 대한 확률값들은 라인 L15를 통해 후술하는 부호화 블록(114)으로 제공된다.On the other hand, in the model adaptation block 112, a plurality of respective patterns in the determined pattern codeword provided in the code table 110 via the line L13 and the divided P × P provided from the region dividing block 106 via the line L11. Pattern matching between subblocks (e.g., 2x2 subblocks) is detected to detect an optimal pattern corresponding thereto, and probability values for each subblock divided by using probability information corresponding to the detected pattern are detected. It is adaptively calculated, and the probability values for each subblock calculated here are provided to the coding block 114 described later through the line L15.

따라서, 부호화 블록(114)에서는 라인 L15를 통해 상기한 모델 적응 블록(112)에서 제공되는 확률값들을, 예를들면 JPEG(Joint Photographic Experts Group)의 2진 산술코드(binary arithmetic code)를 사용하여 부호화하며, 이와같이 부호화된 확률값들은 원격지 수신기로의 전송을 위해 전송채널로 전송된다.Accordingly, the coding block 114 encodes the probability values provided by the model adaptation block 112 through the line L15 using, for example, binary arithmetic code of a Joint Photographic Experts Group (JPEG). The probability values encoded in this manner are transmitted to a transport channel for transmission to a remote receiver.

이상 설명한 바와같이 본 발명에 따르면, 물체 기반 부호화를 위한 인트라 모드 또는 인터 모드시에 영상신호에서 검출한 윤곽선을 확률 부호화할 때, 종래 방법에서와 같이 한 화소씩 수행하는 것이 아니라, 몇 개의 화소를 그룹핑한 N×N 서브 블록(예를들면, 2×2 서브 블록, 4×4 서브 블록 등)으로 분할하고 이에 인접 화소들을 이용하는 확률값으로 부호화를 수행함으로써, 부호화를 위한 처리시간의 단축은 물론 부호화 효율을 대폭적으로 증진시킬 수 있다.As described above, according to the present invention, when probabilistic encoding the contour detected from the video signal in the intra mode or the inter mode for object-based encoding, several pixels are not performed one by one as in the conventional method. By dividing into grouped N × N subblocks (eg, 2 × 2 subblocks, 4 × 4 subblocks, etc.) and performing encoding with probability values using neighboring pixels, the encoding process is shortened as well as encoding. The efficiency can be greatly improved.

Claims (19)

부호화하고자 하는 영상신호에서 추출한 윤곽선 정보를 포함하는 현재 프레임의 현재 윤곽을 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 장치에 있어서,A shape encoding apparatus for encoding a current contour of a current frame including contour information extracted from a video signal to be encoded by probability coding based on a prepared code table, 상기 영상신호에서 추출한 현재 프레임 신호를 저장하는 프레임 메모리;A frame memory for storing a current frame signal extracted from the video signal; 상기 프레임 메모리에서 제공되는 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 확장하며, 상기 M 및 N이 정수인 영역 확장 블록;An area extension block extending each M × M block provided in the frame memory into an N × N block having an area at least larger than that, wherein M and N are integers; 상기 영역 확장 블록으로부터 제공되는 상기 확장된 N×N 블록을 다수의 P×P 서브 블록으로 분할하며, 상기 P가 정수인 영역 분할 블록;A region partition block dividing the expanded N × N block provided from the region extension block into a plurality of P × P subblocks, wherein P is an integer; 상기 P×P 서브 블록에 대응하는 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비한 코드 테이블;A code table having n pattern codewords each having a plurality of patterns corresponding to the P × P subblocks and probability information corresponding to each of the plurality of patterns; 현재 부호화하고자 하는 P×P 서브 블록 이전에 이미 부호화된 상기 현재 프레임의 이전 화소 데이터를 저장하며, 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록에 인접하는 상기 현재 프레임의 n개의 주변 화소값들에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 상기 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 패턴 결정 블록;Stores previous pixel data of the current frame that is already encoded before the P × P subblock to be currently encoded, and based on n neighboring pixel values of the current frame adjacent to the corresponding subblock provided from the region partitioning block. A pattern determination block determining one of the n pattern codewords as a pattern codeword for encoding the corresponding subblock; 상기 코드 테이블에서 제공되는 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 모델 적응 블록; 및One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword provided in the code table and corresponding subblocks provided from the region partitioning block, and the determined optimal A model adaptation block that calculates probability values for the corresponding subblocks based on probability information on the pattern; And 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 부호화 블록으로 이루어진 개선된 형태 부호화 장치.An improved shape encoding apparatus comprising an encoding block for encoding the calculated probability values using an arithmetic code. 제 1 항에 있어서, 상기 M×M 블록은, 16×16 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.2. The apparatus of claim 1, wherein the M × M block has a size of 16 × 16 blocks. 제 2 항에 있어서, 상기 확장된 N×N 블록은, 18×18 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.3. The apparatus of claim 2, wherein the extended N × N block has a size of 18 × 18 blocks. 제 2 항에 있어서, 상기 분할된 각 P×P 서브 블록은, 2×2 서브 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.3. The apparatus of claim 2, wherein each of the divided PxP subblocks has a size of 2x2 subblocks. 제 2 항에 있어서, 상기 분할된 각 P×P 서브 블록은, 4×4 서브 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.3. The apparatus of claim 2, wherein each of the divided PxP subblocks has a size of 4x4 subblocks. 제 4 항 또는 제 5 항에 있어서, 상기 각 패턴 코드워드내의 다수의 패턴 갯수는, 상기 분할된 서브 블록의 화소수에 의해 결정되는 것을 특징으로 하는 개선된 형태 부호화 장치.The apparatus according to claim 4 or 5, wherein the number of patterns in each pattern codeword is determined by the number of pixels of the divided subblocks. 제 1 항에 있어서, 상기 코드 테이블내 n개의 패턴 코드워드의 수는, 상기 분할된 서브 블록에 인접하는 상기 현재 프레임의 n개의 주변 화소 갯수에 의해 결정되는 것을 특징으로 하는 개선된 형태 부호화 장치.2. The apparatus of claim 1, wherein the number of n pattern codewords in the code table is determined by the number of n peripheral pixels of the current frame adjacent to the divided subblock. 제 7 항에 있어서, 상기 인접하는 주변 화소의 갯수는 6개이고, 상기 패턴 코드워드는 64개인 것을 특징으로 하는 개선된 형태 부호화 장치.8. The apparatus of claim 7, wherein the number of adjacent neighboring pixels is six and the pattern codeword is 64. 부호화하고자 하는 영상신호에서 추출한 윤곽선 정보를 포함하는 현재 프레임의 현재 윤곽을 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 방법에 있어서,In the form encoding method for encoding the current contour of the current frame including the contour information extracted from the video signal to be encoded through a probability coding based on the prepared code table, 상기 코드 테이블은, 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비하며,The code table includes n pattern codewords each having a plurality of patterns and probability information corresponding to each of the plurality of patterns, 상기 부호화 방법은:The encoding method is: 상기 영상신호에서 추출한 현재 프레임 신호를 기설정된 다수의 M×M 블록으로 분할하며, 상기 N은 정수인 제 1 단계;A first step of dividing a current frame signal extracted from the video signal into a plurality of predetermined M × M blocks, wherein N is an integer; 상기 분할된 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 각각 확장하며, 상기 M이 정수인 제 2 단계;Expanding each of the divided M × M blocks into N × N blocks each having at least a larger area, wherein M is an integer; 상기 확장된 각 N×N 블록을 다수의 P×P 서브 블록으로 각각 분할하며, 상기 P가 정수인 제 3 단계;Dividing each of the expanded N × N blocks into a plurality of P × P subblocks, wherein P is an integer; 이미 부호화된 상기 현재 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 4 단계;A fourth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the current frame that is already encoded; 상기 분할된 각 서브 블록에 인접하는 상기 결정된 n개의 주변 화소값들에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 분할된 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 제 5 단계;A fifth step of determining any one of the n pattern codewords as a pattern codeword for encoding the corresponding subblock based on the determined n neighboring pixel values adjacent to each of the divided subblocks; 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 제 6 단계; 및One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword and the corresponding subblocks, and based on probability information for the determined optimal pattern, the corresponding subblocks are assigned to the corresponding subblocks. A sixth step of calculating probability values And 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 제 7 단계로 이루어진 개선된 형태 부호화 방법.And a seventh step of encoding the calculated probability values using an arithmetic code. 추출된 현재 윤곽선 신호를 포함하는 현재 프레임과 추출된 이전 윤곽선 신호를 포함하는 이전 프레임간의 감산을 통해 얻어지는 차분 윤곽선 정보를 포함하는 현재 프레임의 상기 차분 윤곽선 정보를 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 장치에 있어서,Through the probability coding based on the prepared code table, the differential contour information of the current frame including the differential contour information obtained by subtraction between the current frame including the extracted current contour signal and the previous frame including the extracted previous contour signal is obtained. In the form encoding device to encode, 상기 차분 윤곽선 정보를 포함하는 현재 프레임 신호를 저장하는 제 1 프레임 메모리;A first frame memory for storing a current frame signal including the difference contour information; 상기 프레임 메모리에서 제공되는 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 확장하며, 상기 M 및 N이 정수인 영역 확장 블록;An area extension block extending each M × M block provided in the frame memory into an N × N block having an area at least larger than that, wherein M and N are integers; 상기 영역 분할 블록로부터 제공되는 상기 확장된 N×N 블록을 다수의 P×P 서브 블록으로 분할하며, 상기 P가 정수인 영역 분할 블록;A region partition block dividing the expanded N × N block provided from the region partition block into a plurality of P × P subblocks, wherein P is an integer; 상기 P×P 서브 블록에 대응하는 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비한 코드 테이블;A code table having n pattern codewords each having a plurality of patterns corresponding to the P × P subblocks and probability information corresponding to each of the plurality of patterns; 이전에 부호화된 이전 차분 윤곽선 정보를 포함하는 이전 프레임의 각 화소 데이터를 저장하고, 현재 부호화하고자 하는 P×P 서브 블록 이전에 이미 부호화된 상기 현재 프레임의 이전 화소 데이터를 저장하는 제 2 프레임 메모리;A second frame memory for storing each pixel data of a previous frame including previously encoded previous difference contour information, and storing previous pixel data of the current frame that is already encoded before a P × P subblock to be currently encoded; 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록에 인접하는 상기 기부호화된 현재 프레임의 n개의 주변 화소값 및 상기 해당 서브 블록에 인접하는 상기 이전 프레임의 n개의 주변 화소값에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 상기 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 패턴 결정 블록;The n patterns on the basis of n peripheral pixel values of the base-coded current frame adjacent to the sub-block provided from the region dividing block and n peripheral pixel values of the previous frame adjacent to the sub-block. A pattern determination block that determines one of codewords as a pattern codeword for encoding the corresponding subblock; 상기 코드 테이블에서 제공되는 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 상기 영역 분할 블록으로부터 제공되는 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 모델 적응 블록; 및One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword provided in the code table and corresponding subblocks provided from the region partitioning block, and the determined optimal A model adaptation block that calculates probability values for the corresponding subblocks based on probability information on the pattern; And 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 부호화 블록으로 이루어진 개선된 형태 부호화 장치.An improved shape encoding apparatus comprising an encoding block for encoding the calculated probability values using an arithmetic code. 제 10 항에 있어서, 상기 M×M 블록은, 16×16 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.12. The apparatus of claim 10, wherein the M × M block has a size of 16 × 16 blocks. 제 11 항에 있어서, 상기 확장된 N×N 블록은, 18×18 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.12. The apparatus of claim 11, wherein the extended N × N block has a size of 18 × 18 blocks. 제 11 항에 있어서, 상기 분할된 각 P×P 서브 블록은, 2×2 서브 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.12. The apparatus of claim 11, wherein each of the divided PxP subblocks has a size of 2x2 subblocks. 제 11 항에 있어서, 상기 분할된 각 P×P 서브 블록은, 4×4 서브 블록의 크기를 갖는 것을 특징으로 하는 개선된 형태 부호화 장치.12. The apparatus according to claim 11, wherein each of the divided PxP subblocks has a size of 4x4 subblocks. 제 13 항 또는 제 14 항에 있어서, 상기 각 패턴 코드워드내의 다수의 패턴 갯수는, 상기 분할된 서브 블록의 화소수에 의해 결정되는 것을 특징으로 하는 개선된 형태 부호화 장치.15. The apparatus of claim 13 or 14, wherein the number of patterns in each pattern codeword is determined by the number of pixels of the divided subblocks. 제 10 항에 있어서, 상기 코드 테이블내 n개의 패턴 코드워드의 수는, 상기 분할된 서브 블록에 인접하는 상기 현재 프레임의 n개의 주변 화소 갯수와 상기 이전 프레임의 n개의 주변 화소 갯수의 총합에 의해 결정되는 것을 특징으로 하는 개선된 형태 부호화 장치.11. The method of claim 10, wherein the number of n pattern codewords in the code table is determined by the sum of the number of n peripheral pixels of the current frame and the number of n peripheral pixels of the previous frame adjacent to the divided subblock. Improved shape coding apparatus, characterized in that determined. 제 16 항에 있어서, 상기 분할된 서브 블록에 인접하는 상기 이전 프레임의 n개의 주변 화소들은, 적어도 상기 현재 프레임의 n개의 주변 화소들과 중첩되지 않는 위치의 주변 화소들인 것을 특징으로 하는 개선된 형태 부호화 장치.17. The improved form of claim 16, wherein the n neighboring pixels of the previous frame adjacent to the divided sub-block are at least neighboring pixels at positions not overlapping with the n neighboring pixels of the current frame. Encoding device. 제 16 항 또는 제 17항에 있어서, 상기 현재 프레임의 인접하는 주변 화소의 갯수가 3개이고, 상기 이전 프레임의 인접하는 주변 화소의 갯수가 3개이며, 상기 패턴 코드워드는 64개인 것을 특징으로 하는 개선된 형태 부호화 장치.18. The method of claim 16 or 17, wherein the number of adjacent neighboring pixels of the current frame is three, the number of adjacent neighboring pixels of the previous frame is three, and the pattern codeword is 64. Improved shape coding device. 추출된 현재 윤곽선 신호를 포함하는 현재 프레임과 추출된 이전 윤곽선 신호를 포함하는 이전 프레임간의 감산을 통해 얻어지는 차분 윤곽선 정보를 포함하는 현재 프레임의 상기 차분 윤곽선 정보를 준비된 코드 테이블에 의거하는 확률 부호화를 통해 부호화하는 형태 부호화 방법에 있어서,Through the probability coding based on the prepared code table, the differential contour information of the current frame including the differential contour information obtained by subtraction between the current frame including the extracted current contour signal and the previous frame including the extracted previous contour signal is obtained. In the form encoding method to encode, 상기 코드 테이블은, 다수의 패턴 및 다수의 각 패턴에 상응하는 확률 정보를 각각 갖는 n개의 패턴 코드워드를 구비하며,The code table includes n pattern codewords each having a plurality of patterns and probability information corresponding to each of the plurality of patterns, 상기 부호화 방법은:The encoding method is: 상기 영상신호에서 추출한 현재 프레임 신호를 기설정된 다수의 M×M 블록으로 분할하며, 상기 N은 정수인 제 1 단계;A first step of dividing a current frame signal extracted from the video signal into a plurality of predetermined M × M blocks, wherein N is an integer; 상기 분할된 각 M×M 블록을 적어도 그보다 큰 영역을 갖는 N×N 블록으로 각각 확장하며, 상기 M이 정수인 제 2 단계;Expanding each of the divided M × M blocks into N × N blocks each having at least a larger area, wherein M is an integer; 상기 확장된 각 N×N 블록을 다수의 P×P 서브 블록으로 각각 분할하며, 상기 P가 정수인 제 3 단계;Dividing each of the expanded N × N blocks into a plurality of P × P subblocks, wherein P is an integer; 이미 부호화된 상기 현재 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 4 단계;A fourth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the current frame that is already encoded; 기부호화된 이전 프레임의 화소 데이터중 상기 분할된 각 서브 블록에 인접하는 주변 n개의 화소값들을 결정하는 제 5 단계;A fifth step of determining neighboring n pixel values adjacent to each of the divided sub-blocks among the pixel data of the base-coded previous frame; 상기 결정된 현재 프레임의 n개의 주변 화소값 및 상기 결정된 이전 프레임의 n개의 주변 화소값에 의거하여, 상기 n개의 패턴 코드워드중 어느 하나를 분할된 해당 서브 블록의 부호화를 위한 패턴 코드워드로 결정하는 제 6 단계;Based on the determined n neighboring pixel values of the current frame and the determined n neighboring pixel values of the previous frame, any one of the n pattern codewords is determined as a pattern codeword for encoding the corresponding subblock. Sixth step; 상기 결정된 패턴 코드워드내의 다수의 각 패턴들과 해당 서브 블록들간의 패턴 매칭을 통해 다수의 패턴중의 하나를 최적 패턴으로 결정하고, 이 결정된 최적 패턴에 대한 확률 정보에 의거하여 해당 서브 블록들에 대한 확률값들을 산출하는 제 7 단계; 및One of the plurality of patterns is determined as an optimal pattern through pattern matching between each of the plurality of patterns in the determined pattern codeword and the corresponding subblocks, and based on probability information for the determined optimal pattern, the corresponding subblocks are assigned to the corresponding subblocks. A seventh step of calculating probability values And 산술코드를 이용하여 상기 산출된 확률값들을 부호화하는 제 8 단계로 이루어진 개선된 형태 부호화 방법.And an eighth step of encoding the calculated probability values using an arithmetic code.
KR1019970027165A 1997-06-25 1997-06-25 Improved shape coding apparatus and method KR100259471B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970027165A KR100259471B1 (en) 1997-06-25 1997-06-25 Improved shape coding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970027165A KR100259471B1 (en) 1997-06-25 1997-06-25 Improved shape coding apparatus and method

Publications (2)

Publication Number Publication Date
KR19990003314A KR19990003314A (en) 1999-01-15
KR100259471B1 true KR100259471B1 (en) 2000-06-15

Family

ID=19511128

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970027165A KR100259471B1 (en) 1997-06-25 1997-06-25 Improved shape coding apparatus and method

Country Status (1)

Country Link
KR (1) KR100259471B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695133B1 (en) * 2003-11-21 2007-03-14 삼성전자주식회사 Apparatus and method of generating coded block pattern for alpha channel image and alpha channel image encoding/decoding apparatus and method employing the same
KR101396632B1 (en) 2005-01-06 2014-05-16 퀄컴 인코포레이티드 Residual coding in compliance with a video standard using non-standardized vector quantization coder

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100488421B1 (en) * 1997-10-17 2005-07-07 주식회사 팬택앤큐리텔 Lossy coding method of binary image
EP1223759A1 (en) * 2001-01-08 2002-07-17 Robert Bosch Gmbh Method for providing an extension code for a binary description for multimedia data

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695133B1 (en) * 2003-11-21 2007-03-14 삼성전자주식회사 Apparatus and method of generating coded block pattern for alpha channel image and alpha channel image encoding/decoding apparatus and method employing the same
KR101396632B1 (en) 2005-01-06 2014-05-16 퀄컴 인코포레이티드 Residual coding in compliance with a video standard using non-standardized vector quantization coder

Also Published As

Publication number Publication date
KR19990003314A (en) 1999-01-15

Similar Documents

Publication Publication Date Title
US7162091B2 (en) Intra compression of pixel blocks using predicted mean
US8391364B2 (en) Moving picture encoding device, moving picture decoding device, moving picture encoding method, moving picture decoding method, program, and computer readable recording medium storing program
KR0181032B1 (en) Object-based encoding and apparatus using an interleaving technique
JP3703299B2 (en) Video coding method, system and computer program product for optimizing picture center image quality
KR100597397B1 (en) Method For Encording Moving Picture Using Fast Motion Estimation Algorithm, And Apparatus For The Same
KR100238889B1 (en) Apparatus and method for predicting border pixel in shape coding technique
KR100209409B1 (en) Object-based encoding method and apparatus using an object warping
KR0159370B1 (en) Method and apparatus for encoding a video signals using a boundary of an object
KR100212559B1 (en) The contour coding system and motion prediction method for object
KR100259471B1 (en) Improved shape coding apparatus and method
KR100249487B1 (en) Adaptive encoding apparatus and method
KR0178221B1 (en) Improved pattern vector encoding system using average value of pixels
KR100238888B1 (en) Adaptive shape coding apparatus and method
KR100207391B1 (en) Image coding system and moving information detecting method using adaptive vector quantization
KR100240344B1 (en) Adaptive vertex coding apparatus and method
KR100203626B1 (en) Object based encoder for full motion image
KR100220581B1 (en) The vertex coding apparatus for object contour encoder
KR100220680B1 (en) The vertex coding apparatus for object contour encoder
KR100212560B1 (en) Apparatus for determinating coding mode of contour in hybrid contour coding system
KR100238890B1 (en) Improved texture motion vector estimating apparatus and method
KR100207378B1 (en) Image encoding system using adaptive vector quantization
KR100252346B1 (en) An improved apparatus and method for coding texture move vector
KR100207388B1 (en) Image encoder using adaptive vector quantization
KR0178203B1 (en) The improved pattern vector coding system
KR0178207B1 (en) The high-speed pattern matching apparatus and method in vector coding system

Legal Events

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

Payment date: 20110302

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee