Mode coding method and apparatus for use in an interlaced shape coder
AssigneeDaewoo Electronics Co., Ltd.
InventorSeok-Won Han
Life of this patent
Estimating the term…
Abstract
A method for encoding mode signals of a target block of M.times.N pixels having a binary value `0` or `255` is provided. If the target block is determined as neither "all.sub.-- 0" nor "all.sub.-- 255", the target block is divided into a top field and a bottom field, wherein the top field contains every odd row of the target block to have M/2.times.N pixels and the bottom field contains every even row of the target block to have M/2.times.N pixels. After encoding the top field, the method encodes the bottom field based on the top field to generate modified bottom field-coded data and a modified bottom mode.
Claims16
A method for encoding mode signals of a target block of a binary shape signal, wherein the binary shape signal includes a plurality of pictures and each picture is divided into a multiplicity of blocks of M.times.N pixels having one of a first and a second binary values, the target block representing one of the blocks of a current picture to be encoded and M and N being positive even integers, respectively, comprising the steps of:
- (a) generating a first indication signal, if error of the target block with respect to a first reference block is not greater than a predetermined threshold, and generating a second indication signal, if error of the target block with respect to a second reference block is not greater than the predetermined threshold, the respective reference blocks having M.times.N pixels and all pixels of the first and the second reference blocks being of the first and the second binary values, respectively;
- (b) if none of the first and the second indication signals are generated in step (a), dividing the target block into a top field and a bottom field, wherein the top field contains every odd row of the target block to have M/2.times.N pixels and the bottom field contains every even row of the target block to have M/2.times.N pixels;
- (c) coding the top field to generate a top mode and top field-coded data, wherein the top mode represents a coding condition of the top field-coded data;
- (d) coding the bottom field based on the top field-encoded data to generate a bottom mode and bottom field-coded data, wherein the bottom mode represents a coding condition of the bottom field-coded data;
- (e) modifying the bottom mode based on the top mode to generate a modified bottom mode;
- and
- (f) attaching the top mode to the modified bottom mode to generate a mode.
An apparatus for encoding mode signals of a target block of a binary shape signal, wherein the binary shape signal includes a plurality of pictures and each picture is divided into a multiplicity of blocks of M.times.N pixels having one of a first and a second binary values, the target block representing one of the blocks of a current picture to be encoded and M and N being positive even integers, respectively, comprises:
- frame detection means for generating a first indication signal, if error of the target block with respect to a first reference block is not greater than a predetermined threshold, and generating a second indication signal, if error of the target block with respect to a second reference block is not greater than the predetermined threshold, the respective reference blocks having M.times.N pixels and all pixels of the first and the second reference blocks being of the first and the second binary values, respectively;
- frame divider for dividing the target block into a top field and a bottom field, wherein the top field contains every odd row of the target block to have M/2.times.N pixels and the bottom field contains every even row of the target block to have M/2.times.N pixels;
- top field coder for coding the top field to generate a top mode and top field-coded data, wherein the top mode represents a coding condition of the top field-coded data;
- bottom field coder for coding the bottom field based on the top field-encoded data to generate a bottom mode and bottom field-coded data, wherein the bottom mode represents a coding condition of the bottom field-coded data;
- bottom mode modulator for modifying the bottom mode based on the top mode to generate a modified bottom mode;
- and
- multiplexor for attaching the top mode to the modified bottom mode to generate a mode.
Dependencies are inferred from the claim text.