KR100424686B1 - Method and apparatus for encoding object image - Google Patents

Method and apparatus for encoding object image Download PDF

Info

Publication number
KR100424686B1
KR100424686B1 KR1019960027487A KR19960027487A KR100424686B1 KR 100424686 B1 KR100424686 B1 KR 100424686B1 KR 1019960027487 A KR1019960027487 A KR 1019960027487A KR 19960027487 A KR19960027487 A KR 19960027487A KR 100424686 B1 KR100424686 B1 KR 100424686B1
Authority
KR
South Korea
Prior art keywords
axis
information
object image
macroblocks
contour
Prior art date
Application number
KR1019960027487A
Other languages
Korean (ko)
Other versions
KR980013404A (en
Inventor
천승문
박광훈
문주희
Original Assignee
주식회사 팬택앤큐리텔
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 팬택앤큐리텔 filed Critical 주식회사 팬택앤큐리텔
Priority to KR1019960027487A priority Critical patent/KR100424686B1/en
Publication of KR980013404A publication Critical patent/KR980013404A/en
Application granted granted Critical
Publication of KR100424686B1 publication Critical patent/KR100424686B1/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/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/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/537Motion estimation other than block-based
    • H04N19/54Motion estimation other than block-based using feature points or meshes

Abstract

PURPOSE: A method and an apparatus for encoding an object image are provided to improve shape information coding efficiency by moving a macro block of a VOP(Video Object Plane) to an information quantity reduction position according to a contour of the object image and encoding shape information. CONSTITUTION: A contour shape adaptive block dividing unit(40) moves a macro block of a VOP with respect to an object image formed in a VOP forming unit(11), and searches an information quantity reduction position. A shape coding unit(37) encodes shape information of an object which exists in a macro block of the information quantity reduction position searched in the contour shape adaptive block dividing unit(40). A shape adaptive block dividing unit(41) moves the macro block encoded in the shape coding unit(37), and searches an information quantity reduction position according to a contour of the object image. A motion estimation unit(31) estimates the motion of the object using output signals of the VOP forming unit(11) and the shape adaptive block dividing unit(41). A motion compensation unit(32) compensates the motion of the object using motion information estimated in the motion estimation unit(31) and the output signal of the shape adaptive block dividing unit(41). An adder(33) detects a difference value between the output signal of the motion compensation unit(32) and the output signal of the VOP forming unit(11). An object internal coding unit(34) encodes internal information of the object according to the output signal of the adder(33) and the output signal of the shape adaptive block dividing unit(41). An adder(35) adds output signals of the motion compensation unit(32) and the object internal coding unit(34). A previous VOP detecting unit(36) detects a VOP of a previous picture using the output signal of the adder(35) to use the detected VOP in the motion estimation and compensation of the motion estimation unit(31) and the motion compensation unit(32). A multiplexer(38) selectively outputs motion information estimated in the motion estimation unit(31), internal information of the object encoded in the object internal coding unit(34) and shape information encoded in the shape coding unit(37).

Description

대상물 영상의 부호화 방법 및 부호화 장치Encoding Method and Encoding Device of Object Image

본 발명은 MPEG(Moving Picture Experts Group)-4에서 VOP(Video Object Plane)를 구획하는 매크로 블록을 정보량 감소 위치로 이동시켜 움직임 추정 및 부호화 효율을 향상시키는 대상물 영상의 부호화 방법 및 부호화 장치에 관한 것이다.The present invention relates to an encoding method and an encoding apparatus of an object image for improving motion estimation and encoding efficiency by moving a macroblock partitioning a video object plane (VOP) in a moving picture expert group (MPEG-4) to an information amount reduction position. .

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

여기서, VOP는 영상 화면에서 소정의 물체 및 영역 등의 대상물 영상이 존재할 경우에 그 대상물 영상을 각기 분리하고, 분리한 상기 대상물 영상을 각기 부호화하는 것을 기본 골격으로 하고 있다.In the VOP, when a target image such as a predetermined object and a region exists in a video screen, the target image is separated from each other, and encoding the separated target image is performed as a basic frame.

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

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

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

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

제2도는 대상물 영상으로 '고양이' 의 영상을 설정하여 하나의 VOP를 형성한일 예를 보이고 있다.2 illustrates an example in which one VOP is formed by setting an image of a 'cat' as an object image.

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

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

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

그리고 상기 M 및 N은 후술하는 대상물 내부 부호화부((Texture Coding)에서 서브 블록의 단위로 부호화를 수행할 수 있도록 하기 위하여 각기 짝수로 설정된다.In addition, M and N are set to an even number in order to perform encoding in units of sub-blocks in an object encoding unit (Texture Coding) to be described later.

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

제3도는 국제표준 산하기구에서 1차적으로 확정한 VM 디코더의 구성을 보인 블록도이다.3 is a block diagram showing the configuration of a VM decoder primarily determined by an international standard subdivision.

상기 VM 엔코더를 통해 부호화되고, 비트 스트림으로 전송되는 정보인 VOP의부호화 신호는 VM 디코더의 디멀티플렉서(21)에서 VOP 별로 각기 분리된다.The encoded signal of the VOP, which is encoded through the VM encoder and transmitted in the bit stream, is separated for each VOP in the demultiplexer 21 of the VM decoder.

분리된 각각의 VOP부호화 신호는 VOP 디코더(22A,22B,22C,… )에서 각기 디코딩되고, 상기 VOP 디코더(22A,22B,22C,…)의 출력신호는 합성부(23)에서 합성되어 원래의 화면의 영상으로 출력된다.Each of the separated VOP coded signals is decoded by the VOP decoders 22A, 22B, 22C, ..., respectively, and the output signals of the VOP decoders 22A, 22B, 22C, ... are synthesized by the combiner 23 to produce the original signal. It is output as an image on the screen.

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

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

상기 움직임 보상부(32)에서 움직임이 보상된 상기 VOP는 VOP 형성부(11)에서 형성된 VOP와 함께 가산기(33)에 입력되어 차이 값이 검출되고, 상기 가산기(33)에서 검출된 차이 값은 대상물 내부 부호화부(34)에 입력되어 매크로 블록의 서브 블록 단위로 대상물의 내부정보가 부호화된다.The VOP whose motion is compensated by the motion compensator 32 is input to the adder 33 together with the VOP formed by the VOP forming unit 11 to detect a difference value, and the difference value detected by the adder 33 is The internal information of the target is encoded by the target internal encoder 34 to be encoded in sub-block units of the macroblock.

예를 들면, 대상물 내부 부호화부(34)는, 매크로 블록의 X축 및 Y축을 M/2X N/2으로 각기 8개의 화소를 가지는 8X8의 서브 블록으로 세분화한 후 대상물의 내부정보를 부호화한다.For example, the object internal encoding unit 34 subdivides the X-axis and the Y-axis of the macroblock into M / 2X N / 2 into 8X8 subblocks each having eight pixels, and then encodes the internal information of the object.

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

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

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

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

이러한 MPEG-4에 있어서, VOP를 형성할 경우에 종래에는 좌측 상단의 VOP 그리드 시작점부터 X축 및 Y축으로 각기 M개 및 M개의 화소를 가지는 MXM의 매크로 블록으로 형성하였다.In the MPEG-4, when the VOP is formed, it is conventionally formed as a macroblock of MXM having M and M pixels in the X and Y axes from the VOP grid start point on the upper left.

이때, 대상물 영상 즉, 대상물의 모양 정보를 가지는 화소가 많은 수의 매크로 블록에 존재하게 되면, 대상물의 영상을 부호화할 매크로 블록의 수가 많아지는 것으로 부호화 효율이 낮게 된다.In this case, when the object image, that is, the pixel having the shape information of the object, exists in a large number of macro blocks, the number of macro blocks for encoding the image of the object increases, thereby lowering the coding efficiency.

그러므로 대상물 영상을 좌측 상단을 그리드 시작점으로 설정하여 MXN의 매크로 블록 단위로 형성하는 종래의 기술에 의하면, 대상물 영상을 부호화할 매크로 블록의 수가 많아 VOP의 부호화 효율을 향상시키는데 한계가 있었다.Therefore, according to the conventional technology of forming the object image at the upper left of the grid as the grid starting point and forming the macroblock unit of the MXN, the number of macroblocks to encode the object image is large, and thus there is a limit in improving the encoding efficiency of the VOP.

예를 들면, 대상물로 "고양이" 가 표시된 제2도의 도면에서 "고양이" 의 화소가 위치하는 매크로 블록의 수는 20개이고, 7∼8개의 매크로 블록은 작은 크기의 화소만을 포함하고 있는 것으로서 종래의 기술은 "고양이" 의 화소가 존재하는 20개의 매크로 블록을 모두 부호화해야 되어 부호화 효율이 낮았다.For example, in the drawing of FIG. 2 in which "cat" is displayed as an object, the number of macro blocks in which the pixels of "cat" are located is 20, and the 7 to 8 macro blocks include only small size pixels. The technique had to encode all 20 macroblocks in which "cat" pixels exist, resulting in low coding efficiency.

또한 모양 부호화부(37)에서 모양 정보가 부호화된 신호로 움직임 추정, 움직임 보상 및 대상물 내부 부호화할 경우에도 모양 부호화부(37)에서 출력되는 정보량이 많으므로 움직임 추정, 움직임 보상 및 대상물 내부 부호화한 정보량이 많은 문제점이 있었다.In addition, even when the shape encoder 37 performs motion estimation, motion compensation, and intra-object encoding on a signal in which shape information is encoded, since the amount of information output from the shape encoder 37 is large, motion estimation, motion compensation, and intra-object encoding are performed. There was a problem with a large amount of information.

따라서 본 발명의 목적은 VOP의 매크로 블록을 대상물 영상의 윤곽선에 따른 정보량 감소 위치로 이동시킨 후 모양 정보를 부호화하여 모양 정보의 부호화 효율을 향상시키는 대상물 영상의 부호화 방법 및 부호화 장치를 제공하는 데 있다.Accordingly, an object of the present invention is to provide an encoding method and an encoding apparatus of an object image which improves encoding efficiency of shape information by moving shape macros of a VOP to a position of information reduction according to the contour of the object image and then encoding shape information. .

본 발명의 다른 목적은 모양 부호화부에서 모양-정보가 부호화된 VOP 부호화 신호의 매크로 블록을 대상물 영상에 따라 다시 정보량 감소위치로 이동시킨 후 움직임 추,정, 움직임 보상 및 대상물 내부 부호화를 수행하여 부호화 효율을 향상시키고, 정보량을 줄일 수 있도록 하는 대상물 영상의 부호화 방법 및 부호화장치를 제공하는 데 있다.Another object of the present invention is to move the macroblock of the shape-information-encoded VOP coded signal to the information reduction position according to the object image, and then perform motion estimation, motion compensation, motion compensation, and intra-object encoding. The present invention provides a method and an encoding apparatus for encoding an object image that can improve efficiency and reduce an amount of information.

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

제2도는 모양 정보를 가지는 VOP를 종래의 방법에 따라 매크로 블록으로 구획하여 보인 도면.2 is a diagram illustrating a VOP having shape information divided into macroblocks according to a conventional method.

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

제4도는 국제표준 산하기구에서 1차적으로 확정한 VOP 부호화부의 구성을 보인 블록도.4 is a block diagram showing the configuration of a VOP encoder determined primarily by an international standard subdivision.

제5도는 국제표준 산하기구에서 1차적으로 확정한 VOP 부호화부에 본 발명의 부호화 장치에 의한 윤곽선 모양적응 블록 분할부 및 모양적응 블록 분할부를 구성한 실시예를 보인 블록도.FIG. 5 is a block diagram showing an embodiment in which a contour shape adaptation block divider and a shape adaptation block divider by an encoding apparatus of the present invention are configured in a VOP encoding unit determined primarily by an international standard subdivision.

제6도는 제5도의 윤곽선 모양적응 블록 분할부 및 모양적응 블록 분할부의 실시예를 보인 회로도.FIG. 6 is a circuit diagram showing an embodiment of the contour shape adaptation block divider and the shape adaptation block divider of FIG.

제7도는 제6도의 어드레스 발생기의 실시예를 보인 회로도.7 is a circuit diagram showing an embodiment of the address generator of FIG.

제8도는 제6도의 메모리에 저장된 영상을 어드레스 발생기가 출력하는 X축 및 Y축 어드레스에 따라 매크로 블록으로 구분하여 출력하는 순서를 예로 들어 보인 도면.8 is a diagram illustrating an example of outputting images stored in a memory of FIG. 6 in macroblocks according to the X-axis and Y-axis addresses output by the address generator.

제9도는 제6도의 블록 수 카운터의 구성을 보인 회로도.9 is a circuit diagram showing the configuration of the block number counter of FIG.

제10도는 본 발명의 부호화 방법을 보인 신호 흐름도.10 is a signal flowchart showing an encoding method of the present invention.

제11도는 본 발명의 부호화 방법에 따라 VOP의 매크로 블록을 대상물 영상의 윤곽선에 따른 정보량 감소 위치로 이동시킨 상태를 예로 들어 보인 도면.FIG. 11 is a diagram illustrating a state in which a macroblock of a VOP is moved to an information amount decreasing position according to an outline of an object image according to the encoding method of the present invention as an example.

제12도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 일 실시예를 보인 신호 흐름도.12 is a signal flow diagram illustrating an embodiment of finding a location of a reduced amount of information according to an outline of an object image of a macroblock according to the encoding method of the present invention.

제13도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 다른 실시예를 보인 신호 흐름도.FIG. 13 is a signal flowchart illustrating another embodiment of finding a location of a reduced amount of information according to an outline of an object image of a macroblock according to an encoding method of the present invention. FIG.

제14도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.FIG. 14 is a signal flowchart illustrating another embodiment of finding a location of a reduced amount of information according to an outline of an object image of a macroblock according to an encoding method of the present invention. FIG.

제15도의 (가)(나)는 제14도의 또 다른 실시예에 따라 매크로 블록의 그리드 시작점을 지그재그로 이동시키는 것을 보인 도면.(A) and (b) of FIG. 15 show zigzag movement of the grid starting point of the macro block according to another embodiment of FIG.

제16도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.FIG. 16 is a signal flowchart illustrating another embodiment of finding a location of a reduced amount of information according to an outline of an object image of a macroblock according to an encoding method of the present invention. FIG.

제17도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.FIG. 17 is a signal flow diagram illustrating another embodiment of finding a location of a reduced amount of information according to an outline of an object image of a macroblock according to an encoding method of the present invention. FIG.

제18도의 (가)(나)는 제16도 및 제17도의 또 다른 실시예에 따라 매크로 블록을 정보량 감소 위치로 이동시킨 상태를 보인 도면.(A) and (b) of FIG. 18 show a state in which the macro block is moved to the information amount reduction position according to another embodiment of FIGS. 16 and 17. FIG.

제19도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상에 따른정보량 감소 위치를 찾는 일 실시예를 보인 신호 흐름도.FIG. 19 is a signal flowchart illustrating an embodiment of finding a location of a reduced amount of information according to an object image of a macroblock according to an encoding method of the present invention. FIG.

제20도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상에 따른 정보량 감소 위치를 찾는 다른 실시예를 보인 신호 흐름도.FIG. 20 is a signal flow diagram illustrating another embodiment of finding a reduced amount of information according to an object image of a macroblock according to an encoding method of the present invention.

제21도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.21 is a signal flow diagram illustrating another embodiment of finding a location of a reduced amount of information according to an object image of a macroblock according to an encoding method of the present invention.

제22도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.FIG. 22 is a signal flowchart illustrating another embodiment of finding a location of reduced information amount according to an object image of a macroblock according to an encoding method of the present invention. FIG.

제23도는 본 발명의 부호화 방법에 따라 매크로 블록의 대상물 영상에 따른 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도.FIG. 23 is a signal flowchart illustrating another embodiment of finding a location of reduced information amount according to an object image of a macroblock according to an encoding method of the present invention. FIG.

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

11 : VOP 형성부, 12A, 12B, 12C,…: VOP 부호화부, 13, 38 멀티플렉서, 21, 38 : 디멀티플렉서, 22A, 22B, 22C,…; VOP, 23 : 합성부, 31 : 움직임 추정부, 32 : 움직임 보상부, 33, 35 : 가산기, 34 : 대상물 내부부호화부, 36 ; 이전 VOP 검출부, 37 : 모양 부호화부, 39 : 버퍼, 40 : 윤곽선 모양적응 블록 분할부, 41 : 모양적응 블록 분할부, 51 : 어드레스 발생 제어기, 52 : 어드레스 발생기, 53 : 메모리, 54 : 블록 수 카운터, 55 : 최소 매크로 블록 그리드 선택기, 521 : X축 크기 결정부, 522 : Y축 크기 결정부, 523 : 블록 어드레스 발생기, 541 : 매크로 볼록 카운터, 542 : 판단부, 543 : 가산기11: VOP forming portion, 12A, 12B, 12C,... : VOP encoder, 13, 38 multiplexer, 21, 38: demultiplexer, 22A, 22B, 22C,... ; VOP, 23: synthesis unit, 31: motion estimation unit, 32: motion compensation unit, 33, 35: adder, 34: object internal encoding unit, 36; Previous VOP detector, 37: shape encoder, 39: buffer, 40: contour adaptive block divider, 41: shape adaptive block divider, 51: address generation controller, 52: address generator, 53: memory, 54: number of blocks 55, minimum macroblock grid selector, 521: X-axis size determining unit, 522: Y-axis size determining unit, 523: block address generator, 541: macro convex counter, 542: judging unit, 543: adder

이러한 목적을 달성하기 위한 본 발명은 대상물 영상에 따라 형성된 VOP를 정의하고, 상기 정의한 VOP의 매크로 블록의 X축 및 Y축 그리드 시작점을 이동 시키면서 정보량 감소 위치를 찾는다.In order to achieve the above object, the present invention defines a VOP formed according to an object image, and finds an information reduction position while moving the X and Y axis grid start points of the macro block of the defined VOP.

정보량 감소 위치는 예를 들면, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 위치로서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 X축 및 Y축 그리드 시작점을 최적의 X축 및 Y축 그리드 시작점으로 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점에 따라 매크로 블록을 재형성한 후 모양 부호화부에서 모양 정보의 부호화를 수행한다.The information amount reduction position is, for example, a position where the number of macro blocks in which the outline of the object image is present is minimized, and the X-axis and Y-axis grid starting point where the number of macro blocks in which the outline of the object image is present is minimized is optimal. And the Y-axis grid starting point, and reshaping the macro block according to the determined optimal X-axis and Y-axis grid starting point, and then the shape encoder performs encoding of shape information.

그리고 모양 부호화부에서 모양 부호화한 매크로 블록의 X축 및 Y축 그리드 시작점을 이동시키면서 다시 대상물 영상이 존재하는 매크로 블록의 수가 최소로 되는 위치를 최적의 X축 및 Y축 그리드 시작점으로 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점에 따라 매크로 블록을 재형성하여 움직임 추정, 움직임 보상 및 대상물 내부 부호화를 수행한다.In addition, while the shape coding unit moves the X and Y axis grid starting points of the shape coded macroblock, the position where the number of macroblocks in which the object image exists is minimized is determined as the optimal X and Y axis grid starting point. Reconstruct the macroblocks according to the optimal X- and Y-axis grid starting points to perform motion estimation, motion compensation, and intra-object encoding.

이하, 첨부된 제5도 내지 제9도의 도면을 참조하여 본 발명의 대상물 영상의 부호화 방법 및 부호화 장치를 상세히 설명하겠으며, 여기서 종래와 동일한 부위에는 동일 부호를 부여하였다.Hereinafter, a method and an encoding apparatus for encoding an object image according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings of FIGS. 5 to 9, where the same reference numerals are given to the same portions as in the prior art.

제5도는 국제표준 산하기구에서 1차적으로 확정한 VM 엔코더의 VOP 부호화부(12A,12B,12C,… )에 본 발명의 부호화 장치에 의한 윤곽선 모양적응 블록 분할부 및 모양적응 영역 분할부를 구성한 실시예를 보인 블록도이다.FIG. 5 shows the VOP encoders 12A, 12B, 12C, ... of the VM encoder determined primarily by the International Standards Organization, which constitute the contour shape block dividing unit and the shape adaptation region dividing unit by the encoding apparatus of the present invention. A block diagram showing an embodiment.

이에 도시된 바와 같이 본 발명은 VOP 형성부(11)와 모양 부호화부(37)의 사이에 윤곽선 모양적응 블록 분할부(40)를 구비하여, 매크로 블록의 X축 및 Y축 그리드 시작점을 이동시키면서 VOP의 대상물 영상의 윤곽선 위치에 따른 제1정보량 감소 위치를 결정한다.As shown in the drawing, the present invention includes an outline shape adaptation block divider 40 between the VOP forming unit 11 and the shape encoder 37, while moving the X and Y axis grid starting points of the macro block. The first information amount decreasing position is determined according to the contour position of the object image of the VOP.

상기 제1정보량 감소 위치로서는, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 위치를 최적의 X축 및 Y축 그리드 시작점으로 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점을 출력하여 모양 부호화부(37)에 입력시키게 하였다.As the first information amount reduction position, the position at which the number of macro blocks in which the contour of the object image is present is minimized is determined as the optimal X-axis and Y-axis grid starting points, and the determined optimal X-axis and Y-axis grid starting points are output. The shape encoding unit 37 is inputted.

모양 부호화부(37)에서는 상기 윤곽선 모양적응 블록 분할부(40)에서 출력되는 최적의 X축 및 Y축 그리드 시작점에 따라 매크로 블록을 재형성하고, 대상물의 모양 정보를 부호화한다.The shape encoder 37 reconstructs the macro block according to the optimum X-axis and Y-axis grid start points output from the outline shape adaptation block dividing unit 40, and encodes shape information of the object.

그리고 모양 부호화부(37)와 움직임 추정부(31), 움직임 보상부(32) 및 대상물 내부 부호화부(34)의 사이에 모양적응 블록 분할부(41)를 구비한다.The shape adaptation block dividing unit 41 is provided between the shape encoder 37, the motion estimation unit 31, the motion compensator 32, and the object internal encoder 34.

모양적응 블록 분할부(41)는 상기 모양 부호화부(37)에서 모양 정보를 부호화한 매크로 블록의 X축 및 Y축 그리드 시작점을 이동시키면서 다시 제2정보량 감소 위치를 찾아 출력한다.The shape adaptation block dividing unit 41 finds and outputs the second information amount decreasing position again while moving the X-axis and Y-axis grid starting points of the macroblock in which the shape encoding unit 37 encodes the shape information.

제2정보량 감소 위치는 대상물 영상이 존재하는 매크로 블록의 수가 최소로 되는 최적의 X축 및 Y축 그리드 시작점을 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점을 출력한다.The second information amount reduction position determines an optimal X-axis and Y-axis grid start point at which the number of macroblocks in which the object image exists is minimized, and outputs the determined optimal X-axis and Y-axis grid start points.

상기 모양적응 블록 분할부(41)가 결정한 최적의 X축 및 Y축 그리드 시작점에 따라 움직임 추정부(31), 움직임 보상부(32) 및 대상물 내부 부호화부(34)가 매크로 블록을 재형성하여 움직임 추정, 움직임 보상 및 대상물 내부 정보를 부호화 한다.The motion estimator 31, the motion compensator 32, and the object internal encoder 34 reconstruct the macroblock according to the optimum X-axis and Y-axis grid starting points determined by the shape adaptation block divider 41. Encode motion estimation, motion compensation, and object internal information.

제6도는 제5도의 윤곽선 모양적응 블록 분할부(40) 및 모양적응 블록 분할부(41)의 실시예를 보인 회로도이다. 부호 51은 어드레스를 발생할 어드레스 시작 위치를 하나의 매크로 블록의 X축 및 Y축 크기 이내에서 일정 간격씩 이동시키는 어드레스 발생 제어기이다.FIG. 6 is a circuit diagram showing an embodiment of the outline shape adaptation block divider 40 and the shape adaptation block divider 41 of FIG. Reference numeral 51 is an address generation controller for moving the address start position at which the address is to be generated at regular intervals within the X-axis and Y-axis sizes of one macro block.

부호 52은 상기 어드레스 발생 제어기(51)가 출력하는 어드레스 시작 위치에 따라 대상물 영상을 매크로 블록으로 구분하여 순차적으로 출력할 수 있도록 X축 및 Y축 어드레스를 발생하는 어드레스 발생기이다. 부호 53는 입력되는 모양 정보 및/또는 형상 정보를 가지는 대상물 영상을 순차적으로 저장하고 상기 어드레스 발생기(52)가 발생하는 어드레스에 따라 매크로 블록으로 구분하여 출력하는 메모리이다.Reference numeral 52 denotes an address generator for generating X-axis and Y-axis addresses so that the target image is divided into macroblocks according to the address start position output by the address generation controller 51 and sequentially output. Reference numeral 53 is a memory that sequentially stores an object image having shape information and / or shape information inputted therein, and divides the image into macroblocks according to an address generated by the address generator 52.

어드레스 발생기(52)는, 제7도에 도시된 바와 같이 입력되는 대상물 영상의 크기 정보에 따라 X축 크기 결정부(521)가 매크로 블록의 X축 크기를 결정하고, Y축 크기 결정부(522)가 매크로 블록의 Y축 크기를 결정한다.In the address generator 52, as illustrated in FIG. 7, the X-axis size determiner 521 determines the X-axis size of the macro block according to the size information of the input target image, and the Y-axis size determiner 522. ) Determines the Y-axis size of the macro block.

여기서, 매크로 블록의 X축 및 Y축 크기가 동일할 경우에는 하나의 크기 결정부만을 사용하여 매크로 블록의 크기를 결정할 수 있다.Here, when the size of the X and Y axes of the macro block is the same, the size of the macro block may be determined using only one size determining unit.

상기 어드레스 발생기(52)에서 매크로 블록 어드레스 발생기(523)는 상기 X축 크기 결정부(521) 및 Y축 크기 결정부(522)가 결정한 매크로 블록의 X축 크기및 Y축 크기를 판단하고, 상기 어드레스 발생 제어기(51)에서 출력되는 어드레스 시작 위치를 기준으로 하여 상기 메모리(53)에 저장되어 있는 대상물 영상의 매크로 블록에 대한 X축 및 Y축 어드레스를 구분하며, 구분한 매크로 블록의 X축 및 Y축 어드레스를 순차적으로 발생한다.In the address generator 52, the macro block address generator 523 determines the X-axis size and the Y-axis size of the macro block determined by the X-axis size determiner 521 and the Y-axis size determiner 522. On the basis of the address start position output from the address generation controller 51, the X-axis and Y-axis addresses for the macroblock of the object image stored in the memory 53 are distinguished, and the X-axis and Y-axis addresses are generated sequentially.

상기 매크로 블록 어드레스 발생기(523)가 순차적으로 발생한 X축 및 Y축 어드레스에 따라 상기 메모리(53)는 저장되어 있는 대상물 영상을 매크로 블록으로 구분하여 순차적으로 출력한다. 예를 들면, 제8도에 도시된 바와 같이 하나의 매크로 블록의 대상물 영상을 순차적으로 출력한 후 다음 매크로 블록의 대상물 영상을 순차적으로 출력한다.According to the X-axis and Y-axis addresses in which the macro block address generator 523 is sequentially generated, the memory 53 sequentially divides the stored object image into macro blocks. For example, as shown in FIG. 8, the object images of one macro block are sequentially output, and the object images of the next macro block are sequentially output.

부호 54은 윤곽선 모양적응 블록 분할부(40)일 경우에 메모리(53)의 출력신호 중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 블록 수 카운터이다.Reference numeral 54 is a block number counter that counts the number of macro blocks in which the contour of the object image exists among the output signals of the memory 53 in the case of the contour shape adaptation block divider 40.

상기 블록 수 카운터(54)는 제9도에 도시된 바와 같이 클럭신호를 매크로 블록 카운터(541)가 카운트하여 매크로 블록을 구분한다. 블록 수 카운터(54)의 판단부(542)는 상기 메모리(53)에서 출력되는 대상물 영상의 매크로 블록을 상기 매크로 블록 카운터(541)의 출력신호에 따라 구분하면서 대상물 영상의 윤곽선이 존재하는 지의 여부를 판단한다.As shown in FIG. 9, the block number counter 54 distinguishes macro blocks by counting clock signals by the macro block counter 541. FIG. The determination unit 542 of the block number counter 54 divides the macroblock of the object image output from the memory 53 according to the output signal of the macroblock counter 541, and whether or not the outline of the object image exists. Judge.

여기서, 대상물 영상의 윤곽선이 존재하는 매크로 블록은, 하나 이상의 화소에 대상물 영상이 존재하고, 또한 대상물의 모든 화소에 존재하지 않는 것으로서 판단부(542)는 상기한 2가지 조건을 만족하는 매크로 블록을 대상물 영상의 윤곽선이 존재하는 매크로 블록으로 판단한다.Here, in the macro block in which the contour of the object image exists, the determination unit 542 determines that the macro block satisfying the two conditions as the object image exists in one or more pixels and does not exist in all the pixels of the object. It is determined as a macro block in which the outline of the object image exists.

상기 판단부(542)의 판단신호를 가산기(543)가 가산하여 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 출력한다.The adder 543 adds the determination signal of the determination unit 542 to output the number of macro blocks in which the outline of the object image exists.

그리고 모양적응 블록 분할부(41)일 경우에 블록 수 카운터(54)는 메모리(53)의 출력신호 중에서 대상물 영상의 모양 정보가 존재하는 매크로 블록의 수를 카운트한다.In the case of the shape adaptation block dividing unit 41, the block number counter 54 counts the number of macro blocks in which the shape information of the target image exists among the output signals of the memory 53.

상기 블록 수 카운터(54)의 판단부(542)는 상기 메모리(53)에서 출력되는 대상물 영상의 매크로 블록을 상기 매크로 블록 카운터(541)의 출력신호에 따라 구분하면서 대상물 영상의 모양 정보가 존재하는 지의 여부를 판단한다.The determination unit 542 of the block number counter 54 classifies the macroblock of the object image output from the memory 53 according to the output signal of the macroblock counter 541, and the shape information of the object image exists. Judge whether

상기 판단부(542)의 판단신호를 가산기(543)가 가산하여 대상물 영상의 모양 정보가 존재하는 매크로 블록의 수를 출력한다.The adder 543 adds the determination signal of the determination unit 542 to output the number of macro blocks in which the shape information of the object image exists.

부호 55는 상기 블록 수 카운터(54)가 카운트한 매크로 블록의 수 중에서 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 그리드 시작점을 정보량 감소위치로 선택하는 최소 매크로 블록 그리드 선택기이다.Reference numeral 55 is a minimum macroblock grid selector that selects the X-axis and Y-axis grid starting points of the smallest number of macroblocks among the number of macroblocks counted by the block number counter 54 as information reduction positions.

상기 최소 매크로 블록 그리드 선택기(55)는 상기 블록 수 카운터(54)의 카운트가 완료될 경우에 카운트 값을 저장하고, 상기 어드레스 발생 제어기(51)를 제어하여 X축 및 Y축 어드레스의 시작 위치를 매크로 블록의 X축 및 Y축 크기 이내에서 일정 간격으로 이동시켜 발생하게 제어한다. 즉, 상기 최소 매크로 블록 그리드 선택기(55)는 X축 및 Y축 어드레스 시작위치를 이동시킨 후 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 동작이 완료될 경우에 어드레스 발생제어기(51)를 제어하여 X축 및 Y축 어드레스의 시작 위치를 이동시키게 하는 것을 반복한다.The minimum macroblock grid selector 55 stores the count value when the count of the block number counter 54 is completed, and controls the address generation controller 51 to determine the start positions of the X-axis and Y-axis addresses. It is controlled to occur by moving at regular intervals within the X and Y axis sizes of the macro block. That is, the minimum macroblock grid selector 55 moves the start positions of the X-axis and Y-axis addresses, and then completes the operation of counting the number of macroblocks in which the contour of the object image exists. The control is repeated to move the start position of the X-axis and Y-axis addresses.

그리고 X축 및 Y축 어드레스의 시작 위치를 하나의 매크로 블록의 X축 및 Y축 크기 이내에서 이동시키면서 대상물 영상의 윤곽선 또는 대상물 영상의 모양정보가 존재하는 매크로 블록의 수를 카운트하는 동작이 완료되었을 경우에 상기 최소 매크로 블록 그리드 선택기(55)는 카운트한 매크로 블록의 수 중에서 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 어드레스의 시작 위치를 판단하고, 판단한 X축 및 Y축 어드레스 시작 위치를 정보량 감소 위치인 최적의 X축 및 Y축 그리드 시작 위치로 결정하여 출력한다.And while moving the start position of the X-axis and Y-axis address within the X-axis and Y-axis size of one macro block, the operation of counting the number of macro blocks in which the contour of the object image or the shape information of the object image exists is completed. In this case, the minimum macroblock grid selector 55 determines the start position of the X-axis and Y-axis address counting the smallest number of macroblocks among the counted macroblocks, and determines the determined start position of the X-axis and Y-axis addresses. Is determined as the optimum X-axis and Y-axis grid start position, which is the information reduction position, and is output.

제10도는 본 발명의 부호화 방법을 보인 신호 흐름도이다.10 is a signal flowchart showing an encoding method of the present invention.

먼저, 단계(S11)에서는 VOP 형성부(11)에서 형성된 VOP를 정의한다. 예를 들면, 제11도에 도시된 "고양이"의 영상에 대하여 VOP를 정의하고, VOP 폭 및 VOP 높이를 결정한다.First, in step S11, the VOP formed in the VOP forming unit 11 is defined. For example, the VOP is defined for the image of the "cat" shown in FIG. 11, and the VOP width and the VOP height are determined.

다음 단계(S12)에서는 상기 정의된 VOP의 좌측 상단인 그리드 시작점율 기준으로 하여 제11도에 점선으로 도시된 바와 같이 각기 MXM개의 화소를 가지는 매크로 블록으로 구획한다.In the next step (S12), as shown by a dotted line in FIG. 11 on the basis of the grid starting point ratio, which is the upper left corner of the defined VOP, each block is divided into macro blocks having MXM pixels.

매크로 블록이 구획되면, 단계(S13)에서 매크로 블록의 그리드 시작점을 이동시키면서 정보량 감소 위치를 결정한다. 예를 들면, 제11도에 실선으로 도시된 바와 같이 대상물 영상의 윤곽선이 가장 적은 수의 매크로 블록에 존재하는 최적의 그리드 시작점을 찾아 정보량 감소 위치로 결정한다.When the macro block is partitioned, the information amount reduction position is determined while moving the grid starting point of the macro block in step S13. For example, as shown by the solid line in FIG. 11, the optimal grid start point at which the contour of the object image exists in the smallest number of macroblocks is found to determine the information amount reduction position.

상기 단계(S13)에서 정보량 감소 위치가 결정되면, 다음 단계(S14)에서는 상기 정보량 감소 위치에 따라 모양 부호화부(37)에서 모양 정보를 부호화한다.When the information amount reduction position is determined in step S13, the shape encoding unit 37 encodes shape information according to the information amount reduction position in the next step S14.

다음 단계(S15)에서는 모양 부호화부(37)에서 모양 정보를 부호화한 매크로 블록에 대하여 상기 단계(S13)에서와 마찬가지로 그리드 시작점을 이동시키면서 대상물 영상의 모양정보가 가장 적은 수의 매크로 블록에 존재하는 정보량 감소 위치를 찾아 출력한다.In the next step S15, the shape information of the object image is present in the smallest number of macro blocks while moving the grid starting point with respect to the macro block in which the shape encoder 37 encodes the shape information, as in the step S13. Find and print the information reduction location.

단계(S16)에서는 상기 단계(S15)에서 출력한 정보량 감소 위치를 기준으로하여 매크로 블록의 단위로 움직임 추정부(31)에서 움직임을 추정하고, 움직임 보상부(32)에서 움직임 보상하며, 대상물 내부 부호화부(34)에서 서브 블록 단위로 대상물 내부 정보를 부호화한다.In step S16, the motion estimation unit 31 estimates the motion in units of macroblocks based on the information amount reduction position output in step S15, and the motion compensation unit 32 compensates for the motion. The encoder 34 encodes the object internal information in units of subblocks.

다음 단계(S17)에서는 상기에서 부호화한 모양 정보, 움직임 정보 및 대상물 내부 정보를 멀티플렉서(38) 및 버퍼(39)를 통해 출력한다.In the next step S17, the shape information, motion information, and object internal information encoded above are output through the multiplexer 38 and the buffer 39.

제12도는 본 발명의 부호화 방법에 따라 상기 단계(S13)에서 대상물 영상의 윤곽선에 따른 매크로 블록의 정보량 감소 위치를 찾는 일 실시예를 보인 신호 흐름도이다.FIG. 12 is a signal flow diagram illustrating an embodiment of finding an information amount reduction position of a macro block according to the contour of an object image in step S13 according to the encoding method of the present invention.

먼저 단계(S21)에서 모양 정보 및/또는 형상 정보를 가지는 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 정보량 감소 위치인 최적의 X축 및 Y축 그리드 시작점을 찾기 위하여 초기 X축 및 Y축 그리드 시작점(XM)(YN)을 초기화시킨다.First, in step S21, the initial X-axis and Y-axis are used to find the optimal X-axis and Y-axis grid starting points, which are information reduction positions where the number of macro blocks in which the contour of the object image having shape information and / or shape information exists is minimized. Initialize the axis grid starting point (XM) (YN).

X축 및 Y축 그리드 시작점(XM)(YN)의 초기값은 XM=0, YN=0으로 주어진다.The initial values of the X- and Y-axis grid starting points (XM) (YN) are given by XM = 0 and YN = 0.

다음 단계(S22)에서는 상기 단계(S21)에서 초기화한 X축 및 Y축 그리드 시작점을 기준으로 하여 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트 한다.In the next step S22, the number of macro blocks in which the contour of the object image exists is counted based on the X-axis and Y-axis grid starting points initialized in the step S21.

상기 단계(S22)에서 매크로 블록의 수를 카운트하는 동작이 완료되면, 단계(S23)에서 상기 카운트한 매크로 블록의 수를 저장한다.When the operation of counting the number of macroblocks is completed in step S22, the counted number of macroblocks is stored in step S23.

다음 단계(S24)에서는 X축 그리드 시작점(XM)을 최초의 매크로 블록에서 X축으로 일정 간격(K)만큼 이동시켜 매크로 블록을 재구성하고, 단계(S25)에서 X축 그리드 시작점(XM)가 X축으로 M번 이상 이동되었는 지를 판단한다. 즉, X축 그리드 시작점(XM)가 하나의 매크로 블록의 X축 크기 이상으로 이동되었는 지를 판단한다.In a next step S24, the X-axis grid starting point XM is moved from the first macro block to the X-axis by a predetermined distance K to reconstruct the macro block, and in step S25, the X-axis grid starting point XM is X Determine if the axis has been moved more than M times. That is, it is determined whether the X-axis grid start point XM is moved beyond the X-axis size of one macro block.

상기 단계(S25)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았을 경우에 상기의 단계(S22∼S25)를 수행하여 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 동작을 반복 수행한다.When the X-axis grid starting point XM has not moved more than M times in the X-axis at step S25, the steps S22 to S25 are performed to set the X-axis grid starting point XM at a predetermined interval (X-axis). The method moves repeatedly by K) and counts and stores the number of macro blocks in which the contour of the object image exists.

