KR100559713B1 - Color information encoding / decoding device for parallel scan and its method - Google Patents

Color information encoding / decoding device for parallel scan and its method Download PDF

Info

Publication number
KR100559713B1
KR100559713B1 KR1019980007976A KR19980007976A KR100559713B1 KR 100559713 B1 KR100559713 B1 KR 100559713B1 KR 1019980007976 A KR1019980007976 A KR 1019980007976A KR 19980007976 A KR19980007976 A KR 19980007976A KR 100559713 B1 KR100559713 B1 KR 100559713B1
Authority
KR
South Korea
Prior art keywords
dct
macroblock
unit
frame
cbpy
Prior art date
Application number
KR1019980007976A
Other languages
Korean (ko)
Other versions
KR19990074410A (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 주식회사 팬택앤큐리텔
Publication of KR19990074410A publication Critical patent/KR19990074410A/en
Application granted granted Critical
Publication of KR100559713B1 publication Critical patent/KR100559713B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • 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/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Color Television Systems (AREA)

Abstract

본 발명은 동영상의 격행주사를 위한 영상신호 부호화시 부호화 효율을 높이고 복호화된 영상 화질을 개선토록 한 격행주사를 위한 색상정보 부호화/복호화 장치 및 그 방법에 관한 것으로, 이러한 본 발명은 임의의 모양을 가지는 물체 단위의 부호화시 매크로 블록 단위로 패딩을 수행하고, 패딩후 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계와; 결정된 DCT 타입을 알려주는 정보를 부호화 하는 단계와; 프레임 DCT 또는 필드 DCT를 결정한 후 매크로 블록을 셔플링하고, 셔플링후 그 셔플링된 모양정보에 의해 CBPY를 결정하는 단계와; 셔플링후 DCT 및 양자화를 수행하고 DCT 계수를 가변장 부호화 하는 단계를 순차 실행시켜 색상정보를 부호화 한다. 또한 색상 정보의 전송시 DCT 타입을 알려주는 정보를 CBPY에 앞서 수신측에 전송해주게 된다.The present invention relates to a color information encoding / decoding apparatus for a parallel scan for improving coding efficiency and improving a decoded video quality when encoding a video signal for a progressive scan of a video. Performing padding on a macroblock basis when encoding an object unit having a shape, and determining whether to perform frame DCT or field DCT on the macroblock on the object unit and the macroblock on the object boundary after padding; Encoding information indicating the determined DCT type; Shuffling the macro block after determining the frame DCT or the field DCT, and determining the CBPY based on the shuffled shape information after shuffling; After shuffling, color information is encoded by sequentially performing DCT and quantization and performing variable length coding of DCT coefficients. In addition, when the color information is transmitted, information indicating the DCT type is transmitted to the receiver prior to CBPY.

Description

격행주사를 위한 색상 정보 부호화/복호화 장치 및 그 방법Color information encoding / decoding device for parallel scan and its method

본 발명은 격행주사를 위한 색상 정보(color/texture information) 부호화에 관한 것으로, 특히 동영상의 격행주사를 위한 영상신호 부호화시 부호화할 블록수를 줄여 부호화 효율을 높이고 복호화된 영상 화질을 개선토록 한 격행주사를 위한 색상정보 부호화/복호화 장치 및 그 방법에 관한 것이다.The present invention relates to color / texture information encoding for a progressive scan. In particular, the present invention relates to reducing the number of blocks to be encoded when encoding a video signal for a progressive scan of a video, thereby improving coding efficiency and improving decoded video quality. The present invention relates to a color information encoding / decoding apparatus for a parallel scan and a method thereof.

일반적으로, 움직임 영상을 전송하는 방법으로 순행주사(Progressive)와 격행주사(Interlaced)가 있다. 여기서 순행주사 프레임(Progressive frame)은 프레임의 구성시 한 줄씩 차례로 구성한다. 반면에 격행 주사 프레임(interlaced frame)은 프레임 구성시 두 필드(field)를 한 줄(line)씩 차례로 구성한 후, 두 필드를 한 줄씩 끼워넣는 방식으로 구성된다. 각 필드의 높이(줄의 갯수)는 프레임 높이의 절반이다. 이를 설명한 예가 도1이다. 도1의 (a)는 순행 주사 프레임을, 도1의 (b)는 두 개의 필드In general, there are progressive and interlaced methods for transmitting a motion image. In this case, progressive frames are constructed one by one when the frame is constructed. On the other hand, an interlaced frame is constructed by forming two fields one by one in a frame, and then inserting two fields one by one. The height of each field (number of lines) is half the height of the frame. An example illustrating this is FIG. Figure 1 (a) shows a forward scan frame, Figure 1 (b) shows two fields

[홀수 필드(top field)와 짝수 필드(bottom field)]를 보여 준다. 상기 홀수 필드와 짝수 필드는 각각 한 줄씩 차례로 구성되며(홀수 필드의 경우 실선 화살표, 짝수 필드의 경우 점선 화살표), 구성된 각 필드의 줄(line)들을 끼워넣는 방식으로(실선 화살표와 점선 화살표가 섞임) 격행 주사 프레임을 구성한다. 여기서 홀수 필드와 짝수 필드 구성시에 두 필드 사이에는 시간차가 존재한다. 도1의 (b)는 이러한 격행 주사 프레임의 특성을 보여 주는데, 이 경우에는 홀수 필드가 시간적으로 앞선다(경우에 따라 짝수 필드가 시간적으로 앞설 수도 있다).[Top field and even field] are shown. The odd field and the even field are each arranged one by one in a row (solid arrow for odd field and dotted arrow for even field), and by inserting lines of each configured field (solid arrow and dotted arrow are mixed). A) configures a parallel scan frame. Here, there is a time difference between the two fields when constructing the odd field and the even field. Figure 1 (b) shows the characteristics of such a perturbed scan frame, in which case the odd fields are temporally advanced (in some cases even fields may be temporally advanced).

홀수 필드와 짝수 필드 사이의 시간차로 인하여, 격행 주사 프레임 내의 인접한 줄 사이의 신호 특성이 다를 수 있다. 특히 움직임이 많은 영상인 경우 이러한 특성이 두드러진다. 그러므로 격행 주사 프레임을 기존의 영상 부호화 장치, 예를 들면, 움직임 추정 및 보상, 이산 코사인 변환(discrete cosine transform:DCT)을 이용할 경우에는 부호화 효율이 감소하게 된다. 이러한 문제점을 회피하기 위한 방법들(예를 들어, 필드 단위 움직임 추정 및 보상(field-based motion estimation/compensation), 적응적인 프레임 또는 필드 DCT(adaptive frame/field DCT)이 연구되어 왔으며, 이미 MPEG-2 영상 부호화 표준안 등에 기술되어 있다.Due to the time difference between the odd field and the even field, the signal characteristics between adjacent lines in the perforated scan frame may be different. This is especially true for images with a lot of motion. Therefore, when the conventional scanning frame uses an existing video encoding apparatus, for example, motion estimation and compensation, and discrete cosine transform (DCT), the coding efficiency is reduced. Methods to avoid this problem (e.g. field-based motion estimation / compensation, adaptive frame or field DCT) have already been studied, and MPEG- 2, such as a video encoding standard.

한편, 영상 및 음향 부호화 기술 및 시스템 구성에 관한 국제 표준안 (MPEG-1, MPEG-2)을 개발하고 의결한 MPEG 그룹이 국제 표준으로 채택할 예정의 차세대 영상 및 음향 부호화 기술 및 시스템 구성에 관한 국제 표준안(MPEG-4 : ISO/IEC JTC1/SC29/WG11 MPEG Phase 4)을 연구, 개발중에 있다. MPEG-4의 개발은 기존의 알려진 표준안으로는 지원할 수 없는 차세대 영상 및 음향 응용물들을 지원할 필요성에서 출발했다.Meanwhile, the International Standard on Next-Generation Image and Audio Coding Technology and System Construction, which has been developed and resolved by the MPEG Group, which has developed and decided on international standards (MPEG-1 and MPEG-2) on image and audio coding technology and system configuration, The standard proposal (MPEG-4: ISO / IEC JTC1 / SC29 / WG11 MPEG Phase 4) is being researched and developed. The development of MPEG-4 began with the need to support the next generation of video and audio applications that cannot be supported by existing known standards.

MPEG-4는 영상 및 음향 데이터의 통신과 접속, 그리고 조작을 위한 새로운 방법들(예를 들면, 특성이 다른 네트워크를 통한 물체 중심 대화형 기능 및 접속 등)을 제공한다.MPEG-4 provides new methods for communication, access, and manipulation of video and audio data (eg, object-oriented interactive functions and access through networks with different characteristics).

또한 에러가 쉽게 발생되는 통신 환경과 저전송율의 통신환경에서도 유용하게 동작하는 특성을 제공한다. 더욱이 컴퓨터 그래픽 기술을 통합하여 자연영상 및 음향과 인공영상 및 음향들을 함께 부호화하고 조작할 수 있는 기능들을 제공한다.In addition, it provides a characteristic that operates usefully in a communication environment where errors are easily generated and a low transmission rate communication environment. In addition, it integrates computer graphics technology to provide the ability to encode and manipulate natural and artificial images and sounds together.

요약컨대, MPEG-4는 여러 응용분야에서 요구되고 예상되는 모든 기능들을 지원해야 한다. 따라서, 멀티미디어 정보의 급팽창과 기술 향상에 의해 새롭게 개발됐거나 개발될 저가, 고기능의 모든 가능한 응용 분야들에 요구되는 기능들을 지원할 수 있도록 확장 가능하고 개방적인 구조를 가지게 된다. 그 중에는 전송 및 저장 기능과 비용 절감에 필요한 부호화 효과의 향상 기능(Improved Compression Efficiency)이 있다.In summary, MPEG-4 must support all the features required and expected in many applications. As a result, the expansion and openness of multimedia information is possible to support the functions required for all possible low-cost, high-performance applications that are newly developed or will be developed. Among them are the transmission and storage functions and the improved compression efficiency required for cost reduction.

현재 MPEG-4의 기술이 응용될 것으로 기대되는 응용물로는 인터넷 멀티미디어(IMM: Internet Multimedia), 대화형 비디오 게임(IVG: Interactive Video Games), 영상회의 및 영상전화 등의 상호 통신(IPC: Interpersonal Communications), 쌍방향 저장매체(ISM: Interactive Storage Media), 멀티미디어 전자우편(MMM: Multimedia Mailing), 무선 멀티미디어 (WMM: Wireless Multimedia), ATM망 등을 이용한 네트웍 데이타베이스서비스(NDB: Networked Database Service), 원격 응급 시스템(RES: Remote Emergency Systems), 원격 영상 감시(RVS: Remote Video Surveillance) 등이 있다.Applications currently expected to apply MPEG-4 technology include interpersonal communication (IPC) such as Internet multimedia (IMM), interactive video games (IVG), video conferencing and video telephony. Networked Database Services (NDB) using Communications, Interactive Storage Media (ISM), Multimedia Mailing (MMM), Wireless Multimedia (WMM), ATM networks, Remote Emergency Systems (RES) and Remote Video Surveillance (RVS).

기존의 응용물이나 앞으로 기대되는 응용물들을 지원하기 위해서는 유저들이 영상 내의 원하는 객체만을 통신할 수 있고, 찾고 읽을 수 있도록 접근할 수 있으며, 자르고 붙일 수 있도록 편집할 수 있는 영상 부호화 기술이 필요하다.In order to support existing applications or applications expected in the future, an image encoding technology that can be edited to allow users to communicate, find and read only the objects in the image, and to cut and paste them can be edited.

현재 세계 표준화 작업이 진행중인 새로운 영상 및 음향 부호화 기술인 MPEG-4는 이러한 필요를 충족시키기 위한 것이다.MPEG-4, a new video and audio encoding technology that is currently under global standardization, is designed to meet this need.

상기 MPEG-4는 기존 영상 부호화 기법 표준안인 MPEG-1, MPEG-2와는 달리, 물체별로 부호화(object-based coding)를 하거나 조작(manipulation)하는 방법의 표준화 작업을 진행 중이다. 이를 위해서는 기존의 색상 정보(color/texture information)와 함께 프레임내에서 물체 영역을 표시하는 모양 정보(shape information)의 부호화 및 전송이 요구된다. 그러므로 임의의 모양을 가지는 물체(arbitrary shaped object)를 압축 부호화를 하는 MPEG-4에서는 색상 정보 부호화와 모양 정보 부호화가 요구된다. 이때 물체 경계 부분에서는 기존의 MPEG-1, MPEG-2 기술들이 고려하지 못하는 현상이 발생하고, 부호화 이득을 높이기 위해서 새로운 기술들이 요구된다. 현재 MPEG-4내에서의 새로운 기술들로는 Boundary Block Merging(BBM), Shape-adaptive Discrete Cosine Transform(SA-DCT) 등이 물체의 경계 부분에서의 부호화 이득을 높이기 위하여 고려되는 대표적인 방식들이다.Unlike MPEG-1 and MPEG-2, which are standard video coding schemes, MPEG-4 is in the process of standardizing a method for performing object-based coding or manipulation. To this end, encoding and transmission of shape information representing an object area in a frame together with existing color / texture information is required. Therefore, color coding and shape information coding are required in MPEG-4 which compressively encodes an arbitrarily shaped object. In this case, a phenomenon that existing MPEG-1 and MPEG-2 technologies cannot be considered in the object boundary portion, and new technologies are required to increase coding gain. Currently, new technologies in MPEG-4 include Boundary Block Merging (BBM) and Shape-adaptive Discrete Cosine Transform (SA-DCT).

도2는 현재 국제표준 산하기구에서 1차적으로 확정한 MPEG-4의 VOP 영상 부호화기의 구성도이다.2 is a configuration diagram of a V-4 video encoder of MPEG-4, which is primarily determined by the present International Standards Organization.

이는 기존의 영상부호화 세계표준화인 H.261, H.263, MPEG-1, MPEG-2의 영상 부호화기 구조와는 다른 구조를 지닌다. 특히 모양정보 부호화부(Shape Coder)와 VOP(Video Object Planes)라는 개념의 도입이 가장 두드러진 차이를 보이고 있다. VOP는 유저가 접근 및 편집할 수 있는 임의 모양의 내용물의 시간축상의 한 시점의 객체를 의미하며, 내용물 기반의 기능성(content-based functionality)을 지원하기 위해서는 VOP별로 부호화 되어야 한다.This is different from the video encoder structure of H.261, H.263, MPEG-1, MPEG-2, which is the world standardized video encoding. In particular, the introduction of the concepts of Shape Coder and VOP (Video Object Planes) shows the most significant difference. The VOP refers to an object at a point in time on an arbitrary shape of content that can be accessed and edited by the user. The VOP must be encoded for each VOP to support content-based functionality.

이러한 VOP 부호화기는, VOP형성부(11)에서 형성된 각각의 대상물 영상에 대한 VOP가 움직임 추정부(MOTION ESTIMATION)(13)에 입력되면, 움직임 추정부(13)는 인가된 VOP로부터 매크로 블록 단위의 움직임을 추정하게 된다.When the VOP encoder inputs a VOP for each object image formed in the VOP forming unit 11 to the MOTION ESTIMATION 13, the motion estimating unit 13 performs the macroblock unit from the applied VOP. The motion is estimated.

또한, 상기 움직임 추정부(13)에서 추정된 움직임 정보는 움직임 보상부(MOTION COMPENSATION)(14)에 입력되어 움직임이 보상된다. 그리고, 움직임 보상부(14)에서 움직임이 보상된 VOP는 상기 VOP형성부(11)에서 형성된 VOP와 함께 감산기(16)에 입력되어 차이 값이 검출되고, 감산기(16)에서 검출된 차이 값은 대상물 내부 부호화부(18)에 입력되어 매크로 블록의 서브 블록 단위로 대상물의 내부정보가 부호화 된다.In addition, the motion information estimated by the motion estimator 13 is input to a motion compensation unit 14 to compensate for the motion. The VOP whose motion is compensated by the motion compensator 14 is input to the subtractor 16 together with the VOP formed by the VOP forming unit 11 to detect a difference value, and the difference value detected by the subtractor 16 is The internal information of the object is encoded by the object internal encoding unit 18 in units of sub blocks of the macro block.

예를 들면, 매크로 블록(16 *16)의 X축 및 Y축이 M/2 × N/2로 각기 8개의 화소를 가지는 8 × 8의 서브 블록으로 세분화된 후 대상물 내부정보가 부호화 된다.For example, after the X and Y axes of the macroblock 16 * 16 are subdivided into 8x8 subblocks having 8 pixels each of M / 2 x N / 2, the object internal information is encoded.

한편, 움직임 보상부(14)에서 움직임이 보상된 VOP와, 대상물 내부 부호화부(18)에서 부호화된 대상물의 내부정보는 가산기(17)에 입력되어 가산되고, 가산기(17)의 출력신호는 이전 VOP 검출부(PREVIOUS RECONSTRUCTED VOP)(15)에 입력되어 현재 영상 바로 이전 영상의 VOP인 이전 VOP가 검출된다.On the other hand, the VOP whose motion is compensated by the motion compensator 14 and the internal information of the object encoded by the object internal encoder 18 are added to the adder 17, and the output signal of the adder 17 is transferred. The previous VOP which is input to the VEV detector 15 (PREVIOUS RECONSTRUCTED VOP) 15 and is the VOP of the image immediately before the current image is detected.

또한, 이전 VOP검출부(15)에서 검출된 이전 VOP는 상기 움직임 추정부(13) 및 움직임 보상부(14)에 입력되어 움직임 추정 및 움직임 보상에 사용된다.In addition, the previous VOP detected by the previous VOP detector 15 is input to the motion estimator 13 and the motion compensator 14 and used for motion estimation and motion compensation.

그리고, VOP형성부(11)에서 형성된 VOP는 모양정보 부호화부(SHAPE CODING)(12)에 입력되어 모양 정보가 부호화 된다.The VOP formed by the VOP forming unit 11 is input to a shape coding unit 12, and shape information is encoded.

여기서, 모양정보 부호화부(12)의 출력신호는 VOP 부호화기가 적용되는 분야에 따라 사용 여부가 가변 되는 것으로, 점선으로 표시된 바와 같이, 모양정보 부호화부(12)의 출력신호를 움직임 추정부(13), 움직임 보상부(14) 및 대상물 내부 부호화부(18)에 입력시켜 움직임 추정, 움직임 보상 및 대상물의 내부 정보를 부호화 하는 데 사용할 수 있다.Here, the output signal of the shape information encoder 12 may vary depending on the field in which the VOP encoder is applied, and as shown by a dotted line, the output signal of the shape information encoder 12 may be used as the motion estimation unit 13. ), And may be input to the motion compensator 14 and the object internal encoder 18 to be used for encoding motion estimation, motion compensation, and internal information of the object.

