KR100269206B1 - Flexible resolution scalable binary shape coder & the method thereof - Google Patents

Flexible resolution scalable binary shape coder & the method thereof Download PDF

Info

Publication number
KR100269206B1
KR100269206B1 KR1019980005471A KR19980005471A KR100269206B1 KR 100269206 B1 KR100269206 B1 KR 100269206B1 KR 1019980005471 A KR1019980005471 A KR 1019980005471A KR 19980005471 A KR19980005471 A KR 19980005471A KR 100269206 B1 KR100269206 B1 KR 100269206B1
Authority
KR
South Korea
Prior art keywords
layer
resolution
vop
binary
pixel
Prior art date
Application number
KR1019980005471A
Other languages
Korean (ko)
Other versions
KR19990070553A (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 KR1019980005471A priority Critical patent/KR100269206B1/en
Publication of KR19990070553A publication Critical patent/KR19990070553A/en
Application granted granted Critical
Publication of KR100269206B1 publication Critical patent/KR100269206B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE: A scalable binary shape coder and a method for the same are provided to obtain an original image of a desired resolution by converting easily resolution between layers with an interlace scan. CONSTITUTION: A scalable binary shape coder is used for obtaining shape information of various resolution by using one bit stream. Blocks of each sample number are divided by n and m, respectively if a conversion rate of an L-layer of a lower resolution to an L+1 layer of a higher resolution is not more than 2. A sampling process(203) for only data(206) of 2(n-m) number of the L+1 layer is performed. The sampled data of the L+1 layer correspond to (n-m) number of the L layer. The remaining data(207) of 2m-n number of the L+1 layer corresponds to data(210) of 2m-n of the L layer without the sampling process.

Description

임의 해상도 다계층 이진형상 부호화기 및 그 방법Arbitrary Resolution Multilayer Binary Coder and Its Method

본 발명은 다계층 이진형상 부호화기에 관한 것으로서, 보다 상세하게는 격주사선 처리 방법을 이용한 다계층 이진형상 부호화 방법에서 계층간 해상도가 자유로운 비율로 변환 가능한 격주사선처리 방법을 이용한 임의 해상도 다계층 이진형상 부호화기 및 그 방법에 관한 것이다.The present invention relates to a multi-layer binary coder, and more particularly, to a multi-resolution binary coder using a bi-layer binary coder, an arbitrary resolution multi-layer binary code using a bi-scan line processing method capable of converting the resolution between layers in a free ratio. An encoder and a method thereof are provided.

종래에는 영상정보가 들어있는 비트 스트림 전송시 비트 스트림을 받는 디바이스의 해상도를 고려하여, 동일한 정보에 대해 그 포맷 방식이 각기 다른 비트 스트림을 전송하였다. 이 방식에 따른 전송 방식을 개선하여 하나의 정보에 여러 해상도의 형상 정보가 들어있는 스케일러블(scalable) 또는 다계층에 적합한 비트 스트림이 전송되어졌다.In the related art, in consideration of the resolution of a device receiving a bit stream when transmitting a bit stream containing image information, bit streams having different formats are transmitted for the same information. By improving the transmission method according to this method, a bit stream suitable for a scalable or multi-layer in which one piece of information includes shape information of various resolutions has been transmitted.

도 1은 다계층 이진형상 부호화기(scalable binary shape coder)의 기본 개념도를 도시한 것으로서, 일반적으로 상술한 다계층 비트 스트림(scaable bit stream)을 전송받아 이진형상 부호화하는 다계층 이진 형상 부호화기는, 기저계층(base layer)(101, 103)과 상위계층(enhancement layer)(102, 104)간의 해상도(resolution) 변환 비율이 1:2로 고정되어있다. 기저계층에서, 형상정보의 최외각을 둘러싼 사각의 경계영역인 비디오 오브젝트 플레인(이하 VOP라 칭함) I VOP는 인트라 부호화(intra coding)를, P VOP(예측 VOP)는 이전 시간에 부호화된 VOP로 부터의 움직임 예측 부호화를하게된다. 기저계층에는 I VOP(101)와 P VOP(103) 두 종류만이 존재하게 된다. 기저계층 I VOP(101)의 상위계층은 P VOP(102)가 된다. 이 P VOP(102)는 기저계층을 보간(upsampling)(106)한 값을 예측 부호화에 이용하여 복원하게 된다. 기저계층이 P VOP(103)인 경우는 상위계층은 B VOP(Bidirectional VOP)(104)가 된다. 이 B VOP(104)는 기저계층을 보간(108)한 값과 이전 VOP(102)값으로부터의 예측값(107) 모두를 이용하여 복원하게 된다. 이와 같은 이진형상 부호화기에서 여기 도시되지 않은 다른 상위계층이 더 존재할 때에는 기저계층(101, 103), 상위계층(102, 104) 및 다른 상위계층(미도시)의 해상도 변환 비율이 1:2:4로 각각 고정될 것이며 상위계층이 몇 개가 더 존재하더라도 그 해상도 변환 비율은 일정한 변환 비율로 고정될 수밖에 없다. 즉, 인접하는 계층간의 해상도 변환비율이 1:2로 고정되어, 여러계층을 동시에 고려하여 다계층을 실현하거나 하나의 비트 스트림상으로 원하는 해상도의 영상을 복원하고자 하는데 많은 제약이 따른다. 또한 종래의 방식에서는 형상 내부의 영상의 텍스춰 정보(texture information)을 고려할 경우, 임의 해상도로의 변환이 가능한 텍스춰 정보와 그렇지 않은 형상정보(shape information)간의 해상도 차이가 발생하여 이를 줄여주기 위해 추가적인 연산이 필요하거나 화질의 저하를 가져올 수 있다.FIG. 1 illustrates a basic conceptual diagram of a scalable binary shape coder. In general, a multilayer binary shape coder for receiving a multi-layered bit stream as described above and performing binary shape encoding on the basis of The resolution conversion ratio between the base layers 101 and 103 and the enhancement layers 102 and 104 is fixed at 1: 2. In the base layer, the video object plane (hereinafter referred to as VOP) I VOP, which is a rectangular boundary region surrounding the outermost part of the shape information, is referred to as intra coding, and P VOP (predicted VOP) as a VOP encoded at a previous time. From motion prediction encoding. Only two types of I VOP 101 and P VOP 103 exist in the base layer. The upper layer of the base layer I VOP 101 becomes the P VOP 102. The P VOP 102 reconstructs the values of the upsampling 106 of the base layer using predictive coding. When the base layer is the P VOP 103, the upper layer is the B VOP (Bidirectional VOP) 104. The B VOP 104 is reconstructed using both the interpolated 108 value of the base layer and the predicted value 107 from the previous VOP 102 value. In such a binary encoder, when there are other higher layers not shown here, the resolution conversion ratio of the base layers 101 and 103, the upper layers 102 and 104, and other higher layers (not shown) is 1: 2: 4. The resolution conversion ratio is bound to be fixed at a constant conversion ratio even if there are several more upper layers. That is, since the resolution conversion ratio between adjacent layers is fixed at 1: 2, there are many limitations in trying to realize a multi-layer or reconstructing an image having a desired resolution on one bit stream by considering multiple layers simultaneously. In addition, in the conventional method, when considering texture information of an image inside a shape, a resolution difference between texture information that can be converted to an arbitrary resolution and shape information that is not occurs occurs to reduce the additional calculation. This may be necessary or may result in degradation of image quality.

본 발명이 이루고자하는 기술적 과제는 격주사선 처리 방법을 이용한 다계층 이진 형상 부호화기내의 다계층 해상도 변환 비율이 자유로운 임의 해상도 다계층 부호화 방법을 제공하는데 있다.The present invention has been made in an effort to provide an arbitrary resolution multi-layer encoding method in which a multi-layer resolution conversion ratio is free in a multi-layer binary shape encoder using a bi-scan line processing method.

도 1은 다계층 이진형상 부호화기의 기본 개념도이다.1 is a basic conceptual diagram of a multilayer binary coder.

도 2a,도 2b는 이진영상의 해상도 변환 방법을 보인 것이다.2A and 2B illustrate a method of converting resolution of binary images.

도 3은 4:1 비율의 해상도 변환의 예를 도시한 것이다.3 shows an example of 4: 1 ratio resolution conversion.

도 4는 임의 비율의 해상도 변환을 위한 비디오 오브젝트 플레인의 형성을 도시한 것이다.4 illustrates the formation of a video object plane for resolution conversion of any ratio.

도 5는 예측된 사각 경계 영역(VOP) 위치의 부정합의 예를 보인 것이다.5 shows an example of mismatch of predicted rectangular boundary region (VOP) position.

도 6은 예측된 사각 경계 영역(VOP) 위치 보정 방법을 보인 것이다.6 illustrates a predicted rectangular boundary region (VOP) position correction method.

도 7은 격주사선 사이의 상관관계를 이용한 데이터 처리방법을 보인 것이다.Figure 7 shows a data processing method using the correlation between every other scan line.

도 8은 부호화를 위한 주사선 방향에 따른 문맥 정보이다.8 is context information according to a scan line direction for encoding.

도 9는 본발명의 임의 해상도 다계층 이진 형상 부호화 방법의 흐름도를 도시한 것이다.9 is a flowchart illustrating an arbitrary resolution multi-layer binary shape coding method of the present invention.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 얻는 임의 해상도 다계층 이진 형상 부호화기는, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크지 않으면, L+1계층 및 L계층의 해상도 변환 비율과 동일하게 각각의 샘플수의 블록을 각각 n 및 m으로 나누어, 상기 L+1계층의 2(n-m)개의 데이터만을 샘플링하여 상기 L계층의 (n-m)개로 대응하고, L+1계층에서 나머지 데이터 2m-n개는 샘플링하지 않고 그대로 L 계층에 대응함을 특징으로 한다.In order to solve the above problems, an arbitrary resolution multi-layer binary shape coder that obtains shape information of various resolutions on one bitstream has a resolution conversion ratio of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution. If it is not larger than 2, each sample block is divided into n and m in the same manner as the resolution conversion ratio of the L + 1 layer and the L layer, and only 2 (nm) data of the L + 1 layer is sampled. It corresponds to (nm) pieces of the L layer, and the remaining 2m-n pieces of data in the L + 1 layer correspond to the L layer without being sampled.

상기 L+1계층에서 상기 L계층으로의 다운샘플링(downsampling)은, 상기 L계층의 화소 좌표 (x, yL)의 수직좌표 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직좌표 yH의 관계에 대해, yL을 m으로 나눈 나머지가 (n - m)보다 작았을 때에는 yH를 2 x (yL% m) + n x (yL/ m) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함이 바람직하다.Downsampling from the L + 1 layer to the L layer includes a vertical coordinate y L of pixel coordinates (x, y L ) of the L layer and pixel coordinates (x, y H ) of the L + 1 layer. For the relationship of the vertical coordinate y H of, if y L divided by m is less than (n-m) then y H is 2 x (y L % m) + nx (y L / m) + 1 Otherwise y H is preferably (y L % m) + nx (y L / m) + (n-m).

상기 L+1계층에서 상기 L계층으로의 업샘플링(upsampling)은, 상기 L계층의 화소 좌표 (x, yL)의 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2(n-m)보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 (yH% n) + m x (yH/ n) + (m - n)으로 함이 바람직하다.Up-sampling (upsampling) to said L layer in said L + 1 layer, y pixel coordinate y L and the pixel coordinates (x, y H) of said L + 1 layer of (x, y L) of the L Layer For the relationship of H , if y H divided by n is less than 2 (nm) y L is (y H % n) / 2 + mx (y H / n) otherwise y L is (y It is preferable to set H % n) + mx (y H / n) + (m-n).

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 얻는 임의 해상도 다계층 이진 형상 부호화기는, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크면, L+1계층 및 L계층의 해상도 변환 비율과 동일하게 각각의 샘플수의 블록을 각각 n 및 m으로 나누어, 상기 L+1계층의 n개의 샘플중 2m개의 데이터만을 샘플링하여 상기 L계층의 m개의 데이터 샘플을 얻고, L+1계층의 나머지 n-2m개의 데이터는 무시하여 L계층으로 대응하지 않음을 특징으로 한다.In order to solve the above problems, an arbitrary resolution multi-layer binary shape coder that obtains shape information of various resolutions on one bitstream has a resolution conversion ratio of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution. If the value is greater than 2, each sample number block is divided into n and m in the same manner as the resolution conversion ratio of the L + 1 layer and the L layer, and only 2m data of the n samples of the L + 1 layer are sampled. M data samples of the L layer are obtained, and the remaining n-2m data of the L + 1 layer are ignored and do not correspond to the L layer.

상기 L+1계층에서 상기 L계층으로의 다운샘플링(downsampling)은, 상기 L계층의 화소 좌표 (x, yL)의 수직좌표 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직좌표 yH의 관계에 있어, yH가 2 x (yL% m) + n x (yL/ m) + 1로 설정됨을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함이 바람직하다.Downsampling from the L + 1 layer to the L layer includes a vertical coordinate y L of pixel coordinates (x, y L ) of the L layer and pixel coordinates (x, y H ) of the L + 1 layer. the vertical position in relation y H, y H is 2 x (y L% m) + nx (y L / m) + arbitrary resolution multi-layer coder binary shape as that set characteristics to 1. and otherwise It is preferable to set y H to (y L % m) + nx (y L / m) + (n-m).

상기 L+1계층에서 상기 L계층으로의 업샘플링(upsampling)은, 상기 L계층의 화소 좌표 (x, yL)의 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2m 보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 m x (yH/ n) + m - 1로 함이 바람직하다.Up-sampling (upsampling) to said L layer in said L + 1 layer, y pixel coordinate y L and the pixel coordinates (x, y H) of said L + 1 layer of (x, y L) of the L Layer For the relationship of H , if y H divided by n is less than 2m then y L is (y H % n) / 2 + mx (y H / n), otherwise y L is mx (y H / n) + m-1 is preferred.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 얻는 임의 해상도 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크면, L+1계층 및 L계층의 해상도 변환 비율이 n:m이라고 할 때, 변환 계층을 각 계층간의 해상도 차이가 2배이상 나지 않는 여러개의 계층으로 나누어 그 각각의 계층에 대해 순차적으로 부호화함을 특징으로 한다.In order to solve the above problems, in an arbitrary resolution multi-layer binary shape encoder which obtains shape information of various resolutions on one bitstream, resolution conversion of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution is performed. If the ratio is greater than 2, and the resolution conversion ratio of the L + 1 layer and the L layer is n: m, the conversion layer is divided into several layers having a resolution difference of not less than two times for each layer. Characterized by sequentially encoding.

상기 나누어진 각 계층간 다운샘플링(downsampling)은, 상위 계층을 N+1계층이라 하고 하위계층을 N계층이라고 하고 N+1 및 N의 샘플링 블록이 각각의 변환 비율과 같은 개수인 j 및 i로 나누어졌을 때, 상기 N계층의 화소 좌표 (x, yL)의 수직좌표 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직좌표 yH의 관계에 대해, yL을 i로 나눈 나머지가 (j - i)보다 작았을 때에는 yH를 2 x (yL% i) + j x (yL/ i) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% i) + j x (yL/ i) + (j - i)로 함이 바람직하다.The downsampling between the divided layers is called N + 1 layer, lower layer is called N layer, and the sampling blocks of N + 1 and N are the same number of conversion ratios as j and i. When divided, y L is defined as i for the relationship between the vertical coordinate y L of the pixel coordinates (x, y L ) of the N layer and the vertical coordinate y H of the pixel coordinates (x, y H ) of the L + 1 layer. Y H is 2 x (y L % i) + jx (y L / i) + 1 if the remainder divided by is less than (j-i), otherwise y H is (y L % i) + Preferably, jx (y L / i) + (j-i).