상기 단계(S25)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되었을 경우에는 단계(S26)에서 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM)을 최적의 X축 그리드 시작점(XOM)으로 결정한다.When the X-axis grid start point XM is moved more than M times in the step S25 in the step S25, the X-axis grid start point XM in which the smallest number of macroblocks are counted in step S26 is optimized for the X-axis. Determined by the grid starting point (XOM).

단계(S27)에서는 결정한 상기 최적의 X축 그리드 시작점(XOM)과 Y축 그리드 시작점(YN=0)으로 매크로 블록을 재구성하고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트한다. 상기 단계(S27)에서 매크로 블록의 수를 카운트하는 동작이 완료되면, 단계(S28)에서는 카운트한 매크로 블록의 수를 저장한다.In step S27, the macroblock is reconstructed with the determined optimal X-axis grid starting point XOM and Y-axis grid starting point YN = 0, and the number of macro blocks in which the contour of the object image exists is counted. When the operation of counting the number of macroblocks is completed in step S27, the counted number of macroblocks is stored in step S28.

다음 단계(S29)에서는 Y축 그리드 시작점(YT)을 Y축으로 일정 간격(L)만큼 이동시키고, 단계(S30)에서 Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되었는 지를 판단한다.In the next step S29, the Y-axis grid starting point YT is moved by the predetermined interval L on the Y-axis, and in step S30, it is determined whether the Y-axis grid starting point YN has been moved N times or more on the Y-axis. .

즉, Y축 그리드 시작점(YN)이 하나의 매크로 블록의 Y축 크기 이상으로 이동 되었는지를 판단한다.That is, it is determined whether the Y-axis grid start point YN has moved beyond the Y-axis size of one macro block.

상기 단계(S30)에서 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번이상 이동되지 않았을 경우에 상기 단계(S27∼S30)를 반복 수행하여, 최적의 X축 그리드 시작점(XOM)을 기준으로 Y축 그리드 시작점(YM)을 일정 간격(L)씩 이동시키고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.If the Y-axis grid start point YN is not moved more than N times by a predetermined distance L in the Y-axis at step S30, the steps S27 to S30 are repeatedly performed to obtain an optimal X-axis grid starting point ( The X-axis grid starting point YM is moved by a predetermined interval L based on XOM), and the number of macroblocks in which the contour of the object image exists is counted and stored.

상기 단계(S30)에서 Y축 그리드 시작점(YN)이 일정 간격(L)씩 N번 이상 이동되면, 단계(S31)에서 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(XM)을 최적의 Y축 그리드 시작점(YON)으로 결정하고, 상기 단계(S26)(S31)에서 결정한 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.If the Y-axis grid start point YN is moved N or more times by a predetermined interval L in step S30, the Y-axis grid start point XM that counted the smallest number of macroblocks in step S31 is optimal. The Y-axis grid start point YON is determined, and the optimal X-axis grid start point XOM and Y-axis grid start point YON determined in the step S26 and S31 are output to the information amount reduction position.

즉, 제12도에 도시된 본 발명의 일 실시예에서는 전체 그리드를 X축으로 일정 간격(K)씩 M번 이동시키면서 대상물 영상의 윤곽선이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM)을 최적의 X축 그리드 시작점(XOM)으로 결정한다. 상기 결정한 최적의 X축 그리드 시작점(XOM)을 기준으로 하여 전체 그리드를 Y축으로 일정 간격(L)씩 N번 이동시키면서 대상물 영상의 윤곽선이 존재하는 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정하고, 결정한 상기 최적의 X축 그리드 시작점(XOM) 및 최적의 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.That is, in the exemplary embodiment of the present invention shown in FIG. 12, the X-axis grid counting the smallest number of macro blocks in which the contour of the object image exists while moving the entire grid M times by a predetermined interval K on the X-axis. Determine the starting point (XM) as the optimal X-axis grid starting point (XOM). Y-axis grid counting the smallest number of macroblocks in which the contour of the object image exists while moving the entire grid N times by a predetermined interval (L) on the Y-axis based on the determined optimal X-axis grid start point (XOM). The starting point YN is determined as the optimal Y axis grid starting point YON, and the determined optimal X axis grid starting point XOM and the optimal Y axis grid starting point YON are output to the information amount reduction position.

그러므로 본 발명의 일 실시예는 그리드 시작점을 X축으로 M번 이동시키고, Y축으로 N번 이동시키는 것으로서 전체적으로 그리드 시작점(XM,YM)을 M + N번 이동시키면서 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾아 출력한다.Therefore, an embodiment of the present invention is to move the grid starting point M times on the X axis and N times on the Y axis. The X and Y axis grids are optimally moved by moving the grid starting points (XM, YM) M + N times. Find the starting point (XOM, YON) and print it.

제13도는 본 발명의 부호화 방법에 따라 정보량 감소 위치를 찾는 다른 실시예를 보인 신호 흐름도이다.13 is a signal flowchart showing another embodiment of finding the information amount reduction position according to the encoding method of the present invention.

단계(S41)에서 VOP를 형성한 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾기 위하여 X축 및 Y축 그리드 시작점(XM)(YN)을 XM=0, YN=0으로 초기화한다.In order to find the optimal X-axis and Y-axis grid starting points (XOM, YON) in which the number of macro blocks in which the contour of the object image having the VOP is formed in step Smini is minimum, the X-axis and Y-axis grid starting points (XM) Initialize (YN) to XM = 0, YN = 0.

단계(S42)에서는 상기 단계(S41)에서 초기화한 X축 및 Y축 그리드 시작점(XM=0)(YN=0)을 기준으로 하여 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하고, 단계(S43)에서는 상기 카운트한 매크로 블록의 수를 저장한다.In step S42, the number of macroblocks in which the contour of the object image exists is counted based on the X-axis and Y-axis grid starting points XM = 0 (YN = 0) initialized in step S41, and In S43, the counted number of macroblocks is stored.

다음 단계(S44)에서는 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S45)에서 X축 그리드 시작점(XM)을 X축으로 M번 이상 이동하여 X축으로 하나의 매크로 블록의 크기 이상으로 이동되었는지를 판단한다.In the next step S44, the X-axis grid starting point XM is moved by the predetermined distance K on the X-axis, and in step S45, the X-axis grid starting point XM is moved by the X-axis more than M times to the X-axis. It is determined whether the macro block has moved beyond the size of one macro block.

상기 단계(S45)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았을 경우에 상기 단계(S42∼S45)를 수행하여 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the X-axis grid starting point XM has not moved more than M times in the X-axis at step S45, the steps S42 to S45 are performed to move the X-axis grid starting point XM to the X-axis at a predetermined interval K. ) And then counting and storing the number of macro blocks in which the contour of the object image exists.

상기 단계(S45)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되면, 단계(S46)에서 Y축 그리드 시작점(YM)를 Y축 방향으로 일정 간격(L)만큼 이동시킨다.When the X-axis grid starting point XM is moved more than M times in the X-axis at step S45, the Y-axis grid starting point YM is moved by a predetermined distance L in the Y-axis direction at step S46.

다음 단계(S47)에서는 Y축 그리드 시작점(YM)이 Y축으로 일정 간격(L)씩 M번 이상 이동되었는 지를 판단한다.In the next step S47, it is determined whether the Y-axis grid start point YM has been moved more than M times by a predetermined interval L on the Y-axis.

상기 단계(S47)에서 Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되지 않았을 경우에 상기 단계(S42∼S47)를 수행하여 Y축 그리드를 Y축으로 일정 간격(L)씩 이동시킨 후 X축 그리드를 X축으로 하나의 매크로 블록의 크기 이내에서 일정 간격(K)씩 이동시키고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the Y-axis grid start point YN has not moved more than N times on the Y-axis in step S47, the steps S42 to S47 are performed to move the Y-axis grid by a predetermined distance L on the Y-axis. After that, the X-axis grid is moved to the X-axis by a predetermined interval K within the size of one macro block, and the number of macro blocks in which the contour of the object image exists is counted and stored.

상기 단계(S47)에서 Y축 그리드 시작점(YM)이 Y축으로 M번 이상 이동되면, 단계(S48)에서 대상물 영상의 윤곽선이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YN)을 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)으로 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점(XOM)(YON)을 정보량 감소 위치로 출력한다.When the Y axis grid start point YM is moved more than M times in the Y axis in step S47, the X axis grid start point XM in which the smallest number of macro blocks in which the contour of the object image exists is counted in step S48. ) And the Y-axis grid start point (YN) as the optimal X-axis grid start point (XOM) and Y-axis grid start point (YON), and the determined optimal X-axis and Y-axis grid start point (XOM) (YON) is reduced. Output to position

즉, 제13도에 도시된 본 발명의 다른 실시예는 전체 그리드 시작점을 X축으로 일정 간격(K)씩 M번 이동시킨 후 Y축으로 일정 간격(L)만큼 이동시키고, 다시 전체 그리드 시작점을 X축으로 일정 간격(K)씩 M번 이동시킨 후 Y축으로 일정간격(L)만큼 이동시키는 동작을 반복하면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하고, 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 그리드 시작점(XM)(YN)을 정보량 감소 위치로 출력한다.That is, in another embodiment of the present invention shown in FIG. 13, the entire grid starting point is moved M times by a predetermined interval K on the X axis, and then the entire grid starting point is moved by the Y axis. After repeating the movement of M intervals by the predetermined interval (K) on the X axis and the predetermined interval (L) on the Y axis, the number of macro blocks in which the contour of the object image exists is counted, and the smallest number of macro blocks The X-axis and Y-axis grid starting points (XM) YN, each of which is counted, are output to the information amount decreasing position.

그러므로 제13도에 도시된 본 발명의 다른 실시예는 X축 및 Y축 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 M X N번 이동시키면서 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 그리드 시작점(XM)(YN)을 출력한다.Therefore, another embodiment of the present invention shown in FIG. 13 counts the smallest number of macroblocks by moving the X- and Y-axis grid starting points (XM) (YN) by MXN times at regular intervals (K) (L). Outputs the X- and Y-axis grid start points (XM) (YN).

그리고 상기한 제12도 및 제13도의 실시예에서는 그리드 시작점을 X축으로 일정 간격(K)씩 이동시킨 후 Y축으로 일정 간격(L)씩 이동시켜 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾는 것을 예로 들어 설명하였다.In the embodiments of FIGS. 12 and 13, the grid starting point is moved by a predetermined interval (K) on the X axis, and then by the predetermined interval (L) on the Y axis, so that the optimal X and Y axis grid starting points (XOM) are moved. YON) is described as an example.

그러나 본 발명을 실시함에 있어서는 제12도 및 제13도의 도면에서 괄호 안에 표시한 바와 같이 Y축으로 일정 간격(L)씩 이동시킨 후 X축으로 일정 간격(K)씩 이동시키면서 대상물 영상의 윤곽선이 가장 적은 수의 매크로 블록에 존재하는 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾아 출력할 수도 있다.However, in the practice of the present invention, as shown in the parenthesis in FIGS. 12 and 13, the contour of the object image is shifted by a certain distance (L) along the Y axis and by a predetermined distance (K) by the X axis. It is also possible to find and output the optimal X- and Y-axis grid starting points (XOM, YON) that exist in the smallest number of macro blocks.

제14도는 본 발명의 부호화 방법에 따라 정보량 감소 위치를 찾는 또 다른실시예를 보인 신호 흐름도이다.14 is a signal flow diagram illustrating another embodiment of finding the information amount reduction position according to the encoding method of the present invention.

단계(S51)에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾기 위하여 X축 및 Y축 그리드 시작점(XM,YN)을 모두 '0'으로 초기화한다.In step S51, both the X-axis and Y-axis grid starting points (XM, YN) are found in order to find the optimal X-axis and Y-axis grid starting points (XOM, YON) in which the number of macro blocks in which the contour of the object image exists is minimized. Initialize to '0'.

다음 단계(S52)에서는 초기화한 상기 X축 및 Y축 그리드 시작점(XM,YN)에서 대상물 영상의 윤곽선이 존재되는 매크로 블록의 수를 카운트하고, 단계(S53)에서상기 카운트한 매크로 블록의 수를 저장한다.In the next step S52, the number of macroblocks in which the contour of the object image exists at the initializing X-axis and Y-axis grid start points XM and YN is initialized, and in step S53, the number of macroblocks counted is counted. Save it.

다음 단계(S54)에서는 X축 그리드 시작점(XN)이 X축으로 M번 이동되고, Y축 그리드 시작점(YN)이 Y축으로 N번 이동되었는 지를 판단한다.In the next step S54, it is determined whether the X-axis grid start point XN has been moved M times in the X-axis, and the Y-axis grid start point YN has been moved N times in the Y-axis.

상기 단계(S54)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았거나 또는 Y축 그리드 시작점(YM)이 Y축으로 M번 이상 이동되지 않았을 경우에 단계(S55)에서 X축 및 Y축 그리드 시작점(XM)(YN)을 하나의 매크로 블록의 크기 이내에서 지그재그 방향으로 일정 간격(K)(L)씩 이동하고, 단계(S52∼S55)를 수행하여 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하고, 저장하며, X축 및 Y축 그리드 시작점(XM)(YN)을 지그재그 방향으로 이동하는 것을 반복한다.In the step S54, when the X-axis grid starting point XM is not moved more than M times in the X axis or the Y-axis grid starting point YM is not moved more than M times in the Y axis, in step S55 The axis and Y-axis grid starting point (XM) (YN) is moved by a predetermined distance (K) (L) in the zigzag direction within the size of one macro block, and the steps S52 to S55 are performed so that the outline of the object image is The number of macro blocks present is counted and stored, and the X and Y axis grid starting points (XM) YN are repeated in the zigzag direction.

여기서, X축 및 Y축 그리드 시작점(XM)(YN)을 지그재그 방향으로 일정 간격(K)(L)씩 이동하는 방법은 2가지가 있다. 예를 들면, 제15도의 (가)에 도시된 화살표의 방향에 따라 이동하거나 또는 제15도의 (나)에 도시된 화살표의 방향에 따라 이동할 수 있다.Here, there are two methods for moving the X- and Y-axis grid starting points (XM) (YN) in the zigzag direction by a predetermined interval (K) (L). For example, it can move along the direction of the arrow shown to (a) of FIG. 15, or can move along the direction of the arrow shown to (b) of FIG.

상기 단계(S54)에서 X축 그리드 시작점(XM)이 X축으로 M번 이동되고, Y축 그리드 시작점(YN)이 Y축으로 N번 이동되면, 단계(S56)에서 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YN)을 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)으로 결정하고, 결정한 상기 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.When the X-axis grid start point XM is moved M times in the X-axis and the Y-axis grid start point YN is moved N times in the Y-axis in step S54, the smallest number of macroblocks are moved in step S56. The counted X-axis grid start point (XM) and Y-axis grid start point (YN) are determined as the optimal X-axis grid start point (XOM) and Y-axis grid start point (YON), and the determined optimal X-axis grid start point (XOM) is determined. And the Y-axis grid start point YON to the information amount reduction position.

즉, 제14도에 도시된 본 발명의 또 다른 실시예는 그리드 시작점을 하나의매크로 블록의 X축 및 Y축 크기 이내에서 지그재그로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트한다.That is, another embodiment of the present invention shown in FIG. 14 counts the number of macro blocks in which the outline of the object image exists while moving the grid starting point in a zigzag within the X and Y axis sizes of one macro block. .

그러므로 제14도에 도시된 본 발명의 또 다른 실시예는 X축 및 Y축 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 전체적으로 M X N번 이동시키면서 가장 적은 수의 매크로 블록을 카운트한 최적의 X축 및 Y축 그리드 시작점(XM)(YN)을 출력한다.Therefore, another embodiment of the present invention shown in FIG. 14 moves the smallest number of macroblocks by moving the X- and Y-axis grid starting points (XM) (YN) by MXN times in total by a predetermined distance (K) (L). Outputs the counted optimal X- and Y-axis grid starting points (XM) (YN).

상기한 제12도 내지 제14도의 실시예에 따라 결정된 최적의 그리드 시작점(XM)(YN)에 따라 매크로 블록을 재형성한 예가 제11도에 실선으로 도시되어 있다.An example of reforming the macro block according to the optimal grid start point XM (YN) determined according to the embodiment of FIGS. 12 to 14 described above is shown in solid line in FIG.

제16도는 본 발명의 부호화 방법에 따라서 매크로 블록의 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도이다.FIG. 16 is a signal flow diagram illustrating another embodiment of finding the information amount reduction position of a macroblock according to the encoding method of the present invention.

단계(S61)에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 정보량 감소 위치를 찾기 위하여 먼저 X축 및 Y축 그리드 시작점(XM,YN)을 '0'으로 초기화한다.In step S61, the X- and Y-axis grid starting points XM and YN are initially initialized to '0' in order to find the information amount decreasing position where the number of macro blocks in which the contour of the object image exists is minimized.

단계(S62)에서는, 상기 단계(S61)에서 초기화한 X축 및 Y축 그리드 시작점(XM=0,YN=0)에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 모두 카운트하고, 다음 단계(S63)에서는 상기 단계(S62)에서 카운트한 매크로 블록의 수를 저장한다.In step S62, the number of macroblocks in which the contour of the object image exists at the X-axis and Y-axis grid starting points (XM = 0, YN = 0) initialized in step S61 is counted, and the next step ( In step S63, the number of macroblocks counted in step S62 is stored.

다음 단계(S64)에서는, Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고 단계(S65)에서 Y축 그리드 시작점(YN)을 Y축으로 N번 이상 이동시켰는지를 판단한다.In the next step S64, it is determined whether the Y-axis grid start point YN has been moved by the predetermined distance L on the Y-axis and the Y-axis grid start point YN has been moved N times or more by the Y-axis in step S65. .

Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되지 않았을 경우에 상기 단계(S62∼S65)를 수행하여 Y축 그리드 시작점(YM)을 Y축으로 일정 간격(L)씩 이동하고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.If the Y-axis grid start point YN has not moved more than N times on the Y-axis, the steps S62 to S65 may be performed to move the Y-axis grid start point YM by a predetermined interval L on the Y-axis. Counting and storing the number of macro blocks in which the contour of the image exists is repeated.

상기 단계(S65)에서 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번이상 이동되면, 다음 단계(S66)에서 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정한다.If the Y-axis grid starting point YN is moved more than N times by a predetermined interval L on the Y-axis in step S65, the Y-axis grid starting point YN in which the smallest number of macro blocks are counted in the next step S66. ) Is determined as the optimal Y-axis grid start point (YON).

상기 단계(S66)에서 가장 적은 수의 매크로 블록을 카운트한 최적의 Y축 그리드 시작점(YON)이 결정되면, 단계(S67)에서는 결정한 상기 최적의 Y축 그리드시작점(YON)을 기준으로 하여 그리드를 재구성하고, 단계(S68)에서 대상물 영상의 윤곽선이 존재하는 현재 X축 행의 매크로 블록을 카운트한다.When the optimal Y-axis grid start point YON is determined in which the smallest number of macroblocks are counted in step S66, the grid is determined based on the determined optimal Y-axis grid start point YON in step S67. In step S68, the macroblock of the current X-axis row in which the contour of the object image exists is counted.

즉, 제18도의 (가)에 도시된 바와 같이 X축으로 첫 번째 행인 X(1)행의 매크로 블록중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트한다.That is, as shown in (a) of FIG. 18, the macroblock in which the contour of the object image exists is counted among the macroblocks in the X (1) row, which is the first row on the X axis.

다음 단계(S69)에서는 카운트한 매크로 블록의 수를 저장한다.In the next step S69, the counted number of macro blocks is stored.

다음 단계(S70)에서 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S71)에서 상기 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 M번 이상 이동하였는 지를 판단한다.In the next step S70, the grid starting point XM of row X (1) is moved by a predetermined distance K on the X axis, and in step S71, the grid starting point XM of the row X (1) is X-axis. It is determined whether the M has been moved more than M times by a predetermined interval (K).

상기 단계(S71)에서 X(1)행의 X축 그리드 시작점(XM)를 X축으로 M번 이상 이동하지 않았을 경우에 상기 단계(S68∼S71)를 수행하여 X(1)행의 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, X(1)행의 매크로 블록 중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트하여 저장하는 것을 반복한다.When the X axis grid start point XM of row X (1) is not moved more than M times to the X axis in step S71, the steps S68 to S71 are performed to perform the X axis grid of row X (1). The starting point XM is moved by a predetermined interval K on the X-axis, and the macroblocks in which the contour of the object image is present are counted and stored among the macroblocks in the X (1) row.

상기 단계(S71)에서 X(1)행의 그리드 시작점(XM)이 일정 간격(K)씩 M번 이상 이동되면, 단계(S72)에서 현재까지 카운트한 매크로 블록의 수 중에서 가장 적은 수의 매크로 블록을 카운트한 X(1)행의 그리드 시작점(XM)을 최적의 X(1)행 그리드 시작점(X1M)로 결정한다.If the grid starting point XM of the X (1) row is moved more than M times by a predetermined interval K in the step S71, the smallest number of macroblocks among the number of macroblocks counted so far in the step S72. The grid starting point XM of the X (1) row which counted is determined as the optimal grid starting point X1M of the X (1) row.

다음 단계(S73)에서는 X축으로 마지막 행인지를 판단하고, X축으로 마지막행이 아닐 경우에 단계(S74)에서 X축의 다음 행으로 이동하고, 상기 단계(S68∼S74)를 수행한다.In the next step S73, it is determined whether it is the last row on the X axis, and if it is not the last row on the X axis, the process moves to the next row on the X axis in step S74, and the steps S68 to S74 are performed.

이러한 동작을 반복 수행하여 X축의 행을 X(1), X(2), X(3), X(4) 및 X(5)행으로 순차적으로 이동하고, 대상물 영상의 윤곽선이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X(1), X(2), X(3), X(4) 및 X(5)행의 그리드 시작점(XM)을 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )으로 결정한다.This operation is repeated to sequentially move the rows of the X axis to the rows X (1), X (2), X (3), X (4), and X (5), with the smallest contours of the object image. The grid starting point (XM) in rows X (1), X (2), X (3), X (4), and X (5), which counted the number of macroblocks, is the optimal X (1), X (2) , X (3), X (4) and X (5) row grid start points (X1M, X2M, ...).

상기 단계(S74)에서 X축으로 마지막 행일 경우에 다음 단계(S75)에서 상기 최적의 Y축 그리드 시작점(YON)과 X(1), X(2), X(3), X(4) 및 X(5)행의 최적의 그리드 시작점(X1M,X2M,… )을 정보량 감소 위치로 출력한다.In the case of the last row on the X-axis in step S74, the optimal Y-axis grid start point YON and X (1), X (2), X (3), X (4) and The optimal grid starting point (X1M, X2M, ...) in row X (5) is output to the information amount reduction position.

제17도는 본 발명의 부호화 방법에 따라서 매크로 블록의 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도이다.FIG. 17 is a signal flow diagram illustrating another embodiment of finding the information amount reduction position of a macroblock according to the encoding method of the present invention.

단계(S81)에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로되는 정보량 감소 위치를 찾기 위하여 X축 및 Y축 그리드 시작점(XM,YN)을 '0'으로 초기화한다.In step S81, the X-axis and Y-axis grid start points XM and YN are initialized to '0' in order to find a position where the number of macro blocks in which the contour of the object image exists is reduced.

다음 단계(S82)에서는 현재 X축 행의 매크로 블록중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트한다. 즉, X(1)행의 매크로 블록중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 검출하여 카운트한다.In a next step S82, the macroblock in which the contour of the object image exists in the macroblock of the current X-axis row is counted. That is, the macroblock in which the contour of the object image exists among the macroblocks in row X (1) is detected and counted.

상기 단계(S82)에서 매크로 블록의 카운트가 완료되면, 단계(S83)에서 카운트한 매크로 블록의 수를 저장한다.When the counting of the macroblocks is completed in step S82, the number of macroblocks counted in step S83 is stored.

다음 단계(S84)에서는 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S85)에서 X(1)행의 그리드 시작점(XM)을 일정 간격(K)씩 M번 이상 이동하였는 지를 판단한다.In the next step S84, the grid starting point XM of row X (1) is moved by a predetermined interval K on the X axis, and in step S85, the grid starting point XM of the row X (1) is fixed by a certain interval ( It is determined whether K) has moved more than M times.

상기 단계(S85)에서 X(1)행의 그리드 시작점(XM)을 일정 간격(K)씩 M번 이상 이동하지 않았을 경우에 상기 단계(S82∼S85)를 수행하여 X(1)행의 X축 그리드 시작점(XM)을 일정 간격(K)씩 이동하고, 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the grid starting point XM of row X (1) has not been moved more than M times by a predetermined distance K in step S85, the steps S82 to S85 are performed to perform the X-axis of row X (1). The grid start point XM is moved by a predetermined interval K, and the number of macroblocks in which the contour of the object image exists is counted and stored.

상기 단계(S85)에서 X(1)행의 X축 그리드 시작점(XM)이 X축으로 일정 간격(K)씩 M번 이상 이동되면, 단계(S86)에서 현재까지 카운트한 X(1)행의 매크로 블록 중에서 가장 적은 수의 매크로 블록을 카운트한 X(1)행의 그리드 시작점(XM)을 최적의 X(1)행 그리드 시작점(X1M)으로 결정한다.When the X-axis grid start point XM of the X (1) row is moved more than M times by a predetermined distance K on the X axis in the step S85, the X (1) row counted to the present time in the step S86 The grid starting point XM of the X (1) row that counted the smallest number of macroblocks among the macroblocks is determined as the optimal grid starting point X1M of the X (1) row.

다음 단계(S87)에서는 X축으로 마지막 행인지를 판단하고, X축으로 마지막 행이 아닐 경우에 단계(S88)에서 X축의 다음 행 즉, X(2), X(3), X(4) 및 X(5)행으로 순차적으로 이동한 후 상기 단계(S82∼S88)를 수행하여 대상물 영상의 윤곽선이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X(2), X(3), X(4)및 X(5)행의 그리드 시작점(XM)을 최적의 X(2), X(3), X(4) 및 X(5)행 그리드 시작점(M1M,X2M,… )으로 순차적으로 결정하는 것을 반복한다.In the next step S87, it is determined whether it is the last row on the X axis, and if it is not the last row on the X axis, the next row on the X axis, that is, X (2), X (3), X (4) and After sequentially moving to row X (5), the steps S82 to S88 are performed to count the smallest number of macro blocks in which the contour of the object image exists, and X (2), X (3), and X (4). ) And the grid starting point (XM) of row X (5) is sequentially determined as the optimal grid starting point (M1M, X2M, ...) of X (2), X (3), X (4) and X (5) rows. Repeat that.

상기 단계(S87)에서 X축으로 마지막 행일 경우에는 단계(S89)에서 Y축 그리드 시작점(YM)을 Y축으로 일정 간격(L)씩 M번 이상 이동하였는 지를 판단한다.In the case of the last row on the X-axis in step S87, it is determined in step S89 whether the Y-axis grid start point YM has moved M times or more by a predetermined interval L in the Y-axis.

상기 단계(S89)에서 Y축 그리드 시작점(YM)이 Y축으로 일정 간격(L)씩 N번이상 이동하지 않았을 경우에 단계(S90)에서 Y축 그리드 시작점(YM)을 Y축으로 일정 간격(L)만큼 이동시키고, 단계(S82∼S90)를 반복 수행한다.If the Y-axis grid starting point (YM) in the step (S89) has not moved more than N times by a predetermined interval (L) to the Y-axis in step (S90) Y-grid grid starting point (YM) in the Y-axis at a predetermined interval ( Move by L) and repeat steps S82 to S90.

즉, Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고, Y축 그리드 시작점(YN)이 이동된 위치에서 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(XM)을 순차적으로 일정 간격(K)씩 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하며, 가장 적은 수의 매크로 블록을 카운트한 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(XM)을 최적의 X(1),X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )으로 순차적으로 결정한다.That is, the Y-axis grid starting point YN is moved to the Y-axis by a predetermined distance L, and the X-axis grid starting point YN is moved to X (1), X (2), X (3), X The number of macro blocks in which the contour of the object image exists is counted while moving the starting point (X) of the row grid (4) and the X (5) row by a predetermined interval (K), and the smallest number of macro blocks is counted. (1), X (2), X (3), X (4), and X (5) row grid starting points (XM) with optimal X (1), X (2), X (3), X (4) ) And X (5) row grid starting points (X1M, X2M, ...).

상기 단계(S90)에서 Y축 그리드 시작점(YM)이 일정 간격(L)씩 N번 이상 이동되면, 다음 단계(S51)에서는 Y축 그리드 시작점(YM)을 이동시킨 위치에서 각기 결정된 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )에서 카운트한 매크로 블록의 수를 모두 합산한다.If the Y-axis grid starting point (YM) is moved N or more times by a predetermined interval (L) in the step (S90), in the next step (S51), the optimal X determined at the position where the Y-axis grid starting point (YM) is moved 1), X (2), X (3), X (4), and X (5) all of the number of macroblocks counted at the grid start points X1M, X2M, ... are added together.

그리고 다음 단계(S92)에서는 합산 결과 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 판단하고, 판단한 상기 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정한다. 상기 최적의 Y축 그리드 시작점(YON)에서 가장 적은 수의 매크로 블록을 카운트한 상기 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )을 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )으로 결정하고, 결정한 상기 최적의 Y축 그리드 시작점(YON) 및 상기 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )을 정보량 감소 위치로 출력한다.In the next step S92, the Y-axis grid start point YN in which the smallest number of macro blocks are counted is determined, and the determined Y-axis grid start point YN is determined as the optimal Y-axis grid start point YON. do. The X (1), X (2), X (3), X (4) and X (5) row grid starting points (X1M) counting the smallest number of macro blocks at the optimal Y-axis grid starting point (YON) , X2M,…) is determined as the optimal X (1), X (2), X (3), X (4) and X (5) row grid starting points (X1M, X2M,…) and the determined optimal A Y-axis grid start point YON and the X (1), X (2), X (3), X (4), and X (5) row grid start points (X1M, X2M, ...) are output as information reduction positions. .

상기 제16도 및 제17도의 실시예에서 찾은 최적의 그리드 시작점에 따라 매크로 블록을 재구성한 결과를 살펴보면, 제18도의 (가)에 도시된 바와 같다.Looking at the result of reconstructing the macro block according to the optimal grid starting point found in the embodiment of FIG. 16 and FIG. 17, it is as shown in (a) of FIG.

여기서, 제16도 및 제17도에 도시한 실시예에서는 Y축 그리드 시작점(YN)을 이동시킨 후 X축 그리드 시작점(XM)을 이동시켜 정보량 감소 위치를 찾는 것을 예로 들어 설명하였다.Here, in the embodiments shown in FIGS. 16 and 17, the Y-axis grid start point YN is moved and the X-axis grid start point XM is moved to find the information amount reduction position as an example.

본 발명을 실시함에 있어서는 상기 제16도 및 제17도에서 괄호 안에 기재된 바와 같이 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YM)을 서로 바꾸어 대상물 영상의 윤곽선이 최소의 매크로 블록에 존재하는 정보량 감소 위치를 찾을 수도 있다.In the present invention, as described in Figs. 16 and 17, the X-axis grid starting point (XM) and Y-axis grid starting point (YM) are interchanged so that the contour of the object image exists in the minimum macro block. You can also find the location of the information reduction.

상기 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YM)을 서로 바꾸어 찾은 최적의 그리드 시작점으로 매크로 블록을 재구성한 결과를 살펴보면, 제18도의 (나)에 도시된 바와 같다.Looking at the result of reconstructing the macro block to the optimal grid starting point found by swapping the X-axis grid starting point (XM) and the Y-axis grid starting point (YM), as shown in (b) of FIG.

제19도는 본 발명의 부호화 방법에 따라 상기 단계(S15)에서 대상물 영상의모양정보에 따른 매크로 블록의 정보량 감소 위치를 찾는 일 실시예를 보인 신호-흐름도이다.FIG. 19 is a signal-flow diagram showing an embodiment of finding an information amount reduction position of a macroblock according to shape information of an object image in step S15 according to the encoding method of the present invention.

먼저 단계(S101)에서 모양 정보 및/또는 형상 정보를 가지는 대상물 영상의 모양정보가 존재하는 매크로 블록의 수가 최소로 되는 정보량 감소 위치인 최적의 X축 및 Y축 그리드 시작점을 찾기 위하여 초기 X축 및 Y축 그리드 시작점(XM)(YN)을 초기화시킨다. X축 및 Y축 그리드 시작점(XM)(YN)의 초기값은 XM=0, YN=0으로 주어진다.First, in step S101, the initial X-axis and Y-axis are searched to find the optimal X-axis and Y-axis grid starting points, which are information reduction positions where the number of macroblocks in which the shape information of the object image having shape information and / or shape information exists is minimized. Initialize the Y-axis grid start point (XM) (YN). The initial values of the X- and Y-axis grid starting points (XM) (YN) are given by XM = 0 and YN = 0.

다음 단계(S102)에서는 상기 단계(S101)에서 초기화한 X축 및 Y축 그리드 시작점을 기준으로 하여 대상물 영상의 모양정보가 존재하는 매크로 블록의 수를 카운트한다.In the next step S102, the number of macro blocks in which the shape information of the object image exists is counted based on the X-axis and Y-axis grid starting points initialized in the step S101.

제11도의 도면에서 점선으로 도시된 VOP의 매크로 블록을 예로 들면, X축으로 첫 번째 행부터 "고양이"의 영상이 존재하는 매크로 블록의 수는 각기 3, 4, 4, 4 및 5개로서 "고양이" 의 영상이 모두 20개의 매크로 블록에 존재한다.In the example of the macroblock of the VOP shown by the dotted line in FIG. 11, the number of macroblocks in which the image of the "cat" exists from the first row on the X-axis is 3, 4, 4, 4, and 5, respectively. The images of "Cat" all exist in 20 macro blocks.

상기 단계(S102)에서 매크로 블록의 수를 카운트하는 동작이 완료되면, 단계(S103)에서 상기 카운트한 매크로 블록의 수를 저장한다.When the operation of counting the number of macroblocks is completed in step S102, the counted number of macroblocks is stored in step S103.

다음 단계(S104)에서는 X축 그리드 시작점(XM)을 최초의 매크로 블록에서 X축으로 일정 간격(K)만큼 이동시켜 매크로 블록을 재구성하고, 단계(S105)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되었는지를 판단한다.In a next step S104, the X-axis grid start point XM is moved from the first macro block to the X-axis by a predetermined distance K to reconstruct the macro block, and in step S105, the X-axis grid start point XM is X Determine if the axis has been moved more than M times.

즉, X축 그리드 시작점(XM)이 하나의 매크로 블록의 X축 크기 이상으로 이동되었는 지를 판단한다.That is, it is determined whether the X-axis grid start point XM is moved beyond the X-axis size of one macro block.

상기 단계(S105)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았을 경우에 상기의 단계(S102∼S105)를 수행하여 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트하여 저장하는 동작을 반복 수행한다.When the X-axis grid starting point XM has not moved more than M times in the step S105 in the step S105, the steps S102 to S105 are performed to move the X-axis grid starting point XM to the X axis by a predetermined interval ( The method moves repeatedly by K) and counts and stores the number of macro blocks in which the object image exists.

상기 단계(S25)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되었을 경우에는 단계(S26)에서 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM)을 최적의 X축 그리드 시작점(XOM)으로 결정한다.When the X-axis grid start point XM is moved more than M times in the step S25 in the step S25, the X-axis grid start point XM in which the smallest number of macroblocks are counted in step S26 is optimized for the X-axis. Determined by the grid starting point (XOM).

단계(S27)에서는 결정한 상기 최적의 X축 그리드 시작점(XOM)과 Y축 그리드 시작점(YN=0)으로 매크로 블록을 재구성하고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트한다.In step S27, the macroblock is reconstructed using the determined optimal X-axis grid starting point XOM and Y-axis grid starting point YN = 0, and the number of macroblocks in which an object image exists is counted.

상기 단계(S27)에서 매크로 블록의 수를 카운트하는 동작이 완료되면, 단계(S28)에서는 카운트한 매크로 블록의 수를 저장한다.When the operation of counting the number of macroblocks is completed in step S27, the counted number of macroblocks is stored in step S28.

다음 단계(S29)에서는 Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고, 단계(S30)에서 Y축 그리드 시작점(YM)이 Y축으로 N번 이상 이동되었는 지를 판단한다.In the next step S29, the Y-axis grid starting point YN is moved by the predetermined interval L on the Y-axis, and in step S30, it is determined whether the Y-axis grid starting point YM has been moved N times or more on the Y-axis. .

즉, Y축 그리드 시작점(YN)이 하나의 매크로 블록의 Y축 크기 이상으로 이동 되었는 지를 판단한다.That is, it is determined whether the Y-axis grid start point YN is moved beyond the Y-axis size of one macro block.

상기 단계(S30)에서 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번 이상 이동되지 않았을 경우에 상기 단계(S27∼S30)를 반복 수행하여, 최적의 X축 그리드 시작점(XOM)을 기준으로 Y축 그리드 시작점(YM)을 일정 간격(L)씩 이동시키고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the Y axis grid start point YN is not moved more than N times by a predetermined distance L in the Y axis in step S30, the steps S27 to S30 are repeatedly performed to obtain an optimal X axis grid start point ( The X-axis grid starting point YM is moved by a predetermined interval L, and the number of macroblocks in which the object image exists is counted and stored.

상기 단계(S30)에서 Y축 그리드 시작점(YM)이 일정 간격(L)씩 N번 이상 이동되면, 단계(S31)에서 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(XM)을 최적의 Y축 그리드 시작점(YON)으로 결정하고, 상기 단계(S26)(S31)에서 결정한 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.If the Y-axis grid starting point YM is moved N or more times by a predetermined interval L in step S30, the Y-axis grid starting point XM that counted the smallest number of macroblocks in step S31 is optimal. The Y-axis grid start point YON is determined, and the optimal X-axis grid start point XOM and Y-axis grid start point YON determined in the step S26 and S31 are output to the information amount reduction position.

즉, 제12도에 도시된 본 발명의 일 실시예에서는 전체 그리드를 X축으로 일정 간격(K)씩 M번 이동시키면서 대상물 영상이 존재하는 가장 적은 수의 매크로블록을 카운트한 X축 그리드 시작점(XM)을 최적의 X축 그리드 시작점(XOM)으로 결정한다. 상기 결정한 최적의 X축 그리드 시작점(XOM)을 기준으로 하여 전체 그리드를 Y축으로 일정 간격(L)씩 M번 이동시키면서 대상물 영상이 존재하는 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정하고, 결정한 상기 최적의 X축 그리드 시작점(XOM) 및 최적의 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.That is, according to the exemplary embodiment of the present invention shown in FIG. 12, the X-axis grid starting point (counting the smallest number of macroblocks in which the object image exists) while moving the entire grid by a predetermined interval (K) on the X-axis ( XM) is determined as the optimal X-axis grid starting point (XOM). Y-axis grid starting point counting the smallest number of macroblocks in which an object image exists while moving the entire grid M times by a predetermined distance (L) on the Y-axis based on the determined optimal X-axis grid starting point (XOM) ( YN) is determined as the optimal Y-axis grid starting point YON, and the determined optimal X-axis grid starting point XOM and optimal Y-axis grid starting point YON are output to the information amount reduction position.

그러므로 본 발명의 일 실시예는 그리드 시작점을 X축으로 M번 이동시키고, Y축으로 N번 이동시키는 것으로서 전체적으로 그리드 시작점(XM,YM)을 M + N번 이동시키면서 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾아 출력한다.Therefore, an embodiment of the present invention is to move the grid starting point M times on the X axis and N times on the Y axis. The X and Y axis grids are optimally moved by moving the grid starting points (XM, YM) M + N times. Find the starting point (XOM, YON) and print it.

제13도는 본 발명의 부호화 방법에 따라 정보량 감소 위치를 찾는 다른 실시예를 보인 신호 흐름도이다.13 is a signal flowchart showing another embodiment of finding the information amount reduction position according to the encoding method of the present invention.

단계(S41)에서 VOP를 형성한 대상물 영상이 존재하는 매크로 블록의 수가 최소로 되는 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾기 위하여 X축 및 Y축 그리드 시작점(XM)(YN)을 XM-0, YN=0으로 초기화한다.In order to find the optimal X-axis and Y-axis grid starting points (XOM, YON) in which the number of macro blocks in which the object image having the VOP-formed object is present in step S41 is minimized, the X-axis and Y-axis grid starting points (XM) (YN ) Is initialized to XM-0, YN = 0.

단계(S42)에서는 상기 단계(S41)에서 초기화한 X축 및 Y축 그리드 시작점(XM=0)(YN=0)을 기준으로 하여 대상물 영상이 존재하는 매크로 블록의 수를 카운트하고, 단계(S43)에서는 상기 카운트한 매크로 블록의 수를 저장한다.In step S42, the number of macroblocks in which the object image exists is counted based on the X-axis and Y-axis grid starting points XM = 0 (YN = 0) initialized in step S41, and in step S43 ) Stores the counted number of macroblocks.

다음 단계(S44)에서는 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S45)에서 X축 그리드 시작점(XM)을 X축으로 M번 이상 이동하여 X축으로 하나의 매크로 블록의 크기 이상으로 이동되었는 지를 판단한다.In the next step S44, the X-axis grid starting point XM is moved by the predetermined distance K on the X-axis, and in step S45, the X-axis grid starting point XM is moved by the X-axis more than M times to the X-axis. It is determined whether the macro block has moved beyond the size of one macro block.

상기 단계(S45)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았을 경우에 상기 단계(S42∼S45)를 수행하여 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트 하여 저장하는 것을 반복한다.When the X-axis grid starting point XM has not moved more than M times in the X-axis at step S45, the steps S42 to S45 are performed to move the X-axis grid starting point XM to the X-axis at a predetermined interval K. ), And counting and storing the number of macro blocks in which the object image exists.

상기 단계(545)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되면, 단계(S46)에서 Y축 그리드 시작점(YN)를 Y축 방향으로 일정 간격(L)만큼 이동시킨다.When the X-axis grid starting point XM is moved more than M times in the X-axis at step 545, the Y-axis grid starting point YN is moved by a predetermined interval L in the Y-axis direction in step S46.

다음 단계(S47)에서는 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번 이상 이동되었는 지를 판단한다.In the next step S47, it is determined whether the Y-axis grid start point YN has been moved N times or more by a predetermined interval L on the Y-axis.

상기 단계(S47)에서 Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되지 않았을 경우에 상기 단계(S42∼S47)를 수행하여 Y축 그리드를 Y축으로 일정 간격(L)씩 이동시킨 후 X축 그리드를 X축으로 하나의 매크로 블록의 크기 이내에서 일정 간격(K)씩 이동시키고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the Y-axis grid start point YN has not moved more than N times on the Y-axis in step S47, the steps S42 to S47 are performed to move the Y-axis grid by a predetermined distance L on the Y-axis. After that, the X-axis grid is moved on the X-axis by a predetermined interval K within the size of one macro block, and the number of macro blocks in which the target image exists is counted and stored.

상기 단계(S47)에서 Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되면, 단계(S47)에서 대상물 영상이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YN)을 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)으로 결정하고, 결정한 최적의 X축 및 Y축 그리드 시작점(XOM)(YON)을 정보량 감소 위치로 출력한다.If the Y-axis grid start point YN is moved N times or more in the step S47 in the step S47, the X-axis grid start point XM counting the smallest number of macro blocks in which the object image exists in step S47 and Determine the Y-axis grid starting point (YN) as the optimal X-axis grid starting point (XOM) and Y-axis grid starting point (YON), and determine the optimal X-axis and Y-axis grid starting point (XOM) (YON) as the information reduction position. Output

즉, 제13도에 도시된 본 발명의 다른 실시예는 전체 그리드 시작점을 X축으로 일정 간격(K)씩 M번 이동시킨 후 Y축으로 일정 간격(L)만큼 이동시키고, 다시 전체 그리드 시작점을 X축으로 일정 간격(K)씩 M번 이동시킨 후 Y축으로 일정 간격(L)만큼 이동시키는 동작을 반복하면서 대상물 영상이 존재하는 매크로 블록의 수를 카운트하고, 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 그리드 시작점(XM)(YN)을 정보량 감소위치로 출력한다.That is, in another embodiment of the present invention shown in FIG. 13, the entire grid starting point is moved M times by a predetermined interval K on the X axis, and then the entire grid starting point is moved by the Y axis. Repeat the operation of moving M intervals by a certain interval (K) on the X axis and a certain interval (L) on the Y axis, counting the number of macroblocks in which the object image exists, and counting the smallest number of macroblocks. One X-axis and Y-axis grid start point (XM) YN is output to the information amount reduction position.

그러므로 제13도에 도시된 본 발명의 다른 실시예는 X축 및 Y축 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 M X N번 이동시키면서 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 그리드 시작점(XM)(YN)을 출력한다.Therefore, another embodiment of the present invention shown in FIG. 13 counts the smallest number of macroblocks by moving the X- and Y-axis grid starting points (XM) (YN) by MXN times at regular intervals (K) (L). Outputs the X- and Y-axis grid start points (XM) (YN).

그리고 상기한 제12도 및 제13도의 실시예에서는 그리드 시작점을 X축으로 일정 간격(K)씩 이동시킨 후 Y축으로 일정 간격(L)씩 이동시켜 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾는 것을 예로 들어 설명하였다.In the embodiments of FIGS. 12 and 13, the grid starting point is moved by a predetermined interval (K) on the X axis, and then by the predetermined interval (L) on the Y axis, so that the optimal X and Y axis grid starting points (XOM) are moved. YON) is described as an example.

그러나 본 발명을 실시함에 있어서는 제12도 및 제13도의 도면에서 괄호 안에 표시한 바와 같이 Y축으로 일정 간격(L)씩 이동시킨 후 X축으로 일정 간격(K)씩 이동시키면서 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾아 출력할 수도 있다.However, in the practice of the present invention, as shown in parentheses in the drawings of FIGS. 12 and 13, the optimum X-axis and the predetermined X-axis are moved along the X-axis by a certain distance (K). The Y-axis grid start point (XOM, YON) can also be found and output.

제14도는 본 발명의 부호화 방법에 따라 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도이다.14 is a signal flowchart showing another embodiment of finding the information amount reduction position according to the encoding method of the present invention.

단계(S51)에서 대상물 영상이 위치하는 매크로 블록의 수가 최소로 되는 최적의 X축 및 Y축 그리드 시작점(XOM,YON)을 찾기 위하여 X축 및 Y축 그리드 시작점(XM,YN)을 모두 '0'으로 초기화한다.In step S51, both the X and Y axis grid starting points (XM, YN) are set to '0' in order to find the optimal X and Y axis grid starting points (XOM, YON) in which the number of macro blocks in which the object image is located is minimized. Initialize to '.

다음 단계(S52)에서는 초기화한 상기 X축 및 Y축 그리드 시작점(XM,YN)에서 대상물 영상이 존재되는 매크로 블록의 수를 카운트하고, 단계(S53)에서 상기 카운트한 매크로 블록의 수를 저장한다.In the next step S52, the number of macroblocks in which an object image exists at the initializing X-axis and Y-axis grid start points XM and YN is counted, and the counted number of macroblocks is stored in step S53. .

다음 단계(S54)에서는 X축 그리드 시작점(XM)이 X축으로 M번 이동되고, Y축 그리드 시작점(YN)이 Y축으로 N번 이동되었는 지를 판단한다.In the next step S54, it is determined whether the X-axis grid start point XM has been moved M times in the X-axis, and the Y-axis grid start point YN has been moved N times in the Y-axis.

상기 단계(S54)에서 X축 그리드 시작점(XM)이 X축으로 M번 이상 이동되지 않았거나 또는 Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되지 않았을 경우에 단계(S55)에서 X축 및 Y축 그리드 시작점(XM)(YN)을 하나의 매크로 블록의 크기 이내에서 지그재그 방향으로 일정 간격(K)(L)씩 이동하고, 단계(S52∼S55)를 수행하여 대상물 영상이 존재하는 매크로 블록의 수를 카운트하고, 저장하며, X축 및 Y축 그리드 시작점(XM)(YN)을 지그재그 방향으로 이동하는 것을 반복한다.In the step S54, when the X-axis grid start point XM is not moved more than M times in the X axis or the Y-axis grid start point YN is not moved more than N times in the Y axis, in step S55 The axis and Y-axis grid starting point (XM) (YN) is moved by a predetermined distance (K) (L) in the zigzag direction within the size of one macro block, and steps S52 to S55 are performed to present the object image. The number of macro blocks is counted and stored, and the X and Y axis grid starting points (XM) YN are repeated in the zigzag direction.

여기서, X축 및 Y축 그리드 시작점(XM)(YM)을 지그재그 방향으로 일정 간격(K)(L)씩 이동하는 방법은 2가지가 있다. 예를 들면, 제15도의 (가)에 도시된 화살표의 방향에 따라 이동하거나 또는 제15도의 (나)에 도시된 화살표의 방향에 따라 이동할 수 있다.Here, there are two methods for moving the X- and Y-axis grid starting points XM and YM by a predetermined interval K and L in the zigzag direction. For example, it can move along the direction of the arrow shown to (a) of FIG. 15, or can move along the direction of the arrow shown to (b) of FIG.

상기 단계(S54)에서 X축 그리드 시작점(XM)이 X축으로 M번 이동되고, Y축 그리드 시작점(YN)이 Y축으로 N번 이동되면, 단계(S56)에서 가장 적은 수의 매크로 블록을 카운트한 X축 그리드 시작점(RLFM) 및 Y축 그리드 시작점(YN)을 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)으로 결정하고, 결정한 상기 최적의 X축 그리드 시작점(XOM) 및 Y축 그리드 시작점(YON)을 정보량 감소 위치로 출력한다.When the X-axis grid start point XM is moved M times in the X-axis and the Y-axis grid start point YN is moved N times in the Y-axis in step S54, the smallest number of macroblocks are moved in step S56. The counted X-axis grid start point (RLFM) and Y-axis grid start point (YN) are determined as the optimal X-axis grid start point (XOM) and Y-axis grid start point (YON), and the determined optimal X-axis grid start point (XOM) is determined. And the Y-axis grid start point YON to the information amount reduction position.

즉, 제14도에 도시된 본 발명의 또 다른 실시예는 그리드 시작점을 하나의 매크로 블록의 X축 및 Y축 크기 이내에서 지그재그로 이동시키면서 대상물 영상이 존재하는 매크로 블록의 수를 카운트한다.That is, another embodiment of the present invention shown in FIG. 14 counts the number of macro blocks in which an object image exists while moving the grid starting point in a zigzag within the X and Y axis sizes of one macro block.

그러므로 제14도에 도시된 본 발명의 또 다른 실시예는 X축 및 Y축 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 전체적으로 M X N번 이동시키면서 가장 적은 수의 매크로 블록을 카운트한 최적의 X축 및 Y축 그리드 시작점(XM)(YN)을 출력한다.Therefore, another embodiment of the present invention shown in FIG. 14 moves the smallest number of macroblocks by moving the X- and Y-axis grid starting points (XM) (YN) by MXN times in total by a predetermined distance (K) (L). Outputs the counted optimal X- and Y-axis grid starting points (XM) (YN).

상기한 제12도 내지 제14도의 실시예에 따라 결정된 최적의 그리드 시작점(XM)(YN)에 따라 매크로 블록을 재형성한 예가 제11도에 실선으로 도시되어 있다.An example of reforming the macro block according to the optimal grid start point XM (YN) determined according to the embodiment of FIGS. 12 to 14 described above is shown in solid line in FIG.

여기서, VOP를 형성한 대상물 영상 위치에 따라 최적의 X축 및 Y축 그리드시작점(XOM)(YON)을 이동시켜 매크로 블록을 재형성한 결과 "고양이" 의 영상이 존재하는 매크로 블록의 수는 X축으로 첫 번째 행부터 각기 2, 3, 4, 3 및 5개로서 20개의 매크로 블록에서 17개로 줄어들었음을 알 수 있다.Here, as a result of reconstructing the macroblock by moving the optimal X-axis and Y-axis grid starting point (XOM) (YON) according to the position of the object image forming the VOP, the number of macroblocks in which the image of "cat" is present is X From the first row on the axis we can see that 2, 3, 4, 3 and 5 are reduced to 17 in 20 macro blocks.

제16도는 본 발명의 부호화 방법에 따라서 매크로 블록의 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도이다.FIG. 16 is a signal flow diagram illustrating another embodiment of finding the information amount reduction position of a macroblock according to the encoding method of the present invention.

단계(S61)에서 대상물 영상이 존재하는 매크로 블록의 수가 최소로 되는 정보량 감소 위치를 찾기 위하여 먼저 X축 및 Y축 그리드 시작점(XM,YN)을 '0' 으로 초기화한다.In step S61, the X- and Y-axis grid starting points XM and YN are initially initialized to '0' in order to find the information amount decreasing position where the number of macro blocks in which the object image exists is minimized.

단계(S62)에서는, 상기 단계(S61)에서 초기화한 X축 및 Y축 그리드 시작점(XM=0, YN=0)에서 대상물 영상이 존재하는 매크로 블록의 수를 모두 카운트하고, 다음 단계(S63)에서는 상기 단계(S62)에서 카운트한 매크로 블록의 수를 저장한다.In step S62, the number of macroblocks in which the object image exists at the X and Y-axis grid starting points XM = 0 and YN = 0 initialized in the step S61 is counted, and in the next step S63 In step S62, the number of macro blocks counted in step S62 is stored.

다음 단계(S64)에서는, Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고, 단계(S65)에서 Y축 그리드 시작점(YN)을 Y축으로 N번 이상 이동시켰는 지를 판단한다.In the next step S64, it is determined whether the Y-axis grid start point YN is moved to the Y axis by a predetermined distance L, and in step S65, the Y-axis grid start point YN is moved N times or more to the Y-axis. do.

Y축 그리드 시작점(YN)이 Y축으로 N번 이상 이동되지 않았을 경우에 상기 단계(S62∼S65)를 수행하여 Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)씩 이동하고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.If the Y-axis grid start point YN has not moved more than N times on the Y-axis, the steps S62 to S65 are performed to move the Y-axis grid start point YN to the Y-axis by a predetermined interval L. Counting and storing the number of macro blocks in which an image exists is repeated.

상기 단계(S65)에서 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번 이상 이동되면, 다음 단계(S66)에서 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정한다.If the Y-axis grid start point YN is moved N or more times by a predetermined interval L in the step S65 in the step S65, the Y-axis grid start point YN in which the smallest number of macro blocks are counted in the next step S66. ) Is determined as the optimal Y-axis grid start point (YON).

상기 단계(S66)에서 가장 적은 수의 매크로 블록을 카운트한 최적의 Y축 그리드 시작점(YON)이 결정되면, 단계(S67)에서는 결정한 상기 최적의 Y축 그리드 시작점(YON)을 기준으로 하여 그리드를 재구성하고, 단계(S68)에서 대상물 영상이 존재하는 현재 X축 행의 매크로 블록을 카운트한다.When the optimal Y-axis grid start point YON is determined in which the smallest number of macroblocks are counted in step S66, the grid is determined based on the determined optimal Y-axis grid start point YON in step S67. In step S68, the macroblock of the current X-axis row in which the object image exists is counted.

즉, 제18도의 (가)에 도시된 바와 같이 X축으로 첫 번씩 행인 X(1)행의 매크로블록 중에서 대상물 영상이 존재하는 매크로 블록을 카운트한다.That is, as shown in (a) of FIG. 18, the macroblock in which the object image exists is counted among the macroblocks in row X (1) which is the first row on the X axis.

다음 단계(S59)에서는 카운트한 매크로 블록의 수를 저장한다.In the next step S59, the counted number of macro blocks is stored.

다음 단계(S70)에서 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S71)에서 상기 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 M번 이상 이동하였는 지를 판단한다.In the next step S70, the grid starting point XM of row X (1) is moved by a predetermined distance K on the X axis, and in step S71, the grid starting point XM of the row X (1) is X-axis. It is determined whether the M has been moved more than M times by a predetermined interval (K).

상기 단계(S71)에서 X(1)행의 X축 그리드 시작점(XM)을 X축으로 M번 이상 이동하지 않았을 경우에 상기 단계(S68∼S71)를 수행하여 X(1)행의 X축 그리드 시작점(XM)을 X축으로 일정 간격(K)씩 이동하고, X(1)행의 매크로 블록 중에서 대상물 영상이 존재하는 매크로 블록을 카운트하여 저장하는 것을 반복한다.When the X axis grid start point XM of the X (1) row is not moved more than M times to the X axis in the step S71, the steps S68 to S71 are performed to perform the X axis grid of the X (1) row. The starting point XM is moved by a predetermined interval K on the X axis, and the macro blocks in which the object image exists in the macro blocks in the X (1) row are counted and stored.

상기 단계(S71)에서 X(1)행의 그리드 시작점(XM)이 일정 간격(K)씩 M번 이상 이동되면, 단계(S72)에서 현재까지 카운트한 매크로 블록의 수 중에서 가장 적은 수의 매크로 블록을 카운트한 X(1)행의 그리드 시작점(XM)을 최적의 X(1)행 그리드시작점(X1M)으로 결정한다.If the grid starting point XM of the X (1) row is moved more than M times by a predetermined interval K in the step S71, the smallest number of macroblocks among the number of macroblocks counted so far in the step S72. The grid starting point XM of the X (1) row which counted is determined as the optimal grid starting point X1M of the X (1) row.

다음 단계(S73)에서는 도축으로 마지막 행인지를 판단하고, X축으로 마지막 행이 아닐 경우에 단계(S74)에서 X축의 다음 행으로 이동하고, 상기 단계(S68∼S74)를 수행한다.In the next step S73, it is determined whether it is the last row by the slaughter, and when it is not the last row by the X axis, the process moves to the next row of the X axis in step S74, and the steps S68 to S74 are performed.

이러한 동작을 반복 수행하여 X축의 행을 X(1), X(2), X(3), X(4) 및 X(5)행으로 순차적으로 이동하고, 대상물 영상이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X(1), X(2), X(3), X(4) 및 X(5)행의 그리드 시작점(XM)을 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )으로 결정한다.This operation is repeated to sequentially move rows on the X-axis to rows X (1), X (2), X (3), X (4), and X (5), with the smallest number of target images present. The grid starting point (XM) in rows X (1), X (2), X (3), X (4), and X (5) where the macroblock is counted is set to the optimal X (1), X (2), X (3), X (4) and X (5) row grid start points (X1M, X2M, ...) are determined.

상기 단계(S74)에서 X축으로 마지막 행일 경우에 다음 단계(S75)에서 상기 최적의 Y축 그리드 시작점(YON)과 X(1), X(2), X(3), X(4) 및 X(5)행의 최적의 그리드 시작점(X1M,X2M,… )을 정보량ㆍ감소 위치로 출력한다.In the case of the last row on the X-axis in step S74, the optimal Y-axis grid start point YON and X (1), X (2), X (3), X (4) and The optimal grid starting point (X1M, X2M, ...) in row X (5) is output as the information amount / decrease position.

제17도는 본 발명의 부호화 방법에 따라서 매크로 블록의 정보량 감소 위치를 찾는 또 다른 실시예를 보인 신호 흐름도이다.FIG. 17 is a signal flow diagram illustrating another embodiment of finding the information amount reduction position of a macroblock according to the encoding method of the present invention.

단계(S81)에서 대상물 영상이 존재하는 매크로 블록의 수가 최소로 되는 정보량 감소 위치를 찾기 위하여 X축 및 Y축 그리드 시작점(XM,YN)을 '0' 으로 초기화한다.In step S81, the X-axis and Y-axis grid start points XM and YN are initialized to '0' in order to find a position where the number of macro blocks in which the object image exists is reduced in the amount of information.

다음 단계(S82)에서는 현재 X축 행의 매크로 블록중에서 대상물 영상이 존재하는 매크로 블록을 카운트한다. 즉, X(1)행의 매크로 블록중에서 대상물 영상이 존재하는 매크로 블록을 검출하여 카운트한다.In a next step S82, the macroblock in which the object image exists among the macroblocks in the current X-axis row is counted. That is, the macroblock in which the object image exists among the macroblocks in row X (1) is detected and counted.

상기 단계(S82)에서 매크로 블록의 카운트가 완료되면, 단계(S83)에서 카운트한 매크로 블록의 수를 저장한다.When the counting of the macroblocks is completed in step S82, the number of macroblocks counted in step S83 is stored.

다음 단계(S84)에서는 X(1)행의 그리드 시작점(XM)을 X축으로 일정 간격(K)만큼 이동시키고, 단계(S85)에서 X(1)행의 그리드 시작점(XM)을 일정 간격(K)씩 M번 이상 이동하였는 지를 판단한다.In the next step S84, the grid starting point XM of row X (1) is moved by a predetermined interval K on the X axis, and in step S85, the grid starting point XM of the row X (1) is fixed by a certain interval ( It is determined whether K) has moved more than M times.

상기 단계(S85)에서 X(1)행의 그리드 시작점(XM)을 일정 간격(K)씩 M번 이상 이동하지 않았을 경우에 상기 단계(S82∼S85)를 수행하여 X(1)행의 X축 그리드 시작점(XM)을 일정 간격(K)씩 이동하고, 대상물 영상이 존재하는 매크로 블록의 수를 카운트하여 저장하는 것을 반복한다.When the grid starting point XM of row X (1) has not been moved more than M times by a predetermined distance K in step S85, the steps S82 to S85 are performed to perform the X-axis of row X (1). The grid starting point XM is moved by a predetermined interval K, and the number of macroblocks in which the object image exists is counted and stored.

상기 단계(S85)에서 X(1)행의 X축 그리드 시작점(XM)이 X축으로 일정 간격(K)씩 M번 이상 이동되면, 단계(S86)에서 현재까지 카운트한 X(1)행의 매크로 블록 중에서 가장 적은 수의 매크로 블록을 카운트한 X(1)행의 그리드 시작점 (XM)을 최적의 X(1)행 그리드 시작점(X1M)으로 결정한다.When the X-axis grid start point XM of the X (1) row is moved more than M times by a predetermined distance K on the X axis in the step S85, the X (1) row counted to the present time in the step S86 The grid starting point XM of the X (1) row that counted the smallest number of macroblocks among the macroblocks is determined as the optimal grid starting point of the X (1) row.

다음 단계(S87)에서는 X축으로 마지막 행인지를 판단하고, X축으로 마지막 행이 아닐 경우에 단계(S88)에서 X축의 다음 행 즉, X(2), X(3), X(4) 및 X(5)행으로 순차적으로 이동한 후 상기 단계(S82∼S88)를 수행하여 대상물 영상이 존재하는 가장 적은 수의 매크로 블록을 카운트한 X(2), X(3), X(4) 및 X(5)행의 그리드 시작점(XM)을 최적의 X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,…)으로 순차적으로 결정하는 것을 반복한다.In the next step S87, it is determined whether it is the last row on the X axis, and if it is not the last row on the X axis, the next row on the X axis, that is, X (2), X (3), X (4) and After sequentially moving to row X (5), steps S82 to S88 are performed to count the smallest number of macroblocks in which the object image exists, and X (2), X (3), X (4) and Repeatedly determine the grid starting point (XM) in row X (5) as the optimal grid starting point (X1M, X2M, ...) in rows X (2), X (3), X (4) and X (5). do.

상기 단계(S87)에서 X축으로 마지막 행일 경우에는 단계(S89)에서 Y축 그리드 시작점(YN)을 Y축으로 일정간격(L)씩 N번 이상 이동하였는 지를 판단한다.In the case of the last row on the X-axis in step S87, it is determined in step S89 whether the Y-axis grid start point YN is moved N times or more by a predetermined interval L in the Y-axis.

상기 단계(S89)에서 Y축 그리드 시작점(YN)이 Y축으로 일정 간격(L)씩 N번 이상 이동하지 않았을 경우에 단계(S90)에서 Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고, 단계(S82∼S90)를 반복 수행한다.When the Y-axis grid start point YN has not moved more than N times by a predetermined distance L in the Y axis in step S89, the Y-axis grid start point YN is fixed in Y-axis in step S90. Move by L) and repeat steps S82 to S90.

즉, Y축 그리드 시작점(YN)을 Y축으로 일정 간격(L)만큼 이동시키고, Y축 그리드 시작점(YN)이 이동된 위치에서 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(XM)을 순차적으로 일정 간격(K)씩 이동시키면서 대상물 영상이 존재하는 매크로 블록의 수를 카운트하며, 가장 적은 수의 매크로 블록을 카운트한 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(XM)을 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )으로 순차적으로 결정한다.That is, the Y-axis grid starting point YN is moved to the Y-axis by a predetermined distance L, and the X-axis grid starting point YN is moved to X (1), X (2), X (3), X The number of macroblocks in which an object image exists is counted while moving the grid starting point (XM) of (4) and X (5) rows sequentially by a predetermined interval (K), and X (1) of the smallest number of macroblocks is counted. ), X (2), X (3), X (4), and X (5) row grid starting points (XM) are set to optimal X (1), X (2), X (3), X (4) and X (5) row Grid start points (X1M, X2M, ...) are determined sequentially.

상기 단계(S90)에서 Y축 그리드 시작점(YN)이 일정 간격(L)씩 N번 이상 이동되면, 다음 단계(S91)에서는 Y축 그리드 시작점(YN)을 이동시킨 위치에서 각기 결정된 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M,X2M,… )에서 카운트한 매크로 블록의 수를 모두 합산한다.If the Y-axis grid start point YN is moved N or more times by a predetermined interval L in step S90, in the next step S91, the optimal X determined at the position where the Y-axis grid start point YN is moved, respectively ( 1), X (2), X (3), X (4), and X (5) all of the number of macroblocks counted at the grid start points X1M, X2M, ... are added together.

그리고 다음 단계(S92)에서는 합산 결과 가장 적은 수의 매크로 블록을 카운트한 Y축 그리드 시작점(YN)을 판단하고, 판단한 상기 Y축 그리드 시작점(YN)을 최적의 Y축 그리드 시작점(YON)으로 결정한다. 상기 최적의 Y축 그리드 시작점(YON)에서 가장 적은 수의 매크로 블록을 카운트한 상기 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M, X2M,…)을 최적의 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M, X2M,…)으로 결정하고, 결정한 상기 최적의 Y축 그리드 시작점(YON) 및 상기 X(1), X(2), X(3), X(4) 및 X(5)행 그리드 시작점(X1M, X2M,…)을 정보량 감소 위치로 출력한다.In the next step S92, the Y-axis grid start point YN in which the smallest number of macro blocks are counted is determined, and the determined Y-axis grid start point YN is determined as the optimal Y-axis grid start point YON. do. The X (1), X (2), X (3), X (4) and X (5) row grid starting points (X1M) counting the smallest number of macro blocks at the optimal Y-axis grid starting point (YON) , X2M,…) is determined as the optimal X (1), X (2), X (3), X (4) and X (5) row grid starting points (X1M, X2M,…) and the determined optimal A Y-axis grid start point YON and the X (1), X (2), X (3), X (4), and X (5) row grid start points (X1M, X2M, ...) are output as information reduction positions. .

상기 제16도 및 제17도의 실시예에서 찾은 최적의 그리드 시작점에 따라 맵, 로 블록를 재구성한 결과를 살펴보면, 제18도의 (가)에 도시된 바와 같다.Looking at the result of reconstructing the map and the row block according to the optimal grid starting point found in the embodiment of FIGS. 16 and 17, it is as shown in (a) of FIG.

여기서, 제16도 및 제17도에 도시한 실시예에서는 Y축 그리드 시작점(YN)을 이동시킨 후 X축 그리드 시작점(XM)을 이동시켜 정보량 감소 위치를 찾는 것을 예로 들어 설명하였다.Here, in the embodiments shown in FIGS. 16 and 17, the Y-axis grid start point YN is moved and the X-axis grid start point XM is moved to find the information amount reduction position as an example.

본 발명을 실시함에 있어서는 상기 제16도 및 제17도에서 괄호 안에 기재된 바와 같이 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YN)을 서로 바꾸어 대상물 영상이 최소의 매크로 블록에 존재하는 정보량 감소위치를 찾을 수도 있다.In the present invention, as shown in the parenthesis in FIGS. 16 and 17, the X-axis grid starting point (XM) and the Y-axis grid starting point (YN) are interchanged with each other to reduce the amount of information in which the object image exists in the minimum macro block. You can also find a location.

상기 X축 그리드 시작점(XM) 및 Y축 그리드 시작점(YN)을 서로 바꾸어 찾은 최적의 그리드 시작점으로 매크로 블록을 재구성한 결과를 살펴보면, 제18도의 (나)에 도시된 바와 같다.Looking at the result of reconstructing the macro block to the optimal grid starting point found by swapping the X-axis grid starting point (XM) and the Y-axis grid starting point (YN), as shown in (b) of FIG.

상기한 본 발명의 실시예에서 X축 및 Y축 그리드 시작점(XM)(YN)을 이동시키는 일정 간격(K)(L)은 매크로 블록 내에 존재하는 화소의 수를 기준으로 한다.In the above-described embodiment of the present invention, the predetermined interval K (L) for moving the X-axis and Y-axis grid start points XM (YN) is based on the number of pixels existing in the macro block.

예를 들면, 매크로 블록의 X축 및 Y축 크기 이내에서 X축 및 Y축 그리드 시작점(XM)(YN)을 단위 화소의 간격으로 이동시킬 수 있다.For example, the X-axis and Y-axis grid starting points (XM) (YN) within the X-axis and Y-axis sizes of the macroblock may be moved at intervals of unit pixels.

그러나 영상신호에서 색신호에 대한 정보는 저도 신호에 대한 정보의 1/2이므로 색신호 및 취도신호에 대한 정보를 고려할 경우에 X축 및 Y축 그리드 시작점(XM)(YN)의 이동 간격(K)(L)은 2개의 단위 화소 간격으로 하는 것이 바람직하다.However, since the information on the color signal in the video signal is 1/2 of the information on the low light signal, when the information on the color signal and the brittleness signal is taken into consideration, the moving interval K of the X- and Y-axis grid start points (XM) (YN) ( L) is preferably at two unit pixel intervals.

또한 상기한 실시예에서는 VOP를 형성한 대상물 영상이 가장 적은 수의 매크로 블록에 존재하는 최적의 그리드 시작점이 하나만 존재하는 것을 예로 들어 설명하였으나 최적의 그리드 시작점은 하나 이상 다수 개 발생할 수 있다.In addition, in the above-described embodiment, only one optimal grid starting point exists in the smallest number of macroblocks in which the object image having the VOP is formed as an example. However, one or more optimal grid starting points may occur.

그러므로 본 발명에서는 최적의 그리드 시작점이 다수 개 발생할 경우에 매크로 블록을 M/2 X N/2의 크기를 가지는 서브 블록으로 세분화하고, 세분화한 서브 블록의 X축 및 Y축 크기 이내에서 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 이동시키며, 대상물 영상이 가장 적은 수의 매크로 블록에 존재하는 정보량 감소 위치를 찾아 출력할 수 있다.Therefore, in the present invention, when multiple optimal grid starting points occur, the macro block is subdivided into sub-blocks having the size of M / 2 XN / 2, and the grid starting point (XM) within the X- and Y-axis sizes of the sub-blocks. (YN) is moved by a predetermined interval (K) (L), it is possible to find and output the information reduction position where the object image is present in the smallest number of macro blocks.

즉, 매크로 블록의 크기가 16X16 화소로 이루어진다고 가정할 경우에 8X8화소를 가지는 서브 블록으로 세분화하고, 8X8 화소로 세분화한 서브 블록의 화소수 이내에서 상기한 실시예와 같이 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 이동시켜 대상물 영상이 존재하는 매크로 블록의 수가 가장 적은 X축 및 Y축 그리드 시작점을 찾고, 이를 정보량 감소 위치로 출력한다.In other words, if it is assumed that the size of the macro block is 16 × 16 pixels, the grid starting point XM (as shown in the above embodiment) is subdivided into subblocks having 8 × 8 pixels and subpixels subdivided into 8 × 8 pixels. YN) is moved by a predetermined interval K (L) to find the X and Y axis grid starting points having the smallest number of macro blocks in which the object image exists, and outputs them to the information amount reduction position.

그리고 매크로 블록을 서브 블록으로 세분화하여도 가장 적은 수의 매크로 블록을 카운트하는 정보량 감소 위치는 다수 개 발생할 수 있다.Further, even when the macro block is subdivided into sub-blocks, a plurality of information amount reduction positions that count the smallest number of macro blocks may occur.

그러므로 본 발명에서는 서브 블록으로 세분화하여도 최적의 X축 및 Y축 그리드 시작점(XOM,YON)이 다수 개 발생할 경우에 어느 하나를 선택해야 된다.Therefore, in the present invention, even when subdivided into sub-blocks, one should be selected when a plurality of optimal X- and Y-axis grid starting points (XOM, YON) occur.

이 때, 선택하는 하나의 정보량 감소 위치는, 초기 X축 및 Y축 그리드 시작점(XM=0,YN=0)에 근접될수록 움직임 벡터의 간이 적어 정보량이 줄어들고, 또한 움직임을 추정할 경우에 예측 에러의 발생률이 낮게 되므로 초기 그리드시작점(XM=0,YN=0)을 기준으로 하여 직선 거리가 가장 가까운 하나의 X축 및 Y축 그리드 시작점을 결정한다.At this time, the one information amount reduction position to be selected is smaller as the motion vector becomes smaller as the initial X-axis and Y-axis grid starting points (XM = 0, YN = 0) decrease, and the prediction error when the motion is estimated Since the incidence of is low, the X and Y-axis grid starting points with the closest straight line distance are determined based on the initial grid starting point (XM = 0, YN = 0).

상기한 본 발명의 실시예에서 X축 및 Y축 그리드 시작점(XM)(YN)을 이동시키는 일정 간격(K)(L)은 매크로 블록 내에 존재하는 화소의 수를 기준으로 한다.In the above-described embodiment of the present invention, the predetermined interval K (L) for moving the X-axis and Y-axis grid start points XM (YN) is based on the number of pixels existing in the macro block.

예를 들면, 매크로 블록의 X축 및 Y축 크기 이내에서 X축 및 Y축 그리드 시작점(XM)(YN)을 단위 화소의 간격으로 이동시킬 수 있다.For example, the X-axis and Y-axis grid starting points (XM) (YN) within the X-axis and Y-axis sizes of the macroblock may be moved at intervals of unit pixels.

그러나 영상신호에서 색신호에 대한 정보는 휘도 신호에 대한 정보의 1/2이므로 색신호 및 휘도신호에 대한 정보를 고려할 경우에 X축 및 Y축 그리드 시작점(XM)(YN)의 이동 간격(K)(L)은 2개의 단위 화소 간격으로 하는 것이 바람직하다.However, since the information about the color signal in the image signal is 1/2 of the information about the luminance signal, when the information about the color signal and the luminance signal is taken into account, the moving interval K (X) of the X- and Y-axis grid start points (XM) (YN) ( L) is preferably at two unit pixel intervals.

또한 상기한 실시예에서는 VOP를 형성한 대상물 영상의 윤곽선이 가장 적은 수의 매크로 블록에 존재하는 최적의 그리드 시작점이 하나만 존재하는 것을 예로 들어 설명하였으나 최적의 그리드 시작점은 하나 이상 다수 개 발생할 수 있다.In addition, in the above-described embodiment, only one optimal grid starting point exists in which the contour of the object image on which the VOP is formed is present in the smallest number of macro blocks. However, one or more optimal grid starting points may occur.

그러므로 본 발명에서는 최적의 그리드 시작점이 다수 개 발생할 경우에 매크로 블록을 M/2 X N/2의 크기를 가지는 서브 블록을 세분화하고, 세분화한 서브 블록의 X축 및 Y축 크기 이내에서 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 이동시키며, 대상물 영상의 윤곽선이 가장 적은 수의 매크로 블록에 존재하는 정보량 감소 위치를 찾아 출력할 수 있다.Therefore, in the present invention, when a plurality of optimal grid starting points occur, the macro block is divided into sub-blocks having the size of M / 2 XN / 2, and the grid starting point (XM) within the X-axis and Y-axis sizes of the sub-blocks. ) YN may be moved at predetermined intervals K and L, and the position of the amount of information reduction in which the contour of the object image exists in the smallest number of macroblocks may be found and output.

즉, 매크로 블록의 크기가 16X16화소 이루어진다고 가정할 경우에 8X8 화소를 가지는 서브 블록으로 세분화하고, 8X8 화소로 세분화한 서브 블록의 화소수 이내에서 상기한 실시예와 같이 그리드 시작점(XM)(YN)을 일정 간격(K)(L)씩 이동시켜 대상물 영상의 윤곽선이 존재하는 매클 블록의 수가 가장 적은 X축 및 Y축 그리드 시작점을 찾고, 이를 정보량 감소 위치로 출력한다.In other words, if it is assumed that the size of the macroblock is 16 × 16 pixels, the grid starting point XM (YN) is subdivided into subblocks having 8 × 8 pixels and subpixels subdivided into 8 × 8 pixels as described above. ) By a predetermined interval (K) (L) to find the starting point of the X-axis and Y-axis grid with the smallest number of meckle blocks in which the contour of the object image exists, and outputs them to the information amount reduction position.

그리고 매크로 블록을 서브 블록으로 세분화하여도 가장 적은 수의 매크로 블록을 카운트하는 정보량 감소 위치는 다수 개 발생할 수 있다.Further, even when the macro block is subdivided into sub-blocks, a plurality of information amount reduction positions that count the smallest number of macro blocks may occur.

그러므로 본 발명에서는 서브 블록으로 세분화하여도 최적의 X축 및 Y축 그리드 시작점(XOM,YON)이 다수 개 발생할 경우에 어느 하나를 선택해야 된다.Therefore, in the present invention, even when subdivided into sub-blocks, one should be selected when a plurality of optimal X- and Y-axis grid starting points (XOM, YON) occur.

이 때, 선택하는 하나의 정보량 감소 위치는, 초기 X축 및 Y축 그리드 시작점(XM=0, YN=0)에 근접될수록 움직임 벡터의 간이 적어 정보량이 줄어들고, 또한 움직임을 추정할 경우에 예측 에러의 발생률이 낮게 되므로 초기 그리드 시작점(XM=0, YN=0)을 기준으로 하여 직선 거리가 가장 가까운 하나의 X축 및 Y축 그리드 시작점을 결정한다.At this time, the one information amount reduction position to be selected is smaller as the motion vector becomes smaller as the initial X-axis and Y-axis grid starting points (XM = 0 and YN = 0) decrease, and the prediction error when the motion is estimated Since the incidence of is low, the X and Y-axis grid starting points with the closest straight line distance are determined based on the initial grid starting points (XM = 0 and YN = 0).

이상에서와 같이 본 발명은 대상물 영상의 윤곽선이 최소의 매크로 블록에 위치되게 그리드 시작점을 조절하여 모양 정보를 부호화하고, 또한 모양 정보부호화 신호가 최소의 매크로 블록에 위치되게 그리드 시작점을 조절한 후 움직임 추정 및 대상물 내부 정보의 부호화를 수행함으로써 부호화 효율이 향상되고, 전송 및 저장할 정보량이 감소된다.As described above, the present invention encodes the shape information by adjusting the grid starting point so that the contour of the object image is located at the minimum macro block, and also moves after adjusting the grid starting point so that the shape information encoding signal is located at the minimum macro block. By performing estimation and encoding of the object internal information, the encoding efficiency is improved, and the amount of information to be transmitted and stored is reduced.

Claims (24)

대상물 영상에 따라 형성된 VOP를 MXN의 화소를 가지는 매크로 블록으로 구획하는 구획 단계와, 상기 구획 단계에서 구획된 매크로 블록의 그리드 시작점을 이동시키면서 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 제1서치 단계와, 상기 제1서치 단계에서 찾은 정보량 감소 위치에서 매크로 블록에 존재하는 대상물 영상의 모양 정보를 부호화하는 모양 정보 부호화 단계와, 상기 모양 정보 부호화 단계에서 부호화한 매크로 블록에서 대상물 영상 윤곽선에 따른 정보량 감소 위치를 찾는 제2서치 단계와, 상기 제2서치 단계에서 찾은 정보량 감소 위치에서 매크로 블록의 단위로 움직임을 추정 및 보상하고 서브 블록 단위로 대상물 내부 정보를 부호화하는 움직임 추정/부호화 단계와, 상기 모양 정보 부호화 단계에서 부호화한 모양 정보와 상기 움직임 추정/부호화 단계에서 추정한 움직임 정보 및 부호화한 대상물 내부 정보를 출력하는 출력단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.A partitioning step of dividing the VOP formed according to the object image into a macroblock having pixels of MXN, and a first search step of finding a position of information reduction according to the contour of the object image while moving the grid starting point of the partitioned macroblock in the partitioning step And a shape information encoding step of encoding shape information of the object image existing in the macro block at the information reduction position found in the first search step, and a reduction of the amount of information according to the object image contour in the macro block encoded in the shape information encoding step. A second search step for finding a position, a motion estimation / encoding step for estimating and compensating for motion in units of macro blocks at a reduced amount of information found in the second search step, and encoding object internal information in units of sub blocks; Shape information and images encoded in the information encoding step Motion estimation / motion information and the coding method of the target image for encoding the output of the object inside the information characterized by the output stage made of an estimation by the encoding step. 제1항에 있어서, 제1 및 제2서치 단계는, 전체 매크로 블록을 X축 및/또는 Y축으로 이동시키는 이동 단계와, 상기 이동 단계에서 전체 매크로 블록을 이동시킨 위치에서 대상물 영상에 대한 윤곽선의 정보량을 판단하는 판단 단계와, 상기 판단 단계에서 정보량이 감소되는 위치를 찾아 출력하는 출력 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 1, wherein the first and second search steps include: a moving step of moving the entire macroblock on the X-axis and / or a Y-axis; and an outline of the object image at the position where the entire macroblock is moved in the moving step. And an output step of finding and outputting a position where the information amount decreases in the determination step. 제2항에 있어서, 전체 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 제1이동 카운트 단계와, 상기 제1이동 카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 X축 위치를 설정하는 제1설정 단계와, 상기 제1설정 단계에서 설정한 X축 위치로 매크로 블록을 재구성하고 상기 재구성한 전체 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 제2이동 카운트 단계와, 상기 제2이동 카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 Y축 위치를 설정하는 제2설정 단계와, 상기 제1 및 제2설정 단계에서 설정한 X축 및 Y축 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 2, further comprising: a first shift count step of counting the number of macroblocks in which the contour of the object image exists while moving the entire macroblock on the X axis, and the smallest number of macroblocks in the first shift count step; The first setting step of setting the counted X-axis position, and the macro block is reconstructed to the X-axis position set in the first setting step, and the contour of the object image exists while moving the entire reconstructed macro block to the Y axis A second shift count step of counting the number of macroblocks, a second shift step of setting a Y-axis position counting the smallest number of macroblocks in the second shift count step, and the first and second set steps And a determination step of determining the X-axis and Y-axis positions set as the information amount reduction positions. 제2항에 있어서, 전체 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 제1이동 카운트 단계와, 상기 제1이동 카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 Y축 위치를 설정하는 제1설정 단계와, 상기 제1설정 단계에서 설정한 Y축 위치로 매크로 블록을 재구성하고 상기 재구성한 전체 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 제2이동 카운트 단계와, 상기 제2이동 카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 X축 위치를 설정하는 제2설정 단계와, 상기 제1 및 제2설정 단계에서 설정한 Y축 및 X축 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 2, further comprising: a first shift count step of counting the number of macroblocks in which the contour of the object image exists while moving the entire macroblock on the Y-axis, and the smallest number of macroblocks in the first shift count step; The first setting step of setting the counted Y-axis position, and the contour of the object image exists while reconstructing the macro block to the Y-axis position set in the first setting step and moving the entire reconstructed macro block to the X-axis A second movement counting step of counting the number of macroblocks, a second setting step of setting an X-axis position counting the smallest number of macroblocks in the second movement counting step, and the first and second setting steps And a determination step of determining the Y-axis and the X-axis positions set as the information amount reduction positions. 제2항에 있어서, 전체 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트 하는 제1이동 카운트 단계와, 상기 카운트 단계에서 X축 이동이 완료되었을 경우에 전체 매크로 블록을 Y축으로 이동시킨 후 상기 카운트 단계를 반복 수행하는 제2이동 카운트 단계와, 상기 제1 및 제2이동 카운트 단계에서 Y축 이동이 완료되었을 경우에 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 2, further comprising: a first shift count step of counting the number of macroblocks in which the contour of the object image exists while the entire macroblock is moved on the X-axis, and the entire macro when the X-axis shift is completed in the count step; A second move count step of repeating the count step after moving the block to the Y axis, and X having the smallest number of macroblocks counted when the Y axis move is completed in the first and second move count steps; And a determination step of determining the position of the axis and the Y-axis as the information amount reduction position. 제2항에 있어서, 전체 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 제1이동 카운트 단계와, 상기 카운트 단계에서 Y축 이동이 완료되었을 경우에 전체 매크로 블록을 X축으로 이동시킨 후 상기 카운트 단계를 반복 수행하는 제2이동 카운트 단계와, 상기 제1 및 제2이동 카운트 단계에서 X축 이동이 완료되었을 경우에 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 2, further comprising: a first shift count step of counting the number of macroblocks in which the contour of the object image exists while moving the entire macroblock on the Y-axis; and when the Y-axis shift is completed in the count step A second move count step of repeating the count step after moving the block to the X axis, and X having the smallest number of macroblocks counted when the X axis move is completed in the first and second move count steps And a determination step of determining the position of the axis and the Y-axis as the information amount reduction position. 제2항에 있어서, 전체 매크로 블록을 지그재그로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트하는 이동 카운트 단계와, 상기 카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method according to claim 2, further comprising: a movement counting step of counting macroblocks in which the contour of the object image exists while moving all macroblocks in a zigzag, and a position where the smallest number of macroblocks are counted in the counting step as an information amount reduction position; And a determination step of determining the object image. 제1항에 있어서, 제1및 제2서치 단계는, 전체 매크로블록을 X축 또는 Y축으로 이동시키는 이동 단계와, 상기 이동 단계에서 매크로 블록을 이동시킨 위치에서 대상물 영상의 윤곽선에 대한 각각의 행 또는 열의 X축 또는 Y축 매크로 블록의 정보량을 판단하는 판단 단계와, 상기 판단 단계에서 정보량 감소 위치를 찾아 출력하는 출력 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 1, wherein the first and second search steps include: a moving step of moving the entire macroblock on the X-axis or the Y-axis, and each of the contours of the object image at the position where the macroblock is moved in the moving step. And a determination step of determining the amount of information of the X-axis or the Y-axis macroblock of the row or column, and an outputting step of finding and outputting the information amount reduction position in the determination step. 제8항에 있어서, 전체 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트하는 제1카운트 단계와, 상기 제1카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 위치를 Y축 위치로 설정하는 제1 설정 단계와, 상기 제1설정 단계에서 설정한 Y축 위치에서 X축 각각의 행의 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 위치되는 X축 각각의 행의 매크로 블록을 카운트하는 제2카운트 단계와, 상기 제2카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 위치를 X축 각각의 행의 위치로 설정하는 제2설정 단계와, 상기 제1설정 단계 및 제2설정 단계에서 설정한 Y축 위치 및 X축 각각의 행의 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 8, wherein the first count step of counting the macro block in which the contour of the object image exists while moving the entire macro block on the Y axis, and the position where the smallest number of macro blocks are counted in the first count step. A first setting step of setting the Y-axis position and a row of each X-axis where the contour of the object image is positioned while moving the macroblock of each row of the X-axis to the X-axis at the Y-axis position set in the first setting step A second counting step of counting the macroblocks of the second counting step, a second setting step of setting the position at which the smallest number of macroblocks are counted in the second counting step to a position of each row of the X-axis, and the first setting step And a determining step of determining the position of each of the Y-axis position and the X-axis row set in the second setting step as the information amount reduction position. . 제8항에 있어서, 전체 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록을 카운트하는 제1카운트 단계와, 상기 제1카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 위치를 X축 위치로 설정하는 제1 설정 단계와, 상기 제1설정 단계에서 설정한 X축 위치에서 Y축 각각의 열의 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 위치되는 Y축 각각의 열의 매크로 블록을 카운트하는 제2카운트 단계와, 상기 제2카운트 단계에서 가장 적은 수의 매크로 블록을 카운트한 위치를 Y축 각각의 열의 위치로 설정하는 제2설정 단계와, 상기 제1설정 단계 및 제2설정 단계에서 설정한 X축 위치 및 Y축 각각의 열의 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 8, wherein the first count step of counting the macro block in which the contour of the object image exists while moving the entire macro block on the X axis, and the position where the smallest number of macro blocks are counted in the first count step. The first setting step of setting the X-axis position and the macro of each column of the Y-axis in which the contour of the object image is positioned while moving the macroblock of each column of the Y-axis at the X-axis position set in the first setting step to the Y-axis. A second counting step of counting blocks, a second setting step of setting a position of counting the smallest number of macroblocks in the second counting step as a position of each column of the Y axis, the first setting step and the second setting step And a determination step of determining the position of each of the X-axis position and the Y-axis column set in the setting step as the information amount reduction position. . 제8항에 있어서, X축 각각의 행의 매크로 블록을 X축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 각기 카운트하고 가장 적은 수의 매크로 블록을 카운트한 위치를 X축 각각의 행의 위치로 결정하는 X축 위치 결정 단계와, 상기 X축 위치 결정 단계에서 카운트가 완료될 경우에 전체 매크로 블록을 Y축으로 이동시키고 상기 X축 위치 결정 단계를 반복하는 이동 단계와, 상기 이동 단계에서 Y축 이동이 완료되었을 경우에 상기 X축 위치 결정 단계예서 결정한 X축 각각의 행의 위치에서의 카운트 값을 합산하고 합산한 값이 가장 적은 Y축 위치를 결정하는 Y축 위치 결정 단계와, 상기 Y축 위치 결정 단계에서 결정한 Y축 위치 및그 결정한 Y축 위치에서 가장 적은 매크로 블록을 카운트한 X축 각각의 행의 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method according to claim 8, wherein the number of macroblocks in which the contour of the object image exists and the smallest number of macroblocks are counted while moving the macroblocks of each row of the X-axis in the X-axis. An X-axis positioning step of determining the position of the row; a moving step of moving the entire macroblock to the Y-axis and repeating the X-axis positioning step when the count is completed in the X-axis positioning step; A Y-axis positioning step of summing the count values at the position of each row of the X-axis determined in the X-axis positioning step and determining the Y-axis position with the smallest sum when the Y-axis movement is completed in the step; The position of each row of the X-axis in which the Y-axis position determined in the Y-axis positioning step and the smallest macroblock in the determined Y-axis position is counted as the information amount reduction position. Coding method of the object image, characterized by determining made of an crystal phase. 제8항에 있어서, Y축 각각의 열의 매크로 블록을 Y축으로 이동시키면서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 각기 카운트하고 가장 적은 수의 매크로 블록을 카운트한 위치를 Y축 각각의 열의 위치로 설정하는 Y축 위치 설정 단계와, 상기 Y축 위치 설정 단계에서 카운트가 완료될 경우에 전체 매크로 블록을 X축으로 이동시키고 상기 Y축 위치 결정 단계를 반복하는 이동 단계와, 상기 이동 단계에서 X축 이동이 완료되었을 경우에 상기 Y축 위치 설정 단계에서 설정한 Y축 각각의 열의 위치에서의 카운트 값을 합산하고 합산한 값이 가장 적은 X축 위치를 설정하는 X축 위치 설정 단계와, 상기 X축 위치 설정 단계에서 설정한 X축 위치 및 그 설정한 X축 위치에서 가장 적은 매크로 블록을 카운트한 Y축 각각의 열의 위치를 정보량 감소 위치로 결정하는 결정 단계로 이루어짐을 특징으로 하는 대상물 영상의 부호화 방법.The method of claim 8, wherein the number of macroblocks in which the contour of the object image exists and the smallest number of macroblocks are counted while moving the macroblocks of each column of the Y-axis to the Y-axis. Y-axis position setting step of setting to position, a moving step of moving the entire macroblock to X-axis and repeating the Y-axis positioning step when counting is completed in the Y-axis positioning step, and in the moving step An X-axis position setting step of adding up count values at the position of each column of the Y-axis set in the Y-axis position setting step when the X-axis movement is completed, and setting an X-axis position having the smallest sum value; In the X axis position setting step, set the position of each column of the Y axis that counted the least macro block in the X axis position set in the X axis position as the information reduction position. Coding method of the object image, characterized by determining made of an crystal phase. 제1항 내지 제12항중 어느 하나의 항에 있어서, 정보량 감소 위치는 정보량이 최소인 위치인 것을 특징으로 하는 대상물 영상의 부호화 방법.The encoding method according to any one of claims 1 to 12, wherein the information amount decreasing position is a position where the information amount is minimum. 제1항 내지 제12항중 어느 하나의 항에 있어서, 정보량 감소 위치는 대상물영상의 윤곽선이 존재하는 매크로 블록의 수가 최소로 되는 위치인 것을 특징으로 하는 대상물 영상의 부호화 방법.The encoding method according to any one of claims 1 to 12, wherein the information amount reduction position is a position where the number of macro blocks in which the contour of the object image exists is minimized. 제1항 내지 제12항중 어느 하나의 항에 있어서, 매크로 블록의 이동 범위는 하나의 매크로 블록의 X축 및 Y축 크기 이내인 것을 특징으로 하는 대상물 영상의 부호화 방법.The method according to any one of claims 1 to 12, wherein the moving range of the macro block is within the X and Y axes of one macro block. 제1항 내지 제12항중 어느 하나의 항에 있어서, 매크로 블록의 이동 범위는 하나의 매크로 블록의 X축 및 Y축 크기 이내이고, 단위 화소 간격으로 이동하는 것을 특징으로 하는 대상물 영상의 부호화 방법.The method according to any one of claims 1 to 12, wherein the movement range of the macro block is within the X-axis and Y-axis sizes of one macro block, and moves at unit pixel intervals. 제1항 내지 제12항중 어느 하나의 항에 있어서, 매크로 블록의 이동 범위는 하나의 매크로 블록의 X축 및 Y축 크기 이내이고, 2개의 단위 화소 간격으로 이동하는 것을 특징으로 하는 대상물 영상의 부호화 방법.The encoding method of any one of claims 1 to 12, wherein the movement range of the macroblock is within the X-axis and Y-axis sizes of one macroblock, and is moved at intervals of two unit pixels. Way. 제3항 내지 제7항 및 제9항 내지 제12항중 어느 하나의 항에 있어서, 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축 위치가 복수개 존재할 경우에 매크로 블록의 X축 및 Y축 크기를 각각 1/2로 구획한 후 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하고 가장 적은 수의 매크로 블록을 카운트한 위치를 정보량 감소 위치로 결정하는 것을 특징을 하는 대상물 영상의 부호화 방법.The X and Y axes of the macro block according to any one of claims 3 to 7, and 9 to 12, when there are a plurality of X and Y axis positions in which the smallest number of macro blocks are counted. And dividing the size into half, and counting the number of macroblocks in which the contour of the target image exists and determining the position where the smallest number of macroblocks is counted as the information amount reduction position. . 제18항에 있어서, 매크로 블록의 X축 및 Y축 크기를 각기 1/2로 구획한 후 가장 적은 수의 매크로 블록을 카운트한 위치가 복수개 존재할 경우에 X축 및 Y축 그리드 시작점에서 가장 근접된 위치를 정보량 감소 위치로 결정하는 것을 특징으로 하는 대상물 영상의 부호화 방법.19. The method of claim 18, wherein the X- and Y-axis sizes of the macro block are divided into 1/2, and then the closest to the X- and Y-axis grid starting points when there are a plurality of positions where the smallest number of macro blocks are counted. And a position of the information amount decreasing position. VOP 형성부(11)에서 형성된 대상물 영상에 대한 VOP의 매크로 블록을 이동시켜 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 제1윤곽선 모양적응 블록 분할부(40)와, 상기 윤곽선 모양적응 블록 분할부(40)에서 잦은 정보량 감소 위치의 매크로 블록에 존재하는 대상물의 모양 정보를 부호화하는 모양 부호화부(37)와, 상기 모양 부호화부(37)에서 모양 정보 부호화된 매크로 블록을 이동시켜 대상물 영상의 윤곽선에 따른 정보량 감소 위치를 찾는 제2윤곽선 모양적응 블록 분할부(41)와, 상기 VOP 형성부(11) 및 제2윤곽선 모양적응 블록 분할부(41)의 출력신호로 대상물의 움직임을 추정하는 움직임 추정부(31)와, 상기 움직임 추정부(31)에서 추정된 움직임 정보 및 제2윤곽선 모양적응 블록 분할부(41)의 출력신호로 대상물의 움직임을 보상하는 움직임 보상부(32)와, 상기 움직임 보상부(32)의 출력신호 및 상기 VOP형성부(11)의 출력신호의 차이 값을 검출하는 가산기(33)와, 상기 가산기(33)의 출력신호 및 상기 제2 윤곽선 모양적응 블록 분할부(41)의 출력신호에 따라 대상물의 내부정보를 부호화하는 대상물 내부 부호화부(34)와, 상기 움직임 보상부(32) 및 대상물 내부 부호화부(34)의 출력신호를 가산하는 가산기(35)와, 상기가산기(35)의 출력신호의 출력신호로 이전 화면의 VOP를 검출하여 상기 움직임 추정부(31) 및 움직임 보상부(32)에서 움직임 추정 및 움직임 보상에 사용하도록 하는 이전 VOP 검출부(36)와, 상기 움직임 추청부 (31)에서 추정된 움직임 정보, 대상물 내부 부호화부(34)에서 부호화된 대상물의 내부 정보 및 모양 부호화부(37)에서 부호화된 모양 정보를 출력하는 멀티플렉서(38)로 구성됨을 특징으로 하는 대상물 영상의 부호화 장치.A first outline shape adaptation block dividing unit 40 for moving the macro block of the VOP with respect to the object image formed by the VOP forming unit 11 to find a position of information reduction according to the outline of the object image, and the outline shape adaptation block dividing unit A shape encoder 37 for encoding the shape information of the object present in the macroblock at the frequently reduced amount of information at 40 and the shape block 37 moves the macro block encoded with the shape information to contour the object image. A motion of estimating the motion of the object by the output signal of the second outline shape adaptation block dividing unit 41 and the VOP forming unit 11 and the second outline shape adaptation block dividing unit 41 to find the location of reduced information amount The motion estimator 31 compensates for the motion of the object using the motion signal estimated by the motion estimator 31 and the output signal of the second contour shape adaptation block divider 41. An adder 33 for detecting a difference value between the unit 32, an output signal of the motion compensator 32, and an output signal of the VOP forming unit 11, an output signal of the adder 33, and the first signal; 2 The object internal encoder 34 for encoding the internal information of the object according to the output signal of the contour shape block dividing unit 41, and the output signals of the motion compensation unit 32 and the object internal encoder 34 An adder 35 to add and an output signal of the output signal of the adder 35 detect the VOP of the previous screen and use the motion estimator 31 and the motion compensator 32 for motion estimation and motion compensation. Outputs the previous VOP detector 36, the motion information estimated by the motion estimator 31, the internal information of the object encoded by the object internal encoder 34, and the shape information encoded by the shape encoder 37 Characterized in that consisting of a multiplexer 38 to The encoder in the object image. 제20항에 있어서, 제1 및 제2윤곽선 모양적응 블록 분할부(40)(41)는, 어드레스를 발생할 시작 위치를 매크로 블록의 크기 이내에서 일정 간격씩 이동시켜 출력하는 어드레스 발생 제어 수단과, 상기 어드레스 발생제어 수단이 출력하는 어드레스 시작 위치에 따라 대상물 영상을 매크로 블록으로 구분하여 출력하도록 어드레스를 발생하는 어드레스 발생 수단과, 입력되는 모양 정보를 가지는 대상물 영상을 저장하고 상기 어드레스 발생수단이 발생하는 어드레스에 따라 출력하는 메모리 수단과, 상기 메모리 수단에서 출력되는 신호 중에서 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 카운트하는 블록 수 카운트 수단과, 상기 블록 수 카운트 수단이 카운트한 매크로 블록의 수중에서 가장 적은 수의 매크로 블록을 카운트한 X축 및 Y축의 그리드 시작 위치를 선택하는 최소 매크로 블록 그리드 선택 수단으로 구성됨을 특징으로 하는 대상물 영상의 부호화 장치.21. The apparatus of claim 20, wherein the first and second contour shape adaptation block dividing units (40) (41) comprise: address generation control means for shifting and outputting a start position at which an address is to be generated at regular intervals within the size of the macro block; An address generating means for generating an address to divide and output an object image into macroblocks according to an address start position output by the address generation control means, and storing an object image having input shape information and generating the address image generating means. A memory means for outputting according to an address, a block number counting means for counting the number of macroblocks in which the contour of the object image exists among the signals output from the memory means, and a number of macroblocks counted by the block number counting means Draw the X- and Y-axes with the smallest number of macro blocks Of the object to the image encoding apparatus, characterized by at least consists of a macroblock grid selecting means for selecting the starting point. 제21항에 있어서, 어드레스 발생수단은, 입력되는 대상물 영상의 크기 정보에 따라 매크로 블록의 X축 크기 및 매크로 블록의 Y축 크기를 각기 결정하는 X축 크기 결정 수단 및 Y축 크기 결정 수단과, 어드레스 발생 제어 수단에서 출력되는 어드레스 시작 위치부터 상기 X축 크기 결정 수단 및 Y축크기 결정 수단이 결정한 매크로 블록의 X축 및 Y축의 크기를 구분하고, 구분한 매크로 블록의 X축 및 Y축 크기에 따른 어드레스를 순차적으로 발생하는 영역 어드레스 발생 수단으로 구성됨을 특징으로 하는 대상물 영상의 부호화 장치.22. The apparatus according to claim 21, wherein the address generating means comprises: X-axis size determining means and Y-axis size determining means for respectively determining the X-axis size of the macro block and the Y-axis size of the macro block according to the size information of the input target image; From the address start position output from the address generation control means, the size of the X-axis and the Y-axis of the macroblock determined by the X-axis size determining means and the Y-axis size determining means are divided, And an area address generating means for sequentially generating the corresponding addresses. 제22항에 있어서, 매크로 블록의 X축 및 Y축 크기가 동일할 경우에 하나의 크기 결정 수단으로 매크로 블록의 X축 및 Y축 크기를 결정하는 것을 특징으로 하는 대상물 영상의 부호화 장치.23. The apparatus of claim 22, wherein the size of the X and Y axes of the macro block is determined by one size determining means when the sizes of the X and Y axes of the macro block are the same. 제21항에 있어서, 블록 순 카운트 수단은, 클럭신호를 카운트하여 매크로 블록을 구분하는 영역 카운트 수단과, 메모리 수단에서 출력되는 영상의 매크로 블록을 상기 영역 카운트 수단의 출력신호에 따라 구분하고 대상물의 모양 정보가 존재하는 지의 여부를 판단하는 윤곽선 존재 판단 수단과, 상기 윤곽선 존재 판단 수단의 판단신호를 카운트하여 대상물 영상의 윤곽선이 존재하는 매크로 블록의 수를 출력하는 블록 수 가산 수단으로 구성됨을 특징으로 하는 대상물 영상의 부호화 장치.22. The apparatus of claim 21, wherein the block order counting means comprises: region counting means for counting clock signals to classify macroblocks, and macroblocks of an image output from a memory means according to output signals of the region counting means, and Contour existence judging means for judging whether or not the shape information exists, and a block number adding means for outputting the number of macro blocks in which the contour of the object image exists by counting the determination signal of the contour existence judging means. An apparatus for encoding an object image to be played.
KR1019960027487A 1996-07-08 1996-07-08 Method and apparatus for encoding object image KR100424686B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960027487A KR100424686B1 (en) 1996-07-08 1996-07-08 Method and apparatus for encoding object image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960027487A KR100424686B1 (en) 1996-07-08 1996-07-08 Method and apparatus for encoding object image

Publications (2)

Publication Number Publication Date
KR980013404A KR980013404A (en) 1998-04-30
KR100424686B1 true KR100424686B1 (en) 2004-06-30

Family

ID=37329216

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960027487A KR100424686B1 (en) 1996-07-08 1996-07-08 Method and apparatus for encoding object image

Country Status (1)

Country Link
KR (1) KR100424686B1 (en)

Also Published As

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

Similar Documents

Publication Publication Date Title
KR100523908B1 (en) Apparatus and method for encoding video signal for progressive scan image
KR100488422B1 (en) Grayscale-shaped information encoding / decoding device and method
US5699128A (en) Method and system for bidirectional motion compensation for compression of motion pictures
US9503728B2 (en) Image processing device, decoding method, intra-frame decoder, method of decoding intra-frame and intra-frame encoder
US7471725B2 (en) Segmented motion estimation with no search for small block sizes
JPH07193822A (en) Motion prediction processor and device therefor
KR19990027469A (en) Motion vector coding method and apparatus
JP2000069469A (en) Moving picture encoding method/system and moving picture decoding method/system
KR100424686B1 (en) Method and apparatus for encoding object image
KR100417132B1 (en) Coding method of object image and coding device
KR100420471B1 (en) Coding method and coding device of object image, particularly concerned with moving a macro block for dividing a vop in mpeg-4 to an information reduction position in accordance with shape information of an object image, to improve a coding efficiency
KR100424683B1 (en) Method and apparatus for encoding object image
KR100424685B1 (en) Method and apparatus for encoding object image
KR100424684B1 (en) Method and apparatus for encoding object image
KR100417127B1 (en) Coding method of object image and coding device
KR100417128B1 (en) Encoding Method and Encoding Device of Object Image
KR100417130B1 (en) Coding method of object image and coding device
KR100417137B1 (en) Coding method of object image and coding device
JPH10327401A (en) Motion vector detection method and encoding method and device for picture signal using the same
KR100205850B1 (en) Shape of object adaptive dividing of region method
KR100535632B1 (en) Apparatus and method for shape information encoding / decoding to adaptively border
KR100239291B1 (en) Grid moving method and apparatus using selective pixel investigation
CN1323376C (en) Moving self adaption sequencely scanning device and method using code information as base
CN117440168B (en) Hardware architecture for realizing parallel spiral search algorithm
KR100463003B1 (en) Method for encoding contour of MPEG-4 VOP

Legal Events

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

Payment date: 20110302

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee