KR100424681B1 - Apparatus for encoding shape information - Google Patents

Apparatus for encoding shape information Download PDF

Info

Publication number
KR100424681B1
KR100424681B1 KR1019960027500A KR19960027500A KR100424681B1 KR 100424681 B1 KR100424681 B1 KR 100424681B1 KR 1019960027500 A KR1019960027500 A KR 1019960027500A KR 19960027500 A KR19960027500 A KR 19960027500A KR 100424681 B1 KR100424681 B1 KR 100424681B1
Authority
KR
South Korea
Prior art keywords
shape information
rounding
unit
vop
image
Prior art date
Application number
KR1019960027500A
Other languages
Korean (ko)
Other versions
KR980013434A (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 KR1019960027500A priority Critical patent/KR100424681B1/en
Publication of KR980013434A publication Critical patent/KR980013434A/en
Application granted granted Critical
Publication of KR100424681B1 publication Critical patent/KR100424681B1/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/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/649Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding the transform being applied to non rectangular image segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: An apparatus for encoding shape information is provided to reduce the quantity of transmission data by rounding shape information of an object image, moving a grid according to shape information so that shape information exists in the minimum macro block, and encoding shape information. CONSTITUTION: A binary rounding unit(31) performs the binary rounding of an original object image. A shape adaptive region dividing unit(32) moves a grid according to shape information of the object image rounded in the binary rounding unit(31), and outputs an offset value which exists in the minimum macro block. A binary quadtree shape information coding unit(33) performs the binary quadtree shape information coding of an image of an object which exists in the minimum macro block according to the movement of the grid in the shape adaptive region dividing unit(32).

Description

모양 정보 부호화 장치Shape information encoding device

본 발명은 MPEG(Moving Picture Experts Group)-4에서 VOP(Video ObjectPlane)를 형성한 대상물 영상의 모양 정보(shape)를 부호화하는 모양 정보 부호화 장치에 관한 것이다.The present invention relates to a shape information encoding apparatus for encoding shape information (shape) of an object image in which a Video Object Plane (VOP) is formed in Moving Picture Experts Group (MPEG-4).

현재 표준화가 진행되고 있는 MPEG-4는 VOP(Video Object Plane)의 개념을 기초로 하고 있다.MPEG-4, which is currently being standardized, is based on the concept of VOP (Video Object Plane).

여기서, VOP는 하나의 영상 화면에서 소정의 물체 및 영역 등의 대상물 영상이 다수개 존재할 경우에 그 대상물의 영상을 각기 VOP로 분리하고, 분리한 상기 대상물의 영상을 각기 부호화하는 것을 기본 골격으로 하고 있다.In this case, when a plurality of target images such as a predetermined object and a region exist in a single video screen, the VOP is divided into VOPs, and the encoding of the separated target images is performed as a basic skeleton. have.

그리고 부호화한 대상물의 명상을 전송할 경우에 영상의 최소 크기에 대한 가로 방향의 값 및 세로 방향의 값과, 대상물의 정보를 함께 전송하도록 하고 있다.When the meditation of the encoded object is transmitted, the horizontal value and the vertical value for the minimum size of the image and the information of the object are transmitted together.

이러한 VOP는 자연 영상 및 인공 영상을 대상물 영상의 단위로 하여 자유자재로 합성 내지는 분해할 수 있는 장점을 가지는 것으로서 컴퓨터 그래픽스 및 멀티 미디어의 분야 등에서 대상물의 영상을 처리하는 데 기본이 되고 있다.The VOP has the advantage of freely synthesizing or decomposing a natural image and an artificial image as a unit of an object image, and is fundamental to processing an object image in the field of computer graphics and multimedia.

제1도는 국제표준 산하기구(ISO/IEC JTC1/SC29/WG11 MPEG96/N1172 January)에서 1차적으로 확정한 VM(Verification Model) 엔코더의 구성을 보인 블록도이다.FIG. 1 is a block diagram showing the configuration of a VM (Verification Model) encoder determined primarily by the International Standards Organization (ISO / IEC JTC1 / SC29 / WG11 MPEG96 / N1172 January).

여기서, VOP 형성부(VOP Formation)(11)는 전송 또는 저장할 영상 시퀀스가 입력될 경우에 이를 VOP로 형성한다.Here, the VOP Formation unit 11 forms a VOP when an image sequence to be transmitted or stored is input.

VOP의 형성은 하나의, 화면에서 여러 개의 대상물 영상이 존재할 경우에 배경화면과, 각각의 대상물 영상에 대하여 각기 다른 VOP로 형성하는 것으로서 배경화면과 각각의 대상물 영상으로 분리하고, 상기 분리한 배경 화면이나 대상물 영상을 포함하는 가장 작은 사각형을 VOP로 정의하고 있다.The VOP is formed of a background image and a different VOP for each object image when multiple object images exist in one screen, and is divided into a background image and each object image, and the separated background image. The smallest rectangle that contains the object image is defined as VOP.

제2도는 대상물의 영상으로 "고양이" 의 영상을 설정하여 하나의 VOP를 형성만 일 예를 보이고 있다.2 shows an example of only one VOP being formed by setting an image of "cat" as an image of an object.

여기서, VOP의 가로 방향 크기는 VOP 폭으로 정의되고, 세로 방향의 크기는 VOP 높이로 정의된다.Here, the horizontal size of the VOP is defined as the VOP width, and the vertical size is defined as the VOP height.

형성된 VOP는 좌측 상단을 그리드 시작점으로 하고, X축 및 Y축으로 각기 M개 및 N개의 화소를 가지는 M×N 매크로 블록으로 구획된다. 예를 들면 X축 및 Y축으로 각기 16개의 화소를 가지는 16×16 매크로 블록으로 구획된다.The formed VOP is divided into M × N macroblocks having M and N pixels on the X-axis and the Y-axis, respectively, with the upper left as the grid starting point. For example, it is divided into 16x16 macroblocks each having 16 pixels on the X-axis and the Y-axis.

이때, VOP의 우측과 하단에 형성되는 매크로 블록의 X축 및 Y축 화소가 각기 M개 및 N개가 아닐 경우에 VOP의 크기를 확장하여 각각의 매크로 블록의 X축 및 Y축 화소가 모두 M개 및 N개로 되게 한다.In this case, when the number of X and Y axes of the macro block formed on the right and bottom of the VOP is not M and N, respectively, the size of the VOP is expanded to have M pixels of both the X and Y axes of each macro block. And N.

VOP 형성부(11)에서 형성된 각각의 VOP는 VOP 부호화부(12A,12B,12C,…)에 각기 입력되어 VOP 별로 부호화되고, 멀티플렉서(13)에서 다중화되어 비트 스트림으로 전송된다.Each VOP formed by the VOP forming unit 11 is input to the VOP encoders 12A, 12B, 12C, ..., respectively, encoded for each VOP, multiplexed by the multiplexer 13, and transmitted as a bit stream.

제3도는 국제표준 산하기구에서 1차적으로 확정한 VM 엔코더의 VOP 부호화부 (12A,12B,12C,…)의 구성을 보인 블록도이다.FIG. 3 is a block diagram showing the configuration of the VOP encoders 12A, 12B, 12C, ... of the VM encoder primarily determined by the international standard subdivision.

VOP 형성부(11)에서 형성된 각각의 대상물 영상에 대한 VOP가 움직임 추정부(Motion Estimation)(21)에 입력되어 매크로 블록의 단위로 움직임이 추정된다.The VOP for each object image formed by the VOP forming unit 11 is input to a motion estimation unit 21 to estimate the motion in units of macro blocks.

상기 움직임 추정부(21)에서 추정된 움직임 정보는 움직임 보상부(MotionCompensation)(22)에 입력되어 움직임이 보상된다.The motion information estimated by the motion estimator 21 is input to a motion compensation unit 22 to compensate for the motion.

상기 움직임 보상부(22)에서 움직임이 보상된 상기 VOP는 VOP 형성부(11)에서 형성된 VOP와 함께 가산기(23)에 입력되어 차이 값이 검출되고, 상기 가산기(23)에서 검출된 차이 값은 대상물 내부 부호화부(24)에 입력되어 매크로 블록의 서브 블록 단위로 대상물의 내부정보가 부호화된다. 예를 들면, 대상물 내부 부호화부(24)는, 매크로 블록의 X축 및 Y축을 M/2 ×N/2으로 각기 8개의 화소를 가지는 8×8의 서브 블록으로 세분화한 후 대상물의 내부정보를 부호화한다.The VOP whose motion is compensated by the motion compensator 22 is input to the adder 23 together with the VOP formed by the VOP forming unit 11 to detect a difference value, and the difference value detected by the adder 23 is The internal information of the object is encoded by the object internal encoding unit 24 in units of sub blocks of the macro block. For example, the object internal encoding unit 24 subdivides the X-axis and the Y-axis of the macroblock into 8x8 subblocks each having eight pixels, each of M / 2 x N / 2, and then stores the internal information of the object. Encode

상기 움직임 보상부(22)에서 움직임이 보상된 VOP와 대상물 내부 부호화부(24)에서 부호화된 대상물의 내부 정보가 가산기(25)에 입력되어 가산되고, 상기 가산기(25)의 출력신호는 이전 VOP 검출부(Previous Reconstructed VOP)(26)에 입력되어 이전 화면의 VOP가 검출된다. 이전 VOP 검출부(26)에서 검출된 상기 이전 화면의 VOP는 움직임 추정부(21) 및 움직임 보상부(22)에 입력되어 움직임 추정 및 움직임 보상에 사용하도록 하고 있다.The VOP whose motion is compensated by the motion compensator 22 and the internal information of the object encoded by the object internal encoder 24 are input to the adder 25, and the output signal of the adder 25 is added to the previous VOP. Input to the detection unit (Previous Reconstructed VOP) 26 to detect the VOP of the previous screen. The VOP of the previous screen detected by the previous VOP detector 26 is input to the motion estimator 21 and the motion compensator 22 to be used for motion estimation and motion compensation.

그리고 상기 VOP 형성부(11)에서 형성된 VOP는 모양 정보 부호화부(Shape Coding)(27)에 입력되어 모양 정보가 부호화된다.The VOP formed by the VOP forming unit 11 is input to a shape coding unit 27 to encode shape information.

여기서, 모양 정보 부호화부(27)의 출력신호는 VOP 부호화부(12,12A,12B·,.‥)가 적용되는 분야에 따라 사용 여부가 결정되는 것으로 모양 정보 부호화부(27)의 출력신호를 점선으로 표시된 바와 같이 움직임 추정부(21), 움직임 보상부(22) 및 대상물 내부 부호화부(24)에 입력시켜 움직임 추정, 움직임 보상 및 대상물의 내부 정보를 부호화하는 데 사용할 수 있다.Here, the output signal of the shape information encoder 27 is determined according to the field to which the VOP encoders 12, 12A, 12B, ... are applied. As indicated by the dotted line, the motion estimation unit 21, the motion compensator 22, and the object internal encoder 24 may be input to the motion estimation unit, the motion compensation unit, and the internal information of the object.

상기 움직임 추정부(21)에서 추정된 움직임 정보, 대상물 내부 부호화부 ·(34)에서 부호화된 대상물의 내부 정보 및 모양 정보 부호화부(27)에서 부호화된 모양 정보는 멀티플렉서(27)에서 다중화되고, 버퍼(29)를 통해 제1도의 멀티플렉서(13)로 출력되어 비트 스트림으로 전송된다.The motion information estimated by the motion estimation unit 21, the internal information of the object encoded by the object internal encoder 34, and the shape information encoded by the shape information encoder 27 are multiplexed by the multiplexer 27, The buffer 29 is output to the multiplexer 13 of FIG. 1 and transmitted as a bit stream.

이러한 VOP 부호화부(12A,12B,12C,…)에 있어서, 대상물의 영상이 존재하는 위치에 따라 그리드의 위치를 조절하지 않고, 대상물의 모양 정보를 모양 정보부호화부(27)에서 부호화할 경우에 대상물의 영상이 존재하는 매크로 영역의 수가 많아 부호화 정보량이 매우 많게 된다.In the VOP encoders 12A, 12B, 12C, ..., when the shape information of the object is encoded by the shape information encoder 27 without adjusting the position of the grid according to the position where the image of the object exists. The number of macro areas in which the image of the object exists is very large and the amount of encoded information is very large.

그러므로 본 출원인이 선출원한 1996년 특허 출원 제11367호에서는 모양 적응 영역 분할부를 구비하고, 대상물 영상의 위치에 따라 그리드를 이동시켜 대상물의 영상이 가장 적은 수의 매크로 블록에 존재하게 함으로써 부호화할 매크로 블록의 수를 줄여 부호화 효율을 향상시킬 수 있도록 하고 있다.Therefore, in 1996 Patent Application No. 11367, which was filed by the present applicant, a shape adaptation region segmentation unit is provided, and a macro to be encoded by moving a grid according to the position of the object image so that the image of the object exists in the smallest number of macroblocks. It is possible to improve the coding efficiency by reducing the number of blocks.

그러나 상기한 1996년 특허 출원 제11367호는 대상물 영상에 대한 원래의 모양 정보에 따라 그리드를 이동시켜 대상물의 영상이 가장 적은 수의 매크로 블록에 존재하게 함으로써 모양 정보 부호화부에서 전송되는 데이터의 양을 줄이기 위하여 라운딩(rounding)으로 손실 코딩(lossy coding)을 수행할 경우에 전송 및 재생되는 대상물 영상의 모양 정보가 원래의 모양 정보와 상이하게 된다.However, the 1996 patent application No. 11367 describes the amount of data transmitted from the shape information encoder by moving the grid according to the original shape information of the object image so that the image of the object exists in the smallest number of macro blocks. In the case of performing lossy coding with rounding, shape information of an object image to be transmitted and reproduced is different from the original shape information.

그러므로 대상물 영상의 움직임 추정 및 물체 내부 부호화를 수행할 경우에 다시 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 매크로 블록의 위치를 조절해야 되는 문제점이 있었다.Therefore, when the motion estimation and the object encoding of the object image are performed, there is a problem in that the position of the macro block must be adjusted by moving the grid according to the shape information of the object image.

따라서 본 발명의 목적은 대상물 영상의 모양 정보를 라운딩하고, 모양 정보에 따라 그리드를 이동시켜 최소의 매크로 블록에 존재하게 한 후 모양 정보 부호화를 수행하여 전송 데이터의 양을 줄일 수 있도록 하는 모양 정보 부호화 장치를 제공하는 데 있다.Therefore, an object of the present invention is to round the shape information of the object image, move the grid in accordance with the shape information to exist in the minimum macro block, shape shape coding to reduce the amount of transmission data by performing shape information encoding To provide a device.

제1도는 국제표준 산하기구에서 1차적으로 확정한 VM 엔코더의 구성을 보인 블록도.1 is a block diagram showing the configuration of a VM encoder primarily confirmed by the International Standards Organization.

제2도는 모양 정보를 가지는 VOP를 그리드에 의해 매크로 블록으로 구획한 상태를 예로 들어 보인 도면.2 is a diagram illustrating a state in which a VOP having shape information is divided into macroblocks by a grid as an example.

제3도는 국제표준 산하기구에서 1차적으로 확정한 VM 엔코더의 VOP 부호화부를 보인 상세도.3 is a detailed view showing a VOP encoder of a VM encoder primarily determined by an international standard subdivision.

제4도는 본 발명의 모양 정보 부호화 장치의 일 실시예를 보인 화로도.4 is a hearth diagram showing an embodiment of the shape information encoding apparatus of the present invention.

제5도는 본 발명의 모양 정보 부호화 장치의 다른 실시예를 보인 회로도.5 is a circuit diagram showing another embodiment of the shape information encoding apparatus of the present invention.

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

11 : VOP 형성부, 31 : 이진 라운딩부, 31A : 그레이 스케일 라운딩부, 32 : 모양 적응 영역 분할부, 33 : 이진 쿼드트리 모양 정보 부호화부, 33A : 그레이 스케일 쿼드트리 모양 정보 부호화부11: VOP forming unit, 31: binary rounding unit, 31A: gray scale rounding unit, 32: shape adaptation region splitting unit, 33: binary quadtree shape information encoding unit, 33A: grayscale quadtree shape information encoding unit

이러한 목적을 달성하기 위한 본 발명의 모양 정보 부호화 장치는 VOP형성부에서 입력되는 대상물 영상의 모양 정보에 대하여 라운딩부에서 라운딩을 수행하고, 라운딩한 대상물 영상의 모양 정보에 따라 모양 적응 영역 분할부에서 그리드를 이동시켜 최소의 매크로 블록에 존재하게 한 후 쿼드트리 모양 정보 부호화를 수행한다.According to the shape information encoding apparatus of the present invention, the rounding unit performs rounding on the shape information of the object image input from the VOP forming unit, and the shape adaptation region partitioner performs the rounding on the shape information of the rounded object image. After the grid is moved to exist in the minimum macro block, quadtree shape information encoding is performed.

이하, 첨부된 제4도 및 제5도의 도면을 참조하여 본 발명의 모양 정보 부호화 장치를 상세히 설명하겠으며, 여기서 종래와 동일한 부위에는 동일 부호를 부여하였다.Hereinafter, the shape information encoding apparatus of the present invention will be described in detail with reference to the accompanying drawings of FIGS. 4 and 5, where the same reference numerals are given to the same portions as in the prior art.

제4도는 본 발명의 모양 정보 부호화 장치의 일 실시예를 보인 회로도이다.4 is a circuit diagram showing an embodiment of the shape information encoding apparatus of the present invention.

이에 도시된 바와 같이, 본 발명의 일 실시예는 원래의 대상물 영상을 이진 라운딩하는 이진 라운딩부(31)와, 상기 이진 라운딩부(312)에서 이진 라운딩된 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 최소의 매크로 블록에 존재하는 오프셋 값을 출력하는 모양 적응 영역 분할부(32)와, 상기 모양 적응 영역분할부(32)에서 그리드의 이동에 따른 최소의 매크로 블록에 존재하는 대상물의 영상을 이진 쿼드트리 모양 정보 부호화하는 이진 쿼드트리 모양 정보 부호화부(33)로 구성하였다.As shown in the drawing, the exemplary embodiment of the present invention moves the grid according to the binary rounding unit 31 for binary rounding the original object image and the shape information of the binary image rounded by the binary rounding unit 312. Shape-adaptation region dividing unit 32 for outputting an offset value present in the minimum macroblock, and an image of an object present in the minimum macroblock according to the movement of the grid in the shape-adapting region dividing unit 32 It consists of a binary quadtree shape information encoding unit 33 for encoding quadtree shape information.

이와 같이 구성된 본 발명의 일 실시예는 VOP 형성부(11)에서 형성된 VOP의 원래의 대상물 영상이 입력되면, 이진 라운딩부(31)에서 이진 라운딩을 수행하게 된다.According to the exemplary embodiment of the present invention configured as described above, when the original object image of the VOP formed by the VOP forming unit 11 is input, the binary rounding unit 31 performs binary rounding.

즉, 이진 라운딩부(31)는, 두가지의 구별되는 값 예를 들면,'0' 및 '255'로 대상물의 영상이 존재하는 영역과 대상물의 영상이 존재하지 앉는 영역을 구별하여 모양 정보를 표시한다.That is, the binary rounding unit 31 displays shape information by distinguishing a region where an image of the object exists from a region where the image of the object does not exist with two distinct values, for example, '0' and '255'. do.

이진 라운딩부(31)에서 대상물 영상에 대한 이진 라운딩이 완료되면, 모양적응 영역 분할부(32)에서 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 대상물의 영상이 최소의 매크로 블록에 존재하는 오프셋 값을 출력하고, 이진 쿼드트리모양 정보 부호화부(33)에서 이진 쿼드트리 모양정보 부호화를 수행하여 출력한다.When the binary rounding of the object image is completed in the binary rounding unit 31, the shape adaptation area divider 32 moves the grid according to the shape information of the object image to offset the image of the object in the minimum macro block. The binary quadtree shape information encoder 33 performs binary quadtree shape information encoding and outputs the binary quadtree shape information.

즉, 이진 쿼드트리 모양 정보 부호화부(321)는 4×4블록 단위로 대상물 영상의 모양 정보의 값을 합하고, 비트율의 조절을 위하여 미리 설정한 드레시홀드(threshold) 값을 기준으로 모양 정보의 합한 값이 드레시홀드값 이상이면, 4×4 블록 전체를 '255'로 채우게 된다. 여기서, 상기 드레시홀드 값은 전체 모양정보량(비트량)이 많으면, 높게 설정되고(예를 들면, 모양 정보의 합한 값이 3), 모양정보량이 적으면 낮게 설정한다(예를 들면, 모양 정보의 합한 값이 1).That is, the binary quadtree shape information encoder 321 sums the shape information of the target image in units of 4 × 4 blocks, and adds the shape information based on a threshold value preset for adjusting the bit rate. If the value is greater than or equal to the threshold value, the entire 4x4 block is filled with '255'. Here, the threshold value is set high if the total shape information amount (bit amount) is large (e.g., the sum of shape information is 3), and set low if the shape information amount is small (e.g., The sum is 1).

그리고 드레시홀드 값의 기준에 해당되지 않는 블록은 다시 2×2 블록으로 세분화하여 모양 정보의 값을 모두 합한 후 다른 드레시홀드의 값에 따라 모양 정보의 합한 값이 드레시홀드값 미만이면 모두'0'으로 채우거나 또는 모양 정보의 합한 값이 드레시홀드값 이상이면 '255'로 채우게 된다. 여기서, 다른 드레시홀드 값은 4×4블록에 적용되는 드레시홀드값 이하의 값(예를 들면, 모양 정보의 합한 값이 1)으로 설정한다.Blocks that do not meet the threshold value are further subdivided into 2 × 2 blocks to sum all the values of the shape information, and if the sum of the shape information is less than the threshold value, all of the '0' If the sum of the shape information or the sum of the shape information is more than the threshold value, it is filled with '255'. Here, another threshold value is set to a value equal to or smaller than the threshold value applied to the 4x4 block (for example, the sum of the shape information is 1).

제5도는 본 발명의 모양 정보 부호화 장치의 다른 실시예를 보인 회로도이다. 이에 도시된 바와 같이 원래의 대상물 영상을 이진 라운딩하는 그레이 스케일 라운딩부(31A)와, 상기 그레이 스케일 라운딩부(31A)에서 그레이 스케일 라운딩된 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 최소의 매크로 블럭에 존재하는 오프셋 값을 출력하는 모양 적응 영역 분할부(32)와, 상기 모양적응 영역 분할부(32)에서 그리드의 이동에 따른 최소의 매크로 블록에 존재하는 대상물의 영상을 그레이 스케일 쿼드트리 모양 정보 부호화하는 그레이 스케일 쿼드트리 모양 정보 부호화부(33A)로 구성하였다.5 is a circuit diagram showing another embodiment of the shape information encoding apparatus of the present invention. As shown in the drawing, a gray scale rounding unit 31A for binary rounding an original object image and a minimum macroblock are moved by moving a grid according to shape information of the grayscale rounded object image in the gray scale rounding unit 31A. The shape adaptation region segmentation unit 32 that outputs an offset value present in the image, and the image of the object present in the minimum macro block according to the movement of the grid in the shape adaptation region segmentation unit 32 are gray scale quadtree shape information. It consists of the gray scale quadtree shape information coding part 33A to encode.

이와 같이 구성된 본 발명의 다른 실시예는 VOP 형성부(11)에서 형성된 VOP의 원래의 대상물 영상이 입력되면, 그레이 스케일 라운딩부(31A)에서 이진 라운딩을 수행하게 된다.According to another embodiment of the present invention configured as described above, when the original object image of the VOP formed by the VOP forming unit 11 is input, the gray scale rounding unit 31A performs binary rounding.

즉, 그레이 스케일 라운딩부(31A)는, 배경 화면과 대상물의 영상을 구별하는 블루 스크린 기법에 많이 사용되는 것으로서 '0' 및 '255'가 아닌 다른 값 즉, '0'과 '255'의 사이 값으로 존재하는 모양 정보를 부호화한다.That is, the gray scale rounding unit 31A is widely used for a blue screen technique for distinguishing a background image from an image of an object, and has a value other than '0' and '255', that is, between '0' and '255'. Encodes shape information that exists as a value.

그레이 스케일 라운딩부(31S)에서 대상물 영상에 대한 그레이 스케일 라운딩이 완료되면, 모양 적응 영역 분할부(32)에서 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 대상물의 영상이 최소의 매크로 블록에 존재하는 오프셋 값을 출력하고, 그레이 스케일 쿼드트리 모양 정보 부호화부(33A)에서 그레이 스케일 쿼드트리 모양정보 부호화를 수행하여 출력한다.When the gray scale rounding of the object image is completed in the gray scale rounding unit 31S, the shape adaptation region dividing unit 32 moves the grid according to the shape information of the object image so that the image of the object exists in the minimum macro block. The offset value is output, and the gray scale quadtree shape information encoder 33A performs grayscale quadtree shape information encoding to output the offset value.

즉, 그레이 스케일 쿼드트리 모양 정보 부호화부(322)는 4×4블록 단위 또는 2×2 블록 단위로 대상물 영상의 모양 정보의 값을 합하고, 비트율의 조절을 위하여 미리 설정한 드레시홀드(threshold) 값을 기준으로 모양 정보의 합한 값이 드레시홀드값 미만이면 모두'0'으로 채우거나 또는 모양 정보의 합한 값이 드레시홀드값 이상이면 4×4 블록 전체를 '255'로 채우게 된다. 여기서, 상기 드레시홀드 값은 전체 모양정보량(비트량)이 많으면, 높게 설정되고(예를 들면, 모양 정보의 합한 값이 3), 모양정보량이 적으면 낮게 설정한다(예를 들면, 모양 정보의 합한 값이 1).That is, the gray scale quadtree shape information encoder 322 sums the shape information of the target image in 4 × 4 block units or 2 × 2 block units, and sets a threshold value previously set to adjust the bit rate. If the sum of the shape information is less than the threshold value, all are filled with '0' or if the sum of the shape information is more than the threshold value, the entire 4x4 block is filled with '255'. Here, the threshold value is set high if the total shape information amount (bit amount) is large (e.g., the sum of shape information is 3), and set low if the shape information amount is small (e.g., The sum is 1).

이 때,4×4블록이나, 2×2블록으로 대상물의 영상을 분할할 때 모양 적응영역분할을 수행하여 순차적으로 그리드를 이동시키면서 라운딩을 하고, 대상물의 영상이 존재하는 매크로 블록의 수가 최소로 되는 그리드의 위치를 결정함으로써 라운딩의 효과를 높이게 된다.At this time, when dividing the image of the object into 4 × 4 blocks or 2 × 2 blocks, shape adaptation region division is performed to move the grid in sequence, and the number of macroblocks in which the image of the object exists is minimized. By determining the position of the grid, the effect of rounding is enhanced.

한편, 상기에서는 MPEG-4에 본 발명의 모양 정보 부호화 장치가 적용되는 것을 예로 들어 설명하였으나, 본 발명을 실시함에 있어서는 화상 전화, 화상 회의, PCS용 PDA, 모빌용 전화 및 모빌용 멀티미디어 등과 같은 각종 영상 처리기에 적용될 수 있다.In the above description, the shape information encoding apparatus of the present invention is applied to MPEG-4 as an example. However, in implementing the present invention, various methods such as video telephony, video conferencing, PCS PDA, mobile phone, mobile multimedia, etc. It can be applied to an image processor.

이상에서와 같이 본 발명은 모양 정보를 부호화할 경우에 라운딩을 수행한 후 모양 적응 영역 분할을 수행함으로써 변화된 그리드의 위치마다 라운딩을 수행하여 가장 적은 수의 매크로 블록에 대상물 영상이 위치되게 함으로써 부호화하여 전송할 데이터의 양을 효과적으로 줄일 수 있다.As described above, according to the present invention, when the shape information is encoded, the rounding is performed after the shape adaptation region division to perform rounding for each position of the changed grid so that the object image is positioned in the smallest number of macro blocks. The amount of data to be transmitted can be effectively reduced.

Claims (3)

VOP 형성부(11)에서 출력되는 VOP에 대하여 라운딩을 수행하는 라운딩부와, 상기 라운딩부의 출력신호를 대상물 영상의 모양 정보에 따라 그리드를 이동시켜 최소의 매크로 블록에 존재하게 하는 모양 적응 영역 분할부(32)와, 상기 모양 적응 영역 분할부(32)의 출력신호를 쿼드트리 모양 정보 부호화를 수행하는 쿼드트리모양 정보 부호화부로 구성됨을 특징으로 하는 모양 정보 부호화장치.A rounding unit for rounding the VOP output from the VOP forming unit 11 and a shape adaptation region dividing unit for shifting the output signal of the rounding unit according to the shape information of the object image so as to exist in the minimum macro block. And a quadtree-shape information encoder for quadtree-shape information coding on the output signal of the shape adaptation region dividing unit (32). 제1항에 있어서, 라운딩부는 이진 라운딩부(31)이고, 쿼드트리 모양 정보 부호화부는 이진 쿼드트리 모양 정보 부호화부(33)인 것을 특징으로 해는 모양 정보 부호화 장치 .2. The shape information encoding apparatus according to claim 1, wherein the rounding portion is a binary rounding portion (31), and the quadtree shape information encoding portion is a binary quadtree shape information encoding portion (33). 제1항에 있어서, 라운딩부는 그레이 스케일 라운딩부(31A)이고, 쿼드트리 모양 정보 부호화부는 그레이 스케일 쿼드트리 모양 정보 부호화부(33A)인 것을 특징으로 하는 모양 정보 부호화 장치.2. The shape information encoding apparatus according to claim 1, wherein the rounding portion is a gray scale rounding portion (31A), and the quadtree shape information encoding portion is a gray scale quadtree shape information encoding portion (33A).
KR1019960027500A 1996-07-08 1996-07-08 Apparatus for encoding shape information KR100424681B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960027500A KR100424681B1 (en) 1996-07-08 1996-07-08 Apparatus for encoding shape information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960027500A KR100424681B1 (en) 1996-07-08 1996-07-08 Apparatus for encoding shape information

Publications (2)

Publication Number Publication Date
KR980013434A KR980013434A (en) 1998-04-30
KR100424681B1 true KR100424681B1 (en) 2004-06-18

Family

ID=37329211

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960027500A KR100424681B1 (en) 1996-07-08 1996-07-08 Apparatus for encoding shape information

Country Status (1)

Country Link
KR (1) KR100424681B1 (en)

Also Published As

Publication number Publication date
KR980013434A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
KR100578049B1 (en) Methods and apparatus for predicting intra-macroblock DC and AC coefficients for interlaced digital video
CN1099656C (en) Method and device for video compression
KR0168458B1 (en) Distorting deminishing method and apparatus
US9232198B2 (en) Moving picture prediction system
EP0818930B1 (en) Video coding method
JP4357506B2 (en) Chrominance shape information generator
KR100306070B1 (en) Apparatus and method for encoding binary shape signals in shape coding technique
KR19980080012A (en) Motion estimation and compensation of video object plane for interlaced digital video
KR20010075163A (en) Modified chroma keyed technique for simple shape coding for digital video
KR19980073931A (en) MPEG-4 VOP Coding Method
CN100566415C (en) Method for video coding and video encoding/decoding method
KR100424681B1 (en) Apparatus for encoding shape information
KR100424682B1 (en) Apparatus for encoding shape information
KR100205850B1 (en) Shape of object adaptive dividing of region method
KR100476386B1 (en) Scan Interleaving Method for Stretched Object Images and MPEG-4 Shape-Encoding Information Coding Method
KR100420471B1 (en) Coding method and coding device of object image, particularly concerned with moving a macro block for dividing a vop in mpeg-4 to an information reduction position in accordance with shape information of an object image, to improve a coding efficiency
KR100477795B1 (en) Method for coding information for deciding encoding mode information in scalablely coding of binary shape information
KR100483675B1 (en) Loss-Encoding Method for Encoding Flexible Shape Information
KR100483672B1 (en) Shape Information Encoding Method of Image Signal Processing
KR100417129B1 (en) Coding method of macro block
KR100417132B1 (en) Coding method of object image and coding device
KR100424684B1 (en) Method and apparatus for encoding object image
KR100476387B1 (en) Scan Interleaving Method for Stretched Object Images and MPEG-4 Shape-Encoding Information Coding Method
KR100417131B1 (en) Shape-Adaptive Video Encoding Device Using Merging and Padding of Macroblocks
KR100417133B1 (en) Shape adaptive coding system using combination of macro block

Legal Events

Date Code Title Description
N231 Notification of change of applicant
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: 8

LAPS Lapse due to unpaid annual fee