상기 N+1계층에서 상기 N계층으로의 업샘플링(upsampling)은, 상기 N계층의 화소 좌표 (x, yL)의 yL및 상기 N+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 j로 나눈 나머지 값이 2(j-i)보다 작으면 yL을 (yH% j) / 2 + i x (yH/ j)로하고 그렇지 않으면 yL을 (yH% j) + i x (yH/ j) + (i - j)로 함이 바람직하다.Up-sampling (upsampling) to said N-th layer in the N + 1 layers, y of the pixel coordinates (x, y L) y L and the pixel coordinates (x, y H) in the (N + 1) -th layer of said N layer the relationship of H, is less than the remaining value is 2 (ji) divided by y H to j a y L to (y H% j) / 2 + ix (y H / j) , otherwise, the y L (y H % j) + ix (y H / j) + (i-j) is preferred.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 얻는 임의 해상도 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 하위의 L계층과 해상도가 보다 높은 상위의 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율일 때 이진영상의 해상도 변환시, L+1인 상위계층과 L인 하위계층간의 참조데이타의 손실을 없애기 위해 형상정보를 둘러싸는 사각형 경계영역인 비디오 객체 영역(Video Object Plane: 이하 VOP라 칭함)을 설정하는 방법은, 이진 형상 정보를 입력하는 제1단계; 이진 형상내 객체를 최소 면적으로 둘러싸는 사각형 영역 S'를 구하는 제2단계; 상기 사각형 영역 S의 경계를 해상도 변환한 후 복원한 경계영역의 위치가 원래 정보의 객체 경계와 일치되게 하기 위해, 이진 형상 정보 샘플링을 위해 나눠진 격자(sampling grid)에 사각형 경계가 맞춰지도록 상기 S'의 경계를 확장한 사각형 영역 S를 구하는 제3단계; 및 상기 S의 시작점에서 시작되어 부호화할 단위 샘플링 블록 M x N 크기의 영역을 갖는 사각형 경계 S''를 구하는 제4단계를 구비한다.In order to solve the above problems, in an arbitrary resolution multi-layer binary shape encoder that obtains shape information of various resolutions on one bitstream, a lower L layer having a lower resolution and a higher L + 1 layer having a higher resolution are provided. When converting the resolution of a binary image when the resolution conversion ratio is a predetermined ratio of m to n, the video object region, which is a rectangular boundary region surrounding the shape information, to eliminate the loss of reference data between the upper layer of L + 1 and the lower layer of L ( Video Object Plane (hereinafter referred to as VOP) includes: a first step of inputting binary shape information; Obtaining a rectangular area S 'surrounding the object in the binary shape with the minimum area; In order to ensure that the location of the reconstructed boundary region after the resolution conversion of the boundary of the rectangular region S matches the object boundary of the original information, the square boundary is fitted to a sampling grid divided for binary shape information sampling. Obtaining a rectangular area S that extends the boundary of the second step; And a fourth step of obtaining a rectangular boundary S ″ having an area of a unit sampling block M × N size to be encoded starting from the start point of S.

상기 S'의 시작점이 (x's, y's), S의 시작점이 (xs, ys), 상기 샘플링 격자의 횡축 길이가 dH, 종축 길이가 dV일 때, xs는 x's에서 x's를 2dH로 나눈 나머지값을 뺀 값이고, ys는 y's에서 y's를 2dV로 나눈 나머지값임이 바람직하다.When the starting point of S '(x' s , y ' s ), the starting point of S (x s , y s ), the abscissa length of the sampling grid is d H , the ordinate length is d V , x s is x and "s in the x 's for subtracting the remainder divided by the value H 2d, y s is preferred that remainders obtained by dividing the y' s in y 's by V 2d.

상기 S의 횡, 종축의 길이는, 상기 S'의 횡, 종축의 길이를 각각 H, W라 할 때, 상기 dH에서 상기 W를 dH로 나눈 나머지 (W%dH)를 뺀 값과 상기 dV에서 상기 H를 dV로 나눈 나머지 (H%dV)를 뺀 값을 각각 H, W에 더한 길이임이 바람직하다.Transverse length of the longitudinal axis of the S, and when the length of the lateral, longitudinal axis of the S 'La each H, W, minus the remaining (W% d H) divided by the W by d H in the d H value to be a in the V d obtained by adding the value obtained by subtracting the remainder (H% V d) obtained by dividing the V H d as each H, W in length are preferred.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율일 때, 이진영상의 하위계층에서 객체(object)를 둘러싸는 사각 경계영역(이하 VOP라 칭함)을 업샘플링한 VOP의 시작점이 상위계층에서의 VOP 시작점과 일치하도록 하는 방법은, 상위계층 VOP와 같은 위치와 크기를 갖는 참조 VOP를 만드는 단계; 상위계층 VOP의 시작점을 기준으로 하위계층으로부터 업샘플링된 VOP 의 시작점까지의 변화량만큼 업샘플링된 VOP를 이동하는 단계; 상기 이동한 VOP의 내용중 상기 참조 VOP를 벗어나지 않는 범위만큼의 내용을 복사하는 단계; 및 상기 참조 VOP영역중 상기 이동한 VOP의 내용이 복사되지 않는 나머지 영역을 '0'으로 할당하는 단계를 포함함이 바람직하다.In order to solve the above problems, in a multi-layer binary shape encoder that sequentially obtains shape information of various resolutions on one bitstream, resolution conversion of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution is performed. When the ratio is a predetermined ratio of m to n, the starting point of the VOP upsampling the rectangular boundary region surrounding the object (hereinafter referred to as VOP) in the lower layer of the binary image coincides with the starting point of the VOP in the upper layer. The method may include creating a reference VOP having the same position and size as the upper layer VOP; Moving the upsampled VOP by the amount of change from the lower layer to the start point of the upsampled VOP based on the start point of the upper layer VOP; Copying contents of a range of contents of the moved VOP not exceeding the reference VOP; And allocating a remaining area of the reference VOP area where the contents of the moved VOP is not copied to '0'.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율로서 상기 n/m의 비율이 2이하일 때 상위계층에서의 주사선의 종류는, 상위계층에서 복호화를 통해 복원될 주사선; 상위계층의 이진영상의 주사선을 하위계층으로부터의 해상도 변화시 업샘플링으로 얻는 참조 주사선; 및 하위계층으로부터 그대로 복사된 주사선으로 나뉘어진다.In order to solve the above problems, in a multi-layer binary shape encoder that sequentially obtains shape information of various resolutions on one bitstream, resolution conversion of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution is performed. When a ratio of m / n is a predetermined ratio and the ratio of n / m is 2 or less, the type of scan line in the upper layer includes: a scan line to be restored by decoding in the upper layer; A reference scan line for obtaining a scanning line of a binary image of an upper layer by upsampling when the resolution changes from the lower layer; And a scan line copied as is from the lower layer.

이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에 있어, BAB 내에 부호화할 화소의 위, 아래 주사선의 샘플값이 서로 같으나 부호화할 화소값과는 다른 예외 샘플 데이터가 존재할 때 상기 BAB내의 모든 화소에 대해 부호화를 수행하고, 상기 BAB 내에 상기 예외 샘플 데이터가 존재하지 않으면 위, 아래 주사선이 다를 경우의 화소에 대해서만 부호화를 수행함이 바람직하다.In the structure of encoding binary image information in units of a macro alpha block (BAB), when the sample values of the upper and lower scanning lines of the pixel to be encoded are the same in the BAB, but there are exception sample data different from the pixel values to be encoded. It is preferable to perform encoding on all pixels in the BAB, and to perform encoding only on pixels when the upper and lower scanning lines are different when the exceptional sample data does not exist in the BAB.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율로서 상기 n/m의 비율이 2이상일 때 상위계층에서의 주사선의 종류는, 상위계층에서 복호화를 통해 복원될 주사선; 상위계층의 이진영상의 주사선을 하위계층으로부터의 해상도 변화시 업샘플링으로 얻는 참조 주사선; 및 상위계층에서 하위계층의 화소값 참조 없이 그대로 부호화되는 주사선으로 나뉘어진다.In order to solve the above problems, in a multi-layer binary shape encoder that sequentially obtains shape information of various resolutions on one bitstream, resolution conversion of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution is performed. When the ratio of n / m is 2 or more as a predetermined ratio whose ratio is m to n, the type of scan line in the upper layer includes: a scan line to be restored by decoding in the upper layer; A reference scan line for obtaining a scanning line of a binary image of an upper layer by upsampling when the resolution changes from the lower layer; And scan lines that are encoded as they are without reference to pixel values of lower layers in the upper layer.

이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에 있어, BAB 내에 부호화할 화소의 위, 아래 주사선의 샘플값이 서로 같으나 부호화할 화소값과는 다른 예외 샘플 데이터가 존재할 때 상기 BAB내의 모든 화소에 대해 부호화를 수행하고, 상기 BAB 내에 상기 예외 샘플 데이터가 존재하지 않으면 위, 아래 주사선이 다를 경우의 화소에 대해서만 부호화를 수행함이 바람직하다.In the structure of encoding binary image information in units of a macro alpha block (BAB), when the sample values of the upper and lower scanning lines of the pixel to be encoded are the same in the BAB, but there are exception sample data different from the pixel values to be encoded. It is preferable to perform encoding on all pixels in the BAB, and to perform encoding only on pixels when the upper and lower scanning lines are different when the exceptional sample data does not exist in the BAB.

상기 과제를 해결하기 위한, 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율이고 각 계층에 대한 화소의 이진값 aL, aH, 수직 좌표 yL,yH및 수평좌표 x에 대해 상기 상위계층의 샘플값이 aH[yH][x]이고, 상기 하위계층 L에서의 샘플값이 aL[yL][x]일 때, 이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에서 부호화의 효율을 위해 BAB의 종류를 구분하는 방법은, aH[yH][x]에서 (yH% n) < 2 x (n - m)이고 ((yH% n) % 2)가 '0'인 조건을 만족하는 부호화할 샘플의 위치 yH를 구하는 제1단계(여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자); 샘플의 위치 yH에 해당하는 상위계층 주사선위의 부호화될 화소 aH[yH][x]에서 부호화될 화소의 위, 아래 주사선의 화소값을 구하여, 다음의 수학식 10과 같이In order to solve the above problems, in a multi-layer binary shape encoder that sequentially obtains shape information of various resolutions on one bitstream, resolution conversion of an L layer having a lower resolution and a higher layer L + 1 layer having a higher resolution is performed. The sample value of the upper layer is a H [y H ] with respect to the binary values a L , a H , the vertical coordinates y L, y H and the horizontal coordinate x of the pixel for each layer with a predetermined ratio of m to n. [x], and when the sample value in the lower layer L is a L [y L ] [x], for the efficiency of encoding in the structure of encoding binary image information in units of a macro alpha block (BAB) The type of BAB can be distinguished from a H [y H ] [x] where (y H % n) <2 x (n-m) and ((y H % n)% 2) is '0'. the first step to obtain the position y H in the sample to be coded (here, "%" is an operator which takes the remainders of division, and "/" is a division result when an integer value satisfying the Only takes the operator); The upper that corresponds to the location of the sample y H layer scan line pixels to be encoded in the above H a location of the pixel to be coded in the [H y] [x], obtaining a pixel value below the scanning line, as shown in Equation 10

(여기서 yL=(yH% n)/2 + m x (yH/ n)이고 는 배타적 논리합(XOR) 연산을 의미한다.)Where y L = (y H % n) / 2 + mx (y H / n) Means an exclusive OR operation.)

배타적 논리합(exclusive OR: XOR)를 수행하는 제2단계; 상기 수학식 10의 결과값이 '1'이면 부호화할 값 aH[yH][x]이, 위아래 주사선 화소의 샘플값이 서로 다른 전이 샘플값(TSD)으로 정하는 제3단계; 상기 수학식 10의 결과값이 '0'이고 부호화할 값 aH[yH][x]이 하위계층에서 참조되는 값 aL[yL][x]와 같지 않으면 그 화소값을 예외 샘플 값(ESD)라 하고 ESD를 포함하는 BAB을 예외 BAB(Exeptioanl BAB)으로 하고 종료하는 제4단계; (yH, x)이 yH에의 주사선의 마지막 화소이면 제1단계부터 반복 수행하고, 마지막 화소가 아니면 2단계부터 반복 수행하는 제5단계; 예외 샘플 데이터 ESD가 하나도 없으므로 해당 BAB을 예외 샘플 데이터가 존재하지 않는 전이 BAB으로 하고 과정을 종료하는 제6단계를 구비한다.A second step of performing an exclusive OR (XOR); A third step of setting the value a H [y H ] [x] to be encoded as a transition sample value (TSD) having different sample values of the upper and lower scan line pixels when the result value of Equation 10 is '1'; If the result value of Equation 10 is '0' and the value to be encoded a H [y H ] [x] is not equal to the value a L [y L ] [x] referenced in the lower layer, the pixel value is excluded. A fourth step of ending with an exception BAB (ESD) and an ESD BAB (Exeptioanl BAB); a fifth step of repeating from the first step if (y H , x) is the last pixel of the scan line to y H ; Since there is no exception sample data ESD, there is a sixth step in which the corresponding BAB is a transition BAB in which no exception sample data exists.

상기 다른 과제를 해결하기 위한 임의 해상도 다계층 이진 형상 부호화 방법은, 소정 크기의 이진 영상 정보가 사각 경계 영역(VOP)에 의해 둘러싸여 입력되는 단계; 상위계층과 하위계층의 해상도 비율이 n대 m일 때, 상기 영상 정보를 하위계층에서의 부호화를 위해 다운 샘플링하는 단계; 상기 다운 샘플링된 영상을 소정의 형상부호화기로 무손실 부호화하는 단계; 상위계층의 부호화에 이용하기 위해 상기 부호화된 영상을 업샘플링하고 이 때 상위계층의 원래의 VOP의 시작점과 일치하는 참조 VOP를 생성하는 단계; 상위계층에서 부호화할 주사선의 종류를 선정한 뒤 위, 아래의 참조 주사선을 참조 VOP로부터 얻어, 부호화할 샘플 단위 블록 BAB내에 동일한 위, 아래 화소값과 다른 화소값을 가지는 화소인 예외 정보가 있는지 없는지를 구분하는 단계; 상기 BAB내에 예외 정보가 존재하면, 모든 격주사선내의 화소에 대해 이진 연산 부호화기(Binary Arithmatic Coder)를 사용하여 부호화하고, 예외정보가 존재하지 않으면 인접 주사선간의 배타적 논리합(XOR) 정보가 1인 화소만을 BAC로 부호화하는 단계를 구비한다.According to another aspect of the present invention, there is provided an arbitrary resolution multi-layer binary shape encoding method comprising: inputting binary image information having a predetermined size surrounded by a rectangular boundary region (VOP); Downsampling the image information for encoding in a lower layer when the resolution ratio of the upper layer and the lower layer is n to m; Lossless encoding the down-sampled image with a predetermined shape encoder; Upsampling the encoded image for use in encoding of a higher layer and generating a reference VOP coinciding with a start point of an original VOP of the higher layer; After selecting the type of the scan line to be encoded in the upper layer, the reference scan line is obtained from the reference VOP, and whether there is exception information in the sample unit block BAB to be encoded is a pixel having a different pixel value from the same upper and lower pixel values. Distinguishing; If there is exception information in the BAB, the pixel is encoded using a binary arithmetic coder for all the pixels in every other scan line. If there is no exception information, only the pixels with exclusive ORs between adjacent scan lines is 1 Encoding with BAC.

상기 다운 샘플링하는 단계는, 상기 n/m이 2이하일 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yL을 m으로 나눈 나머지가 (n - m)보다 작았을 때에는 yH를 2 x (yL% m) + n x (yL/ m) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함이 바람직하다.Wherein the down-sampling are, for the relationship of said n / m is 2 or less when, y H of the pixel coordinates (x, y L) y L and the pixel coordinates (x, y H) in the upper layer of the lower layer , if y L divided by m is less than (n-m) then y H is 2 x (y L % m) + nx (y L / m) + 1 otherwise y H is (y L % m) + nx (y L / m) + (n-m) is preferred.

상기 다운샘플링은, n/m이 2이상일 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 있어, yH가 2 x (yL% m) + n x (yL/ m) + 1로 설정됨을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함이 바람직하다.The downsampling is, n / m is 2 or more when, in the relation of y H of the pixel coordinate pixel coordinates (x, y H) in the y L and an upper layer of the (x, y L) of the lower layer, y H Is a 2 x (y L % m) + nx (y L / m) + 1 arbitrary resolution multi-layer binary shape coder, otherwise y H is (y L % m) + nx ( y L / m) + (n-m) is preferred.

상기 업 샘플링은, n/m이 2보다 작을 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2(n-m)보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 (yH% n) + m x (yH/ n) + (m - n)으로 함이 바람직하다.The up-sampling is, n / m at this time is less than 2, the relationship of y H of the pixel coordinates (x, y L) y L and the pixel coordinates (x, y H) in the upper layer of the lower layer, y If the remainder of H divided by n is less than 2 (nm) y L is (y H % n) / 2 + mx (y H / n), otherwise y L is (y H % n) + mx ( y H / n) + (m-n) is preferred.

상기 업샘플링은, n/m이 2이상일 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2m 보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 m x (yH/ n) + m - 1로 함이 바람직하다.The up-sampling is, n / m is 2 or more case, the relationship of y H of the pixel coordinates (x, y L) y L and the pixel coordinates (x, y H) in the upper layer of the lower layer, y H If y is divided by n and less than 2m, then y L is (y H % n) / 2 + mx (y H / n), otherwise y L is mx (y H / n) + m-1 This is preferred.

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

도 2a는 도 1에서의 계층간 해상도 변환을 위한 샘플링 데이터 선정 방법을 나타낸 것으로서, L+1 계층에서의 이진 알파 블록(Binary Alpha Block; 이하 BAB이라 칭함)(201)과 L 번째 계층에서의 BAB(202)이 수직방향으로 n대 m으로 해상도가 변한다고 하면 L+1 계층의 수직방향의 n개의 샘플(205)이 L 계층의 수직방향의 m개의 샘플(208)로 대응된다. 기존의 격주사선 기법(scan interleaving method)은 상위계층의 짝수 주사선(even scan line)(또는 홀수 주사선(odd scan line))을 샘플링하여 기저계층에서 부호화하고 이를 다시 상위계층의 홀수 주사선(또는 짝수 주사선)의 복원에 이용하는 기법으로서 해상도 변화시에 하나씩 건너뛰어 샘플링을 하게 된다. 이 경우 n과 m이 각각 2와 1로서만 한정된다. 이 비율을 보다 확장하기 위해서 L+1번째 계층의 n개의 샘플중 2(n-m)개의 데이터(206)만을 샘플링(203)하여 L번째 계층의 m개의 데이터중 (n-m)개의 샘플(209)을 얻고 L+1번째 계층의 나머지 (2m-n)개의 데이터(207)는 그대로 L번째 계층의 (2m-n)개의 데이터(210)로 대응시킨다(204). 수직방향의 해상도 변환을 고려했을 때, 각 계층에 대한 화소의 이진값을 aL, aH, 수직 좌표 yL,yH및 수평좌표 x라 하면 L+1번째 계층에서의 이진영상 데이터 aH[yH][x]는 다음과 같이 L번째 계층에서의 이진 영상 데이터 aL[yL][x]로 다운 샘플링된다. 이를 수학식 1에서 보인다.FIG. 2A illustrates a sampling data selection method for inter-layer resolution conversion in FIG. 1, wherein a binary alpha block (hereinafter referred to as BAB) 201 in an L + 1 layer and a BAB in an L th layer are illustrated. If 202 varies in resolution by n to m in the vertical direction, n samples 205 in the vertical direction of the L + 1 layer correspond to m samples 208 in the vertical direction of the L layer. Conventional scan interleaving method is to sample the even scan line (or odd scan line) of the upper layer and to encode in the base layer and again to the odd scan line (or even scan line) of the upper layer This technique is used for restoring) and skips sampling one by one when the resolution changes. In this case n and m are limited to 2 and 1, respectively. To further extend this ratio, only 2 (nm) data 206 of the n samples of the L + 1 th layer are sampled 203 to obtain (nm) samples 209 of the m data of the L th layer. The remaining (2m-n) data 207 of the L + 1th layer are mapped to the (2m-n) data 210 of the Lth layer as it is (204). Considering the resolution conversion in the vertical direction, the binary value of the pixel for each layer, a L, a H, the vertical coordinate y L, y H, and the horizontal coordinate x d when L + 1 binary image data in the second layer a H [y H ] [x] is downsampled into binary image data a L [y L ] [x] in the L-th layer as follows. This is shown in equation (1).

aL[yL][x] = aH[yH][x]a L [y L ] [x] = a H [y H ] [x]

여기서 []는 행렬식임을 나타내며, yL과 yH의 관계는 소정의 프로그램 랭귀지에 의해 다음의 수학식 2와 같이 나타낼 수 있다.Here, [] denotes a determinant, and the relationship between y L and y H may be expressed by Equation 2 according to a predetermined program language.

if ((yL% m) < (n - m)){if ((y L % m) <(n-m)) {

yH= 2 x (yL% m) + n x (yL/ m) + 1y H = 2 x (y L % m) + nx (y L / m) + 1

} else {} else {

yH= (yL% m) + n x (yL/ m) + (n - m)y H = (y L % m) + nx (y L / m) + (n-m)

}}

이것은, yL을 m으로 나눈 나머지값이 n에서 m을 뺀 값보다 작으면 yH= 2 x (yL% m) + n x (yL/ m) + 1 인 L+1번째 계층의 y값을 도출하고, 그렇지 않으면 yH= (yL% m) + n x (yL/ m) + (n - m)인 y값을 도출한다는 것을 보인다. 여기서 '%'는 나머지 연산자이고, '/'는 나눗셈후 소수점 이하 자리는 무시한 정수값의 결과만을 내는 연산자이다. 위의 로직과는 반대로 이진영상 데이터 aL[yL][x]로부터 이진영상 데이터 aH[yH][x]는 아래의 수학식3과 같이 업샘플링한다.This is the y value of the layer L + 1, where y H = 2 x (y L % m) + nx (y L / m) + 1 if the remainder of y L divided by m is less than n minus m. It is shown that we derive a value of y otherwise y h = (y L % m) + nx (y L / m) + (n-m). Here, '%' is the remainder operator, and '/' is the operator that returns only the integer value after the decimal point is ignored. Contrary to the above logic, the binary image data a H [y H ] [x] is upsampled from the binary image data a L [y L ] [x] as shown in Equation 3 below.

aH[yH][x] = aL[yL][x]a H [y H ] [x] = a L [y L ] [x]

여기서 yH와yL의 관계는 다음의 수학식 4와 같이 나타낼 수 있다.Here, the relationship between y H and y L may be expressed as in Equation 4 below.

if ((yH% n) < 2 x (n - m)){if ((y H % n) <2 x (n-m)) {

yL= (yH% n) / 2 + m x (yH/ n)y L = (y H % n) / 2 + mx (y H / n)

} else {} else {

yL= (yH% n) + m x (yH/ n) + (m - n)y L = (y H % n) + mx (y H / n) + (m-n)

}}

이것은 yL을 n으로 나눈 나머지값이 2 x (n - m)보다 작으면, L 계층에서의 y값을 (yH% n) / 2 + m x (yH/ n)로 하고, 작지 않으면 그 y값은 (yH% n) + m x (yH/ n) + (m - n)로 한다. 수평방향의 해상도 변환도 같은 방법으로 하면된다. 이러한 업샘플링 및 다운 샘플링시의 상술한바와 같은 y값의 산출은 n/m의 비율이 1보다 크고 2 이하인 경우에만 성립될 수 있다.This means that if the remainder of y L divided by n is less than 2 x (n-m), then y in the L hierarchy is (y H % n) / 2 + mx (y H / n). The y value is set to (y H % n) + mx (y H / n) + (m-n). The horizontal resolution conversion may be performed in the same manner. The calculation of the y value as described above at the time of upsampling and downsampling can be achieved only when the ratio of n / m is greater than 1 and less than or equal to two.

도 2b는 n/m이 2보다 큰 경우의 계층간 해상도 변환을 위한 샘플링 데이터 선정방법을 나타낸다. 여기서 상위계층인 L+1번째 계층에서의 BAB(211)과 하위계층인 L번째 계층에서의 BAB(212)이 수직방향으로 n대 m으로 해상도가 변한다고하면, L+1 계층의 수직방향의 n개의 샘플(214)이 L 계층의 수직방향의 m개의 샘플(215)로 대응된다. 이때 L+1번째 계층의 n개의 샘플중 2m개의 데이터(216)만을 샘플링(213)하여 L번째 계층의 m개의 데이터 샘플(218)을 얻고 L+1번째 계층의 나머지 (n-2m)개의 데이터(217)는 무시된다. 수직방향의 해상도 변환을 고려했을 때, L+1번째 계층의 나머지 n-2m개의 데이터(217)는 무시된다. 수직방향의 해상도 변환을 고려했을 때, L+1번째 계층에서의 이진영상 데이터 aH[yH][x]가 L번째 계층에서의 이진영상 데이터 aL[yL][x]로 수학식 1과 같이 다운 샘플링될 때의 yL과 yH의 관계는 아래의 수학식 5와 같다.2B illustrates a sampling data selection method for inter-layer resolution conversion when n / m is larger than two. Here, if the BAB 211 in the upper layer L + 1 and the BAB 212 in the lower L layer change the resolution in the vertical direction n by m, the vertical direction of the L + 1 layer The n samples 214 correspond to the m samples 215 in the vertical direction of the L layer. In this case, only 2m data 216 of the n samples of the L + 1 th layer are sampled 213 to obtain m data samples 218 of the L th layer and the remaining (n-2m) data of the L + 1 th layer. 217 is ignored. In consideration of the vertical resolution conversion, the remaining n-2m data 217 of the L + 1th layer is ignored. Considering the vertical resolution conversion, binary image data a H [y H ] [x] in the L + 1 layer is converted to binary image data a L [y L ] [x] in the L layer. The relationship between y L and y H when downsampled as shown in 1 is expressed by Equation 5 below.

yH= 2 x (yL% m) + n x (yL/ m) + 1y H = 2 x (y L % m) + nx (y L / m) + 1

반대로 이진영상 데이터 aL[yL][x]로부터 이진영상 데이터 aH[yH][x]로 수학식 3과 같이 업샘플링될 때 yH와 yL의 관계는 다음의 수학식 6과 같이 나타낼 수 있다.In contrast, when upsampled from binary image data a L [y L ] [x] to binary image data a H [y H ] [x] as shown in Equation 3, the relationship between y H and y L is Can be represented as:

if ((yH% n) < 2 x m){if ((y H % n) <2 xm) {

yL= (yH% n) / 2 + m x (yH/ n)y L = (y H % n) / 2 + mx (y H / n)

} else {} else {

yL= m x (yH/ n) + m - 1y L = mx (y H / n) + m-1

}}

수평방향의 해상도 변환도 같은 방법으로 하면된다.The horizontal resolution conversion may be performed in the same manner.

도 2a, 도 2b에 설명한 방법과는 다른 방법으로 아래의 수학식 7과 같이 여러단계로 나누어 연속적으로 각 단계의 해상도를 변화시키는 방법을 사용할 수 있다.As a method different from those described in FIGS. 2A and 2B, a method of changing the resolution of each step continuously may be used by dividing into several steps as shown in Equation 7 below.

여기서here

, , , 를 만족한다. 각 단계에서의 해상도 변화는 수학식 2 및 수학식 4를 이용한다. , , , Satisfies. The change in resolution at each step uses equations (2) and (4).

도 3은 n과 m이 각각 2와 1인 경우에 상위계층의 이진영상(301)이 도 2a, 도 2b에서와 같은 샘플링 과정(303)을 통해 하위계층의 이진영상(302)으로 되는 것을 보인다. 이 경우 2m-n이 '0'이므로 도 2에서의 204과정은 생략된다.3 shows that when n and m are 2 and 1, the binary image 301 of the upper layer becomes the binary image 302 of the lower layer through the sampling process 303 as shown in FIGS. 2A and 2B. . In this case, since 2m-n is '0', step 204 in FIG. 2 is omitted.

도 4는 이진영상의 해상도를 변화시킬 때, 입력영상으로서 형상정보를 둘러싸는 사각형 경계영역으로 이뤄진 VOP를 설정하는 방법을 나타낸다. 이진영상내 객체(object)를 최소의 면적으로 둘러싸는 사각형 영역(401)을 구한다. 이 영역을 다시 해상도 변환후 복원된 경계영역의 위치가 원래의 경계영역과 일치되게 하기위해서, 샘플링 단위(403)에 맞도록 영역을 확장하여 새로운 영역(404)을 얻는다. 여기서 샘플링 단위의 수평(수직) 방향의 거리 dH(dV)는, 수평(수직) 방향으로 기저계층에서 상위계층으로 m대 n으로 해상도가 변하면 기저계층의 경우 m, 상위 계층의 경우는 n이된다. 이것은 해상도 변환과정에서 변화된 위치값이 정수단위 격자에 일치하지 않기 때문에 다시 역과정을 통해 원래의 위치로 복원되게하기 위한 것이다. 샘플링 단위에 일치시키기위해 먼저 객체의 경계(401)의 시작점 S′(y′s,x′s) (402)를 S(ys,xs) (405)로 이동한다. 여기서, ys와 xs는 각각 다음의 수학식 8과 같이 나타낼 수 있다.4 illustrates a method of setting a VOP consisting of a rectangular boundary region surrounding shape information as an input image when changing the resolution of a binary image. The rectangular area 401 surrounding the object in the binary image with the minimum area is obtained. In order to ensure that the position of the restored boundary area after the resolution conversion again matches the original boundary area, the area is extended to fit the sampling unit 403 to obtain a new area 404. Here, the distance d H (d V ) in the horizontal (vertical) direction of the sampling unit is m for the base layer and n for the upper layer if the resolution is changed from m to n from the base layer to the upper layer in the horizontal (vertical) direction. Become. This is to restore the original position through the reverse process because the position value changed during the resolution conversion does not coincide with the integer grid. The starting point of the object's boundary 401 to match the sampling unit S ′ (y ′ s , x ′ s ) (402) S (y s , x s ) Go to 405. Here, y s and x s may be represented by Equation 8 below.

ys=y′s-(y′s%(2dV))y s = y ′ s- (y ′ s % (2d V ))

xs=x′s-(x′s%(2dH))x s = x ′ s- (x ′ s % (2d H ))

여기서 dH와 dV에 2가 곱해진 것은 4:2:0 영상 포맷에서 YUV 텍스춰 값에서 4개의 Y값이 하나의 UV값에 정확히 정합되도록 하기위한 것이다. 시작점이 보정된 후의 경계의 수평, 수직 길이를 각각 W, H라 하면 오른쪽 및 아래쪽 경계를 샘플링 단위에 일치시키기 위해 보상해 주어야 할 값 dW와 dH의 값은 다음의 수학식 9와 같이 구해진다.The multiplication of d H and d V by 2 is to ensure that the four Y values in the YUV texture values match exactly one UV value in the 4: 2: 0 image format. When the horizontal and vertical lengths of the boundary after the starting point are corrected are W and H, respectively, the values dW and dH to be compensated for matching the right and lower borders to the sampling unit are calculated as in Equation 9 below.

dW=dH-(W%dH)dW = d H- (W% d H )

dH=dV-(H%dV)dH = d V- (H% d V )

여기서 (W%dH) (H%dW) 가 '0'이면 dW와 dH도 '0'이다. 부호화는 매크로 블록 단위로 이뤄지므로 좌측상단의 시작점(405)은 고정한채 우측과 아래쪽 경계를 블록크기 M x N단위로 나뉠 수 있도록 확장하면 최종적으로 다계층 부호화기의 입력(406)을 얻는다. 도 4의 VOP 형성 과정을 정리하면 다음과 같다.here (W% d H ) Wow (H% d W ) Is '0', dW and dH are also '0'. Since the encoding is performed in units of macroblocks, the left and top start points 405 are fixed and the right and bottom boundaries are extended to be divided by the block size M x N units, thereby finally obtaining an input 406 of the multilayer encoder. A summary of the VOP formation process of FIG. 4 is as follows.

1) 이진형상 정보 입력1) Input binary shape information

2) 개체를 둘러싸는 최소의 사각형 경계 추출2) Extract the smallest rectangular bounds around an object

