[go: up one dir, main page]

WO1993003578A1 - Apparatus for coding and decoding picture signal with high efficiency - Google Patents

Apparatus for coding and decoding picture signal with high efficiency Download PDF

Info

Publication number
WO1993003578A1
WO1993003578A1 PCT/JP1992/000956 JP9200956W WO9303578A1 WO 1993003578 A1 WO1993003578 A1 WO 1993003578A1 JP 9200956 W JP9200956 W JP 9200956W WO 9303578 A1 WO9303578 A1 WO 9303578A1
Authority
WO
WIPO (PCT)
Prior art keywords
mode
field
frame
motion
macroblock
Prior art date
Application number
PCT/JP1992/000956
Other languages
English (en)
French (fr)
Inventor
Katsuji Igarashi
Tomoyuki Sato
Original Assignee
Sony Corporation
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=27329237&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=WO1993003578(A1) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Priority claimed from JP35399091A external-priority patent/JP3092280B2/ja
Application filed by Sony Corporation filed Critical Sony Corporation
Priority to DE69229229T priority Critical patent/DE69229229T2/de
Priority to AU23467/92A priority patent/AU662548B2/en
Priority to EP92916244A priority patent/EP0598904B1/en
Priority to CA002092295A priority patent/CA2092295C/en
Publication of WO1993003578A1 publication Critical patent/WO1993003578A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/107Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/112Selection of coding mode or of prediction mode according to a given display mode, e.g. for interlaced or progressive display mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • H04N19/139Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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
    • 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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/98Adaptive-dynamic-range coding [ADRC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • H04N19/152Data rate or code amount at the encoder output by measuring the fullness of the transmission buffer

Definitions

  • the present invention relates to a high-efficiency coding apparatus for image signals that performs high-efficiency coding on image signals by orthogonal transformation.
  • a standardization proposal by the Moving Picture Experts Group (MPEG) specifies a so-called high efficiency encoding method for image signals for digital storage media. I have.
  • the storage media targeted by this method is, for example, a so-called CD (Compact Disk), DAT (Digital Audio Tape Recorder), or hard disk, which has a continuous transfer speed of about 1.5 Mbit / s. It is less than sec. It is also assumed that this is not only connected directly to the decoder but also via a transmission medium such as a computer bus, LAN (local 'area' network), or telecommunications. In addition to forward playback, special functions such as random access, high-speed playback, and reverse playback are also considered.
  • the principle of the high-efficiency encoding method of the image signal by the above-mentioned M PEG is as follows.
  • the plane images before and after in time are very similar to an image of interest (ie, an image at a certain time).
  • the time axis direction It is possible to reduce the amount of information to be transmitted by reducing the redundancy.
  • the image encoded in this manner is called a forward prediction encoded image (Predict! Ve-coded picture, P picture or P frame), which will be described later.
  • the difference between the image to be coded and the interpolated image created from the front or back or the front and back in time is calculated, and the difference between the small values is transmitted. By doing so, it becomes possible to reduce the amount of information to be transmitted by reducing the redundancy in the time axis direction.
  • B-picture or B-frame The image encoded in this manner is called a bidirectionally predictive-coded picture (B-picture or B-frame), which will be described later. It shows an intra-coded picture (intra-coded picture: I-picture or I-frame), which will be described later.
  • I-picture or I-frame intra-coded picture
  • a plane image indicated by P in the figure indicates the P picture
  • an image indicated by B in the figure indicates the B picture. 4 shows a picture.
  • a block of, for example, 16 ⁇ 16 pixels (hereinafter referred to as a macroblock) composed of, for example, a unit block of 8 ⁇ 8 pixels is created, and the vicinity of the position of the macroblock in the front image is defined.
  • a macroblock composed of, for example, a unit block of 8 ⁇ 8 pixels.
  • the difference between the predicted image after motion compensation and the difference between the predicted image after motion compensation and The one with a small amount of data is selected and coded in units of macroblocks of 16 x 16 pixels.
  • the discrete cosine transform is applied to each 8 x 8 pixel unit block.
  • the DCT expresses the image not at the pixel level but by how many frequency components of the cosine function are included.For example, with a two-dimensional DCT, the data of a unit block of 8 ⁇ 8 pixels is expressed by 2 It is transformed by the dimension DCT into coefficient blocks of 8 x 8 components of the cosine function.
  • an image signal of a natural image such as that captured by a television camera
  • a smooth signal For example, an image signal of a natural image, such as that captured by a television camera, is often a smooth signal.
  • the data amount is efficiently reduced by performing the DCT processing on the image signal. Can be.
  • FIG. 23 shows the structure of data handled by the above-mentioned encoding: ⁇ ;.
  • the data structure shown in FIG. 23 includes, in order from the bottom, a block layer, a macroblock layer, a slice layer, a picture layer, and a group-of-pictures (G ⁇
  • the block of the block layer is composed of 8 ⁇ 8 pixels (8 lines ⁇ 8 pixels) adjacent to each other in luminance or color difference.
  • the above-mentioned DCT Discrete Cosine Transform
  • the macroblocks in the macroblock layer are the same as the above-mentioned luminance blocks on the image and the four luminance blocks (luminance unit blocks) Y0, Y1, Y2, and Y3 adjacent to Upper Byon
  • the color difference block (color difference unit block) corresponding to the position is composed of a total of six blocks, Cr and Cb.
  • the order of transmission of these blocks is Y0, Yl, Y2, Y3, Cr, C.
  • the slice layer is composed of one or a plurality of macro blocks connected in the scanning order of the image.
  • the difference between the motion vector and the DC (direct current) component in the image is reset, and the first macroblock has data indicating the position in the image. Therefore, it is possible to recover even if an error occurs.
  • the length of the slice and the starting position are arbitrary, and can be changed according to the error state of the transmission path.
  • a picture that is, an image one by one, is composed of at least one or a plurality of the slices. Then, according to the coding method, each of the above-described intra-coded images (I-pictures or I-frames), the above-mentioned forward prediction-coded images (P-pictures or P-frames), and bidirectional prediction-coded images (B-pictures Or B frame) and DC intra-coded image (DC coded (D) picture).
  • I-pictures or I-frames intra-coded images
  • P-pictures or P-frames forward prediction-coded images
  • B-pictures Or B frame bidirectional prediction-coded images
  • DC intra-coded image DC coded (D) picture
  • the image when decoding, the image can be reconstructed using only the information of the I picture itself.
  • encoding is performed by performing DCT processing without taking the difference.
  • This coding method is generally inefficient, but if it is included everywhere, random access—high-speed reproduction is possible.
  • P picture In the forward predictive coded picture (P picture), an I picture or P picture which is located earlier in time in input and has already been decoded is used as a predictive picture (picture serving as a reference for obtaining a difference).
  • encoding the difference from the motion-compensated predicted image is the same as encoding the difference without taking the difference. Either encoding (intra-coding) with the higher efficiency is selected for each macroblock.
  • bidirectional predictive coded picture three kinds of predictive pictures are used: an I picture or a P picture which is located earlier in time and has already been decoded, and an interpolated picture created from both.
  • the DC intra-coded image is an intra-coded image composed of only DC coefficients of DCT and cannot exist in the same sequence as the other three types of images.
  • the group-of-pictures (GOP) layer is composed of one or more I-pictures and zero or more non-I-pictures.
  • the input order to the encoder is, for example, II, 2B, 3B, 4P * 5B, 6B, 71, 8B, 9B, 101, 1 IB, 12B, 13P, 14B, 15B, 16P * 17B, 18B, 191, 2OB, 2IB, 22P
  • the output of the encoder that is, the input of the decoder, is, for example, II, 4P, 2B, 3B * 7I, 5B, 6B, 101, 8B, 9B, 13P, 11B, 12B, 16P, 14B, 15B * 191, 17B, 18B, 22P, 20B, 21B.
  • the reason why the order is rearranged in the encoder is that, for example, when encoding or decoding the B picture, the I picture which is backward in the prediction image becomes This is because the picture or P-picture must have been coded first.
  • the interval between the I pictures (for example, 9) and the interval between I or B pictures (for example, 3) are free.
  • the interval between I-pictures or P-pictures is within the group-of-groups picture layer. It is something that may change in the department.
  • I indicates an I picture
  • P indicates a P picture
  • B indicates a B picture.
  • the video sequence layer includes one or a plurality of group picture layers having the same image size, image rate, and the like.
  • the vertical position will be alternately different between the two fields.
  • the difference information is also used. Have to be transmitted.
  • a first high-efficiency coding apparatus provides a high-efficiency coding apparatus for coding an image signal to be coded in units of a macroblock consisting of a two-dimensional array of a plurality of pixels.
  • means for detecting the motion vector between frames and the sum of absolute differences of each pixel in the macroblock unit and the scan of the pixels in the frame in the macroblock unit are divided into odd and even numbers.
  • Motion detection means comprising: a motion vector between fields consisting of motion vectors; and a means for detecting a sum of absolute differences of respective pixels; a frame prediction mode for performing motion compensation in units of frames in the macroblock; Motion compensation is performed in units of fields in the field prediction mode.
  • First mode selection means for making a decision based on information output from the detection means and selecting an efficient prediction mode, and frame orthogonal transformation for performing block transformation so as to perform orthogonal transformation in units of frames in the macroblock.
  • the motion detection means and the first mode determine which of the mode and the field processing mode in which the block processing is performed so that the orthogonal transformation is performed in units of the fields in the Mac mouth block is more efficient in performing the orthogonal transformation.
  • the second mode selecting means for making a decision using information output from the mode selecting means of the second mode and selecting an efficient blocking mode, and the odd field in the interlace of the encoding process for one frame. Recognize whether the cycle is an odd cycle during the scan of the odd field or an even cycle during the scan of the even field.
  • the second high-efficiency encoding apparatus further comprises a high-efficiency encoding apparatus that encodes a macroblock consisting of a two-dimensional array of a plurality of pixels as a unit.
  • a means for detecting a motion vector between frames and a sum of absolute value differences of each pixel in the macroblock unit and an odd or even number of scans of pixels in the frame in the macroblock unit are used.
  • Motion detection means comprising a motion vector between fields consisting of a motion vector and a means for detecting the sum of absolute value differences of each pixel; and a frame in the macroblock as a unit.
  • the motion detection means outputs which of the frame prediction mode for performing motion compensation and the field prediction mode for performing motion compensation in units of fields in the macroblock is more efficient in performing motion compensation.
  • First mode selection means for making a decision based on information and selecting an efficient prediction mode; a frame orthogonal transformation mode for performing block transformation so as to perform orthogonal transformation on a frame-by-frame basis in the macroblock;
  • the motion detection means and the first mode selection means determine which one of the field processing modes, which is divided into blocks so as to perform orthogonal transformation in units of field, is more efficient in performing orthogonal transformation.
  • a second mode selection means for making a determination using information output from the second mode and selecting an efficient block mode; Recognizing whether the odd cycle in the period for scanning the odd field or the even cycle in the period for scanning the even field in the interlace of the encoding process for one frame, and only when the blocking mode is the field processing mode, An address for controlling the frame memory group so that the odd field of the MAC block is output for one frame in the odd cycle in order, and the even field of the macroblock is output for one frame in the even cycle in turn.
  • the high-efficiency decoding device receives and decodes the encoded data to be reproduced and the header information, and decodes the detected motion vector information, the motion prediction mode information, the blocking mode information, and the macro block.
  • Inverse variable length coding means for outputting the macroblock 'address' increment in the information, and the above-mentioned macroblock ⁇ end address ⁇ address in the frame buffer from the increment' increment value is calculated and the beginning of each macroblock Address generating means for obtaining an address and providing the start address to the frame buffer; adding a relative address of the macro block other than the start address to the frame buffer to access data; detecting the motion vector and the motion; Receiving the prediction mode information and the blocking mode information, And a motion compensation unit configured to execute a motion compensation frame or inter-field prediction corresponding to the mode information and to send a motion compensated image signal to a frame buffer.
  • the high-efficiency encoding device is a high-efficiency encoding device for an image signal that performs encoding in units of a macroblock consisting of a two-dimensional array of a plurality of pixels.
  • Motion estimation means comprising means for detecting the sum of absolute differences of the frame, a frame prediction mode for performing motion compensation in units of frames in the macroblock, and field prediction for performing motion compensation in units of fields in the macroblock. The first is to determine which of the modes is more efficient in capturing motion and select the more efficient prediction mode.
  • a mode selection means and a frame in the macroblock as a unit. Which is more efficient when performing orthogonal transformation, the frame processing mode that blocks the data so that the orthogonal transformation is performed, or the field processing mode that blocks the data so that the orthogonal transformation is performed in units of fields in the macroblock?
  • the block conversion is adaptively switched to the frame processing mode or the field processing mode, and a first coding processing mode for coding each macroblock based on each mode, and
  • the macroblock is converted to a block in the above-mentioned field processing mode, and the scan of the odd-numbered field in the interlace is performed. And odd Fi one field only one frame coded in the macro Proc an odd cycle period for, then even Fi one field in the macro Proc an even cycle period for Sukiyan even field in the fin evening race
  • Third mode selection means for determining which of the second encoding processing modes for encoding one frame is more efficient at the time of encoding, and selecting an efficient encoding mode; Recognizing whether the cycle is the odd cycle or the even cycle, if the encoding processing mode is the first encoding processing mode, the macro divided into blocks in the odd cycle corresponding to the blocking mode.
  • the frame memory group is controlled so as to output a block, and when the above-mentioned encoding processing mode is the second encoding processing mode, blocking is performed in the above-mentioned odd cycle and even cycle in accordance with the above-mentioned field processing mode.
  • Address generation means for controlling the frame memory group so as to output the selected macro block; motion prediction mode information selected by the first mode selection means; and the second mode.
  • Receive Proc reduction mode information selected by the selecting means, in which a motion compensation means for performing motion compensation frame or Fi one field prediction in response to the mode information.
  • the high-efficiency coding apparatus of the present invention provides one frame from two fields.
  • the odd field (first field) and the even field (second field) are divided into blocks for all blocks in the frame, and the first and second fields are divided into blocks.
  • Encoding means that enables motion prediction (second encoding processing mode) and encoding means that switches between the first field and the second field and does not divide by Z in units of macroblocks (first encoding mode).
  • Encoding mode) and these encoding means are adaptively switched for each frame.
  • 1-bit information indicating the encoding means (information indicating the selected mode) is added to the code.
  • the high-efficiency decoding apparatus of the present invention includes: header information including encoded image data to be reproduced and detected motion vector information, motion prediction mode information, block mode information, and encoding mode information.
  • Inverse variable which outputs the detected motion vector information, the motion prediction mode information, the block mode information, and the encoding mode information together with the decoded surface image decoded data.
  • An address generating means for giving an address to the frame buffer; and adding a relative address of the macro block other than the head address to the frame buffer to transfer data.
  • receives the detected motion vector information, the motion prediction mode information, the blocking mode information, and the encoding processing mode information executes motion compensation corresponding to the mode information, and performs motion compensation.
  • a motion compensator configured to send an image signal to the frame buffer.
  • the frame orthogonal transform mode and the field orthogonal transform mode can be switched on a macroblock basis, and therefore, the most efficient coding can be selected on a macroblock basis.
  • the processing of one frame is divided into two cycles of an odd cycle and an even cycle.
  • the mode is switched between the frame orthogonal transform mode and the field orthogonal transform mode in macroblock units.
  • the field processing only the odd fields are decoded, and the quantization width in this cycle is stored.
  • the stored information is used to perform the field orthogonal transform mode. Since the reproduced image is decoded by motion-compensating only the macro block of, the encoded data can be transmitted efficiently. That is, a high-quality moving image can be reproduced with a small amount of transmission information.
  • the present invention it is possible to switch between the first encoding processing mode and the second encoding processing mode on a macroblock basis.
  • efficient encoding can be performed by adaptively selecting a frame processing mode and a field processing mode according to, for example, the magnitude of image motion.
  • the motion prediction of the even-numbered field from the odd-numbered field can be performed particularly for a frame having a large motion.
  • video can be efficiently encoded.
  • field processing is performed on moving images having a field structure.
  • the frame processing can be performed efficiently, so that a high-quality moving image can be reproduced with a small amount of transmission information at the time of decoding by the high-efficiency decoding apparatus of the present invention later. .
  • the mode is switched between the frame orthogonal transform mode and the field orthogonal transform mode in macroblock units according to the first and second encoding processing modes, and the frame motion prediction mode and the file Off the motion prediction mode
  • odd and even fields are both decoded in the frame processing
  • only the odd fields are decoded in the field processing
  • the quantization width in this cycle is stored.
  • the next even cycle Using this stored information, only the macroblock in the field orthogonal transform mode is motion-compensated to decode the reproduced image, so that efficient encoded data can be transmitted. That is, a high-quality moving image can be reproduced with a small amount of transmission information.
  • FIG. 1 is a block diagram showing a schematic configuration of a high-efficiency encoding apparatus for a plane image signal according to the first embodiment.
  • FIG. 2 is a block diagram illustrating a schematic configuration of a high-efficiency image signal encoding apparatus according to the second embodiment.
  • FIG. 3 is a block diagram illustrating a schematic configuration of a high-efficiency image signal encoding apparatus according to a third embodiment.
  • FIG. 4 is a diagram for explaining encoding according to the present embodiment.
  • FIG. 5 shows a macroblock
  • FIG. 6 is a diagram illustrating motion prediction in the case of the frame orthogonal transformation mode in the first encoding processing mode.
  • FIG. 7 is a diagram showing motion prediction in the case of the field orthogonal transform mode in the first encoding mode.
  • FIG. 8 is a diagram showing motion prediction in the case of the second encoding processing mode.
  • FIG. 9 is a diagram showing a unit block of DCT processing in a frame orthogonal transform mode / field processing mode in a specific example format of a digital VTR.
  • FIG. 10 is a diagram showing a state of motion prediction.
  • FIG. 11 is a diagram showing a state of motion prediction.
  • FIG. 12 is a diagram showing a unit block of the DCT processing in the frame orthogonal transform mode and the field orthogonal transform mode in the specific format of the digital VTR.
  • FIG. 13 is a diagram showing a unit block of the DCT processing in the frame orthogonal transform mode Z-field orthogonal transform mode in another specific example format of the digital signal VTR.
  • FIG. 14 is a diagram showing a unit block of the DCT processing in the frame orthogonal transform mode no-field orthogonal transform mode in another specific format of the digital VTR.
  • FIG. 15 is a diagram for explaining a set of macroblocks and a state of processing in the frame orthogonal transform mode.
  • FIG. 16 is a diagram for explaining the state of processing in the field orthogonal transform mode in the example of FIG.
  • FIG. 17 is a diagram for explaining a modified example (with respect to the previous prediction) of the extension bit addition in the second embodiment.
  • FIG. 18 is a block diagram illustrating a schematic configuration of a high-efficiency image signal encoding apparatus according to the fourth embodiment.
  • FIG. 19 is a block diagram showing the configuration of the decoder.
  • FIG. 20 is a diagram showing an image of a quad cycle.
  • FIG. 21 is a diagram showing an image of the even cycle.
  • FIG. 22 is a diagram for explaining each predicted image.
  • FIG. 23 shows the data structure
  • FIG. 24 is a diagram showing an image of a moving object.
  • Embodiment 2 will be described with reference to FIG. 2, and Embodiment 3 will be described with reference to FIG. Further, Embodiment 4 will be described with reference to FIG. Finally, an embodiment of the configuration of the decoder of the present invention will be described with reference to FIG.
  • both the intra-frame encoding (I-frame or I-picture) and the unidirectional prediction inter-frame encoding (P-frame or P-picture) as shown in FIG. Coding can be performed in three ways: inter-picture coding (B frame or B picture). Each picture is blocked by 8 ⁇ 8 pixels, and a macroblock is composed of 2 ⁇ 2 blocks (ie, 16 ⁇ 16 pixels).
  • FIG. 1 shows a first embodiment, in which a macroblock consisting of a two-dimensional array of surface elements smaller than one screen (for example, 16 ⁇ 16 pixels in the spatial arrangement of input image data in raster scan order)
  • a macroblock consisting of a two-dimensional array of surface elements smaller than one screen (for example, 16 ⁇ 16 pixels in the spatial arrangement of input image data in raster scan order)
  • This high efficiency coding apparatus has the following configuration.
  • a frame memory group 10 in which a plurality of frames (one screen) composed of a plurality of unit blocks of 16 ⁇ 16 elementary elements are stored as an original image
  • the motion vector and the absolute value of each pixel between the above-mentioned frames and between the fields consisting of odd and even scans of the pixels of the above-mentioned frame in units of the block It comprises a field motion detecting circuit 21 and a frame motion detecting circuit 22 which are motion detecting means for detecting a sum of logarithmic differences.
  • the motion detection is performed to determine which of the frame prediction mode in which motion compensation is performed in units of frames in the macroblock and the field prediction mode in which motion compensation is performed in units of fields in the macroblock. It comprises a motion prediction mode determination circuit 23 and a selector 24, which are first mode selection means for making a determination based on information output from the means and selecting an efficient prediction mode.
  • a frame orthogonal transform mode for blocking so as to perform orthogonal transform on a frame basis in the macroblock and a field orthogonal transform mode for blocking so as to perform orthogonal transform on a field basis in the macroblock are described. Which is more efficient in performing the orthogonal transformation by using information output from the motion detecting means and the first mode selecting means, and determining whether the mode is an efficient block.
  • a blocking mode determination circuit 25 which is a second mode selection means for selecting.
  • An address generator 11 which is an address generating means for controlling a frame memory group so as to output a macroblock divided into blocks corresponding to the mode
  • a frame memory group 20 with a motion compensator which is a motion compensating means for executing the above.
  • a digital image signal is supplied to the input terminal 1 and stored in the frame memory group 10. From the frame memory group 10, I 8
  • the data of the unit macroblock of 16 ⁇ 16 pixels is read out under the control of the address generator 11 described later and transmitted to the subtractor 12.
  • the subtractor 12 is also supplied with the motion-compensated image data from the frame memory group 20 with a motion compensator described later, and the subtracter 12 detects these differences.
  • the output of the subtractor 12 is sent to a DCT circuit 13 that performs orthogonal transform (DCT) processing.
  • DCT orthogonal transform
  • FFT frequency division multiple access
  • the DCT coefficient data obtained by performing the DCT processing in the DCT circuit 13 is sent to the quantizer 14.
  • the quantized data from the quantizer 14 is supplied to an output terminal 2 via a variable-length coding circuit 15 for performing variable-length coding processing such as so-called Huffman coding / run-length coding, and a buffer 16. Is output as encoded data.
  • the encoded data is not only transmitted through a predetermined communication path, but also can be written on a recording medium such as an optical disk or a magnetic tape.
  • the frame memory group with motion compensator 20 includes the quantized data from the quantizer 14 and an inverse quantizer 17 that performs an inverse quantization process of the quantization process in the quantizer 14.
  • the data is supplied via an adder 19 via the DCT circuit 13 and an inverse DCT circuit 18 for performing an inverse DCT process of the DCT circuit 13.
  • the adder 19 adds the output of the inverse DCT circuit 18 and the output of the frame memory group with motion compensator 20. From the buffer 16, a signal for preventing the buffer 16 from overflowing is fed back to the quantizer 14 as shown by a dotted line.
  • the image data output from the frame memory group 10 in units of macroblocks is transmitted to the frame motion detection circuit 22 and the field motion detection circuit 21.
  • the field motion detection circuit 21 detects the motion vector between the fields and the sum of the absolute values of the pixels in the macroblock unit, and obtains these data (the data FDMV of the motion vector between the fields and the sum of the absolute differences).
  • Data F DAD is output.
  • the frame motion detection circuit 22 detects a motion vector between frames and a sum of absolute value differences of each pixel in the macroblock unit, and outputs these data (the motion vector data FMMV and the absolute value of the motion vector between frames). Outputs the difference sum data F MAD).
  • the data F MMVZF DMV of each motion vector of the motion detection circuits 22 and 21 are transmitted to the selector 24, and the data F MADZF DAD of each sum of absolute value differences is calculated by the motion prediction mode determination circuit. It is transmitted to 23.
  • the motion prediction mode determination circuit 23 is based on the absolute value difference sum data FDAD from the field motion detection circuit 21 and the absolute value difference sum data FMAD from the frame motion detection circuit 22 described later. At the time of the motion prediction processing in the frame memory group with motion compensator 20 that performs the motion prediction, it is determined whether to perform the motion prediction processing in the field unit or the motion prediction processing in the frame unit. Outputs data indicating the processing mode that is more advantageous (the more efficient one).
  • the difference between the absolute value difference sum data F MAD and the absolute value difference sum data FD AD is larger than the value T 1 (F MAD —
  • F DAD the absolute value difference sum data
  • the circuit 23 indicates that it is more efficient to perform the motion prediction processing on a field-by-field basis (data in the field orthogonal transform mode MPFD for motion prediction). ) Is output.
  • the difference between the absolute value difference sum data F MAD and the absolute value difference sum data F DAD is smaller than or equal to the threshold value T1 (when F MAD-F DAD ⁇ T1).
  • the data (MPFM data of the frame orthogonal transform mode in the motion prediction) is output.
  • C Any one of these motion prediction modes, MPFMZMPFD is sent to the frame memory group with motion compensator 20 to thereby obtain the frame memory. In group 20, motion compensation is performed in frame units or field units.
  • These motion prediction mode data MPFMZMPFD are also sent to the selector 24.
  • the selector 24 includes data FMMV of an inter-frame motion vector supplied from the frame motion detection circuit 22 and the field One of the data FDMV of the motion vector between fields supplied from the motion detection circuit 21 is selectively output. That is, when the motion prediction mode data is the data MPFD indicating the field prediction mode, the motion vector data FDMV from the field motion detection circuit 21 is selected and output, and the motion prediction mode data is stored in the frame prediction mode. In the case of MPFM data, the motion vector data F MMV from the frame motion detection circuit 22 is selected and output.
  • the motion vector data FMMVZF DMV selected by the selector 24 is sent to the block mode determination circuit 25.
  • the output data from the frame memory group 10 and the processing mode data MP FMZMPFD from the motion prediction mode determination circuit 23 are also supplied to the blocking mode determination circuit 25.
  • the blocking mode determination circuit 25 receives the motion prediction mode data MPFMZMPFD and the motion vector data FM MVZF DMV, and further creates a differential surface image using the image from the frame memory group 10. Based on the difference image, the block processing mode most suitable for the plane image output from the frame memory group 10 and subjected to the DCT processing by the DCT circuit 13 is selected.
  • the macroblock of the difference image is, for example, a macroblock as shown in FIG. 5A (the original macroblock in the I picture).
  • EFM j ⁇ -1 i ⁇ -1 I o (i, j) — e (i, j) I + j ⁇ ] i ⁇ _l I e (i, j) -o (i + l, j)
  • the blocking mode determination circuit 25 specifically, the difference between the difference E FM obtained in the frame and the difference E FD obtained in the field by using the formulas of Equations 1 and 2 is obtained. If it is determined that the threshold value is larger than a certain threshold value T2 (EFM-EFD> T2), data indicating that the DCT in the DCT circuit 13 is to be performed on a field basis (field orthogonal transform in the blocking process). Mode data MDFD) is output. Conversely, if it is determined that the difference between the difference EFM and the difference EFD is smaller than or equal to the threshold value T2 (when EFM-EFD ⁇ T2), the DCT in the DCT circuit 13 is performed.
  • Is output (data MDFM in the frame orthogonal transform mode in the blocking process) indicating that the above is performed in frame units. Any of these blocks
  • the conversion mode data MDFM / MDFD is transmitted to the address generator 11 and the frame memory group with motion compensator 20. Further, the motion vector data (FM MVZFDMV), the blocking processing mode data (MDFMZMDFD), and the prediction mode data (MPFMZMPFD) are sent to the above-described variable-length coding circuit 15.
  • the image data stored in the frame memory group 10 is divided into macro blocks which are divided into blocks in accordance with the processing mode data MDFMZMDFD in the DCT 13, for example, in units of the macro blocks.
  • the frame memory group is controlled to output a clock.
  • the address generator 11 when the block mode data is data MDFM indicating DCT processing in units of frames, as shown in FIG. Controls the frame memory group such that outputs the macro block arranged in 3 ⁇ 4S.
  • the unit block of the macro block sent to the DCT circuit 13 is a combination of the even field and the odd field.
  • the unit block of the macro block sent to the DCT circuit 13 has an even field and an odd field separately.
  • the DCT circuit 13 performs the DCT conversion in the unit block of 8 ⁇ 8 pixels as described above.
  • odd lines are indicated by solid lines
  • even lines are indicated by dotted lines.
  • the frame memory group with motion compensator 20 includes the motion prediction mode judgment.
  • the prediction mode data MPFM / MFD from the circuit 23, the processing mode data MDFM / MDFD from the DCT mode determination circuit 25, and the motion vector data F MMVZF DMV selected by the selector 24 are supplied. I have. Therefore, the frame memory group with motion compensator 20 responds to the prediction mode data M PFM / M PFD in the motion prediction and the block mode data MDFM / MDFD in the DCT processing, and also stores the motion vector data F MMVZF DMV. Motion compensation using
  • FIG. 2 shows a second embodiment.
  • blocks with the same numbers as those in FIG. 1 have the same functions. Therefore, here, blocks with numbers different from those in FIG. 1 will be described.
  • the high-efficiency coding apparatus of FIG. 2 is different from the high-performance coding apparatus of FIG.
  • the mode of the mode determination circuit 26 is determined. Only during the field prediction 'field processing, odd-numbered fields for the MAC block are output one frame at a time in the odd-numbered cycle, and even-numbered fields for the macroblock are sequentially output for one frame in the even-numbered cycle.
  • an address generator 31 which is an address generating means for controlling the frame memory group so as to output the divided data.
  • the second embodiment is an encoding device that does not have the above-mentioned blocking mode and the above-mentioned motion compensation mode. The second embodiment is fundamentally different from the first embodiment in the operation of the address generator as described above.
  • the mode determination circuit 26 in FIG. 2 is described below based on the absolute value difference sum data FMAD from the frame motion detection circuit 22 and the absolute value difference sum data FDAD from the field motion detection circuit 21.
  • the motion vector FMMVZFDMV from the motion detection circuit (21, 22) and the image from the frame memory group 10.
  • the mode of the blocking process most suitable for the image output from the frame memory group I0 and subjected to the DCT process by the DCT circuit 13 is also determined.
  • the mode determination circuit 26 determines which of the DFDs is more efficient.
  • the mode determination circuit has a configuration in which the functions of the motion prediction mode determination circuit 23 and the blocking mode determination circuit 25 in the first embodiment are combined.
  • the specific mode determination can be performed, for example, in the same manner as the determination of the motion prediction mode and the blocking mode in the first embodiment.
  • the image data stored in the frame memory group 10 is divided into blocks in accordance with the mode data PD FM / PDFD, for example, in units of the macro blocks. Control the frame memory group 10 to output macroblocks. That is, in the address generator 31, When one data is the data P DFM indicating the encoding processing in the frame unit, the frame memory group 10 is controlled so as to output the macro block shown in FIG. 5B. Thereby, the unit block of the macro block sent to the DCT circuit 13 is a combination of the even field and the odd field.
  • the mode data is data P DFD indicating encoding processing in field units
  • odd fields for the macro block are sequentially output for one frame (one screen) in the odd cycle
  • the frame memory group 10 is controlled so that even-numbered fields of the macroblock are sequentially output for one frame (one screen) in even-numbered cycles.
  • the unit block of the macroblock sent to the DCT circuit 13 becomes a macroblock composed of only odd fields in odd cycles, and a macroblock composed of only even fields in even cycles.
  • the frame prediction mode and the field prediction mode in the motion prediction and / or the frame orthogonal transformation mode and the field orthogonal Since the conversion mode can be switched in units of macroblocks, coding can be performed with the highest efficiency in units of macroblocks.
  • the encoding apparatuses of the first and second embodiments perform the following motion prediction and DCT conversion processing for each digital VTR format, for example.
  • Fields constituting a frame of the I frame are an Io field (odd field of the I frame) and an Ie field (even field of the I frame),
  • the fields that make up the P frame (P picture) are Field), Pe field (even field),
  • the fields that make up the B frame (B picture) are the Bo field (odd field) and the Be field (even field).
  • the frame orthogonal transform mode in the blocking is configured by combining the odd and even fields to form the macroblock (that is, the frame). This is a mode in which a macroblock is configured for each) and this macroblock is used as a processing unit.
  • the field orthogonal transform mode in the blocking consists of a macro block composed of odd and even fields separately (that is, a macro block for each field). Then, a mode in which the macroblock is a processing unit is used. Therefore, for example, in an I frame, the frame orthogonal transform mode and the field orthogonal transform mode are switched for each macroblock.
  • the encoding process is divided into an odd cycle for scanning the odd field in the interlace and an even cycle for scanning the even field in the interlace.
  • a macro processor consisting of a luminance block ⁇ 02 ⁇ , Y13o of each odd field, a luminance block Y02e, Y13e of each even field, and a chrominance block CbO, Crl of the odd field is used. DCT processing of each unit block of block MB is performed.
  • Motion prediction between the Ie field and the Pe field MCe Pe becomes possible. That is, in the case of Fig. 10 (A), motion prediction and blocking can exist independently in the frame prediction / processing mode and the field prediction / processing mode, and one motion vector is obtained in the frame prediction mode. In the field prediction mode, two motion vectors are required.
  • the I 0 field and the I e ′ field are combined in the odd cycle to set the macro A block is formed, and, for example, in the above-mentioned odd cycle, DCT conversion (however, DCT is performed for each of the above 8 ⁇ 8 unit blocks), quantization, and variable length coding are performed for each macroblock.
  • DCT conversion (however, DCT is performed for each of the above 8 ⁇ 8 unit blocks), quantization, and variable length coding are performed for each macroblock.
  • the even cycle no data is sent.
  • the macroblock when the blocking is in the field orthogonal transform mode, the macroblock is configured in a manner that the I0 field and the Ie field are separately separated in the odd cycle, and the DCT transform (for each macroblock) DCT is performed for each of the above 8 ⁇ 8 unit blocks), quantization, and variable-length coding are performed.
  • the even cycle no data is sent, as can be seen from FIG.
  • the following processing is performed.
  • the reference image is set as the target image (I-frame image), and the motion vector MVP between the framing is detected.
  • the macroblock in which the field and the Ie field are alternately combined as the predicted image encode the difference from the original image.
  • the even cycle no data is sent.
  • the above-mentioned quad cycle refers to the I0 field and the Ie field (or the Po and Pe fields), respectively.
  • the motion vector MVe Pe between the I e field and the Pe field is detected, and the prediction of the odd field, the prediction of the even field, and both predictions (for example, the average of the prediction of the even field and the prediction of the odd field) are performed.
  • the prediction that minimizes the prediction error from the current P frame is selected, and the difference from the original image is encoded using the above-described macroblock in which the Io field and the Ie field are combined as the prediction image.
  • no data is sent in the even cycle.
  • the reference image is set as the I-frame image (or the P-frame image) in the above-mentioned cycle, and the inter-frame The motion vector MVP is detected, and the macroblock composed of the Io and Ie fields separately is used as the predicted image as the original image (the Po and Pe fields are separated separately and the Macro block).
  • no data is sent in the even cycle as described above.
  • the above-mentioned blocking of the P frame is performed in the field orthogonal In the field prediction mode, the I0 field and Ie field (or Po field and Pe field) are used as reference images in the above-mentioned quad cycle, respectively.
  • the motion vector MVe Pe between the I e field and the Pe field is detected, and the prediction of the odd field, the prediction of the even field, and both predictions (for example, the average of the prediction of the even field and the prediction of the odd field) are performed. Then, the prediction that minimizes the prediction error from the current P frame is selected, and the macroblock composed of the I0 field and the Ie field separately divided is used as the prediction image as the original image (Po field and field). (A macro block in which one field is divided separately) is encoded. On the other hand, no data is sent in the even cycle.
  • the reference image is the front and rear images
  • the motion vector between the frames that is, the I frame and The motion vector FMV between the B frame and the motion vector BMV B between the P frame and the B frame
  • the forward prediction, backward prediction, bidirectional prediction average of forward prediction and backward prediction
  • the prediction that minimizes the prediction error from the current frame is selected, and the difference from the original image is encoded using the above-described macroblock in which the odd and even fields are alternately combined as a prediction image.
  • no data is sent in the even cycle.
  • the reference image is divided into the front and rear images in the above-mentioned quad cycle. For each of these images, an odd field prediction and an even field prediction are performed for each of these images.
  • the motion vector between the Pe and Be fields is detected.
  • BMVe Be is detected, and the prediction of the odd field and the prediction of the even field by each vector are performed (for example, the average of the prediction of the even field and the prediction of the odd field). ),
  • the prediction that minimizes the prediction error from the current frame is selected, and the above macroblock in which the Io field and the Ie field (or the Po field and the Pe field) are combined is used as the prediction image and the original image. Is encoded. On the other hand, no data is sent in the even cycle.
  • the reference image is a forward and a backward image, and a motion vector between frames, that is, an I frame and a B frame
  • the motion vector between frames FMVB and the motion vector between P and B frames BMV B are detected, and forward prediction, backward prediction, and bidirectional prediction (average of forward prediction and backward prediction) are performed.
  • the prediction that minimizes the prediction error with respect to the current frame is selected, and the difference from the original image is encoded using the macroblock, which is formed by separately dividing the odd field and the even field, as a prediction plane image.
  • no data is sent in the even cycle.
  • the reference image is used as the front and rear images, and these images are referred to as, respectively.
  • the prediction of the odd field and the prediction of the even field are performed, and the respective motion vectors, that is,
  • the macro block with the smallest prediction error from the current frame is selected, and the Io field and Ie field (or Po field and Pe field) are divided separately. Is used as a prediction image, and the difference from the original image is encoded. On the other hand, no data is sent in the even cycle.
  • Example 1 As can be seen from FIG. 10 (A), the motion prediction between the Io field and the Ie field, the motion prediction between the Po field and the Pe field, and the Bo field Motion prediction between field and Be field is not possible.
  • the second embodiment it is possible to predict an odd field to an even field in each picture. That is, as shown in FIG. 12, for example, when the above-mentioned blocking is in the frame orthogonal transformation mode, luminance blocks Y0, Yl, Y2, Y3 composed of odd fields and even fields are generated in odd cycles. DCT processing is performed for each unit block of the macroblock MB composed of the chrominance blocks CbO and Crl of several fields.In addition, when the above blocking is in the field orthogonal transform mode, each of the above odd fields is performed in a quad cycle. DCT processing is performed on each unit block of the luminance blocks Y02o and Y13o and the color difference blocks CbO and Crl of the odd field. After that, DCT processing is performed on each unit block of each luminance block Y02e and Y13e of the even field in the even cycle.
  • the macroblock is configured by combining the Io field and the Ie field in the odd cycle. For example, DCT conversion (DCT is performed for each 8 ⁇ 8 unit block), quantization, and variable length coding are performed for each macroblock in the above-described odd cycle. On the other hand, in the even cycle, no data is sent.
  • the blocking When the blocking is in the field orthogonal transform mode, only the odd fields of the Mac block are similarly coded in the quad cycle.
  • the entirety of the above-mentioned I0 field and the macroblock portion of the Ie field in the above-mentioned frame orthogonal transform mode are obtained on the decoding side described later.
  • motion prediction is performed for the macroblock of the Ie field in the field orthogonal transform mode using the Io field as a reference image, and the motion vector SMV I and the prediction The difference image from the image is encoded.
  • the motion vector MVP between the frames is detected by using the reference image as a forward image (I-frame image) in the above-mentioned cycle. o Encode the difference from the original image using the macroblock, in which the field and the Ie field are combined, as the predicted image. On the other hand, no data is sent in the even cycle.
  • the I0 field and the Ie field are used as reference image images in the above quad cycle.
  • the motion vector MVo Po between the Io field and the Po field and the motion vector MVe Po between the Ie field and the Po field are detected, and the prediction of the odd field and the prediction of the even field are performed (for example, among the predictions of the even field and the prediction of the odd field), the prediction that minimizes the prediction error with respect to the odd field of the current frame is selected, and the difference from the prediction image is encoded.
  • the macroblock in the field orthogonal transform mode is
  • the prediction of the odd field, the prediction of the even field, and the prediction of the odd field of the current frame using each vector (movement prediction from the Po field that performs only the even cycle) and the average of two predictions from among them The prediction that minimizes the prediction error is selected from the predictions, and the difference from the prediction image is encoded.
  • the motion vector between the frames i.e., I frame and B
  • the motion vector FMVB and the motion vector BM VB between the P frame and the B frame are detected, and the forward frame, the backward frame, and the bidirectional frame (the average of the forward frame and the backward frame) are detected.
  • the prediction that minimizes the prediction error of is selected, and the difference with the predicted image is encoded. On the other hand, no data is sent in the even cycle.
  • each motion vector that is,
  • Motion vector between Pe field and Bo field BMVe Bo is detected.
  • the prediction that minimizes the prediction error is selected, and the difference from the predicted plane image is encoded. Furthermore, in this mode even cycle,
  • the motion vector between the Pe field and the Be field, each prediction by BMVe Be, and the prediction of the odd field of the current frame (that is, the prediction by the motion vector SMVB between the Bo field and the Be field) are also performed.
  • the prediction that minimizes the prediction error is selected, and the difference from the predicted image is encoded.
  • the odd field and the even field are used.
  • DCT processing is performed on each unit block of the macroblock composed of the blocks CbOl, CrOl, Cb23, and Cr23.
  • DCT processing is performed on each unit block of the macroblock consisting of C r0123e.
  • the motion prediction in the case of the example of FIG. 13 is as shown in FIG. 10 (A) described above. Therefore, motion prediction between the Io field and the Ie field, motion prediction between the Po field and the Pe field, and motion prediction between the Bo field and the Be field cannot be performed.
  • the second embodiment may be used as described above. That is, for example, as shown in FIG. 13, when the above-mentioned blocking is in the frame orthogonal transform mode, the luminance blocks Y0, Y1, Y2, and Y3, which consist of odd and even fields in a quad cycle, and the color difference blocks CbOl, CrOl , Cb23, and Cr23, each unit block of the macroblock is subjected to DCT processing.
  • each luminance block of the odd-numbered field ⁇ 02 ⁇ , ⁇ 13 ⁇ in a quad cycle when the blocking is in the field orthogonal transform mode, each luminance block of the odd-numbered field ⁇ 02 ⁇ , ⁇ 13 ⁇ in a quad cycle.
  • each unit block of each luminance block Y02e, Y13e of the even field and each color difference block Cb0123e, Cr0123e of the even field is subjected to DCT processing.
  • the motion prediction of a frame is performed in units of macroblock MB, but when predicting the motion of a field, a certain macroblock MB (i, j) and its It is also possible to combine the macroblock MB (i + l, j) located below and perform motion prediction for odd-numbered fields and motion prediction for even-numbered fields for this macroblock set MBg. .
  • FIG. 15 shows a part of the macroblock extracted from the frame in the example of FIG. It is assumed that the process proceeds in the direction of the arrow in FIG. That is, FIG. 15 shows that for a macroblock MB (i, j), the next macroblock MB (i, j + 1) and the macroblock (on the next line) located below them MB (i + l, j) and MB (i + l, j + 1) are shown.
  • Blocks CbOl, CrOl are subjected to DCT processing. Therefore, in the case of the frame orthogonal transform mode, the processing of each macroblock is not affected by the processing mode of the other macroblocks.
  • the macroblocks constituting the macroblock set MBg are replaced by the odd-field macroblocks MBg.
  • the block is divided into a macro block MBge of go and an even field, and each of the luminance blocks YOo and Ylo and the color difference blocks CbOlo and CrOlo in the macroblock MBgo of the odd field are subjected to the DCT processing.
  • Ylo is the luminance block of the odd field of the macroblock MB (i, j) and the luminance field of the odd field of the macroblock MB (i + I, j). It consists of blocks.
  • the color difference block CbOlo, CrOlo also consists of a color difference block of the odd field of the macroblock MB (i, j) and a color difference block of the odd field of the macroblock MB (i + l, j).
  • the luminance blocks YOe and Yle in the even-field macroblock MBge are represented by the even-field luminance blocks of the macroblock MB (i, j) and the macroblock MB (i + l, j), the chrominance blocks C b01e and CrOle in the macroblock MBge of the even field are the chrominance blocks of the even field of the macroblock MB (i, j). And a color difference block of the even-numbered field of the macroblock MB (i + l, j).
  • the relationship between the motion prediction and each processing mode of the DCT conversion is as described below. That is, in the coding apparatus according to the present embodiment, for example, for the macroblock MB (i, j) described above, when the frame orthogonal transform mode motion prediction is performed and the frame orthogonal transform mode DCT transform is performed, The image decoded in the frame memory group with compensator 20 is used as a reference frame, and the difference between the predicted image extracted from the reference frame and the input image (original image) is subjected to DCT. Then, the DCT coefficient and the frame motion vector are transmitted.
  • the macroblock MB (i, j) when the motion prediction in the field orthogonal transform mode is DCT transform in the field orthogonal transform mode, in the macroblock MB (i, j), The difference between the extracted predicted image and the original image in the odd field and the motion vector in the odd field are encoded.
  • the macroblock MB (i + l, j) encodes the difference between the predicted image extracted from the even field and the original image of the even field, and the even field motion vector.
  • a field orthogonal transform is performed.
  • the macroblock MB (i,; i) predicts the position of the macroblock MB (i, j) extracted from the reference frame.
  • the frame difference between the image and the input image and the motion vectors of the odd and even fields are transmitted.
  • the macroblock MB (i + l, j) transmits a frame difference between the predicted image and the input plane image corresponding to the position of the macroblock MB (i + l, j) extracted from the reference frame.
  • the macroblock MB (i, j) when the motion prediction in the frame orthogonal transform mode is DCT transform in the field orthogonal transform mode, the macroblock MB (i, j) The difference between the predicted image extracted from the odd field and the original image of the odd field, the frame motion vector of the macroblock MB (i, j), and the frame motion vector of the macroblock MB (i + l, j) Is transmitted.
  • the macroblock MB (i + l, j) the difference between the predicted plane image of the odd field and the input image is transmitted.
  • the present encoding device realizes the present code by adding an extension bit to the conventional macro block type to obtain compatibility with the conventional macro block type.
  • the present code is realized by adding an extension bit that recognizes whether the prediction is an error or a shift. Since there are two types of prediction in this case, it is sufficient to add 1 bit for the extension bit in one direction (previous and post-prediction). For example, in the case of prediction from an odd field in the pre- or post-prediction, code 1 may be added as an extension bit to the conventional macroblock type in the case of prediction from an even field, as an extension bit. In both predictions, an extension bit for the rainy direction is added to the pre- or post-prediction. In the frame prediction mode, no extension bits are added and the format is the same as that of the conventional bit stream (MPEG).
  • MPEG conventional bit stream
  • the macroblock type includes pre-prediction, post-prediction, and both predictions as described above.
  • An extension bit must be added to the macro block type to recognize whether prediction is from an even field or from an odd field in its own frame.
  • the field prediction mode of the previous prediction since there is a prediction from within the own frame, one or two extended bits are required to express three types of predictions including the odd and even numbers with the extended bits.
  • the field prediction mode of the post-prediction since there are only two types of odd number and even number, one extension bit is always required.
  • the sign is 1 for prediction from the odd field of the previous frame
  • the sign is 0 1 for prediction from the even field of the previous frame
  • the sign is 1 for prediction from the odd field of the current frame.
  • sign 1 is used for prediction from the odd field of the subsequent frame
  • sign 0 is used for prediction from the even field of the subsequent frame
  • the conventional macro block is used as an extension bit. Just add it to the type.
  • the number of extension bits in the case of the pre-prediction can be reduced to one bit. That is, in the even cycle in the field prediction mode, as shown in Fig. 17, by eliminating the prediction from the odd field of the previous frame that is farthest in time and position, two previous predictions can be obtained. Reduced to 1 bit extension Pre-prediction mode can be transmitted. Specifically, in the pre-prediction in the quad cycle, the sign is 1 for prediction from the odd field of the previous frame, the sign is 0 for prediction from the even field of the previous frame, and the pre-prediction is in the even cycle.
  • the sign is 1 for prediction from the odd field of the current frame
  • the sign is 0 for prediction from the even field of the previous frame
  • a code 0 may be added to the conventional macroblock type as an extension bit.
  • FIG. 3 shows a high-efficiency image signal encoding apparatus according to a third embodiment of the present invention.
  • blocks with the same numbers as in FIG. 1 perform the same functions as the blocks in FIG. Therefore, the numbers that are different from those in FIG. Talk about
  • the high-efficiency coding apparatus of FIG. 3 has a case where the motion compensation is performed in the above-described frame prediction mode and the orthogonal transform is blocked in the frame orthogonal transform mode.
  • the mode determination circuit 3 which is mode selection means for determining which is more efficient than in the case of the field orthogonal transformation mode based on information output from the motion detection means, and selecting an efficient prediction mode. 3 and the selector 24, and whether the odd cycle of scanning the odd field or the even cycle of scanning the even field in the encoding process for one frame (one screen).
  • the mode of the mode determination circuit 33 is the field prediction and the field processing, only the odd cycle of the odd-numbered cycle in the above-mentioned odd cycle is used.
  • the high-efficiency image signal encoding apparatus includes, together with the motion detection means and the frame Z-field mode determination circuit 33, the orthogonal transform for each macroblock in one frame.
  • a first encoding processing mode in which block conversion is adaptively switched to the frame orthogonal transform mode or the field orthogonal transform mode to encode each macroblock based on each mode; and all macroblocks in one frame.
  • the even cycle (even event) during the scan of the even field in the interlace ) Determines which one of the second encoding mode, which encodes the even-numbered field in the macroblock for one frame, is more efficient, and selects the more efficient encoding mode. It has an encoding processing mode determination circuit 34 which is a third mode selection means.
  • the apparatus of the present embodiment recognizes whether the cycle is the odd cycle or the even cycle, and when the encoding processing mode is the first encoding processing mode, the orthogonal transformation is blocked in the odd cycle.
  • the frame memory group 10 is controlled so as to output a macroblock that has been blocked in accordance with the mode, and when the encoding processing mode is the second encoding processing mode, the odd cycle and even number are used.
  • an address generator 35 for controlling the frame memory group 10 so as to output a macroblock locked in accordance with the above-mentioned field orthogonal transformation mode in a cycle.
  • the first mode selection means described above selects which of the frame motion prediction mode and the field motion prediction mode is more efficient in performing motion compensation. Either the frame orthogonal transform mode or the field orthogonal transform mode performs orthogonal transform by the second mode selecting means. In this case, it is possible to select whether the efficiency is high.
  • the first and second modes are selected by the above-described frame Z field mode determination circuit 33.
  • the apparatus of the present embodiment performs the mode selection processing by the first and second mode selection means and & in each of the frames so as to perform coding in one of two coding processing modes, whichever is more efficient. It has been done. That is, as described above, as the first encoding processing mode, the macroblocks are encoded by adaptively switching between the frame orthogonal transform mode and the field orthogonal transform mode for each macroblock in one frame. Become
  • the orthogonal transformation of all macroblocks in one frame is blocked in the field orthogonal transformation mode, and the odd field (first field) is used. Only one frame of the odd field in the macro block is coded for one frame in the odd cycle of the scan of the first field, and then the even field of the macro block is coded for one frame in the even cycle of the scan of the second field. .
  • the third mode selecting means determines which of the first and second encoding processing modes is more efficient in encoding, and selects the more efficient encoding processing mode. I have to.
  • each frame is divided into a first field (odd field) and a second field (even field) without being divided into blocks and encoded (the frame orthogonal transform mode).
  • the frame orthogonal transform mode for example, in the case of a macroblock having a small image motion, the above-described frame orthogonal transform is used.
  • a process of adaptively switching to use the field orthogonal transform mode is performed.
  • the frame orthogonal transform mode is selected in the first encoding processing mode, for example, in the motion prediction of the P and B frames, motion prediction is performed from the previous and next frames, and a difference image from the predicted image is obtained. Is orthogonally transformed (DCT).
  • DCT orthogonally transformed
  • the field orthogonal transform mode is selected in the first encoding processing mode, for example, the motion prediction of the P and B frames is performed before and after each of the first and second fields of the macroblock. Motion is predicted from the first or second field of the frame of the frame, and a difference image from the predicted image is subjected to DCT.
  • the first encoding processing mode can be said to be encoding without intra-frame inter-field prediction.
  • encoding is performed in the odd cycle. It should be noted that this first encoding processing mode can be referred to as encoding without intra-frame inter-field prediction.
  • the blocking of the orthogonal transform of all the macroblocks in each frame is performed in the field orthogonal transform mode, and the odd cycle. Therefore, only the odd field in the macroblock is encoded for one frame, and then the even field in the macroblock is encoded for one frame in the even cycle. Therefore, according to the second encoding mode, since the odd field (the first field) is encoded first, the even field (the second field) is motion-predicted from the odd field (the first field). Becomes possible. From this, it can be said that the second encoding processing mode is encoding of a frame with intra-frame inter-field prediction.
  • the selector 24 selects the frame / field mode
  • the motion vector data FMMV between frames supplied from the frame motion detection circuit 22 and the field motion detection circuit 21 Select and output one of the motion vector data F DMV between the fields. That is, when the motion prediction mode data is the data MPFD indicating the field motion prediction mode, the motion vector data FDMV from the field motion detection circuit 21 is selected and output, and the motion prediction mode data is the frame motion. In the case of data MPFM indicating the prediction mode, the motion vector FMMV from the frame motion detection circuit 22 is selected and output.
  • the motion vector data FMMVZF DMV selected by the selector 24 is sent to the frame memory group with motion compensator 20.
  • the frame memory group 20 can perform motion compensation in frame units or field units based on the motion prediction mode data MPFMZMPFD and the motion vector data FMMVZF DMV.
  • the frame no-field mode determination circuit 33 is also supplied with the image data in macroblock units read from the frame memory group 10.
  • the frame Z-field mode determination circuit 33 creates a difference image using the motion prediction mode data—evening MPFM / MPFD and the motion vector data FMMVZF DV, and the image data from the frame memory group 10.
  • an orthogonal transformation block processing mode (the above-described frame orthogonal transformation mode) that is output from the frame memory group 10 and is most suitable for the image subjected to DCT processing by the DCT circuit 13 is performed.
  • / Field orthogonal transformation mode is also performed at the same time.
  • the data of the image (original image) of the frame memory group 10 is used instead of the above-described difference plane image.
  • the frame field mode determination circuit 33 outputs data MDFD in the field orthogonal transform mode in the orthogonal transform block processing. Or, output the data MDFM in the frame orthogonal transform mode in the orthogonal transform block processing.
  • the output of the frame orthogonal transform mode data MDMD or the field orthogonal transform mode data MDFD from the frame / field mode decision circuit 33 is the first encoding process from the encoding process mode decision circuit 34. It is determined according to the encoding mode data EN 1 ZE N 2 corresponding to the mode or the second encoding processing mode.
  • the encoding processing mode determination circuit 34 uses the image data in macroblock units read from the frame memory group 10 as described above, and as described above, It determines which of the encoding processing modes is more efficient for encoding, and outputs the encoding mode data EN 1 or EN 2 according to the determination result. More specifically, for example, the encoding mode determination circuit 34 determines the absolute value of each pixel between the odd field (first field) and the even field (second field) of each frame. If the sum of the differences is calculated and the value of the sum of the absolute differences is, for example, less than a certain threshold TO (that is, when the motion of the image is small), it is more efficient to perform the encoding in the first encoding processing mode. If the value of the sum of absolute difference is equal to or larger than the threshold value TO (when the motion of the image is large), the second code is output. The encoding mode data EN 2 indicating that encoding in the encoding processing mode is more efficient is output.
  • the encoding processing mode determination circuit 34 when making the determination in the encoding processing mode determination circuit 34, it is also possible to make a determination using the motion vector data FDMV from the field motion detection circuit 21. That is, if the motion vector data F DMV between the odd field and the even field is less than a certain threshold value t O, the first encoding processing mode is selected, Conversely, if it is equal to or greater than the threshold value t0, it is also possible to select the second encoding processing mode.
  • the encoding mode data EN 1 / EN 2 from the encoding process code judging circuit 34 is sent to the frame Z field mode judging circuit 33 so that the frame / field mode judging circuit 33 Means that the frame orthogonal transformation mode data MDFM or the field orthogonal transformation mode data MDFD corresponding to the above encoding mode data EN 1 ZEN 2 is output.
  • the frame field field is set.
  • the mode determination circuit 33 performs a process of adaptively switching the above-described frame orthogonal transformation mode or field orthogonal transformation mode for each macroblock in one frame. Therefore, the adaptively switched frame orthogonal transform mode MDFM or field orthogonal transform mode data MDFD is output from the frame Z field mode determination circuit 33.
  • the frame field mode determination circuit 33 As described above, the blocking of the orthogonal transformation of all the macroblocks in one frame is performed in the field orthogonal transformation mode. Therefore, the above-described field orthogonal transformation mode data MDFD is output from the frame Z-field mode determination circuit 33.
  • the mode data MDFMZMDFD for blocking the orthogonal transformation of any one of the frame Z fields output from the frame Z field mode determination circuit 33 and the encoding mode data EN from the encoding processing mode determination circuit 34 EN 1 ZEN 2 is transmitted to the address generator 35 and the frame memory group 20 with motion compensator.
  • the orthogonal transform mode data (MDFMZMDFD) and the motion prediction mode data Evening (MPFMZMPFD), the encoding mode data EN1 / EN2, and the motion vector data (FMMV / FDMV) are also sent to the above-described variable length encoding circuit 15.
  • the address generator 35 controls the frame memory group 10. That is, as described above, in the case of the first encoding processing mode, a macroblock that is blocked in the odd cycle in accordance with the orthogonal transformation blocking mode (data MDFMZMDFD) is output. In the second encoding processing mode, the macro memory group 10 is controlled, and in the odd cycle and the even cycle, the macro processor is divided into blocks corresponding to the field orthogonal transform mode (data MDFD). The frame memory group 10 is controlled to output a block.
  • the address generator 35 when the first encoding processing mode is selected and the encoding mode data EN1 is supplied to the address generator 35, for example, the orthogonal transformation mode decoding is performed for each frame.
  • the data is MDFM indicating DCT processing
  • the address generator 35 as shown in FIG. 5B shows a macroblock (even field and odd field are scanned alternately and evenly).
  • the frame memory group 10 is controlled so as to output a macro block in a frame unit).
  • the address generator 34 in this case, as shown in FIG. 5 (B), converts a macroblock consisting of 1 to 16 lines into 1 to 8 lines and 9 to 16 lines.
  • the frame memory group 10 is controlled so that four 8 ⁇ 8 blocks (macro blocks) are output.
  • the address generator 35 When the first encoding processing mode is selected and the encoding mode data EN1 is supplied to the address generator 35, for example, the orthogonal transform mode data is subjected to DCT processing in field units. If the data is M DFD, the address generator 35 will scan even and odd as shown in Fig. 5 (C). The frame memory group 10 is controlled so as to output macroblocks (macroblocks in field units of odd and even fields, respectively) scanned separately. That is, as shown in FIG. 5 (C), the address generator 34 has 1 line, 3 lines, 5 lines, 7 lines, 9 lines, 11 lines, 13 lines, and 15 lines (odd field).
  • the frame memory group 10 is controlled so that two odd 8 ⁇ 8 blocks (macro blocks) are output for each of the odd and even fields.
  • the address generator 35 is connected to the odd number as described above.
  • the frame memory group 10 is controlled so as to output a macroblock block which has been converted into a block corresponding to the field orthogonal transform mode in the cycle and the even cycle. That is, when the second encoding processing mode is selected, the address generator 35 always outputs two 8 ⁇ 8 blocks (only luminance components as described later). Then, the frame memory group 10 is controlled. Specifically, in the odd cycle, the address generator 35 outputs the frame memory so that two 8 ⁇ 8 blocks of macroblocks of one frame (1 ⁇ ) are output only in the odd fields. Then, the group 10 is controlled. Then, in the even-numbered cycle, only the even-numbered fields are used as the above-mentioned frame memory group so that two 8 ⁇ 8 blocks of the above-described Mac mouth block are output for one frame (one surface). Control 1 0.
  • the image data output from the frame memory group 10 controlled by the address generator 35 is subjected to the DCT processing by the DCT circuit 13 as described above. It is. That is, for example, when the first encoding processing mode is selected and the frame orthogonal transform mode is selected, the DCT circuit 13 uses a unit of 8 ⁇ 8 pixels as shown in FIG. Perform DCT transformation in block. For example, when the first encoding processing mode is selected and the field orthogonal transform mode is selected, the DCT circuit 13 uses the unit block of 8 ⁇ 8 pixels as shown in FIG.
  • the encoding mode data EN1ZEN2 from the mode determination circuit 34 is also supplied to the frame memory group 20 with motion compensator. Therefore, in the frame memory group 20 with the motion compensator, the motion prediction mode data in the above-described motion prediction and the orthogonal transform data MDF / MD FD and the encoding mode data EN1 / EN2 in the MPFM / MP FD and DCT processing are used. At the same time, the motion compensation using the motion vector F MMV / F DMV is performed.
  • the motion prediction of the P and B frames is expected. Therefore, in the DCT circuit 13, the difference image from the predicted image is subjected to DCT conversion (DCT conversion in a unit block of 8 ⁇ 8 pixels). Note that FIG. 6 shows the previous frame, the current frame, and the next frame, where arrows indicate motion vectors and MB indicates macroblocks.
  • the motion estimation is performed from the odd or even field (first or second field) of the previous and subsequent frames. Is made. Therefore, in the DCT circuit 13, the difference plane image with the predicted image is DCT-transformed (DCT-transformed in a unit block of 8 ⁇ 8 pixels).
  • FIG. 7 shows the odd field and the even field of the previous frame, the current frame, and the subsequent frame, respectively, in which arrows indicate motion vectors and MB indicates macroblocks.
  • the motion prediction in the field orthogonal transform mode in the second encoding processing mode is performed by, for example, as shown in FIG. 8, before and after each of the odd field and the even field of the macroblock. Motion prediction is performed from the odd or even fields of the frame, and motion prediction between fields in each frame is also performed. Therefore, the DCT circuit 13 performs DCT conversion (DCT conversion in a unit block of 8 ⁇ 8 pixels) on the difference plane image with the prediction plane. In FIG. 8, the odd field and the even field of the previous frame, the current frame, and the subsequent frame are shown. Arrows in the figure indicate motion vectors, and MB indicates a macroblock.
  • the high-efficiency image signal encoding apparatus has the following features.
  • the first and second encoding processing modes that is, the magnitude of image motion
  • the second encoding processing mode is effective for a frame having a large motion.
  • the above-mentioned odd cycle (period cycle) of the period in which the encoding process scans the odd field in the interlace, and the above even cycle of the period in which the scanning of the even field is performed.
  • Le (even cycle).
  • the reference image is forward and backward in the odd cycle.
  • the motion vector between the frames i.e., the motion vector FMV B between the I frame and the B frame, and the motion vector BMV B between the P frame and the B frame are detected as the images of the forward and backward predictions.
  • the bidirectional prediction average of forward prediction and backward prediction
  • the prediction that minimizes the prediction error from the current frame is selected, and the odd field and the even field are separated separately.
  • the difference from the original image is encoded using the macroblock as the prediction image.
  • the reference image is divided into the front and rear images in the quad cycle. For each of these images, an odd field prediction and an even field prediction are performed, and the respective motion vectors, that is,
  • Motion vector BMVo Be between Po field and Be field The motion vector between the Pe and Be fields is detected. BMVe Be is detected, and the prediction of the odd field and the prediction of the even field by each vector are performed (for example, the prediction of the even field and the prediction of the odd field). Of the current frame, the prediction that minimizes the prediction error with the current frame is selected, and the above macroblock composed of the Io field and the fields (or Po and Pe fields) separated separately is selected. The difference from the original image is encoded as a predicted image. On the other hand, no data is sent in the even cycle of this mode.
  • the motion prediction between the I0 field and the Ie field and the motion prediction between the Po field and the Pe field are performed as in the first embodiment.
  • Motion prediction and motion prediction between Bo field and Be field cannot be performed.
  • the field orthogonal transform mode of the second encoding processing mode only the odd field of the MAC block is encoded in the above-mentioned second cycle, and only the even field of the macro block is encoded in the second cycle. I do.
  • the entirety of the I 0 field is obtained on the decoder side described later. Therefore, in the above-mentioned even cycle of the I frame, motion estimation is performed using the above Io field as a reference image for the Ie field macroblock in the above-mentioned field orthogonal transformation mode, as shown in Fig. 11.
  • the motion vector SMV I and the difference image from the prediction image can be encoded.
  • the following processing is performed.
  • the reference image The motion vector MVP between the frames is detected as the forward image (I-frame image), and the macroblock combining the I0 field and the Ie field is used as the predicted image to calculate the difference from the original image. Encode.
  • the motion prediction of the P frame in the second encoding processing mode is the field motion prediction mode
  • the I0 field and the Ie field are used as reference image images in the above-mentioned quad cycle, respectively.
  • a motion vector MVe Po between the Ie field and the Po field is detected.
  • the macroblock in the field orthogonal transform mode is
  • the motion vector MVo Pe between the Io field and the Pe field and the motion vector MVe Pe between the Ie field and the Pe field and the motion vector SMV P between the Po field and the Pe field are detected.
  • the prediction with the smallest prediction error is selected from the prediction of the odd field, the prediction of the even field, the prediction of the odd field of the current frame, and the prediction of the average of two predictions from among them. Then, the difference from the predicted image is encoded. Further, for example, in the second encoding processing mode, when the motion prediction of the B frame is the frame motion prediction mode, the motion vector FMV between the I frame and the B frame and the motion vector between the P frame and the B frame.
  • the motion vector BMV B is detected, and among the forward prediction, the backward prediction, and the bidirectional prediction (average of the forward prediction and the backward prediction), the prediction that minimizes the prediction error with respect to the current frame is selected, and the predicted image and Is encoded.
  • the motion prediction of the B frame is the field motion prediction mode in the second coding processing mode
  • the prediction of the odd field and the prediction of the even field are performed for the above-mentioned images by setting the reference image to the front and the rear, respectively. Do it
  • the prediction is performed at the macroblock MB level.
  • the macroblocks are grouped together, and the odd field motion prediction and the even field are applied to this macroblock group MBg. It is also possible to perform one-field motion prediction. Therefore, in the case of the frame orthogonal transformation mode, the processing of each MAC block is not affected by the orthogonal transformation mode of another MAC block.
  • FIG. 18 shows a configuration example of an encoding device according to the fourth embodiment. Note that in FIG. 18, the same components as those in FIG. 1 described above are denoted by the same reference numerals, and detailed description thereof will be omitted.
  • the configuration of the device according to the fourth embodiment is an encoding device using three passes, and performs processing three times to process one frame.
  • the first pass performs the processing in the second encoding processing mode (with intra-frame inter-frame prediction) using the fixed quantization width
  • the third pass generates the video generated in the first and second passes.
  • the processing with the smaller number of bits is selected, and the processing is performed by controlling the quantization width.
  • a macroblock generator 55 a switching switch 57, a field block conversion circuit 56, and a switching switch 58, which will be described later, are provided after the frame memory group 10. Insert connection.
  • the image data from the frame memory group 10 is sent to a motion detection circuit 51 that performs frame and field motion detection.
  • the output from the motion detection circuit 51 is a mode determination circuit 52 for selecting a frame / field mode for blocking and transforming the orthogonal transform, the frame memory group 20 and a variable length coding circuit. Sent to 1-5.
  • the output mode data from the mode determination circuit 52 is sent to the frame memory group 20 and the variable-length coding circuit 15, of which the field orthogonal transform mode data is a two-input AND gate 53 one input terminal. Sent to The other input terminal of the two-input AND gate 53 is supplied with the output of the switching switch 59 that can be switched according to the first, second, and third passes via the inverter 54. Is to be done.
  • the output terminal of the two-input AND gate is connected to the switching control terminals of the switching switches 57 and 58.
  • the variable length coding circuit 15 outputs data of the number of generated bits, and based on the data of the number of generated bits, whichever of the first and second encoding processing modes has the smaller number of generated bits. (Selection circuit for predicting the presence or absence of inter-field prediction in frame) 60 Further, the accumulated amount data from the buffer 16 is supplied to one of the switched terminals of the switching switch 61 together with the variable length encoding circuit 15. A fixed value of the first and second passes is supplied to the other switched terminal of the switching switch 61.
  • the image input to the terminal 1 is once stored in the frame memory group 10, and the necessary frame or field data is called out from the frame memory group 10.
  • the motion vector is determined by the detector 51.
  • the mode determination circuit 52 determines the mode of the field Z frame for each macroblock from the motion prediction residual from the motion detector 51.
  • the macroblock converter 55 connected to the subsequent stage of the frame memory group 10 transmits information corresponding to the first, second, and third passes via the switching switch 59 (that is, the first pass, the second pass, and the third pass). And information on the presence / absence of inter-frame prediction in the frame, which is the second encoding processing mode, and information on the second encoding processing mode as this information.
  • the blocking in the frame orthogonal transform mode is turned off.
  • the macroblock converter 55 based on the information of the first encoding processing mode, the image data in which the macroblock is set to the block of the frame orthogonal transform mode is sent to the motion detector 5 If the mode determination circuit 52 determines that the mode is the field mode based on the residual from 1, the field block conversion circuit 56 converts the data into a frame orthogonal transformation mode block.
  • encoding is performed with a fixed quantization width, and the selection circuit 60 compares the bit generation amount and predicts inter-field prediction within a frame. It is selected for each frame, and the actual encoding is performed in the third pass. At this time, one bit is added to the information of the selected mode for each frame.
  • the image signal high-efficiency encoding apparatus of the present invention for a moving image having a field configuration, an image having little motion or an image having much motion, or an image in which both are mixed, Field processing or frame processing can be performed efficiently, so that high-definition moving images can be reproduced with less transmission information when decoding is performed later by the high-efficiency decoding apparatus of the present invention. Becomes possible.
  • FIG. 19 shows a block diagram of a decoder for an image signal.
  • the data encoded by the high-efficiency encoding device is temporarily recorded on a storage medium such as a CD.
  • the encoded data reproduced from the CD or the like is first decoded by an inverse variable length encoding circuit 51 through an input terminal 50 into header information and the like for each sequence, each frame group, and each frame. You.
  • the header information is decoded for each slice (group of macroblocks), and the quantization width is included in the header of this slice.
  • the address of the macroblock, the field orthogonal transform mode, the frame orthogonal transform mode information, and the macroblock type indicating the decoding method are decoded, and the quantization width is decoded when updated. If the macroblock is in the frame orthogonal transformation mode, the entire macroblock is decoded in the quad cycle, and nothing is decoded in the even cycle. If the blocking is in the field orthogonal transform mode, only blocks containing odd fields in the macroblock are decoded in odd cycles, and blocks containing even fields are decoded in even cycles.
  • the image information is decoded via an inverse quantizer 53 for performing an inverse quantization process and an inverse DCT circuit 54 for performing an inverse DCT transform process, and it is determined whether or not the image is a difference image according to a macroblock type. According to the determination result, the adder 56 switches the mode switch 57 for switching between addition and non-addition to the reference image (corresponding to the non-intra Z-intra of the MPEG encoding).
  • the decoded image is input to the frame buffer 64 or 61 in the case of an I frame or a P frame (alternately each time an I frame or a P frame is processed), and the frame buffer 6 in the case of a B frame. Entered in 2.
  • Each frame buffer is composed of two field buffers, and odd-Z even-field images are stored separately in the respective field buffers.
  • the writing to the frame buffer is controlled by switching the switch 58.
  • the address written to the frame buffer is given by the address generator.
  • This addressless generator uses a macro block header 1
  • the address increment value in the frame buffer is calculated from the block address increment, and the starting address of each macro block is obtained.
  • the data of the frame buffers 64, 62, 61 is motion-compensated by the motion compensation processing circuits 65, 66, 59, 60, 63.
  • each motion compensation circuit switches the motion compensation of the frame motion compensation Z field according to the blocking mode (frame Z field) in the DCT processing.
  • These motion-compensated plane images are sent to the selected terminals of the switching selection switches 67, 68, 71.
  • These switching selection switches 67, 68, 71 are switched so that the reference field or frame indicated by the macroblock type decoding method can be extracted.
  • the switch select switch 71 has a signal obtained by adding the outputs of the switch select switches 67 and 68 by an adder 69 and then setting the signal to 1 Z2 by a divider 70 and the switch 6 7 outputs are provided. The output of the switch 71 is sent to the switch 57.
  • each frame buffer 64, 61, 62 is sent to the display 73 via the switch select switch 72.
  • the display 73 is supplied with the output of the switch selection switch 72 switched so as to be displayed in the order of the reproduced images, not in the order of decoding. As a result, a surface image is obtained. From the above, for example, as shown in Fig. 23 above, if there is a moving object CA in front of a stationary background, there is movement between fields when watching one frame Although the portion is a comb-shaped KS, according to the present embodiment, such a moving portion is encoded in the field orthogonal transform mode, so that it can be processed as a blur-free image for each field.
  • High-efficiency, high-quality video can be played back by motion compensation between evens. That is, as shown in FIG. 20, for example, at the time of a quad cycle, a moving part is processed in the field orthogonal transform mode, and a stationary part is processed in the frame orthogonal transform mode.
  • the part where the image has already been formed in the even cycle is the part shown by the diagonal lines in FIG. In FIG. 21 except for the hatched portion, that is, the moving portion is decoded by motion compensation.
  • the even cycle only the macroblock processed in the field orthogonal transform mode is decoded, so that it is necessary to know the macroblock address.
  • One is the method of transmitting the macroblock address for each of the even-cycle macroblocks described above, and the other is one-field quadrature in a single cycle.
  • Conversion mode This is a method in which the information of the frame orthogonal transformation mode is stored, and the address of the macroblock in the field orthogonal transformation mode is converted from the column of each processing mode.
  • the advantage of the former is that no additional memory is required, and the advantage of the latter is that the transmitted information does not increase.
  • the quantization width can be realized by transmitting each macroblock without using the method of storing one field in the above-described quad cycle.
  • the processing of one frame is divided into two cycles of an odd cycle and an even cycle, and in the odd cycle, the frame orthogonal transform mode and the field orthogonal transform are performed in macroblock units.
  • Switch between mode and, or According to the first and second encoding processing modes the mode is switched between the frame orthogonal transform mode and the field orthogonal transform mode in macroblock units, and the frame motion prediction mode and the field motion prediction mode are also switched.
  • both odd and even fields are decoded.
  • the field processing only the odd fields are decoded. Further, the quantization width in this cycle is stored, and the stored information is used in the next even cycle. Since the reproduced image is decoded by motion-compensating only the MAC block in the field orthogonal transform mode, efficient encoded data can be transmitted. In other words, it is possible to reproduce a high-quality moving surface with a small amount of transmission information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Reduction Or Emphasis Of Bandwidth Of Signals (AREA)
  • Image Processing (AREA)
  • Control Of El Displays (AREA)

Description

明 細 書
^、- 画像信号の高能率符号化及び復号化装置 技 術 分 野 本発明は、 画像信号を直交変換によって高能率符号化する画像信号の高能率符 号化装置に関するものである。 技 術 背 景 画像信号を高能率符号化する方式として、 例えば、 MP E G (Moving Picture Experts Group) による標準化案では、 いわゆるディジタルストレ一ジメディア 用の画像信号の高能率符号化方式が規定されている。
ここで、 当該方式で対象としているストレ一ジメディアは、 いわゆる C D (コ ンパクトディスク) や D A T (ディジタルオーディオテープレコーダ) , ハード ディスク等のように、 連続的な転送速度が約 1 , 5 Mbit/sec以下のものである。 また、 これは、 直接復号器に接続されるだけでなく、 コンピュータのバス, L A N (ローカル 'エリア 'ネットワーク) , テレコミュニケーシヨン等の伝送媒体 を介して接続されることも想定されており、 更に、 正順再生だけでなく、 ランダ ムァクセスゃ高速再生、 逆順再生等のような特殊機能につレ、ても考慮されている。 上記 M P E Gによる画像信号の高能率符号化方式の原理は、 以下に示すような ものである。
v、 すなわち、 この高能率符号化方式では、 先ず、 画像間の差分を取ることで時間 軸方向の冗長度を落とし、 その後、 いわゆる離散コサイン変換 (D C T) 処理と 可変長符号とを使用して空間軸方向の冗長度を落とすようにしている。
先ず、 上記時間軸方向の冗長度について以下に述べる。
一般に、 連続した動画では、.時間的に前後の面像と、 ある注目している画像 (すなわちある時刻の画像) とは良く似ているものである。
このため、 例えば図 2 2に示すように、 今から符号化しょうとしている面像と、 時間的に前方の面像との差分を取り、 その差分を伝送するようにすれば、 時間軸 方向の冗長度を減らして伝送する情報量を少なくすることが可能となる。
このようにして符号化される画像は、 後述する前方予測符号化画像 (Predict! ve-coded picture, Pピクチャ或いは Pフレーム) と呼ばれる。
同様に、 上記今から符号化しょうとしている画像と、 時間的に前方或いは後方 若しくは、 前方及び後方から作られた捕間面像との差分をとり、 それらのうち小 さな値の差分を伝送するようにすれば、 時間軸方向の冗長度を減らして伝送する 情報量を少なくすることが可能となる。 '
このようにして符号化される画像は、 後述する両方向予測符号化画像 (Bidire ctionally Predictive-coded picture. Bピクチャ或いは Bフレーム) と呼ばれ なお、 この図 2 2において、 図中 Iで示す画像は後述する画像内符号化画像 (イントラ符号化画像: Intra- coded picture、 Iピクチャ或いは Iフレーム) を示し、 図中 Pで示す面像は上記 Pピクチャを示し、 図中 Bで示す画像は上記 B ピクチャを示している。
また、 各予測画像を作るためには、 レ、わゆる動き補償が行われる。
すなわちこの動き補償によれば、 例えば 8 X 8画素の単位プロックにより構成 される例えば 1 6 X 1 6画素のブロック (以下マクロプロックと呼ぶ) を作り、 前面像の当該マク口プロックの位置の近傍で一番差分の少ないところを探索し、 この探索されたマクロブロックとの差分をとることにより、 送らなければならな レ、デ一夕を削減することができる。
実際には、 例えば、 上記 Pピクチャ (前方予測符号化画像) では、 動き補償後 の予測画と差分をとったものと、 当該動き補償後の予測画と差分をとらないもの とのうち、 デ一夕量の少ないものを上記 1 6 X 1 6画素のマクロブロック単位で 選択して符号化する。
し力、し、 上述のような場合、 例えば物体が動いた後ろから出てきた部分 (画 像) に関しては、 多くのデータを送らなければならない。
そこで、 例えば上記 Bピクチャ (両方向予測符号化画像) では、 既に復号化さ れた動き補償後の時間的に前方或いは後方の画像及び、 その両者を足して作った 補間画像と上記今から符号化しょうとしている画像との差分と、 当該差分を取ら ないものすなわち今から符号化しょうとしている画像の四者のうち、 一番データ 量の少ないものが符号化される。
次に、 上記空間軸方向の冗長度について以下に述べる。
画像デ一夕の差分は、 そのまま伝送するのではなく、 上記 8 X 8画素の単位ブ ロック毎に離散コサイン変換 (D C T) をかける。
当該 D C Tは、 画像を画素レベルでなく、 コサイン関数のどの周波数成分がど れだけ含まれているかで表現するものであり、 例えば 2次元 D C Tにより、 8 x 8画素の単位ブロックのデータは、 2次元 D C Tにより 8 X 8のコサイン関数の 成分の係数ブロックに変換される。
例えば、 テレビカメラで撮影したような自然画の画像信号は滑らかな信号にな ることが多く、 この場合、 当該画像信号に対して上記 D C T処理を施すことによ り効率良くデータ量を落とすことができる。
すなわち例えば、 上述の自然画の画像信号のような滑らかな信号の場合、 上記 D C Tをかけることにより、 ある係数の回りに大きな値が集中するようになる。 この係数を量子化すると、上記 8 X 8の係数プロックは殆どが 0になり、 大き な係数のみが残るようになる。
そこで、 この 8 X 8の係数ブロックのデータを伝送する際には、 いわゆるジグ ザグスキヤンの順で、 非零係数とその係数の前にどれだけ 0が続いたかを示すい わゆる 0ランを一組としたいわゆるハフマン符号で送るようにすることで、 伝送 量を減らすことが可能となる。
また、 復号器側では、 逆の手順で画像を再構成する。
ここで、 上述した符号化:^;が取り扱うデータの構造を図 2 3に示す。
すなわち、 この図 2 3に示すデータ構造は、 下から順に、 ブロック層と、 マク ロブロック層と、 スライス層と、 ピクチャ層と、 グループォブピクチャ (G〇
P: Group of Picture) 層と、 ビデオシーケンス層とからなる。 以下、 この図 2
3において下の層から順に説明する。
先ず、 上記ブロック層において、 当該ブロック層のブロックは、 輝度又は色差 の隣合った 8 X 8の画素(8ライン X 8画素の画素) 力、ら構成される。
上述した D C T (離散コサイン変換) は、 この単位ブロック毎にかけられる。 上記マク口ブロック層において、 当該マクロブロック層のマクロブロックは、 及び上卞に隣合った 4つの輝度ブロック (輝度の単位ブロック) Y0 , Y1 , Y2 , Y3 と、 画像上では上記輝度ブロックと同じ位置に当たる色差ブロック (色差の単位ブロック) Cr , Cb との全部で 6個のブロックで構成される。 これらブロックの伝送の順は、 Y0 , Yl , Y2 , Y3 , Cr , C の順であ る。
ここで、 当該符号化方式において、 予測画(差分をとる基準の画像) に何を用 いるか、 或いは差分を送らなくても良いか等は、 このマクロブロック単位で判断 される。 上記スライス層は、 画像の走査順に連なる 1つ又は複数のマクロプロックで構 成されている。
このスライスの頭 (ヘッダ) では、 画像内における動きべクトル及び D C (直 流) 成分の差分がリセットされ、 また、 最初のマクロブロックは、 画像内での位 置を示すデータを持っており、 したがってエラーが起こった場合でも復帰できる ようになされている。
そのため、 上記スライスの長さや始まる位置は任意となり、 伝送路のエラ一状 態によって変えられるようになつている。
上記ピクチャ層において、 ピクチャすなわち 1枚 1枚の画像は、 少なくとも 1 つ又は複数の上記スライスから構成される。 そして、 それぞれが符号化の方式に したがって、 上述のようなイントラ符号化画像 ( Iピクチャ或いは Iフレーム) , 上記前方予測符号化画像 (Pピクチャ或いは Pフレーム), 両方向予測符号化画 像 (Bピクチャ或いは Bフレーム) , D Cイントラ符号化画像 (DC coded (D) p icture) の 4種類の画像に分類される。
ここで、 上記イントラ符号化画像 ( Iピクチャ) においては、 符号化される時 に、 その画像 1枚の中だけで閉じた情報のみを使用する。
したがって、 言い換えれば、 復号化する時に Iピクチャ自身の情報のみで画像 が再構成できることになる。 実際には、 差分を取らずにそのまま D C T処理して 符号化を行う。
この符号化方式は、一般的に効率が悪いが、 これを随所に入れておけば、 ラン ダムァクセスゃ高速再生が可能となる。
上記前方予測符号化画像 (Pピクチャ) においては、 予測画像 (差分をとる基 準となる画像) として、 入力で時間的に前に位置し既に復号化された Iピクチャ 又は Pピクチャを使用する。
実際には、 動き補償された予測画像との差を符号化するのと、 差を取らずにそ のまま符号化する (イントラ符号) のと何れか効率の良い方を上記マクロブロッ ク単位で選択する。
上記両方向予測符号化画像(Bピクチャ) においては、 予測画像として時間的 に前に位置し既に復号化された Iピクチャ又は Pピクチャ及び、 その両方から作 られた補間画像の 3種類を使用する。
これにより、 上記 3種類の動き補償後の差分の符号化とイントラ符号との中で 一番効率の良レ、ものをマクロブロック単位で選択できる。
上記 D Cイントラ符号化画像は、 D C Tの D C係数のみで構成されるィントラ 符号化画像であり、 他の 3種の画像と同じシーケンスには存在できないものであ る。
上記グループォブピクチャ (GOP)層は、 1又は複数枚の Iピクチャと、 0 又は複数枚の非 Iピクチャとから構成されている。 ここで、 符号器への入力順を、 例えば、 I I, 2B, 3B, 4P*5B, 6 B, 71, 8 B, 9 B, 101, 1 IB, 12B, 13P, 14B, 15 B, 16P* 17B, 18 B, 191, 2 OB, 2 IB, 22 Pのようにした時、 当該符号器の出力すなわち復号器の入力 は、 例えば、 I I, 4P, 2B, 3 B* 7 I, 5 B, 6 B, 101, 8 B, 9 B, 13P, 11 B, 12 B, 16 P, 14 B, 15 B * 191 , 17 B, 18 B, 22 P, 20 B, 21 Bとなる。
このように符号器の中で順序の入れ換えがなされるのは、 例えば、 上記 Bピク チヤを符号化又は復号化する場合には、 その予測画像となる時閭的には後方であ る上記 Iピクチャ又は Pピクチャが先に符号化されていなくてはならないからで める。
ここで、 上記 Iピクチャの間隔 (例えば 9)及び、 Iピクチャ又は Bピクチャ の間隔(例えば 3)は自由である。
また、 Iピクチャ又は Pピクチャの間隔は、 当該グループォブピクチャ層の内 部で変わってもよいものである。
なお、 グループォブピクチャ層の切れ目は、 上記 *で表されている。
また、 上記 Iは Iピクチャ、 上記 Pは Pピクチヤ、 上記 Bは Bピクチヤを示し ている。
上記ビデオシーケンス層は、 画像サイズ、 画像レート等が同じ 1又は複数のグ ループォブピクチャ層から構成される。
上述したように、 上記 M P E Gによる高能率符号化方式で標準化された動画像 を伝送する場合には、 先ず 1枚の画像をピクチャ内で圧縮した画像が送られ、 次 にこの画像を動き補償した画像との差分が伝送される。
ところ力、 上記 1枚の画像において、 例えば、 フィールドをピクチャとして処 理する場合には、 2フィールドで交互に垂直位置が異なることになるため、. 例え ば静止画を伝送する時にも差分情報を伝送しなければならなくなる。
また、 例えば、 フレームをピクチャとして処理する場合には、 上記フレーム内 で例えば動いている部分についてはいわゆる櫛形にぶれた画像を処理しなければ ならなくなる。
すなわち、 例えば、 図 2 4に示すように、 静止した背景の手前に自動車等の動 体 C Aがある場合、 1フレームを観るとフィールド間で動きがあるため、 そのよ うな部分は櫛型 K Sの画像となつてしまう。
更に、 例えば、 静止部分や動画部分が混在した画像を処理する場合には、 上記 フィールドをピクチャとして処理する場合或いはフレームをピクチャとして処理 する場合のいずれの方法を用いたとしても、 ピクチャ内に圧縮効率の悪い部分の 画像ができてしまうようになる。
そこで、 本発明は、 上述のような実情に鑑みて提案されたものであり、 フィー ルド構成の動画について、 動きの少ない画像も動きの多い画像も、 また、 これら 両者が混在した画像であつてもフィールド処理或レ、はフレーム処理を効率よく行 うことのできる画像信号の高能率符号化装置を提供することを目的とするもので あ 。 発 明 の 開 示 このような課題を解決するために本発明による第一の高能率符号化装置は、 複 数の画素の 2次元配列からなるマクロプロックを単位として符号化を行う画像信 号の高能率符号化装置において、 上記マクロプロック単位でフレーム間の動きべ クトルと各画素の絶対値差分和を検出する手段と上記マク口プロック単位で上記 フレームの画素のスキヤンの奇数又は偶数で分けたものからなるフィールド間の 動きべクトルと各画素の絶対値差分和を検出する手段とからなる動き検出手段と、 上記マクロブロックにおけるフレームを単位として動き補償を行うフレーム予測 モードと、 上記マク口プロックにおけるフィールドを単位として動き補償を行う フィールド予測モードとの何れが動き補償を刷るに際して効率が良いかを上記動 き検出手段から出力される情報により判定し、 効率の良い予測モードを選択する 第一のモード選択手段と、 上記マクロブロックにおけるフレー厶を単位として直 交変換を行うようにプロック化するフレーム直交変換モードと上記マク口プロッ クにおけるフィ一ルドを単位として直交変換を行うようにブロック化するフィ一 ルド処理モードとの何れが直交変換を行うに際して効率が良いかを上記動き検出 手段及び上記第一のモ一ド選択手段から出力される情報を用いて判定し、 効率の 良いブロック化のモードを選択する第二のモ一ド選択手段と、 1フレームについ て符号化処理のインタレースにおける奇数フィールドのスキャンを行う期間の奇 数サイクルか偶数フィ一ルドのスキャンを行う期間の偶数サイクルかを認識し、 該奇数サイクルで上記プロック化のモードに対応してプロック化されたマクロブ ロックを出力するようにフレームメモリ群を制御するァドレス発生手段と、 上記 第一のモード手段で選択された動き予測モ一ド情報と上記第二のモード選択手段 で選択されたブロック化モ一ド情報を受け取り、 該モード情報に対応して動き補 償フレーム又はフィールド間予測を実行する動き補償手段とを備えたものである また、 第二の高能率符号化装置は、 複数の画素の 2次元配列からなるマクロブ 口ックを単位として符号化を行う画像信号の高能率符号化装置において、 上記マ クロブロック単位でフレーム間の動きベクトルと各画素の絶対値差分和を検出す る手段と上記マクロブロック単位で上記フレームの画素のスキャンの奇数又は偶 数で分けたものからなるフィールド間の動きベクトルと各画素の絶対値差分和を 検出する手段とからなる動き検出手段と、 上記マクロブロックにおけるフレーム を単位として動き補償を行うフレーム予測モードと、 上記マクロブロックにおけ るフィールドを単位として動き補償を行うフィ一ルド予測モードとの何れが動き 補償を刷るに際して効率が良いかを上記動き検出手段から出力される情報により 判定し、 効率の良い予測モードを選択する第一のモード選択手段と、 上記マクロ ブロックにおけるフレームを単位として直交変換を行うようにブロック化するフ レ一ム直交変換モードと上記マクロブロックにおけるフィ一ルドを単位として直 交変換を行うようにブロック化するフィ一ルド処理モ一ドとの何れが直交変換を 行うに際して効率が良いかを上記動き検出手段及び上記第一のモード選択手段か ら出力される情報を用いて判定し、 効率の良いブロック化のモードを選択する第 二のモード選択手段と、 1フレームについて符号化処理のインタレースにおける 奇数フィールドのスキャンを行う期間の奇数サイクルか偶数フィールドのスキヤ ンを行う期間の偶数サイクルかを認識し、 上記ブロック化のモードがフィールド 処理モードの時のみ、 該奇数サイクルでマク口プロック分の奇数フィールドを順 次 1フレーム分出力し、 次いで上記偶数サイクルでマクロブロック分の偶数フィ ―ルドを順次 1フレーム分出力するようにフレームメモリ群を制御するアドレス 発生手段と、 上記第一のモード手段で選択された動き予測モード情報と上記第二 のモード選択手段で選択されたブロック化モード情報を受け取り、 該モ一ド情報 に対応して動き補償フレーム又はフィールド間予測を実行する動き補償手段とを 備えたものである。
さらに、 本発明による高能率復号化装置は、 再生される符号化データとヘッダ 情報を受信、 復号し、 検出動きベクトル情報と動き予測モード情報とブロック化 モード情報とマクロブ口ックのへッダ情報中のマクロブロック 'アドレス 'イン クリメントとを出力する逆可変長符号化手段と、 上記マクロブロック ·了ドレス •インクリメン卜からフレームバッファでのァドレス 'インクリメント値を算出 し、 各々のマクロブロックの先頭アドレスを求め、 該先頭アドレスを上記フレー ムバッファに与えるァドレス発生手段と、 上記先頭ァドレス以外の上記マクロブ ロックの相対アドレスを上記フレームバッファに加えてデータをアクセスレ、 上 記検出動きべクトルと上記動き予測モード情報と上記ブロック化モ一ド情報を受 け取り、 該モ一ド情報に対応した動き補償フレーム又はフィ一ルド間予測を実行 し、 動き補償された画像信号をフレ一厶バッファに送るように構成した動き補償 手段と、 を備えたものである。
更に、 本発明による高能率符号化装置は、 複数の画素の 2次元配列からなるマ ク口プロックを単位として符号化を行う画像信号の高能率符号化装置にぉレ、て、 上記マクロブロック単位でフレーム間の動きべクトルと各画素の絶対値差分和を 検出する手段と上記マクロプロック単位で上記フレームの画素のスキヤンの奇数 又は偶数で分けたものからなるフィールド間の動きべクトルと各画素の絶対値差 分和を検出する手段とからなる動き検出手段と、 上記マクロブロックにおけるフ レームを単位として動き補償を行うフレーム予測モードと、 上記マクロプロック におけるフィールドを単位として動き補償を行うフィールド予測モードとの何れ が動き捕俊をするに際して効率が良いかを判定し、 効率の良い予測モードを選択 する第一のモード選択手段と、 上記マクロプロックにおけるフレームを単位とし て直交変換を行うようにブロック化するフレーム処理モ一ドと上記マクロプロッ クにおけるフィールドを単位として直交変換を行うようにブロック化するフィー ルド処理モードとの何れが直交変換を行うに際して効率が良いかを上記動き検出 手段及び上記第一のモード選択手段から出力される情報を用いて判定し、 効率の 良いプロック化のモードを選択する第二のモード選択手段と、 1フレーム内の各 マクロプロック毎に上記プロック化を上記フレーム処理モード又は上記フィール ド処理モードに適応的に切り換え、 各モ一ドに基づき各マクロプロックを符号化 する第一の符号化処理モ一ドと、 1フレーム内の全てのマクロプロックの上記ブ πック化を上記フィ一ルド処理モードで行い、 インタレースにおける奇数フィー ルドのスキヤンを行う期間の奇数サイクルでマクロプロックにおける奇数フィ一 ルドのみ 1フレーム分符号化し、 次いでィン夕レースにおける偶数フィールドの スキヤンを行う期間の偶数サイクルでマクロプロックにおける偶数フィ一ルドを
1フレーム分符号化する第二の符号化処理モードとの何れが符号化するに際して 効率が良いかを判定し、 効率の良い符号化処理乇—ドを選択する第三のモード選 択手段と、 上記奇数サイクルか上記偶数サイクルかを認識し、 上記符号化処理モ ードが第一の符号化処理モードの場合には上記奇数サイクルで上記プロック化モ 一ドに対応してブロック化されたマクロブロックを出力するようにフレームメモ リ群を制御し、 上記符号化処理モ一ドが第二の符号化処理モードの場合には上記 奇数サイクル及び偶数サイクルで上記フィールド処理モードに対応してプロック 化されたマクロブロックを出力するようにフレームメモリ群を制御するァドレス 発生手段と、 上記第一のモード選択手段で選択された動き予測モード情報と上記 第二のモード選択手段で選択されたプロック化モード情報を受け取り、 該モード 情報に対応して動き補償フレーム又はフィ一ルド間予測を実行する動き補償手段 とを備えたものである。
言い換えれば、 本発明の高能率符号化装置は、 2フィールドから 1フレームが 構成されている動面像の符号化において、 フレーム内の全プロックについて奇数 フィールド(第 1フィ一ルド), 偶数フィールド(第 2フィールド) を分割して ブロック化し、 第 1フィールドから第 2フィールドを動き予測可能とした符号化 手段(第二の符号化処理モード) と、 第 1フィールド, 第 2フィールドを分割す る Z分割しないをマクロプロック単位で切り換えてプロック化する符号化手段 (第一の符号化処理モード) とを有し、 フレーム毎にこれらの符号化手段を適応 的に切り換えるようにしたものである。
更に、 この場合、 符号にこれらの符号化手段を示す 1ビットの情報(選択され たモードを示す情報) を付加するものである。
更に、 本発明の高能率復号化装置は、 再生される画像符号化データ及び検出動 きべクトル情報と動き予測モード情報とプロック化モード情報と符号化処理モー ド情報とを含むへッダ情報を受信して復号化し、 上記復号化された面像復号化デ —夕と共に上記検出動きべクトル情報と動き予測モード情報とプロック化モ一ド 情報と符号化処理モード情報とを出力する逆可変長符号化手段と、 上記符号化処 理モ一ド情報から上記画像復号化データを蓄積するフレー厶バッファでのァドレ ス*インクリメント値を算出し、各々のマクロブロックの先頭アドレスを求め、 該先頭ァドレスを上記フレームバッファに与えるァドレス発生手段と、 上記先頭 了ドレス以外の上記マクロプロックの相対ァドレスを上記フレームバッファに加 えてデータをアクセスし、 上記検出動きべクトル情報と上記動き予測モード情報 と上記プロック化モード情報と上記符号化処理モード情報とを受け取り、 該モ一 ド情報に対応した動き補償を実行し、 動き補償された画像信号を上記フレームバ ッファに送るように構成した動き補償手段とを備えたものである。
本発明によれば、 フレーム直交変換モ一ドとフィ一ルド直交変換モードをマク ロブロック単位で切り換えることができ、 したがって、 マクロブロック単位で最 も効率の良い符号化を選択することができる。 また本発明によれば、 1フレームの処理をォッドサイクルとイーブンサイクル の 2つのサイクルに分け、 ォッドサイクルではマクロブロック単位でフレーム直 交変換モードとフィ一ルド直交変換モードとを切り換え、 フレーム処理では奇数 フィールドと偶数フィールドを共に復号化し、 フィールド処理では奇数フィール ドのみを復号化し、 更にこのサイクルでの量子化幅を記憶しておき、 次のィーブ ンサイクルではこの記憶した情報を用いてフィールド直交変換モードのマクロブ ロックのみを動き補償して再生画像を復号化するようにしているため、 効率のよ い符号化データを伝送することができる。 すなわち、 少ない伝送情報で高画質の 動画を再生することが可能となる。
更に、 本発明によれば、 第一の符号化処理モードと第二の符号化処理モードと をマクロプロック単位で切り換えることができる。 第一の符号化処理モードでは、 例えば画像の動きの大きさに応じてフレーム処理モ一ドとフィ一ルド処理モード を適応的に選ぶことで、 効率の良い符号化ができる。
第二の符号化処理モードでは、 フレーム内の全てのマクロブロックのブ口ック 化をフィールド処理モードとすることで、 例えば特に動きの大きいフレームにつ いて奇数フィールドから偶数フィールドの動き予測ができるようになり、 効率良 く動画を符号化できるようになる。
更に、 本発明の画像信号の高能率符号化装置によれば、 フィールド構成の動画 について、 動きの少ない画像も動きの多い画像も、 また、 これら両者が混在した 画像であってもフィ一ルド処理或いはフレーム処理を効率よく行うことができる ようになり、 したがって、 少ない伝送情報で後の本発明の高能率復号化装置にお ける復号化の際に高画質の動画を再生することが可能となる。
更に、 本発明の復号装置によれば、 第一, 第二の符号化処理モードに応じて、 マクロプロック単位でフレーム直交変換モードとフィールド直交変換モードとを 切り換えると共に、 フレーム動き予測モードとフィ一ルド動き予測モ一ドをも切 り換えて、 フレ一厶処理では奇数フィールドと偶数フィールドを共に復号化し、 フィ一ルド処理では奇数フィールドのみを復号化し、 更にこのサイクルでの量子 化幅を記憶しておき、 次のイーブンサイクルではこの記億した情報を用いてフィ ールド直交変換モードのマクロプロックのみを動き補償して再生画像を復号化す るようにしているため、 効率のよい符号化データを伝送することができる。 すなわち、 少ない伝送情報で高画質の動画を再生することが可能となる。 図 面 の 簡 単 な 説 明 図 1は実施例 1の面像信号の高能率符号化装置の概略構成を示すプロック図で あ
図 2は実施例 2の画像信号の高能率符号化装置の概略構成を示すプロック図で あ
図 3は実施例 3の画像信号の高能率符号化装置の概略構成を示すプロック図で あ 。
図 4は本実施例の符号化を説明するための図である。
図 5はマクロブロックを示す図である。
図 6は第 1の符号化処理モードでフレーム直交変換モードの場合の動き予測を 示す図である。
図 7は第 1の符号化処理モ一ドでフィールド直交変換モードの場合の動き予測 を示す図である。
図 8は第 2の符号化処理モードの場合の動き予測を示す図である。
図 9はディジタル VTRの一具体例フォーマツトにおけるフレーム直交変換モ 一 ¥/ フィ—ルド処理モ一ドの D C T処理の単位ブロックを示す図である。 図 1 0は動き予測の様子を示す図である。 図 1 1は動き予測の様子を示す図である。
図 1 2はディジタル VT Rの具体例フォーマットにおけるフレーム直交変換モ 一ド フィールド直交変換モードの D C T処理の単位プロックを示す図である。 図 1 3はデイジ夕ル V T Rの他の具体例フォーマットにおけるフレーム直交変 換モード Zフィ一ルド直交変換モードの D C T処理の単位プロックを示す図であ 。
図 1 4はディジタル VT Rの他の具体例フォーマツトにおけるフレーム直交変 換モードノフィ一ルド直交変換モードの D C T処理の単位ブロックを示す図であ 。
図 1 5はマクロプロックの組及びフレーム直交変換モードでの処理の様子を説 明するための図である。
図 1 6は図 1 5の例におけるフィールド直交変換モ一ドでの処理の様子を説明 するための図である。
図 1 7は実施例 2における拡張ビット付加の変形例 (前予測について) を説明 するための図である。
図 1 8は実施例 4の画像信号の高能率符号化装置の概略構成を示すプロック図 である。
図 1 9は復号器の構成を示すプロック図である。
図 2 0はォッドサイクルの画像を示す図である。
図 2 1はイーブンサイクルの画像を示す図である。
図 2 2は各予測画像を説明するための図である。
図 2 3はデータ構造を示す図である。
図 2 4は動く物体のある画像を示す図である。 発明を実施するための最良の形態 以下、 本発明を適用した実施例にっレ、て図面を参照しながら説明する。
先ず、 図 1の構成を用いて、 実施例 1において符号化処理される画像デ一夕の 主な流れについて説明する。
次に、 図 2により実施例 2について、 図 3により実施例 3について説明する。 更に、 図 1 8により実施例 4について説明する。 最後に図 1 9により本発明の 復号器の構成の実施例を説明する。
尚、 本実施例の符号化装置では、 何れも図 4に示すような、 フレーム内符号化 ( Iフレーム或いは Iピクチャ), 一方向予測フレーム間符号化 (Pフレーム或 いは Pピクチャ), 双方向ピクチャ間符号化(Bフレーム或いは Bピクチャ) の 3通りに符号化を行うことができる。 また、 各ピクチャは、 8 X 8画素でブロッ ク化され、 2 X 2ブロック (すなわち 1 6 X 1 6画素) でマクロブロックを構成 する。
〔実施例 1の説明〕
図 1は実施例 1を示すものであり、 一画面より小なる面素の 2次元配列からな るマクロブロック (例えばラスタスキャン順の入力画像データの空間配置におけ る 1 6 X 1 6の画素を 1ブロックとするブロック) を単位として符号化を行う画 像信号の高能率符号化装置である。
この高能率符号化装置は、 次の構成よりなる。
即ち、 上記 1 6 X 1 6面素の単位ブロックが複数個集まったものからなるフレ —ム (一画面) が複数枚、 原画像としてメモリされているフレームメモリ群 1 0 と、
上記フレーム間及び上記マク口プロック単位で上記フレームの画素のスキヤン の奇数又は偶数で分けたものからなるフィールド間の動きべクトルと各画素の絶 対値差分和を検出する動き検出手段であるフィールド動き検出回路 2 1及びフレ ー厶動き検出回路 2 2よりなる。
更に、 上記マクロブロックにおけるフレームを単位として動き補償を行うフレ ー厶予測モードと、 上記マクロブロックにおけるフィールドを単位として動き補 償を行うフィールド予測モードと、 の何れの効率が良いかを上記動き検出手段か ら出力される情報により判定し、 効率の良い予測モ一ドを選択する第 1のモード 選択手段である動き予測モード判定回路 2 3及びセレクタ 2 4よりなる。
更に、 上記マクロプロックにおけるフレームを単位として直交変換を行うよう にブロック化するフレーム直交変換モードと、 上記マクロブロックにおけるフィ ールドを単位として直交変換を行うようにブロック化するフィ一ルド直交変換モ ―ドと、 の何れが直交変換を行うに際して効率が良いかを上記動き検出手段及び 上記第一のモ一ド選択手段から出力される情報を用いて判定し、 効率の良いプロ ックかのモードを選択する第二のモード選択手段であるブロック化モード判定回 路 2 5よりなる。
更に、 1フレーム (1画面) について符号化処理のインタレースにおける奇数 フィールドのスキヤンを行う期間の奇数サイクルか偶数フィールドのスキャンを 行う期間の偶数サイクルかを認識し、 該奇数サイクルで上記ブロック化のモード に対応してブロック化されたマクロブロックを出力するようにフレームメモリ群 を制御するァドレス発生手段であるァドレス発生器 1 1と、
上記第一のモード手段で選択された動き予測モード情報と上記第二のモード選 択手段で選択されたブロック化モ一ド情報を受け取り、 該モード情報に対応して 動き補償フレーム又はフィールド間予測を実行する動き補償手段である動き補償 器付フレームメモリ群 2 0とを備えている。
すなわち、 この図 1において、 入力端子 1にはディジタルの画像信号が供給さ れ、 上記フレームメモリ群 1 0に格納される。 当該フレームメモリ群 1 0からは、 I 8
上記 1 6X 1 6画素の単位マクロブロックのデータが後述するァドレス発生器 1 1に制御されて読み出され、 減算器 12に伝送される。 当該減算器 12には、 後 述する動き補償器付フレームメモリ群 20からの動き補償された画像データも供 耠され、 当該減算器 12でこれらの差分が検出される。
上記減算器 12の出力は、 直交変換(DCT)処理を行う DC T回路 13に送 られる。 直交変換としては、 DCTを例示してあるが、 FFT等の他の直交変換 が適用できることは勿論である。
当該 DCT回路 13で DCT処理されて得られた DCT係数データは、 量子化 器 14に送られる。 当該量子化器 14からの量子化データは、 例えばいわゆるハ フマン符号化ゃランレングス符号化等の可変長符号化処理を行う可変長符号化回 路 15を及びバッファ 16を介して、 出力端子 2から符号化データとして出力さ れる。
この符号化データは、 所定の通信路を介して伝送されるだけでなく、 光デイス ク、 又は磁気テープ等の記録メディアに書込むことが可能とされる。
また、 上記動き補償器付フレームメモリ群 20には、 上記量子化器 14からの 量子化デ一夕が、 当該量子化器 14での量子化処理の逆量子化処理を行う逆量子 化器 17と上記 DCT回路 13での DCT処理の逆 DCT処理を行う逆 DCT回 路 18とを介し、 更に加算器 19を介したデータが供給されるようになっている。 また、 上記加算器 19では、 上記逆 DC T回路 18の出力と当該動き捕償器付フ レームメモリ群 20の出力との加算がなされる。 なお、 バッファ 16からは、 当 該バッファ 16のオーバ一フロウを防止するための信号が、 点線にて示すように、 上記量子化器 14にフィードバックされるようになっている。
一方、 上記フレームメモリ群 10から上記マクロブロック単位で出力された画 像デ一夕は、 フレーム動き検出回路 22及びフィールド動き検出回路 21に伝送 される。 上記フィールド動き検出回路 2 1は、 上記マクロブロック単位でフィールド間 の動きベクトルと各画素の絶対値差分和を検出し、 これらのデータ (フィールド 間の動きべクトルのデータ F DMVと絶対値差分和のデータ F DAD) を出力する。 また、 上記フレーム動き検出回路 2 2は、 上記マクロブロック単位でフレーム 間の動きベクトルと各画素の絶対値差分和を検出し、 これらのデータ (フレーム 間の動きべクトルのデータ F MMVと絶対値差分和のデータ F MAD) を出力する。 これら動き検出回路 2 2及び 2 1の各動きべクトルのデ一夕 F MMVZF DMVは 上記セレクタ 2 4に伝送され、 各絶対値差分和のデ一夕 F MADZF DADは上記動 き予測モード判定回路 2 3に伝送される。
当該動き予測モード判定回路 2 3は、 上記フィールド動き検出回路 2 1からの 絶対値差分和データ F DADと上記フレーム動き検出回路 2 2からの絶対値差分和 デ一夕 FMADとに基づいて、 後述する動き補償器付フレームメモリ群 2 0での動 き予測処理の際に、 上記フィ一ルド単位で動き予測処理を行うか或いは上記フレ —ム単位で動き予測処理を行うかの判定を行い、 いずれか有利な方 (効率の良い 方) の処理モードを示すデータを出力する。
具体的にいうと、 この動き予測モード判定回路 2 3において、 例えば絶対値差 分和データ F MADと絶対値差分和データ F D ADとの差があるしきレ、値 T 1 よりも 大きい (F MAD— F DAD〉T1 の時) と判定された場合は、 当該回路 2 3から上 記フィールド単位で動き予測処理を行う方が効率が良いことを示すデータ (動き 予測におけるフィールド直交変換モードのデータ MPFD) を出力する。
逆に、 絶対値差分和データ F MADと絶対値差分和デ一夕 F DADとの差が上記し きい値 T1 よりも小さいか或いは等しい (F MAD— F DAD≤T1 の時) と判定さ れた場合は、 上記フレーム単位で動き予測処理を行う方が効率が良いことを示す データ (動き予測におけるフレーム直交変換モードのデ一タ MPFM) を出力する c これら何れかの動き予測モードデ一夕 MPFMZMPFDは、 動き補償器付フレー ムメモリ群 2 0に送られ、 これにより、 当該フレームメモリ群 2 0では、 フレー ム単位或いはフィールド単位で動き補償を行う。 また、 これら動き予測モードデ 一夕 MPFMZMPFDは、 セレクタ 2 4にも送られる。
当該セレクタ 2 4は、 上記動き予測モード判定回路 2 3からの動き予測モード データ MPFMZMPFDに応じて、 上記フレーム動き検出回路 2 2から供給されて いるフレーム間の動きべクトルのデータ FMMVと、 上記フィールド動き検出回路 2 1から供給されているフィールド間の動きべクトルのデータ F DMVのいずれか を選択出力する。 すなわち、 上記動き予測モードデータがフィールド予測モード を示すデータ MPFDの時は上記フィールド動き検出回路 2 1からの動きべクトル データ FDMVを選択して出力し、 上記動き予灘モードデ一夕がフレーム予測モー ドを示すデータ MPFMの時には上記フレーム動き検出回路 2 2からの動きべクト ルデー夕 F MMVを選択して出力する。
当該セレクタ 2 4で選択された動きべクトルデータ FMMVZF DMVは、 上記ブ ロック化モード判定回路 2 5に送られる。
当該ブロック化モード判定回路 2 5には、 上記フレームメモリ群 1 0からの出 力データと、 上記動き予渐モード判定回路 2 3からの上記処理モードデータ MP FMZMPFDも供給されるようになっている。 当該ブロック化モード判定回路 2 5 では、 上記動き予測モードデ一夕 MPFMZMPFDと上記動きべクトルデ一夕 FM MVZF DMVを受け取り、 更に、 上記フレームメモリ群 1 0からの画像を用いて差 分面像を作り、 当該差分画像に基づいて、 上記フレームメモリ群 1 0から出力さ れて上記 D CT回路 1 3で D CT処理される面像に最も適するブロック化処理の モードを選択する。
なお、 前記 Iピクチャ (或いは Iフレーム) の場合は、 上記差分画像の代わり にフレームメモリ群 10の画像 (原画) のデータを用いる。
すなわちここで、 上記差分画像の例えばマクロブロックが例えば図 5 (A) に 示すようなマクロブロックであったとする ( Iピクチャにおいては原画のマクロ ブロック) 。
なお、 図 5 (A) において、 奇数ライン (ol, 02, ο3 , ' · · oN、 た だし Nはマクロブロックの場合 16) は実線で示し、 偶数ライン (el, e2 , e3 , · · · eN、 ただし Nはマクロブロックの場合 16) は点線で示している。 また、 偶数ラインの各ピクセルは e(i, j) と表現し、 奇数ラインの各ピクセル 0 (i, j) と表現している。 この図 5 (A)のような差分画像或いは原画像 (Iピク チヤの画像) において、 フィールド単位の上記差分画像の差分 EFDは数式 (1)で示 すことができ、 フレーム単位の上記差分画像の差分 EFMは数式 (2)で示すことがで さる。
16 】 5
EFD= ∑ ∑
j-1 i -1 o(i, j) -o(i+l, j) I + I e(i, j)一 e(i+l, j) I)
(1)
EFM= j∑-1 i∑ - 1 I o(i, j) — e(i, j) I + j∑―】 i∑_l I e (i, j) -o(i+l, j)
• · · (2) 上記ブロック化モード判定回路 25においては、 具体的に、 この数 1及び数 2 の数式を用いてフレームで求めた差分 E FMとフィールドで求めた差分 E FDとの差 があるしきい値 T2よりも大きい (EFM— EFD>T2の時) と判定された場合は、 上記 DCT回路 13での DCTをフィールド単位で行うことを示すデータ (プロ ック化処理におけるフィールド直交変換モードのデータ MDFD)を出力する。 逆 に、 上記差分 EFMと上記差分 EFDとの差が上記しきい値 T2よりも小さいか或い は等しい (EFM— EFD≤T2の時) と判定された場合は、 上記 DCT回路 13で の D C Tを上記フレーム単位で行うことを示すデ一夕 (ブロック化処理における フレーム直交変換モードのデータ MDFM)を出力する。 これら何れかのブロック 化処理モードデータ MDFM/MDFDは、 上記アドレス発生器 1 1及び動き補償器 付フレームメモリ群 2 0に伝送される。 さらに、 上記動きベクトルデータ (FM MVZFDMV) と上記ブロック化処理モードデータ (MDFMZMDFD) と上記予測 モードデータ (MPFMZMPFD) は、 上述の可変長符号化回路 1 5に送られてい ¾>。
上記アドレス発生器 1 1では、 上記フレームメモリ群 1 0に蓄えられている面 像データに対し、 例えば上記マクロブロック単位で上記 D C T 1 3における処理 モードデータ MDFMZMDFDに応じてブロック化されたマクロブ口ックを出力す るようにフレームメモリ群を制御する。
すなわち、 当該アドレス発生器 1 1において、 上記ブロック化モードデータが フレーム単位での D CT処理を示すデータ MDFMの場合は、 図 5 (B) に示すよ うにィ一ブンの画素とォッドの画素とが ¾Sに配列したマクロブ口ックを出力す るようにフレームメモリ群を制御する。 これにより、 上記 D C T回路 1 3に送ら れるマクロブロックの単位プロックは、 偶数フィールドと奇数フィールドとを合 わせたものとなる。
逆に、 上記ブロック化モードデータがフィールド単位での D C T処理を示すデ —夕 MDFDの場合は、 図 5 (C) に示すように、 イーブンの画素とォッドの画素 とを別々に夯けて配列したマク口プロックを出力するようにフレームメモリ群を 制御する。
これにより、 上記 D C T回路 1 3に送られるマクロブロックの単位ブロックは、 偶数フィールドと奇数フィールドとが別々に分けられたものとなる。 ただし、 こ こで、上記 D C T回路 1 3では、 上述したように、 8 X 8画素の単位ブロックで D C T変換を行う。 なお、 この図 5 (B), 図 5 (C) においては、 奇数ライン は実線で示し、 偶数ラインは点線で示している。
また、 上記動き捕償器付フレームメモリ群 2 0には、 上記動き予測モード判定 回路 2 3からの予測モードデータ MPFM/M PFDと、 上記 D C Tモード判定回路 2 5からの処理モードデータ MDFM/MDFDと、 上記セレクタ 2 4で選択された 動きベクトルデータ F MMVZF DMVとが供給されている。 したがって、 当該動き 補償器付フレームメモリ群 2 0では、 上記動き予測における予測モードデータ M PFM/M PFD及び D C T処理におけるブロック化モードデータ MDFM/MDFDに 応じると共に、 上記動きべクトルデータ F MMVZF DMVを用いた動き補償が行わ
〔実施例 2の説明〕
図 2は実施例 2を示すものである。 尚、 図 2において図 1と同じ番号が付され たブロックは同じ働きをするものである。 従ってここでは図 1と異なる番号が付 されたブロックについて述べる。
即ち、 図 2の高能率符号化装置は、 図 1の高能率符号化装置と同じ番号が付さ れたブロック以外に、
動き補償が上記フレーム予測モードで直交変換のブロック化が上記フレーム直 交変換モードの場合と、 動き補償が上記フィールド予測モードで直交変換のプロ ック化が上記フィールド直交変換モードの場合との何れの効率が良いかを上記動 き検出手段から出力される情報により判定し、 効率の良い予測モードを選択する モード選択手段であるモード判定回路 2 6及びセレクタ 2 4と、
1フレーム (1画面) について符号化処理のインタレースにおける奇数フィー ルドのスキャンを行う期間の奇数サイクルか偶数フィールドのスキャンを行う期 間の偶数サイクルかを認識し、 上記モード判定回路 2 6のモードがフィールド予 測 'フィ一ルド処理の時のみ上記奇数サイクルでマク口プロック分の奇数フィ一 ルドを順次 1フレーム分出力し、 次いで上記偶数サイクルでマクロブロック分の 偶数フィ一ルドを順次 1フレーム分出力するようにフレームメモリ群を制御する アドレス発生手段であるアドレス発生器 3 1とを備えたものである。 尚、 実施例 2は上記ブロック化のモードと上記動き捕償のモード分けのない符 号化装置である。 実施例 2が実施例 1と根本的に異なる点は上述のようにァドレ ス発生器の動作にある。
図 2における上記モード判定回路 2 6は、 上記フレーム動き検出回路 2 2から の絶対値差分和データ FMADと上記フィールド動き検出回路 2 1からの絶対値差 分和データ FDADとに基づいて、 後述する動き捕償器付フレームメモリ群 2 0で の動き予測処理の際に上記フレーム単位で動き予測処理を行うか或いはフィ—ル ド単位で動き予測処理を行うかの判定を行うと共に、 該判定結果 (実施例 1の予 測モードデータ MPFMZMPFDに相当する) と、 上記動き検出回路 (2 1、 2 2) からの動きべクトル FMMVZFDMVと、 更に、 上記フレームメモリ群 1 0か らの画像とを用いて差分面像を作り、 当該差分画像に基づいて、 上記フレームメ モリ群 I 0から出力されて上記 D C T回路 1 3で D C T処理される画像に最も適 するブロック化処理のモードをも判定する。
即ち、 当該モード判定回路 2 6では、 動き予測がフレーム予測モードでブロッ ク化がフレーム直交変換モード P DMと動き予測がフィールド予測モードでブ口 ック化がフィ一ルド直交変換モ一ド P DFDの何れが効率良いかを判定しているの である。 言い換えれば、 当該モード判定回路は上記実施例 1におけ 上記動き予 測モ一ド判定回路 2 3と上記ブロック化モード判定回路 2 5の機能を合わせたよ うな構成になっている。
尚、 具体的なモードの判定は、 例えば、 実施例 1における動き予測モード及び ブロック化モードの判定と同様に行うことができる。
また、 上記ァドレス発生器 3 1では、 上記フレームメモリ群 1 0に蓄えられて レ、る画像データに対し、 例えば上記マクロブロック単位で上記モ一ドデータ P D FM/P DFDに応じてブロック化されたマクロブロックを出力するようにフレーム メモリ群 1 0を制御する。 すなわち、 当該アドレス発生器 3 1において、 上記モ 一ドデータがフレーム単位での符号化処理を示すデータ P DFMの場合は、 図 5 (B) に示すマクロブロックを出力するようにフレームメモリ群 1 0を制御する。 これにより、 上記 D C T回路 1 3に送られるマクロブロックの単位ブロックは、 偶数フィールドと奇数フィールドを合わせたものとなる。
逆に、 上記モードデータがフィールド単位での符号化処理を示すデータ P DFD の場合は、 上記奇数サイクルで上記マクロブ口ック分の奇数フィールドを順次 1 フレーム ( 1画面) 分出力し、 次いで上記偶数サイクルで上記マクロブロック分 の偶数フィールドを順次 1フレーム (1画面) 分出力するようフレームメモリ群 1 0を制御する。 これにより、 上記 D C T回路 1 3に送られるマクロブロックの 単位ブロックは、 奇数サイクルでは奇数フィールドのみで構成されたマクロプロ ックとなり、 偶数サイクルでは偶数フィールドのみで構成されたマクロプロック となる。
すなわち、 上述した本実施例 1、 2の画像信号の高能率符号化装置においては、 動き予測におけるフレーム予測モードとフィールド予測モ一ド、 及び又は D C T 処理のブロック化におけるフレーム直交変換モードとフィールド直交変換モード をマクロブロック単位で切り換えることができるため、 当該マクロブロック単位 で最も効率の良 、符号化が可能となっている。
本実施例 1及び 2の符号化装置は、 具体的には、 例えばいわゆるディジタル V TRのフォーマット毎に以下に示すような動き予測及び D C T変換の処理を行つ ている。
ここで、 図 1 1、 図 1 0 (A) (B) においては、
前記 Iフレーム ( Iピクチャ) のフレームを構成するフィールドを I o フィール ド ( Iフレームの奇数フィールド) , I e フィールド ( Iフレームの偶数フィ一 ルド) とし、
上記 Pフレーム (Pピクチャ) を構成するフィールドを Po フィールド (奇数フ ィ一ルド) , Pe フィールド(偶数フィールド) とし、
上記 Bフレーム (Bピクチャ) を構成するフィールドを Bo フィールド (奇数フ ィ一ルド) , Be フィールド(偶数フィールド) としている。
また、 本実施例 2においては、 前述した図 5 (B) に示すように、 ブロッ ク化におけるフレーム直交変換モードは奇数フィ一ルドと偶数フィールドとを合 わせて前記マクロブロックを構成(すなわちフレーム毎にマクロブロックを構 成) してこのマクロブロックを処理単位とするモードである。 また、 前述した図 5 (C) に示すように、 ブロック化におけるフィールド直交変換モードは、 奇数 フィールドと偶数フィ一ルドとで別々にマクロブ口ックを構成(すなわちフィ一 ルド毎にマク口ブロックを構成) してこのマクロブロックを処理単位とするモー ドでぁる。 したがつて、 例えば、 Iフレームでは、 上記マクロブロック毎にフレ ー厶直交変換モードと、 フィ一ルド直交変換モードとが切り換えられることにな 更に、 本実施例 2の高能率符号化装置においては、 1つのフレームについ て、 符号化の処理がインターレースにおける奇数フィールドのスキャンを行う期 間のォッドサイクルと、 偶数フィールドのスキャンを行う期間のイーブンサイク ルとで分けられている。
実施例 1の場合、 例えば、 いわゆる 4:2:0 コンポーネントのディジタル VTR フォーマットを扱う場合は、 図 9に示すように、 上記ブロック化がフレーム直交 変換モードの時は、 奇数フィ一ルド及び偶数フィ一ルドからなる輝度ブロック Υ 0, Y1, Υ2 , Υ3 と、 奇数フィールドの色差ブロック CbO, Crlからなるマ ク口ブロックの各単位ブロックの D C T処理が行われる。
これに対し、 上記ブロック化がフィールド直交変換モードの時は、 各奇数フィ ールドの輝度プロック Υ02ο , Y13o と各偶数フィールドの輝度プロック Y02e , Y13e及び上記奇数フィールドの色差ブロック CbO, Crlからなるマクロプロ ック MBの各単位プロックの D C T処理が行われる。
また、 この図 9の例の場合の動き予測は、 図 1 0 (A) に示すように、 上記フ レーム予測モードの時は Iフレームと Pフレーム間の動き予測 MC Pとが可能と なる。 これに対しフィールド予測モードでは、
I 0 フィールドと Po フィールドとの間の動き予測 MCo Po と、
I 0 フィールドと Pe フィールドとの間の動き予測 MCo Pe と、
I e フィールドと Po フィールドとの間の動き予測 MCe Po と、
I e フィールドと Pe フィールドとの間の動き予測 MCe Pe とが可能となる。 すなわち、 この図 1 0 (A) の場合、 動き予測及びブロック化がフレーム予測 / 処理モードとフィールド予測/処理モードとで独立に存在でき、 フレーム予測モ 一ドでは動きべクトルが 1つ求められ、 フィ一ルド予測モードでは動きべ.クトル が 2つ求められる。
従って、 本実施例 1においては、 例えば、 Iフレームの上記ブロック化がフレ ーム直交変換モ一ドの時は、 上記ォッドサイクルで、 上記 I 0 フィールドと I e ' フィールドとが組み合わされて上記マクロブロックが構成され、 例えば上記ォッ ドサイクルで、 当該マクロブロック毎に D C T変換 (ただし D C Tは 8 X 8の上 記単位ブロック毎になされる) , 量子化, 可変長符号化がなされる。 これに対し て、 イーブンサイクルでは、 何もデータは送らない。
また、 上記ブロック化がフィールド直交変換モードの時は、 上記ォッドサイク ルでは上記 I 0 フィールドと I e フィールドとが別々に分かれた形で上記マクロ ブロックが構成され、 当該マクロブロック毎に D C T変換 (ただし D C Tは 8 X 8の上記単位ブロック毎になされる) , 量子化, 可変長符号化がなされる。 これ に対して、 イーブンサイクルでは、 図 9からも分かるように何もデータは送らな い。
次に Pフレームの場合は、 以下の様な処理が行われる。 例えば、 Pフレームの 上記ブロック化がフレーム直交変換乇一ドで動き予測がフレーム予測モードの時 は、 上記ォッドサイクルでは参照画像を 向の画像 (Iフレームの画像) とし てフレーム化間の動きベクトル MVPを検出し、 I o フィールドと I e フィ一ル ドが交互に組み合わされた上記マクロブロックを予測画像として原画像との差分 を符号化する。 一方、 イーブンサイクルでは、 何もデータを送らない。
また、 Pフレームの上記ブロック化がフレーム直交変換モードで動き予測がフ ィールド予測モードの時は、 上記ォッドサィクルでは I 0 フィールドと I e フィ 一ルド(又は Po フィールドと Pe フィールド) をそれぞれ参照、画像として、 I o フィールドと Po フィールドとの間の動きべクトル MVo Po、
I e フィールドと Po フィールドとの間の動きべクトル MVe Po、
I o フィールドと Pe フィールドとの間の動きべクトル MVo Pe、
I e フィールドと Pe フィールドとの間の動きべクトル MVe Peを検出し、 奇 数フィールドの予測と偶数フィールドの予測と両方の予測 (例えば、 偶数フィー ルドの予測と奇数フィールドの予測の平均) の内、 現 Pフレームとの予測誤差が 最小となる予測を選択し、 I o フィールドと I e フィールドが組み合わされた上 記マクロブロックを予測画像として原画像との差分を符号化する。 一方、 ィ一ブ ンサイクルでは何もデータは送らなレ、。
さらに、 Pフレームの上記ブロック化がフィ一ルド直交変換モードで動き予測 がフレーム予測モードの時は、 上記ォッドサイクルでは参照画像を Iフレームの 面像(又は Pフレームの面像) として、 フレーム間の動きベクトル MVPを検出 し、 I o フィールドと I e フィールドが別々に分かれて構成された上記マクロブ ロックを予測画像として原画像 (Po フィールドと Pe フィ一ルドが別々に分か れてネ奪成されたマクロブロック) との差分を符号化する。 一方、 イーブンサイク ルでは上記同様何もデータは送らない。
また、 Pフレームの上記ブロック化がフィールド直交変換モードで動き予測が フィールド予測モードの時は、 上記ォッドサイクルでは I 0 フィールドと I e フ ィールド (又は Po フィールドと Pe フィールド) をそれぞれ参照画像として、
I 0 フィールドと Po フィールドとの間の動きべクトル MVo Po、
I e フィールドと Po フィールドとの間の動きベクトル MVe Po、
I o フィールドと Pe フィールドとの間の動きべクトル MVo Pe、
I e フィールドと Pe フィールドとの間の動きベクトル MVe Pe を検出し、 奇 数フィールドの予測と偶数フィールドの予測と両方の予測 (例えば、 偶数フィー ルドの予測と奇数フィールドの予測の平均) の内、 現 Pフレームとの予測誤差が 最小となる予測を選択し、 I 0 フィールドと I e フィ一ルドが別々に分かれて構 成された上記マクロブロックを予測画像として原画像 (Po フィールドと フ ィ一ルドが別々に分かれて構成されたマクロブロック) との差分を符号化する。 一方、 イーブンサイクルでは何もデータは送らない。
さらに、 Bフレームの場合は以下の様な処理が行われる。
例えば、 Bフレームの上記ブロック化がフレーム直交変換モ一ドで動き予測が フレーム予測モードの時は、 上記ォッドサイクルでは参照画像を前方と後方の画 像としてフレーム間の動きベクトル、 即ち、 Iフレームと Bフレームとの間の動 きべクトル FMV B及び Pフレームと Bフレームとの間の動きべクトル BMV B を検出し、 前方予測と後方予測と両方向予測 (前方予測と後方予測との平均) と の内、 現フレームとの予測誤差が最小となる予測を選択し、 奇数フィ一ルドと偶 数フィ一ルドが交互に組み合わされた上記マクロブロックを予測画像として原画 像との差分を符号化する。 一方、 イーブンサイクルでは何もデータは送らない。 また、 Bフレームの上記ブロック化がフレーム直交変換モードで動き予測がフ ィールド予測モードの時は、 上記ォッドサイクルでは参照画像を前方と後方の画 像としてこれらの画像について、 それぞれ奇数フィ一ルドの予測と偶数フィール ドの予測を行い、 それぞれの動きベクトル、 即ち、
I o フィールドと Bo フィールドとの間の動きベクトル FMVo Bo、
I e フィールドと Bo フィールドとの間の動きべクトル FMVe Bo、
I o フィールドと Be フィールドとの間の動きべクトル FMVo Be、
I e フィールドと Be フィールドとの間の動きべクトル FMVe Be、
Po フィールドと Bo フィールドとの間の動きべクトル BMVo Bo、
Pe フィールドと Bo フィールドとの間の動きべクトル BMVe Bo、
Po フィールドと Be フィールドとの間の動きベクトル BMVo Be、
Pe フィールドと Be フィールドとの間の動きべクトル BMVe Beを検出し、 それぞれのべクトルによる奇数フィールドの予測と偶数フィールドの予測 両方 の予測(例えば、 偶数フィールドの予測と奇数フィールドの予澌の平均) の内、 現フレームとの予測誤差が最小となる予測を選択し、 I o フィールドと I e フィ —ルド(又は Po フィールドと Pe フィールド) が組み合わされた上記マクロブ ロックを予測画像として原画像との差分を符号化する。 一方、 イーブンサイクル では何もデータは送らない。
さらに、 Bフレームの上記ブロック化がフィ一ルド直交変換モードで動き予測 がフレーム予測モードの時は、 上記ォッドサイクルでは参照画像を前方と後方の 画像としてフレーム間の動きベクトル、 即ち、 Iフレームと Bフレームとの間の 動きべクトル FMVB及び Pフレームと Bフレームとの間の動きべクトル BMV Bを検出し、 前方予測と後方予測と両方向予測 (前方予測と後方予測との平均) との内、 現フレームとの予測誤差が最小となる予測を選択し、 奇数フィールドと 偶数フィ一ルドが別々に分かれて構成された上記マクロブロックを予測面像とし て原画像との差分を符号化する。 一方、 イーブンサイクルでは何もデータは送ら ない。 また、 Bフレームの上記ブロック化がフィ一ルド直交変換モードで動き予測が フィ一ルド予測モードの時は、 上記ォッドサイクルでは参照画像を前方と後方の 画像としてこれらの画像にっレ、て、 それぞれ奇数フィ一ルドの予測と偶数フィ一 ルドの予測を行い、 それぞれの動きベクトル、 即ち、
I 0 フィールドと Bo フィールドとの間の動きベクトル FMVo Bo、
I e フィールドと Bo フィールドとの間の動きベクトル FMVe Bo、
I o フィールドと Be フィールドとの間の動きベクトル FMVo Be、
I e フィールドと Be フィールドとの間の動きベクトル FMVe Be、
Po フィールドと Bo フィールドとの間の動きベクトル BMVo Bo、
Pe フィールドと Bo フィールドとの間の動きべクトル BMVe Bo、
Po フィールドと Be フィールドとの間の動きべクトル BMVo Be、
Pe フィールドと Be フィールドとの間の動きべクトル BMVe Be を検出し、 それぞれのべクトルによる奇数フィールドの予測と偶数フィ一ルドの予測と両方 の予測 (例えば、 偶数フィールドの予測と奇数フィールドの予測の平均) の内、 現フレームとの予測誤差が最小となる予測を選択し、 I o フィールドと I e フィ 一ルド (又は Po フィールドと Pe フィールド) が別々に分かれて構成された上 記マクロブロックを予測画像として原画像との差分を符号化する。 一方、 ィーブ ンサイクルでは何もデータは送らない。
ただし、 実施例 1の場合、 図 1 0 (A) からもわかる様に I o フィールドと I e フィールドとの間の動き予測と、 Po フィールドと Pe フィールドとの間の動 き予測と、 Bo フィールドと Be フィールドとの間の動き予測ができない。
この場合、 実施例 2を用いれば、 それぞれのピクチャーにおいて、 奇数フィ一 ルドから偶数フィールドへの予測ができる。 即ち、 例えば図 1 2に示すように、 上記ブロック化がフレーム直交変換モードの時は、 ォッドサイクルで、 奇数フィ 一ルド及び偶数フィールドからなる輝度ブロック Y0 , Yl , Y2 , Y3 と、 奇 数フィールドの色差ブロック CbO, C rlからなるマク口ブロック MBの各単位ブ ロックの D C T処理を行うようにし、 更に、 上記ブロック化がフィールド直交変 換モードの時は、 ォッドサイクルで上記奇数フィールドの各輝度ブロック Y02o , Y13o と上記奇数フィールドの各色差ブロック CbO, Crlとの各単位ブロック を D CT処理する。 その後、 イーブンサイクルで偶数フィールドの各輝度ブロッ ク Y02e , Y13e の各単位ブロックを D CT処理する。
この図 1 2の例の場合の動き予测ま、 図 1 0 (B) に示すように、 上記図 1 2 の各動き予測 MC P, MCo Po , MCo Pe , MCe Po , MCe Pe の他に、 I o フィールドと I eフィールドとの間の動き予測 SMC Iと、 Po フィールド と Pe フィールドとの間の動き予測 SMC Pが可能となる。
従って、 実施例 2においては、 例えば、 Iフレームの上記ブロック化が 7レー ム直交変換モードの時は、 上記ォッドサイクルで、 上記 I o フィールドと I e フ ィールドとが組み合わされて上記マクロブロックが構成され、 例えば上記ォッド サイクルで、 当該マクロブロック毎に D C T変換(ただし D CTは 8 X 8の上記 単位ブロック毎になされる), 量子化, 可変長符号化がなされる。 これに対して、 イーブンサイクルでは、 何もデータは送らなレ、。
また、 上記ブロック化がフィールド直交変換モードの時は、 上記ォッドサイク ルではマク ブロックの奇数フィールドのみを同様に符号化する。 これにより、 例えば上記ォッドサイクルの終わった時点では、 後述する復^側では上記 I 0 フィールドの全面及び、 上記フレーム直交変換モードによる I e フィールドのマ クロブロック部分が得られることになる。更に、 Iフレームの上記イーブンサイ クルでは、 上記フィールド直交変換モードによる I e フィ一ルドのマクロブ口ッ クについて、 上記 I o フィールドを参照画像として動き予測を行い、 その動きべ クトル SMV I及び予測画像との差分画像を符号化する。
上記 Pフレームの場合は以下のような処理が行われる。 例えば、 上記 Pフレー ムの上記ブロック化がフレーム直交変換モードで動き予測がフレーム予測モード の時は、 上記ォッドサイクルでは参照画像を前方向の画像 ( Iフレームの画像) としてフレーム間の動きべクトル MVPを検出し、 I o フィールドと I e フィー ルドが組み合わされた上記マクロプロックを予測画像として原画像との差分を符 号化する。 一方、 イーブンサイクルでは何もデータは送らない。
また、 上記ブロック化がフィールド直交変換モードで動き予測がフィールド予 測モードの時は、 上記ォッドサイクルでは I 0 フィ一ルドと I e フィールド (ま たは Po フィールドと Pe フィールド) をそれぞれ参照画像像として、
I o フィールドと Po フィールドとの間の動きべクトル MVo Po及び、 I e フィールドと Po フィールドとの間の動きベクトル MVe Po を検出し、 奇 数フィールドの予測と偶数フィールドの予測と両方の予測 (例えば偶数フィール ドの予測と奇数フィールドの予測の平均) の内、 現フレームの奇数フィールドと の予測誤差が最小となる予測を選択し、 その予測画像との差分を符号化する。 これに対し、 このモードのイーブンサイクルでは、 フィールド直交変換モード のマクロブロックに対し、
I o フィールドと Pe フィールドとの間の動きべクトル MVo Pe及び、 I e フィールドと Pe フィールドとの間の動きベクトル MVe Pe及び、 Po フィールドと Pe フィールドとの間の動きベクトル SMV Pを検出し、 それ ぞれのベクトルによる奇数フィールドの予測と偶数フィ一ルドの予測と現フレー ムの奇数フィールドの予測 (イーブンサイクルのみ行う Po フィールドからの動 き予測) とそれらの内から 2つの予測の平均による予測との中から予測誤差が最 小となる予測を選択し、 その予測画像との差分を符号化する。
更に例えば、 Bフレームの上記ブロック化がフレーム直交変換モードで動き予 測がフレーム予測モードの時は、 上記ォッドサイクルで、 参照画像を前方と後方 の画像としてフレーム間の動きべクトルすなわち Iフレームと Bフレームとの間 の動きべクトル FMVB及び Pフレームと Bフレームとの間の動きべクトノレ BM VBを検出し、 前方予測と後方予測と両方向予測(前方予測と後方予測との平 均) との内、 現フレームとの予測誤差が最小となる予測を選択し、 その予測画像 との差分を符号化する。一方、 イーブンサイクルでは何もデータは送らない。 また、 上記ブロック化がフィールド直交変換モードで動き予測がフィールド予 測モードの時は、 ォッドサイクルで参照画像を前方と後方としてこれら画像につ いてそれぞれ奇数フィールドの予測と偶数フィールドの予 tfを行い、 それぞれの 動きべクトル即ち、
- I o フィールドと Bo フィールドとの間の動きべクトル FMVo Bo ,
I e フィールドと Bo フィールドとの間の動きべクトル FMVe Bo,
Po フィールドと Bo フィールドとの間の動きべクトル BMVo Bo , .
Pe フィールドと Bo フィールドとの間の動きべクトル BMVe Boを検出する。 以下上述と同様にして予測誤差が最小となる予測を選択し、 その予測面像との差 分を符号化する。 更に、 このモードのイーブンサイクルでは、
I o フィールドと Be フィールドとの間の動きベクトル FMVo Be ,
I e フィールドと Be フィールドとの間の動きべクトル FMVe Be,
Po フィールドと Be フィールドとの間の動きベクトル BMVo Be ,
Pe フィールドと Be フィールドとの間の動きべクトル BMVe Beによる各予 測、 更に、 現フレームの奇数フィールドの予測(すなわち Bo フィールド Be フ ィールドとの間の動きベクトル SMVBによる予測) も加えて行い、 予測誤差が 最小となる予測を選択し、 その予測画像との差分を符号化する。
更に、 本実施例 1において、 例えば、 いわゆる 4:2:2 コンポーネントのデイジ タル VTRフォーマットを扱う場合は、 図 1 3に示すように、 上記フレーム直交 変換モードの時は、 奇数フィールド及び偶数フィールドからなる輝度ブロック Y 0 , Yl , Y2 , Y3及び奇数フィールドと偶数フィールドからなる色差ブロッ ク CbOl , CrOl , Cb23 , C r23で構成されるマクロブロックの各単位ブロッ クの D C T処理が行われる。 フィールド直交変換モードの時は、 奇数フィールド の各輝度ブロック Y02o, Y13o及び各奇数フィールドの色差ブロック Cb0123o, Cr0123oと、 偶数フィールドの各輝度ブロック Y02e, Y13e及び各偶数フィ一 ルドの色差ブロック C b0123e, C r0123eからなるマクロブロックの各単位ブ口ッ クの D C T処理が行われる。
また、 この図 1 3の例の場合の動き予測は、 上述した図 1 0 (A) に示すよう になる。 よって、 I o フィールドと I e フィールドとの間の動き予測、 P o フィ —ルドと P e フィールドとの間の動き予測と、 B o フィールドと B e フィールド との間の動き予測ができない。
したがって、 この場合は上述のように、 実施例 2を用いればよい。 即ち、 例え ば、 図 1 3に示すように、 上記ブロック化がフレーム直交変換モードの時は、 ォ ッドサィクルで奇数フィールド及び偶数フィールドからなる輝度ブロック Y0, Y1, Y2, Y3及び色差ブロック CbOl , CrOl , Cb23 , Cr23からなるマ クロブロックの各単位ブロックの D C T処理を行うようにし、 更に、 ブロック化 がフィ一ルド直交変換モードの時は、 ォッドサイクルで上記奇数フィ一ルドの各 輝度ブロック Υ02ο, Υ13ο と上記奇数フィールドの各色差ブロック Cb0123o, Cr0123oとの各単位ブロックを D C T処理する。 その後、 イーブンサイクルで偶 数フィールドの各輝度ブロック Y02e , Y13e及び偶数フィールドの各色差プロ ック C b0123e, C r0123eの各単位プロックを D C T処理する。
この図 1 3の例の場合の動き予測は、 図 1 0 (B ) と同様になる。
また更に、 本実施例し 2において、 上記 4:2:2 コンポーネントのディジタル VT Rフォーマットを扱う場合は、 上述した図 1 3のような処理の他に、 例えば、 図 1 4に示すように、 フレームの動き予測はマクロブロック MB単位で行うが、 フィールドの動き予測をする場合には、 あるマクロブロック MB (i, j) と、 その 下に位置するマクロブロック MB (i+l,j) とを組にして、 このマクロブロックの 組 MBgに対して奇数フィールドの動き予測と偶数フィールドの動き予測を行う ようにすることも可能である。
この図 1 4の例の場合のフレームの一部のマクロブロックを抜き出したものを 図 1 5に示す。 なお、 図 1 5の図中矢印方向に処理が進むとする。 すなわち、 こ の図 1 5には、 あるマクロブロック MB (i, j) に対して次のマクロブロック MB (i, j+1) と、 それらの下に位置する (次のラインの) マクロブロック MB (i+l, j) 及び MB (i+l, j+1) を示している。
この図 1 5に示すようなマクロブロックにおいて、 例えば、 フレーム直交変換 モードの場合は、 各マクロブロック MB (i,j), MB G, j+1) , · · ·, MB (i +1, j) , MB (i+l, j+1) · · '毎に、 各輝度ブロック Y0, Y l及び色差.プロッ ク CbOl , CrOl が D CT処理される。 このため、 当該フレーム直交変換モード の場合は、 各マクロブ口ックの処理が他めマクロブロックの処理モードに影響さ れない。
これに対し、 フィールド直交変換モードの場合は、 図 1 6に示すように、 上記 マクロブロックの組 MBg に対して、 当該マクロブロックの組 MBgを構成する マクロブロックを奇数フィ一ルドのマクロブロック M B goと偶数フィールドのマ ク口プロック MB geに分け、 上記奇数フィールドのマクロブロック MB go内の各 輝度ブロック YOo , Yloと色差ブロック CbOlo, CrOloを D CT処理する。 ここで、 例えば当該マクロブロックの組 M B gが、 上記図 1 5のマクロブロッ ク MB (i,j) と MB (i+l, j) とで構成されているとすると、 当該マクロブロック MBg内の上記奇数フィールドのマクロブロック M B go内の輝度ブロック ΥΟο, Yloは、 上記マクロブロック MB (i,j) の奇数フィールドの輝度ブロックと上記 マクロブロック M B (i+I, j) の奇数フィールドの輝度プロックからなるものであ る。 また、 当該奇数フィールドのマクロブロック MB go内の色差ブロック CbOlo, CrOloは、 同じく上記マクロブロック MB (i,j) の奇数フィールドの色差ブロッ クと上記マクロブロック M B (i+l, j) の奇数フィールドの色差プロックからなる ものである。
同様なことから、 上記偶数フィールドのマクロブロック M B ge内の輝度プロッ ク YOe , Yleは、 上記マクロブロック MB (i, j) の偶数フィールドの輝度プロ ックと上記マクロブロック MB (i+l, j) の偶数フィ一ルドの輝度ブロックからな るものであり、 当該偶数フィールドのマクロブロック M B ge内の色差ブロック C b01e, CrOleは、 上記マクロブロック MB (i, j) の偶数フィールドの色差ブロッ クと上記マクロブロック M B (i+l, j) の偶数フィールドの色差プロックからなる ものである。
上述したようなことから、 動き予測と D C T変換の各処理モードとの関係は、 以下に述べるようになる。 すなわち、 本実施例の符号装置においては、 例えば上 記マクロブロック MB (i, j) について、 フレーム直交変換乇一ドの動き予測で、 フレーム直交変換モードの D C T変換である場合、 例えば、 前記動き補償器付フ レームメモリ群 2 0の中で復号化された画像を参照フレームとし、 この参照フレ ー厶から取り出した予測画像と、 入力画像 (原画像) との差分を D C T変換する。 そしてその D C T係数とフレーム動きべクトルとを伝送する。
また、 例えば、 上記マクロブロック MB (i, j) において、 フィールド直交変換 モードの動き予測で、 フィールド直交変換モードの D C T変換である場合、 当該 マクロブロック MB (i,; j) では、 奇数フィールドから取り出した予測画像と奇数 フィールドの原画像との差分と、 奇数フィールドの動きべクトルとを符号化する。 また、 上記マクロブロック MB (i+l, j) では、 偶数フィールドから取り出した予 測画像と偶数フィールドの原画像との差分と、 偶数フィールド 動きべクトルと を符号化する。
更に、 例えば、 上記マクロブロック MB (i,j) において、 フィールド直交変換 モードの動き予測で、 フレーム直交変換乇一ドの D C T変換である場合、 当該マ クロブロック MB (i,; i) では、 参照フレームから取り出した当該マクロブロック MB (i,j) の位置に対する予測画像と入力画像とのフレーム差分と、 奇数フィー ルドの動きべクトルと偶数フィールドの動きべクトルを伝送する。 また、 上記マ クロブロック MB (i+l, j) では、 参照フレームから取り出した当該マクロブロッ ク MB (i+l, j) の位置に対する予測画像と入力面像とのフレーム差分を伝送する。 また更に、 例えば、上記マクロブロック MB (i, j) において、 フレーム直交変 換モードの動き予測で、 フィールド直交変換モードの D CT変換である場合、 当 該マクロブロック MB(i,j) では、 奇数フィールドから取り出した予測画像と奇 数フィールドの原画像との差分と、 当該マクロブロック MB (i, j) のフレーム動 きベクトルと、 上記マクロブロック MB (i+l, j) のフレーム動きベクトルを伝送 する。 また、 上記マクロブロック MB (i+l, j) では、 奇数フィールドの予測面像 と入力画像との差分を伝送する。
ところで、 本符号化装置では、 従来のマクロブロックタイプに拡張ビットを付 加して従来との互換性をとることにより本符号を実現してレ、る。
即ち、 実施例 1の場合、 例えば Bフレームにおいて、 マクロブロックタイプは 上述のように前予測、 後予測、 雨予測の 3つがあるが、 前予測についてフィ一ル ド予測モードの時は前フレームの奇数フィールドと偶数フィールドからの予測の 2通りが考えられるので、 レ、ずれかの予測か認識する拡張ビットを加えることに より本符号を実現している。 この場合の予測は 2通りなので、 拡張ビットは 1つ の方向 (前、 後予測) について、 1ビット付加すればよい。 例えば、 前又は後予 測で奇数フィールドからの予測の場合は、 符号 1を、 偶数フィールドからの予測 の場合は、 符号 0を拡張ビットとして従来のマクロブロックタイプに付加すれば よいのである。 また、 両予測では、 前又は後予測について雨方の拡張ビットが付 加される。 尚、 フレーム予測モードであれば、 拡張ビットは付加せず、 従来のビットスト リーム (M P E G) と同じ形式となる。
以上のことは、 Pフレームの場合でも同様に適用される。
次に、 実施例 2の場合、 例えば Bフレームにおいて、 マクロブロックタイプは、 上述のように前予測、 後予測、 両予測があるが、 前予測についてフィールド予測 モードの時、 奇数フィールドからの予測か、 偶数フィールドからの予測か、 自己 のフレーム内の奇数フィールドからの予測か認識させる拡張ビットをマクロブ口 ックタイプに付加しなければならない。 即ち、 前予測のフィールド予測モードで は、 自己フレーム内からの予測があるので、 奇数 ·偶数を含め、 3通りの予測を 拡張ビットで表現するためには、 1又は 2ビットの拡張ビットが必要となり、 後 予測のフィールド予測モードでは、 奇数'偶数の 2通りのみであるので、 常に拡 張ビットは 1ビット必要となる。 例えば、 前予測では、 前フレームの奇数フィー ルドからの予測の場合は符号 1、 前フレームの偶数フィールドからの予測の場合 は符号 0 1、 現フレームの奇数フィールドからの予測の場合は符号 1 1を付力 Πし、 後予測では、 後フレームの奇数フィールドからの予測の場合は符号 1、 後フレー ムの偶数フィ一ルドからの予測の場合は符号 0を、 拡張ビットとして従来のマク ロブロックタイプに付加すればよいのである。
尚、 フレームモードであれば、 拡張ビットは付加せず、 従来のビットストリー ム (M P E G) と同じ形式となる。 また、 両予測では、 前又は後予測について両 方の拡張ビットが付加される。
以上のことは Pフレームの場合でも同様に適用される。
さらに、 この変形として、 上記前予測の場合の拡張ビットを 1 ビットに減らす こともできる。 即ち、 フィールド予測モードにおけるイーブンサイクルにおいて、 図 1 7に示すように、 時間的及び位置的に一番離れた前フレームの奇数フィ一ル ドからの予測を廃止することにより、 前予測を 2つに減らし、 1 ビットの拡張で 前予測モードを伝送できる。 具体的には、 ォッドサイクルで前予測では、 前フレ ームの奇数フィールドからの予測の場合は符号 1、 前フレームの偶数フィ一ルド からの予測の場合は符号 0、 又、 イーブンサイクルで前予測では、 現フレームの 奇数フィ一ルドからの予測の場合は符号 1、 前フレームの偶数フィールドからの 予測の場合は符号 0、 更に、 後予測では、 後フレームの奇数フィールドからの予 測の場合は符号 1、 後フレームの偶数フィ一ルドからの予測の場合は符号 0を、 拡張ビットとして従来のマクロブロックタイプに付加すればよい。
〔実施例 3の説明〕
図 3は、 本発明の第 3の実施例の画像信号の高能率符号化装置を示すものであ る。 図 3において、 図 1と同じ番号が付されたブロックは図 1のブロックと同じ 働きをするものである。 従って、 ここでも図 1と異なる番号が付されたブ!?ック について述べる。
即ち、 図 3の高能率符号化装置は、 動き補償が上記フレーム予測モードで直交 変換のブロック化が上記フレーム直交変換モードの場合と、 動き補償が上記フィ —ルド予測モードで直交変換のブロック化が上記フィ—ルド直交変換モードの場 合との何れの効率が良いかを上記動き検出手段から出力される情報により判定し、 効率の良い予測モードを選択するモード選択手段であるモード判定回路 3 3及び セレクタ 2 4と、 1フレーム ( 1画面) について符号化処理のィン夕レースにお ける奇数フィ一ルドのスキャンを行う期間の奇数サイクルか偶数フィールドのス キャンを行う期間の偶数サイクルかを認識し、 上記モ一ド判定回路 3 3のモ一ド がフィールド予測,フィールド処理の時のみ上記奇数サイクルでマク口ブロック 分の奇数フィールドを順次 1フレーム分出力し、 次いで上記偶数サイクルでマク ロブロック分の偶数フィールドを順次 1フレーム分出力するようにフレームメモ リ群を制御するァドレス発生手段であるァドレス発生器 3 5とを備えたものであ る。 この図 3に示す第 3の実施例の画像信号の高能率符号化装置は、 上記動き検出 手段及びフレーム Zフィールドモード判定回路 3 3と共に、 1フレーム内の各マ クロブロック毎に上記直交変換のプロック化を上記フレーム直交変換モード又は 上記フィ一ルド直交変換モードに適応的に切り換えて各モードに基づき各マクロ ブロックを符号化する第一の符号化処理モードと、 1フレーム内の全てのマクロ ブロックの上記直交変換のプロック化を上記フィ一ルド直交変換モードで行いィ ン夕レースにおける奇数フィールドのスキャンを行う期間の奇数サイクル (ォッ ドサイクル) でマクロブロックにおける奇数フィールドのみ 1フレーム分符号化 し次いでインタレースにおける偶数フィ一ルドのスキャンを行う期間の偶数サイ クル (イーブンサイクル) でマクロブロックにおける偶数フィールドを 1フレー ム分符号化する第二の符号化処理モードとの何れが符号化するに際して効率が良 いかを判定し、 効率の良い符号化処理モードを選択する第三のモード選択手段で ある符号化処理モード判定回路 3 4を有している。
またさらに、 本実施例装置は、 上記奇数サイクルか上記偶数サイクルかを認識 し、 上記符号化処理モードが第一の符号化処理モードの場合には上記奇数サイク ルで上記直交変換のプロック化のモードに対応してブロック化されたマクロブロ ックを出力するように上記フレームメモリ群 1 0を制御し、 上記符号化処理モー ドが第二の符号化処理モードの場合には上記奇数サイクル及び偶数サイクルで上 記フィ一ルド直交変換モードに対応してプロック化されたマクロブロックを出力 するように上記フレームメモリ群 1 0を制御するァドレス発生器 3 5とを備えた ものである。
ここで、 本実施例の符号化装置においては、 上述した第一のモード選択手段に よつて上記フレーム動き予測モードとフィールド動き予測モードの何れが動き補 償をするに際して効率が良いかを選択し、 上記第二のモード選択手段によって上 記フレーム直交変換モードとフィールド直交変換モードの何れが直交変換を行う に際して効率が良いかを選択することができる。 なお、 この第—, 第二のモード 選択は上述のフレーム Zフィ一ルドモード判定回路 3 3によりなされる。
また、 本実施例装置は、 上記第—, 第二のモード選択手段によるモード選択処 理と &に、 各フレームについて 2つの符号化処理モードの何れか効率の良い方で 符号化を行うようになされている。 すなわち、 上述したように第一の符号化処理 モードとしては、 1フレーム内の各マクロブロック毎に上記フレーム直交変換モ 一ドと上記フィールド直交変換モードとを適応的に切り換えて各マクロブロック を符号化する。
更に、 上述したように第二の符号化処理モードとしては、 1フレーム内の全て のマクロプロックの直交変換のブロック化を上記フィールド直交変換モ一ドで行 レ、、 奇数フィールド(第 1フィールド) のスキャンを行う期間の奇数サイクルで マクロブロックにおける奇数フィールドのみ 1フレーム分符号化し、 次いで偶数 フィールド (第 2フィールド) のスキャンを行う期間の偶数サイクルでマクロブ ロックにおける偶数フィールドを Iフレーム分符号化する。 上記第三のモード選 択手段によってこれら第—, 第二の符号化処理モードのうち何れが符号化するに 際して効率が良いかを判定し、 効率の良い符号化処理モードを選択するようにし ている。
すなわち、 上記第一の符号化処理モードでは、 各フレームを第 1フィールド (奇数フィールド) と第 2フィールド(偶数フィールド) に分割せずにブロック 化して符号化するモード(上記フレーム直交変換モード) と、 各フレームを第 1 , 第 2フィールドに分割してフィールドでブロック化して符号化するモード(上記 フィ一ルド直交変換モード) とのうち、 例えば画像の動きの小さいマクロブロッ クでは上記フレーム直交変換モードを用い、 逆に例えば画像の動きの大きいマク 口プロックでは上記フィールド直交変換モードを用いるように適応的に切り換え る処理を行う。 したがって、 当該第一の符号化処理モードにおいて上記フレーム直交変換モー ドが選ばれた場合、 例えば上記 P, Bフレームの動き予測では、 前後のフレーム から動き予測がなされ、 この予測画との差分画像が直交変換 (D C T) される。 また、 当該第一の符号化処理モードにおいて上記フィールド直交変換モードが選 ばれた場合、 例えば上記 P, Bフレームの動き予測は、 マクロブロックの第 1フ ィールド, 第 2フィールドのそれぞれについて前, 後のフレームの第 1又は第 2 フィールドから動き予測され、 この予測画との差分画像が D C T変換される。 こ のようなことから、 第一の符号化処理モードは、 フレーム内フィールド間予測無 しの符号化ということができる。 また、 この第一の符号化処理モードでは、 上記 奇数サイクルで符号化処理がなされる。 なお、 この第一の符号化処理モードは、 フレーム内フィールド間予測無しの符号化と言うことができる。
ここで、 上記第一の符号化処理モ一ドにおいては、.フレーム内の各フィールド 間 (同一フレーム内の奇数フィールドと偶数フィールドとの間の動き予測ができ ないことになる。
したがって、 本実施例の上記第二の符号化処理モードでは、 上述したように、 各フレーム内の全てのマクロブロックの直交変換のブロック化を上記フィールド 直交変換モードで行うようにしており、 奇数サイクルでマクロブ口ックにおける 奇数フィールドのみ 1フレーム分符号化し、 次いで偶数サイクルでマクロブロッ クにおける偶数フィールドを 1フレーム分符号化している。 したがって、 この第 二の符号化処理モードによれば、 奇数フィールド (第 1フィールド) を先に符号 化しているので、 偶数フィールド (第 2フィールド) はこの奇数フィールド (第 1フィールド) からの動き予測が可能となる。 なお、 このようなことから、 上記 第二の符号化処理モードは、 フレーム内フィールド間予測有りのフレームの符号 化と言うことができる。
再び図 3に戻って、 上記セレクタ 2 4は、 上記フレーム /フィールドモード判 定回路 3 3からの動き予測モ一ドデータ MPFMZMPFDに応じて、 上記フレーム 動き検出回路 2 2から俄給されているフレーム間の動きべクトルのデータ FMMV と、 上記フィールド動き検出回路 2 1から供給されているフィールド間の動きべ クトルのデータ F DMVのいずれかを選択出力する。 すなわち、 上記動き予測モー ドデータがフィールド動き予測モードを示すデータ MPFDの時は上記フィールド 動き検出回路 2 1からの動きべクトルデ一夕 F DMVを選択して出力し、 上記動き 予測モードデータがフレーム動き予測モ一ドを示すデータ MPFMの時には上記フ レーム動き検出回路 2 2からの動きべクトルデ一夕 FMMVを選択して出力する。 当該セレクタ 2 4で選択された動きべクトルデータ FMMVZF DMVは、 上記動 き補償器付フレームメモリ群 2 0に送られるようになつている。 これにより、 当 該フレームメモリ群 2 0では、 上記動き予測モードデータ MPFMZMPFDと動き べクトルデータ FMMVZF DMVとに基づいて、 フレーム単位或いはフィールド単 位で動き補償を行うことが可能となる。
また更に、上記フレームノフィールドモード判定回路 3 3には、 上記フレーム メモリ群 1 0から読み出された上記マクロブロック単位の画像データも供給され る。 当該フレーム Zフィールドモード判定回路 3 3では、 上記動き予測モードデ —夕 MPFM/MPFD及び上記動きべクトルデータ FMMVZF D Vと、 上記フレー ムメモリ群 1 0からの画像データとを用いて差分画像を作り、 当該差分画像に基 づいて、 上記フレームメモリ群 1 0から出力されて上記 D CT回路 1 3で D C T 処理される画像に最も適する直交変換のブロック化の処理のモード (上記フレー ム直交変換モ一ド /フィールド直交変換モード) を選択する処理も同時に行われ るようになっている。 なお、 前記 Iピクチャ (或いは Iフレーム) の場合は、 上 記差分面像の代わりにフレームメモリ群 1 0の画像(原画) のデータを用いる。 上記フレーム フィールドモ一ド判定回路 3 3においては、 直交変換のブロッ ク化処理におけるフィールド直交変換モードのデータ MDFDを出力する。 または、 直交変換のブロック化処理におけるフレーム直交変換モードのデータ MDFMを出 力する。
ここで、 上記フレーム/フィールドモード判定回路 3 3からのフレーム直交変 換モードデ一夕 MDFM或いはフィールド直交変換モードデータ MDFDの出力は、 上記符号化処理モード判定回路 3 4からの第一の符号化処理モ一ド或いは第二の 符号化処理モードに対応する符号化モードデータ E N 1 ZE N 2に応じたものと なされる。
当該符号化処理モード判定回路 3 4は、 上記フレームメモリ群 1 0から読み出 された上記マクロブロック単位の画像データを用いて、 上述したように、 笋一の 符号化処理モードと第二の符号化処理モードの何れが符号化するに際して効率が 良いかを判定し、 当該判定結果に応じた上記符号化モードデータ E N 1又は E N 2を出力する。 具体的にいうと、 当該符号化処理モード判定回路 3 4では、 例え ば、 各フレームの奇数フィールド (第 1フィールド) と偶数フィールド (第 2フ ィ一ルド) との間の各画素の絶対値差分和を演算し、 この絶対値差分和の値が例 えばあるしきい値 TO未満 (すなわち画像の動きが小さい場合) ならば、 上記第 一の符号化処理モードの符号化を行う方が効率が良いことを示す符号化モードデ 一夕 E N 1を出力し、 逆に、 上記絶対値差分和の値が上記しきい値 TO以上 (画 像の動きが大きい場合) ならば、 上記第二の符号化処理モードの符号化を行う方 が効率が良いことを示す符号化モードデータ E N 2を出力するものである。
なお、 上記符号化処理モード判定回路 3 4における判定の際には、 上記フィー ルド動き検出回路 2 1からの動きべクトルデータ F DMVを用いて判定を行うこと も可能である。 すなわち、 奇数フィールドと偶数フィールドとの間の動きべクト ルデータ F DMVがあるしきい値 t O未満ならば第一の符号化処理モードを選択し、 逆に上記しきい値 t 0以上ならば第二の符号化処理モードを選択するようなこと も可能である。
当該符号化処理乇一ド判定回路 3 4からの上記符号化モードデータ EN 1 /E N 2が、 上記フレーム Zフィールドモード判定回路 3 3に送られることで、 当該 フレーム/フィールドモード判定回路 3 3からは、 上記符号化モードデータ EN 1 Z E N 2に応じたフレーム直交変換モ一ドデータ MD FM或レ、はフィールド直交 変換モードデータ MDFDが出力されるようになる。
すなわち、 上記符号化処理モード判定回路 3 4からの符号化モードデータが上 記第一の符号化処理モ一ドを示すデ一夕 E N 1であつた場合、 上記フレー厶ノフ ィ一ルド乇ード判定回路 3 3は、 1フレーム内の各マク口ブロック毎に上記フレ ーム直交変換モ一ド或いはフィールド直交変換モ一ドが適応的に切り換える処理 を行う。 したがって、 当該フレーム Zフィールドモード判定回路 3 3からは、 当 該適応的に切り換えられた上記フレーム直交変換モード MDFM或いはフィ一ルド 直交変換モードデ一夕 MDFDが出力されるようになる。
これに対し、 上記符号化処理モード判定回路 3 4からの符号化モードデータが 上記第二の符号化処理モードを示すデータ EN 2であった場合、 上記フレームノ フィールドモード判定回路 3 3では、 上述したように、 1フレーム内の全てのマ クロブロックの直交変換のプロック化が上記フィ一ルド直交変換モ一ドで行われ る。 したがって、 当該フレーム Zフィールドモード判定回路 3 3からは、 上記フ ィールド直交変換モードデータ MDFDが出力されるようになる。
当該フレーム Zフィールドモード判定回路 3 3から出力されるフレーム Zフィ —ルド何れかの直交変換のブロック化のモードデータ MDFMZMDFD及び、 上記 符号化処理モード判定回路 3 4からの上記符号化モードデ一夕 EN 1 ZEN 2は、 上記アドレス発生器 3 5及び動き補償器付フレームメモリ群 2 0に伝送される。 なお、 上記直交変換モードデータ (MDFMZMDFD) と上記動き予測モードデ一 夕 (MPFMZMPFD) と上記符号化モードデータ E N 1 /E N 2と上記動きべク トルデータ (FMMV/F DMV) とは、 上述の可変長符号化回路 1 5にも送られて いる。
上記アドレス発生器 3 5は、 フレームメモリ群 1 0を制御する。 すなわち、 上 述したように、 上記第一の符号化処理モードの場合には上記奇数サイクルで上記 直交変換のブロック化のモード (データ MDFMZMDFD) に対応してブロック化 されたマクロブロックを出力するようにフレームメモリ群 1 0を制御し、 上記第 二の符号化処理モードの場合には上記奇数サイクル及び偶数サイクルで上記フィ 一ルド直交変換モード (データ MDFD) に対応してブロック化されたマクロプロ ックを出力するようにフレームメモリ群 1 0を制御する。
言い換えれば、 例えば、 第一の符号化処理モードが選ばれて上記アドレス発生 器 3 5に上記符号化モードデータ E N 1が供給されている場合において、 例えば 上記直交変換モードデ一夕がフレーム単 での D C T処理を示すデータ MDFMと なっているならば、 当該アドレス発生器 3 5は図 5 ( B) に示すようにイーブン とォッドが交互にスキャンされたマクロブロック (奇数フィールドと偶数フィー ルドとを合わせたフレーム単位のマクロブロック) を出力するようにフレー厶メ モリ群 1 0を制御する。 すなわち、 この場合の上記アドレス発生器 3 4は、 上記 図 5 ( B ) に示すように、 1ライン〜 1 6ラインからなるマクロブロックを 1ラ イン〜 8ラインと 9ライン〜 1 6ラインのように分け、 この 8 X 8のブロック 4 個づっ (マクロブロック) 出力されるように上記フレームメモリ群 1 0を制御す 。
また、 第一の符号化処理モードが選ばれて上記アドレス発生器 3 5に符号化モ 一ドデータ E N 1が供給されている場合において、 例えば上記直交変換モードデ —夕がフィールド単位での D C T処理を示すデ一夕 M DFDとなっているならば、 上記アドレス発生器 3 5は図 5 ( C) に示すようにイーブンとォッドのスキャン を別々に分けてスキャンされたマクロブ口ック (奇数フィールドと偶数フィ一ル ドのそれぞれフィールド単位のマクロブロック) を出力するようにフレームメモ リ群 1 0を制御する。 すなわち、 上記アドレス発生器 3 4は、 上記図 5 ( C) に 示すように、 1ライン, 3ライン, 5ライン, 7ライン, 9ライン, 1 1ライン, 1 3ライン, 1 5ライン (奇数フィールド或いは第 1フィールドの各ライン) 、 2ライン, 4ライン, 6ライン, 8ライン, 1 0ライン, 1 2ライン, 1 4ライ ン, 1 6ライン (偶数フィールド或いは第 2フィールドの各ライン) のように分 割して、 これら奇数フィ一ルドと偶数フィールドとでそれぞれ 8 X 8のブロック 2個づっ (マクロブロック) 出力されるように上記フレームメモリ群 1 0を制御 する。
また、 例えば、 第二の符号化処理モードが選ばれて上記アドレス発生器 5に 符号化モードデ一夕 EN 2が供給されている場合においては、 上記ァドレス発生 器 3 5は上述したように上記奇数サイクル及び偶数サイクルで上記フィールド直 交変換モードに対応してプロック化されたマク口プロックを出力するようにフレ —ムメモリ群 1 0を制御する。 すなわち、 この第二の符号化処理モードが選ばれ ている時の上記アドレス発生器 3 5は、 常に 8 X 8のブロック 2個分づっ (ただ し後述するように輝度成分のみ) 出力されるように上記フレームメモリ群 1 0を 制御する。 具体的に言うと、 当該アドレス発生器 3 5は、 上記奇数サイクルでは 奇数フィールドのみ上記 8 X 8のブロック 2個分のマクロブロックが 1フレーム 分(1 β分) 出力されるように上記フレームメモリ群 1 0を制御し、 次いで、 上記偶数サイクルでは偶数フィ一ルドのみ上記 8 X 8のブロック 2個分のマク口 ブロックが 1フレーム分(1面面分) 出力されるように上記フレームメモリ群 1 0を制御する。
上述のようにして、 アドレス発生器 3 5によって制御されたフレームメモリ群 1 0から出力された画像データが、 前述のように D C T回路 1 3で D C T処理さ れる。 すなわち、 例えば、 上記第一の符号化処理モードが選ばれてフレーム直交 変換モードが選ばれている場合、 当該 DCT回路 1 3では、 上述した図 5 (B) のような 8 X 8画素の単位ブロックで DCT変換を行う。 また、 例えば、 上記第 一の符号化処理モードが選ばれフィールド直交変換モードが選ばれている場合、 上記 DCT回路 1 3では、 上述した図 5 (C) のような 8 X 8画素の単位ブロッ クで DCT変換を行う。 上記第二の符号化処理モードが選ばれている場合には、 上述したように、 奇数サイクルのとき奇数フィールドのみ上記 8 X 8のブロック で DC T変換を行い、 偶数サイクルのとき偶数フィールドのみ上記 8 X 8のプロ ックで DCT変換を行う。
さらに、 上記フレーム フィールドモード判定回路 33からの動き予測モード データ MPFM/MPFD及び直交変換モードデータ MDFM/MDFDと、 上記.セレク 夕 24で選択された動きべクトルデータ FMMV/FDMVと、 上記符号化処理モー ド判定回路 34からの符号化モードデ一夕 EN1ZEN2とは、 上記動き補償器 付フレームメモリ群 20にも供給されるようになっている。 したがって、 当該動 き補償器付フレームメモリ群 20では、 上記動き予測における動き予測モードデ 一夕 M P FM/M P FD及び D C T処理における直交変換乇一ドデータ M D F /M D FD及び符号化モードデータ EN1/EN2に応じると共に、 上記動きべクトルデ 一夕 F MMV/F DMVを用いた動き補償が行われる。
上述のようなことから、 上記第一の符号化処理モードでかつ上記フレーム直交 変換モードの時の例えば上記 P, Bフレームの動き予測は、 図 6に示すように、 前, 後のフレームから動き予測される。 したがって、 上記 DCT回路 1 3では、 当該予測画との差分画像が DC T変換(8 X 8画素の単位ブロックで DC T変 換) されることになる。 なお、 図 6には、 前フレーム, 現フレーム, 後フレーム を示し、 図中矢印は動きベクトルを、 MBはマクロブロックを示している。
また、 上記第一の符号化処理モードでかつ上記フィールド直交変換モードの時 の上記 P, Bフレームの動き予測では、 図 7に示すようにマクロブロックの奇数 フィールドと偶数フィールドのそれぞれについて前, 後のフレームの奇数又は偶 数フィールド(第 1又は第 2フィールド) から動き予測がなされる。 したがって、 上記 D CT回路 1 3では、 当該予測画との差分面像が D CT変換(8 X 8画素の 単位ブロックで D C T変換) されることになる。 なお、 図 7には、 前フレーム, 現フレーム, 後フレームのそれぞれの奇数フィールド及び偶数フィールドを示し、 図中矢印は動きべクトルを、 MBはマクロブロックを示している。
さらに、 上記第二の符号化処理モードの場合の上記フィールド直交変換モード の時の動き予測は、 例えば図 8に示すように、 マクロブロックの奇数フィールド と偶数フィ一ルドのそれぞれについて前, 後のフレームの奇数又は偶数フィール ドから動き予測がなされると共に、 各フレーム内の各フィールド間の動き予測も 行われる。 したがって、 上記 D C T回路 1 3では、 当該予測面との差分面像が D C T変換(8 X 8画素の単位ブロックで D C T変換) されることになる。 なお、 図 8には、 前フレーム, 現フレーム, 後フレームのそれぞれの奇数フィールド及 び偶数フィールドを示し、 図中矢印は動きベクトルを、 MBはマクロブロックを 示している。
上述したようなことから、 第 3の実施例の画像信号の高能率符号化装置にぉレ、 ては、 第一, 第二の符号化処理モード(すなわち画像の動きの大きさ) に応じて、 フレーム内のフィールド間予測を行わない符号化とフレーム内でフィールド間予 測を行う符号化とを切り換えてレ、るため、 最も効率の良 、符号化が可能となって いる。 特に、 動きの大きいフレームでは、 上記第二の符号化処理モードが有効と なる。
さらに、 本実施例においては、 1つのフレームについて、 符号化の処理がイン タ一レースにおける奇数フィールドのスキャンを行う期間の上記奇数サイクル (ォッドサイクル) と、 偶数フィールドのスキャンを行う期間の上記偶数サイク ル (イーブンサイクル) とで分けられている。
上述のようなことから、 図 1 1に示すように、 更に、 上記第一の符号化処理モ 一ドで上記 Pフレーム及び Bフレームの場合は、 第 1の実施例と同様の処理を行 う。
さらに、 上記第一の符号化処理モードで Bフレームの直交変換のブロック化が 上記フィールド直交変換モードで、 動き予測が上記フレーム動き予測モ一ドの時 は、 上記ォッドサイクルでは参照画像を前方と後方の画像としてフレーム間の動 きベクトル、 即ち、 Iフレームと Bフレームとの間の動きベクトル FMV B及び Pフレームと Bフレームとの間の動きべクトル BMV Bを検出し、 前方予測と後 方予測と両方向予測 (前方予測と後方予測との平均) との内、 現フレームとの予 測誤差が最小となる予測を選択し、 奇数フィールドと偶数フィ一ルドが別々に分 かれて構成された上記マクロブロックを予測画像として原画像との差分を符号化 する。
また、 上記第一の符号化処理モードで Bフレームの直交変換のブロック化が上 記フィールド直交変換モードで動き予測が上記フィールド動き予測モードの時は、 上記ォッドサイクルでは参照画像を前方と後方の画像としてこれらの画像につい て、 それぞれ奇数フィールドの予測と偶数フィールドの予測を行い、 それぞれの 動きべクトル、 即ち、
I o フィールドと Bo フィールドとの間の動きべクトル FMVo Bo、
I e フィールドと Bo フィールドとの間の動きベクトル FMVe Bo、
I o フィールドと Be フィールドとの間の動きベクトル FMVo Be、
I e フィールドと Be フィールドとの間の動きベクトル FMVe Be、
Po フィールドと Bo フィールドとの間の動きベクトル BMVo Bo、
Pe フィールドと Bo フィールドとの間の動きベクトル BMVe Bo、
Po フィールドと Be フィールドとの間の動きべクトル BMVo Be、 Pe フィールドと Be フィールドとの間の動きべクトル BMVe Beを検出し、 それぞれのべクトルによる奇数フィールドの予測と偶数フィ一ルドの予測と両方 の予測(例えば、 偶数フィールドの予測と奇数フィールドの予測の平均) の内、 現フレームとの予測誤差が最小となる予測を選択し、 I o フィールドとの フィ 一ルド(又は Po フィールドと Pe フィールド) が別々に分かれて構成された上 記マクロブロックを予測画像として原画像との差分を符号化する。 一方、 このモ —ドのイーブンサイクルでは何もデータは送らない。
ただし、 本実施例の第一の符号化処理モードの場合、 第 1の実施例と同様に I 0 フィールドと I e フィールドとの間の動き予測と、 Po フィールドと Pe フィ 一ルドとの間の動き予測と、 Bo フィールドと Be フィールドとの間の動き予測 ができない。
この場合、 本実施例の上記第二の符号化処理モードを用いれば、 それぞれのピ クチヤにお 、て、 奇数フィ一ルドから偶数フィールドへの予測ができる。
従って、 上記第二の符号化処理モードの上記フィールド直交変換モードの場合 は、 上記ォッドサイクルでマク口ブロックの奇数フィ一ルドのみを符号化し、 ィ —ブンサイクルでマクロブロックの偶数フィールドのみを符号化する。 これによ り例えば上記ォッドサイクルの終わった時点では、 後述する復号器側では上記 I 0 フィールドの全面が得られることになる。 したがって、 Iフレームの上記ィー ブンサイクルでは、 上言己フィールド直交変換モードによる I e フィールドのマク ロブロックについて、 図 1 1に示すように、 上記 I o フィールドを参照画像とし て動き予測を行い、 その動きべクトル SMV I及び予測画像との差分画像を符号 化することができる。
また、 図 1 1に示すように、 上記第二の符号化処理モードの Pフレームの場合 は以下のような処理が行われる。 例えば、 上記 Pフレームの動き予測がフレーム 動ま予測モードの時は、 上記ォッドサイクルとイーブンサイクルの後に参照画像 を前方向の画像 ( Iフレームの画像) としてフレーム間の動きべクトル MV Pを 検出し、 I 0 フィールドと I e フィ一ルドが組み合わされた上記マクロブロック を予測画像として原画像との差分を符号化する。
第二の符号化処理モードの Pフレームの動き予測がフィールド動き予測モード の時は、 上記ォッドサイクルでは I 0 フィールドと I eフィ一ルドをそれぞれ参 照画像像として、
I o フィールドと Po フィールドとの間の動きべクトル MVo Po、
I e フィールドと P oフィールドとの間の動きベクトル MVe P oを検出する。 このモードのイーブンサイクルでは、 フィールド直交変換モードのマクロブロッ クに対し、
I o フィールドと Pe フィールドとの間の動きベクトル MVo Pe及び、 . I e フィールドと Pe フィールドとの間の動きベクトル MVe Pe 及び、 Po フィールドと Pe フィールドとの間の動きベクトル SMV Pを検出し、 それ ぞれのべクトルによる奇数フィールドの予測と偶数フィールドの予測と現フレー ムの奇数フィールドの予測とそれらの内から 2つの予測の平均による予測との中 から予測誤差が最小となる予測を選択し、 その予測画像との差分を符号化する。 更に例えば、 第二の符号化処理モードで上記 Bフレームの動き予測がフレーム 動き予測モードの時は、 Iフレームと Bフレームとの間の動きべクトル FMV B 及び Pフレームと Bフレームとの間の動きべクトル BMV Bを検出し、 前方予測 と後方予測と両方向予測 (前方予測と後方予測との平均) との内、 現フレームと の予測誤差が最小となる予測を選択し、 その予測画像との差分を符号化する。 また、 第二の符号化処理モードで上記 Bフレームの動き予測がフィールド動き 予測モードの時は、 上記ォッドサイクルで参照画像を前方と後方としてこれら画 像についてそれぞれ奇数フィールドの予測と偶数フィールドの予測を行い、 それ ぞれの動きベクトル即ち、
I o フィールドと Bo フィールドとの間の動きベクトル FMVo Bo,
I e フィールドと B o フィールドとの間の動きべクトル FMVe Bo,
Po フィールドと B o フィールドとの間の動きベクトル BMVo Bo ,
Pe フィールドと Bo フィールドとの間の動きべクトル BMVe Boを検出する c また、 図 3の例の場合の第一の符号化処理モードにおける動き予測は、 上述し た図 1 0 (A) に示すようになる。 したがって、 この場合は上述のように、 第二 の符号化処理モードを用いればよい。
また更に、 本実施例においても上記 4:2:2 コンポーネントのディジタル VTR フォーマットを扱う場合は、 上述した図 1 3のような処理の他に、 上述した図 1 4に示すように、 フレームの動き予測はマクロブロック MB単位で行う力、.フィ 一ルドの動き予測をする場合には、 マクロブロックを組にして、 このマクロブロ ックの組 MBg に対して奇数フィ一ルドの動き予測と偶数フィ一ルドの動き予測 を行うようにすることも可能である。 よって当該フレーム直交変換モードの場合 は、 各マク口ブロックの処理が他のマク口ブロックの直交変換モードに影響され ない。
図 1 8に第 4の実施例の符号化装置の構成例を示す。 なお、 この図 1 8におい て、 上述した図 1と同様の構成要素には同一の指示符号を付してその詳細な説明 については省略する。
この第 4の実施例装置の構成は、 3パスによる符号化装置であり、 1フレーム を処理するのに 3回処理を行うものである。
すなわち、 この第 4の実施例装置においては、 1パス目は固定量子化幅による 上記第二の符号化処理モード (フレーム内フレーム間予測有り) の処理を行い、 2パス巨は固定量子化幅による上記第一の符号化処理モード (フレーム内フレー ム間予測無し) の処理を行い、 3パス目は上記 1パス, 2パス目のうちで発生ビ ット数が少なかった処理を選択し、 量子化幅を制御して処理する。
ここで、 第 4の実施例装置においては、 上記フレームメモリ群 1 0の後段に後 述するマクロブロック化器 5 5と切換スィッチ 5 7とフィールドブロック化変換 回路 5 6と切換スィッチ 5 8とが挿入接続される。 また、 フレームメモリ群 1 0 からの画像データは、 フレーム及びフィールド動き検出を行う動き検出回路 5 1 に送られる。 この動き検出回路 5 1からの出力は、 直交変換のブロック化及び動 き予測のフレーム/フィールドモ一ドを選択するモード判定回路 5 2と前記フレ ー厶メモリ群 2 0及び可変長符号化回路 1 5に送られる。
上記モード判定回路 5 2からの出力モードデータは上記フレームメモリ群 2 0 及び可変長符号化回路 1 5に送られ、 そのうちのフィールド直交変換モードデ一 夕は 2入力 ANDゲート 5 3の一方の入力端子に送られる。 当該 2入力 A N Dゲ ート 5 3の他方の入力端子には、 インバ一タ 5 4を介して上記 1パス目, 2パス 目, 3パス目に応じて切り換えられる切換スィッチ 5 9の出力が供給されるよう になっている。 また、 上記 2入力 ANDゲートの出力端子は、 上記切換スィッチ 5 7 , 5 8の切換制御端子と接続されている。
上記可変長符号化回路 1 5からは発生ビット数のデータが出力され、 この発生 ビット数のデータに基づいて上記第一, 第二の符号化処理モードのうち何れか発 生ビット数の少ない方のモードを選択する選択回路 (フレーム内フィ一ルド間予 測有無判定回路) 6 0に送られる。 更に、 上記バッファ 1 6からの蓄積量データ は、 上記可変長符号化回路 1 5と共に、 切換スィッチ 6 1の一方の被切換端子に 供給される。 この切換スィッチ 6 1の他方の被切換端子には 1 , 2パス目の固定 値が供給される。
このような第 4の実施例装置において、 端子 1に入力された画像は、 1度フレ ームメモリ群 1 0に保存され、 上記フレームメモリ群 1 0から必要なフレーム又 はフィールドのデータが呼び出されると共にこれら画像データを用いて上記動き 検出器 5 1により動きべクトルが求められる。 上記モード判定回路 5 2では、 上 記動き検出器 5 1からの動き予測残差からマクロプロック毎にフィ一ルド Zフレ ームのモードの判定を行う。 また、 フレームメモリ群 1 0の後段に接続されるマ クロブロック化器 5 5は、 上記切換スィッチ 5 9を介して 1パス目, 2パス目, 3パス目に対応する情報(すなわち上記第一の符号化処理モ一ド或いは第二の符 号化処理モードであるフレーム内フィ一ルド間予測の有り/無しの情報) を受け 取り、 この情報として第二の符号化処理モードの情報を受け取った場合には奇数 フィールド(第 1フィールド) のブロックのみを伝送してから偶数フィールド (第 2フィールド) を伝送し、 フレーム直交変換モードのブロック化は O F Fに する。 また、 上記マクロブロック化器 5 5において上記第一の符号化処理モード の情幸 に基づいてマク口ブロックがフレーム直交変換モードのブ口ックとされた 画像デ一夕は、 動き検出器 5 1からの残差から上記モード判定回路 5 2において フィ一ルドモ一ドと判定された場合にはフィールドブロック化変換回路 5 6でフ レーム直交変換モードのブロックに変換される。
上記 1パス目, 2パス目でそれぞれ固定の量子化幅で符号化してゆき、 上記選 択回路 6 0でビット発生量が比べられフレーム内フィールド間予測有り Z無しの うち発生量の少ないモードがフレーム毎に選択され、 3パス目で実際の符号化が 行われる。 このとき選択されたモードの情報はフレーム毎に 1ビット付加される。 上述のように、 本発明の画像信号の高能率符号化装置によれば、 フィールド構 成の動画について、 動きの少ない画像も動きの多い画像も、 また、 これら両者が 混在した画像であってもフィ—ルド処理或いはフレーム処理を効率よく行うこと ができるようになり、 したがつて、 少ない伝送情報で後の本発明の高能率復号化 装置における復号化の際に高画質の動画を再生することが可能となる。
図 1 9には、 画像信号の復号器のブロック図を示す。上記高能率符号化装置に より符号化されたデータは、 一旦、 C D等のストレージメディアに記録される。 この C D等から再生されてきた符号化データは、 入力端子 5 0を介し、 先ず、 逆 可変長符号化回路 5 1でシーケンス毎, フレームグループ毎, フレーム毎にへッ ダ情報等が復号化される。 上記フレームのォッドサイクルでは、 スライス (マク ロブロックのグループ) 毎にヘッダ情報が復号化され、 量子化幅はこのスライス のヘッダに含まれる。 そしてマクロブロック毎にマクロブロックのァドレスと、 フィールド直交変換モード フレーム直交変換モード情報と、 復号方式を示すマ クロブロックタイプが復号化され、 量子化幅は更新するときに復号化される。 尚、 マクロブロックにおけるブロック化がフレーム直交変換モ―ドであつた場 合、 ォッドサイクルでマクロブロック全体を復号し、 イーブンサイクルでは何も 復号しない。 また、 ブロック化がフィールド直交変換モードであった場合はマク ロブ口ックの中の奇数フィ一ルドを含むプロックのみを奇数サイクルで復号し、 イーブンサイクルで偶数フィールドを含むブロックを復号する。
画像情報は、 逆量子化処理を行う逆量子化器 5 3と逆 D C T変換処理を行う逆 D C T回路 5 4とを介して復号化され、 マクロブロックタイプにより、 差分画像 であるかどうかの判定が行われ、 この判定結果に応じて、 加算器 5 6により (M P E G符号化の非ィントラ Zィントラに対応する) 参照画像に加算するか或いは 加算しないことを切り換えるモードスィッチ 5 7を切り換える。 復号化された画 像は、 Iフレーム又は Pフレームの場合はフレームバッファ 6 4又は 6 1に ( I フレーム, Pフレームを処理する度毎に交互に) 入力され、 Bフレームの場合は フレームバッファ 6 2に入力される。 なお、 各フレームバッファは、 2つのフィ —ルドバッファからなり、 奇数 Z偶数フィールド画像は、 それぞれのフィールド バッファにわけて蓄えられる。 また、 このフレームバッファへの書き込みはスィ ツチ 5 8の切り換えにより制御される。
このとき、 フレームバッファに書き込まれるァドレスはァドレス発生器によ り与えられる。 このァドレス発生器ではマクロブロックのヘッダ 1青報の中のマク ロブロックァドレスインクリメン卜からフレームバッファでのァドレスインクリ メント値を計算し、 各々のマクロブロックの先頭ァドレスを求めている。
更に 量子化幅のデータは、 それぞれ 1フィールド分メモリ 5 2に記億される c この量子化幅データは、 逆可変長符号化回路 5 1の出力に応じて切り換えられる スィッチ 5 5を介して、 逆量子化器 5 3に送られる。 ここで、 イーブンサイクル では、 フィ一ルド直交変換モードで処理されたマクロプロックのみを復号するの で、 マクロブロック毎に復号化されるマクロブロックアドレスとのマクロブロッ クタイプとこれが示す予灘方式に必要な動きべクトルが復号され、 参照フィール ドから動き補償された画像にさらに伝送されてくる差分画像が加算され、 再生画 を得る。
また、 上記各フレームバッファ 6 4 , 6 2 , 6 1のデータは、 各動き補償処理 回路 6 5 , 6 6 , 5 9, 6 0 , 6 3により動き補償される。 このとき、 各動き補 償回路は D C T処理におけるブロック化モード(フレーム Zフィールド) により フレームの動き補償 Zフィ一ルドの動き捕償を切り換える。
これら動き補償された面像は切換選択スィッチ 6 7 , 6 8, 7 1の各被選択端子 に送られる。 これら切換選択スィッチ 6 7, 6 8 , 7 1は、 マクロブロックタイ プの復号方式が示す参照フィールド又はフレームが取り出せるように切り換えら れるものである。 ここで、 上記切換選択スィッチ 7 1には、 上記切換選択スイツ チ 6 7及び 6 8の出力を加算器 6 9で加算した後に割算器 7 0で 1 Z2とされた 信号と、 上記スィッチ 6 7の出力とが供耠される。 当該スィッチ 7 1の出力は、 上記スィッチ 5 7に送られる。
更に、 各フレームバッファ 6 4, 6 1 , 6 2の出力は、 切換選択スィッチ 7 2 を介してディスプレイ 7 3に送られる。 当該ディスプレイ 7 3には、 復号された 順番ではなく、 再生画像の順で表示されるように切り換えられた上記切換選択ス イッチ 7 2の出力が供給される。 これにより面像が得られる。 上述したようなことから、 例えば、 前述した図 2 3に示したように静止した背 景の手前で動体 C Aがあるものの場合には 1フレームを観るとフィールド間で動 きがあるためこのような部分は櫛型 K Sとなるが、 本実施例装置によれば、 この ような動く部分は、 フィールド直交変換モードで符号化されるので、 フィールド 別にされたぶれのない画像として処理でぎ、 ォッド /イーブン間の動き補償によ り高能率で、 高画質の動画が再生できる。 すなわち、 例えば図 2 0に示すように、 ォッドサイクルの時、 動く部分はフィールド直交変換モードで処理すると共に静 止部分はフレーム直交変換モードで処理する。 なお、 イーブンサイクルで既に画 像ができている部分は、 図 2 1の図中斜線で示す部分となる。 この図 2 1の図中 斜線部分以外はすなわち動く部分は動き補償により復号化する。
ところで、 本実施例においては、 イーブンサイクルではフィールド直交変換モ 一ドで処理されたマクロブロックのみを復号するのでマクロブロックアドレスを 知る必要がある。 このマクロブロックアドレスを知る方法は、 2つあり、 1つは 先に述べたイーブンサイクルのマク口ブロック毎にマクロブロックのアドレスを 伝送する方法で、 もう 1つは、 ォッドサイクルで 1フィールド分フィールド直交 変換モード フレーム直交変換モードの情報を記憶しておき、 各処理モ一ドの列 からフィールド直交変換モードになっているマクロブロックのアドレスを換算す る方法である。 前者の利点はメモリの追加が必要ないことであり、 後者の利点は 伝送情報が増えないことである。 量子化幅も同様で先に述べたォッドサイクルで 1フィ一ルド分記憶する方法を取らずにマクロブロック毎に伝送することで実現 できる。
以上述べたようなことから、 本実施例復号装置によれば、 1フレームの処理を ォッドサイクルとイーブンサイクルの 2つのサイクルに分け、 ォッドサイクルで はマクロブロック単位でフレーム直交変換モ一ドとフィールド直交変換モードと を切り換え、 又は 第一, 第二の符号化処理モードに応じて、 マクロブロック単位でフレーム直交 変換モードとフィールド直交変換モードとを切り換えると共に、 フレーム動き予 測モードとフィールド動き予測モードをも切り換えて、
フレーム処理では奇数フィ一ルドと偶数フィールドを共に復号化し、 フィールド処理では奇数フィールドのみを復号化し、 更にこのサイクルでの量 子化幅を記憶しておき、 次のィーブンサイクルではこの記憶した情報を用レ、てフ ィールド直交変換モードのマク口ブロックのみを動き補償して再生画像を復号化 するようにしているため、 効率のよい符号化データを伝送することができる。す なわち、 少ない伝送情報で高画質の動面を再生することが可能となる。

Claims

請 求 の 範 囲
1 . 複数の画素の 2次元配列からなるマクロブロックを単位として符号化を行 う画像信号の高能率符号化装置にぉレ、て、
上記マクロブロック単位でフレーム間の動きベクトルと各画素の絶対値差分和 を検出する手段と上記マクロプロック単位で上記フレームの画素のスキヤンの奇 数又は偶数で分けたものからなるフィールド間の動きべクトルと各画素の絶対値 差分和を検出する手段とからなる動き検出手段と、
上記マクロブロックにおけるフレームを単位として動き補償を行うフレーム予 測モードと、 上記マクロブロックにおけるフィールドを単位として動き補償を行 ぅフィールド予測モードとの何れが動き補償を刷るに際して効率が良いかを上記 動き検出手段から出力される情報により判定し、 効率の良い予測モードを選択す る第一のモード選択手段と、
上記マクロブロックにおけるフレームを単位として直交変換を行うようにプロ ック化するフレーム処理モードと上記マクロブロックにおけるフィールドを単位 として直交変換を行うようにブロック化するフィールド処理モードとの何れが直 交変換を行うに際して効率が良いかを上記動き検出手段及び上記第一のモード選 択手段から出力される情報を用いて判定し、 効率の良いブロック化のモードを選 択する第二のモード選択手段と、
1フレームについて符号化処理のィン夕レースにおける奇数フィールドのスキ ヤンを行う期間の奇数サイクルか偶数フィールドのスキャンを行う期間の偶数サ イクルかを認識し、 該奇数サイクルで上記ブロック化のモードに対応してブロッ ク化されたマクロブロックを出力するようにフレームメモリ群を制御するァドレ ス発生手段と、
上記第一のモード手段で選択された動き予測モード情報と上記第二のモード選 択手段で選択されたブロック化モ—ド情報を受け取り、 該モ一ド情報に対応して 動き補償フレーム又はフィールド間予測を実行する動き補償手段と、
を備えたことを特徴とする面像信号の高能率符号化装置。
2. 複数の画素の 2次元配列からなるマクロブロックを単位として符号化を行 う面像信号の高能率符号化装置にぉレ、て、
上記マクロプロック単位でフレーム間の動きべクトルと各面素の絶対値差分和 を検出する手段と上記マクロブロック単位で上記フレームの画素のスキャンの奇 数又は偶数で分けたものからなるフィールド間の動きべク卜ルと各画素の絶対値 差分和を検出する手段とからなる動き検出手段と、
上記マクロブ口ックにおけるフレームを単位として動き補償を行うフレーム予 測モードと、 上記マクロプロックにおけるフィ一ルドを単位として動き捕償を行 ぅフィールド予測モードとの何れが動き補償を刷るに際して効率が良いかを上記 動き検出手段から出力される情報により判定し、 効率の良い予測モードを選択す る第一のモード選択手段と、
上記マク口プロックにおけるフレームを単位として直交変換を行うようにプロ ック化するフレーム処理モードと上記マク口ブロックにおけるフィールドを単位 として直交変換を行うようにブロック化するフィールド処理モードとの何れが直 交変換を行うに際して効率が良いかを上記動き検出手段及び上記第一のモード選 択手段から出力される情報を用いて判定し、 効率の良いブロック化のモードを選 択する第二のモード選択手段と、
1フレームについて符号化処理のィン夕レースにおける奇数フィ一ルドのスキ ヤンを行う期間の奇数サイクルか偶数フィ—ルドのスキャンを行う期間の偶数サ ィクルかを認識し、 上記ブロック化のモ一ドがフィールド処理モ一ドの時のみ、 該奇数サイクゾレでマクロブロック分の奇数フィールドを順次 1フレーム分出力し、 次いで上記偶数サイクルでマクロブロック分の偶数フィ一ルドを順次 1フレーム 分出力するようにフレームメモリ群を制御するァドレス発生手段と、
上記第一のモ一ド手段で選択された動き予測モ一ド情報と上記第二のモード選 択手段で選択されたブ口ック化モード情報を受け取り、 該モード情報に対応して 動き補償フレーム又はフィ一ルド間予測を実行する動き補償手段と、
を備えたことを特徴とする画像信号の高能率符号化装置。
3 . 再生される符号化デ一夕とヘッダ情報を受信、 復号し、 検出動きべクトル 情報と動き予測モード情報とブロック化モ一ド情報とマクロブロックのヘッダ 1青 報中のマクロブロック ·アドレス 'インクリメントとを出力する逆可変長符号化 手段と、
上記マクロブロック ·アドレス 'インクリメントから上記画像復号化データを 蓄積するフレームバッファでのァドレス 'インクリメント値を算出し、 各々のマ クロブロックの先頭ァドレスを求め、 該先頭ァドレスを上記フレームバッファに 与えるアドレス発生手段と、
上記先頭ァドレス以外の上記マクロブロックの相対ァドレスを上記フレームバ ッファに加えてデータをアクセスし、 上記検出動きべクトルと上記動き予測モー ド情報と上記ブロック化モード情報を受け取り、 該モード情報に対応した動き補 償フレーム又はフィールド間予測を実行し、 動き補償された画像信号をフレーム バッファに送るように構成した動き補償手段と、
を備えたことを特徴とする画像信号の高能率復号化装置。
4 . 複数の画素の 2次元配列からなるマクロプロックを単位として符号化を行 う画像信号の高能率符号化装置において、
上記マクロプロック単位でフレーム間の動きべクトルと各画素の絶対値差分和 を検出する手段と上記マクロプロック単位で上記フレームの画素のスキャンの奇 数又は偶数で分けたものからなるフィールド間の動きべクトルと各画素の絶対値 差分和を検出する手段とからなる動き検出手段と、
上記マクロプロックにおけるフレームを単位として動き補償を行うフレーム予 測モードと、 上記マクロプロックにおけるフィールドを単位として動き補償を行 ぅフィールド予測モードとの何れが動き補償をするに際して効率が良いかを判定 し、 効率の良い予測モードを選択する第一のモード選択手段と、
上記マクロプロックにおけるフレームを単位として直交変換を行うようにプロ ック化するフレーム処理モ一ドと上記マクロプロックにおけるフィールドを単位 として直交変換を行うようにプロック化するフィールド処理モードとの何れが直 交変換を行うに際して効率が良いかを上記動き検出手段及び上記第一のモ一ド選 択手段から出力される情報を用いて判定し、 効率の良いプロック化のモ一ドを選 択する第二のモード選択手段と、
1フレーム内の各マクロブロック毎に上記ブロック化を上記フレーム処理モー ド又は上記フィールド処理乇一ドに適応的に切り換え、 各モードに基づき各マク ロブ口ックを符号化する第一の符号化処理モードと、 1フレーム内の全てのマク 口ブロックの上記ブロック化を上記フィールド処理モ一ドで行レ、、 インタレース における奇数フィ一ルドのスキヤンを行う期間の奇数サイクルでマクロプロック における奇数フィールドのみ 1フレーム分符号化し、 次いでインタレースにおけ る偶数フィールドのスキヤンを行う期間の偶数サイクルでマクロプロックにおけ る偶数フィールドを 1フレーム分符号化する第二の符号化処理モードとの何れが ^化するに際して効率が良いかを判定し、 効率の良い符号化処理モードを選択 する第三のモード選択手段と、
上記奇数サイクルか上記偶数サイクルかを認識し、 上記符号化処理モードが第 —の符号化処理モードの場合には上記奇数サイクルで上記プロック化モ一ドに対 応してブロック化されたマクロプロックを出力するようにフレームメモリ群を制 御し、 上記符号化処理モードが第二の符号化処理モードの場合には上記奇数サイ クル及び偶数サイクルで上記フィールド処理モードに対応してプロック化された マクロブロックを出力するようにフレームメモリ群を制御するァドレス発生手段 と、
上記第一のモード選択手段で選択された動き予測モ一ド情報と上記第二のモー ド選択手段で選択されたプロック化モード情報を受け取り、 該モ一ド情報に対応 して動き補償フレーム又はフィールド間予測を実行する動き補償手段と
を備えたことを特徴とする画像信号の高能率符号化装置。
5 . 再生される画像符号化データ及び検出動きべクトル情報と動き予測モード 情報とプロック化モード情報と符号化処理モード情報とを含むへッダ情報を受信 して復号化し、 上記復号化された画像復号化データと共に上記検出動きべクトル 情報と動き予測モード情報とプロック化モ一ド情報と符号化処理モード情報とを 出力する逆可変長符号化手段と、
上記符号化処理モード情報から上記画像復号化デー夕を蓄積するフレームバッ ファでのァドレス ·インクリメント値を算出し、 各々のマクロブロックの先頭ァ ドレスを求め、 該先頭ァドレスを上記フレームバッファに与えるァドレス発生手 段と、
上記先頭アドレス以外の上記マクロプロックの相対ァドレスを上記フレームバ ッファに加えてデータをアクセスし、 上記検出動きべクトル情報と上記動き予測 モード情報と上記プロック化モード情報と上記符号化処理モード情報とを受け取 り、 該モード情報に対応した動き補償を実行し、 動き補償された画像信号を上記 フレームバッファに送るように構成した動き補償手段と
を備えたことを特徴とする画像信号の高能率復号化装置。
PCT/JP1992/000956 1991-07-30 1992-07-28 Apparatus for coding and decoding picture signal with high efficiency WO1993003578A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
DE69229229T DE69229229T2 (de) 1991-07-30 1992-07-28 Bildsignalkodierungsverfahren mit hoher wirkungsgrad
AU23467/92A AU662548B2 (en) 1991-07-30 1992-07-28 Apparatus for coding and decoding picture signal with high efficiency
EP92916244A EP0598904B1 (en) 1991-07-30 1992-07-28 Method for coding picture signal with high efficiency
CA002092295A CA2092295C (en) 1991-07-30 1992-07-28 Video coding and decoding method and apparatus for selecting between frame-based and field-based predictive modes

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP21138291 1991-07-30
JP3/211382 1991-07-30
JP35399091A JP3092280B2 (ja) 1991-07-30 1991-12-19 画像信号の高能率符号化及び復号化装置
JP3/353990 1991-12-19
JP3/358184 1991-12-27
JP35818491A JP3092281B2 (ja) 1991-07-30 1991-12-27 画像信号の高能率符号化及び復号化装置

Publications (1)

Publication Number Publication Date
WO1993003578A1 true WO1993003578A1 (en) 1993-02-18

Family

ID=27329237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1992/000956 WO1993003578A1 (en) 1991-07-30 1992-07-28 Apparatus for coding and decoding picture signal with high efficiency

Country Status (7)

Country Link
EP (5) EP0907289B1 (ja)
AT (3) ATE180374T1 (ja)
AU (2) AU662548B2 (ja)
CA (1) CA2092295C (ja)
DE (3) DE69232784T2 (ja)
TW (1) TW199257B (ja)
WO (1) WO1993003578A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995025404A1 (fr) * 1994-03-16 1995-09-21 France Telecom Procede et dispositif d'estimation de mouvement entre images de television d'une sequence d'images
EP0675652A1 (fr) * 1994-03-30 1995-10-04 Laboratoires D'electronique Philips S.A.S. Procédé et circuit d'estimation de mouvement entre images à deux trames entrelacées, et dispositif de codage de signaux numériques comprenant un tel circuit
EP0651583A3 (en) * 1993-10-28 1995-10-04 Gold Star Co Motion compensation device for digital image restoration.
EP0654946A4 (en) * 1993-04-08 1996-06-05 Sony Corp APPARATUS FOR DETERMINING A MOVEMENT VECTOR.
EP0676900A3 (en) * 1994-04-11 1998-04-08 General Instrument Corporation Of Delaware Motion compensation for interlaced digital video signals

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69418372T2 (de) * 1993-03-15 1999-11-25 Sony Corp., Tokio/Tokyo Übertragung und Dekodierung von Bildsignalen
KR970010091B1 (en) * 1994-06-13 1997-06-21 Lg Electronics Inc Address generating apparatus for image moving compensation
US5880786A (en) * 1994-06-15 1999-03-09 Hitachi, Ltd. Apparatus for picture decoding having frame memories commonly connected to one data bus and one address bus
JPH0846971A (ja) * 1994-07-29 1996-02-16 Sharp Corp 動画像符号化装置
US6480542B1 (en) 1994-08-24 2002-11-12 Siemens Aktiengesellschaft Method for decoding compressed video data with a reduced memory requirement
FR2728092A1 (fr) * 1994-12-07 1996-06-14 Philips Electronique Lab Procede pour le decodage d'images comprimees
JPH08289302A (ja) * 1995-04-14 1996-11-01 Toshiba Corp 画像復号化装置
WO1996033573A1 (en) 1995-04-21 1996-10-24 Sony Corporation Device and method for coding moving image
US5991447A (en) * 1997-03-07 1999-11-23 General Instrument Corporation Prediction and coding of bi-directionally predicted video object planes for interlaced digital video
TW398131B (en) * 1997-06-20 2000-07-11 Matsushita Electric Industrial Co Ltd The image process method, the image process device and the data memory medium
US6519005B2 (en) * 1999-04-30 2003-02-11 Koninklijke Philips Electronics N.V. Method of concurrent multiple-mode motion estimation for digital video
US6984210B2 (en) 2002-12-18 2006-01-10 Barbara Ann Karmanos Cancer Institute Diagnostic analysis of ultrasound data
JP2004179953A (ja) * 2002-11-27 2004-06-24 Matsushita Electric Ind Co Ltd 画像サーバと画像サーバシステム、カメラ画像のネットワーク伝送及び表示方法
GB2454240A (en) * 2007-11-01 2009-05-06 Tandberg Television Asa Picture adaptive frame or field (PAFF) coding for MPEG2 using temporal displacement and distortion thresholds

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58137379A (ja) * 1982-02-10 1983-08-15 Nec Corp 動き補償フレ−ム間・フイ−ルド間符号化装置
JPS59128881A (ja) * 1983-01-12 1984-07-25 Nec Corp 動き補償フレ−ム間フイ−ルド間符号化装置
JPS6291091A (ja) * 1985-10-16 1987-04-25 Fujitsu Ltd 適応形符号化方式

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU579441B2 (en) * 1985-01-16 1988-11-24 Mitsubishi Denki Kabushiki Kaisha Video encoding apparatus
JPS62276927A (ja) * 1986-05-26 1987-12-01 Mitsubishi Electric Corp 差分パルス変調方式
NL8700565A (nl) * 1987-03-10 1988-10-03 Philips Nv Televisiesysteem waarin aan een transformatiekodering onderworpen gedigitaliseerde beeldsignalen worden overgebracht van een kodeerstation naar een dekodeerstation.
DE3917567A1 (de) * 1989-05-30 1990-12-06 Siemens Ag Verfahren zu einer ermittlung eines entscheidungsergebnisses fuer ein halbbild/vollbild-datenkompressionsverfahrens
US5091782A (en) * 1990-04-09 1992-02-25 General Instrument Corporation Apparatus and method for adaptively compressing successive blocks of digital video
FR2670348A1 (fr) * 1990-12-07 1992-06-12 France Etat Dispositif de codage d'images appartenant a une sequence d'images, a rearrangement des lignes avant transformation mathematique, systeme de transmission d'images, recepteur et procede de codage correspondants.

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58137379A (ja) * 1982-02-10 1983-08-15 Nec Corp 動き補償フレ−ム間・フイ−ルド間符号化装置
JPS59128881A (ja) * 1983-01-12 1984-07-25 Nec Corp 動き補償フレ−ム間フイ−ルド間符号化装置
JPS6291091A (ja) * 1985-10-16 1987-04-25 Fujitsu Ltd 適応形符号化方式

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0654946A4 (en) * 1993-04-08 1996-06-05 Sony Corp APPARATUS FOR DETERMINING A MOVEMENT VECTOR.
US5621481A (en) * 1993-04-08 1997-04-15 Sony Corporation Motion vector detecting apparatus for determining interframe, predictive error as a function of interfield predictive errors
EP0651583A3 (en) * 1993-10-28 1995-10-04 Gold Star Co Motion compensation device for digital image restoration.
WO1995025404A1 (fr) * 1994-03-16 1995-09-21 France Telecom Procede et dispositif d'estimation de mouvement entre images de television d'une sequence d'images
FR2717648A1 (fr) * 1994-03-16 1995-09-22 France Telecom Procédé et dispostif d'estimation de mouvement entre images de télévision d'une séquence d'images.
EP0675652A1 (fr) * 1994-03-30 1995-10-04 Laboratoires D'electronique Philips S.A.S. Procédé et circuit d'estimation de mouvement entre images à deux trames entrelacées, et dispositif de codage de signaux numériques comprenant un tel circuit
EP0676900A3 (en) * 1994-04-11 1998-04-08 General Instrument Corporation Of Delaware Motion compensation for interlaced digital video signals
EP1309199A3 (en) * 1994-04-11 2003-12-10 General Instrument Corporation Motion compensation for interlaced digital video signals

Also Published As

Publication number Publication date
EP0907289A1 (en) 1999-04-07
EP0598904A1 (en) 1994-06-01
CA2092295C (en) 2002-11-05
AU687632B2 (en) 1998-02-26
HK1032871A1 (en) 2001-08-03
DE69232357D1 (de) 2002-02-21
EP0898426A1 (en) 1999-02-24
EP1049335A1 (en) 2000-11-02
EP1047270A1 (en) 2000-10-25
HK1033059A1 (en) 2001-08-10
DE69232357T2 (de) 2002-07-25
EP0598904A4 (en) 1994-06-15
AU3443095A (en) 1995-12-14
CA2092295A1 (en) 1993-01-31
DE69232784D1 (de) 2002-10-24
EP0598904B1 (en) 1999-05-19
AU662548B2 (en) 1995-09-07
EP0907289B1 (en) 2001-11-21
ATE180374T1 (de) 1999-06-15
ATE209422T1 (de) 2001-12-15
DE69232784T2 (de) 2003-05-15
DE69229229D1 (de) 1999-06-24
EP1049335B1 (en) 2003-07-09
EP0898426B1 (en) 2002-09-18
ATE224627T1 (de) 2002-10-15
EP1047270B1 (en) 2003-05-21
TW199257B (ja) 1993-02-01
DE69229229T2 (de) 1999-12-02
AU2346792A (en) 1993-03-02

Similar Documents

Publication Publication Date Title
JP3092281B2 (ja) 画像信号の高能率符号化及び復号化装置
WO1993003578A1 (en) Apparatus for coding and decoding picture signal with high efficiency
US5416522A (en) Motion detection apparatus for moving pictures and encoding and decoding apparatus for picture signals
JP3331351B2 (ja) 画像データ符号化方法及び装置
JP3911035B2 (ja) 動画像符号化方法及び動画像符号化装置
JP3980659B2 (ja) 動画像符号化方法及び装置、動画像復号化方法及び装置。
JPH0818979A (ja) 画像処理装置
KR100860661B1 (ko) 화상 재생 방법과 화상 처리 방법, 및 이들 방법을 이용가능한 화상 재생 장치, 화상 처리 장치, 텔레비전 수상기
CN1938728A (zh) 使用包括多个宏块的预测和非预测画面对画面序列编码的方法和装置
JP3257052B2 (ja) 画像信号の高能率符号化装置及びその方法
JPH0698311A (ja) 画像信号の高能率符号化及び復号化装置
JP3356413B2 (ja) 画像復号化方法及び装置
JP3449370B2 (ja) 画像データ復号化方法及び装置
JPH0630332A (ja) 動画像の符号化及び復号化装置
JP3381167B2 (ja) 画像信号の高能率復号化装置及びその方法
JP2002218470A (ja) 画像符号化データのレート変換方法、及び画像符号化レート変換装置
JP3590976B2 (ja) 動画像圧縮装置
JP3496926B2 (ja) 画像データ復号化方法
JP2007166555A (ja) 符号化装置及び方法
JPH1042297A (ja) 動画像復号化装置及び動画像復号化方法
JP4596277B2 (ja) 符号化装置、符号化方法、復号装置及び復号方法
JPH07255056A (ja) 動画像再生方法及び装置
Petajan et al. Grand Alliance HDTV system
JP2002218471A (ja) 画像符号化データのレート変換方法、及び画像符号化レート変換装置
HK1032871B (en) Efficient coding apparatus for picture signal

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AU CA US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT DE FR GB IT

WWE Wipo information: entry into national phase

Ref document number: 2092295

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 1992916244

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1992916244

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1992916244

Country of ref document: EP