또한, 움직임 추정부(13)에서 추정된 움직임 정보와, 대상물 내부 부호화부(18)에서 부호화된 대상물 내부 정보 및 상기 모양정보 부호화부(12)에서 부호화된 모양 정보는 다중화부(19)에 인가되어 다중화된 후, 비트 스트림으로 도면에는 도시하지 않았지만 다수개의 부호화기의 출력을 다시 다중화 하여 전송하는 다중화기에 전달되어 전송되어진다.In addition, motion information estimated by the motion estimation unit 13, object internal information encoded by the object internal encoding unit 18, and shape information encoded by the shape information encoding unit 12 are applied to the multiplexer 19. After being multiplexed and multiplexed, a bit stream is transmitted to a multiplexer which multiplexes and outputs the outputs of a plurality of encoders, although not shown in the drawing.

이러한 개념의 MPEG-4(Moving Picture Expert Group-4)에 있어서, 가장 큰 특징 중 하나가 모양정보 부호화기이다. 이 부분이 기존의 MPEG-1,MPEG-2와 구분짓는 가장 큰 차이이다.In this concept of Moving Picture Expert Group-4 (MPEG-4), one of the biggest features is the shape information encoder. This is the biggest difference that distinguishes MPEG-1 and MPEG-2.

상기 MPEG-4에서 영상 부호화시의 기본 처리 단위는 마크로 블록(Macro Block; MB)이며, 16 화소/줄 x 16 줄/MB의 크기를 가진다. 임의의 모양 정보를 가지는 물체의 부호화시에는 MB를 모양 정보와 관련지어 세 가지로 구분 가능하다.The basic processing unit in video encoding in MPEG-4 is a macro block (MB), and has a size of 16 pixels / line x 16 lines / MB. When encoding an object having arbitrary shape information, MB can be classified into three types in association with shape information.

첫째, 물체 영역 외부에 포함된 경우의 MB(transparent MB; TMB)가 있다. TMB는 MB내에 물체 영역이 존재하지 않는 것이며, 부호화 과정이 불필요하다.First, there is a MB (transparent MB) when included outside the object area. In TMB, there is no object region in the MB, and an encoding process is unnecessary.

두번째로는 물체 영역 내부에 포함된 경우의 MB(opaque MB; OMB)가 있으며, 기존의 부호화 방법들(예를 들어, MPEG-1, MPEG-2)을 직접적으로 사용 가능하다.Secondly, there are MBs (opaque MBs) in the case of being included in the object area, and existing coding methods (eg, MPEG-1 and MPEG-2) can be used directly.

마지막으로 물체 영역과 물체 영역이 아닌 영역이 공존하는 MB(boundary MB; BMB)가 있다. 이러한 MB를 수신단(receiver)에서 복호화(decoding)하기 위해서는 물체 영역을 표시하는 모양 정보와 물체 영역 내의 색상 정보를 부호화 해야 한다.Finally, there is a MB (boundary MB) in which an object region and a non-object region coexist. In order to decode such an MB in a receiver, shape information indicating an object area and color information in the object area must be encoded.

도3에 그 예가 있다. 여기서 빗금친 부분은 부호화할 물체 영역을 표시한 것이며, 작은 사각형 각각은 MB를 보여준다. 이 예에서 TMB, OMB, BMB는 각각 6개, 12개, 22개이다.An example is shown in FIG. Here, the hatched parts represent the area of the object to be encoded, and each of the small squares shows MB. In this example, TMB, OMB, and BMB are 6, 12, and 22, respectively.

MPEG-4에서 각 MB의 색상 정보 부호화 기술의 구성도는 첨부한 도면 도4와 같다. 기존 기술은 크게 패딩과정(padding), 적응적인 프레임/필드 결졍과정( adaptive frame/field decision), 셔플링 처리 과정(shuffling procedure), 이산 코사인 변환과 양자화과정(DCT와 quantization) 등으로 구성된다.The configuration diagram of the color information encoding technique of each MB in MPEG-4 is as shown in FIG. Existing technologies largely consist of padding, adaptive frame / field decision, shuffling procedure, discrete cosine transform and quantization (DCT and quantization).

도4에서 오른쪽 부분의 세 가지 코딩(coding)은 색상 부호화에 전송이 요구되는 정보들을 부호화하는 단계이다. 기술된 숫자는 전송되는 순서를 보인다. 이를 간략히 설명하면, 양자화 과정을 수행한 후, 계수들을 판단하여 CBPY(coded block pattern for luminance)를 결정하며, 전송은 셔플링(shuffling )하기 전의 모양 정보를 기준으로 하게된다. CBPY를 통하여 부호화할 블록이 존재할 경우에만 프레임 DCT, 필드 DCT인지를 나타내는 정보인 dct_type을 보낸다. 그 후에 마지막으로 양자화된 DCT 계수들을 가변 길이 부호화(variable length coding; VLC)한다. 상기 각 단계의 상세한 설명과 문제점들은 다음과 같다.Three codings of the right part of FIG. 4 are steps of encoding information required to be transmitted for color coding. The numbers shown show the order in which they are sent. Briefly, after performing the quantization process, the coefficients are determined to determine the coded block pattern for luminance (CBPY), and the transmission is based on the shape information before shuffling. Only when there is a block to encode through CBPY, dct_type, which is information indicating whether a frame DCT or a field DCT, is transmitted. Thereafter, the quantized DCT coefficients are then variable length coded (VLC). Details and problems of each of the above steps are as follows.

먼저, 도4의 패딩 과정은, 8x8 DCT를 수행하기 위해서는 8x8 블록의 색상 신호 값이 정의되어 있어야 하며, BMB의 경우에는 색상 신호 값이 없는 경우(물체가 아닌 배경)가 발생한다. 이러한 문제점을 피하기 위하여 색상 정보가 없는 배경 부분을 채워주는 패딩을 수행한다. 반면, 부호화할 물체 영역이 포함되지 않은 TMB나 MB내의 모든 화소에서 색상 정보값이 있는 OMB에서는 패딩을 수행할 필요가 없다. BMB가 인터(inter) 모드이면 "0" 값을 채우고, 인트라(intra) 모드인 경우에는 Low Pass Extrapolation (LPE ) 패딩을 수행한다. 인트라 모드는 MB내의 신호 정보 자체를 DCT 등의 부호화를 이용하여 부호화하는 것임에 반해, 인터 모드는 이전 프레임으로부터 현재 MB의 색상 신호를 예측하고 그 예측 오차를 전송하는 것이다.First, in the padding process of FIG. 4, in order to perform 8x8 DCT, a color signal value of an 8x8 block must be defined, and in the case of BMB, there is no color signal value (background rather than an object). To avoid this problem, padding is performed to fill the background part without color information. On the other hand, it is not necessary to perform padding in the TMB that does not include the object region to be encoded or in the OMB having the color information values in all the pixels in the MB. If the BMB is in the inter mode, it fills with a value of "0", and in the intra mode, the low pass extrapolation (LPE) padding is performed. In contrast, the intra mode encodes the signal information in the MB using coding such as DCT, whereas the inter mode predicts the color signal of the current MB from the previous frame and transmits the prediction error.

도5에서와 같이, 한 MB내에서는 4개의 블록(block, 8 화소/줄 x 8 줄/block)들을 포함하며, 설명의 편의를 위해서 각 블록을 A, B, C, D로 명명한다. 기존 기술에서의 패딩 수행은 블록 단위로 수행한다. 만일 물체 영역이 한 화소도 포함되지 않은 블록(transparent block)의 경우에는 패딩후에도 어떠한 색상 정보 값도 갖지 않는다. 도6의 (a)는 BMB의 예를 보인 것으로, x는 배경 화소(물체에 포함되지 않은 화소), o는 물체에 포함된 화소를 나타낸다. 도6의 (a)와 같은 BMB이 입력된 경우, 기존의 8x8 단위의 패딩을 수행하면 도6의 (b)와 같은 결과치를 얻게 된다. 상기 도6의 (b)에서 p는 패딩된 화소들을, ?는 패딩이 되지 않아서 색상 정보가 정의되지 않은 화소들을 각각 나타낸다.As shown in Fig. 5, four blocks (block, 8 pixels / row x 8 rows / block) are included in one MB, and each block is named A, B, C, and D for convenience of description. Padding in the conventional technology is performed in units of blocks. In the case of a block in which the object region does not include one pixel, it does not have any color information value even after padding. 6A illustrates an example of BMB, where x is a background pixel (a pixel not included in an object), and o is a pixel included in an object. When the BMB as shown in FIG. 6 (a) is input, if the existing 8x8 unit padding is performed, the result value as shown in FIG. 6 (b) is obtained. In FIG. 6B, p denotes padded pixels, and? Denotes pixels that are not padded and whose color information is not defined.

만일 순행 주사 프레임을 부호화할 시에는, 색상 정보 값이 정의되지 않은 화소들에 의해서 문제가 발생하지 않는다. 모양 정보를 가지고 transparent 블록을 알 수 있고, 물체 영역이 한 화소라도 포함된 블록(non-transparent 블록)에 대해서 패딩을 수행한 후 DCT를 수행하면 된다.If the progressive scan frame is encoded, the problem does not occur due to pixels whose color information values are not defined. The transparent block can be known based on the shape information, and the DCT can be performed after padding on a block (non-transparent block) including at least one object region.

그러나 격행 주사 프레임의 부호화 방식에서는, Adaptive Frame/Field DCT 결정 과정이 필요하다. 하기에서 기술하듯이, BMB 내의 모든 화소의 값을 가지고 판단을 하는데, OBM과는 달리 BMB에서는 색상 값이 정의되지 않는 화소가 발생할 수 있는 문제점이 있다.However, in the coding scheme of a parallel scan frame, an adaptive frame / field DCT decision process is required. As described below, the determination is made based on the values of all the pixels in the BMB. Unlike the OBM, there is a problem that pixels in which the color value is not defined may occur in the BMB.

다음으로, 적응적인 프레임/필드 DCT 결정과 셔플링 수행 과정을 살펴보면, 기존의 동영상 부호화 표준안인 MPEG-2에 있는 기술과 같은 방법으로, 이웃한 줄 사이의 유사성과 한 줄 건너서의 줄 사이의 유사성을 비교한다. 이웃한 줄 사이의 유사성이 크면 프레임 단위(frame-based)DCT를, 유사성이 작으면 필드 단위(field-based) DCT를 수행하게 된다. 유사성 비교의 판단식은 다음과 같다.Next, look at the process of adaptive frame / field DCT determination and shuffling, similar to the technique in MPEG-2, the existing video coding standard. Compare If the similarity between neighboring lines is large, frame-based DCT is performed. If the similarity is small, field-based DCT is performed. The judgment of the similarity comparison is as follows.

[수학식1][Equation 1]

i=06j=015(p2i,j-p2i+1.j)2+(p2i+1,j-p2i+2,j)2>i=06j=015(p2i,j-p2i+2.j)2+(p2i+1,j-p2i+3,j)2i = 06j = 015 (p2i, j-p2i + 1.j) 2+ (p2i + 1, j-p2i + 2, j) 2> i = 06j = 015 (p2i, j-p2i + 2.j) 2 + (p2i + 1, j-p2i + 3, j) 2