3) 샘플링 격자에 사각형 경계 정합3) Matching rectangle boundaries to the sampling grid

4) 사각형 경계의 크기를 시작점을 중심으로 M x N 블록 크기 단위로 확장4) Extend the size of the rectangular boundary in M x N block size units around the starting point

도 5는 VOP의 계층간 해상도 변화과정에서 VOP의 위치가 변화해서 생기는 문제점을 나타낸 것이다. 상위계층의 입력영상의 VOP(501)는 도 2와 도 3에서 설명한 바와 같은 방법으로 수직방향으로 다운 샘플링(503)하여 하위계층의 VOP(504)를 얻을 수 있다. 이를 다시 원래 해상도로 업샘플링(505)하면 결과 영상의 VOP(506)을 얻을 수 있다. 하위계층에서는 상위계층의 입력 VOP(501)에서 다운샘플링되는 주사선(scan line)값(509, 510, 511, 512)이 하위계층의 VOP(504)내의 값으로 대응하여 기존의 임의의 형상부호화 기법에 의해 부호화된다. 그리고 이들 주사선의 사이값(502)은 그 값의 위아래에 있는 샘플값들의 상관관계를 이용하여 부호화된다. 그러나 도 5의 예에서 하위계층에서 부호화되는 주사선값(509, 510, 511)은 업샘플링된 영상의 VOP(506)의 510, 511, 512로 된다. 이것은 상위계층의 입력 VOP(501)의 시작점(507)과 다운샘플링된 VOP(504)의 업샘플링으로 복원된 VOP(506)의 시작점(508)간의 불일치에서부터 발생한다. 이는 상위계층에서 부호화될 주사선(513)이 모두 0이 아니어서 VOP(501)의 경계에 위치하는데도 불구하고 샘플링되는 주사선(509)이 모두 0이어서 다운 샘플링된 VOP(504)의 시작점에 변화가 생겼기 때문이다. 이러한 문제 때문에 부호화시에 오류가 생길 가능성이 있다.5 illustrates a problem caused by the position of the VOP in the process of changing the inter-layer resolution of the VOP. The VOP 501 of the input image of the upper layer may be down-sampled 503 in the vertical direction in the same manner as described with reference to FIGS. 2 and 3 to obtain the VOP 504 of the lower layer. Upsampling this back to the original resolution 505 yields a VOP 506 of the resulting image. In the lower layer, a scan line value 509, 510, 511, or 512 downsampled at the input VOP 501 of the upper layer corresponds to a value in the VOP 504 of the lower layer. Encoded by The value 502 between these scan lines is encoded using the correlation of sample values above and below the value. However, in the example of FIG. 5, the scan line values 509, 510, and 511 encoded in the lower layer become 510, 511, and 512 of the VOP 506 of the upsampled image. This results from a mismatch between the starting point 507 of the input layer VOP 501 of the upper layer and the starting point 508 of the VOP 506 restored to the upsampling of the downsampled VOP 504. This means that although the scan lines 513 to be encoded in the upper layer are not all zeros and are located at the boundary of the VOP 501, the scan lines 509 to be sampled are all zeros so that the start point of the down-sampled VOP 504 is changed. Because. This problem may cause an error in encoding.

도 6은 도 5에서와 같은 부호화시의 오류 발생 가능성의 해결을 위해 상위계층에서 참조할 VOP(602)를 생성하는 것을 보인 것이다. 상위계층에서 참조할 VOP(602)를 생성하기위해서 상위계층 VOP의 시작점과 하위계층으로부터 업샘플링된 VOP(601)의 시작점의 차(start offset)(603)만큼 업샘플링된 VOP(601)를 이동시킨 뒤 참조할 VOP의 크기를 벗어나지 않는 범위(605)만큼 저장한다. 그외의 영역은 0(604)으로 한다. 참조 VOP(602)는 상위계층의 원래의 VOP와 시작점과 크기가 일치한다.FIG. 6 illustrates the generation of a VOP 602 to be referred to by a higher layer in order to solve a possibility of error occurrence in encoding as shown in FIG. 5. Move the upsampled VOP 601 by the start offset 603 of the start point of the upper layer VOP and the start point of the upsampled VOP 601 from the lower layer to generate the VOP 602 to be referred to in the upper layer. After that, the data is stored as long as the range 605 does not exceed the size of the referenced VOP. The other area is set to 0 (604). The reference VOP 602 matches the starting point and size of the original VOP of the upper layer.

도 7의 (a),(b)는 상위계층에서의 주사선의 종류 및 부호화되는 화소들의 종류를 나타낸다. 하위계층에서 상위계층으로의 해상도변화가 m대 n일 때 도 7의 (a)는 n/m이 2보다 작은 경우를, 도 7의 (b)는 2보다 큰 경우를 나타낸다. 주사선(701, 711)은 하위계층으로의 다운샘플링과정에서 소실되는 데이터로 하위계층으로부터 복원되는 주사선(702, 712)들간의 상관관계를 이용하여 부호화한 뒤 복원하여야한다. 주사선(703)은 상위계층에서 하위계층으로 그대로 복사되는 것으로 하위계층에서 함께 부호화된다. 주사선내 부호화되는 샘플은 아래와 같이 두가지 종류로 나눌 수 있다.7 (a) and 7 (b) show types of scan lines and types of pixels to be encoded in an upper layer. When the resolution change from the lower layer to the upper layer is m versus n, FIG. 7A illustrates a case where n / m is smaller than 2 and FIG. 7B illustrates a case where the resolution is larger than 2. The scan lines 701 and 711 are data lost in the downsampling process to the lower layer. The scan lines 701 and 711 should be restored after encoding using the correlation between the scan lines 702 and 712 restored from the lower layer. The scan lines 703 are copied from the upper layer to the lower layer as they are and are encoded together in the lower layer. Samples encoded in the scanning line can be divided into two types as follows.

1) 전이 샘플 데이터(Transitional sample data: TSD): 부호화할 화소의 위, 아래 주사선의 샘플값이 서로 다르다(704, 714).1) Transitional sample data (TSD): The sample values of the upper and lower scanning lines of the pixel to be encoded are different (704, 714).

2) 예외 샘플 데이터(Exceptional sample data:ESD): 부호화할 화소의 위, 아래 주사선의 샘플값이 같고, 이 두 주사선의 화소값이 부호화할 화소와 다르다(705, 715).2) Exception sample data (ESD): The sample values of the upper and lower scan lines of the pixels to be encoded are the same, and the pixel values of these two scan lines are different from the pixels to be encoded (705, 715).

주사선(713)내의 화소는 하위계층에서의 참조없이 다단계 부호화 기법을 사용하지 않고 부호화한다. 통상적으로 형상정보의 경우는 위, 아래 주사선이 같을 경우 부호화하려는 화소 또한 같은 경우가 대부분이다. 따라서 16x16 크기의 이진영상의 매크로 블록, 즉 BAB 단위로 부호화하는 구조에 있어, 부호화할 화소의 위, 아래 주사선의 샘플값은 서로 같고 부호화할 화소와는 다른 예외 샘플 데이터값이 BAB에 존재하지 않을 경우에, 위, 아래 주사선의 샘플값이 서로 다른 경우(704, 714)에만 부호화를 하게되므로 실제로 부호화할 화소수가 상당량 줄어들어 부호화 효율이 개선된다. BAB내에 예외 샘플 데이터값이 하나라도 존재하는 경우(705, 715) 모든 화소에 대해서 부호화해야 한다. 그러나 이런 경우가 발생하는 비율이 극히 낮으므로 전체 다계층 부호화에서는 이득이 발생한다. BAB내의 예외 샘플 데이터값의 존재여부에 따라 BAB을 다음과 같이 두가지 종류로 나누어 부호화한다.The pixels in the scanning line 713 are encoded without using a multi-stage encoding technique without reference in the lower layer. In general, in the case of shape information, when the upper and lower scanning lines are the same, the pixels to be encoded are also the same. Therefore, in the structure of encoding 16x16 binary image macroblock, that is, BAB unit, if the sample values of the upper and lower scan lines of the pixel to be encoded are the same and there are no exception sample data values different from the pixel to be encoded, Since the encoding is performed only when the sample values of the upper and lower scan lines are different (704, 714), the number of pixels to be encoded is substantially reduced, thereby improving the encoding efficiency. If at least one exception sample data value exists in the BAB (705, 715), all pixels must be encoded. However, the rate at which such cases occur is extremely low, resulting in gain in the entire multilayer coding. Depending on the existence of an exception sample data value in BAB, BAB is encoded into two types as follows.

1) 전이 BAB(Transitional BAB: TBAB): BAB내에 예외 샘플 데이터 ESD가 하나도 존재하지 않는다.1) Transitional BAB (TBAB): There is no exception sample data ESD in the BAB.

2) 예외 BAB(Exeptional BAB: EBAB): BAB내에 예외 샘플 데이터 ESD가 적어도 한 개 이상 존재한다.2) Exception BAB (EBAB): At least one exception sample data ESD is present in the BAB.

도 7의 (a),(b)의 샘플값이 aH[yH][x]라 하고 하위계층의 샘플값을 aL[yL][x]이라 하면, BAB 내의 부호화되는 주사선(701, 711)의 구분 및 부호화되는 주사선내의 화소의 종류, 그리고 상위계층의 BAB의 구분은 다음과 같이 진행된다. 여기서는 수직방향으로의 해상도 변화만을 고려하였다.When the sample values in FIGS. 7A and 7B are a H [y H ] [x] and the sample values of the lower layer are a L [y L ] [x], the scanning line 701 encoded in BAB , 711, and the type of the pixel in the scanning line to be encoded, and the BAB of the upper layer, proceed as follows. Only the change in resolution in the vertical direction is considered here.

1) aH[yH][x]에서 부호화할 샘플의 위치 yH를 구한다. 여기서 yH는 (yH% n) < 2 x (n - m)이고 ((yH% n) % 2)는 '0'인 조건을 만족해야한다.1) Find the position y H of the sample to be encoded by a H [y H ] [x]. Where y H is (y H % n) <2 x (n-m) and ((y H % n)% 2) must satisfy the condition '0'.

2) 샘플의 위치 yH에 해당하는 상위계층 주사선위의 부호화될 화소 aH[yH][x]에서 부호화될 화소의 위, 아래 주사선의 화소값을 구하여, 다음의 수학식 10과 같이 배타적 논리합(exclusive OR: XOR)를 한다.2) The pixel values of the upper and lower scanning lines of the pixel to be encoded are obtained at the pixel a H [y H ] [x] to be encoded on the upper layer scanning line corresponding to the position y H of the sample, and is exclusively expressed as in Equation 10 below. Perform an exclusive OR (XOR).

[수학식 10][Equation 10]

XOR[yH][x]=aL[yL-1][x] aL[yL+1][x]XOR [y H ] [x] = a L [y L -1] [x] a L [y L +1] [x]

여기서 yL=(yH% n)/2 + m x (yH/ n)이고 는 배타적 논리합(XOR) 연산을 의미한다.Where y L = (y H % n) / 2 + mx (y H / n) Denotes an exclusive OR operation.

3) 상기 수학식 10의 값이 '1'이면 부호화할 값 aH[yH][x]이 전이 샘플값 TSD가 되어 다음의 4)로 이행하고, 상기 수학식 10의 값이 '0'이고 부호화할 값 aH[yH][x]이 하위계층에서 참조되는 값 aL[yL][x]와 같지 않으면 그 화소값을 예외 샘플 값 ESD라 하고 ESD를 포함하는 BAB을 예외 BAB(Exeptioanl BAB)으로 하고 과정을 종료한다.3) If the value of Equation 10 is '1', the value to be encoded a H [y H ] [x] becomes the transition sample value TSD and proceeds to 4) below, and the value of Equation 10 is '0'. And the value to be encoded a H [y H ] [x] is not equal to the value a L [y L ] [x] referenced in the lower layer, the pixel value is called the exception sample value ESD and the BAB containing ESD is excluded. (Exeptioanl BAB) and the process ends.

4) (yH, x)이 yH에의 주사선의 마지막 화소이면 앞서의 1)의 과정으로 이행하고 그렇지 않으면 2)의 과정으로 이행한다.4) If (y H , x) is the last pixel of the scan line to y H , the process proceeds to 1) above, and otherwise proceeds to 2).

5) 예외 샘플 데이터 ESD가 하나도 없으므로 BAB을 전이 BAB으로 하고 과정을 종료한다.5) Since there is no exception sample data ESD, set BAB as transition BAB and terminate the process.

주사선(713)내의 모든 화소는 하위계층에서의 참조없이 부호화한다.All the pixels in the scanning line 713 are encoded without reference in the lower layer.

도 8의 (a),(b)는 부호화할 BAB내에서 부호화할 샘플을 이진 연산 부호화기(Binary Arithmetic Coder:BAC)에 의해 부호화할 때 이용할 주위화소의 문맥(context) 정보의 배열을 나타낸다. BAC를 이용한 부호화는 다음의 과정을 통해 부호하한다.8A and 8B show an arrangement of context information of surrounding pixels to be used when a sample to be encoded in a BAB to be encoded is encoded by a binary arithmetic coder (BAC). Encoding using BAC is coded through the following process.

1) 부호화할 화소 주위값(Ck)을 이용하여 7비트 문맥을 다음의 수학식 11을 이용하여 구한다.1) Using the pixel peripheral value C k to be encoded, a 7-bit context is obtained using Equation 11 below.

2) 문맥값에 해당하는 화소가 '0'일 확률을 128개의 확률 테이블에서 구한다.2) The probability that the pixel corresponding to the context value is '0' is obtained from 128 probability tables.

3) 과정 2)에서 구한 확률 분포를 이용하여 BAC에 의한 화소의 부호화를 수행한다.3) The BAC is encoded by using the probability distribution obtained in step 2).

실제로 하위계층에서 상위계층으로 부호화할 때 수직방향의 샘플링과 수평방향의 샘플링이 독립적으로 부호화된다. 도 8의 (a)는 하위계층에서 상위계층으로 부호화할 때 수평방향으로의 업샘플링이 먼저되고 수직방향의 업샘플링이 일어나는 경우(803)를 나타낸다. 이 때 부호화할 화소가 수직방향의 주사선일 경우(801)과 같은 배열로 문맥정보를 얻고 수평방향의 주사선일 경우(802)와 같은 배열로부터 문맥 정보를 얻는다. 문맥정보는 상위계층의 해상도에서 계산되는 것으로 숫자가 표시되지 않은 경우는 복호화시 알 수 없는 화소값이다. 도 8의 (b)의 경우는 수직방향 복원후 수평방향의 복원(813)이 일어나는 경우를 나타낸다. 이 때 수평방향의 주사선의 경우(811)과 같은 배열로 문맥정보를 얻고 수평방향의 주사선의 경우(812)와 같은 배열로 문맥정보를 얻는다.In fact, when coding from a lower layer to a higher layer, vertical sampling and horizontal sampling are independently encoded. FIG. 8A illustrates a case in which upsampling in the horizontal direction is performed first and upsampling in the vertical direction occurs first when encoding from the lower layer to the upper layer (803). At this time, the context information is obtained in the same array as in the case where the pixel to be encoded is the scanning line in the vertical direction (801), and the context information is obtained in the same arrangement as in the case of the scanning line in the horizontal direction (802). The context information is calculated at the resolution of the upper layer. If the number is not displayed, the context information is an unknown pixel value during decoding. In the case of FIG. 8B, the horizontal reconstruction 813 occurs after the vertical reconstruction. At this time, the context information is obtained in the same arrangement as that of the horizontal scanning line (811) and the context information is obtained in the same arrangement as the case of the horizontal scanning line (812).

도 9는 전체 부호화 과정의 흐름도를 도시한 것으로서, 먼저 입력 객체를 포함하는 사각 경계영역 VOP가 입력으로 들어오고(901) 하위계층에서의 부호화를 위해 다운 샘플링된다(902). 여기서 VOP는 도 4와 같은 방법을 사용하여 구해진다. 다운 샘플링은 도 2a, 도 2b 및 도 3에 나타난 방법을 사용하여 임의의 비율로 이뤄질 수 있다. 다운 샘플링된 영상은 임의의 형상부호화기로 무손실 부호화된다. 하위 계층의 부호화된 영상은 업 샘플링되어(904) 상위계층의 부호화에 이용된다. 이 때 참조 VOP의 시작점을 상위계층의 원래의 VOP의 시작점과 일치시킨다(905). 이 과정은 도 6에서 설명한 바와 같은 방법으로 수행된다. 상위계층에서 부호화할 주사선을 선정한 뒤 위, 아래의 참조 주사선을 참조 VOP로부터 얻어 BAB이 예외 BAB인지, 전이 BAB인지를 구분한다(906). BAB내에 예외정보가 존재하는지를 판단하여(907) 존재하면 모든 격주사선에 대해 BAC를 이용하여 부호화하고, 존재하지 않으면 인접 주사선간의 배타적 논리합 정보가 1인 화소만을 BAC로 부호화한다.9 illustrates a flowchart of an entire encoding process, in which a rectangular boundary region VOP including an input object is input as an input (901) and downsampled for encoding in a lower layer (902). Here, VOP is obtained using the method as shown in FIG. Down sampling can be done at any rate using the method shown in FIGS. 2A, 2B and 3. The down sampled image is losslessly coded with any shape encoder. The encoded image of the lower layer is upsampled (904) and used for encoding of the upper layer. At this time, the starting point of the reference VOP coincides with the starting point of the original VOP of the upper layer (905). This process is performed by the method as described in FIG. After selecting the scan lines to be encoded in the upper layer, the reference scan lines are obtained from the reference VOP, and then the distinction is made whether the BAB is an exception BAB or a transition BAB (906). It is determined whether there is exception information in the BAB (907), and if it exists, all bi-scanning lines are encoded by using the BAC. Otherwise, only pixels having exclusive OR information between adjacent scan lines are encoded by the BAC.

본 발명에 의하면 계층간의 해상도 변환 비율이 자유로워지기 때문에 사용자가 원하는 해상도로의 복원영상을 얻을 수 있고 다계층 부호화 과정에서의 순차적 전송과정이 단순해지고 압축효율이 높아진다.According to the present invention, since the resolution conversion ratio between layers is free, a reconstructed image can be obtained at a resolution desired by the user, and the sequential transmission process in the multi-layer encoding process is simplified and the compression efficiency is increased.

Claims (23)

하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크지 않으면, L+1계층 및 L계층의 해상도 변환 비율과 동일하게 각각의 샘플수의 블록을 각각 n 및 m으로 나누어, 상기 L+1계층의 2(n-m)개의 데이터만을 샘플링하여 상기 L계층의 (n-m)개로 대응하고, L+1계층에서 나머지 데이터 2m-n개는 샘플링하지 않고 그대로 L 계층에 대응시키는 임의 해상도 다계층 이진 형상 부호화기.If the resolution conversion ratio of the lower L layer and the higher layer L + 1 layer having a higher resolution is not greater than 2, n blocks of the number of samples are respectively equal to the resolution conversion ratio of the L + 1 layer and the L layer. Dividing by m, and sampling only 2 (nm) data of the L + 1 layer to correspond to (nm) of the L layer, and remaining 2m-n data of the L + 1 layer in the L layer without being sampled. Matching arbitrary resolution multilayer binary shape coder. 제1항에 있어서, 상기 L+1계층에서 상기 L계층으로의 다운샘플링(downsampling)은,The method of claim 1, wherein downsampling from the L + 1 layer to the L layer comprises: 상기 L계층의 화소 좌표(x, yL)의 수직 좌표값 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직 좌표값 yH의 관계에 대해, yL을 m으로 나눈 나머지가 (n - m)보다 작았을 때에는 yH를 2 x (yL% m) + n x (yL/ m) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.The relationship between the vertical coordinate value y H of the vertical coordinate y L and the pixel coordinates (x, y H) of said L + 1 layer of the pixel coordinates (x, y L) of the L layer, divided by the y L in m Y H is 2 x (y L % m) + nx (y L / m) + 1 when the remainder is less than (n-m), otherwise y H is (y L % m) + nx ( y L / m) + (n-m). (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 제1항에 있어서, 상기 L+1계층에서 상기 L계층으로의 업샘플링(upsampling)은,The method of claim 1, wherein upsampling from the L + 1 layer to the L layer is performed. 상기 L계층의 화소 좌표 (x, yL)의 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2(n-m)보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 (yH% n) + m x (yH/ n) + (m - n)으로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.About the relationship of y H y L and the pixel coordinates (x, y H) of said L + 1 layer of the pixel coordinates (x, y L) of the L layer, the remaining value of 2 divided by the y H with n (nm ) the y L is smaller than (y H% n) / 2 + mx (y H / n) in, and the y L or else (y H% n) + mx (y H / n) + (m - n) An arbitrary resolution multilayer binary shape encoder characterized by the above-mentioned. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크면, L+1계층 및 L계층의 해상도 변환 비율과 동일하게 각각의 샘플수의 블록을 각각 n 및 m으로 나누어, 상기 L+1계층의 n개의 샘플중 2m개의 데이터만을 샘플링하여 상기 L계층의 m개의 데이터 샘플을 얻고, L+1계층의 나머지 n-2m개의 데이터는 무시하여 L계층으로 대응하지 않음을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.If the resolution conversion ratio of L layer with lower resolution and L + 1 layer with higher resolution is greater than 2, n and each block of samples are equal to the resolution conversion ratio of L + 1 layer and L layer, respectively. dividing by m, sampling only 2m of the n samples of the L + 1 layer to obtain m data samples of the L layer, and ignoring the remaining n-2m data of the L + 1 layer to correspond to the L layer. And a random resolution multilayer binary shape coder. 제4항에 있어서, 상기 L+1계층에서 상기 L계층으로의 다운샘플링(downsampling)은,The method of claim 4, wherein downsampling from the L + 1 layer to the L layer is 상기 L계층의 화소 좌표 (x, yL)의 수직 좌표 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직 좌표 yH의 관계에 있어, yH가 2 x (yL% m) + n x (yL/ m) + 1로 설정됨을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.In the relationship between the vertical coordinate y L of the pixel coordinates (x, y L ) of the L layer and the vertical coordinate y H of the pixel coordinates (x, y H ) of the L + 1 layer, y H is 2 x (y L % m) + nx (y L / m) + 1, multi-layer binary shape coder, otherwise set y H to (y L % m) + nx (y L / m) + and (n-m), an arbitrary resolution multi-layer binary shape coder. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 제4항에 있어서, 상기 L+1계층에서 상기 L계층으로의 업샘플링(upsampling)은,The method of claim 4, wherein upsampling from the L + 1 layer to the L layer comprises: 상기 L계층의 화소 좌표 (x, yL)의 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2m 보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 m x (yH/ n) + m - 1로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.About the relationship of y H y L and the pixel coordinates (x, y H) of said L + 1 layer of the pixel coordinates (x, y L) of the L layer, the remainders obtained by dividing the y H to n is less than 2m Multi-layer binary shape with y L as (y H % n) / 2 + mx (y H / n), otherwise y L as mx (y H / n) + m-1. Encoder. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 2보다 크면, L+1계층 및 L계층의 해상도 변환 비율이 n:m이라고 할 때, 변환 계층을 각 계층간의 해상도 차이가 2배이상 나지 않는 여러개의 계층으로 나누어 그 각각의 계층에 대해 순차적으로 부호화함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.If the resolution conversion ratio of L layer with lower resolution and L + 1 layer with higher resolution is larger than 2, the resolution layer is n: m when the resolution conversion ratio of L + 1 layer and L layer is n: m. An arbitrary resolution multi-layer binary shape encoder characterized by dividing into multiple layers having a resolution difference of not more than twice. 제7항에 있어서, 나누어진 각 계층간 다운샘플링(downsampling)은,The method of claim 7, wherein downsampling between each divided layer is 상위 계층을 N+1계층이라 하고 하위계층을 N계층이라고 하고 N+1 및 N의 샘플링 블록이 각각의 변환 비율과 같은 개수인 j 및 i로 나누어졌을 때, 상기 N계층의 화소 좌표 (x, yL)의 수직 좌표 yL및 상기 L+1계층의 화소 좌표 (x, yH)의 수직좌표 yH의 관계에 대해, yL을 i로 나눈 나머지가 (j - i)보다 작았을 때에는 yH를 2 x (yL% i) + j x (yL/ i) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% i) + j x (yL/ i) + (j - i)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.When the upper layer is called an N + 1 layer and the lower layer is called an N layer, and the sampling blocks of N + 1 and N are divided by j and i, which are equal to the respective conversion ratios, the pixel coordinates (x, when the smaller than i) - the vertical coordinate of y L) y L, and the remainder obtained by dividing a, y L to the relationship of the vertical coordinate y H to i of the pixel coordinates (x, y H) of said L + 1 layer (j Let y H be 2 x (y L % i) + jx (y L / i) + 1, otherwise y H is (y L % i) + jx (y L / i) + (j-i) An arbitrary resolution multi-layer binary shape encoder characterized by the above-mentioned. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 제8항에 있어서, 상기 N+1계층에서 상기 N계층으로의 업샘플링(upsampling)은,The method of claim 8, wherein upsampling from the N + 1 layer to the N layer is performed. 상기 N계층의 화소 좌표 (x, yL)의 yL및 상기 N+1계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 j로 나눈 나머지 값이 2(j-i)보다 작으면 yL을 (yH% j) / 2 + i x (yH/ j)로하고 그렇지 않으면 yL을 (yH% j) + i x (yH/ j) + (i - j)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.The pixel coordinates of the N layer (x, y L) of y L and the pixel coordinates for the relationship of y H (x, y H) , the remaining value of 2 divided by the y H to j (ji of said N + 1 layer ) small, the y L (y H% j) / 2 + ix (y to the H / j), otherwise, the y L (y H% j) + ix (y H / j) + (i than - j) An arbitrary resolution multi-layer binary shape encoder characterized by the above-mentioned. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 하위의 L계층과 해상도가 보다 높은 상위의 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율일 때 이진영상의 해상도 변환시, L+1인 상위계층과 L인 하위계층간의 참조데이타의 손실을 없애기 위해 형상정보를 둘러싸는 사각형 경계영역인 비디오 객체 영역(Video Object Plane: 이하 VOP라 칭함)을 설정하는 방법은,When the resolution conversion ratio of the lower L layer with lower resolution and the upper L + 1 layer with higher resolution is a predetermined ratio of m to n, when the resolution of the binary image is converted, the upper layer between L + 1 and the lower layer L is used. In order to eliminate the loss of reference data, a method of setting a video object plane (hereinafter referred to as VOP), which is a rectangular boundary area surrounding shape information, 이진 형상 정보를 입력하는 제1단계;A first step of inputting binary shape information; 이진 형상내 객체를 최소 면적으로 둘러싸는 사각형 영역 S'를 구하는 제2단계;Obtaining a rectangular area S 'surrounding the object in the binary shape with the minimum area; 상기 사각형 영역 S의 경계를 해상도 변환한 후 복원한 경계영역의 위치가 원래 정보의 객체 경계와 일치되게 하기 위해, 이진 형상 정보 샘플링을 위해 나눠진 격자(sampling grid)에 사각형 경계가 맞춰지도록 상기 S'의 경계를 확장한 사각형 영역 S를 구하는 제3단계; 및In order to ensure that the location of the reconstructed boundary region after the resolution conversion of the boundary of the rectangular region S matches the object boundary of the original information, the square boundary is fitted to a sampling grid divided for binary shape information sampling. Obtaining a rectangular area S that extends the boundary of the second step; And 상기 S의 시작점에서 시작되어 부호화할 단위 샘플링 블록 M x N 크기의 영역을 갖는 사각형 경계 S''를 구하는 제4단계를 포함함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.And obtaining a rectangular boundary S ″ having an area of a unit sampling block M × N size to be encoded starting from the starting point of S. 4. 제10항에 있어서,The method of claim 10, 상기 S'의 시작점이 (x's, y's), S의 시작점이 (xs, ys), 상기 샘플링 격자의 횡축 길이가 dH, 종축 길이가 dV일 때, 수평 좌표 xs는 x's에서 x's를 2dH로 나눈 나머지값을 뺀 값이고, 수직좌표 ys는 y's에서 y's를 2dV로 나눈 나머지값임을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.When the starting point of S '(x' s , y ' s ), the starting point of S (x s , y s ), the horizontal axis length of the sampling grid is d H , the vertical axis length is d V , the horizontal coordinate x s is x, and 'in s x' s for subtracting the remainder divided by the 2d H value, the vertical coordinate y s is y 's in y' s arbitrary resolution multi-layered binary shape encoder, it characterized in that the remainder divided by the 2d V . 제11항에 있어서, 상기 S의 횡, 종축의 길이는,12. The length of the horizontal and vertical axes of S is according to claim 11, 상기 S'의 횡, 종축의 길이를 각각 H, W라 할 때, 상기 dH에서 상기 W를 dH로 나눈 나머지 (W%dH)를 뺀 값과 상기 dV에서 상기 H를 dV로 나눈 나머지 (H%dV)를 뺀 값을 각각 H, W에 더한 길이임을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.When the length of the lateral, longitudinal axis of the S 'La each H, W, the H in the d from H, remove the remaining (W% d H) divided by the W by d H value and the d V a d V A random resolution multi-layer binary shape encoder, characterized in that the length obtained by subtracting the remainder (H% d V ) is added to H and W, respectively. 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율일 때, 이진영상의 하위계층에서 객체(object)를 둘러싸는 사각 경계영역(이하 VOP라 칭함)을 업샘플링한 VOP의 시작점이 상위계층에서의 VOP 시작점과 일치하도록 하는 방법은,A rectangular boundary region surrounding an object in the lower layer of the binary image (hereinafter referred to as VOP) when the resolution conversion ratio of the lower resolution L layer and the higher resolution higher layer L + 1 layer is m to n. The starting point of the upsampled VOP coincides with the starting point of the VOP in the upper layer. 상위계층 VOP와 같은 위치와 크기를 갖는 참조 VOP를 만드는 단계;Creating a reference VOP having the same position and size as the upper layer VOP; 상위계층 VOP의 시작점을 기준으로 하위계층으로부터 업샘플링된 VOP 의 시작점까지의 변화량만큼 업샘플링된 VOP를 이동하는 단계;Moving the upsampled VOP by the amount of change from the lower layer to the start point of the upsampled VOP based on the start point of the upper layer VOP; 상기 이동한 VOP의 내용중 상기 참조 VOP를 벗어나지 않는 범위만큼의 내용을 복사하는 단계; 및Copying contents of a range of contents of the moved VOP not exceeding the reference VOP; And 상기 참조 VOP영역중 상기 이동한 VOP의 내용이 복사되지 않는 나머지 영역을 '0'으로 할당하는 단계를 포함함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.And allocating a remaining region of the reference VOP region, in which the contents of the moved VOP is not copied, to '0'. 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율로서 상기 n/m의 비율이 2이하일 때 상위계층에서의 주사선의 종류는,When the ratio L / 1 of lower resolution and higher layer L + 1 of higher resolution is a predetermined ratio of m to n, and the ratio of n / m is 2 or less, the type of scan line in the upper layer is 상위계층에서 복호화를 통해 복원될 주사선;A scan line to be restored by decoding in an upper layer; 상위계층의 이진영상의 주사선을 하위계층으로부터의 해상도 변화시 업샘플링으로 얻는 참조 주사선; 및A reference scan line for obtaining a scanning line of a binary image of an upper layer by upsampling when the resolution changes from the lower layer; And 하위계층으로부터 그대로 복사된 주사선으로 나뉘어짐을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.An arbitrary resolution multi-layer binary shape encoder characterized by being divided into scan lines that are copied as is from the lower layer. 제14항에 있어서,The method of claim 14, 이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에 있어, BAB 내에 부호화할 화소의 위, 아래 주사선의 샘플값이 서로 같으나 부호화할 화소값과는 다른 예외 샘플 데이터가 존재할 때 상기 BAB내의 모든 화소에 대해 부호화를 수행하고, 상기 BAB 내에 상기 예외 샘플 데이터가 존재하지 않으면 위, 아래 주사선이 다를 경우의 화소에 대해서만 부호화를 수행함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.In the structure of encoding binary image information in units of a macro alpha block (BAB), when the sample values of the upper and lower scanning lines of the pixel to be encoded are the same in the BAB, but there are exception sample data different from the pixel values to be encoded. And encoding all pixels in the BAB, and performing encoding only on pixels when the upper and lower scanning lines are different when the exceptional sample data does not exist in the BAB. 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율로서 상기 n/m의 비율이 2이상일 때 상위계층에서의 주사선의 종류는,When the ratio L / 1 of lower resolution and upper layer L + 1 of higher resolution L + 1 is a predetermined ratio of m to n, and the ratio of n / m is 2 or more, the type of scan line in the upper layer is 상위계층에서 복호화를 통해 복원될 주사선;A scan line to be restored by decoding in an upper layer; 상위계층의 이진영상의 주사선을 하위계층으로부터의 해상도 변화시 업샘플링으로 얻는 참조 주사선; 및A reference scan line for obtaining a scanning line of a binary image of an upper layer by upsampling when the resolution changes from the lower layer; And 상위계층에서 하위계층의 화소값 참조 없이 그대로 부호화되는 주사선으로 나뉘어짐을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.An arbitrary resolution multi-layer binary shape encoder characterized in that the upper layer is divided into scan lines that are encoded as they are without reference to pixel values of the lower layer. 제16항에 있어서,The method of claim 16, 이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에 있어, BAB 내에 부호화할 화소의 위, 아래 주사선의 샘플값이 서로 같으나 부호화할 화소값과는 다른 예외 샘플 데이터가 존재할 때 상기 BAB내의 모든 화소에 대해 부호화를 수행하고, 상기 BAB 내에 상기 예외 샘플 데이터가 존재하지 않으면 위, 아래 주사선이 다를 경우의 화소에 대해서만 부호화를 수행함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.In the structure of encoding binary image information in units of a macro alpha block (BAB), when the sample values of the upper and lower scanning lines of the pixel to be encoded are the same in the BAB, but there are exception sample data different from the pixel values to be encoded. And encoding all pixels in the BAB, and performing encoding only on pixels when the upper and lower scanning lines are different when the exceptional sample data does not exist in the BAB. 하나의 비트스트림상으로 여러 해상도의 형상정보를 순차적으로 얻는 다계층 이진 형상 부호화기에 있어서,In a multi-layer binary shape encoder for sequentially obtaining shape information of various resolutions on one bitstream, 해상도가 보다 낮은 L계층과 해상도가 보다 높은 상위계층 L+1계층의 해상도 변환 비율이 m대 n인 소정의 비율이고, 각 계층에 대한 화소의 이진값 aL, aH, 수직 좌표 yL,yH및 수평좌표 x에 대해 상기 상위계층의 샘플값이 aH[yH][x]이고, 상기 하위계층 L에서의 샘플값이 aL[yL][x]일 때, 이진영상 정보를 매크로 블록(Binary Alpha Block; BAB)단위로 부호화하는 구조에서 부호화의 효율을 위해 BAB의 종류를 구분하는 방법은,The resolution conversion ratio of the lower L layer and the higher layer L + 1 layer having a higher resolution is m to n is a predetermined ratio, and the binary values a L , a H , and vertical coordinates y L, of pixels for each layer. Binary image information when the sample value of the upper layer is a H [y H ] [x] and the sample value in the lower layer L is a L [y L ] [x] for y H and the horizontal coordinate x. In the structure of encoding a in a macroblock (BAB) unit, a method of classifying a type of BAB for encoding efficiency may include: aH[yH][x]에서 (yH% n) < 2 x (n - m)이고 ((yH% n) % 2)가 '0'인 조건을 만족하는 부호화할 샘플의 위치 yH를 구하는 제1단계(여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자);the position y of the sample to be encoded that satisfies the condition that (y H % n) <2 x (n-m) and ((y H % n)% 2) in H [y H ] [x] A first step of finding H (where '%' is an operator that takes the remainder of the division and '/' is an operator that takes only the integer result when dividing); 샘플의 위치 yH에 해당하는 상위계층 주사선위의 부호화될 화소 aH[yH][x]에서 부호화될 화소의 위, 아래 주사선의 화소값을 구하여, 다음의 수학식 10과 같이The upper that corresponds to the location of the sample y H layer scan line pixels to be encoded in the above H a location of the pixel to be coded in the [H y] [x], obtaining a pixel value below the scanning line, as shown in Equation 10 [수학식 10][Equation 10] XOR[yH][x]=aL[yL-1][x] aL[yL+1][x]XOR [y H ] [x] = a L [y L -1] [x] a L [y L +1] [x] (여기서 yL=(yH% n)/2 + m x (yH/ n)이고 는 배타적 논리합(XOR) 연산을 의미한다.)Where y L = (y H % n) / 2 + mx (y H / n) Means an exclusive OR operation.) 배타적 논리합(exclusive OR: XOR)를 수행하는 제2단계;A second step of performing an exclusive OR (XOR); 상기 수학식 10의 결과값이 '1'이면 부호화할 값 aH[yH][x]이, 위아래 주사선 화소의 샘플값이 서로 다른 전이 샘플값(TSD)으로 정하는 제3단계;A third step of setting the value a H [y H ] [x] to be encoded as a transition sample value (TSD) having different sample values of the upper and lower scan line pixels when the result value of Equation 10 is '1'; 상기 수학식 10의 결과값이 '0'이고 부호화할 값 aH[yH][x]이 하위계층에서 참조되는 값 aL[yL][x]와 같지 않으면 그 화소값을 예외 샘플 값(ESD)라 하고 ESD를 포함하는 BAB을 예외 BAB(Exeptioanl BAB)으로 하고 종료하는 제4단계;If the result value of Equation 10 is '0' and the value to be encoded a H [y H ] [x] is not equal to the value a L [y L ] [x] referenced in the lower layer, the pixel value is excluded. A fourth step of ending with an exception BAB (ESD) and an ESD BAB (Exeptioanl BAB); (yH, x)이 yH에의 주사선의 마지막 화소이면 제1단계부터 반복 수행하고, 마지막 화소가 아니면 2단계부터 반복 수행하는 제5단계;a fifth step of repeating from the first step if (y H , x) is the last pixel of the scan line to y H ; 예외 샘플 데이터 ESD가 하나도 없으므로 해당 BAB을 예외 샘플 데이터가 존재하지 않는 전이 BAB으로 하고 과정을 종료하는 제6단계를 포함함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.And a sixth step of terminating the process, making the BAB the transition BAB in which no exception sample data exists, since no exception sample data ESD is present. 소정 크기의 이진 영상 정보가 사각 경계 영역(VOP)에 의해 둘러싸여 입력되는 단계;Receiving binary image information of a predetermined size surrounded by a rectangular boundary region (VOP); 상위계층과 하위계층의 해상도 비율이 n대 m일 때, 상기 영상 정보를 하위계층에서의 부호화를 위해 다운 샘플링하는 단계;Downsampling the image information for encoding in a lower layer when the resolution ratio of the upper layer and the lower layer is n to m; 상기 다운 샘플링된 영상을 소정의 형상부호화기로 무손실 부호화하는 단계;Lossless encoding the down-sampled image with a predetermined shape encoder; 상위계층의 부호화에 이용하기 위해 상기 부호화된 영상을 업샘플링하고 이 때 상위계층의 원래의 VOP의 시작점과 일치하는 참조 VOP를 생성하는 단계;Upsampling the encoded image for use in encoding of a higher layer and generating a reference VOP coinciding with a start point of an original VOP of the higher layer; 상위계층에서 부호화할 주사선의 종류를 선정한 뒤 위, 아래의 참조 주사선을 참조 VOP로부터 얻어, 부호화할 샘플 단위 블록 BAB내에 동일한 위, 아래 화소값과 다른 화소값을 가지는 화소인 예외 정보가 있는지 없는지를 구분하는 단계;After selecting the type of the scan line to be encoded in the upper layer, the reference scan line is obtained from the reference VOP, and whether there is exception information in the sample unit block BAB to be encoded is a pixel having a different pixel value from the same upper and lower pixel values. Distinguishing; 상기 BAB내에 예외 정보가 존재하면, 모든 격주사선내의 화소에 대해 이진 연산 부호화기(Binary Arithmatic Coder)를 사용하여 부호화하고, 예외정보가 존재하지 않으면 인접 주사선간의 배타적 논리합(XOR) 정보가 1인 화소만을 BAC로 부호화하는 단계를 포함함을 특징으로 하는 임의 해상도 다계층 이진형상 부호화 방법.If there is exception information in the BAB, the pixel is encoded using a binary arithmetic coder for all the pixels in every other scan line. If there is no exception information, only the pixels with exclusive ORs between adjacent scan lines is 1 And BAC encoding according to the BAC. 제19항에 있어서, 상기 다운 샘플링하는 단계는,The method of claim 19, wherein the downsampling comprises: 상기 n/m이 2이하일 때, 상기 하위계층의 화소 좌표 (x, yL)의 수직좌표 yL및 상위계층의 화소 좌표 (x, yH)의 수직좌표 yH의 관계에 대해, yL을 m으로 나눈 나머지가 (n - m)보다 작았을 때에는 yH를 2 x (yL% m) + n x (yL/ m) + 1로 하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화 방법.The relationship of the vertical coordinate y H of the pixel coordinates (x, y H) of the vertical coordinate y L and an upper layer of the pixel coordinates (x, y L) of the n / m is 2 or less when the lower layer, y L If y is m less than (n-m) then y H is 2 x (y L % m) + nx (y L / m) + 1 otherwise y H is (y L % m ) + nx (y L / m) + (n-m) multi-layer binary shape coding method characterized in that. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 제20항에 있어서, 상기 다운샘플링은,The method of claim 20, wherein the downsampling, n/m이 2이상일 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 있어, yH가 2 x (yL% m) + n x (yL/ m) + 1로 설정됨을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화기.하며 그렇지 않은 경우에는 yH를 (yL% m) + n x (yL/ m) + (n - m)로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화 방법.When n / m is 2 or more, in the relationship of y H of the pixel coordinates (x, y L) y L and the pixel coordinates (x, y H) in the upper layer of the lower layer, y H is 2 x (y L % m) + nx (y L / m) + 1, a multi-layer binary shape coder, otherwise y H (y L % m) + nx (y L / m) + (n-m), wherein the multi-layer binary shape coding method of arbitrary resolution. 제19항에 있어서, 상기 업 샘플링은,The method of claim 19, wherein the upsampling, n/m이 2보다 작을 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2(n-m)보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 (yH% n) + m x (yH/ n) + (m - n)으로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화 방법.n / m at this time is less than 2, the relationship of y H of the pixel coordinate pixel coordinates (x, y H) in the y L and an upper layer of the (x, y L) of said lower layer, dividing y H with n If the remaining value is less than 2 (nm) then y L is (y H % n) / 2 + mx (y H / n), otherwise y L is (y H % n) + mx (y H / n) + (m-n), wherein the multi-layer binary shape coding method of arbitrary resolution. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing) 제19항에 있어서, 상기 업샘플링은,The method of claim 19, wherein the upsampling is n/m이 2이상일 때, 상기 하위계층의 화소 좌표 (x, yL)의 yL및 상위계층의 화소 좌표 (x, yH)의 yH의 관계에 대해, yH를 n으로 나눈 나머지 값이 2m 보다 작으면 yL을 (yH% n) / 2 + m x (yH/ n)로하고 그렇지 않으면 yL을 m x (yH/ n) + m - 1로 함을 특징으로 하는 임의 해상도 다계층 이진 형상 부호화 방법.When n / m is 2 or more, and the other for the relationships of y H y L and the pixel coordinates (x, y H) in the upper layer of the pixel coordinates (x, y L) of said lower layer, dividing y H with n If y is less than 2m, y L is (y H % n) / 2 + mx (y H / n), otherwise y L is mx (y H / n) + m-1 Resolution multi-layer binary shape coding method. (여기서, '%'는 나눗셈을 한 나머지값을 취하는 연산자, '/'는 나눗셈시 정수값 결과만을 취하는 연산자)(Where '%' is the operator that takes the remainder of the division and '/' is the operator that takes only integer values when dividing)
KR1019980005471A 1998-02-21 1998-02-21 Flexible resolution scalable binary shape coder & the method thereof KR100269206B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980005471A KR100269206B1 (en) 1998-02-21 1998-02-21 Flexible resolution scalable binary shape coder & the method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980005471A KR100269206B1 (en) 1998-02-21 1998-02-21 Flexible resolution scalable binary shape coder & the method thereof

Publications (2)

Publication Number Publication Date
KR19990070553A KR19990070553A (en) 1999-09-15
KR100269206B1 true KR100269206B1 (en) 2000-10-16

Family

ID=19533521

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980005471A KR100269206B1 (en) 1998-02-21 1998-02-21 Flexible resolution scalable binary shape coder & the method thereof

Country Status (1)

Country Link
KR (1) KR100269206B1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100486700B1 (en) * 1999-09-04 2005-05-03 삼성전자주식회사 Linear down/up sampling apparatuses and generalized scan interleaving based encoding/decoding method and apparatus using the sampling apparatuses
KR20060105408A (en) 2005-04-01 2006-10-11 엘지전자 주식회사 Method for scalably encoding and decoding video signal
US8761252B2 (en) 2003-03-27 2014-06-24 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
KR20060109247A (en) 2005-04-13 2006-10-19 엘지전자 주식회사 Method and apparatus for encoding/decoding a video signal using pictures of base layer
KR100602901B1 (en) * 2004-02-09 2006-07-24 주식회사 네빌코리아 Process method for compressing image
KR100602902B1 (en) * 2004-02-09 2006-07-24 주식회사 네빌코리아 Process method for compressing image
KR100602900B1 (en) * 2004-02-09 2006-07-24 주식회사 네빌코리아 Process method for compressing image
JP4660550B2 (en) * 2004-09-07 2011-03-30 サムスン エレクトロニクス カンパニー リミテッド Multi-layer video coding and decoding method, video encoder and decoder
KR100679018B1 (en) 2004-09-07 2007-02-05 삼성전자주식회사 Method for multi-layer video coding and decoding, multi-layer video encoder and decoder
US8660180B2 (en) 2005-04-01 2014-02-25 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal
EP1878247A4 (en) * 2005-04-01 2012-11-21 Lg Electronics Inc Method for scalably encoding and decoding video signal
US8755434B2 (en) 2005-07-22 2014-06-17 Lg Electronics Inc. Method and apparatus for scalably encoding and decoding video signal

Also Published As

Publication number Publication date
KR19990070553A (en) 1999-09-15

Similar Documents

Publication Publication Date Title
CN101356820B (en) Inter-layer motion prediction method
US6546138B1 (en) Video coding and video decoding apparatus
AU713780B2 (en) Video encoding apparatus and video decoding apparatus
KR100269206B1 (en) Flexible resolution scalable binary shape coder &amp; the method thereof
US6128041A (en) Method and apparatus for binary shape encoding
JPH1013829A (en) Picture encoder and picture decoder
CN101467461A (en) Multilayer-based video encoding method and apparatus thereof
US6292585B1 (en) Video coding and video decoding apparatus
JP4154417B2 (en) Video data encoding device and video data decoding device
JP3518733B2 (en) Object-based video signal encoding / decoding apparatus and method
US20060120459A1 (en) Method for coding vector refinement information required to use motion vectors in base layer pictures when encoding video signal and method for decoding video data using such coded vector refinement information
Yeh et al. Scalable ideal-segmented chain coding
US6754268B1 (en) Video coding and video decoding apparatus
KR100375313B1 (en) Method for compression and extract layered using DPCM
JP4590986B2 (en) Encoding device, decoding device, encoding method, decoding method, and program thereof
JP2755464B2 (en) Image data compression method
KR100296339B1 (en) Video data coding method
WO2017213033A1 (en) Video encoding device, video decoding method and recording medium
JPH1023406A (en) Bidirectional vertex predicting method
Joung Context modeling approach for image/video coding

Legal Events

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

Payment date: 20080627

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee