GB2333923A - Motion compensated contour-encoded transmission - Google Patents

Motion compensated contour-encoded transmission Download PDF

Info

Publication number
GB2333923A
GB2333923A GB9903824A GB9903824A GB2333923A GB 2333923 A GB2333923 A GB 2333923A GB 9903824 A GB9903824 A GB 9903824A GB 9903824 A GB9903824 A GB 9903824A GB 2333923 A GB2333923 A GB 2333923A
Authority
GB
United Kingdom
Prior art keywords
contour
segment
current
current object
encoded
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
GB9903824A
Other versions
GB2333923B (en
GB9903824D0 (en
Inventor
Byeung-Woo Jeon
Sung-Ho Cho
Rin-Chul Kim
Sang-Uk Lee
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
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 Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Priority claimed from GB9715116A external-priority patent/GB2322251B/en
Publication of GB9903824D0 publication Critical patent/GB9903824D0/en
Publication of GB2333923A publication Critical patent/GB2333923A/en
Application granted granted Critical
Publication of GB2333923B publication Critical patent/GB2333923B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/20Contour coding, e.g. using detection of edges
    • 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/527Global motion vector estimation
    • 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/543Motion estimation other than block-based using regions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/20Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding

Landscapes

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

Abstract

The present invention provides a contour motion information transmission method comprising the steps of: (a) contour-encoding an object in a current image using motion compensation; and (b) transmitting position information of the current object which has been contour-encoded in step (a). A corresponding device is also disclosed.

Description

CONTOUR MOTION INFORMATION TRANSMISSION METHOD AND DEVICE The present invention relates to a contour motion information transmission method and device.
A system requiring low bit rate data transmission compresses image information at a high ratio in order to use motion image. For doing so, region-based motion image coding techniques for dividing an image into regions and performing motion estimation and coding operations by regions, have been proposed instead of a conventional block-based image coding technique. The region-based motion image encoder largely relies on an algorithm for encoding region division information in view of its performance. Therefore, techniques for coding contours efficiently are needed.
Referring to Figure 1 showing region-based motion compensation, assuming that the motion compensation is performed using the object in the previous frame, motion compensated errors will occur around an object along the motion trajectory, due to the inaccuracy in the motion estimation or the deformation of the object. If the region with large motion compensation errors is defined as the motion compensation failure region, the motion compensation failure region (hereinafter called "MF region") is considered as the mismatched region between a current object and the motion compensated object. In Figure 1, the MF regions are indicated as shading portions neighbouring the current object and the contours surrounding the current object are denoted by thick lines.
Generally, an encoder and a decoder involving a region-based motion image coding know information with respect to the contours of an object in a previous frame in advance. Thus, the contours in the current frame can be effectively encoded using motion compensation. When motion compensation is used, only contour pixels corresponding to the MF region among the contour pixels contained in the contours of the object in the current frame are required for transmission, since the others can be estimated from the contours of the motion compensated object in the previous frame.
A reference [1] entitled "Contour simplification and motion compensated coding", published in Special Issue of Signal Processing: Image Communication on Coding Techniques for Very Low Bit-rate Video, Vol. 7, No. 4-6, pp. 279-296, Nov. 1995, by C. Gu and M. Kunt, discloses a predictive contour coding technique for video coding using temporal correlation. According to the reference [1], after motion-compensation of each object, the contour pixels in the MF regions are encoded and transmitted by the conventional chain coding technique.
However, since the MF regions are generally distributed in a sparse and isolated manner, each isolated contour requires a number of overheads to represent it with chain codes. Further, since the motion compensation is performed on an object basis, even small local motion behaviour regions within the object are determined as MF regions. Therefore, inter-frame correlation of the contours cannot be exploited.
It is another aim of preferred embodiments of the present invention to provide a contour motion information transmission method.
According to the present invention in a first aspect, there is provided a contour motion information transmission method comprising the steps of: (a) contourencoding an object in a current image using motion compensation; and (b) transmitting position information of the current object which has been contour-encoded in step (a).
Suitably, the position information of the current object represents an absolute position of the current object.
Suitably, the position information of the current object represents a relative position of the current object with respect to a reference object.
Suitably, the relative position of the current object is expressed as the relative position of the start point of the current object with respect to a start point of the reference object and the number of the contour pixels of the current object.
Suitably, the position information of the current object contains the relative position of the current object with respect to the reference object and the identification of the reference object, when a plurality of objects exist.
According to a second aspect of the present invention, there is provided a contour motion information transmission method comprising the steps of : (a) contourencoding an object in a current image using motion compensation; and (b) transmitting position information represented as one of an absolute position and a relative position of the current object which has been contourencoded in step (a).
Suitably, the position information of the current object represents an absolute position of the current object and a flag indicating the absolute position.
Suitably, the position information of the current object represents a relative position of the current object with respect to a reference object and a flag indicating the relative position.
Suitably, the relative position of the current object is expressed as the relative position of the start point of the current object with respect to a start point of the reference object and the number of the contour pixels of the current object.
Suitably, the position information of the current object contains the relative position of the current object with respect to the reference object and the identification of the reference object and a flag indicating a relative position, when a plurality of objects exist.
Suitably, said step (b) transmits the position information represented as an absolute position of the current object for every predetermined interval of time.
According to a third aspect of the present invent ion, there is provided a contour motion information transmission device adapted to operate according to the method of any preceding aspect of the invention.
A preferred embodiment of the present invention will be described with reference to the accompanying drawings.
The preferred embodiment is described with reference with the drawings wherein: Figure 1 is a conceptual diagram for explaining region-based motion compensation; Figure 2 is a view showing a segment division system for a contour encoding method according to the present invention; Figure 3a shows an original contour pixel and the neighbouring pixels; Figure 3b shows an example of an error band having a width 21N; Figure 4 shows a bit stream syntax for transmission of contour-encoded data; and Figure 5 shows segment transition involving a motion compensation flag.
The present invention provides a new segment-based contour encoding method using motion information for an object-oriented video coding. In the contour encoding method according to the present invention, the contours of an object contained in the current image frame are divided into several segments using two-stage motion compensation.
Referring to Figure 2, the first-stage motion compensation is performed on an object basis similarly to the abovedescribed reference [1]. A global motion vector (GMV) represents motion between an object in the current image frame and a corresponding object in the reference image frame, which is used for motion compensation involving the object in the current image frame. The GMV can be obtained via various algorithms used for object-based motion compensation. The present invention uses an existing block matching algorithm to find the GMV. As a result, the contours of the object contained in the current image frame are divided into the GMC segments and the GMF segments. Figure 2 shows an example having a single GMF segment.
In the case of the GMF segment, the second stage motion compensation is performed. In the second stage motion compensation, the local search around the current position of the GMF segment is performed in such a manner that the contour pixels locally coincident with the contour pixels belonging to the GMF segment are found among the motion compensated contours. To find the LMV segment, the search with respect to all segments within the search area contained in the motion compensated frame is performed. The search area is properly selected according to the change of frame scene, that is, the motion degree of an object. The contour can be generally represented by only two gray levels. Therefore, in the case that the motion compensation is performed with respect to each segment, the simple Hamming distance is employed for distortion measure. If the GMV and LMV yielding the minimal Hamming distance are determined, the motion compensated contours are obtained with respect to the contours in the current frame using the GMV and LMV.
As a result, the GMF segment is divided into the LMC segment and the LMF segment.
While the GMC and LMC segments can be reconstructed by the decoder using the GMV and LMV, respectively, the LMF segments cannot be reconstructed. The LMF segments should be encoded by the inter-frame contour coding technique and a large number of bits are consumed for encoding the LMF segments. Thus, the bit number for encoding the contours can be minimized by reducing the number of segments which become the LMF segments.
The present invention proposes the concept of an error band in order to reduce the number of the segments which become the LMF segments. The error band EBN of a width 21N is defined by the union of the ZN neighbourhoods of the individual contour pixels, given by the following equation (1) EBN = IL ... (1) Here, C is a set of the contour pixels in the LMF segment, XN neighbourhood of the p-th contour pixel, that is B(p) is expressed by the following equation (2): B (P) = (K: d(x,p) S4N (2) Here, d(x,p) is a Euclidean distance.
Figure 3a shows an original contour pixel having no error and the neighbouring pixels each of which has an error. Figure 3b shows an example of an error band having a width 2/N. Given the LMF segment from the start point to the end point as shown in Figure 3b, the LMF segment is considered as being coincident with the locally motion compensated contour if the locally motion compensated contour exists in the error band of width 2/N involving the given LMF segment. In other words, if the error band of the LMF segment includes the motion compensated contour, the segment is considered as the LMC segment.
Thus, the inter-frame correlation of the contours is exploited effectively, the number of the segments which become the LMF segments. Moreover, the bit number for contour encoding is reduced by varying the width 2JN of the error band. Such a method can be used for dividing the segment into the GMC segment and the GMF segment.
That is, if the GMC contour exists in the error band of a predetermined width centered at a contour in the current frame, even a segment which can be regarded as a GMF segment is considered as a GMC segment. By the above method, the number of the GMC segments increases to reduce the number of bits required.
Given the perfectly 8-connected contours, the contours of the current frame are divided into three kinds of segments, that is, GMC segments, LMC segments and LMF segments, according to the above-described two-stage motion compensation. Then, each segment is encoded sequentially along predetermined directions of the contours. However, the methods for encoding each of the segments vary according to the kinds of the segments. The GMC segment and LMC segment are encoded into MC segment codes. Here, the GMC segment can be treated as a kind of LMC segments where the LMV is equal to zero vector. The LMF segments are encoded into the MF segment codes by a neighbouring direction segment coding (NDSC) technique, which is one of the most efficient intra-frame contour coding techniques. The NDSC technique is disclosed in a reference [2] entitled "Encoding of arbitrary curves based on chain code representation" published in IEEE Trans. on Commun., Vol. COM-33, pp. 697-707, July 1985 by T. Kaneko and Okudaira.
Figure 4 shows a bit stream syntax for a contour encoding technique according to the present invention.
The bit stream shown in Figure 4 starts with a header code which is followed by segment codes. Lastly, a termination code is appended to indicate the end of the codes. Each segment is encoded into the MC segment code or the MF segment code according to the segment type. The GMC segment and the LMC segment are encoded into the MC segment code and the LMF segment is encoded into the MF segment code.
In order to discriminate the types of the segments, each segment code begins with the MC flag determined by the previous segment type. The MC flag is described by the segment transition diagram shown in Figure 5. In Figure 5, the values on each branch denotes the MC flag for the next segment. For example, the MC flag for the first segment becomes "00" if the segment is encoded into the MC segment code, or becomes "01" if the segment is encoded into the MF segment. Each code will be described below.
Header code The encoded bit stream for the contours starts with the header code. The header code includes the GMV and the start point code. The GMV denotes the motion vector used for the first stage motion compensation. Using the GMV, the motion compensated contours are provided, from the contours in the previous frame and contours in the current frame. By the first stage motion compensation, a contour start point in the current frame may not coincide with that of the motion compensated contour. In order to denote the start point in the current frame, the start point code is required for transmission.
For an image in a QCIF format (176 x 144), the start point can be encoded by 16 bits. However, since the motion compensated contours are similar to contours in the current frame, the start point of contour of the current frame can be encoded by the relative position from that of the motion compensated contour. Both methods are employed in encoding the start point of the contour in the current frame and one method is selected by considering their efficiency. In order to indicate which method is used, a 1-bit position flag is added. If the relative position is within [-4,3]X[-4,3], the position flag is set to one and the start point is encoded by 6 bits. Otherwise, the position flag is set to zero and the absolute position of the start point of the contour in the current frame is encoded into the start code of 16 bits.
When the relative position is encoded, an identification (ID) representing what is a reference object is additionally encoded. Usually, each object has an assigned ID. Accordingly an object ID should be encoded.
A relative position encoding method and an absolute position encoding method can be selected periodically.
For example, one of the methods is selected so that an absolute position value should be encoded for every predetermined time. The purpose of this is for the reduction of propagation of an error. The length of the GMC segment is encoded together with the start point information. Here, the length of the GMC segment is the number of the contour pixels constituting the GMC segment.
The only contour images contained in the reference frame and the current frame can be used as areas requiring the motion compensation. An object image including a general texture, that is, inner pixel values of the contour can be used as the motion compensation requisite areas.
MC segment code Since the only difference between the GMC segment and the LMC segment is whether the LMV is zero or not, the GMC segment and the LMC segment are encoded into the MC segment codes. Using the error band, the segment is considered as the GMF or the LMF segment, if its error band includes the motion compensation contours. The MC segment code starts with the proper MC flag, followed by the LMV and the length of the segments, which are variable-length coded. Here, it should be noted that, if a short segment can be encoded into the MC segment code, more bits would be required than for the MF segment code.
By considering this aspect, among the GMC segment and the LMC segment, only those segments whose lengths are greater than the pre-specified threshold are encoded into the MC segment codes.
Each component of the LMV is encoded by the variablelength codes whose lengths range from 1 to 5 bits.
Particularly, the LMV for the GMC segment is encoded using 2-bit variable length code. The Huffman code set with respect to the LMV is shown in Table 1.
Table 1
LMV l Code l LMV Code -4 10110 0 0 -3 10111 1 100 -2 1111 2 1110 -1 110 3 1010 The length of the MC segment is encoded using the Huffman code set shown in Table 2.
Table 2
Length Code Length Code 1 00 17 11110000 2 010 3 0110 28 11111011 4 0111 29 1111110000 5 1000 6 1001 40 1111111011 7 1010 41 11111110000 8 1011 9 11000 52 111111111011 10 11001 52 11111111110000 11 11010 12 11011 64 11111111111011 13 111000 265 lllll;llllll+CO(l) 16 111011 In Table 2, Cm (1) is a fixed length code for the length 1 of the MC segment. Since the length below the threshold does not occur, the length 1 of the MC segment is encoded into MCL(l) as the following equation MCL(l) = SL(l - threshold) ... (3) Here, SL(p) represents the code for the length p in Table 2.
MF segment code The LMF segment is encoded into the MF segment code.
The NDSC technique is employed for encoding the LMF segments. More specifically, the LMF segment is further divided into small segments such that the contour pixels in the same segment have only two neighbouring directions.
Then each segment is encoded with variable-length codes using Table 1 and the direction of the individual pixels by 1 bit.
Each small segment in the LMF segment begins with the MC flag shown in Figure 5, and the initial octal code that restricts the direction of the pixels in the segment.
Similar to the NDSC technique, the octal code which denotes the pair of neighbouring direction, is encoded by considering the previous direction as follow.
1) if the MF segment is the first segment, the octal code is encoded by 3 bits, 2) if the MF segment is not the first segment, and the previous direction of the contour is diagonal, the octal code is encoded by 1 bit, and 3) otherwise, the octal code is encoded by 2 bits.
Here, perfectly 8-connected contour has 3 moving cases after diagonal move, and 5 moving cases after vertical/horizontal move.
Termination code If all the remaining contours are classified into the GMC segment, or there remains no segment to be encoded, the termination codes are appended to indicate that the bit stream for the current contours is terminated. The termination code consists of only the MC flag, which is "1" when all the contours are classified into the GMC segment, or "11" otherwise, as shown in Figure 5.
As described above, the contour encoding method according to the present invention divides the GMF segments into the LMC segments and the LMF segments and encodes the divided results. Also, the number of the LMF segments can be reduced. In addition, the degree allowed as the LMC segment among the LMF segments can vary according to the bit number required for contour encoding.
Thus, preferred embodiments of the present invention can perform an efficient encoding operation for motion compensation encoding.

Claims (13)

  1. CLAIMS 1. A contour motion information transmission method comprising the steps of (a) contour-encoding an object in a current image using motion compensation; and (b) transmitting position information of the current object which has been contour-encoded in step (a).
  2. 2. A contour motion information transmission method according to claim 1, wherein the position information of the current object represents an absolute position of the current object.
  3. 3. A contour motion information transmission method according to claim 1 or claim 2, wherein the position information of the current object represents a relative position of the current object with respect to a reference object -
  4. 4. A contour motion information transmission method according to claim 3, wherein the relative position of the current object is expressed as the relative position of the start point of the current object with respect to a start point of the reference object and the number of the contour pixels of the current object.
  5. 5. A contour motion information transmission method according to claim 3 or claim 4, wherein the position information of the current object contains the relative position of the current object with respect to the reference object and the identification of the reference object, when a plurality of objects exist.
  6. 6. A contour motion information transmission method comprising the steps of (a) contour-encoding an object in a current image using motion compensation; and (b) transmitting position information represented as one of an absolute position and a relative position of the current object which has been contour-encoded in step (a).
  7. 7. A contour motion information transmission method according to claim 6, wherein the position information of the current object represents an absolute position of the current object and a flag indicating the absolute position.
  8. 8. A contour motion information transmission method according to claim 6 or claim 7, wherein the position information of the current object represents a relative position of the current object with respect to a reference object and a flag indicating the relative position.
  9. 9. A contour motion information transmission method according to claim 8, wherein the relative position of the current object is expressed as the relative position of the start point of the current object with respect to a start point of the reference object and the number of the contour pixels of the current object.
  10. 10. A contour motion information transmission method according to any one of claims 6-9, wherein the position information of the current object contains the relative position of the current object with respect to the reference object and the identification of the reference object and a flag indicating a relative position, when a plurality of objects exist.
  11. 11. A contour motion information transmission method according to any one of claims 6-10, wherein said step (b) transmits the position information represented as an absolute position of the current object for every predetermined interval of time.
  12. 12. A contour motion information transmission method substantially as described herein.
  13. 13. A contour motion information transmission device adapted to operate according to any one of claims 1-11 or 12.
GB9903824A 1997-02-07 1997-07-18 Contour motion information transmission method and device Expired - Fee Related GB2333923B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US3772097P 1997-02-07 1997-02-07
GB9715116A GB2322251B (en) 1997-02-07 1997-07-18 Contour coding method and device using error bands

Publications (3)

Publication Number Publication Date
GB9903824D0 GB9903824D0 (en) 1999-04-14
GB2333923A true GB2333923A (en) 1999-08-04
GB2333923B GB2333923B (en) 2000-02-09

Family

ID=26311896

Family Applications (1)

Application Number Title Priority Date Filing Date
GB9903824A Expired - Fee Related GB2333923B (en) 1997-02-07 1997-07-18 Contour motion information transmission method and device

Country Status (1)

Country Link
GB (1) GB2333923B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0720377A2 (en) * 1994-12-29 1996-07-03 Daewoo Electronics Co., Ltd Method for detecting motion vectors for use in a segmentation-based coding system
EP0734163A2 (en) * 1995-03-18 1996-09-25 Daewoo Electronics Co., Ltd A contour approximation apparatus for representing a contour of an object
GB2311433A (en) * 1996-03-22 1997-09-24 Daewoo Electronics Co Ltd Encoding a contour of an object in a video signal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0720377A2 (en) * 1994-12-29 1996-07-03 Daewoo Electronics Co., Ltd Method for detecting motion vectors for use in a segmentation-based coding system
EP0734163A2 (en) * 1995-03-18 1996-09-25 Daewoo Electronics Co., Ltd A contour approximation apparatus for representing a contour of an object
GB2311433A (en) * 1996-03-22 1997-09-24 Daewoo Electronics Co Ltd Encoding a contour of an object in a video signal

Also Published As

Publication number Publication date
GB2333923B (en) 2000-02-09
GB9903824D0 (en) 1999-04-14

Similar Documents

Publication Publication Date Title
US5912991A (en) Contour encoding method using error bands
EP0614318B1 (en) Video encoder and decoder
US6879633B2 (en) Method and apparatus for efficient video processing
EP0734167B1 (en) Apparatus for encoding/decoding an image signal having a still object
US5691769A (en) Apparatus for encoding a contour of an object
JPH11168387A (en) Improvement in encoding of digital signal
US5969766A (en) Method and apparatus for contour motion estimating a binary image by using a weighted block match algorithm
GB2328337A (en) Encoding motion vectors
US5933105A (en) Context-based arithmetic encoding/decoding method and apparatus
US5654761A (en) Image processing system using pixel-by-pixel motion estimation and frame decimation
US5646867A (en) Method and system for improved motion compensation
KR100212559B1 (en) The contour coding system and motion prediction method for object
US5790207A (en) Motion compensation method for use in an image encoding system
WO2000064148A1 (en) Method and apparatus for efficient video processing
KR100243865B1 (en) Motion Vector
GB2333923A (en) Motion compensated contour-encoded transmission
Cho et al. A coding technique for the contours in smoothly perfect eight-connectivity based on two-stage motion compensation
Cho et al. Contour coding technique employing motion information
KR100240344B1 (en) Adaptive vertex coding apparatus and method
KR100203638B1 (en) Method for estimating motion using half-pixel by half-pixel
KR100220581B1 (en) The vertex coding apparatus for object contour encoder
KR100220680B1 (en) The vertex coding apparatus for object contour encoder
KR100203658B1 (en) Apparatus for estimating motion of contour in object based encoding
KR100207388B1 (en) Image encoder using adaptive vector quantization
KR100213274B1 (en) Three step searching method of image processor

Legal Events

Date Code Title Description
PCNP Patent ceased through non-payment of renewal fee

Effective date: 20090718