이 식에서 i와 j는 각각 MB내에서의 화소의 수직, 수평축의 위치를 표시한다. 만일 위 식에서와 같이 좌변이 우변보다 크다면 필드 DCT, 그렇지 않다면 프레임 DCT를 수행한다. 이 결정에 대한 정보(dct_type)는 1bit를 사용하여 수신단에 전송된다. 필드 단위 DCT로 결정된 MB는 도7과 같이 줄의 위치를 변형시켜서 홀수 필드(top field), 짝수 필드(bottom field)끼리 인접하도록 재구성하는 과정인 셔플링 처리과정(shuffling procedure)을 수행한다.In this equation, i and j denote positions of the vertical and horizontal axes of the pixels in MB, respectively. If the left side is larger than the right side as in the above equation, the field DCT is performed, otherwise the frame DCT is performed. Information about this decision (dct_type) is transmitted to the receiver using 1 bit. The MB determined by the field-based DCT performs a shuffling procedure, which is a process of reconfiguring the odd field and the even field to be adjacent to each other by changing a row position as shown in FIG. 7.

OMB의 경우에는 이 판단식이 MPEG-2의 경우와 같기 때문에 효과적임을 알 수 있지만, MPEG-4에서 발생하는 BMB인 경우에는 DCT를 수행할 블록의 갯수가 증가할 수 있는 위험성이 존재한다. 부호화할 MB가 도6의 (a)인 BMB 경우를 생각해보자. 패딩을 수행하고, 도6의 (b)의 '?'를 "0"으로 채운다고 가정한 경우, 셜플링 처리과정(shuffling procedure)을 수행한 결과가 도8이다. 만약, 프레임(frame) DCT로 결정된 경우에는 블록 단위의 패딩(padding)을 수행하고 C 블록과 D 블록을 DCT 부호화를 수행하면 되지만, 도8의 경우에는 A, B, C, D 4개의 블록을 부호화해야 한다. In the case of OMB, this decision equation is effective because it is the same as in the case of MPEG-2. However, in the case of BMB generated in MPEG-4, there is a risk that the number of blocks to perform DCT may increase. Consider the case where the MB to be coded is BMB in Fig. 6A. Assuming padding is performed and '?' In FIG. 6B is filled with "0", the result of performing the shuffling procedure is shown in FIG. 8. If it is determined as a frame DCT, padding in units of blocks may be performed, and DCT coding may be performed on the C block and the D block. In the case of FIG. 8, four blocks A, B, C, and D may be used. Should be encoded.

따라서 OMB의 경우, 필드(field) DCT, 프레임(frame) DCT와 무관하게 4개의 블록을 부호화하기 때문에 문제가 없다. 그러나 BMB의 경우에는 위의 수학식만을 적용시, 상기 제시한 예에서와 같이 부호화할 블록 수가 증가할 위험성이 있는 문제점이 있다.Therefore, in the case of OMB, four blocks are encoded regardless of the field DCT and the frame DCT, so there is no problem. However, in the case of BMB, when only the above equation is applied, there is a problem in that the number of blocks to be encoded increases as in the above example.

또한, 이산 코사인 변환과 양자화(DCT와 quantization)과정을 살펴보면, 8x8 블록 단위로 DCT를 수행한다. 만일 transparent 블록이면 DCT를 수행하지 않고 패딩(padding)으로 채워진 블록만을 부호화한다. 그리고 DCT 계수(coefficient)를 양자화(quantization)한 후에 이를 가변 길이 부호화(variable length coding; VLC)를 수행한다.In addition, when looking at the discrete cosine transform and quantization (DCT and quantization) process, DCT is performed in 8x8 block units. If it is a transparent block, only the block filled with padding is encoded without performing DCT. After quantizing the DCT coefficients, the variable length coding (VLC) is performed.

현재 MPEG-4에 기술된 방법은 transparent 블록인지의 판단을 셔플링(shuffling)하기 전의 모양 정보를 가지고 한다. 도4에서도 알 수 있듯이, DCT 단계로 입력되는 모양 정보는 셔플링(shuffling ) 전의 모양 정보이다. 그러므로 색상 정보를 부호화하지 않는 경우가 발생한다. 도8의 경우, transparent 블록의 판단을 도6의 (a)를 가지고 판단하기 때문에, 도8의 C, D 블록 2개만을 DCT한다. 그러므로 도8의 A, B 블록은 전송하지 않는다.The method currently described in MPEG-4 takes shape information before shuffling the determination of whether it is a transparent block. As can be seen from Figure 4, the shape information input in the DCT step is the shape information before shuffling. Therefore, there is a case where color information is not encoded. In the case of FIG. 8, since the determination of the transparent block is judged using FIG. 6A, only two C and D blocks of FIG. 8 are DCT. Therefore, the A and B blocks of FIG. 8 are not transmitted.

다음으로, CBPY, dct_type, DCT 계수 부호화과정을 살펴보면, CBPY, dct_type, DCT 계수 등은 색상 정보를 전송하기 위해 필수적인 신텍스(syntax )들이다. Next, referring to the CBPY, dct_type, and DCT coefficient encoding processes, CBPY, dct_type, and DCT coefficients are syntaxes essential for transmitting color information.

DCT 계수(coefficient)를 양자화(quantization)한 후에, 전송되는 양자화 계수가 없는 블록이 발생할 수 있다. 어떤 블록의 DCT 계수를 전송할 것인지를 나타내는 정보를 수신단에 전송해야 하는데, 이 정보를 CBPY (Coded Block Pattern for Luminance) 라고 한다. 각 MB내의 모든 블록들을 부호화하는 기존의 MPEG-2 등에서는 CBPY 경우의 수가 16개이므로 길이 16인 한 개의 가변 길이 코드(VLC) 표를 사용한다. 그러나 임의의 모양을 가지는 물체를 부호화하는 MPEG-4에서는 MB내의 4개의 휘도(luminance) 블록에서 몇 개의 블록이 non-transparent 블록인지를 알 수 있기 때문에 이를 기준으로 CBPY의 VLC표를 다르게 적용한다. 예를 들어 도6의 (a)와 같이 2개의 블록만이 물체 영역을 포함하는 경우는 4가지 경우만 발생 가능하고, CBPY의 VLC 테이블 길이는 4이다. 복호기에서는 색상 정보의 복호화를 수행하기 이전에 모양 정보를 알고 있다. 그러므로 CBPY를 복호화하기 위한 VLC 테이블의 선택은 복호화된 모양 정보를 판단하여 할 수 있다.After quantizing the DCT coefficients, a block with no quantization coefficients transmitted may occur. Information indicating which block's DCT coefficient is to be transmitted to the receiving end, this information is called CBPY (Coded Block Pattern for Luminance). In conventional MPEG-2, which encodes all blocks in each MB, the number of CBPY cases is 16, so that one variable length code (VLC) table having a length of 16 is used. However, in MPEG-4, which encodes an object having an arbitrary shape, it is possible to know how many blocks are non-transparent blocks out of four luminance blocks in MB, and thus CBPY VLC tables are applied differently. For example, as shown in (a) of FIG. 6, only two blocks may include an object region, and only four cases may occur, and the VLC table length of CBPY is four. The decoder knows the shape information before decoding the color information. Therefore, the VLC table for decoding the CBPY may be selected by determining the decoded shape information.

따라서 기존의 방법에서는 도4에서처럼 셔플링(shuffling )되기 전의 모양 정보를 기준으로 CBPY를 전송한다. 도6의 (a)의 경우, 2개의 블록을 기준으로 CBPY를 전송한다. 복호기에서는 dct_type을 복호하지 못한 상태에서 2개의 블록을 기준으로 CBPY를 복호화한다. 그러므로 CBPY와 dct_type을 부호화기와 같은 값은 복호화할 수는 있지만, 도6의 (b)의 위 두 블록은 전송하지 못하는 문제점을 가진다. 이는 복호화된 영상 화질을 심각하게 저하시키는 단점을 발생한다.Therefore, in the conventional method, CBPY is transmitted based on shape information before shuffling as shown in FIG. In case of FIG. 6A, CBPY is transmitted based on two blocks. The decoder decodes CBPY on the basis of two blocks in a state in which dct_type cannot be decoded. Therefore, CBPY and dct_type can be decoded with the same value as the encoder, but the above two blocks of FIG. 6 (b) cannot be transmitted. This causes a disadvantage of seriously degrading the decoded image quality.

즉, 도6의 (a)는 4 개의 블록 중에서 아래 쪽 2 개의 블록(C,D)에만 물체 영역이 존재하는 MB를 보여준다. 이를 패딩하면 도6의 (b)에서와 같이 아래 쪽 2 개의 블록들에만 신호가 채워진다. 적응적인 프레임/필드(Adaptive frame/field )결정을 수행하기 전에 위쪽 2개 블록(A,B)내의 화소들의 색상 정보를 "0"으로 채운다고 가정하자. 만일 필드 DCT를 수행한다고 결정되면, 셔플링을 수행하고, 도8은 이 셔플링 결과를 보여준다. 기존 방식에서는 부호화를 셔플링 과정 이전의 모양 정보를 기준으로 하기 때문에 아래 쪽 2개의 블록(C,D)들에 대해서 부호화를 수행한다. CBPY도 도6의 (a)를 기준으로 MB내의 non-transparent 블록이 2 개인 경우의 VLC 표를 사용한다. 따라서 위 쪽 2개의 블록(A,B)들에 대해서는 전송을 하지 않기 때문에 복호화된 영상의 화질을 심하게 저하시키게 되는 것이다.That is, FIG. 6A shows an MB in which an object region exists only in two lower blocks C and D among four blocks. If this is padded, the signal is filled only in the lower two blocks as shown in FIG. Assume that the color information of the pixels in the upper two blocks A and B is filled with " 0 " before performing adaptive frame / field determination. If it is determined to perform the field DCT, shuffling is performed, and Fig. 8 shows this shuffling result. In the conventional method, since encoding is based on shape information before the shuffling process, encoding is performed on the lower two blocks C and D. CBPY also uses the VLC table when there are two non-transparent blocks in MB, based on (a) of FIG. Therefore, since the upper two blocks A and B are not transmitted, the quality of the decoded video is severely degraded.

또한, 도9의 (a)는 4 개의 블록(A,B,C,D) 중에서 짝수 필드(bottom field) 쪽에만 모양 정보가 있는 BMB를 보여준다. 이 BMB를 가지고 패딩(padding)을 수행하면 모든 블록이 채워진다. 이 블록을 가지고 adaptive frame/field DCT 결정 과정을 수행한다. 만일 필드 DCT가 결정되면 셔플링을 수행하게 되며, 이 결과는 도9의 (b)와 같다. 4 개의 블록을 DCT와 양자화를 수행하고, CBPY는 4 개의 블록이 모양 영역을 포함하는 경우의 VLC 표를 사용하여 부호화된다. 이러한 경우에는 도9의 (b)의 위쪽 2 개의 블록들에는 원래의 색상 신호와는 무관한 정보(패딩을 수행하여 얻은 값)들만 위치하게 되므로, 이는 부호화 효율을 감소시키게 된다.9 (a) shows a BMB having shape information only on the even field side among four blocks A, B, C, and D. FIG. When padding with this BMB, all blocks are filled. With this block, adaptive frame / field DCT decision process is performed. If the field DCT is determined, shuffling is performed, and the result is shown in FIG. Four blocks are quantized with DCT, and CBPY is encoded using the VLC table in the case where four blocks include a shape region. In this case, since only the information (value obtained by performing padding) irrelevant to the original color signal is located in the upper two blocks of FIG. 9 (b), this reduces coding efficiency.

이에 본 발명은 상기와 같은 종래 격행주사를 위한 색상정보 부호화시 발생하는 제반 문제점을 해결하기 위해서 제안된 것으로, 본 발명은 동영상의 격행주사를 위한 영상신호 부호화시 부호화할 블록수를 줄여 부호화 효율을 높이고 복호화된 영상 화질을 개선토록 한 격행주사를 위한 색상정보 부호화/복호화 장치 및 그 방법을 제공하는 데 그 목적이 있다.Accordingly, the present invention has been proposed to solve the above-mentioned problems in encoding the color information for the conventional progressive scan, and the present invention is to reduce the number of blocks to be encoded when encoding the video signal for the progressive scan of the video encoding It is an object of the present invention to provide a color information encoding / decoding apparatus and a method for a parallel scan for improving efficiency and improving a decoded image quality.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 부호화 방법은, 격행주사를 위한 색상정보 부호화 방법에 있어서, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 단계; 상기 패딩 수행 후 상기 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계; 상기 결정된 DCT 타입을 알려주는 정보를 부호화하는 단계; 상기 프레임 DCT 또는 필드 DCT의 수행여부를 결정한 후 매크로 블록을 셔플링하는 단계; 상기 셔플링된 모양정보에 따라 CBPY를 결정 및 부호화하는 단계; 및 상기 셔플링후 DCT 및 양자화를 수행하고 DCT 계수를 가변장 부호화하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of encoding color information for performing a parallel scan, comprising: performing padding in units of macroblocks when encoding an image of an object unit having an arbitrary shape; Determining whether to perform a frame DCT or a field DCT on the macro block after performing the padding; Encoding information indicating the determined DCT type; Shuffling the macro block after determining whether to perform the frame DCT or the field DCT; Determining and encoding a CBPY according to the shuffled shape information; And performing DCT and quantization after the shuffling and variable length encoding the DCT coefficients.

상기 필드 DCT로 결정된 매크로블록의 모양 정보를 셔플링한 후 non-transparent블록의 수를 기준으로 가변 길이 코드 테이블을 선택적으로 적용함으로써 상기 CBPY를 부호화하는 것을 특징으로 한다.After shuffling the shape information of the macroblock determined by the field DCT, the CBPY is encoded by selectively applying a variable length code table based on the number of non-transparent blocks.

상기에서, 물체 경계상의 매크로블록에 대하여는 프레임 DCT를 수행하도록 결정하는 것을 특징으로 한다.In the above, the macroblock on the object boundary is determined to perform a frame DCT.

상기 매크로블록 단위의 패딩은, 상기 매크로 블록이 인터(inter) 매크로블록일 경우에는 "0"을 삽입하고, 인트라(intra) 매크로 블록일 경우에는 물체 영역의 색상 정보의 평균값을 삽입하여 패딩하는 것을 특징으로 한다.In the macroblock unit padding, when the macroblock is an inter macroblock, “0” is inserted, and when the macroblock is an intra macroblock, padding is performed by inserting an average value of color information of an object area. It features.

상기에서, 프레임/필드 DCT를 결정하기 위한 판별식으로 프레임/필드 DCT를 결정하기 전에 해당 BMB의 모양정보를 셔플링하고, 그 셔플링된 매크로블록의 non-transparent블록수에 따라 프레임 DCT 또는 필드 DCT를 결정하는 것을 특징으로 한다. 상기 판별식은 'i=06j=015(p2i,j-p2i+1.j)2+(p2i+1,j-p2i+2,j)2>i=06j=015(p2i,j-p2i+2.j)2+(p2i+1,j-p2i+3,j)2' 와 같다. 여기서, i와 j는 각각 MB내에서의 화소의 수직, 수평축의 위치를 표시한다.In the above, before determining the frame / field DCT as a discriminant for determining the frame / field DCT, the shape information of the corresponding BMB is shuffled, and the frame DCT or field is determined according to the number of non-transparent blocks of the shuffled macroblock. It is characterized by determining the DCT. The discrimination equation is' i = 06j = 015 (p2i, j-p2i + 1.j) 2+ (p2i + 1, j-p2i + 2, j) 2> i = 06j = 015 (p2i, j-p2i + 2 .j) 2+ (p2i + 1, j-p2i + 3, j) 2 '. I and j denote positions of the vertical and horizontal axes of the pixels in the MB, respectively.

상기에서, non-transparent블록수가 셔플링하기 이전의 non-transparent블록수보다 증가되었으면 프레임 DCT로 결정하고, 상기 non-transparent블록수가 셔플링하기 이전의 non-transparent볼록수보다 감소되었으면 상기 판별식에 의해 프레임/필드 DCT를 결정하는 것을 특징으로 한다.In the above, if the number of non-transparent blocks is increased than the number of non-transparent blocks before shuffling, the frame DCT is determined. If the number of non-transparent blocks is reduced to the number of non-transparent convex before shuffling, Frame / field DCT is determined.

상기에서, 셔플링후 매크로블록의 non-transparent블록수를 검색하여, 그 셔플링한후의 non-transparent블록수가 셔플링하기 이전의 non-transparent블록수와 동일한 경우에는 상기 판별식에 의해 프레임/필드 DCT를 결정하는 것을 특징으로 한다.In the above, if the number of non-transparent blocks of macroblocks after shuffling is searched and the number of non-transparent blocks after shuffling is equal to the number of non-transparent blocks before shuffling, the frame / field DCT is determined by the above discriminant. Characterized in determining.

상기에서, 판별식을 사용하여 프레임/필드 DCT를 결정하기 전에 해당 BMB의 모양 정보를 셔플링하고, 이후 매크로블록의 non-transparent블록수와 셔플링하기 이전의 매크로블록의 non-transparent블록수를 비교하여 그 개수가 서로 다르면 상기 판별식을 사용하여 프레임 DCT 또는 필드 DCT를 결정하는 것을 특징으로 한다.In the above, the shape information of the corresponding BMB is shuffled before the frame / field DCT is determined using the discriminant equation, and then the number of non-transparent blocks of the macroblock and the number of non-transparent blocks of the macroblock before shuffling are determined. In comparison, if the number is different from each other, the frame DCT or the field DCT may be determined using the above-described discriminant.

상기에서, 매크로블록의 non-transparent블록수와 셔플링하기 이전의 매크로블록의 non-transparent블록수를 비교하여 그 개수가 서로 다르면 무조건적으로 non-transparent블록수가 작은 쪽으로 프레임/필드 DCT를 결정하는 것을 특징으로 한다.In the above, the number of non-transparent blocks of macroblocks and the number of non-transparent blocks of macroblocks before shuffling are compared, and if the number is different, unconditionally determining the frame / field DCT toward the smaller number of non-transparent blocks. It features.

상기에서, 셔플링을 수행한 후 매크로블록의 non-transparent블록이 한 개의 필드에만 존재하는 경우 무조건적으로 필드 단위 DCT를 수행하는 것을 특징으로 한다.In the above, if the non-transparent block of the macroblock is present in only one field after the shuffling, the unit-level DCT is performed unconditionally.

상기에서, 매크로블록내에 물체 영역과 물체가 없는 영역이 동시에 존재하는 BMB인 경우에는 무조건적으로 프레임 DCT로 결정하는 것을 특징으로 한다.In the above, when the object area and the area where no object exists in the macroblock are BMB, the frame DCT is unconditionally determined.

상기에서, 상기 매크로블록내에 물체 영역과 물체가 없는 영역이 동시에 존재하는 BMB에 대해 무조건적으로 프레임 DCT로 결정한 경우에는 DCT 타입에 대한 정보를 복호기측에 전송해주지 않는 것을 특징으로 한다.In the above, when the frame DCT is unconditionally determined for the BMB in which an object region and an objectless region exist simultaneously in the macroblock, information on the DCT type is not transmitted to the decoder.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 다른 부호화 방법은,Another encoding method according to the present invention for achieving the above object,

격행주사를 위한 색상정보 부호화 방법에 있어서,In the color information encoding method for a progressive scan,

매크로 블록 단위로 패딩을 수행하고, 패딩후 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정한 상태에서 그 결정된 DCT 타입을 알려주는 정보를 우선적으로 부호화하여 수신단에 전송해주는 단계와; 상기 DCT 타입을 알려주는 정보의 전송후 연이어 셔플링된 모양정보에 의해 얻어지는 CBPY를 부호화하여 상기 수신단측에 전송해주는 단계와; 상기 CBPY전송후 DCT 계수를 가변장 부호화하여 상기 수신단에 전송해주는 단계로 이루어짐을 특징으로 한다.The padding is performed in units of macroblocks, and after determining whether to perform a frame DCT or a field DCT on the macroblock on the object unit and the macroblock on the object boundary after encoding, the information indicating the determined DCT type is preferentially encoded. Transmitting to; Encoding the CBPY obtained by the shuffled shape information after the transmission of the information indicating the DCT type and transmitting the encoded CBPY to the receiving end; And performing variable length encoding on the DCT coefficients after transmitting the CBPY to the receiving end.

상기에서, 부호화된 매크로블록이 물체 경계 상의 매크로블록일 경우에는 부호화 타입에 관한 부가 정보를 복호기측에 전송하지 않는 것을 특징으로 한다.In the above, when the encoded macroblock is a macroblock on an object boundary, additional information about an encoding type is not transmitted to the decoder side.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 또 다른 부호화 방법은,Another encoding method according to the present invention for achieving the above object,

격행주사를 위한 색상정보 부호화 방법에 있어서,In the color information encoding method for a progressive scan,

모양정보 부호화를 위한 필드 또는 프레임 단위의 부호화를 결정하고, 그 결정된 정보를 이용하여 색상 정보의 프레임 DCT 또는 필드 DCT를 결정하여 상기 색상 정보를 부호화하는 것을 특징으로 한다.The encoding of the field or frame unit for shape information encoding is determined, and the color information is encoded by determining a frame DCT or a field DCT of color information using the determined information.

상기에서, 모양 정보 부호화가 필드 단위이면 상기 색상 정보 부호화도 필드 단위로 결정하는 것을 특징으로 한다.In the above, when the shape information encoding is a field unit, the color information encoding may be determined in a field unit.

상기에서, 모양 정보 부호화가 프레임 단위이면 상기 색상 정보 부호화도 프레임 단위로 결정하는 것을 특징으로 한다.In the above, if the shape information encoding is a frame unit, the color information encoding may be determined in a frame unit.

상기에서, 색상 정보 부호화가 프레임 단위로 결정된 경우 DCT 타입을 알려주는 부가 정보는 복호기측에 전송해주지 않는 것을 특징으로 한다.In the above, when the color information encoding is determined in units of frames, the additional information indicating the DCT type is not transmitted to the decoder.

상기에서, 색상 정보 부호화시 상기 모양 정보 부호화의 단위가 프레임 단위 인지 또는 필드 단위 인지를 확인한 후 그 확인 결과에 따라 가변 길이 코드 테이블을 선택적으로 적용하여 CBPY를 부호화하는 것을 특징으로 한다.In the color information encoding, after determining whether the unit of the shape information encoding is a frame unit or a field unit, CBPY is encoded by selectively applying a variable length code table according to the checking result.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 또 다른 부호화 방법은,Another encoding method according to the present invention for achieving the above object,

격행주사를 위한 색상정보 부호화 방법에 있어서,In the color information encoding method for a progressive scan,

임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하고, 상기 패딩후 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계와; 상기 결정된 DCT 타입을 알려주는 정보를 부호화하는 단계와; 상기 프레임 DCT 또는 필드 DCT를 결정한 후 매크로 블록을 셔플링하고, 상기 셔플링후 그 셔플링된 모양정보에 의해 CBPY를 결정하는 단계와; 상기 셔플링후 물체가 포함된 8*8단위의 블록에 대해서 부가적인 패딩을 수행하는 단계와; 상기 부가적인 패딩 수행후 DCT 및 양자화를 수행하고 DCT 계수를 가변장 부호화하는 단계로 색상정보를 부호화하는 것을 특징으로 한다.Performing padding on a macroblock basis when encoding an image of an object unit having an arbitrary shape, and determining whether to perform frame DCT or field DCT on the macroblock on the object unit and the macroblock on the object boundary after the padding; Encoding information indicating the determined DCT type; Shuffling the macroblock after determining the frame DCT or field DCT, and determining the CBPY based on the shuffled shape information after the shuffling; Performing additional padding on an 8 * 8 block containing an object after shuffling; After the additional padding is performed, color information is encoded by performing DCT and quantization and variable length encoding the DCT coefficients.

상기에서, 부호화할 매크로블록이 BMB이고 필드 DCT와 프레임 DCT를 결정 및 수행할 경우, 셔플링된 모양정보를 기준으로 가변 길이 코드 테이블을 선택적으로 적용하여 CBPY를 부호화하여 전송해주는 것을 특징으로 한다.When the macroblock to be encoded is BMB and the field DCT and the frame DCT are determined and performed, the CBPY is encoded and transmitted by selectively applying a variable length code table based on the shuffled shape information.

상기에서, 부호화된 CBPY를 전송하기 전에 해당 매크로블록이 프레임 DCT인지 필드 DCT인지를 나타내는 DCT 타입을 알려주는 부가 정보를 먼저 전송한 후 상기 CBPY를 전송해주는 것을 특징으로 한다.In the above, before transmitting the encoded CBPY, additional information indicating a DCT type indicating whether the corresponding macroblock is a frame DCT or a field DCT is first transmitted, and then the CBPY is transmitted.

상기에서, 부호화할 색상 정보의 매크로블록이 BMB인 경우, 무조건적으로 프레임 DCT를 수행하도록 결정하는 것을 특징으로 한다.In the above, when the macroblock of the color information to be encoded is BMB, it is determined to perform the frame DCT unconditionally.

상기에서, 부호화할 매크로블록이 BMB이고, 무조건적으로 프레임 DCT로 결정된 경우, CBPY를 먼저 수신측에 전송해주고, 그 후에 부호화할 블록이 존재하는 경우에만 DCT타입을 알려주는 부가 정보인 dct_type을 복호기측에 전송해주는 것을 특징으로 한다.When the macroblock to be encoded is BMB and is unconditionally determined to be a frame DCT, the CBPY is first transmitted to the receiver, and after that, the additional information dct_type indicating the DCT type only when there is a block to be encoded is decoded. Characterized in that the transmission to.

상기에서, 부호화할 매크로블록이 OMB인 경우, 셔플링된 모양정보를 기준으로 가변 길이 코드 테이블을 선택적으로 적용하여 CBPY를 부호화하여 전송해주는 것을 특징으로 한다.In the above, when the macroblock to be encoded is OMB, the CBPY is encoded and transmitted by selectively applying a variable length code table based on the shuffled shape information.

상기에서, 부호화된 CBPY를 전송하기 전에 해당 매크로블록이 프레임 DCT인지 필드 DCT인지를 나타내는 DCT 타입을 알려주는 정보를 먼저 전송한 후 상기 CBPY를 전송해주는 것을 특징으로 한다.In the above, before transmitting the encoded CBPY, information indicating a DCT type indicating whether the corresponding macroblock is a frame DCT or a field DCT is first transmitted, and then the CBPY is transmitted.

상기에서, 부호화할 색상 정보의 매크로블록이 OMB인 경우, 무조건적으로 프레임 DCT를 수행하도록 결정하는 것을 특징으로 한다.In the above, when the macroblock of the color information to be encoded is OMB, it is determined to perform the frame DCT unconditionally.

상기에서, 부호화할 매크로블록이 OMB이고, 무조건적으로 프레임 DCT로 결정된 경우, CBPY를 먼저 수신측에 전송해주고, 그 후에 부호화할 블록이 존재하는 경우에만 부호화 타입을 알려주는 부가 정보인 dct_type을 전송해주는 것을 특징으로 한다.When the macroblock to be encoded is OMB and is unconditionally determined to be a frame DCT, CBPY is first transmitted to the receiving side, and after that, dct_type, which is an additional information indicating the encoding type, is transmitted only when a block to be encoded exists. It is characterized by.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 부호화 장치는,An encoding device according to the present invention for achieving the above object,

격행 주사를 위한 색상 정보 부호화 장치에 있어서,In the color information encoding apparatus for a parallel scan,

임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 패딩부와; 상기 패딩부에서 출력되는 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 프레임/필드 결정부와; 상기 프레임/필드 결정부에서 결정된 DCT 타입을 알려주는 부가 정보를 부호화하는 DCT 타입 코딩부와; 상기 프레임/필드 결정부에서 출력되는 매크로 블록을 셔플링하는 셔플링부와; 상기 셔플링부에서 얻어지는 모양정보에 의해 CBPY를 결정하고 그 결정된 CBPY를 가변장 부호화하는 CBPY 가변장 코딩부와; 상기 셔플링부에서 얻어지는 신호를 DCT 및 양자화하는 DCT 및 양자화부와; 상기 DCT 및 양자화부에서 얻어지는 DCT 계수를 가변장 부호화하는 계수 가변장 코딩부를 포함하여 구성된 것을 특징으로 한다.A padding unit configured to perform padding in units of macro blocks when encoding an image of an object unit having an arbitrary shape; A frame / field determiner configured to determine whether to perform a frame DCT or a field DCT on a macroblock of an object unit output from the padding unit and a macroblock on an object boundary; A DCT type coding unit encoding additional information indicating a DCT type determined by the frame / field determining unit; A shuffling unit for shuffling the macro block output from the frame / field determination unit; A CBPY variable length coding unit for determining CBPY based on the shape information obtained by the shuffling unit and variable length encoding the determined CBPY; A DCT and a quantization unit for DCT and quantizing the signal obtained by the shuffling unit; And a variable length coding unit for variable length coding the DCT coefficients obtained by the DCT and the quantization unit.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 부호화 장치는,An encoding device according to the present invention for achieving the above object,

격행 주사를 위한 색상 정보 부호화 장치에 있어서,In the color information encoding apparatus for a parallel scan,

임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 패딩부와; 상기 패딩부에서 출력되는 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 프레임/필드 결정부와; 상기 프레임/필드 결정부에서 결정된 DCT 타입을 알려주는 부가 정보를 부호화하는 DCT 타입 코딩부와; 상기 프레임/필드 결정부에서 출력되는 매크로 블록을 셔플링하는 셔플링부와; 상기 셔플링부에서 얻어지는 모양정보에 의해 CBPY를 결정하고 그 결정된 CBPY를 가변장 부호화하는 CBPY 가변장 코딩부와; 상기 셔플링부에서 출력된 물체가 포함된 8*8단위의 블록애 대하여 필드 단위 패딩을 수행하는 필드 단위 패딩부와; 상기 필드 단위 패딩부에서 얻어지는 신호를 DCT 및 양자화하는 DCT 및 양자화부와; 상기 DCT 및 양자화부에서 얻어지는 DCT 계수를 가변장 부호화하는 계수 가변장 코딩부를 포함하여 구성된 것을 특징으로 한다.A padding unit configured to perform padding in units of macro blocks when encoding an image of an object unit having an arbitrary shape; A frame / field determiner configured to determine whether to perform a frame DCT or a field DCT on a macroblock of an object unit output from the padding unit and a macroblock on an object boundary; A DCT type coding unit encoding additional information indicating a DCT type determined by the frame / field determining unit; A shuffling unit for shuffling the macro block output from the frame / field determination unit; A CBPY variable length coding unit for determining CBPY based on the shape information obtained by the shuffling unit and variable length encoding the determined CBPY; A field unit padding unit configured to perform field unit padding on an 8 * 8 block including an object output from the shuffling unit; A DCT and quantization unit for DCT and quantizing the signal obtained by the field unit padding unit; And a variable length coding unit for variable length coding the DCT coefficients obtained by the DCT and the quantization unit.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 복호화 방법은,Decoding method according to the present invention for achieving the above object,

수신된 영상신호의 복호화할 매크로블록에서 non_transparent블록수를 추출하고, 상기 매크로블록을 셔플링한 후 셔플링된 매크로블록에서 non_transparent블록수를 추출하는 단계와;Extracting the number of non_transparent blocks from the macroblocks to be decoded of the received video signal, shuffling the macroblocks, and extracting the number of non_transparent blocks from the shuffled macroblocks;

상기 셔플링된 매크로블록에서의 non_transparent블록이 한 개의 필드에만 존재하는 수신된 CBPY를 복호하고 필드 역이산코사인변환을 수행하는 단계와;Decoding the received CBPY in which the non_transparent block in the shuffled macroblock exists in only one field and performing field inverse discrete cosine transform;

상기 셔플링 이전의 매크로볼록내 non_transparent블록수와 상기 셔플링한 매크로블록내 non_transparent블록수가 동일하면 수신된 CBPY를 복호하고 연이어 DCT타입을 알리는 부가 정보를 복호한 후 그 복호된 DCT 타입 정보에 따라 선택적으로 필드 또는 프레임 역이산코사인변환을 수행하는 단계와;If the number of non_transparent blocks in the macroconvex before the shuffling and the number of non_transparent blocks in the shuffled macroblock are the same, the received CBPY is decoded, followed by decoding additional information indicating a DCT type, and then selectively according to the decoded DCT type information. Performing field or frame inverse discrete cosine transform;

상기 셔플링 이전의 매크로볼록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 크면 수신된 CBPY를 복호하고 필드 역이산코사인변환을 수행하는 단계와;Decoding the received CBPY and performing a field inverse discrete cosine transform if the number of non_transparent blocks in the macroconvex before the shuffling is greater than the number of non_transparent blocks in the shuffled macroblocks;

상기 셔플링 이전의 매크로볼록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 작으면 수신된 CBPY를 복호하고 프레임 역이산코사인변환을 수행하는 단계로 이루어짐을 특징으로 한다.And if the number of non_transparent blocks in the macroconvex before the shuffling is smaller than the number of non_transparent blocks in the shuffled macroblocks, decoding the received CBPY and performing frame inverse discrete cosine transform.

상기와 같은 목적을 달성하기 위한 본 발명에 의한 복호화 장치는,Decoding apparatus according to the present invention for achieving the above object,

수신된 영상신호의 부호화할 매크로블록에서 non_transparent블록수를 추출하는 제1블록 추출부와;A first block extracting unit which extracts the number of non_transparent blocks from a macroblock to be encoded of the received video signal;

상기 제1블록 추출부에서 얻어지는 매크로블록으로부터 모양정보를 셔플링하는 셔플링부와;A shuffling unit which shuffles shape information from a macroblock obtained by the first block extracting unit;

상기 셔플링부에서 셔플링된 매크로블록에서 non_transparent블록수를 추출하는 제2블록 추출부와;A second block extracting unit extracting the number of non_transparent blocks from the macroblocks shuffled by the shuffling unit;

상기 제1 및 제2 블록 추출부에서 각각 추출된 non_transparent블록수를 비교하여 그 결과치를 필드/프레임 역이산코사인변환을 결정해주는 신호로 출력하는 비교부와;A comparison unit for comparing the number of non_transparent blocks extracted by the first and second block extractors, respectively, and outputting the result as a signal for determining a field / frame inverse discrete cosine transform;

상기 제2블록 추출부에서 출력되는 매크로블록에 해당하는 CBPY를 복호화하는 CBPY 복호화부와;A CBPY decoder which decodes the CBPY corresponding to the macroblock output from the second block extractor;

상기 제2블록 추출부에서 출력되는 매크로블록에 해당하는 DCT 타입을 복호화하는 DCT 타입 복호화부와;A DCT type decoder for decoding a DCT type corresponding to a macroblock output from the second block extractor;

상기 CBPY 복호화부와 DCT 타입 복호화부 및 상기 비교부에서 각각 출력되는 신호에 따라 선택적으로 상기 매크로블록을 필드 또는 프레임 단위 역이산코사인변환 및 역양자화를 수행하는 역이산코사인변환 및 역양자화부로 구성됨을 특징으로 한다.It is composed of an inverse discrete cosine transform and an inverse quantization unit that performs field or frame inverse discrete cosine transform and inverse quantization according to the signals output from the CBPY decoder, the DCT type decoder, and the comparator, respectively. It features.

이하, 본 발명의 바람직한 실시 예를 첨부한 도면에 의거 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings, preferred embodiments of the present invention.

첨부한 도면 도10은 본 발명에 의한 격행주사를 위한 색상 정보 부호화 장치 블록 구성도이다.10 is a block diagram of a color information encoding apparatus for a parallel scan according to the present invention.

이에 도시된 바와 같이, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 패딩부(100)와, 상기 패딩부(100)에서 출력되는 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 프레임/필드 결정부(101)와, 상기 프레임/필드 결정부(101)에서 결정된 DCT 타입을 알려주는 부가 정보를 부호화하는 DCT 타입 코딩부(102)와, 상기 프레임/필드 결정부(101)에서 출력되는 매크로 블록을 셔플링하는 셔플링부(103)와, 상기 셔플링부(103)에서 얻어지는 모양정보에 의해 CBPY를 결정하고 그 결정된 CBPY를 가변장 부호화하는 CBPY 가변장 코딩부(104)와, 상기 셔플링부(103)에서 얻어지는 신호를 DCT 및 양자화하는 DCT 및 양자화부(105)와, 상기 DCT 및 양자화부(105)에서 얻어지는 DCT 계수를 가변장 부호화하는 계수 가변장 코딩부(106)로 구성된다.As shown therein, the padding unit 100 performs padding in units of macroblocks when encoding an image of an object unit having an arbitrary shape, and on the macroblock and object boundary of the object unit output from the padding unit 100. A frame / field determination unit 101 for determining whether to perform a frame DCT or a field DCT with respect to a macroblock, and a DCT type coding unit for encoding additional information indicating a DCT type determined by the frame / field determination unit 101. (102), the shuffling unit 103 for shuffling the macro block output from the frame / field determination unit 101, and the shape information obtained from the shuffling unit 103 to determine the CBPY and determine the determined CBPY. CBPY variable length coding unit 104 for variable length coding, DCT and quantization unit 105 for DCT and quantizing the signal obtained by the shuffling unit 103, and DCT coefficients obtained at the DCT and quantization unit 105 Is composed of a coefficient variable length coding unit 106 for variable length coding.

도11은 본 발명에 의한 격행 주사를 위한 색상 정보 부호화 장치의 다른 일예로서, 상기 셔플링부(103)와 DCT 및 양자화부(105) 사이에 상기 셔플링후 물체가 포함된 8*8단위의 블록에 대해서 필드 단위 패딩을 수행하는 필드 단위 패딩부(107)가 더 포함되어 구성된다.11 is a block diagram of a color information encoding apparatus for a permutation scan according to an embodiment of the present invention, and includes a block of 8 * 8 units in which an object after shuffling is included between the shuffling unit 103 and the DCT and the quantization unit 105. The field unit padding unit 107 is configured to further include field unit padding.

도11에서 상기 도10과 동일한 부호의 블록은 동일한 기능 및 작용을 한다.In Fig. 11, blocks having the same reference numerals as in Fig. 10 perform the same functions and functions.

이와 같이 구성된 본 발명에 의한 색상 정보 부호화장치에 의한 색상 정보 부호화 방법은 다음과 같다.The color information encoding method by the color information encoding apparatus according to the present invention configured as described above is as follows.

먼저, 도4인 종래의 격행 주사를 위한 색상 정보 부호화 방법과 비교하여 보면, 도10 및 도11은 모두 DCT 타입을 알려주는 부가 정보인 dct_type을 수신측에 먼저 전송하고 그 다음에 CBPY를 전송함을 알 수 있다. 그리고 CBPY 전송은 셔플링 과정을 수행(프레임 DCT의 경우에는 비수행)한 후의 모양 정보를 이용하여 VLC 테이블(table)을 선택, 부호화함을 알 수 있다.First, in comparison with the conventional color information encoding method for a conventional interlocking scan of FIG. 4, FIG. 10 and FIG. 11 both transmit additional information dct_type indicating a DCT type to a receiver first and then CBPY. It can be seen. In addition, the CBPY transmission may select and encode a VLC table using shape information after performing a shuffling process (not performing in the case of frame DCT).

이하에서는 각 블록에 대한 작용을 좀 더 상세히 설명한다.Hereinafter, the operation of each block will be described in more detail.

먼저, BMB에서의 패딩 과정을 살펴보면, 종래에는 8x8 블록 단위의 패딩을 수행한다. 격행 주사 영상에서는 adaptive frame/field DCT 결정 과정을 수행해야 하며, MB의 모든 화소들의 신호가 있어야 한다. 그러므로 기존 기술의 사용은 MB내의 모든 화소들의 값이 정의되지 않을 수 있으므로 부호화 효율이 저하되는 문제점이 있다.First, looking at the padding process in the BMB, conventionally performs padding in units of 8x8 blocks. In the progressive scan image, an adaptive frame / field DCT decision process must be performed and signals of all pixels of the MB must be present. Therefore, the use of the existing technology has a problem that the coding efficiency is lowered because the values of all the pixels in the MB may not be defined.

이를 해소하기 위한 제안 발명은, 격행 주사를 위한 영상의 경우 BMB에서는 기존의 블록 단위의 패딩이 아닌, MB 단위의 패딩을 수행한다. 다시 말해서, 패딩부(100)는 인터(inter) MB의 경우 "0"을 삽입하여 패딩을 하고, 인트라(intra) MB의 경우 물체 영역의 색상 정보의 평균값을 삽입하여 패딩을 한다.The proposed invention for solving this problem, in the case of the image for the interlocking scan in the MBB, instead of the existing block-by-block padding is performed in MB unit. In other words, the padding unit 100 pads by inserting "0" in the case of inter MB, and pads by inserting an average value of color information of the object area in case of intra MB.

다음으로, 모양 정보를 고려하는 프레임/필드 결정부(101)는, 기존의 adaptive frame/field DCT 결정은 각 MB내의 모든 블록을 부호화하기 때문에, 필드 DCT 또는 프레임 DCT로 결정되어도 부호화할 블록 수는 동일하다. 그러나 MPEG-4와 같이 임의의 모양 정보를 가지는 물체를 부호화하는 경우에는 부호화할 블록 수가 상대적으로 증가하는 문제점을 가진다.Next, since the frame / field determination unit 101 considering shape information encodes all blocks in each MB in the conventional adaptive frame / field DCT determination, the number of blocks to be encoded is determined even if it is determined as a field DCT or a frame DCT. same. However, when encoding an object having arbitrary shape information such as MPEG-4, there is a problem in that the number of blocks to be encoded is relatively increased.

이러한 문제를 해결하기 위한 제안 발명은, 모양 정보의 특성을 이용한다. 모양 정보 부호화는 색상 정보 부호화 이전에 수행한다. 복호화기에서도 색상 정보 복호화를 수행하기 전에 모양 정보 복호화를 수행한다. 그러므로 부호화기, 복호화기는 색상 정보 부호화/복호화 이전에 서로 같은 모양 정보를 가지고 있고, 모양 정보를 이용하는 경우, 부가 정보 전송이 불필요하다. The proposed invention for solving this problem uses the characteristics of shape information. Shape information encoding is performed before color information encoding. The decoder also performs shape information decoding before color information decoding. Therefore, the encoder and the decoder have the same shape information before the color information encoding / decoding, and when the shape information is used, additional information transmission is unnecessary.

즉, 기존의 프레임/필드 결정을 위한 판단식을 사용하여 frame/field DCT를 결정하기 전에 해당 BMB의 모양 정보를 셔플링한다. 만일 셔플링을 수행 전,후에 non-transparent 블록수가 서로 다르면 non-transparent 블록수가 작게 발생하는 쪽(필드/프레임)으로 DCT를 결정한다. 다시 말해서, 셔플링 전의 non-transparent 블록수가 셔플링후의 non-transparent 블록수보다 적으면 프레임 DCT를 수행하고, 셔플링후의 non-transparent 블록수가 셔플링하기 이전의 non-transparent 블록수보다 적으면 필드 DCT를 수행한다. 이 경우에는 DCT 타입을 알려주는 부가 정보인 dct_type을 복호기측에 전송할 필요가 없다.That is, the shape information of the corresponding BMB is shuffled before the frame / field DCT is determined by using an existing frame / field determination equation. If the number of non-transparent blocks is different before and after shuffling, the DCT is determined as the side (field / frame) where the number of non-transparent blocks is small. In other words, if the number of non-transparent blocks before shuffling is less than the number of non-transparent blocks after shuffling, perform frame DCT; if the number of non-transparent blocks after shuffling is less than the number of non-transparent blocks before shuffling, Perform a DCT. In this case, it is not necessary to transmit dct_type, which is additional information indicating the DCT type, to the decoder side.

다른 방법으로는,기존의 프레임/필드 판단식을 사용하여 frame/field DCT를 결정하기 전에 해당 BMB의 모양 정보를 셔플링한다. 만약 셔플링을 수행한 후에, non-transparent 블록수가 증가하면, 판단식을 사용하지 않고 프레임 DCT로 결정한다. 이 경우에는 복호기측에 DCT 타입을 알려주는 부가 정보인 dct_type을 전송할 필요가 없다. 또한 셔플링후에 non-transparent 블록수가 감소하면, 기존의 프레임/필드 결정을 위한 판단식을 사용하여 프레임/필드 DCT를 결정한다.Alternatively, the shape information of the corresponding BMB is shuffled before the frame / field DCT is determined using an existing frame / field decision equation. If the number of non-transparent blocks increases after shuffling, the frame DCT is determined without using a decision equation. In this case, it is not necessary to transmit dct_type, which is additional information indicating the DCT type, to the decoder side. In addition, when the number of non-transparent blocks decreases after shuffling, the frame / field DCT is determined using an existing equation for determining the frame / field.

또 다른 방법으로는, 기존의 프레임/필드 판단식을 사용하여 frame/field DCT를 결정하기 전에 해당 BMB의 모양 정보를 셔플링한다. 만약 셔플링을 수행한 후에, non-transparent 블록수가 증가하면, 판단식을 사용하지 않고 프레임 DCT로 결정한다. 만약, 셔플링후에 non-transparent 블록수가 감소하면, 프레임/필드 결정을 위한 판단식을 사용하지 않고 필드 DCT로 결정한다. 이 경우에는 복호기측에 DCT 타입을 알려주는 부가 정보인 dct_type을 전송할 필요가 없다. 또한 셔플링후에 non-transparent 블록수가 셔플링하기 이전의 non-transparent 블록수와 동일하면 기존의 프레임/필드 결정을 위한 판단식을 사용하여 프레임/필드 DCT를 결정한다.Alternatively, the shape information of the corresponding BMB is shuffled before the frame / field DCT is determined using an existing frame / field decision equation. If the number of non-transparent blocks increases after shuffling, the frame DCT is determined without using a decision equation. If the number of non-transparent blocks decreases after shuffling, the field DCT is determined without using a decision formula for frame / field determination. In this case, it is not necessary to transmit dct_type, which is additional information indicating the DCT type, to the decoder side. In addition, if the number of non-transparent blocks after shuffling is the same as the number of non-transparent blocks before shuffling, the frame / field DCT is determined using an existing equation for determining the frame / field.

또 다른 방법으로는, MB내에 물체 영역과 그렇지 않은 영역이 동시에 존재하는 BMB인 경우에는 무조건적으로 프레임 DCT를 수행한다. 이 경우 dct_type을 전송하지 않아도 복호화기에서는 재현된 모양 정보로 알 수 있기 때문에, 전송이 불필요하다. MB내의 모든 화소가 물체 영역인 OMB의 경우, 프레임 DCT와 필드 DCT를 기존의 방식으로 결정하고, dct_type 역시 부호화할 블록의 존재시에만 전송한다.Alternatively, the frame DCT is unconditionally performed in the case of the BMB in which the object area and the other area in the MB exist simultaneously. In this case, since the decoder can recognize the reproduced shape information without transmitting the dct_type, the transmission is unnecessary. In the case of OMB in which all pixels in the MB are the object region, the frame DCT and the field DCT are determined by the conventional method, and the dct_type is also transmitted only when the block to be encoded exists.

또 다른 방법으로는, 모양 정보 부호화에서도 격행 주사 프레임을 위하여 필드 또는 프레임 단위의 부호화를 결정한다. 다시 말해서, 모양 정보 부호화 타입이 필드 단위 부호화이면 색상 정보 부호화도 필드 DCT를 수행하고, 모양 정보 부호화 타입이 프레임 단위 부호화이면 색상 정보 부호화도 프레임 DCT를 수행한다. 그러므로 이 방법에서는 DCT 타입을 알려주는 부가 정보인 dct_type을 복호기측에 전송하지 않아도 된다.As another method, in shape information encoding, encoding of a field or a frame unit is determined for a parallel scan frame. In other words, if the shape information encoding type is field unit encoding, the color information encoding degree field DCT is performed. If the shape information encoding type is frame unit encoding, the color information encoding degree frame DCT is performed. Therefore, in this method, it is not necessary to transmit dct_type, which is additional information indicating the DCT type, to the decoder side.

또 다른 방법으로는, 셔플링한 경우, non-transparent 블록이 한 개의 필드에만 존재하는 경우, 무조건적으로 필드 DCT를 수행한다. 이 경우에는 DCT 타입을 알려주는 부가 정보인 dct_type을 복호기측에 전송하지 않아도 된다.Alternatively, when shuffling, if a non-transparent block exists in only one field, field DCT is unconditionally performed. In this case, it is not necessary to transmit dct_type, which is additional information indicating the DCT type, to the decoder side.

다음으로, 셔플링 과정을 기존의 방식과 동일한 방법에 의해 셔플링을 수행하게 된다.Next, the shuffling process is performed by the same method as the conventional method.

다음으로, 도11에 별도로 추가된 부가 패딩 과정(field-based padding)을 살펴보면, 맨 처음 단계의 패딩된 신호를 DCT 하는 대신, 모양 정보 및 색상 정보를 셔플링한 후에 다시 8x8 단위의 패딩을 non-transparent 블록에 대해서 부가적으로 수행하고, 이 신호를 DCT한다. 여기서 패딩 방법은 상기한 기존의 방법과 일치한다. 그러므로 본 단계를 사용하는 경우의 제1단계 패딩은 결국 adaptive frame/field DCT 결정만을 위한 것이다.Next, referring to the field-based padding process separately added to FIG. 11, instead of DCT the padded signal of the first stage, after padding the shape information and the color information again, the padding of 8x8 unit is again non- Perform additionally on the transparent block and DCT this signal. The padding method here is consistent with the existing method described above. Therefore, the first stage padding in the case of using this stage is only for adaptive frame / field DCT determination.

만약, MB가 필드 DCT로 결정되는 신호 특성을 가진다고 가정하면, 셔플링하지 않고 제1단계에서 수행한 패딩값보다는 먼저 셔플링하고 패딩을 하는 것이 신호의 유사성을 증가시키고, DCT의 효율을 증가시킬 수 있다. 또한 이 방식의 도입은 하기한 설명에서 볼 수 있듯이, 불필요한 신호의 전송을 줄일 수 있다.If it is assumed that MB has a signal characteristic determined by the field DCT, shuffling and padding before the padding value performed in the first step without shuffling will increase the similarity of the signal and increase the efficiency of the DCT. Can be. In addition, the introduction of this scheme can reduce unnecessary signal transmission, as can be seen in the following description.

다음으로, DCT 및 양자화 과정은 기존의 방법과 동일하다.Next, the DCT and quantization process is the same as the conventional method.

다음으로, CBPY, dct_type 전송 방법을 살펴보면, 기존의 방식에서와 같이 BMB에 frame/field DCT의 선택을 수행할 시에 앞서 CBPY를 전송하고 dct_type을 전송한다면 전송하지 않는 색상 신호가 존재하므로 화질의 저하를 초래한다.Next, looking at the CBPY and dct_type transmission method, when performing the selection of frame / field DCT in the BMB as in the conventional method, if the CBPY is transmitted before and the dct_type is transmitted, there is a color signal that does not transmit, so the image quality deteriorates. Results in.

이러한 문제점을 해소하기 위한 본 발명의 제안 방법들은 다음과 같다.Proposed methods of the present invention to solve this problem are as follows.

첫째로, BMB에서 필드 DCT와 프레임 DCT를 결정, 수행하는 경우에, CBPY를 전송을 위한 가변 길이 코드(VLC) 표의 선택은 셔플링된 모양 정보를 기준으로 한다. 이는 MB에 포함된 모든 색상 정보를 전송을 하기 위한 것이다. 단, 수신단 측에서 CBPY를 복호화하기 위해서는 재생된 모양 정보의 셔플링 여부를 판단할 수 있어야 한다. 그러므로 본 발명에서는 기존의 방식과는 달리 CBPY 전송 전에, 해당 MB가 프레임 DCT인지, 아니면 필드 DCT인지를 나타내는 dct_type을 먼저 전송한다. OMB가 입력된 경우에도 dct_type을 전송하고 CBPY를 전송한다.First, when determining and performing field DCT and frame DCT in BMB, selection of a variable length code (VLC) table for transmitting CBPY is based on shuffled shape information. This is for transmitting all the color information included in the MB. However, in order to decode the CBPY at the receiving end, it should be able to determine whether shuffled reproduced shape information. Therefore, in the present invention, unlike the conventional scheme, before transmitting CBPY, dct_type indicating whether the corresponding MB is a frame DCT or a field DCT is transmitted first. Even when OMB is input, dct_type is transmitted and CBPY is transmitted.

둘째로, BMB에서 필드 DCT와 프레임 DCT를 결정, 수행하는 경우에, CBPY를 전송을 위한 VLC 표의 선택은 셔플링된 모양 정보를 기준으로 한다. 이는 MB에 포함된 모든 색상 정보를 전송하기 위한 것이다. 단, 수신단 측에서 CBPY를 복호화하기 위해서는 재생된 모양 정보의 셔플링 여부를 판단할 수 있어야 한다. 그러므로 본 발명에서는 기존의 방식과는 달리 CBPY 전송 전에, 해당 MB가 프레임 DCT인지, 아니면 필드 DCT인지를 나타내는 dct_type을 먼저 전송한다. OMB가 입력된 경우에는 기존의 방식과 마찬가지로 CBPY를 보내고 dct_type을 보낸다.Secondly, in case of determining and performing field DCT and frame DCT in BMB, selection of VLC table for transmitting CBPY is based on shuffled shape information. This is to transmit all the color information included in the MB. However, in order to decode the CBPY at the receiving end, it should be able to determine whether shuffled reproduced shape information. Therefore, in the present invention, unlike the conventional scheme, before transmitting CBPY, dct_type indicating whether the corresponding MB is a frame DCT or a field DCT is transmitted first. When OMB is input, CBPY and dct_type are sent as in the conventional method.

셋째로, BMB가 입력된 경우 무조건적으로 프레임 DCT를 수행하도록 결정한다면, BMB와 OMB 모두 CBPY를 먼저 보내고 dct_type을 부호화할 블록이 존재하는 경우에만 전송하게 된다.Third, if the BMB is inputted and unconditionally decides to perform the frame DCT, both the BMB and the OMB send CBPY first, and only if there is a block to encode the dct_type.

넷째로, 상기 첫 번째 및 두 번째 방법은 BMB에서 CBPY=0(부호화, 전송해야할 DCT 계수가 없는 경우)인 경우에도 DCT 타입을 알려주는 부가 정보인 dct_type을 전송해야 하는 단점이 있다. 그러므로 BMB인 경우에서도 모양 정보를 셔플링하기 전후의 non-transparent 블록수가 동일하다면, 기존의 방식처럼 CBPY를 복호기측에 먼저 전송하고, CBPY=0이 아닌 경우에만 DCT 타입을 알려주는 부가정보인 dct_type을 전송한다. 이는 모양 정보를 셔플링하기 전후의 non-transparent 블록수가 동일하기 때문에 복호화기 측에서 dct_type을 알지 못해도 CBPY를 복호할 수 있게 된다.Fourth, the first and second methods have a disadvantage in that, even when CBPY = 0 (there is no encoding and no DCT coefficient to be transmitted) in the BMB, dct_type, which is additional information indicating the DCT type, must be transmitted. Therefore, even in the case of BMB, if the number of non-transparent blocks before and after shuffling the shape information is the same, CCTY is first transmitted to the decoder side as in the conventional method, and dct_type, which is an additional information for indicating the DCT type only when CBPY = 0 is not used. Send it. Since the number of non-transparent blocks before and after shuffling shape information is the same, the decoder can decode CBPY without knowing the dct_type.

첨부한 도면 도12는 본 발명에 의한 격행 주사를 위한 색상 정보 복호화 장치의 블록 구성도이다.12 is a block diagram of a color information decoding apparatus for a permutation scan according to the present invention.

이에 도시된 바와 같이, 수신된 영상신호의 부호화할 매크로블록에서 non_transparent 블록수를 추출하는 제1블록 추출부(108)와; 상기 제1블록 추출부에서 얻어지는 매크로블록으로부터 모양정보를 셔플링하는 셔플링부(109)와; 상기 셔플링부에서 셔플링된 매크로블록에서 non_transparent블록수를 추출하는 제2블록 추출부(110)와; 상기 제1 및 제2 블록 추출부(108)(110)에서 각각 추출된 non_transparent블록수를 비교하여 그 결과치를 필드/프레임 역이산코사인변환을 결정해주는 신호로 출력하는 비교부(111)와; 상기 제2블록 추출부(110)에서 출력되는 매크로블록에 해당하는 CBPY를 복호화하는 CBPY 복호화부(112)와; 상기 제2블록 추출부(110)에서 출력되는 매크로블록에 해당하는 DCT 타입을 복호화하는 DCT 타입 복호화부(113)와; 상기 CBPY 복호화부(112)와 DCT 타입 복호화부(113) 및 상기 비교부(111)에서 각각 출력되는 신호에 따라 선택적으로 상기 매크로블록을 필드 또는 프레임 단위 역이산코사인변환 및 역양자화를 수행하는 역이산코사인변환 및 역양자화부(114)로 구성된다.As shown therein, a first block extracting unit 108 extracts the number of non_transparent blocks from a macroblock to be encoded of the received video signal; A shuffling unit (109) for shuffling shape information from the macroblock obtained by the first block extracting unit; A second block extracting unit (110) for extracting the number of non_transparent blocks from the macroblocks shuffled by the shuffling unit; A comparator 111 for comparing the number of non_transparent blocks extracted by the first and second block extractors 108 and 110 and outputting the result as a signal for determining a field / frame inverse discrete cosine transform; A CBPY decoder 112 for decoding a CBPY corresponding to a macroblock output from the second block extractor 110; A DCT type decoder 113 for decoding a DCT type corresponding to a macroblock output from the second block extractor 110; Inversely performing inverse discrete cosine transform and field quantization on a macro or frame basis according to signals output from the CBPY decoder 112, the DCT type decoder 113, and the comparator 111, respectively. It is composed of a discrete cosine transform and inverse quantization unit 114.

이와 같이 구성된 본 발명에 의한 색상정보 복호화 장치를 참조하여 색상정보 복호화 방법을 설명하면 다음과 같다.Referring to the color information decoding apparatus according to the present invention configured as described above will be described in the color information decoding method as follows.

먼저, 제1블록 추출부(108)는, 수신된 영상신호의 복호화할 매크로블록에서 non_transparent블록수를 추출하게 되며, 셔플링부(109)는 상기 매크로블록의 모양정보를 셔플링한다. 아울러 제1블록 추출부(110)는 상기 셔플링부(109)에 의해 셔플링된 매크로블록에서 non_transparent블록수를 추출하게 된다.First, the first block extractor 108 extracts the number of non_transparent blocks from a macroblock to be decoded of the received video signal, and the shuffling unit 109 shuffles the shape information of the macroblock. In addition, the first block extractor 110 extracts the number of non_transparent blocks from the macroblocks shuffled by the shuffling unit 109.

그리고 비교부(111)는 상기 셔플링된 매크로블록에서의 non_transparent블록수와 셔플링 이전의 non-transparent블록수를 비교하여 그 결과치를 프레임 IDCT 또는 필드 IDCT를 위한 제어신호로 상기 역이산코사인변환 및 역양자화부(114)에 전달해준다.The comparison unit 111 compares the number of non_transparent blocks in the shuffled macroblocks with the number of non-transparent blocks before shuffling, and converts the result into the control signal for frame IDCT or field IDCT. It delivers to the inverse quantization unit 114.

아울러 CBPY복호화부(112)는 부호화된 CBPY를 복호화하게 되고, DCT 타입 복호화부(113)는 부호화된 DCT 타입을 복호화하게 된다.In addition, the CBPY decoder 112 decodes the encoded CBPY, and the DCT type decoder 113 decodes the encoded DCT type.

그러면 상기 역이산코사인변환 및 역양자화부(114)는 상기 복호화된 CBPY와 복호화된 DCT 타입 정보 및 상기 비교부(111)에서 얻어지는 필드/프레임 IDCT 정보에 따라 상기 매크로블록을 선택적으로 프레임 또는 필드 역이산코사인변환하게 된다.Then, the inverse discrete cosine transform and inverse quantization unit 114 selectively selects the macroblock according to the decoded CBPY, the decoded DCT type information, and the field / frame IDCT information obtained from the comparison unit 111. Discrete cosine transform.

즉, 본 발명에 의한 색상정보 복호화 방법은 셔플링후 non_transparent블록이 한 개의 필드에만 존재하면 수신된 CBPY를 복호하고 연이어 필드 역이산코사인변환을 수행하게 된다. 또한, 상기 셔플링 이전의 매크로볼록내 non_transparent블록수와 상기 셔플링한 매크로블록내 non_transparent블록수가 동일하면 수신된 CBPY를 복호하고 연이어 DCT타입을 알리는 부가 정보를 복호한 후 그 복호된 DCT 타입 정보에 따라 선택적으로 필드 또는 프레임 역이산코사인변환을 수행하게 된다. 또한, 상기 셔플링 이전의 매크로블록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 크면 수신된 CBPY를 복호하고 필드 역이산코사인변환을 수행하게 된다. 아울러 상기 셔플링 이전의 매크로볼록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 작으면 수신된 CBPY를 복호하고 프레임 역이산코사인변환을 수행하게 되는 것이다.That is, in the method for decoding color information according to the present invention, if a non_transparent block exists in only one field after shuffling, the received CBPY is decoded and subsequently field inverse discrete cosine transform is performed. Further, if the number of non_transparent blocks in the macroconvex before the shuffling and the number of non_transparent blocks in the shuffled macroblock are the same, the received CBPY is decoded, and after decoding additional information indicating a DCT type, the decoded DCT type information is decoded. Optionally, the field or frame inverse discrete cosine transform is performed. In addition, if the number of non_transparent blocks in the macroblock before the shuffling is larger than the number of non_transparent blocks in the shuffled macroblock, the received CBPY is decoded and field inverse discrete cosine transform is performed. In addition, when the number of non_transparent blocks in the macroconvex before the shuffling is smaller than the number of non_transparent blocks in the shuffled macroblock, the received CBPY is decoded and frame inverse discrete cosine transform is performed.

또한 본 발명에 의한 다른 색상정보 복호화 방법은, 모양 정보를 셔플링하고, 셔플링 전,후의 non_transparent블록수가 상호 다르면 상기 DCT 타입을 알리는 부가 정보인 dct_type을 먼저 복호화하고, 필드 DCT인 경우에는 모양정보를 셔플링한 후의 non_transparent블록수에 의존하여 CBPY를 복호화하고, 프레임 DCT의 경우에는 셔플링하지 않았을때의 non_transparent블록수에 의존하여 CBPY를 복호화 하게된다.According to another method of decoding color information according to the present invention, if shape information is shuffled, and if the number of non_transparent blocks before and after shuffling is mutually different, dct_type, which is additional information indicating the DCT type, is first decoded, and in the case of field DCT, shape information CBPY is decoded depending on the number of non_transparent blocks after shuffling, and CBPY is decoded depending on the number of non_transparent blocks when not shuffled in the case of frame DCT.

또한, 이미 복호화된 모양 정보를 이용하여 해당 매크로블록이 BMB인지, 아니면 OMB인지를 알수 있다. BMB의 경우에는 dct_type을 먼저 복호화하고, 모양 정보를 셔플링하여 몇 개의 블록이 non_transparent블록인지를 판단하여 CBPY를 복호한다.In addition, it is possible to know whether the macroblock is BMB or OMB using the shape information which is already decoded. In the case of BMB, dct_type is first decoded, and shape information is shuffled to determine how many blocks are non_transparent blocks and to decode CBPY.

그리고 OMB인 경우에는 CBPY를 복호하고, CBPY=0이 아닌 경우에는 dct_type을 복호하게 된다.In case of OMB, CBPY is decoded, and in case CBPY is not 0, dct_type is decoded.

이상에서 상술한 바와 같이 본 발명은, 매크로블록 단위의 패딩을 수행하고, 물체 경계 상의 MB에 대해서도 프레임/필드 DCT를 결정하며, BMB에 대해서 CBPY를 복호기측에 전송하기에 앞서 dct_type 정보를 먼저 전송해줌으로써, 불필요한 신호 전송을 줄일 수 있으며, 또한 모든 색상 신호의 전송이 가능하므로 화질 향상을 도모할 수 있는 등의 부호화 효율을 증가시킬 수 있는 다수의 이점이 있다.As described above, the present invention performs macroblock-based padding, determines a frame / field DCT for MB on an object boundary, and first transmits dct_type information before transmitting CBPY to the decoder for BMB. By doing so, unnecessary signal transmission can be reduced, and since all color signals can be transmitted, there are a number of advantages that can increase coding efficiency such as to improve image quality.

도1은 일반적인 순행주사(Progressive)와 격행주사(Interlaced)시 프레임과 필드의 시간축상의 전송순서도,1 is a flowchart illustrating the transmission of frames and fields on a time axis during general progressive and interlaced operations.

도2는 현재 국제표준 산하기구에서 1차적으로 확정한 MPEG-4의 VOP 영상 부호화기의 구성도,2 is a block diagram of a MPEG-4 VOP video encoder first determined by the present International Standardization Organization;

도3은 매크로 블록(MB)내에서 임의의 모양을 가지는 물체 영역과 BMB,OMB,TMB사이의 관계도,3 is a relation diagram between an object area having an arbitrary shape in a macro block MB and BMB, OMB, and TMB;

도4는 종래 격행 주사 프레임 부호화시 색상 정보 부호화 방법을 설명하기 위한 흐름도,4 is a flowchart illustrating a method of encoding color information in encoding a conventional perforated scan frame;

도5는 하나의 매크로 블록을 임의의 블록으로 분할한 도면,5 is a diagram in which one macro block is divided into arbitrary blocks;

도6은 종래 블록 단위의 패딩(Padding)이 BMB에 적용된 경우의 문제점을 설명하기 위한 도면,FIG. 6 is a diagram for explaining a problem in the case where a conventional block-by-block padding is applied to a BMB; FIG.

도7은 격행 주사 프레임으로 구성된 MB를 홀수 필드와 짝수 필드로 나누어 배치하는 셔플링(shuffling) 과정을 설명하기 위한 도면,FIG. 7 is a diagram illustrating a shuffling process of dividing and arranging MBs formed by a parallel scan frame into odd and even fields; FIG.

도8은 도6b를 셔플링한 후 얻어지는 결과치의 도면,8 is a diagram of the results obtained after shuffling FIG. 6B;

도9는 BMB와 이를 셔플링한 결과를 보여주는 도면,9 is a diagram showing a BMB and a result of shuffling the same;

도10은 본 발명에 의한 격행주사를 위한 색상 정보 부호화 장치의 일실시예도,10 is a diagram illustrating an embodiment of a color information encoding apparatus for a progressive scan according to the present invention;

도11은 본 발명에 의한 격행주사를 위한 색상 정보 부호화 장치의 다른 실시예도.11 is another embodiment of a color information encoding apparatus for a parallel scan according to the present invention;

도12는 본 발명에 의한 격행주사를 위한 색상 정보 복호화 장치 블록 구성도.12 is a block diagram of a color information decoding apparatus for a parallel scan according to the present invention.

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

100:패딩부 101:프레임/필드 결정부100: padding section 101: frame / field determination section

102:DCT 타입 코딩부 103:셔플링부102: DCT type coding section 103: shuffling section

104:CBPY 가변장 코딩부 105:DCT 및 양자화부104: CBPY variable length coding unit 105: DCT and quantization unit

106:계수 가변장 코딩부 107:필드 단위 패딩부106: coefficient variable length coding unit 107: field unit padding unit

108,110:제1 및 제2 블록 추출부 109:셔플링부108,110: first and second block extracting section 109: shuffling section

111:비교부 112:CBPY복호화부111: Comparative 112: CBPY decryption unit

113:DCT타입 복호화부113: DCT Decoder

114:역이산코사인변환 및 역양자화부114: Inverse Discrete Cosine Transform and Inverse Quantization

Claims (21)

격행주사를 위한 색상정보 부호화 방법에 있어서,In the color information encoding method for a progressive scan, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 단계;Performing padding in units of macro blocks when encoding an image of an object unit having an arbitrary shape; 상기 패딩 수행 후 상기 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계;Determining whether to perform a frame DCT or a field DCT on the macro block after performing the padding; 상기 결정된 DCT 타입을 알려주는 정보를 부호화하는 단계;Encoding information indicating the determined DCT type; 상기 프레임 DCT 또는 필드 DCT의 수행여부를 결정한 후 매크로 블록을 셔플링하는 단계;Shuffling the macro block after determining whether to perform the frame DCT or the field DCT; 상기 셔플링된 모양정보에 따라 CBPY를 결정 및 부호화하는 단계; 및Determining and encoding a CBPY according to the shuffled shape information; And 상기 셔플링후 DCT 및 양자화를 수행하고 DCT 계수를 가변장 부호화하는 단계Performing DCT and quantization after the shuffling and variable length encoding the DCT coefficients 를 포함하는 격행 주사를 위한 색상 정보 부호화 방법,Color information encoding method for a parallel scan, including; 제1항에 있어서, The method of claim 1, 상기 필드 DCT로 결정된 매크로블록의 모양 정보를 셔플링한 후 non-transparent블록의 수를 기준으로 가변 길이 코드 테이블을 선택적으로 적용함으로써 상기 CBPY를 부호화하는 것을 특징으로 하는After shuffling the shape information of the macroblock determined by the field DCT, the CBPY is encoded by selectively applying a variable length code table based on the number of non-transparent blocks. 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for parallel scan. 제1항에 있어서,The method of claim 1, 물체 경계상의 매크로블록에 대하여는 프레임 DCT를 수행하도록 결정하는 것을 특징으로 하는Determining to perform a frame DCT for the macroblock on the object boundary 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for parallel scan. 제1항에 있어서,The method of claim 1, 상기 매크로블록 단위의 패딩은, 상기 매크로 블록이 인터(inter) 매크로블록일 경우에는 "0"을 삽입하고, 인트라(intra) 매크로 블록일 경우에는 물체 영역의 색상 정보의 평균값을 삽입하여 패딩하는 것을 특징으로 하는In the macroblock unit padding, when the macroblock is an inter macroblock, “0” is inserted, and when the macroblock is an intra macroblock, padding is performed by inserting an average value of color information of an object area. Characterized 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for parallel scan. 제1항에 있어서,The method of claim 1, 상기 매크로 블록이 매크로블록 내에 물체 영역과 물체가 없는 영역이 동시에 존재하는 BMB인 경우에는 프레임 DCT로 결정하는 것을 특징으로 하는When the macroblock is a BMB in which an object region and an objectless region exist simultaneously in the macroblock, the macroblock is determined as a frame DCT. 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for parallel scan. 제5항에 있어서,The method of claim 5, 상기 BMB에 대해 프레임 DCT로 결정한 경우에는 상기 DCT 타입에 대한 정보를 복호기측에 전송하지 않는 것을 특징으로 하는When the frame DCT is determined for the BMB, information on the DCT type is not transmitted to the decoder. 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for parallel scan. 격행주사를 위한 색상정보 부호화 방법에 있어서,In the color information encoding method for a progressive scan, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 단계; 상기 패딩을 수행한 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계; 상기 단계에서 결정된 DCT 타입을 알려주는 정보를 우선적으로 부호화하여 수신단에 전송하는 단계; 상기 프레임 DCT 또는 필드 DCT의 수행여부를 결정한 후 매크로 블록을 셔플링하는 단계; 상기 DCT 타입을 알려주는 정보의 전송후 상기 셔플링된 모양정보에 의해 얻어지는 CBPY를 부호화하여 상기 수신단에 전송하는 단계Performing padding in units of macro blocks when encoding an image of an object unit having an arbitrary shape; Determining whether to perform a frame DCT or a field DCT with respect to the padding macro block; Firstly encoding information indicating the DCT type determined in the step and transmitting the information to a receiving end; Shuffling the macro block after determining whether to perform the frame DCT or the field DCT; Encoding CBPY obtained by the shuffled shape information and transmitting the information indicating the DCT type to the receiving end; 를 포함하는 격행 주사를 위한 색상 정보 부호화 방법.Color information encoding method for a parallel scan comprising a. 제7항에 있어서,The method of claim 7, wherein 상기 부호화된 매크로블록이 물체 경계상의 매크로블록일 경우에는 부호화 타입에 관한 부가 정보를 복호기측에 전송하지 않는 것을 특징으로 하는If the encoded macroblock is a macroblock on an object boundary, additional information about an encoding type is not transmitted to the decoder. 격행 주사를 위한 색상 정보 전송 방법.How to send color information for a patient scan. 격행주사를 위한 색상정보 부호화 방법에 있어서, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하고, 상기 패딩후 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 단계와; 상기 결정된 DCT 타입을 알려주는 정보를 부호화하는 단계와; 상기 프레임 DCT 또는 필드 DCT를 결정한 후 매크로 블록을 셔플링하고, 상기 셔플링후 그 셔플링된 모양정보에 의해 CBPY를 결정하는 단계와; 상기 셔플링후 물체가 포함된 8*8단위의 블록에 대해서 부가적인 패딩을 수행하는 단계와; 상기 부가적인 패딩 수행후 DCT 및 양자화를 수행하고 DCT 계수를 가변장 부호화하는 단계로 색상정보를 부호화하는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.In the color information encoding method for a parallel scan, padding is performed in macroblock units when encoding an image of an object unit having an arbitrary shape, and the frame DCT is applied to the macroblock on the object unit and the macroblock on the object boundary after the padding. Or determining whether to perform the field DCT; Encoding information indicating the determined DCT type; Shuffling the macroblock after determining the frame DCT or field DCT, and determining the CBPY based on the shuffled shape information after the shuffling; Performing additional padding on an 8 * 8 block containing an object after shuffling; And performing color coding by performing DCT and quantization after performing the additional padding and variable length encoding the DCT coefficients. 제9항에 있어서, 상기 부호화할 매크로블록이 BMB이고 필드 DCT와 프레임 DCT를 결정 및 수행할 경우, 셔플링된 모양정보를 기준으로 가변 길이 코드 테이블을 선택적으로 적용하여 CBPY를 부호화하여 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.10. The method of claim 9, wherein when the macroblock to be encoded is BMB and the field DCT and the frame DCT are determined and performed, the CBPY is encoded and transmitted by selectively applying a variable length code table based on the shuffled shape information. A color information encoding method for a parallel scan. 제9항에 있어서, 상기 부호화된 CBPY를 전송하기 전에 해당 매크로블록이 프레임 DCT인지 필드 DCT인지를 나타내는 DCT 타입을 알려주는 부가 정보를 먼저 전송한 후 상기 CBPY를 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.10. The method of claim 9, wherein before transmitting the encoded CBPY, additional information indicating a DCT type indicating whether the macroblock is a frame DCT or a field DCT is first transmitted, and then the CBPY is transmitted. Color information encoding method for the. 제9항에 있어서, 상기 부호화할 색상 정보의 매크로블록이 BMB인 경우, 무조건적으로 프레임 DCT를 수행하도록 결정하는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.10. The method of claim 9, wherein if the macroblock of the color information to be encoded is BMB, the frame information is determined unconditionally to perform a frame DCT. 제12항에 있어서, 상기 부호화할 매크로블록이 BMB이고, 무조건적으로 프레임 DCT로 결정된 경우, CBPY를 먼저 수신측에 전송해주고, 그 후에 부호화할 블록이 존재하는 경우에만 DCT타입을 알려주는 부가 정보인 dct_type을 복호기측에 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.The method according to claim 12, wherein the macroblock to be encoded is BMB, and unconditionally determined as a frame DCT, CBPY is first transmitted to a receiving side, and then additional information indicating a DCT type only when a block to be encoded exists. Color information encoding method for a parallel scan, characterized in that for transmitting the dct_type to the decoder side. 제9항에 있어서, 상기 부호화할 매크로블록이 OMB인 경우, 셔플링된 모양정보를 기준으로 가변 길이 코드 테이블을 선택적으로 적용하여 CBPY를 부호화하여 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.10. The method of claim 9, wherein when the macroblock to be encoded is an OMB, the CBPY is encoded and transmitted by selectively applying a variable length code table based on the shuffled shape information. Encoding Method. 제14항에 있어서, 상기 부호화된 CBPY를 전송하기 전에 해당 매크로블록이 프레임 DCT인지 필드 DCT인지를 나타내는 DCT 타입을 알려주는 정보를 먼저 전송한 후 상기 CBPY를 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.15. The method of claim 14, wherein before transmitting the encoded CBPY, information about a DCT type indicating whether the macroblock is a frame DCT or a field DCT is transmitted first, and then the CBPY is transmitted. Color information encoding method. 제9항에 있어서, 상기 부호화할 색상 정보의 매크로블록이 OMB인 경우, 무조건적으로 프레임 DCT를 수행하도록 결정하는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.10. The method of claim 9, wherein if the macroblock of the color information to be encoded is OMB, the frame DCT is unconditionally determined to be performed. 제16항에 있어서, 상기 부호화할 매크로블록이 OMB이고, 무조건적으로 프레임 DCT로 결정된 경우, CBPY를 먼저 수신측에 전송해주고, 그 후에 부호화할 블록이 존재하는 경우에만 dct_type을 전송해주는 것을 특징으로 하는 격행주사를 위한 색상 정보 부호화방법.17. The method of claim 16, wherein if the macroblock to be encoded is OMB and is unconditionally determined to be a frame DCT, CBPY is first transmitted to a receiving side, and then dct_type is transmitted only if a block to be encoded exists. Color information encoding method for a parallel scan. 격행 주사를 위한 색상 정보 부호화 장치에 있어서, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 패딩부와; 상기 패딩부에서 출력되는 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 프레임/필드 결정부와;상기 프레임/필드 결정부에서 결정된 DCT 타입을 알려주는 부가 정보를 부호화하는 DCT 타입 코딩부와; 상기 프레임/필드 결정부에서 출력되는 매크로 블록을 셔플링하는 셔플링부와; 상기 셔플링부에서 얻어지는 모양정보에 의해 CBPY를 결정하고 그 결정된 CBPY를 가변장 부호화하는 CBPY 가변장 코딩부와; 상기 셔플링부에서 얻어지는 신호를 DCT 및 양자화하는 DCT 및 양자화부와; 상기 DCT 및 양자화부에서 얻어지는 DCT 계수를 가변장 부호화하는 계수 가변장 코딩부를 포함하여 구성된 것을 특징으로 하는 격행 주사를 위한 색상 정보 부호화 장치.An apparatus for encoding color information for progressive scanning, the apparatus comprising: a padding unit configured to perform padding on a macroblock basis when encoding an image of an object unit having an arbitrary shape; A frame / field determiner configured to determine whether to perform a frame DCT or a field DCT with respect to the macroblock of the object unit output from the padding unit and the macroblock on the object boundary; and to inform the DCT type determined by the frame / field determiner. A DCT type coding unit for encoding additional information; A shuffling unit for shuffling the macro block output from the frame / field determination unit; A CBPY variable length coding unit for determining CBPY based on the shape information obtained by the shuffling unit and variable length encoding the determined CBPY; A DCT and a quantization unit for DCT and quantizing the signal obtained by the shuffling unit; And a variable length coding unit for variable length coding the DCT coefficients obtained by the DCT and the quantization unit. 격행 주사를 위한 색상 정보 부호화 장치에 있어서, 임의의 모양을 가지는 물체 단위의 영상 부호화시 매크로 블록 단위로 패딩을 수행하는 패딩부와; 상기 패딩부에서 출력되는 물체 단위의 매크로 블록 및 물체 경계 상의 매크로 블록에 대해서 프레임 DCT 또는 필드 DCT의 수행 여부를 결정하는 프레임/필드 결정부와; 상기 프레임/필드 결정부에서 결정된 DCT 타입을 알려주는 부가 정보를 부호화하는 DCT 타입 코딩부와; 상기 프레임/필드 결정부에서 출력되는 매크로 블록을 셔플링하는 셔플링부와; 상기 셔플링부에서 얻어지는 모양정보에0 의해 CBPY를 결정하고 그 결정된 CBPY를 가변장 부호화하는 CBPY 가변장 코딩부와; 상기 셔플링부에서 출력된 물체가 포함된 8*8단위의 블록애 대하여 필드 단위 패딩을 수행하는 필드 단위 패딩부와; 상기 필드 단위 패딩부에서 얻어지는 신호를 DCT 및 양자화하는 DCT 및 양자화부와; 상기 DCT 및 양자화부에서 얻어지는 DCT 계수를 가변장 부호화하는 계수 가변장 코딩부를 포함하여 구성된 것을 특징으로 하는 격행 주사를 위한 색상 정보 부호화 장치.An apparatus for encoding color information for progressive scanning, the apparatus comprising: a padding unit configured to perform padding on a macroblock basis when encoding an image of an object unit having an arbitrary shape; A frame / field determiner configured to determine whether to perform a frame DCT or a field DCT on a macroblock of an object unit output from the padding unit and a macroblock on an object boundary; A DCT type coding unit encoding additional information indicating a DCT type determined by the frame / field determining unit; A shuffling unit for shuffling the macro block output from the frame / field determination unit; A CBPY variable length coding unit for determining CBPY based on the shape information obtained by the shuffling unit and variable length encoding the determined CBPY; A field unit padding unit configured to perform field unit padding on an 8 * 8 block including an object output from the shuffling unit; A DCT and quantization unit for DCT and quantizing the signal obtained by the field unit padding unit; And a variable length coding unit for variable length coding the DCT coefficients obtained by the DCT and the quantization unit. 격행 주사를 위한 색상 정보 복호화 방법에 있어서, 수신된 영상신호의 복호화할 매크로블록에서 non_transparent블록수를 추출하고, 상기 매크로블록을 셔플링한 후 셔플링된 매크로블록에서 non_transparent블록수를 추출하는 단계와; 상기 셔플링된 매크로블록에서의 non_transparent블록이 한 개의 필드에만 존재하는 수신된 CBPY를 복호하고 필드 역이산코사인변환을 수행하는 단계와; 상기 셔플링 이전의 매크로볼록내 non_transparent블록수와 상기 셔플링한 매크로블록내 non_transparent블록수가 동일하면 수신된 CBPY를 복호하고 연이어 DCT타입을 알리는 부가 정보를 복호한 후 그 복호된 DCT 타입 정보에 따라 선택적으로 필드 또는 프레임 역이산코사인변환을 수행하는 단계와; 상기 셔플링 이전의 매크로볼록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 크면 수신된 CBPY를 복호하고 필드 역이산코사인변환을 수행하는 단계와; 상기 셔플링 이전의 매크로볼록내 non_transparent블록수가 상기 셔플링한 매크로블록내 non_transparent블록수보다 작으면 수신된 CBPY를 복호하고 프레임 역이산코사인변환을 수행하는 단계로 이루어짐을 특징으로 하는 격행 주사를 위한 색상 정보 복호화 방법.A method of decoding color information for a parallel scan, the method comprising: extracting a number of non_transparent blocks from a macroblock to be decoded of a received video signal, shuffling the macroblocks, and then extracting a number of non_transparent blocks from a shuffled macroblock; ; Decoding the received CBPY in which the non_transparent block in the shuffled macroblock exists in only one field and performing field inverse discrete cosine transform; If the number of non_transparent blocks in the macroconvex before the shuffling and the number of non_transparent blocks in the shuffled macroblock are the same, the received CBPY is decoded, followed by decoding additional information indicating a DCT type, and then selectively according to the decoded DCT type information. Performing field or frame inverse discrete cosine transform; Decoding the received CBPY and performing a field inverse discrete cosine transform if the number of non_transparent blocks in the macroconvex before the shuffling is greater than the number of non_transparent blocks in the shuffled macroblocks; Decoding the received CBPY and performing a frame inverse discrete cosine transform if the number of non_transparent blocks in the macroconvex before the shuffling is smaller than the number of non_transparent blocks in the shuffled macroblock. Information Decryption Method. 격행 주사를 위한 색상정보 복호화 장치에 있어서, 수신된 영상신호의 부호화할 매크로블록에서 non_transparent블록수를 추출하는 제1블록 추출부와; 상기 제1블록 추출부에서 얻어지는 매크로블록으로부터 모양정보를 셔플링하는 셔플링부와; 상기 셔플링부에서 셔플링된 매크로블록에서 non_transparent블록수를 추출하는 제2블록 추출부와; 상기 제1 및 제2 블록 추출부에서 각각 추출된 non_transparent블록수를 비교하여 그 결과치를 필드/프레임 역이산코사인변환을 결정해주는 신호로 출력하는 비교부와; 상기 제2블록 추출부에서 출력되는 매크로블록에 해당하는 CBPY를 복호화하는 CBPY 복호화부와; 상기 제2블록 추출부에서 출력되는 매크로블록에 해당하는 DCT 타입을 복호화하는 DCT 타입 복호화부와; 상기 CBPY 복호화부와 DCT 타입 복호화부 및 상기 비교부에서 각각 출력되는 신호에 따라 선택적으로 상기 매크로블록을 필드 또는 프레임 단위 역이산코사인변환 및 역양자화를 수행하는 역이산코사인변환 및 역양자화부를 포함하여 구성된 것을 특징으로 하는 격행주사를 위한 색상 정보 복호화장치.An apparatus for decoding color information for progressive scanning, comprising: a first block extracting unit for extracting a number of non_transparent blocks from a macroblock to be encoded of a received video signal; A shuffling unit which shuffles shape information from a macroblock obtained by the first block extracting unit; A second block extracting unit extracting the number of non_transparent blocks from the macroblocks shuffled by the shuffling unit; A comparison unit for comparing the number of non_transparent blocks extracted by the first and second block extractors, respectively, and outputting the result as a signal for determining a field / frame inverse discrete cosine transform; A CBPY decoder which decodes the CBPY corresponding to the macroblock output from the second block extractor; A DCT type decoder for decoding a DCT type corresponding to a macroblock output from the second block extractor; An inverse discrete cosine transform and inverse quantization unit for performing inverse discrete cosine transform and inverse quantization on a macroblock or field basis according to signals output from the CBPY decoder, the DCT type decoder, and the comparator, respectively; Color information decoding apparatus for a percussion scan, characterized in that configured.
KR1019980007976A 1998-03-04 1998-03-10 Color information encoding / decoding device for parallel scan and its method KR100559713B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
KR101998007158 1998-03-04
KR19980007158 1998-03-04
KR1019980007158 1998-03-04

Publications (2)

Publication Number Publication Date
KR19990074410A KR19990074410A (en) 1999-10-05
KR100559713B1 true KR100559713B1 (en) 2006-09-27

Family

ID=37628500

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980007976A KR100559713B1 (en) 1998-03-04 1998-03-10 Color information encoding / decoding device for parallel scan and its method

Country Status (1)

Country Link
KR (1) KR100559713B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100441552B1 (en) * 2002-01-22 2004-07-23 삼성전자주식회사 Apparatus and method for image transformation

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06209468A (en) * 1993-01-11 1994-07-26 Sony Corp Picture signal coding method, picture signal coder, picture signal decoding method and picture signal decoder
KR940023254A (en) * 1993-03-31 1994-10-22 오오가 노리오 Image coding method and apparatus
JPH08275160A (en) * 1995-03-27 1996-10-18 Internatl Business Mach Corp <Ibm> Discrete cosine conversion method
KR19980038604A (en) * 1996-11-26 1998-08-05 배순훈 How to Determine the Discrete Cosine Transform Mode of Digital Vsial
KR19990061002A (en) * 1997-12-31 1999-07-26 이계철 Data generation limiting device in block encoding for video compression
KR19990074808A (en) * 1998-03-14 1999-10-05 전주범 Ancillary Information Coding Device for Object-Based Coding System

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06209468A (en) * 1993-01-11 1994-07-26 Sony Corp Picture signal coding method, picture signal coder, picture signal decoding method and picture signal decoder
KR940023254A (en) * 1993-03-31 1994-10-22 오오가 노리오 Image coding method and apparatus
JPH08275160A (en) * 1995-03-27 1996-10-18 Internatl Business Mach Corp <Ibm> Discrete cosine conversion method
KR19980038604A (en) * 1996-11-26 1998-08-05 배순훈 How to Determine the Discrete Cosine Transform Mode of Digital Vsial
KR19990061002A (en) * 1997-12-31 1999-07-26 이계철 Data generation limiting device in block encoding for video compression
KR19990074808A (en) * 1998-03-14 1999-10-05 전주범 Ancillary Information Coding Device for Object-Based Coding System

Also Published As

Publication number Publication date
KR19990074410A (en) 1999-10-05

Similar Documents

Publication Publication Date Title
US6608935B2 (en) Picture encoding method and apparatus, picture decoding method and apparatus and furnishing medium
KR100303685B1 (en) Image prediction encoding device and method thereof
KR100578049B1 (en) Methods and apparatus for predicting intra-macroblock DC and AC coefficients for interlaced digital video
EP0818930B1 (en) Video coding method
US6408099B2 (en) Method for computational graceful degradation in an audiovisual compression system
KR100501902B1 (en) Image information encoding / decoding apparatus and method
JP3413721B2 (en) Image encoding method and apparatus, and image decoding method and apparatus
KR100559713B1 (en) Color information encoding / decoding device for parallel scan and its method
KR100535630B1 (en) Encoding / Decoding Method of Digital Gray Shape Information / Color Information
Kondoz Visual Media Coding and Transmission
KR100632105B1 (en) Digital interlaced intra picture encoding / decoding method
KR100482282B1 (en) Flexible (Enhanced) coding Enhancement Layer coding method
KR100620715B1 (en) Encoding / Decoding Method of Digital Gray Shape Information / Color Information
KR100495100B1 (en) Motion Vector Coding / Decoding Method for Digital Image Processing System
KR100466591B1 (en) A method of encoding pixel values in a merged block after object boundary block merge
KR100632106B1 (en) Digital Interlaced Interpicture Encoding / Decoding Method
KR100679787B1 (en) Method and apparatus of transmitting moving picture data as a video packet, decoding method and apparatus
KR100417131B1 (en) Shape-Adaptive Video Encoding Device Using Merging and Padding of Macroblocks
KR100620695B1 (en) Method of transmitting moving picture data as a video packet
KR100549926B1 (en) Motion vector estimator for each area of image and motion compensation prediction encoding / decoding method for each area of image
EP0892559A1 (en) Padding of object border blocks for motion estimation and transform coding in an object-oriented video coder
KR100483672B1 (en) Shape Information Encoding Method of Image Signal Processing
KR100417133B1 (en) Shape adaptive coding system using combination of macro block
KR100476387B1 (en) Scan Interleaving Method for Stretched Object Images and MPEG-4 Shape-Encoding Information Coding Method
Jia et al. Improved redundant picture coding using polyphase downsampling for H. 264

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

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140228

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150302

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee