[go: up one dir, main page]

WO2012077332A1 - 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置 - Google Patents

画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置 Download PDF

Info

Publication number
WO2012077332A1
WO2012077332A1 PCT/JP2011/006807 JP2011006807W WO2012077332A1 WO 2012077332 A1 WO2012077332 A1 WO 2012077332A1 JP 2011006807 W JP2011006807 W JP 2011006807W WO 2012077332 A1 WO2012077332 A1 WO 2012077332A1
Authority
WO
WIPO (PCT)
Prior art keywords
division
information
unit
image
encoding
Prior art date
Application number
PCT/JP2011/006807
Other languages
English (en)
French (fr)
Inventor
寿郎 笹井
西 孝啓
陽司 柴原
敏康 杉尾
Original Assignee
パナソニック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2012547711A priority Critical patent/JP5744060B2/ja
Priority to MX2013002086A priority patent/MX2013002086A/es
Priority to US13/817,836 priority patent/US9838723B2/en
Priority to CA2808376A priority patent/CA2808376C/en
Priority to EP11846191.2A priority patent/EP2651128B1/en
Priority to ES11846191.2T priority patent/ES2691743T3/es
Priority to BR112013004425-0A priority patent/BR112013004425B1/pt
Priority to PL11846191T priority patent/PL2651128T3/pl
Priority to RU2013108103/07A priority patent/RU2593382C2/ru
Application filed by パナソニック株式会社 filed Critical パナソニック株式会社
Priority to PL18169910T priority patent/PL3389277T3/pl
Priority to KR1020137003126A priority patent/KR101941298B1/ko
Priority to EP18169910.9A priority patent/EP3389277B1/en
Priority to CN201180038021.7A priority patent/CN103053158B/zh
Publication of WO2012077332A1 publication Critical patent/WO2012077332A1/ja
Priority to US15/264,749 priority patent/US9894389B2/en
Priority to US15/857,856 priority patent/US10123054B2/en
Priority to US16/150,507 priority patent/US10390051B2/en
Priority to US16/456,407 priority patent/US10659820B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • 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/147Data rate or code amount at the encoder output according to rate distortion criteria
    • 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/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/19Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding using optimisation based on Lagrange multipliers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
    • 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/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • 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/96Tree coding, e.g. quad-tree coding
    • 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/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
    • 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/182Methods 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 a pixel

Definitions

  • the present invention relates to an image encoding method, an image decoding method, an image encoding device, and an image decoding device, and more particularly to an image encoding method and an image decoding method when compression encoding a moving image signal using motion compensation. It is.
  • the screen is divided into predetermined units, Encoding is performed.
  • Encoding is performed.
  • a screen (picture) is processed in units including 16 horizontal pixels and 16 vertical pixels called macroblocks.
  • macroblock is divided into rectangular blocks (minimum horizontal 4 pixels ⁇ vertical 4 pixels), and motion compensation is performed using different motion vectors for each of the divided blocks.
  • the division shape is transmitted by transmitting two types of information, ie, information indicating the macroblock type and types indicating the sub-macroblock type, as information regarding division within the macroblock.
  • the information indicating the macroblock type means that the macroblock size is, for example, horizontal 16 pixels ⁇ vertical 16 pixels, horizontal 16 pixels ⁇ vertical 8 pixels, horizontal 8 pixels ⁇ vertical 16 pixels, and horizontal 8 pixels ⁇ vertical. This is information indicating which of the 8 pixels.
  • the information indicating the sub macroblock type means that when the macroblock type is horizontal 8 pixels ⁇ vertical 8 pixels, the size of the sub macroblock is horizontal 8 pixels ⁇ vertical 8 pixels, horizontal 8 pixels ⁇ vertical 4 pixels, horizontal It is information indicating whether 4 pixels ⁇ 8 vertical pixels or 4 horizontal pixels ⁇ 4 vertical pixels.
  • the division information transmission method as described above has a problem that when the type of block size increases, it is necessary to send division shapes hierarchically and division information cannot be transmitted efficiently. It was.
  • the present invention solves the above-mentioned problem, and in the case of encoding and decoding by dividing a screen into various blocks, a moving picture encoding method capable of efficiently encoding or decoding division information, Another object is to provide a moving picture decoding method.
  • an image encoding method is an image encoding method that divides an image into processing units and generates a code string by encoding the divided image.
  • the processing units are hierarchized, and a division step for determining a division pattern for dividing the image hierarchically from the largest unit of the processing units, and a division information description for generating division information indicating the division pattern And a coding step for coding the division information, wherein the division information is a maximum usage hierarchy information indicating a maximum usage hierarchy that is a hierarchy of the deepest processing unit among the processing units included in the division pattern. including.
  • the image coding method according to an aspect of the present invention can reduce the amount of code when the screen is divided into various blocks and encoded, the division information can be efficiently encoded. Can do.
  • the division information may further include minimum usage layer information indicating a minimum usage layer that is a layer of the shallowest processing unit among the processing units included in the division pattern.
  • the division information including the minimum use layer information may be generated only when the maximum use layer is the minimum unit of the processing unit.
  • the image encoding method according to an aspect of the present invention can further reduce the code amount.
  • the division information description step when it is possible to determine whether each processing unit is further divided or not divided using the maximum use hierarchy, information indicating a division pattern of the processing unit is removed from the division information.
  • the division information after the information is removed may be encoded.
  • the image encoding method according to an aspect of the present invention can further reduce the code amount.
  • the division information description step when it is possible to determine whether each processing unit is further divided or not divided using the minimum use hierarchy, information indicating a division pattern of the processing unit is removed from the division information.
  • the division information after the information is removed may be encoded.
  • the image encoding method according to an aspect of the present invention can further reduce the code amount.
  • the image encoding method further includes a prediction step of estimating a predicted division pattern that is a predicted value of the division pattern of the processing unit to be processed using the division pattern of the processing unit that has already been encoded,
  • the division pattern of the processing unit to be processed may be determined using the predicted division pattern.
  • the image encoding method according to an aspect of the present invention can further reduce the code amount.
  • the image encoding method may further include a difference step for calculating a difference between the division pattern and the predicted division pattern, and the encoding step may encode the division information including the difference.
  • the image encoding method according to an aspect of the present invention can further reduce the code amount.
  • the division pattern of the processing unit of the processing target is estimated using the division pattern of the processing unit adjacent to the processing unit of the processing target in the same frame as the processing unit of the processing target. May be.
  • the division pattern of the processing unit to be processed may be estimated using the division pattern of the processing unit included in another frame in terms of time.
  • An image decoding method is an image decoding method for decoding a code string generated by the image encoding method, the decoding step for decoding the division information included in the code string; And a restoration step of determining the division pattern from the decoded division information.
  • the image decoding method can efficiently decode the division information.
  • the present invention can be realized not only as such an image encoding method and an image decoding method, but also as an image encoding device and an image decoding device using characteristic steps included in the image encoding method and the image decoding method. Or a program that causes a computer to execute such characteristic steps. Needless to say, such a program can be distributed via a non-transitory computer-readable recording medium such as a CD-ROM and a transmission medium such as the Internet.
  • the present invention can be realized as a semiconductor integrated circuit (LSI) that implements part or all of the functions of such an image encoding device or image decoding device, or such an image encoding device and image decoding device. It can implement
  • LSI semiconductor integrated circuit
  • the present invention provides a moving image encoding method or a moving image decoding method capable of efficiently encoding or decoding division information when a screen is divided into various blocks for encoding or decoding. Can be provided.
  • FIG. 1 is a block diagram of an image coding apparatus according to Embodiment 1 of the present invention.
  • FIG. 2A is a schematic diagram for explaining a hierarchy of blocks according to Embodiment 1 of the present invention.
  • FIG. 2B is a schematic diagram showing an example of a block hierarchy according to Embodiment 1 of the present invention.
  • FIG. 2C is a schematic diagram showing an example of a block hierarchy according to Embodiment 1 of the present invention.
  • FIG. 3A is a schematic diagram illustrating an example of a block division pattern according to Embodiment 1 of the present invention.
  • FIG. 3B is a schematic diagram showing an example of block division information according to Embodiment 1 of the present invention.
  • FIG. 1 is a block diagram of an image coding apparatus according to Embodiment 1 of the present invention.
  • FIG. 2A is a schematic diagram for explaining a hierarchy of blocks according to Embodiment 1 of the present invention.
  • FIG. 2B is a schematic diagram showing an example of
  • FIG. 3C is a schematic diagram showing an example of block division information according to Embodiment 1 of the present invention.
  • FIG. 4 is a flowchart showing the operation of the division control unit according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart showing the operation of the division information description unit according to Embodiment 1 of the present invention.
  • FIG. 6A is a schematic diagram showing an example of a division pattern and division information according to Embodiment 1 of the present invention.
  • FIG. 6B is a schematic diagram illustrating an example of a division pattern and division information according to Embodiment 1 of the present invention.
  • FIG. 6C is a schematic diagram illustrating an example of a division pattern and division information according to Embodiment 1 of the present invention.
  • FIG. 6A is a schematic diagram showing an example of a division pattern and division information according to Embodiment 1 of the present invention.
  • FIG. 6B is a schematic diagram illustrating an example of a division pattern and division information according to
  • FIG. 7 is a block diagram of an image decoding apparatus according to Embodiment 2 of the present invention.
  • FIG. 8 is a flowchart showing operations of the division control unit and the division information restoration unit according to Embodiment 2 of the present invention.
  • FIG. 9A is a schematic diagram showing a prediction example of a division pattern according to Embodiment 3 of the present invention.
  • FIG. 9B is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9C is a schematic diagram illustrating a prediction example of a division pattern according to Embodiment 3 of the present invention.
  • FIG. 9D is a schematic diagram illustrating a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9A is a schematic diagram showing a prediction example of a division pattern according to Embodiment 3 of the present invention.
  • FIG. 9B is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3
  • FIG. 9E is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9F is a schematic diagram illustrating a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9G is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9H is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9I is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9J is a schematic diagram showing an example of prediction of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9E is a schematic diagram showing a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9F is a schematic diagram illustrating a prediction example of the division pattern according to Embodiment 3 of the present
  • FIG. 9K is a schematic diagram illustrating a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 9L is a schematic diagram illustrating a prediction example of the division pattern according to Embodiment 3 of the present invention.
  • FIG. 10 is a flowchart showing a procedure for predicting a division method using surrounding division information according to Embodiment 3 of the present invention.
  • FIG. 11A is a schematic diagram for explaining a method of using the already-encoded frame division information in the division information description unit and the division information restoration unit according to Embodiment 3 of the present invention.
  • FIG. 11B is a schematic diagram for explaining a method of using already encoded frame division information in the division information description unit and the division information restoration unit according to Embodiment 3 of the present invention.
  • FIG. 12A is a flowchart for explaining the operation in the division information description section according to Embodiment 3 of the present invention.
  • FIG. 12B is a flowchart for explaining the operation in the division information restoring unit according to Embodiment 3 of the present invention.
  • FIG. 13 is a schematic diagram showing a data structure of division information according to Embodiment 4 of the present invention.
  • FIG. 14A is a schematic diagram illustrating an example of a division pattern using a plurality of block shapes according to Embodiment 5 of the present invention.
  • FIG. 14B is a schematic diagram illustrating an example of division information when a plurality of block shapes are used according to Embodiment 5 of the present invention.
  • FIG. 14C is a schematic diagram illustrating an example of division information when a plurality of block shapes are used according to Embodiment 5 of the present invention.
  • FIG. 15A is a schematic diagram for explaining a method of reducing redundant division information according to Embodiment 5 of the present invention.
  • FIG. 15B is a schematic diagram for explaining a method of reducing redundant division information according to Embodiment 5 of the present invention.
  • FIG. 15C is a schematic diagram for explaining a method of reducing redundant division information according to Embodiment 5 of the present invention.
  • FIG. 16 is an overall configuration diagram of a content supply system that realizes a content distribution service.
  • FIG. 17 is an overall configuration diagram of a digital broadcasting system.
  • FIG. 18 is a block diagram illustrating a configuration example of a television.
  • FIG. 16 is an overall configuration diagram of a content supply system that realizes a content distribution service.
  • FIG. 17 is an overall configuration diagram of a digital broadcasting system.
  • FIG. 18 is
  • FIG. 19 is a block diagram illustrating a configuration example of an information reproducing / recording unit that reads and writes information from and on a recording medium that is an optical disk.
  • FIG. 20 is a diagram illustrating a structure example of a recording medium that is an optical disk.
  • FIG. 21A is a diagram illustrating an example of a mobile phone.
  • FIG. 21B is a block diagram illustrating a configuration example of a mobile phone.
  • FIG. 22 is a diagram showing a structure of multiplexed data.
  • FIG. 23 is a diagram schematically showing how each stream is multiplexed in the multiplexed data.
  • FIG. 24 is a diagram showing in more detail how the video stream is stored in the PES packet sequence.
  • FIG. 25 is a diagram illustrating the structure of TS packets and source packets in multiplexed data.
  • FIG. 26 is a diagram illustrating a data structure of the PMT.
  • FIG. 27 is a diagram showing an internal configuration of multiplexed data information.
  • FIG. 28 shows the internal structure of stream attribute information.
  • FIG. 29 is a diagram illustrating steps for identifying video data.
  • FIG. 30 is a block diagram illustrating a configuration example of an integrated circuit that realizes the moving picture coding method and the moving picture decoding method according to each embodiment.
  • FIG. 31 is a diagram showing a configuration for switching the driving frequency.
  • FIG. 32 is a diagram illustrating steps for identifying video data and switching between driving frequencies.
  • FIG. 34A is a diagram illustrating an example of a configuration for sharing a module of a signal processing unit.
  • FIG. 34B is a diagram illustrating another example of a configuration for sharing a module of a signal processing unit.
  • FIG. 1 is a block diagram of an image coding apparatus 100 using the image coding method according to Embodiment 1 of the present invention.
  • the image coding apparatus 100 shown in FIG. 1 divides the input image signal 120 into processing units (blocks), and codes the divided images to generate a code string 140.
  • the image encoding device 100 includes a difference unit 101, a transform unit 102, a quantization unit 103, an inverse quantization unit 104, an inverse transform unit 105, an addition unit 106, a prediction unit 107, and an encoding control.
  • the dividing unit 110 and the prediction unit 107 may include a memory therein.
  • the input image signal 120 is input to the dividing unit 110.
  • the dividing unit 110 generates a divided image signal 121 by dividing the input image signal 120 based on the division control signal 129, and outputs the generated divided image signal 121 to the difference unit 101 and the prediction unit 107.
  • the division control unit 111 determines a division pattern indicating how the division unit 110 divides the image.
  • processing units blocks
  • the division control unit 111 determines a division pattern for dividing the input image signal 120 hierarchically from the largest unit of processing units.
  • division patterns determined by the division control unit 111 will be described with reference to FIGS. 2A to 2C and FIGS. 3A to 3C.
  • the division pattern determined by the division control unit 111 is represented by the depth of the hierarchy (Depth).
  • Depth a non-divided block
  • the subsequent blocks can be expressed in the same manner.
  • FIG. 2B shows an example of the block size and the depth of the hierarchy when the maximum block size is horizontal 64 pixels ⁇ vertical 64 pixels
  • FIG. 2C shows the maximum block size of horizontal 128 pixels ⁇ vertical 128 pixels.
  • An example of the block size and the depth of the hierarchy is shown.
  • FIG. 3A shows an example in which the maximum block size is horizontal 64 pixels ⁇ vertical 64 pixels and the minimum block size is horizontal 8 pixels ⁇ vertical 8 pixels, similarly to the case shown in FIG. 2B.
  • a block is divided by a method of sequentially specifying whether or not to divide the maximum block size, and if divided, whether or not to divide the sub-block after division.
  • the block division pattern can be represented by a layer (Dn_type) with respect to the depth of each layer.
  • n is the value of the depth of the hierarchy (Depth).
  • FIG. 3B shows an example in which the division pattern shown in FIG. 3A is represented by hierarchical division mode information.
  • D0_type 1.
  • FIG. 3C shows an example in which the expressions of FIG. 3B are simply summarized. That is, FIG. 3C shows an example in which the hierarchical division mode information for each block size is collectively expressed as division mode information (type).
  • the division mode information is binary information indicating that there is division (1) and no division (0), similarly to the hierarchical division mode information. Therefore, the information amount of the division pattern shown in FIG. 3A is 13 bits. Then, the division control unit 111 outputs the division information 130 indicating the division pattern as illustrated in FIG. 3C to the division information description unit 112.
  • cost information (encoding cost) necessary for determining the division pattern is calculated as follows, for example.
  • the dividing unit 110 generates a divided image signal 121 by dividing the input image signal 120 into a size to be subjected to cost calculation, and outputs the generated divided image signal 121 to the prediction unit 107.
  • the prediction unit 107 generates a predicted image signal 128 based on the decoded image signal 127 that has already been encoded and decoded and the prediction mode acquired from the encoding control unit 108.
  • the encoding control unit 108 designates one prediction mode out of at least one candidate prediction mode determined in advance to the prediction unit 107.
  • the candidate prediction mode is, for example, a mode in which a prediction pixel is generated by extrapolating adjacent pixels in the screen in a predetermined direction, and a pixel having a high correlation with another frame that has already been encoded and decoded This is a mode for generating a prediction pixel using.
  • the prediction unit 107 calculates an encoding cost that is a weighted sum of the prediction information and the correlation degree information.
  • the prediction information is information necessary for generating the prediction image signal 128, and includes, for example, direction information for extrapolating adjacent pixels in the screen, and relative position information (motion vector information) with another frame.
  • the correlation degree information indicates the degree of correlation between the divided image signal 121 and the predicted image signal 128, and is, for example, the sum of absolute differences between the divided image signal 121 and the predicted image signal 128.
  • the prediction unit 107 calculates, for example, a value represented by the following (formula 1) called a cost function as an encoding cost.
  • the prediction unit 107 calculates the encoding cost for each of all candidate prediction modes, and outputs the predicted image signal 128 predicted in the prediction mode with the lowest encoding cost to the difference unit 101. Also, the prediction unit 107 outputs the prediction mode, prediction information, and encoding cost at that time to the encoding control unit 108.
  • the encoding control unit 108 outputs the above-described encoding cost to the division control unit 111 and outputs an encoding control signal 132 including a prediction mode and prediction information to the variable length encoding unit 109.
  • RD cost function for example, a Lagrange cost function J represented by (Equation 1) is used.
  • R is a code amount used for encoding the difference image (quantized transform coefficient information 124), the prediction mode, and the prediction information
  • D is an encoding distortion amount
  • ⁇ I a Lagrange multiplier calculated according to the quantization parameter QP used for encoding.
  • the encoding control unit 108 selects the prediction mode with the lowest cost function J as the prediction mode used for encoding.
  • substitute values may be used.
  • the prediction mode information may be used as the code amount R
  • the absolute difference sum between the divided image signal 121 and the predicted image signal 128 may be used as the encoding distortion amount.
  • FIG. 4 is a flowchart showing the operation of the division control unit 111.
  • the maximum block size is horizontal 64 pixels ⁇ vertical 64 pixels
  • the minimum block size is horizontal 8 pixels ⁇ vertical 8 pixels
  • the division mode information is An example in which two types of division (1) and non-division (0) are shown is shown.
  • the division control unit 111 acquires the encoding cost for the divided image signal 121 obtained by dividing the input image signal 120 into 64 horizontal pixels ⁇ 64 vertical pixels by the dividing unit 110. Then, the division control unit 111 sets the acquired encoding cost value as a cost value (D0_cost) for 64 horizontal pixels ⁇ 64 vertical pixels (layer 0) (step S401).
  • the division control unit 111 acquires a coding cost for a signal of horizontal 32 pixels ⁇ vertical 32 pixels obtained by further dividing the layer 0. Then, the division control unit 111 sets the obtained encoding cost as a cost value (D1_cost [D1_loop]) for a block of horizontal 32 pixels ⁇ vertical 32 pixels at the position indicated by the counter D1_loop (step S404).
  • the processing order of the counter Dn_loop 0 to 3 may be the same on the encoding side and the decoding side. This processing order is, for example, the writing order of the letter Z.
  • the division control unit 111 acquires a coding cost for a signal of horizontal 16 pixels ⁇ vertical 16 pixels obtained by further dividing the layer 1. Then, the division control unit 111 sets the obtained division cost as a cost value (D2_cost [D2_loop]) for a block of horizontal 16 pixels ⁇ vertical 16 pixels at the position indicated by the counter D2_loop (step S407).
  • D2_cost [D2_loop] a cost value for a block of horizontal 16 pixels ⁇ vertical 16 pixels at the position indicated by the counter D2_loop
  • the division control unit 111 acquires a coding cost for a signal of horizontal 8 pixels ⁇ vertical 8 pixels obtained by further dividing the layer 2. Then, the division control unit 111 sets the obtained encoding cost as a cost value (D3_cost [D3_loop]) for a block of horizontal 8 pixels ⁇ vertical 8 pixels at the position indicated by the counter D3_loop (step S410). Then, the division control unit 111 adds D3_cost [D3_loop] to “D3_total_cost” (step S411).
  • the division control unit 111 increments the value of the counter D3_loop by 1 and repeats the process when all D3_loops are not completed. Moreover, the division
  • the division control unit 111 compares the previously calculated “D3_total_cost” with “D2_cost [D2_loop]” (step S413).
  • “D2_cost [D2_loop]” is larger than “D3_total_cost” (YES in step S413)
  • the division control unit 111 increments the value of the counter D3_loop by 1 and repeats the process when all the D2_loops are not completed. In addition, when all the processes have been completed, the division control unit 111 proceeds to the next step (step S418).
  • the division control unit 111 increments the counter D1_loop by one and performs the repetition process. In addition, when all the processes have been completed, the division control unit 111 proceeds to the next step (step S424).
  • the division control unit 111 can determine a division pattern that minimizes the coding cost.
  • the method for determining the division pattern is an example, and is not limited thereto.
  • the division control unit 111 analyzes the divided image signal 121 obtained from the division unit 110, divides an area where the distribution of the pixel value distribution is high into small blocks, and is large for a portion where the pixel distribution is uniform. It may be divided into blocks. In this way, the circuit scale of the image encoding device 100 can be reduced.
  • the division control unit 111 may determine a division pattern by a method determined based on the division result of surrounding blocks that have already been encoded and decoded. As another method for determining a division pattern, the division control unit 111 may determine a division pattern using a division result of a block in another frame that has already been encoded and decoded. These methods will be described in detail in Embodiment 3.
  • the division control unit 111 outputs the division information 130 indicating the division pattern determined by the above method to the division information description unit 112.
  • the division information 130 is information described in the hierarchical division mode information or the division mode information described above.
  • the division information description unit 112 generates division information 131 encoded by the variable length encoding unit 109 from the division information 130.
  • the division information description unit 112 acquires layer division mode information (D0type to D2type) for each layer included in the division information 130 (step S501).
  • the variable “used_max_depth” is maximum use layer information indicating the maximum use layer.
  • the maximum use hierarchy indicates the deepest depth used within the maximum block size. In other words, the maximum use hierarchy is a hierarchy of the deepest block among the blocks included in the division pattern.
  • the variable “used_min_depth” is minimum usage layer information indicating the minimum usage layer.
  • the minimum use hierarchy shows the shallowest depth used within the maximum block size. In other words, the minimum use hierarchy is a hierarchy of the shallowest block among the blocks included in the division pattern.
  • variable length encoding unit 109 a signal encoded by the variable length encoding unit 109 will be described in detail with reference to FIGS. 6A to 6C.
  • 6A to 6C are schematic diagrams showing the division information 130 and 131 with respect to the results of different block divisions, respectively.
  • the division information 130 includes two 16 ⁇ 16 blocks that are “1” for 64 ⁇ 64 blocks, “0101” for 32 ⁇ 32 blocks, and “1” (divide) for 32 ⁇ 32 blocks. Respectively, “0000” and “0000” are included as the division mode information. Further, the division information description unit 112 determines that “used_max_depth” in this case is “2”. In this case, since the maximum hierarchy resulting from the division is 2, information “0000” and “0000” indicating no division for the 16 ⁇ 16 block is unnecessary. Therefore, the division information description unit 112 determines the division mode information 130A for encoding only the division mode information “0101” for the 32 ⁇ 32 block. Then, the variable length coding unit 109 performs variable length coding processing on the division information 131 including “used_max_depth” and division mode information “0101” for 32 ⁇ 32 blocks.
  • the bit length of the division information 130 is represented by 13 bits.
  • the division information 131 encoded by the variable length encoding unit 109 is division mode information 4 bits and “used_max_depth”.
  • “used_max_depth” is determined from 0 to 3 (in this example, the maximum is layer 3), it can be expressed by 2 bits. That is, in this case, 13-bit information can be expressed by 6 bits.
  • the division information 130 is four 16 ⁇ , which is “1” for 64 ⁇ 64 blocks, “1111” for 32 ⁇ 32 blocks, and “1” (divided) for 32 ⁇ 32 blocks.
  • Each of the 16 blocks includes “0000”, “0001”, “0000”, and “1100” as the division mode information.
  • the division information description unit 112 determines that “used_max_depth” in this case is “3”, and “used_min_depth” is “2”. In this case, since the minimum hierarchy resulting from the division is 2, the division mode information “1111” indicating that there is a division for the 32 ⁇ 32 block is unnecessary.
  • the division information description unit 112 determines the division mode information 130A for encoding only four pieces of division mode information for the 16 ⁇ 16 block. Then, the variable length encoding unit 109 performs the division information 131 including “used_max_depth”, “used_min_depth”, and division mode information “0000”, “0001”, “0000”, and “1100” for 16 ⁇ 16 blocks. Variable length coding processing is performed.
  • the bit length of the division information 130 is 21 bits.
  • the division information 131 encoded by the variable length encoding unit 109 is 16 bits of division mode information, “used_max_depth”, and “used_min_depth”.
  • “used_max_depth” is 2 bits as described above.
  • “used_mim_depth” is determined from 1 to 3, it can be expressed by 1 to 2 bits. Therefore, in this case, 21-bit information can be expressed by 20 bits.
  • the division information 130 is four 16 ⁇ , which is “1” for 64 ⁇ 64 blocks, “1111” for 32 ⁇ 32 blocks, and “1” (divided) for 32 ⁇ 32 blocks.
  • Each of the 16 blocks includes “1111”, “1111”, “1111”, and “1111” as the division mode information.
  • the division information description unit 112 determines that “used_max_depth” in this case is “3” and “used_min_depth” is “3”. In this case, since the minimum hierarchy as a result of the division is 3, the division mode information “1111” indicating that the division is performed on the 32 ⁇ 32 block and the 16 ⁇ 16 block is unnecessary. Therefore, the variable length encoding unit 109 performs variable length encoding processing on the division information 131 including “used_max_depth” and “used_min_depth”.
  • the bit length of the division information 130 is represented by 21 bits.
  • the partition information 131 encoded by variable length coding becomes “used_max_depth” and “used_min_depth”.
  • used_max_depth is 2 bits as described above
  • used_max_depth is 1 to 2 bits. Therefore, in this case, 21-bit information can be expressed by 4 bits.
  • variable length coding may be performed using a dynamic probability model such as arithmetic coding. That is, the above-described bit length difference is a reference value, but it can be seen that there is a high possibility that the code amount can be greatly reduced by using the division information description method according to the present embodiment.
  • the prediction unit 107 generates the predicted image signal 128 from the decoded image signal 127 that is an already encoded image signal. Then, the prediction unit 107 outputs the generated predicted image signal 128 to the difference unit 101 and the addition unit 106.
  • the difference unit 101 generates a difference signal 122 by calculating a difference between the divided image signal 121 that is a signal obtained by dividing the input image signal 120 and the predicted image signal 128, and the generated difference signal 122 is transmitted to the conversion unit 102. Output.
  • the conversion unit 102 generates a conversion coefficient 123 by performing a conversion process on the difference signal 122, and outputs the generated conversion coefficient 123 to the quantization unit 103.
  • the quantization unit 103 performs quantization processing on the transform coefficient 123 to generate quantized transform coefficient information 124, and the generated quantized transform coefficient information 124 is converted into the variable length encoding unit 109 and the inverse quantization unit 104. Output for.
  • the inverse quantization unit 104 generates a transform coefficient 125 by performing inverse quantization processing on the quantized transform coefficient information 124, and outputs the generated transform coefficient 125 to the inverse transform unit 105.
  • the inverse transform unit 105 generates a decoded residual image signal 126 by performing an inverse transform process on the transform coefficient 125, and outputs the generated decoded residual image signal 126 to the adder unit 106.
  • the addition unit 106 generates a decoded image signal 127 by adding the decoded residual image signal 126 and the predicted image signal 128, and outputs the generated decoded image signal 127 to the prediction unit 107.
  • variable length encoding unit 109 performs variable length encoding on the quantization transform coefficient information 124, the encoding control signal 132, and the division information 131, which are signals to be encoded, according to the type of the signal, thereby generating a code string 140. Is generated.
  • the above method for determining the division pattern is an example, and the present invention is not limited to this.
  • the division result of peripheral blocks that have already been encoded may be used.
  • the division result of another frame that has already been encoded may be used. Details of these cases will be described in detail in Embodiment 3.
  • the present invention is not limited to this.
  • the present invention can be applied even when the image is divided into non-square shapes (16 ⁇ 8, 8 ⁇ 16). Details of this case will be described in detail in Embodiment 5.
  • variable length encoding unit 109 when using the arithmetic code in the above-described variable length encoding unit 109, it is used for the arithmetic code based on the shape information of the already encoded block and / or the information on the maximum use layer and / or the minimum use layer.
  • the probability model may be switched. This can be expected to further improve the encoding efficiency.
  • variable length coding table 109 uses the variable length code table, the information on the maximum use layer and / or the minimum use layer when the reduction width of the division information is large in the bit length calculation described above is used.
  • a long bit length may be assigned, and a short bit length may be assigned to information on the maximum use layer and / or the minimum use layer when the reduction width is small.
  • the improvement rate of the encoding efficiency by this Embodiment can be raised further.
  • the maximum block size is 64 horizontal pixels ⁇ vertical 64 pixels, and the minimum block size is 8 horizontal pixels ⁇ 8 vertical pixels.
  • the present invention is not limited to this size and is applicable. can do.
  • FIG. 7 is a block diagram of the image decoding apparatus 200 using the division information restoring unit 207 according to the present embodiment.
  • An image decoding apparatus 200 illustrated in FIG. 7 includes a variable length decoding unit 201, a decoding control unit 202, an inverse quantization unit 203, an inverse transformation unit 204, a prediction unit 205, an addition unit 206, and a division information restoration unit. 207.
  • the prediction unit 205 may include a memory inside.
  • the code string 140 is a code string generated by the image coding apparatus 100 according to Embodiment 1 of the present invention. This code string 140 is input to the variable length decoding unit 201.
  • the variable length decoding unit 201 decodes the division information included in the code string 140. Specifically, the variable-length decoding unit 201 generates a decoded signal 221 by performing variable-length decoding on the code string 140, and the generated decoded signal 221 is inverted from the division information restoring unit 207 and the decoding control unit 202. The data is output to the quantization unit 203. The variable length decoding unit 201 performs processing in units of division based on the division information 226 obtained by the division information restoration unit 207.
  • the inverse quantization unit 203 When the decoded signal 221 is a quantized transform coefficient, the inverse quantization unit 203 generates a transform coefficient 222 by performing inverse quantization on the decoded signal 221.
  • the inverse transform unit 204 performs inverse transform on the transform coefficient 222 to generate a decoded residual image signal 223, and outputs the generated decoded residual image signal 223 to the adder 206.
  • the decoding control unit 202 uses the division information 226 acquired from the division information restoration unit 207 and the predicted image generation related information 225 as the prediction unit 205. Output for.
  • the predicted image generation related information 225 corresponds to the encoding control signal 132 in the image encoding device 100 and includes, for example, a prediction mode and prediction information.
  • the prediction unit 205 uses the decoded image signal (output image signal 240) that has already been decoded and the predicted image generation-related information 225 obtained from the decoding control unit 202 to generate the predicted image signal in units of division based on the division information 226. 224 is generated, and the generated predicted image signal 224 is output to the adding unit 206.
  • the adder 206 adds the decoded residual image signal 223 and the predicted image signal 224 to generate a decoded image signal (output image signal 240).
  • the division information restoration unit 207 determines the division pattern by restoring the division information from the division decoding information to the division information 226.
  • the division decoding information corresponds to the division information 131 in the image encoding device 100.
  • the division information 226 indicates a division pattern and corresponds to the division information 130 in the first embodiment. The flow of this process will be described in detail with reference to FIG.
  • step S802 When “used_max_depth” is 2 (YES in step S802 and NO in step S806), the division information restoring unit 207 changes the counter in the order of 0, 1, 2, and 3 for the depth 1 block, and “D1type” is acquired (steps S807 to S809).
  • the division information restoration unit 207 divides the maximum block based on the D1type obtained here (step S810).
  • D1type is information for designating a division pattern in, for example, a Z-shaped order for each block obtained by dividing the maximum block into four.
  • the division information restoration unit 207 determines a division pattern of the maximum block by determining whether to divide each of the four divided blocks or not based on D1type.
  • step S802 If “used_max_depth” is 3 (YES in step S802 and YES in step S806), the division information restoring unit 207 acquires “used_min_depth” (step S811).
  • step S812 If “used_min_depth” is 1 (YES in step S812), the division information restoring unit 207 changes the counter in the order of 0, 1, 2, and 3 for the Depth1 block and repeats the process (in steps S821 and S827). By performing the process of the enclosed area, “D1type” of each block of Depth1 is acquired (step S822).
  • step S823 If “D1type” is not 0 (NO in step S823), the division information restoring unit 207 changes the counter in the order of 0, 1, 2, and 3 for the depth2 block and repeats the processing (step S824 and step S824). By performing the processing of the area surrounded by step S826, “D2type” of each block of Depth2 is acquired (step S825). Thereafter, the division information restoring unit 207 advances the Depth1 counter by one.
  • the division information restoring unit 207 increments the Depth1 counter by one (step S827).
  • the division information restoring unit 207 determines the division pattern of the largest block. Determine (step S828).
  • the code sequence 140 encoded by the encoding method according to Embodiment 1 can be correctly decoded.
  • the present invention can realize an encoding method and a decoding method with high encoding efficiency.
  • the division information description unit 112 estimates a predicted division pattern that is a prediction value of the division pattern of the block to be processed, using the already divided block division pattern. Further, the division control unit 111 determines a division pattern of the block to be processed using the estimated prediction division pattern.
  • the division information description unit 112 may estimate the division pattern of the processing target block using the division pattern of the block adjacent to the processing target block in the same frame as the processing target block.
  • the division pattern of the block to be processed may be estimated using the division pattern of the block included in another frame in terms of time.
  • FIG. 9A to FIG. 9L are schematic diagrams for explaining a case where the division information of the target block is predicted from the division information of the adjacent block.
  • FIGS. 9A to 9L are examples in the case where the target block 900 is predicted using the adjacent blocks 901 and 902.
  • FIG. 9A, FIG. 9E, and FIG. 9I each show an example of giving priority to the left adjacent block among the cases where the adjacent block in the target block 900 is not used for prediction.
  • FIG. 9B, FIG. 9F, and FIG. 9J each show an example in which the adjacent block in the target block 900 is not used for prediction, and the upper adjacent block is prioritized.
  • 9C, FIG. 9G, and FIG. 9K each show an example of giving priority to the left adjacent block among the cases where adjacent blocks in the target block 900 are used for prediction.
  • FIG. 9D, FIG. 9H, and FIG. 9L show examples when priority is given to the upper adjacent block among the cases where the adjacent block in the target block 900 is used for prediction.
  • FIGS. 9A to 9H show an example in the case where there is no restriction on prediction.
  • FIG. 10 is a flowchart showing a division pattern prediction procedure according to the present embodiment.
  • the division information description unit 112 acquires division information of a processed adjacent block adjacent to the target block (step S1001).
  • the division information acquired at this time is the division information of an adjacent block in the same hierarchy as the target block.
  • the division information description unit 112 determines that the division information of the target block is “no division” when there is no division information of adjacent blocks in the same layer.
  • the division information description unit 112 divides the target block It is predicted not to be performed (step S1003).
  • the division information description unit 112 predicts that the target block is divided (step S1004).
  • the division information description unit 112 further performs the same processing on the next layer.
  • the information indicating which of the upper and left neighbors is to be prioritized may be sent as header information described later, or may be determined in advance on the encoding side and the decoding side.
  • the division information description unit 112 uses the division information of the adjacent block included in the target block 900 and does not use the adjacent block. Prediction is performed using only the division information of adjacent blocks included in blocks 901 and 902. In this case, since the division prediction may be performed only by the division information of the upper and left adjacent blocks, the processing speed can be increased.
  • the prediction is the same as the processing order, the already determined division information can be used. In this case, since the accuracy of prediction can be further increased, further code amount reduction can be expected.
  • it may be determined in advance on the encoding side and the decoding side.
  • FIGS. 11A and 11B are schematic diagrams for explaining a case where a division pattern of a target block is predicted from a division pattern of a block of an already encoded and decoded frame.
  • FIG. 11A is a schematic diagram illustrating a block division result in the processed frame 1101 that has already been encoded and decoded, and a division prediction result of the target block of the target frame 1102 that is the target of encoding and decoding.
  • the division shape relative position information shown in FIG. 11A is information indicating which block of which prediction frame is used for prediction.
  • prediction can be performed efficiently by using the division result of either the processed frame 1104 forward or the processed frame 1105 behind the target frame 1103 in terms of time. .
  • the division information description unit 112 is based on representative motion vector information among the motion vector information used in the intra-screen prediction calculated by a predetermined method for the division target block (maximum block size).
  • the division shape relative position information may be determined. For example, the division information description unit 112 calculates the median of motion vectors of adjacent blocks, and similarly calculates the median of motion vectors for the reference frame. Then, the division information description unit 112 may use a motion vector based on the calculated median as division shape relative position information.
  • the division information description unit 112 may use the head motion vector and the reference frame information as it is as the division shape relative position information. In these cases, since it is not necessary to transmit additional information for prediction, the amount of codes can be reduced. Also in this case, the image encoding device 100 may separately transmit the divided shape relative position information. For example, the image encoding device 100 first derives the division information of the division target block. Then, the image encoding device 100 uses the relative position information of the block having the same or closest division information as the division target block from the already encoded frames and the division target block as the division shape relative position information. calculate. Then, the image encoding device 100 may encode and decode the divided shape relative position information, for example, in the same manner as the motion vector information used in the prediction unit 107 in intra prediction.
  • FIG. 12A and FIG. 12B description will be given of how to transmit the division information encoded using the predicted division information (FIG. 12A) and how to restore the division information (FIG. 12B). To do.
  • the division information description unit 112 calculates a difference between the division pattern and the predicted division pattern, and generates division information 131 including the difference. Details will be described below.
  • FIG. 12A is a flowchart for explaining the operation in the division information description unit 112 according to the third embodiment.
  • the division information description unit 112 acquires division information and predicted division information (hereinafter, predicted division information) for the target block (step S1201).
  • the division information description unit 112 derives the maximum difference layer in the same manner as the process of deriving the maximum use layer (used_max_depth) in the first embodiment (step S1202).
  • the maximum difference hierarchy is information indicating from which hierarchy the division information and the predicted division information are different.
  • the maximum difference hierarchy is information indicating the highest hierarchy in which the division information and the prediction division information are different.
  • this derivation method can be derived by substituting 0 when the predicted division information and the division information are equal, and substituting 1 when the division information is not equal and following the flowchart of FIG.
  • the division information description unit 112 sets division information for the hierarchy (step S1203).
  • This description method is merely an example, and the description method is not limited to this as long as the prediction method according to the present invention is used.
  • FIG. 12B is a flowchart for explaining the restoration operation of the division information encoded by the procedure of FIG. 12A.
  • the division information restoration unit 207 acquires maximum difference hierarchy information and prediction division information for a block to be divided (step S1204).
  • the maximum difference hierarchy information is information indicating the maximum difference hierarchy, and is included in the code string 140 generated by the image encoding device 100.
  • the prediction division information is generated by the image decoding device 200 by performing the same processing as the processing performed by the image encoding device 100 described above.
  • the division information restoring unit 207 sets the obtained prediction division information in the division information for the layer above the maximum difference layer (information that is equal to the prediction) (step S1205).
  • the division information restoring unit 207 can restore the division information of the target block by restoring the division information of the layer below the maximum difference layer (step S1206).
  • the division information of the layer below the maximum difference layer is included in the code string 140 generated by the image encoding device 100.
  • FIG. 13 is a diagram showing a configuration of the code string 140 in the image coding method according to the present embodiment.
  • FIG. 13A shows an encoded signal corresponding to a moving image sequence composed of at least one screen.
  • the code string 140 includes sequence data SeqData that is data of the entire screen, and a sequence header SeqHdr that is data common to all the data of the entire screen.
  • the sequence header SeqHdr includes division related information SepInfo.
  • the division related information SepInfo is a flag for switching, for example, whether the method described in the first embodiment is used or only the division information (Dn_type information) is encoded. Note that the division-related information SepInfo may be information related to the division pattern prediction described in the third embodiment.
  • FIG. 13B shows the structure of sequence data SeqData.
  • the sequence data SeqData includes a plurality of picture signals PicStr.
  • Each picture signal PicStr is an encoded signal corresponding to one screen.
  • each picture signal PicStr is a coded signal of a picture.
  • FIG. 13C shows the structure of the picture signal PicStr.
  • the picture signal PicStr includes picture data PicData that is data of one screen and a picture header PicHdr that is data common to the entire screen.
  • the picture header PicHdr may include division related information SepInfo.
  • FIG. 13D shows the structure of the picture data PicData.
  • the picture data PicData includes a plurality of slice signals SliceStr.
  • Each slice signal SliceStr is an encoded signal of a slice that is a set of a plurality of block units.
  • FIG. 13E shows the structure of the slice signal SliceStr.
  • the slice signal SliceStr includes slice data SliceData that is data of one slice and a slice header SliceHdr that is data common to all data of one slice.
  • the slice header SliceHdr may include division related information SepInfo.
  • sequence data SeqData includes a plurality of picture signals PicStr
  • all the picture headers PicHdr include the division related information SepInfo, instead of all of the picture headers PicHdr include the division related information SepInfo. Good.
  • the image decoding apparatus 200 uses the division related information of the target slice as the division related information.
  • the division related information SepInfo included in the slice header SliceHdr of another slice is used instead. Thereby, it is possible to suppress an increase in the number of bits due to the repeated inclusion of the division-related information SepInfo.
  • the slice data SliceData includes a plurality of maximum block size data LCTB.
  • Each maximum block size data LCTB is block unit information of the maximum block size.
  • Each maximum block size data LCTB includes a maximum block size header LCTBHdr and a block signal CTBs.
  • the block signal CTBs includes a plurality of hierarchical block data CTB.
  • the maximum block size header LCTBHdr includes a maximum use layer, a minimum use layer, or a maximum difference layer.
  • the maximum block size header LCTBHdr may include all pieces of division information, or each piece of block data CTB may contain division information for the corresponding block.
  • FIG. 13 (f) shows the structure of the block data CTB.
  • Part of the block data CTB includes a conversion block header TUHdr which is header information of the conversion structure, and a conversion block TUs.
  • the transform block TUs can also be divided in the same manner as the blocks (CUs) described above. That is, the present invention may be applied to transform blocks. In this case, conversion of various sizes can be performed, and the amount of codes for transmission of the shape can be reduced.
  • the header part and the data part other than the header may be separated and transmitted separately. . In that case, the header part and the data part do not become one bit stream as shown in FIG.
  • the corresponding data portion and header portion are only transmitted in different packets. That is, even if the code string 140 is not a single bit stream, the concept is the same as that of the bit stream described with reference to FIG.
  • the code string 140 encoded by the above method is decoded by the following procedure.
  • the image decoding apparatus 200 acquires the division related information SepInfo included in the sequence header SeqHdr, and holds the acquired division related information.
  • the image decoding apparatus 200 acquires the division related information SepInfo included in the picture header PicHdr and updates the held division related information with the acquired division related information.
  • the image decoding apparatus 200 when there is no division related information SepInfo, or when there is no part thereof, the image decoding apparatus 200 holds the division related information included in the sequence header SeqHdr as it is.
  • the image decoding apparatus 200 acquires the division related information SepInfo included in the slice header SliceHdr and updates the held division related information with the acquired division related information.
  • the image decoding apparatus 200 acquires the maximum block size data LCTB and obtains information necessary for division (maximum use layer, minimum use layer or maximum difference layer, and division information) included in the maximum block size header LCTBHdr. get. And the image decoding apparatus 200 determines the subsequent block division
  • the image decoding apparatus 200 can correctly decode the code string 140.
  • Embodiment 5 In the present embodiment, another modification of the encoding method and decoding method according to the present invention shown in Embodiments 1 to 4 will be described.
  • FIG. 14A to FIG. 14C are schematic diagrams for explaining a dividing method using a plurality of block shapes.
  • the division mode information indicated by Dn_type is divided into 0 (no division) and 1 (four divisions) from binary information of 0 (no division) and 1 (division). ) 4 (4 divisions in the horizontal direction) and 3 (2 divisions in the vertical direction). Even in this way, the division information can be encoded with a small code amount by using the method of the present invention.
  • the division information description unit 112 describes the block division shape shown in FIG. 14A as division information.
  • the block division shape shown in FIG. 14A is expressed by the parameters shown above, it becomes as shown in FIG. 14B.
  • each division mode information is set to Dn_type.
  • the maximum use hierarchy is 2 by the method of the first embodiment.
  • the image decoding apparatus 200 can restore the division shape by decoding the division information of Dn_type and using the same shape rule as that of encoding.
  • 15A to 15C are schematic diagrams for explaining that the division information can be further reduced.
  • the last division mode information is 1. It can be seen that it is. That is, the division information description unit 112, when the processing target layer is shallower than the maximum use layer and only the last block is divided in the encoding order (division processing order), the division mode information of the last block The division information 131 that does not include is generated.
  • the division information description unit 112 removes the information indicating the division pattern of the block from the division information 130 when it is possible to determine whether each block is further divided or not divided using the maximum use hierarchy. Then, the variable length encoding unit 109 encodes the division information 131 after the above information is removed. This processing can further reduce the code amount.
  • the division mode information for (vertical 16 pixel block) is (0, 0, 0, 1), respectively. Since both can be decoded as (0, 0, 0) as described above, it is not necessary to encode them. As a result, it is not necessary to encode the two division mode information, and the encoding efficiency can be further improved.
  • the division information description unit 112 removes information indicating the division pattern of the block from the division information 130 when it is possible to determine whether each block is further divided or not divided using the minimum use hierarchy. Then, the variable length encoding unit 109 encodes the division information 131 after the above information is removed. Thereby, encoding efficiency can be improved.
  • the storage medium may be any medium that can record a program, such as a magnetic disk, an optical disk, a magneto-optical disk, an IC card, and a semiconductor memory.
  • the system has an image encoding / decoding device including an image encoding device using an image encoding method and an image decoding device using an image decoding method.
  • image encoding / decoding device including an image encoding device using an image encoding method and an image decoding device using an image decoding method.
  • Other configurations in the system can be appropriately changed according to circumstances.
  • FIG. 16 is a diagram showing an overall configuration of a content supply system ex100 that realizes a content distribution service.
  • the communication service providing area is divided into desired sizes, and base stations ex106, ex107, ex108, ex109, and ex110, which are fixed wireless stations, are installed in each cell.
  • the content supply system ex100 includes a computer ex111, a PDA (Personal Digital Assistant) ex112, a camera ex113, a mobile phone ex114, a game machine ex115 via the Internet ex101, the Internet service provider ex102, the telephone network ex104, and the base stations ex106 to ex110. Etc. are connected.
  • PDA Personal Digital Assistant
  • each device may be directly connected to the telephone network ex104 without going through the base stations ex106 to ex110 which are fixed wireless stations.
  • the devices may be directly connected to each other via short-range wireless or the like.
  • the camera ex113 is a device that can shoot moving images such as a digital video camera
  • the camera ex116 is a device that can shoot still images and movies such as a digital camera.
  • the mobile phone ex114 is a GSM (registered trademark) (Global System for Mobile Communications) method, a CDMA (Code Division Multiple Access) method, a W-CDMA (Wideband-Code Division MultipleL), or a W-CDMA (Wideband-Code Division MultipleT method). It may be a system, HSPA (High Speed Packet Access) mobile phone, PHS (Personal Handyphone System), or the like.
  • the camera ex113 and the like are connected to the streaming server ex103 through the base station ex109 and the telephone network ex104, thereby enabling live distribution and the like.
  • live distribution content that is shot by the user using the camera ex113 (for example, music live video) is encoded as described in the above embodiments (that is, the image encoding of the present invention).
  • Function as a device and transmit to the streaming server ex103.
  • the streaming server ex103 streams the content data transmitted to the requested client.
  • the client include a computer ex111, a PDA ex112, a camera ex113, a mobile phone ex114, a game machine ex115, and the like that can decode the encoded data.
  • Each device that receives the distributed data decodes the received data and reproduces it (that is, functions as the image decoding device of the present invention).
  • the encoded processing of the captured data may be performed by the camera ex113, the streaming server ex103 that performs the data transmission processing, or may be performed in a shared manner.
  • the decryption processing of the distributed data may be performed by the client, the streaming server ex103, or may be performed in a shared manner.
  • still images and / or moving image data captured by the camera ex116 may be transmitted to the streaming server ex103 via the computer ex111.
  • the encoding process in this case may be performed by any of the camera ex116, the computer ex111, and the streaming server ex103, or may be performed in a shared manner.
  • encoding / decoding processes are generally performed by the computer ex111 and the LSI ex500 included in each device.
  • the LSI ex500 may be configured as a single chip or a plurality of chips.
  • moving image encoding / decoding software is incorporated into some recording media (CD-ROM, flexible disk, hard disk, etc.) that can be read by the computer ex111 and the like, and encoding / decoding processing is performed using the software May be.
  • moving image data acquired by the camera may be transmitted.
  • the moving image data at this time is data encoded by the LSI ex500 included in the mobile phone ex114.
  • the streaming server ex103 may be a plurality of servers or a plurality of computers, and may process, record, and distribute data in a distributed manner.
  • the encoded data can be received and reproduced by the client.
  • the information transmitted by the user can be received, decrypted and reproduced by the client in real time, and even a user who does not have special rights or facilities can realize personal broadcasting.
  • the digital broadcasting system ex200 also includes at least the moving image encoding device (image encoding device) or the moving image decoding according to each of the above embodiments. Any of the devices (image decoding devices) can be incorporated.
  • the broadcasting station ex201 multiplexed data obtained by multiplexing music data and the like on video data is transmitted to a communication or satellite ex202 via radio waves.
  • This video data is data encoded by the moving image encoding method described in the above embodiments (that is, data encoded by the image encoding apparatus of the present invention).
  • the broadcasting satellite ex202 transmits a radio wave for broadcasting, and this radio wave is received by a home antenna ex204 capable of receiving satellite broadcasting.
  • the received multiplexed data is decoded and reproduced by an apparatus such as the television (receiver) ex300 or the set top box (STB) ex217 (that is, functions as the image decoding apparatus of the present invention).
  • a reader / recorder ex218 that reads and decodes multiplexed data recorded on a recording medium ex215 such as a DVD or a BD, encodes a video signal on the recording medium ex215, and in some cases multiplexes and writes it with a music signal. It is possible to mount the moving picture decoding apparatus or moving picture encoding apparatus shown in the above embodiments. In this case, the reproduced video signal is displayed on the monitor ex219, and the video signal can be reproduced in another device or system using the recording medium ex215 on which the multiplexed data is recorded.
  • a moving picture decoding apparatus may be mounted in a set-top box ex217 connected to a cable ex203 for cable television or an antenna ex204 for satellite / terrestrial broadcasting and displayed on the monitor ex219 of the television. At this time, the moving picture decoding apparatus may be incorporated in the television instead of the set top box.
  • FIG. 18 is a diagram illustrating a television (receiver) ex300 that uses the video decoding method and the video encoding method described in each of the above embodiments.
  • the television ex300 obtains or outputs multiplexed data in which audio data is multiplexed with video data via the antenna ex204 or the cable ex203 that receives the broadcast, and demodulates the received multiplexed data.
  • the modulation / demodulation unit ex302 that modulates multiplexed data to be transmitted to the outside, and the demodulated multiplexed data is separated into video data and audio data, or the video data and audio data encoded by the signal processing unit ex306 Is provided with a multiplexing / separating unit ex303.
  • the television ex300 decodes each of the audio data and the video data, or encodes the respective information.
  • the audio signal processing unit ex304 and the video signal processing unit ex305 (function as the image encoding device or the image decoding device of the present invention).
  • the television ex300 includes an interface unit ex317 including an operation input unit ex312 that receives an input of a user operation.
  • the television ex300 includes a control unit ex310 that controls each unit in an integrated manner, and a power supply circuit unit ex311 that supplies power to each unit.
  • the interface unit ex317 includes a bridge ex313 connected to an external device such as a reader / recorder ex218, a recording unit ex216 such as an SD card, and an external recording such as a hard disk.
  • a driver ex315 for connecting to a medium, a modem ex316 for connecting to a telephone network, and the like may be included.
  • the recording medium ex216 is capable of electrically recording information by using a nonvolatile / volatile semiconductor memory element to be stored.
  • Each part of the television ex300 is connected to each other via a synchronous bus.
  • the television ex300 receives a user operation from the remote controller ex220 or the like, and demultiplexes the multiplexed data demodulated by the modulation / demodulation unit ex302 by the multiplexing / demultiplexing unit ex303 based on the control of the control unit ex310 having a CPU or the like. Furthermore, in the television ex300, the separated audio data is decoded by the audio signal processing unit ex304, and the separated video data is decoded by the video signal processing unit ex305 using the decoding method described in the above embodiments.
  • the decoded audio signal and video signal are output from the output unit ex309 to the outside.
  • these signals may be temporarily stored in the buffers ex318, ex319, etc. so that the audio signal and the video signal are reproduced in synchronization.
  • the television ex300 may read multiplexed data from recording media ex215 and ex216 such as a magnetic / optical disk and an SD card, not from broadcasting. Next, a configuration in which the television ex300 encodes an audio signal or a video signal and transmits the signal to the outside or writes it to a recording medium will be described.
  • the television ex300 receives a user operation from the remote controller ex220 or the like, and encodes an audio signal with the audio signal processing unit ex304 based on the control of the control unit ex310, and converts the video signal with the video signal processing unit ex305. Encoding is performed using the encoding method described in (1).
  • the encoded audio signal and video signal are multiplexed by the multiplexing / demultiplexing unit ex303 and output to the outside. When multiplexing, these signals may be temporarily stored in the buffers ex320 and ex321 so that the audio signal and the video signal are synchronized.
  • a plurality of buffers ex318, ex319, ex320, and ex321 may be provided as illustrated, or one or more buffers may be shared. Further, in addition to the illustrated example, data may be stored in the buffer as a buffer material that prevents system overflow and underflow, for example, between the modulation / demodulation unit ex302 and the multiplexing / demultiplexing unit ex303.
  • the television ex300 has a configuration for receiving AV input of a microphone and a camera, and performs encoding processing on the data acquired from them. Also good.
  • the television ex300 has been described as a configuration that can perform the above-described encoding processing, multiplexing, and external output, but these processing cannot be performed, and only the above-described reception, decoding processing, and external output are possible. It may be a configuration.
  • the decoding process or the encoding process may be performed by either the television ex300 or the reader / recorder ex218.
  • the reader / recorder ex218 may be shared with each other.
  • FIG. 19 shows a configuration of the information reproducing / recording unit ex400 when data is read from or written to an optical disk.
  • the information reproducing / recording unit ex400 includes elements ex401, ex402, ex403, ex404, ex405, ex406, and ex407 described below.
  • the optical head ex401 irradiates a laser spot on the recording surface of the recording medium ex215 that is an optical disc to write information, and detects information reflected from the recording surface of the recording medium ex215 to read the information.
  • the modulation recording unit ex402 electrically drives a semiconductor laser built in the optical head ex401 and modulates the laser beam according to the recording data.
  • the reproduction demodulator ex403 amplifies the reproduction signal obtained by electrically detecting the reflected light from the recording surface by the photodetector built in the optical head ex401, separates and demodulates the signal component recorded on the recording medium ex215, and is necessary. To play back information.
  • the buffer ex404 temporarily holds information to be recorded on the recording medium ex215 and information reproduced from the recording medium ex215.
  • the disk motor ex405 rotates the recording medium ex215.
  • the servo control unit ex406 moves the optical head ex401 to a predetermined information track while controlling the rotational drive of the disk motor ex405, and performs a laser spot tracking process.
  • the system control unit ex407 controls the entire information reproduction / recording unit ex400.
  • the system control unit ex407 uses various types of information held in the buffer ex404, and generates and adds new information as necessary, and the modulation recording unit ex402, the reproduction demodulation unit This is realized by recording / reproducing information through the optical head ex401 while operating the ex403 and the servo control unit ex406 in a coordinated manner.
  • the system control unit ex407 is composed of, for example, a microprocessor, and executes these processes by executing a read / write program.
  • the optical head ex401 has been described as irradiating a laser spot, but it may be configured to perform higher-density recording using near-field light.
  • FIG. 20 shows a schematic diagram of a recording medium ex215 that is an optical disk.
  • Guide grooves grooves
  • address information indicating the absolute position on the disc is recorded in advance on the information track ex230 by changing the shape of the groove.
  • This address information includes information for specifying the position of the recording block ex231 that is a unit for recording data, and the recording block is specified by reproducing the information track ex230 and reading the address information in a recording or reproducing apparatus.
  • the recording medium ex215 includes a data recording area ex233, an inner peripheral area ex232, and an outer peripheral area ex234.
  • the area used for recording the user data is the data recording area ex233, and the inner circumference area ex232 and the outer circumference area ex234 arranged on the inner circumference or outer circumference of the data recording area ex233 are used for specific purposes other than user data recording. Used.
  • the information reproducing / recording unit ex400 reads / writes encoded audio data, video data, or multiplexed data obtained by multiplexing these data with respect to the data recording area ex233 of the recording medium ex215.
  • an optical disk such as a single-layer DVD or BD has been described as an example.
  • the present invention is not limited to these, and an optical disk having a multilayer structure and capable of recording other than the surface may be used.
  • an optical disc with a multi-dimensional recording / reproducing structure such as recording information using light of different wavelengths in the same place on the disc, or recording different layers of information from various angles. It may be.
  • the car ex210 having the antenna ex205 can receive data from the satellite ex202 and the like, and the moving image can be reproduced on a display device such as the car navigation ex211 that the car ex210 has.
  • the configuration of the car navigation ex211 may be, for example, a configuration in which a GPS receiving unit is added in the configuration illustrated in FIG.
  • FIG. 21A is a diagram showing the mobile phone ex114 using the moving picture decoding method and the moving picture encoding method described in the above embodiment.
  • the mobile phone ex114 includes an antenna ex350 for transmitting and receiving radio waves to and from the base station ex110, a camera unit ex365 capable of taking video and still images, a video captured by the camera unit ex365, a video received by the antenna ex350, and the like Is provided with a display unit ex358 such as a liquid crystal display for displaying the decrypted data.
  • the mobile phone ex114 further includes a main body unit having an operation key unit ex366, an audio output unit ex357 such as a speaker for outputting audio, an audio input unit ex356 such as a microphone for inputting audio,
  • a main body unit having an operation key unit ex366, an audio output unit ex357 such as a speaker for outputting audio, an audio input unit ex356 such as a microphone for inputting audio
  • an audio input unit ex356 such as a microphone for inputting audio
  • the memory unit ex367 for storing encoded data or decoded data such as still images, recorded audio, received video, still images, mails, or the like, or an interface unit with a recording medium for storing data
  • a slot portion ex364 is provided.
  • the cellular phone ex114 has a power supply circuit ex361, an operation input control unit ex362, and a video signal processing unit ex355 for a main control unit ex360 that comprehensively controls each part of the main body including the display unit ex358 and the operation key unit ex366.
  • a camera interface unit ex363, an LCD (Liquid Crystal Display) control unit ex359, a modulation / demodulation unit ex352, a multiplexing / demultiplexing unit ex353, an audio signal processing unit ex354, a slot unit ex364, and a memory unit ex367 are connected to each other via a bus ex370. ing.
  • the power supply circuit unit ex361 starts up the mobile phone ex114 in an operable state by supplying power from the battery pack to each unit.
  • the mobile phone ex114 converts the audio signal collected by the audio input unit ex356 in the voice call mode into a digital audio signal by the audio signal processing unit ex354 based on the control of the main control unit ex360 having a CPU, a ROM, a RAM, and the like. This is subjected to spectrum spread processing by the modulation / demodulation unit ex352, digital-analog conversion processing and frequency conversion processing by the transmission / reception unit ex351, and then transmitted via the antenna ex350.
  • the mobile phone ex114 amplifies the received data received through the antenna ex350 in the voice call mode, performs frequency conversion processing and analog-digital conversion processing, performs spectrum despreading processing in the modulation / demodulation unit ex352, and performs voice signal processing unit After converting to an analog audio signal at ex354, this is output from the audio output unit ex357.
  • the text data of the e-mail input by operating the operation key unit ex366 of the main unit is sent to the main control unit ex360 via the operation input control unit ex362.
  • the main control unit ex360 performs spread spectrum processing on the text data in the modulation / demodulation unit ex352, performs digital analog conversion processing and frequency conversion processing in the transmission / reception unit ex351, and then transmits the text data to the base station ex110 via the antenna ex350.
  • almost the reverse process is performed on the received data and output to the display unit ex358.
  • the video signal processing unit ex355 compresses the video signal supplied from the camera unit ex365 by the moving image encoding method described in each of the above embodiments. Encode (that is, function as an image encoding apparatus of the present invention), and send the encoded video data to the multiplexing / demultiplexing unit ex353.
  • the audio signal processing unit ex354 encodes the audio signal picked up by the audio input unit ex356 while the camera unit ex365 images a video, a still image, and the like, and sends the encoded audio data to the multiplexing / demultiplexing unit ex353. To do.
  • the multiplexing / demultiplexing unit ex353 multiplexes the encoded video data supplied from the video signal processing unit ex355 and the encoded audio data supplied from the audio signal processing unit ex354 by a predetermined method, and is obtained as a result.
  • the multiplexed data is subjected to spread spectrum processing by the modulation / demodulation unit (modulation / demodulation circuit unit) ex352, digital-analog conversion processing and frequency conversion processing by the transmission / reception unit ex351, and then transmitted through the antenna ex350.
  • the multiplexing / separating unit ex353 separates the multiplexed data into a video data bit stream and an audio data bit stream, and performs video signal processing on the video data encoded via the synchronization bus ex370.
  • the encoded audio data is supplied to the audio signal processing unit ex354 while being supplied to the unit ex355.
  • the video signal processing unit ex355 decodes the video signal by decoding using the video decoding method corresponding to the video encoding method shown in each of the above embodiments (that is, functions as the image decoding device of the present invention). For example, video and still images included in the moving image file linked to the home page are displayed from the display unit ex358 via the LCD control unit ex359.
  • the audio signal processing unit ex354 decodes the audio signal, and the audio output unit ex357 outputs the audio.
  • the terminal such as the mobile phone ex114 is referred to as a transmitting terminal having only an encoder and a receiving terminal having only a decoder.
  • a transmitting terminal having only an encoder
  • a receiving terminal having only a decoder.
  • multiplexed data in which music data or the like is multiplexed with video data is received and transmitted.
  • data in which character data or the like related to video is multiplexed It may be video data itself instead of multiplexed data.
  • the moving picture encoding method or the moving picture decoding method shown in each of the above embodiments can be used in any of the above-described devices / systems. The described effect can be obtained.
  • multiplexed data obtained by multiplexing audio data or the like with video data is configured to include identification information indicating which standard the video data conforms to.
  • identification information indicating which standard the video data conforms to.
  • FIG. 22 is a diagram showing a structure of multiplexed data.
  • the multiplexed data is obtained by multiplexing one or more of a video stream, an audio stream, a presentation graphics stream (PG), and an interactive graphics stream.
  • the video stream indicates the main video and sub-video of the movie
  • the audio stream (IG) indicates the main audio portion of the movie and the sub-audio mixed with the main audio
  • the presentation graphics stream indicates the subtitles of the movie.
  • the main video indicates a normal video displayed on the screen
  • the sub-video is a video displayed on a small screen in the main video.
  • the interactive graphics stream indicates an interactive screen created by arranging GUI components on the screen.
  • the video stream is encoded by the moving image encoding method or apparatus shown in the above embodiments, or the moving image encoding method or apparatus conforming to the conventional standards such as MPEG-2, MPEG4-AVC, and VC-1. ing.
  • the audio stream is encoded by a method such as Dolby AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, or linear PCM.
  • Each stream included in the multiplexed data is identified by PID. For example, 0x1011 for video streams used for movie images, 0x1100 to 0x111F for audio streams, 0x1200 to 0x121F for presentation graphics, 0x1400 to 0x141F for interactive graphics streams, 0x1B00 to 0x1B1F are assigned to video streams used for sub-pictures, and 0x1A00 to 0x1A1F are assigned to audio streams used for sub-audio mixed with the main audio.
  • FIG. 23 is a diagram schematically showing how multiplexed data is multiplexed.
  • a video stream ex235 composed of a plurality of video frames and an audio stream ex238 composed of a plurality of audio frames are converted into PES packet sequences ex236 and ex239, respectively, and converted into TS packets ex237 and ex240.
  • the data of the presentation graphics stream ex241 and interactive graphics ex244 are converted into PES packet sequences ex242 and ex245, respectively, and further converted into TS packets ex243 and ex246.
  • the multiplexed data ex247 is configured by multiplexing these TS packets into one stream.
  • FIG. 24 shows in more detail how the video stream is stored in the PES packet sequence.
  • the first row in FIG. 24 shows a video frame sequence of the video stream.
  • the second level shows a PES packet sequence.
  • a plurality of Video Presentation Units in a video stream are divided into pictures, B pictures, and P pictures, and are stored in the payload of the PES packet.
  • Each PES packet has a PES header, and a PTS (Presentation Time-Stamp) that is a display time of a picture and a DTS (Decoding Time-Stamp) that is a decoding time of a picture are stored in the PES header.
  • PTS Presentation Time-Stamp
  • DTS Decoding Time-Stamp
  • FIG. 25 shows the format of the TS packet that is finally written in the multiplexed data.
  • the TS packet is a 188-byte fixed-length packet composed of a 4-byte TS header having information such as a PID for identifying a stream and a 184-byte TS payload for storing data.
  • the PES packet is divided and stored in the TS payload.
  • a 4-byte TP_Extra_Header is added to a TS packet, forms a 192-byte source packet, and is written in multiplexed data.
  • TP_Extra_Header information such as ATS (Arrival_Time_Stamp) is described.
  • ATS indicates the transfer start time of the TS packet to the PID filter of the decoder.
  • source packets are arranged in the multiplexed data, and the number incremented from the head of the multiplexed data is called SPN (source packet number).
  • TS packets included in the multiplexed data include PAT (Program Association Table), PMT (Program Map Table), PCR (Program Clock Reference), and the like in addition to each stream such as video / audio / caption.
  • PAT indicates what the PID of the PMT used in the multiplexed data is, and the PID of the PAT itself is registered as 0.
  • the PMT has the PID of each stream such as video / audio / subtitles included in the multiplexed data and the attribute information of the stream corresponding to each PID, and has various descriptors related to the multiplexed data.
  • the descriptor includes copy control information for instructing permission / non-permission of copying of multiplexed data.
  • the PCR corresponds to the ATS in which the PCR packet is transferred to the decoder. Contains STC time information.
  • FIG. 26 is a diagram for explaining the data structure of the PMT in detail.
  • a PMT header describing the length of data included in the PMT is arranged at the head of the PMT.
  • a plurality of descriptors related to multiplexed data are arranged.
  • the copy control information and the like are described as descriptors.
  • a plurality of pieces of stream information regarding each stream included in the multiplexed data are arranged.
  • the stream information includes a stream descriptor in which a stream type, a stream PID, and stream attribute information (frame rate, aspect ratio, etc.) are described to identify a compression codec of the stream.
  • the multiplexed data is recorded together with the multiplexed data information file.
  • the multiplexed data information file is management information of multiplexed data, has a one-to-one correspondence with the multiplexed data, and includes multiplexed data information, stream attribute information, and an entry map.
  • the multiplexed data information is composed of a system rate, a reproduction start time, and a reproduction end time.
  • the system rate indicates a maximum transfer rate of multiplexed data to a PID filter of a system target decoder described later.
  • the ATS interval included in the multiplexed data is set to be equal to or less than the system rate.
  • the playback start time is the PTS of the first video frame of the multiplexed data
  • the playback end time is set by adding the playback interval for one frame to the PTS of the video frame at the end of the multiplexed data.
  • attribute information about each stream included in the multiplexed data is registered for each PID.
  • the attribute information has different information for each video stream, audio stream, presentation graphics stream, and interactive graphics stream.
  • the video stream attribute information includes the compression codec used to compress the video stream, the resolution of the individual picture data constituting the video stream, the aspect ratio, and the frame rate. It has information such as how much it is.
  • the audio stream attribute information includes the compression codec used to compress the audio stream, the number of channels included in the audio stream, the language supported, and the sampling frequency. With information. These pieces of information are used for initialization of the decoder before the player reproduces it.
  • the stream type included in the PMT is used.
  • video stream attribute information included in the multiplexed data information is used.
  • the video encoding shown in each of the above embodiments for the stream type or video stream attribute information included in the PMT.
  • FIG. 29 shows steps of the moving picture decoding method according to the present embodiment.
  • step exS100 the stream type included in the PMT or the video stream attribute information included in the multiplexed data information is acquired from the multiplexed data.
  • step exS101 it is determined whether or not the stream type or the video stream attribute information indicates multiplexed data generated by the moving picture encoding method or apparatus described in the above embodiments. To do.
  • step exS102 each of the above embodiments.
  • Decoding is performed by the moving picture decoding method shown in the form.
  • the conventional information Decoding is performed by a moving image decoding method compliant with the standard.
  • FIG. 30 shows a configuration of an LSI ex500 that is made into one chip.
  • the LSI ex500 includes elements ex501, ex502, ex503, ex504, ex505, ex506, ex507, ex508, and ex509 described below, and each element is connected via a bus ex510.
  • the power supply circuit unit ex505 starts up to an operable state by supplying power to each unit when the power supply is in an on state.
  • the LSI ex500 uses the AV I / O ex509 to perform the microphone ex117 and the camera ex113 based on the control of the control unit ex501 including the CPU ex502, the memory controller ex503, the stream controller ex504, the drive frequency control unit ex512, and the like.
  • the AV signal is input from the The input AV signal is temporarily stored in an external memory ex511 such as SDRAM.
  • the accumulated data is divided into a plurality of times as appropriate according to the processing amount and the processing speed and sent to the signal processing unit ex507, and the signal processing unit ex507 encodes an audio signal and / or video. Signal encoding is performed.
  • the encoding process of the video signal is the encoding process described in the above embodiments.
  • the signal processing unit ex507 further performs processing such as multiplexing the encoded audio data and the encoded video data according to circumstances, and outputs the result from the stream I / Oex 506 to the outside.
  • the output multiplexed data is transmitted to the base station ex107 or written to the recording medium ex215. It should be noted that data should be temporarily stored in the buffer ex508 so as to be synchronized when multiplexing.
  • the memory ex511 has been described as an external configuration of the LSI ex500.
  • a configuration included in the LSI ex500 may be used.
  • the number of buffers ex508 is not limited to one, and a plurality of buffers may be provided.
  • the LSI ex500 may be made into one chip or a plurality of chips.
  • control unit ex501 includes the CPU ex502, the memory controller ex503, the stream controller ex504, the drive frequency control unit ex512, and the like, but the configuration of the control unit ex501 is not limited to this configuration.
  • the signal processing unit ex507 may further include a CPU.
  • the CPU ex502 may be configured to include a signal processing unit ex507 or, for example, an audio signal processing unit that is a part of the signal processing unit ex507.
  • the control unit ex501 is configured to include a signal processing unit ex507 or a CPU ex502 having a part thereof.
  • LSI LSI
  • IC system LSI
  • super LSI ultra LSI depending on the degree of integration
  • the method of circuit integration is not limited to LSI, and implementation with a dedicated circuit or a general-purpose processor is also possible.
  • An FPGA Field Programmable Gate Array
  • a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
  • FIG. 31 shows a configuration ex800 in the present embodiment.
  • the drive frequency switching unit ex803 sets the drive frequency high when the video data is generated by the moving image encoding method or apparatus described in the above embodiments.
  • the decoding processing unit ex801 that executes the moving picture decoding method described in each of the above embodiments is instructed to decode the video data.
  • the video data is video data compliant with the conventional standard, compared to the case where the video data is generated by the moving picture encoding method or apparatus shown in the above embodiments, Set the drive frequency low. Then, it instructs the decoding processing unit ex802 compliant with the conventional standard to decode the video data.
  • the drive frequency switching unit ex803 includes the CPU ex502 and the drive frequency control unit ex512 in FIG.
  • the decoding processing unit ex801 that executes the moving picture decoding method described in each of the above embodiments and the decoding processing unit ex802 that conforms to the conventional standard correspond to the signal processing unit ex507 in FIG.
  • the CPU ex502 identifies which standard the video data conforms to.
  • the drive frequency control unit ex512 sets the drive frequency.
  • the signal processing unit ex507 decodes the video data.
  • the identification of the video data for example, it is conceivable to use the identification information described in the seventh embodiment.
  • the identification information is not limited to that described in Embodiment 7, and any information that can identify which standard the video data conforms to may be used. For example, it is possible to identify which standard the video data conforms to based on an external signal that identifies whether the video data is used for a television or a disk. In some cases, identification may be performed based on such an external signal. In addition, the selection of the driving frequency in the CPU ex502 may be performed based on, for example, a lookup table in which video data standards and driving frequencies are associated with each other as shown in FIG. The look-up table is stored in the buffer ex508 or the internal memory of the LSI, and the CPU ex502 can select the drive frequency by referring to this look-up table.
  • FIG. 32 shows steps for executing the method of the present embodiment.
  • the signal processing unit ex507 acquires identification information from the multiplexed data.
  • the CPU ex502 identifies whether the video data is generated by the encoding method or apparatus described in each of the above embodiments based on the identification information.
  • the CPU ex502 sends a signal for setting the drive frequency high to the drive frequency control unit ex512. Then, the drive frequency control unit ex512 sets a high drive frequency.
  • step exS203 the CPU ex502 drives a signal for setting the drive frequency low. This is sent to the frequency control unit ex512. Then, in the drive frequency control unit ex512, the drive frequency is set to be lower than that in the case where the video data is generated by the encoding method or apparatus described in the above embodiments.
  • the power saving effect can be further enhanced by changing the voltage applied to the LSI ex500 or the device including the LSI ex500 in conjunction with the switching of the driving frequency.
  • the drive frequency is set to be low, it is conceivable that the voltage applied to the LSI ex500 or the device including the LSI ex500 is set low as compared with the case where the drive frequency is set high.
  • the setting method of the driving frequency may be set to a high driving frequency when the processing amount at the time of decoding is large, and to a low driving frequency when the processing amount at the time of decoding is small. It is not limited to the method.
  • the amount of processing for decoding video data compliant with the MPEG4-AVC standard is larger than the amount of processing for decoding video data generated by the moving picture encoding method or apparatus described in the above embodiments. It is conceivable that the setting of the driving frequency is reversed to that in the case described above.
  • the method for setting the drive frequency is not limited to the configuration in which the drive frequency is lowered.
  • the voltage applied to the LSI ex500 or the apparatus including the LSI ex500 is set high.
  • the video data conforms to the conventional standards such as MPEG-2, MPEG4-AVC, VC-1, etc.
  • the identification information indicates that the video data is generated by the moving image encoding method or apparatus described in each of the above embodiments, the driving of the CPU ex502 is stopped.
  • the CPU ex502 is temporarily stopped because there is enough processing. Is also possible. Even when the identification information indicates that the video data is generated by the moving image encoding method or apparatus described in each of the above embodiments, if there is enough processing, the CPU ex502 is temporarily driven. It can also be stopped. In this case, it is conceivable to set the stop time shorter than in the case where the video data conforms to the conventional standards such as MPEG-2, MPEG4-AVC, and VC-1.
  • a plurality of video data that conforms to different standards may be input to the above-described devices and systems such as a television and a mobile phone.
  • the signal processing unit ex507 of the LSI ex500 needs to support a plurality of standards in order to be able to decode even when a plurality of video data complying with different standards is input.
  • the signal processing unit ex507 corresponding to each standard is used individually, there is a problem that the circuit scale of the LSI ex500 increases and the cost increases.
  • a decoding processing unit for executing the moving picture decoding method shown in each of the above embodiments and a decoding conforming to a standard such as MPEG-2, MPEG4-AVC, or VC-1
  • the processing unit is partly shared.
  • An example of this configuration is shown as ex900 in FIG. 34A.
  • the moving picture decoding method shown in each of the above embodiments and the moving picture decoding method compliant with the MPEG4-AVC standard are processed in processes such as entropy coding, inverse quantization, deblocking filter, and motion compensation. Some contents are common.
  • the decoding processing unit ex902 corresponding to the MPEG4-AVC standard is shared, and for other processing contents unique to the present invention that do not correspond to the MPEG4-AVC standard, the dedicated decoding processing unit ex901 is used. Configuration is conceivable. In particular, since the present invention has a feature in the division processing, for example, the dedicated decoding processing unit ex901 is used for the division processing, and other entropy coding, inverse quantization, deblocking filter, motion, and the like are used. It is conceivable to share the decoding processing unit for any or all of the compensation processes.
  • the decoding processing unit for executing the moving picture decoding method described in each of the above embodiments is shared, and the processing content specific to the MPEG4-AVC standard As for, a configuration using a dedicated decoding processing unit may be used.
  • ex1000 in FIG. 34B shows another example in which processing is partially shared.
  • a dedicated decoding processing unit ex1001 corresponding to processing content specific to the present invention
  • a dedicated decoding processing unit ex1002 corresponding to processing content specific to other conventional standards
  • a moving picture decoding method of the present invention A common decoding processing unit ex1003 corresponding to processing contents common to other conventional video decoding methods is used.
  • the dedicated decoding processing units ex1001 and ex1002 are not necessarily specialized in the processing content specific to the present invention or other conventional standards, and may be capable of executing other general-purpose processing.
  • the configuration of the present embodiment can be implemented by LSI ex500.
  • the circuit scale of the LSI is reduced, and the cost is reduced. It is possible to reduce.
  • the image encoding method and image decoding method according to the present invention enable efficient description and restoration of a block division method that cannot be handled by the conventional variable length encoding and decoding method.
  • the image encoding method and the image decoding method have an effect that the amount of codes can be greatly reduced, and thus can be used for various purposes such as storage, transmission, and communication.
  • the present invention can be used for high-resolution information display devices or imaging devices such as televisions, digital video recorders, car navigation systems, mobile phones, digital cameras, and digital video cameras.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)

Abstract

 本発明に係る画像符号化方法は、入力画像信号(120)を処理単位に分割し、分割した画像を符号化することで符号列(140)を生成する画像符号化方法であって、前記処理単位は階層化されており、前記処理単位の最大の単位から、入力画像信号(120)を階層的に分割する分割パターンを決定する分割ステップと、前記分割パターンを示す分割情報(131)を生成する分割情報記述ステップと、分割情報(131)を符号化する符号化ステップとを含み、分割情報(131)は、前記分割パターンに含まれる処理単位のうち、最も深い処理単位の階層である最大使用階層を示す最大使用階層情報(used_max_depth)を含む。

Description

画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置
 本発明は、画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置に関し、特に、動画像信号を動き補償を用いて圧縮符号化する際の画像符号化方法及び画像復号方法に関するものである。
 H.26xと称されるITU-T規格、及びMPEG-xと称されるISO/IEC規格に代表される従来の画像符号化方式においては、画面を予め定められた単位に分割し、その分割単位で符号化を行う。例えば、H.264/MPEG-4 AVC方式(例えば、非特許文献1参照)においては、画面(ピクチャ)をマクロブロックと呼ばれる水平16画素、及び垂直16画素を含む単位で処理する。そして、動き補償を行う場合には、マクロブロックを矩形のブロック(最小で水平4画素×垂直4画素)に分割して、分割したブロック毎に異なる動きベクトルを用いて動き補償を行う。
ISO/IEC 14496-10「MPEG-4 Part 10 Advanced Video Coding」
 しかしながら、上記従来の方式では、マクロブロック内の分割に関する情報として、マクロブロックタイプを示す情報と、サブマクロブロックタイプを示す種類との2種類の情報を伝送することで、分割形状を伝送していた。ここで、マクロブロックタイプを示す情報とは、マクロブロックのサイズが、例えば、水平16画素×垂直16画素、水平16画素×垂直8画素、水平8画素×垂直16画素、及び水平8画素×垂直8画素のいずれであるかを示す情報である。また、サブマクロブロックタイプを示す情報とは、マクロブロックタイプが水平8画素×垂直8画素の場合に、サブマクロブロックのサイズが水平8画素×垂直8画素、水平8画素×垂直4画素、水平4画素×垂直8画素、水平4画素×垂直4画素のいずれであるかを示す情報である。
 上記のような分割情報の伝送方法では、ブロックのサイズの種類が増加した場合に、階層的に分割形状を送る必要があり、効率的に分割情報を伝送することができないという課題を有していた。
 本発明は、上記課題を解決するものであり、画面を様々なブロックに分割して符号化及び復号する場合に、効率よく分割情報の符号化又は復号を行うことができる動画像符号化方法、又は動画像復号方法を提供することを目的とする。
 上記目的を達成するために、本発明の一形態に係る画像符号化方法は、画像を処理単位に分割し、分割した画像を符号化することで符号列を生成する画像符号化方法であって、前記処理単位は階層化されており、前記処理単位の最大の単位から、前記画像を階層的に分割する分割パターンを決定する分割ステップと、前記分割パターンを示す分割情報を生成する分割情報記述ステップと、前記分割情報を符号化する符号化ステップとを含み、前記分割情報は、前記分割パターンに含まれる処理単位のうち、最も深い処理単位の階層である最大使用階層を示す最大使用階層情報を含む。
 これによれば、本発明の一形態に係る画像符号化方法は、画面を様々なブロックに分割して符号化する場合に、符号量を削減できるので、効率よく分割情報の符号化を行うことができる。
 また、前記分割情報は、さらに、前記分割パターンに含まれる処理単位のうち、最も浅い処理単位の階層である最小使用階層を示す最小使用階層情報を含んでもよい。
 また、前記分割情報記述ステップでは、前記最大使用階層が、前記処理単位の最小単位である場合のみ、前記最小使用階層情報を含む前記分割情報を生成してもよい。
 これによれば、本発明の一形態に係る画像符号化方法は、さらに符号量を削減できる。
 また、前記分割情報記述ステップでは、前記最大使用階層を用いて、各処理単位をさらに分割するか、分割しないかを確定できる場合、当該処理単位の分割パターンを示す情報を、前記分割情報から取り除き、前記符号化ステップでは、前記情報が取り除かれた後の分割情報を符号化してもよい。
 これによれば、本発明の一形態に係る画像符号化方法は、さらに符号量を削減できる。
 また、前記分割情報記述ステップでは、前記最小使用階層を用いて、各処理単位をさらに分割するか、分割しないかを確定できる場合、当該処理単位の分割パターンを示す情報を、前記分割情報から取り除き、前記符号化ステップでは、前記情報が取り除かれた後の分割情報を符号化してもよい。
 これによれば、本発明の一形態に係る画像符号化方法は、さらに符号量を削減できる。
 また、前記画像符号化方法に、さらに、既に符号化済みの処理単位の分割パターンを用いて、処理対象の処理単位の分割パターンの予測値である予測分割パターンを推定する予測ステップを含み、前記階層分割ステップでは、前記予測分割パターンを用いて、前記処理対象の処理単位の分割パターンを決定してもよい。
 これによれば、本発明の一形態に係る画像符号化方法は、さらに符号量を削減できる。
 また、前記画像符号化方法は、さらに、前記分割パターンと前記予測分割パターンとの差分を算出する差分ステップを含み、前記符号化ステップでは、前記差分を含む前記分割情報を符号化してもよい。
 これによれば、本発明の一形態に係る画像符号化方法は、さらに符号量を削減できる。
 また、前記予測ステップでは、前記処理対象の処理単位と同一フレーム内の、当該処理対象の処理単位に隣接する処理単位の分割パターンを用いて、当該処理対象の処理単位の前記分割パターンを推定してもよい。
 また、前記予測ステップでは、時間的に別のフレームに含まれる処理単位の分割パターンを用いて、当該処理対象の処理単位の前記分割パターンを推定してもよい。
 また、本発明の一形態に係る画像復号方法は、前記画像符号化方法によって生成された符号列を復号する画像復号方法であって、前記符号列に含まれる前記分割情報を復号する復号ステップと、復号された前記分割情報から前記分割パターンを判定する復元ステップとを含む。
 これによれば、本発明の一形態に係る画像復号方法は、効率よく分割情報の復号を行うことができる。
 なお、本発明は、このような画像符号化方法及び画像復号方法として実現できるだけでなく、画像符号化方法及び画像復号方法に含まれる特徴的なステップを手段とする画像符号化装置及び画像復号装置として実現したり、そのような特徴的なステップをコンピュータに実行させるプログラムとして実現したりすることもできる。そして、そのようなプログラムは、CD-ROM等の非一時的なコンピュータ読み取り可能な記録媒体、及びインターネット等の伝送媒体を介して流通させることができるのは言うまでもない。
 さらに、本発明は、このような画像符号化装置又は画像復号装置の機能の一部又は全てを実現する半導体集積回路(LSI)として実現したり、このような画像符号化装置及び画像復号装置を含む画像符号化復号装置として実現したりできる。
 以上より、本発明は、画面を様々なブロックに分割して符号化又は復号する場合に、効率よく分割情報の符号化又は復号を行うことができる動画像符号化方法、又は動画像復号方法を提供できる。
図1は、本発明の実施の形態1に係る画像符号化装置のブロック図である。 図2Aは、本発明の実施の形態1に係るブロックの階層を説明するための模式図である。 図2Bは、本発明の実施の形態1に係るブロックの階層の一例を示す模式図である。 図2Cは、本発明の実施の形態1に係るブロックの階層の一例を示す模式図である。 図3Aは、本発明の実施の形態1に係るブロックの分割パターンの一例を示す模式図である。 図3Bは、本発明の実施の形態1に係るブロックの分割情報の一例を示す模式図である。 図3Cは、本発明の実施の形態1に係るブロックの分割情報の一例を示す模式図である。 図4は、本発明の実施の形態1に係る分割制御部の動作を示すフローチャートである。 図5は、本発明の実施の形態1に係る分割情報記述部の動作を示すフローチャートである。 図6Aは、本発明の実施の形態1に係る分割パターン及び分割情報の一例を示す模式図である。 図6Bは、本発明の実施の形態1に係る分割パターン及び分割情報の一例を示す模式図である。 図6Cは、本発明の実施の形態1に係る分割パターン及び分割情報の一例を示す模式図である。 図7は、本発明の実施の形態2に係る画像復号装置のブロック図である。 図8は、本発明の実施の形態2に係る分割制御部及び分割情報復元部の動作を示すフローチャートである。 図9Aは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Bは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Cは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Dは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Eは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Fは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Gは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Hは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Iは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Jは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Kは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図9Lは、本発明の実施の形態3に係る分割パターンの予測例を示す模式図である。 図10は、本発明の実施の形態3に係る周囲の分割情報を用いて分割方法を予測する手順を示すフローチャートである。 図11Aは、本発明の実施の形態3に係る分割情報記述部及び分割情報復元部における既に符号化済みのフレームの分割情報を用いる方法を説明するための模式図である。 図11Bは、本発明の実施の形態3に係る分割情報記述部及び分割情報復元部における既に符号化済みのフレームの分割情報を用いる方法を説明するための模式図である。 図12Aは、本発明の実施の形態3に係る分割情報記述部における動作を説明するフローチャートである。 図12Bは、本発明の実施の形態3に係る分割情報復元部における動作を説明するフローチャートである。 図13は、本発明の実施の形態4に係る分割情報のデータ構造を示す模式図である。 図14Aは、本発明の実施の形態5に係る、複数のブロック形状を用いた分割パターンの一例を示す模式図である。 図14Bは、本発明の実施の形態5に係る、複数のブロック形状を用いる場合の分割情報の一例を示す模式図である。 図14Cは、本発明の実施の形態5に係る、複数のブロック形状を用いる場合の分割情報の一例を示す模式図である。 図15Aは、本発明の実施の形態5に係る、冗長な分割情報を削減する方法を説明するための模式図である。 図15Bは、本発明の実施の形態5に係る、冗長な分割情報を削減する方法を説明するための模式図である。 図15Cは、本発明の実施の形態5に係る、冗長な分割情報を削減する方法を説明するための模式図である。 図16は、コンテンツ配信サービスを実現するコンテンツ供給システムの全体構成図である。 図17は、デジタル放送用システムの全体構成図である。 図18は、テレビの構成例を示すブロック図である。 図19は、光ディスクである記録メディアに情報の読み書きを行う情報再生/記録部の構成例を示すブロック図である。 図20は、光ディスクである記録メディアの構造例を示す図である。 図21Aは、携帯電話の一例を示す図である。 図21Bは、携帯電話の構成例を示すブロック図である。 図22は、多重化データの構成を示す図である。 図23は、各ストリームが多重化データにおいてどのように多重化されているかを模式的に示す図である。 図24は、PESパケット列に、ビデオストリームがどのように格納されるかを更に詳しく示した図である。 図25は、多重化データにおけるTSパケットとソースパケットの構造を示す図である。 図26は、PMTのデータ構成を示す図である。 図27は、多重化データ情報の内部構成を示す図である。 図28は、ストリーム属性情報の内部構成を示す図である。 図29は、映像データを識別するステップを示す図である。 図30は、各実施の形態の動画像符号化方法および動画像復号化方法を実現する集積回路の構成例を示すブロック図である。 図31は、駆動周波数を切り替える構成を示す図である。 図32は、映像データを識別し、駆動周波数を切り替えるステップを示す図である。 図33は、映像データの規格と駆動周波数を対応づけたルックアップテーブルの一例を示す図である。 図34Aは、信号処理部のモジュールを共有化する構成の一例を示す図である。 図34Bは、信号処理部のモジュールを共有化する構成の他の一例を示す図である。
 以下、本発明の実施の形態について、図面を用いて詳細に説明する。なお、以下で説明する実施の形態は、いずれも本発明の好ましい一具体例を示すものである。以下の実施の形態で示される数値、形状、材料、構成要素、構成要素の配置位置及び接続形態、ステップ、ステップの順序などは、一例であり、本発明を限定する主旨ではない。本発明は、請求の範囲だけによって限定される。よって、以下の実施の形態における構成要素のうち、本発明の最上位概念を示す独立請求項に記載されていない構成要素については、本発明の課題を達成するのに必ずしも必要ではないが、より好ましい形態を構成するものとして説明される。
 (実施の形態1)
 図1は、本発明の実施の形態1に係る画像符号化方法を用いた画像符号化装置100のブロック図である。図1に示す画像符号化装置100は、入力画像信号120を処理単位(ブロック)に分割し、分割した画像を符号化することで符号列140を生成する。
 この画像符号化装置100は、差分部101と、変換部102と、量子化部103と、逆量子化部104と、逆変換部105と、加算部106と、予測部107と、符号化制御部108と、可変長符号化部109と、分割部110と、分割制御部111と、分割情報記述部112とを備える。なお、分割部110及び予測部107は内部にメモリを備えていても良い。
 入力画像信号120は、分割部110に対して入力される。分割部110は、分割制御信号129に基づいて、入力画像信号120を分割することで分割画像信号121を生成し、生成した分割画像信号121を差分部101及び予測部107に対して出力する。
 分割制御部111は、分割部110においてどのように画像を分割するかを示す分割パターンを決定する。ここで、処理単位(ブロック)は階層化されており、分割制御部111は、処理単位の最大の単位から、入力画像信号120を階層的に分割する分割パターンを決定する。
 分割制御部111が決定する分割パターンの例を図2A~図2C及び図3A~図3Cを用いて説明する。
 図2A~図2Cに示すように、分割制御部111で決定する分割パターンは、階層の深さ(Depth)によって表される。図2Aのように、分割しないブロックをDepth=0と表現し、4つに分割したブロックをDepth=1と表現し、以降のブロックに対しても同様に表現することが可能となる。図2Bは、最大のブロックサイズが水平64画素×垂直64画素である場合のブロックサイズと階層の深さとの例を示し、図2Cは、最大のブロックサイズが水平128画素×垂直128画素である場合のブロックサイズと階層の深さとの例を示す。
 この分割パターンについて図3A~図3Cを用いてさらに詳しく説明する。
 図3Aは、図2Bに示した場合と同様に、最大のブロックサイズが水平64画素×垂直64画素であり、最小のブロックサイズが水平8画素×垂直8画素である場合の例を示す。ブロックは、最大のブロックサイズを分割するかどうか、分割した場合には、分割後のサブブロックに対してさらに分割するかどうかを順番に指定する方法で分割される。ブロックの分割パターンは、各階層の深さに対する階層(Dn_type)で表すことができる。なおここで、nは階層の深さ(Depth)の値とする。
 図3Bは、図3Aで示した分割パターンを階層分割モード情報で表した例を示す。ここで、簡単のため階層分割モード情報は2種類であり、分割しない(Dn_type=0)、又は、4等分に分割する(Dn_type=1)を示す。なお、以下では、Depth=0~3の階層をそれぞれ階層0~3と記す。
 まず、最大のブロックは分割されているため、D0_type=1である。次のブロックサイズの階層1(Depth=1)では、左上からZを書く順番に、分割なし(D1_type=0)、分割あり(D1_type=1)、分割なし(D1_type=0)、分割あり(D1_type=1)と表現される。ここで、分割なしのブロックは、次の階層2(Depth=2)の、階層分割モード情報を必要としない。次に、さらに分割されるブロックサイズの階層2(Depth=2)に対しても同様の表現が用いられる。具体的には、D1_tyepe=1の一つ目のブロックを分割した、この階層2(Depth=2)の4つのブロックは、全て分割なし(D2_type=0)である。また、D1_tyepe=1の最後のブロックを分割した4つのブロックに対しては、1つ目のブロックは分割あり(D2_type=1)で表現し、残りの3つのブロックに対しては分割なし(D2_type=0)で表現することができる。
 図3Cは、図3Bの表現を単純にまとめて表現した例を示す。つまり、図3Cは、各ブロックサイズに対しての階層分割モード情報をまとめて、分割モード情報(type)として表現した例を示す。なお、この例では分割モード情報は、階層分割モード情報と同様に分割あり(1)と、分割なし(0)とを示す2値情報である。よって、図3Aで示される分割パターンの情報量は13ビットである。そして分割制御部111は、図3Cに示すような分割パターンを示す分割情報130を分割情報記述部112へ出力する。
 次に、分割制御部111が前述の分割パターンを決定する動作を、図4を用いて説明する。
 また、分割パターンの決定に必要なコスト情報(符号化コスト)は、例えば次のように算出される。
 分割部110は、入力画像信号120をコスト計算の対象とするサイズに分割することで分割画像信号121を生成し、生成した分割画像信号121を予測部107に対して出力する。
 予測部107は、既に符号化及び復号済みの復号画像信号127と、符号化制御部108より取得する予測モードとに基づいて予測画像信号128を生成する。ここで、符号化制御部108は、予め決められた少なくとも1つの候補予測モードのうち一つの予測モードを予測部107に対して指定する。候補予測モードとは、例えば、画面内の隣接画素を予め決められた方向で外挿することで予測画素を生成するモード、及び、既に符号化及び復号済みの別のフレームとの相関が高い画素を用いて予測画素を生成するモードである。
 さらに、予測部107は、予測情報と相関度情報との重み付け和である符号化コストを算出する。ここで予測情報とは、予測画像信号128を生成するために必要な情報であり、例えば、画面内の隣接画素を外挿するための方向情報、及び別フレームとの相対位置情報(動きベクトル情報)である。また、相関度情報とは、分割画像信号121と予測画像信号128との相関度を示し、例えば、分割画像信号121と予測画像信号128との差分絶対値和である。また、予測部107は、例えば、コスト関数と呼ばれる下記(式1)で示される値を符号化コストとして計算する。
 さらに、予測部107は、全ての候補予測モードの各々に対して符号化コストを算出し、最も小さい符号化コストの予測モードで予測される予測画像信号128を差分部101に対して出力する。また、予測部107は、そのときの予測モード、予測情報及び符号化コストを符号化制御部108に対して出力する。符号化制御部108は、前述の符号化コストを分割制御部111に対して出力し、予測モード及び予測情報を含む符号化制御信号132を可変長符号化部109に対して出力する。
 上記のRDコスト関数として、例えば、(式1)で示されるラグランジュコスト関数Jが用いられる。
Figure JPOXMLDOC01-appb-M000001
 (式1)において、Rは、差分画像(量子化変換係数情報124)と予測モードと予測情報とを符号化するのに用いられる符号量であり、Dは、符号化歪み量であり、λは、符号化に用いられる量子化パラメータQPに応じて算出されるラグランジュ乗数である。符号化制御部108は、コスト関数Jが最も低くなる予測モードを、符号化に用いる予測モードとして選択する。
 なお、R及びDの値は、それぞれ代用する値を用いてもよい。例えば符号量Rとして予測モード情報のみを用い、符号化歪み量として分割画像信号121と予測画像信号128との絶対差分和を用いてもよい。
 図4は、分割制御部111の動作を示すフローチャートである。
 ここでは、簡単のため、図2B及び図3Bで示すように最大のブロックサイズが水平64画素×垂直64画素であり、最小のブロックサイズが水平8画素×垂直8画素であり、分割モード情報が、分割する(1)、分割しない(0)の2種類を示す場合の例を示す。
 分割制御部111は、分割部110により入力画像信号120が水平64画素×垂直64画素に分割された分割画像信号121に対する符号化コストを取得する。そして、分割制御部111は、取得した符号化コスト値を水平64画素×垂直64画素(階層0)に対するコスト値(D0_cost)としてセットする(ステップS401)。
 次に、分割制御部111は、次の階層1(Depth=1)に対する符号化コストの総数を示す“D1_total_cost”をリセット(0にセット)する(ステップS402)。
 次に、分割制御部111は、階層1(Depth=1)に分割した場合の全てのブロック(この例では4個のブロック)に対する繰り返し処理(ステップS403とS424とで囲まれた部分の処理)を行う。つまり、分割制御部111は、カウンタD1_loopに0、1、2、3を順次セットし、ステップS403~S424の処理を繰り返し行う。
 次に、分割制御部111は、階層0をさらに分割した水平32画素×垂直32画素の信号に対する符号化コストを取得する。そして、分割制御部111は、取得した符号化コストを、カウンタD1_loopで示される位置の水平32画素×垂直32画素のブロックに対するコスト値(D1_cost[D1_loop])としてセットする(ステップS404)。なお、カウンタDn_loop=0~3の処理順は、符号化側と復号側とで同じ物であればよい。この処理順は、例えばZの字の書き順である。
 次に、分割制御部111は、次の階層2(Depth=2)に対する符号化コストの総数を示す“D2_total_cost”をリセット(0にセット)する(ステップS405)。
 次に、分割制御部111は、上位の階層1(Depth=1)のD1_loopのブロックを階層2(Depth=2)に分割した場合の全てのブロック(この例では4個のブロック)に対する繰り返し処理(ステップS406とS418とで囲まれた部分の処理)を行う。つまり、分割制御部111は、カウンタD2_loopに0、1、2、3を順次セットし、ステップS406~S418の処理を繰り返し行う。
 次に、分割制御部111は、階層1をさらに分割した水平16画素×垂直16画素の信号に対する符号化コストを取得する。そして、分割制御部111は、取得した分割コストを、カウンタD2_loopで示される位置の水平16画素×垂直16画素のブロックに対するコスト値(D2_cost[D2_loop])としてセットする(ステップS407)。
 同様に、分割制御部111は、次の階層3(Depth=3)に対する符号化コストの総数を示す“D3_total_cost”をリセット(0にセット)する(ステップS408)。
 次に、分割制御部111は、上位の階層2(Depth=2)のD2_loopのブロックを階層3(Depth=3)に分割した場合の全てのブロック(この例では4個のブロック)に対する繰り返し処理(ステップS409とS412で囲まれた部分の処理)を行う。つまり、分割制御部111は、カウンタD3_loopに0、1、2、3を順次セットし、ステップS409~S412の処理を繰り返し行う。
 次に、分割制御部111は、階層2をさらに分割した水平8画素×垂直8画素の信号に対する符号化コストを取得する。そして、分割制御部111は、取得した符号化コストを、カウンタD3_loopで示される位置の水平8画素×垂直8画素のブロックに対するコスト値(D3_cost[D3_loop])としてセットする(ステップS410)。そして、分割制御部111は、“D3_total_cost”にD3_cost[D3_loop]を加える(ステップS411)。
 次に、分割制御部111は、D3_loopが全て終了していない場合には、カウンタD3_loopの値を1つ増加し、繰り返し処理を行う。また、分割制御部111は、全て終了している場合には、次のステップへと進む(ステップS412)。
 次に、分割制御部111は、前述の計算済みの“D3_total_cost”と“D2_cost[D2_loop]”とを比較する(ステップS413)。“D3_total_cost”よりも“D2_cost[D2_loop]”が大きい場合には(ステップS413でYES)、分割なしよりも分割ありの方が、符号化コストが小さい。よって、分割制御部111は、分割ありを示す“D2type=1”をセットし(ステップS414)、“D2_total_cost”に“D3_total_cost”の値を加える(ステップS415)。
 一方、“D3_total_cost”よりも“D2_cost[D2_loop]”が小さい場合には(ステップS413でNO)、分割ありよりも分割なしの方が、符号化コストが小さい。よって、分割制御部111は、分割なしを示す“D2type=0”をセットし(ステップS416)、“D2_total_cost”に“D2_cost[D2_loop]”の値を加える(ステップS417)。
 次に、分割制御部111は、D2_loopが全て終了していない場合には、カウンタD3_loopの値を1つ増加し、繰り返し処理を行う。また、分割制御部111は、全て終了している場合には、次のステップへと進む(ステップS418)。
 次に、分割制御部111は、前述の計算済みの“D2_total_cost”と“D1_cost[D1_loop]”とを比較する(ステップS419)。“D2_total_cost”よりも“D1_cost[D1_loop]”が大きい場合には(ステップS419でYES)、分割なしよりも分割ありの方が、符号化コストが小さい。よって、分割制御部111は、分割ありを示す“D1type=1”をセットし(ステップS420)、“D1_total_cost”に“D2_total_cost”の値を加える(ステップS421)。
 一方、“D2_total_cost”よりも“D1_cost[D1_loop]”が大きい場合には(ステップS419でNO)、分割ありよりも分割なしの方が、符号化コストが小さい。よって、分割制御部111は、分割なしを示す“D1type=0”をセットし(ステップS422)、“D1_total_cost”に“D1_cost[D1_loop]”の値を加える(ステップS423)。
 次に、分割制御部111は、D1_loopが全て終了していない場合には、カウンタD1_loopの相対を1つ増加し、繰り返し処理を行う。また、分割制御部111は、全て終了している場合には、次のステップへと進む(ステップS424)。
 最後に、分割制御部111は、前述の計算済みの“D1_total_cost”と“D0_cost”とを比較する(ステップS425)。“D1_total_cost”よりも“D0_cost”が大きい場合には(ステップS425でYES)、分割なしよりも分割ありの方が、符号化コストが小さい。よって、分割制御部111は、分割ありを示す“D0type=1”をセットする(ステップS426)。
 一方、“D1_total_cost”よりも“D0_cost”が小さい場合には(ステップS425でNO)、分割有りよりも分割なしの方が、符号化コストが小さい。よって、分割制御部111は、分割なしを示す“D0type=0”をセットする(ステップS427)。
 上記の手順により、分割制御部111は、符号化コストが最小となる分割パターンを決定することができる。
 なお、この分割パターンの決定方法は一例であり、これに限るものではない。例えば、分割制御部111は、分割部110より得られる分割画像信号121を分析し、画素値分布の分散が高い領域は小さいブロックに分割し、画素分布が一様である部分に対しては大きなブロックに分割してもよい。このようにすることにより、画像符号化装置100の回路規模を削減することが可能となる。
 また、別の分割パターンの決定方法として、分割制御部111は、既に符号化及び復号済みの周囲のブロックの分割結果を元に決められた方法で分割パターンを決めても良い。また、別の分割パターンの決定方法として、分割制御部111は、既に符号化及び復号済みの別のフレーム中のブロックの分割結果を利用して分割パターンを決定しても良い。これら手法については、実施の形態3で詳しく説明する。
 次に、分割情報記述部112による分割情報131の記述方法について図5を用いて説明する。
 分割制御部111は、上記の方法により決められた分割パターンを示す分割情報130を分割情報記述部112に対して出力する。ここで、分割情報130は、上述した階層分割モード情報又は分割モード情報で記述された情報である。分割情報記述部112は、この分割情報130から、可変長符号化部109で符号化される分割情報131を生成する。
 まず、分割情報記述部112は、分割情報130に含まれる階層毎の階層分割モード情報(D0type~D2type)を取得する(ステップS501)。
 D0typeが0である場合(ステップS502でYES)、最大のブロックの階層(Depth=0)で分割なしである。よって、分割情報記述部112は、変数“used_max_depth”に対して、Depth=0を示す“0”をセットする(ステップS503)。ここで、変数“used_max_depth”は、最大使用階層を示す最大使用階層情報である。また、最大使用階層とは、最大ブロックサイズ内で使用されている一番深い深度を示す。言い換えると、最大使用階層とは、分割パターンに含まれるブロックのうち、最も深いブロックの階層である。
 D0typeが0ではない場合(ステップS502でNO)、次に、分割情報記述部112は、全てのD1typeが0であるか否かを判定する(ステップS504)。全てのD1typeが0である場合(ステップS504でYES)、この階層1(Depth=1)で分割なしである。よって、分割情報記述部112は、変数“used_max_depth”に対して、Depth=1を示す“1”をセットする(ステップS505)。
 一方、D1typeの少なくとも1つが0でない場合(ステップS504でNO)、次に、分割情報記述部112は、全てのD2typeが0であるか否かを判定する(ステップS506)。全てのD2typeが0である場合(ステップS506でYES)、この階層2(Depth=2)で分割なしである。よって、分割情報記述部112は、変数“used_max_depth”に対して、Depth=2を示す“2”をセットする(ステップS507)。
 一方、D2typeの少なくとも1つが0でない場合(ステップS506でNO)、最小のブロックサイズまで分割が行われる。よって、分割情報記述部112は、変数“used_max_depth”に対して、Depth=3を示す“3”をセットする(ステップS508)。
 次に、分割情報記述部112は、D1typeの少なくとも1つが0にセットされているか否かを判定する(ステップS509)。D1typeの少なくとも1つが0とセットされている場合(ステップS509でYES)、Depth=1のサイズのブロックのうち、分割しないブロックがあることを示す。よって、分割情報記述部112は、変数“used_min_depth”に対して、Depth=1を示す“1”をセットする(ステップS510)。ここで、変数“used_min_depth”は、最小使用階層を示す最小使用階層情報である。また、最小使用階層とは、最大ブロックサイズ内で使用されている一番浅い深度を示す。言い換えると、最小使用階層とは、分割パターンに含まれるブロックのうち、最も浅いブロックの階層である。
 一方、D1typeのうち0にセットされているものが無い場合(ステップS509でNO)、次に、分割情報記述部112は、D2typeの少なくとも1つが0にセットされているかどうかを判定する(ステップS511)。D2typeの少なくとも1つが0にセットされている場合(ステップS511でYES)、Depth=2のサイズのブロックのうち、分割しないブロックがあることを示す。よって、分割情報記述部112は、変数“used_min_depth”に対して、Depth=2を示す“2”をセットする(ステップS512)。
 また、D2typeのうち0とセットされているものが無い場合(ステップS511でNO)、Depth=2のサイズのブロックの全てが分割されている。よって、分割情報記述部112は、変数“used_min_depth”に対して、Depth=3を示す“3”をセットする(ステップS513)。
 分割情報記述部112は、上記に示すように、“used_max_depth”を決定する。また、分割情報記述部112は、“used_max_depth=3”となる場合のみ、“used_min_depth”を決定する。さらに、分割情報記述部112は、“used_max_depth”と“used_min_depth”に基づき、分割情報130に含まれる分割モード情報のうち、可変長符号化部109で可変長符号化する分割モード情報130Aを決定する。そして、分割情報記述部112は、“used_max_depth”と“used_min_depth”と、決定した分割モード情報130Aとを含む分割情報131を生成し、生成した分割情報131を可変長符号化部109に対して出力する。
 ここで、図6A~図6Cを用いて可変長符号化部109で符号化される信号について詳しく説明する。
 図6A~図6Cはそれぞれ異なるブロック分割の結果に対する分割情報130及び131を示す模式図である。
 まず、図6Aのブロック分割結果の場合について説明する。この場合、分割情報130は、64×64ブロックに対して“1”、32×32ブロックに対して“0101”、32×32ブロックで“1”(分割する)である2つの16×16ブロックに対してそれぞれ、“0000”、“0000”を分割モード情報として含む。また、分割情報記述部112によって、この場合の“used_max_depth”は“2”であることが決められる。この場合、分割された結果の最大の階層が2であることから、16×16ブロックに対する分割なしという情報“0000”、“0000”は不要である。そのため、分割情報記述部112は、32×32ブロックに対する分割モード情報“0101”のみを符号化する分割モード情報130Aに決定する。そして、可変長符号化部109は、“used_max_depth”と32×32ブロックに対する分割モード情報“0101”とを含む分割情報131に対して可変長符号化処理を行う。
 ここでの例では、分割モード情報は分割する(1)、及びしない(0)を示す情報として扱っているため、分割情報130のビット長は13ビットで表される。一方、分割情報記述部112により最大使用階層を決定することにより、可変長符号化部109で符号化される分割情報131は、分割モード情報4ビットと、“used_max_depth”とである。ここで“used_max_depth”は、0から3まで(ここでの例は、階層3が最大)と決まっているため、2ビットで表現することが可能である。つまり、この場合、13ビットの情報を6ビットで表現できる。
 次に、図6Bに示す別のブロック分割結果の場合について説明する。前述と同様に、分割情報130は、64×64ブロックに対して“1”、32×32ブロックに対して“1111”、32×32ブロックで“1”(分割する)である4つの16×16ブロックに対してそれぞれ、“0000”、“0001”、“0000”、“1100”を分割モード情報として含む。また、分割情報記述部112によって、この場合の“used_max_depth”は“3”であることが決められ、“used_min_depth”は“2”であることが決められる。この場合、分割された結果の最小の階層が2であることから、32×32ブロックに対する分割ありという分割モード情報“1111”は不要である。そのため、分割情報記述部112は、16×16ブロックに対する4つの分割モード情報のみを符号化する分割モード情報130Aに決定する。そして、可変長符号化部109は、“used_max_depth”と“used_min_depth”と16×16ブロックに対する分割モード情報“0000”、“0001”、“0000”、“1100”とを含む分割情報131に対して可変長符号化処理を行う。
 図6Aの場合と同様にビット長について考察すると、分割情報130のビット長は21ビットである。一方、可変長符号化部109で符号化される分割情報131は、分割モード情報16ビットと、“used_max_depth”と“used_min_depth”とになる。ここで“used_max_depth”は前述のように2ビットである。また、“used_mim_depth”は1から3までと決まっているため、1~2ビットで表現することが可能である。よって、この場合、21ビットの情報を20ビットで表現できる。
 次に、図6Cに示す別のブロック分割結果の場合について説明する。前述と同様に、分割情報130は、64×64ブロックに対して“1”、32×32ブロックに対して“1111”、32×32ブロックで“1”(分割する)である4つの16×16ブロックに対してそれぞれ、“1111”、“1111”、“1111”、“1111”を分割モード情報として含む。また、分割情報記述部112によって、この場合の“used_max_depth”は“3”であることが決められ、“used_min_depth”は“3”であることが決められる。この場合、分割された結果の最小の階層が3であることから、32×32ブロック、及び16×16ブロックに対する分割ありという分割モード情報“1111”は不要である。そのため、可変長符号化部109では、“used_max_depth”と“used_min_depth”とを含む分割情報131に対して可変長符号化処理を行う。
 図6A及び図6Bの場合と同様にビット長について考察する。分割情報130のビット長は21ビットで表される。それを、分割情報記述部112により最大使用階層及び最小使用階層を決定することにより、可変長符号化で符号化される分割情報131は、“used_max_depth”と“used_min_depth”とになる。ここで“used_max_depth”は前述のように2ビットであり、“used_max_depth”は1~2ビットである。よって、この場合、21ビットの情報を4ビットで表現できる。
 なお、可変長符号化時に統計情報を用い、頻繁に発生する信号に対して短いビット長を割り当て、あまり発生しない信号に対して長いビット長を割当ててもよい。また、算術符号化のような動的な確率モデルを用いて可変長符号化してもよい。つまり、上述したビット長の差分は参考値であるが、本実施の形態に係る分割情報記述方法を用いることにより、大きく符号量が削減できる可能性が高いことがわかる。
 前述のように、予測部107は、既に符号化済みの画像信号である復号画像信号127から予測画像信号128を生成する。そして、予測部107は、生成した予測画像信号128を差分部101及び加算部106に対して出力する。
 差分部101は、入力画像信号120を分割した信号である分割画像信号121と予測画像信号128の差分を算出することで差分信号122を生成し、生成した差分信号122を変換部102に対して出力する。
 変換部102は、差分信号122に対して変換処理を施すことで変換係数123を生成し、生成した変換係数123を量子化部103に対して出力する。
 量子化部103は、変換係数123に対して量子化処理を施すことで量子化変換係数情報124を生成し、生成した量子化変換係数情報124を可変長符号化部109及び逆量子化部104に対して出力する。
 逆量子化部104は、量子化変換係数情報124に逆量子化処理を施すことで変換係数125を生成し、生成した変換係数125を逆変換部105に対して出力する。逆変換部105は、変換係数125に対して逆変換処理を施すことで復号残差画像信号126を生成し、生成した復号残差画像信号126を加算部106に対して出力する。
 加算部106は、復号残差画像信号126と予測画像信号128とを加算することで復号画像信号127を生成し、生成した復号画像信号127を予測部107に対して出力する。
 可変長符号化部109は、符号化対象となる信号である量子化変換係数情報124、符号化制御信号132及び分割情報131を、信号の種別に応じて可変長符号化することで符号列140を生成する。
 なお、上記の分割情報記述方法の符号列140の構造については、実施の形態4で詳しく説明する。
 また、上記の分割パターンの決定方法については一例であり、これに限らない。例えば既に符号化済みの周辺のブロックの分割結果を用いてもよい。また、既に符号化済みの別のフレームの分割結果を用いてもよい。これら場合の詳細については、実施の形態3で詳しく説明する。
 なお、本実施の形態では、符号化単位であるマクロブロックの分割について説明したが、本発明はこれに限らない。例えば、変換部102によって変換処理を行う単位を同様に表記してもよい。この場合の詳細については、実施の形態4で詳しく説明する。
 なお、上記の説明ではブロックを4分割するか、分割しないかの2つのタイプのみを用いる場合を説明したが、本発明はこれに限らない。例えば、非特許文献1の場合と同様に、正方形ではない形状(16×8、8×16)に分割する場合であっても、本発明を適用することができる。この場合の詳細については、実施の形態5で詳しく説明する。
 なお、前述の可変長符号化部109で算術符号を用いる場合、既に符号化済みのブロックの形状情報、及び/又は、最大使用階層、及び/又は、最小使用階層の情報に基づき算術符号に用いる確率モデルを切り替えてもよい。これにより、さらに符号化効率を向上することが期待できる。
 なお、前述の可変長符号化部109で可変長符号テーブルを用いる場合、前述のビット長演算で、分割情報の削減幅が大きい場合の最大使用階層、及び/又は、最小使用階層の情報に対して、長いビット長を割り当て、前記削減幅の小さい場合の最大使用階層、及び/又は、最小使用階層の情報に対して、短いビット長を割り当ててもよい。これにより、本実施の形態による符号化効率の向上率をさらに上げることができる。
 なお、本実施の形態の詳細の説明では、最大ブロックサイズを水平64画素×垂直64画素とし、最小ブロックサイズを水平8画素×垂直8画素としたが、本発明は、このサイズに限らず適応することができる。
 (実施の形態2)
 本発明の実施の形態2では、上述した画像符号化装置100により生成された符号列140を復号する画像復号装置200について説明する。
 図7は、本実施の形態に係る分割情報復元部207を用いた画像復号装置200のブロック図である。図7に示す画像復号装置200は、可変長復号部201と、復号制御部202と、逆量子化部203と、逆変換部204と、予測部205と、加算部206と、分割情報復元部207とを備える。なお、予測部205は内部にメモリを備えていても良い。
 符号列140は、本発明の実施の形態1に係る画像符号化装置100により生成された符号列である。この符号列140は、可変長復号部201に入力される。
 可変長復号部201は、符号列140に含まれる分割情報を復号する。具体的には、可変長復号部201は、符号列140に対して可変長復号を施すことで復号信号221を生成し、生成した復号信号221を分割情報復元部207と復号制御部202と逆量子化部203とに対して出力する。なお、可変長復号部201は、分割情報復元部207により得られる分割情報226に基づく分割単位で処理を行う。
 復号信号221が量子化された変換係数である場合、逆量子化部203は、復号信号221に逆量子化を施すことで変換係数222を生成する。逆変換部204は、変換係数222に逆変換を施すことで復号残差画像信号223を生成し、生成した復号残差画像信号223を加算部206に対して出力する。
 また、復号信号221が予測方法を示す予測画像生成関連情報225である場合、復号制御部202は分割情報復元部207より取得される分割情報226と、予測画像生成関連情報225とを予測部205に対して出力する。ここで、予測画像生成関連情報225とは、画像符号化装置100における符号化制御信号132に対応し、例えば、予測モード及び予測情報を含む。
 予測部205は、既に復号済みの復号画像信号(出力画像信号240)と、復号制御部202より得られる予測画像生成関連情報225とを用いて、分割情報226に基づく分割単位で、予測画像信号224を生成し、生成した予測画像信号224を加算部206に対して出力する。加算部206は、復号残差画像信号223と予測画像信号224とを加算することで復号画像信号(出力画像信号240)を生成する。
 なお、復号信号221が分割復号情報である場合、分割情報復元部207は、分割復号情報から分割情報226に復元することで分割パターンを判定する。ここで、分割復号情報とは、画像符号化装置100における分割情報131に相当する。また、分割情報226は、分割パターンを示し、実施の形態1における分割情報130に相当する。この処理の流れについて図8を用いて詳しく説明する。
 分割情報復元部207は、分割復号情報のうちの“used_max_depth”の値を取得する(ステップS801)。“used_max_depth”が0の場合(ステップS802でNO、かつステップS803でNO)、分割情報復元部207は、最大のブロックサイズを分割しないと決定する(ステップS804)。一方、“used_max_depth”が1の場合(ステップS802でNO、かつステップS803でYES)、分割情報復元部207は、全てのブロックをDepth=1のサイズ(最大ブロックを4分割したサイズ)に分割すると決定する(ステップS805)。
 “used_max_depth”が2の場合(ステップS802でYES、かつステップS806でNO)、分割情報復元部207は、Depth1のブロックに対してカウンタを0、1、2、3の順に変化させ、各ブロックの“D1type”を取得する(ステップS807~ステップS809)。
 分割情報復元部207は、ここで得られるD1typeに基づき、最大ブロックを分割する(ステップS810)。なお、D1typeは、最大ブロックを4分割したそれぞれのブロックに対して、例えばZ字の順番で分割パターンを指定する情報である。分割情報復元部207は、D1typeに基づき、4分割した各ブロックを分割するか分割しないかを判断することで、最大ブロックの分割パターンを決める。
 “used_max_depth”が3の場合(ステップS802でYES、かつステップS806でYES)、分割情報復元部207は、“used_min_depth”を取得する(ステップS811)。
 “used_min_depth”が3の場合(ステップS812でNO、かつステップS813でNO)、分割情報復元部207は、全てのブロックをDepth=3のサイズ(最大ブロックを64分割したサイズ)に分割すると決定する(ステップS814)。
 “used_min_depth”が2の場合(ステップS812でNO、かつステップS813でYES)、分割情報復元部207は、Depth1のブロックに対してカウンタを0、1、2、3の順に変化させ、かつ、それぞれDepth1より1段深い階層であるそれぞれのDepth2のブロックに対してカウンタを0、1、2、3の順に変化させることで、Depth2の各ブロックの“D2type”を順番に取得する(ステップS815~ステップS819)。そして、分割情報復元部207は、D1typeが全て1であるとみなして、D2typeに基づき、最大ブロックを分割する(ステップS820)。具体的には、分割情報復元部207は、最大ブロックをDepth=2のサイズで全て分割する。そして、分割情報復元部207は、それぞれのブロックに対して、D2typeに基づいて、当該ブロックを分割するか、分割しないかを判断することで、最大ブロックの分割パターンを決める。
 “used_min_depth”が1の場合(ステップS812でYES)、分割情報復元部207は、Depth1のブロックに対してカウンタを0、1、2、3の順に変化させて繰り返し処理(ステップS821とステップS827で囲まれる領域の処理)を行うことで、Depth1の各ブロックの“D1type”を取得する(ステップS822)。
 なお、“D1type”が0ではない場合(ステップS823でNO)、分割情報復元部207は、Depth2のブロックに対してカウンタを0、1、2、3の順に変化させて繰り返し処理(ステップS824とステップS826で囲まれる領域の処理)を行うことで、Depth2の各ブロックの“D2type”を取得する(ステップS825)。その後、分割情報復元部207は、Depth1のカウンタを1つ進める。
 一方、“D1type”が0である場合(ステップS823でYES)、分割情報復元部207は、Depth1のカウンタを1つ進める(ステップS827)。全てのループが終了した段階で、階層毎のDepth1及びDepth2に対応する各ブロックを分割するかしないかを示す情報であるD1type及びD2typeに基づき、分割情報復元部207は、最大ブロックの分割パターンを決める(ステップS828)。
 上記のような処理を行うことで、実施の形態1に係る符号化方法で符号化した符号列140を正しく復号処理することができる。このように、本発明は、符号化効率の高い符号化方法、及び復号方法を実現することができる。
 (実施の形態3)
 本実施の形態では、分割情報記述部112が分割パターンを予測する場合について説明する。
 分割情報記述部112は、既に符号化済みのブロックの分割パターンを用いて、処理対象のブロックの分割パターンの予測値である予測分割パターンを推定する。また、分割制御部111は、推定された予測分割パターンを用いて、処理対象のブロックの分割パターンを決定する。
 なお、分割情報記述部112は、処理対象のブロックと同一フレーム内の、当該処理対象のブロックに隣接するブロックの分割パターンを用いて、当該処理対象のブロックの分割パターンを推定してもよい、時間的に別のフレームに含まれるブロックの分割パターンを用いて、処理対象のブロックの分割パターンを推定してもよい。
 まず隣接するブロックの既に符号化及び復号済みのブロック(以下、隣接ブロックとも記す)の分割パターンから処理対象のブロック(以下、対象ブロックとも記す)の分割パターンを予測する方法について図9A~図9L及び図10を用いて説明する。図9A~図9Lは、隣接ブロックの分割情報から対象ブロックの分割情報を予測する場合を説明するための模式図である。
 図9A~図9Lは、対象ブロック900に対して、隣接ブロック901及び902を用いて予測する場合の例である。ここで図9A、図9E及び図9Iはそれぞれ対象ブロック900内の隣接ブロックを予測に用いない場合のうち、左隣接のブロックを優先した場合の例を示す。図9B、図9F及び図9Jはそれぞれ対象ブロック900内の隣接ブロックを予測に用いない場合のうち、上隣接のブロックを優先した場合の例を示す。図9C、図9G及び図9Kはそれぞれ対象ブロック900内の隣接ブロックを予測に用いる場合のうち、左隣接のブロックを優先した場合の例を示す。図9D、図9H及び図9Lはそれぞれ対象ブロック900内の隣接ブロックを予測に用いる場合のうち、上隣接のブロックを優先した場合の例を示す。
 また図9A~図9Hは特に予測に制限を設けない場合の例を示す。図9I~図9Lは最大予測階層ブロック(この場合はDepth=2の例)を指定した場合の例を示す。
 図10は、本実施の形態に係る分割パターンの予測手順を示すフローチャートである。
 ここで、分割情報記述部112は、予測処理を、分割パターンの決定処理の順番と同じ(例えばZ字の順番)に行っていき、階層(Depth)に関しては上位(Depth=0)から下位(Depth=最小ブロックサイズのある階層)への順番で行う。
 まず、分割情報記述部112は、対象ブロックに対して隣接する処理済みの隣接ブロックの分割情報を取得する(ステップS1001)。このとき取得する分割情報は、対象ブロックと同一階層の隣接ブロックの分割情報である。また、分割情報記述部112は、同一階層の隣接ブロックの分割情報が無い場合には、対象ブロックの分割情報を“分割なし”に決定する。
 上側及び左側の隣接ブロックの分割情報のうち両方、又は、上側及び左側のうち優先されている側が“分割なし”を示す場合(ステップS1002でYES)、分割情報記述部112は、対象ブロックを分割しないと予測する(ステップS1003)。一方、上側及び左側のうち優先されている側が“分割あり”を示す場合(ステップS1002でNO)、分割情報記述部112は、対象ブロックを分割すると予測する(ステップS1004)。また、分割情報記述部112は、対象ブロックを分割すると予測した場合には、さらに次の階層に対して同じ処理を施す。
 上側隣接及び左側隣接のうちどちら側を優先するかどうかを示す情報は、後述のヘッダ情報で送っても良いし、あらかじめ符号化側及び復号側で決めておいても良い。
 また、図9A、図9B、図9E、図9F、図9I及び図9Jの場合のように、隣接ブロックの分割情報を取得する場合、予測対象となる最大のブロックサイズ(Depth=0で示されるサイズ)中では処理済みとしないとしてもよい。つまり、最大のブロックサイズである対象ブロック900に含まれる、分割されたブロックが対象ブロックの場合には、分割情報記述部112は、対象ブロック900に含まれる隣接ブロックの分割情報を用いず、隣接ブロック901及び902に含まれる隣接ブロックの分割情報のみを用いて予測を行う。この場合、上側及び左側の隣接ブロックの分割情報によってのみ分割予測をする場合があるため、処理速度を上げることができる。
 一方、予測は処理順と同じ(例えばZ字の順番)に行うため、図9C、図9D、図9G、図9H、図9K及び図9Lの場合のように、最大のブロックサイズ内の隣接ブロックの分割予測情報を利用することもできる。この場合、予測の精度を上げることができるため、さらなる符号量削減が期待できる。
 さらに、予測は処理順と同じであるため、既に決定された分割情報を利用することもできる。この場合、予測の精度をさらに上げることができるため、さらなる符号量削減が期待できる。
 なお、最大ブロックサイズ内の処理済みの分割予測情報を使うか、使わないか、既に処理済みの分割情報を使うか、使わないかを示す情報は、その少なくとも一方を後述のヘッダ情報で送っても良いし、あらかじめ符号化側及び復号側で決めておいても良い。
 次に、既に符号化及び復号済みの別のフレームのブロックの分割パターンから対象ブロックの分割パターンを予測する方法について図11A及び図11Bを用いて説明する。図11A及び図11Bは、既に符号化及び復号済みのフレームのブロックの分割パターンから対象ブロックの分割パターンを予測する場合を説明するための模式図である。図11Aは既に符号化及び復号済みの処理済フレーム1101内のブロック分割結果と、符号化及び復号対象である対象フレーム1102の対象ブロックの分割予測結果とを示す模式図である。
 ここで、図11Aに示す分割形状相対位置情報とは、どの予測フレームのどのブロックを予測に用いるかを示す情報である。なお、図11Bに示すように、対象フレーム1103に対して時間的に前方の処理済フレーム1104又は後方の処理済フレーム1105の何れかの分割結果を用いることで、効率よく予測を行うことができる。
 なお、分割情報記述部112は、分割対象ブロック(最大ブロックサイズ)に対して、予め決められた方法で算出される画面内予測で使用される動きベクトル情報のうちの代表動きベクトル情報に基づいて分割形状相対位置情報を決めても良い。例えば、分割情報記述部112は、隣接するブロックの動きベクトルの中央値を計算するとともに、参照フレームに対しても同様に動きベクトルの中央値を計算する。そして、分割情報記述部112は、算出した中央値に基づく動きベクトルを分割形状相対位置情報としてもよい。
 または、分割情報記述部112は、分割対象ブロックが動きベクトルを含む場合には、その先頭の動きベクトルと参照フレーム情報とをそのまま、分割形状相対位置情報としてもよい。これらの場合には、予測のための追加情報を伝送する必要がないため、符号量を削減することができる。なお、この場合にも、画像符号化装置100は、分割形状相対位置情報を別途伝送してもよい。例えば、画像符号化装置100は、分割対象ブロックの分割情報を先に導出する。そして、画像符号化装置100は、既に符号化済みのフレームの中から分割対象ブロックと同じ、又は最も近い分割情報を有するブロックと、当該分割対象ブロックとの相対位置情報を分割形状相対位置情報として算出する。そして、画像符号化装置100は、この分割形状相対位置情報を例えば画面内予測の際に予測部107で用いられる動きベクトル情報と同様に符号化及び復号してもよい。
 次に、図12A及び図12Bを用いて、予測した分割情報を用いてどのように符号化した分割情報を伝送し(図12A)、どのように分割情報を復元する(図12B)かを説明する。
 分割情報記述部112は、分割パターンと予測分割パターンとの差分を算出し、当該差分を含む分割情報131を生成する。以下、その詳細を説明する。
 図12Aは、実施の形態3に係る分割情報記述部112における動作を説明するフローチャートである。なお、分割情報記述部112は、記述処理を、分割パターンの決定処理の順番と同じ(例えばZ字の順番)に行っていき、階層(Depth)に関しては上位(Depth=0)から下位(Depth=最小ブロックサイズのある階層)への順番で行う。
 まず、分割情報記述部112は、対象ブロックに対して分割情報と、予測した分割情報(以下、予測分割情報)とを取得する(ステップS1201)。次に、分割情報記述部112は、実施の形態1における最大使用階層(used_max_depth)を導出した処理と同様に、最大差分階層を導出する(ステップS1202)。ここで、最大差分階層は、どの階層から分割情報と予測分割情報とが異なるかを示す情報である。言い換えると、最大差分階層は、分割情報と予測分割情報とが異なる最上位の階層を示す情報である。例えば、この導出方法としては、予測分割情報と分割情報とが等しい場合を0、等しくない場合を1と置き換え、図5のフローチャートをたどることで導出できる。また、分割情報記述部112は、最大差分階層よりも下の階層(小さいブロック)が有る場合、その階層に対する分割情報をセットする(ステップS1203)。
 なお、この記述方法は一例であり、本発明に係る予測方法を用いていれば、記述方法についてはこれに限らないものとする。
 図12Bは、図12Aの手順で符号化された分割情報の復元動作を説明するフローチャートである。
 まず、分割情報復元部207は、分割対象のブロックに対する最大差分階層情報及び予測分割情報を取得する(ステップS1204)。ここで、最大差分階層情報は、最大差分階層を示す情報であり、画像符号化装置100により生成された符号列140に含まれている。また、予測分割情報は、上述した画像符号化装置100での処理と同様の処理を行うことにより、画像復号装置200で生成される。
 次に、分割情報復元部207は、最大差分階層より上の階層(予測と等しいとされている情報)に対する分割情報に取得した予測分割情報をセットする(ステップS1205)。
 最後に、分割情報復元部207は、最大差分階層より下の階層の分割情報を復元する(ステップS1206)ことにより、対象ブロックの分割情報を復元することができる。ここで、最大差分階層より下の階層の分割情報は、画像符号化装置100により生成された符号列140に含まれている。
 (実施の形態4)
 本実施の形態では、分割情報記述部112が分割関連情報をストリームのヘッダ情報として記録し、符号化及び復号する方法を説明する。
 図13は、本実施の形態に係る画像符号化方法における符号列140の構成を示す図である。図13(a)は少なくとも1画面で構成される動画シーケンスに対応する符号化信号を示す。図13(a)に示すように、符号列140は、全画面のデータであるシーケンスデータSeqDataと、全画面の全データに共通のデータであるシーケンスヘッダSeqHdrとを含む。シーケンスヘッダSeqHdrは、分割関連情報SepInfoを含む。
 分割関連情報SepInfoは、例えば、実施の形態1で説明した手法を用いるか、分割情報(Dn_typeの情報)のみを符号化するかを切替えるためのフラグである。なお、分割関連情報SepInfoは、実施の形態3で説明した、分割パターンの予測に関する情報であってもよい。
 図13(b)はシーケンスデータSeqDataの構造を示す。シーケンスデータSeqDataは、複数のピクチャ信号PicStrを含む。各ピクチャ信号PicStrは、1画面に対応する符号化信号である。言い換えると、各ピクチャ信号PicStrは、ピクチャの符号化信号である。
 図13(c)はピクチャ信号PicStrの構造を示す。ピクチャ信号PicStrは、1画面のデータであるピクチャデータPicDataと、1画面全体に共通のデータであるピクチャヘッダPicHdrとを含む。例えば、ピクチャヘッダPicHdrは分割関連情報SepInfoを含んでもよい。
 図13(d)はピクチャデータPicDataの構造を示す。ピクチャデータPicDataは、複数のスライス信号SliceStrを含む。各スライス信号SliceStrは、複数のブロック単位の集合であるスライスの符号化信号である。
 図13(e)はスライス信号SliceStrの構造を示す。スライス信号SliceStrは、1スライスのデータであるスライスデータSliceDataと、1スライスの全データに共通のデータであるスライスヘッダSliceHdrとを含む。スライスヘッダSliceHdrは、分割関連情報SepInfoを含んでもよい。これにより、画像符号化装置100においてスライスデータSliceData単位で適切に処理方法を切替えた場合でも、画像復号装置200は、受信した符号化信号を正しく復号できる。
 なお、シーケンスデータSeqDataに複数のピクチャ信号PicStrが含まれている場合には、全てのピクチャヘッダPicHdrが分割関連情報SepInfoを含む代わりに、一部のピクチャヘッダPicHdrのみが分割関連情報SepInfoを含んでもよい。
 同様に、ピクチャデータPicDataに複数のスライス信号SliceStrが含まれている場合は、全てのスライスヘッダSliceHdrが分割関連情報SepInfoを含む代わりに、一部のスライスヘッダSliceHdrのみが分割関連情報SepInfoを含んでもよい。分割関連情報SepInfoの内容が各スライスで共通であれば、図13(e)に示すようにスライスヘッダSliceHdrに分割関連情報SepInfoが無い場合は、画像復号装置200は、対象スライスの分割関連情報として他のスライスのスライスヘッダSliceHdrに含まれる分割関連情報SepInfoを代用する。これにより、分割関連情報SepInfoが繰り返し含まれることによるビット数の増加を抑えることが可能である。
 また、図13(e)に示すように、スライスデータSliceDataは、複数の最大ブロックサイズデータLCTBを含む。各最大ブロックサイズデータLCTBは、最大ブロックサイズのブロック単位の情報である。また、各最大ブロックサイズデータLCTBは、最大ブロックサイズヘッダLCTBHdrと、ブロック信号CTBsとを含む。また、ブロック信号CTBsは、階層化された複数のブロックデータCTBを含む。
 ここで、最大ブロックサイズヘッダLCTBHdrは、最大使用階層、最小使用階層、又は最大差分階層を含む。なお、最大ブロックサイズヘッダLCTBHdrに、全ての分割情報を含まれても良いし、各ブロックデータCTBの中に該当するブロックに対する分割情報がそれぞれ含まれてもよい。
 図13(f)はブロックデータCTBの構造を示す。ブロックデータCTBの一部は、変換構造のヘッダ情報である変換ブロックヘッダTUHdrと、変換ブロックTUsとを含む。この変換ブロックTUsにおいても、前述のブロック(CUs)と同様に、分割することが可能である。つまり、本発明を変換ブロックに対して適応してもよい。この場合、様々な大きさの変換を実施でき、かつその形状の伝送のための符号量を削減することができる。
 また、符号列140が連続したビットストリームでなく、細切れのデータの単位であるパケット等を用いて伝送される場合は、ヘッダ部とヘッダ以外のデータ部とを分離して別に伝送してもよい。その場合は、図13のようにヘッダ部とデータ部とが1つのビットストリームとなることはない。しかしながら、パケットを用いる場合は、ヘッダ部とデータ部とを伝送する順序が連続しなくても、対応するデータ部とヘッダ部とが別のパケットで伝送されるだけである。つまり、符号列140が1つのビットストリームとなっていなくても、その概念は図13で説明したビットストリームの場合と同じである。
 また、本発明に係る復号方法において、上記の手法で符号化された符号列140は、次の手順で復号される。まず、画像復号装置200は、シーケンスヘッダSeqHdrに含まれる分割関連情報SepInfoを取得し、取得した分割関連情報を保持する。次に、画像復号装置200は、ピクチャヘッダPicHdrに含まれる分割関連情報SepInfoを取得し、保持している分割関連情報を取得した分割関連情報で更新する。ここで、分割関連情報SepInfoが無い場合、又は、その一部が無い場合には、画像復号装置200は、シーケンスヘッダSeqHdrに含まれていた分割関連情報をそのまま保持する。同様に、画像復号装置200は、スライスヘッダSliceHdr含まれる分割関連情報SepInfoを取得し、保持している分割関連情報を取得した分割関連情報で更新する。次に、画像復号装置200は、最大ブロックサイズデータLCTBを取得し、最大ブロックサイズヘッダLCTBHdrに含まれる、分割に必要な情報(最大使用階層、最小使用階層又は最大差分階層と、分割情報)を取得する。そして、画像復号装置200は、取得した情報を用いて以降のブロック分割形状を決定する。
 このようにすることにより、画像復号装置200は、上記符号列140を正しく復号することができる。
 (実施の形態5)
 本実施の形態では、実施の形態1から4に示す本発明に係る符号化方法及び復号方法の、さらに別の変形例について説明する。
 図14A~図14Cは、複数のブロック形状を用いた分割方法を説明するための模式図である。
 前述では、簡単のために、ブロックを正方形の4つのブロックに分割する場合について説明したが、ブロックを2つの長方形に分割する場合を加えても良い。なお、この場合、分割された正方形以外のブロックは、さらに分割されない。
 例えば、図14A~図14Cに示すように、Dn_typeで示される分割モード情報は、0(分割しない)、1(分割する)の2値の情報から、0(分割しない)、1(4分割する)、2(水平方向に2分割する)、3(垂直方向に2分割)の4値の情報に変わる。このように表記することによっても、本発明の手法を用いることにより、分割情報を少ない符号量で符号化することができる。
 具体的に図14Aに示すブロック分割形状を分割情報記述部112が分割情報として記述する例を説明する。図14Aに示すブロック分割形状を上記に示すパラメータで表記すると、図14Bのようになる。このように、Dn_typeにそれぞれの分割モード情報が設定される。この場合、実施の形態1の方法により、最大使用階層が2である。また、分割情報記述部112は、当該最大使用階層と、Depth=1(水平32画素×垂直32画素のブロック)に対する分割モード情報130Aとを、符号化する分割情報131として記述する。これにより、分割情報を少ない符号量で符号化することが可能となる。また、画像復号装置200は、Dn_typeの分割情報を復号し、符号化と同じ形状ルールを用いることにより、分割形状を復元できる。
 図15A~図15Cは、さらに分割情報を削減することが出来ることを説明するための模式図である。例えば、図15Aに示すブロック形状の例では、前述のように、最大使用階層が2であり、Depth=1(水平32画素×垂直32画素のブロック)に対する分割モード情報が(0、0、0、1)である。ここで、最大使用階層が2であるため、Depth=1(水平32画素×垂直32画素のブロック)には少なくとも1つの分割するブロックが含まれるはずである。
 このため、分割モード情報(0、0、0)を記述した段階で、次の1を記述しなくても、先にDepth=1が符号化及び復号されるため、最後の分割モード情報が1であることがわかる。つまり、分割情報記述部112は、処理対象の階層が最大使用階層より浅く、かつ、符号化順(分割処理順)で最後のブロックのみを分割する場合には、当該最後のブロックの分割モード情報を含まない分割情報131を生成する。
 このように、分割情報記述部112は、最大使用階層を用いて、各ブロックをさらに分割するか、分割しないかを確定できる場合、当該ブロックの分割パターンを示す情報を、分割情報130から取り除く。そして、可変長符号化部109は、上記の情報が取り除かれた後の分割情報131を符号化する。この処理によりさらに符号量を減らすことができる。
 同じように、図15Bに示すブロック形状の例では、最大使用階層3、かつ最小使用階層1であり、Depth=1(水平32画素×垂直32画素のブロック)、及びDepth=2(水平16画素×垂直16画素のブロック)に対する分割モード情報がそれぞれ(0、0、0、1)である。前述のように共に(0、0、0)としても復号可能であるため、符号化しなくてよい。これにより、2つの分割モード情報を符号化しなくてよくなり、さらに符号化効率を向上することができる。
 また、図15Cに示すブロック形状の例では、同様に、最大使用階層3、かつ最小使用階層1である。最小使用階層が1とわかっているため、Depth=1(水平32画素×垂直32画素のブロック)には少なくとも1つの分割しないブロックを含むはずである。そのため、Depth=1(水平32画素×垂直32画素のブロック)に対する分割モード情報(1、1、1、0)のうち、最後の1つについては、0であることがわかっている。よって、図15A及び図15Bの場合と同じように、この情報を符号化しなくてよい。つまり、分割情報記述部112は、処理対象の階層が最小使用階層であり、かつ、符号化順(分割処理順)で最後のブロックのみが分割されない場合には、当該最後のブロックの分割モード情報を含まない分割情報131を生成する。
 このように、分割情報記述部112は、最小使用階層を用いて、各ブロックをさらに分割するか、分割しないかを確定できる場合、当該ブロックの分割パターンを示す情報を、分割情報130から取り除く。そして、可変長符号化部109は、上記の情報が取り除かれた後の分割情報131を符号化する。これにより、符号化効率を向上させることができる。
 (実施の形態6)
 上記各実施の形態で示した動画像符号化方法(画像符号化方法)または動画像復号化方法(画像復号方法)の構成を実現するためのプログラムを記憶メディアに記録することにより、上記各実施の形態で示した処理を独立したコンピュータシステムにおいて簡単に実施することが可能となる。記憶メディアは、磁気ディスク、光ディスク、光磁気ディスク、ICカード、半導体メモリ等、プログラムを記録できるものであればよい。
 さらにここで、上記各実施の形態で示した動画像符号化方法(画像符号化方法)や動画像復号化方法(画像復号方法)の応用例とそれを用いたシステムを説明する。当該システムは、画像符号化方法を用いた画像符号化装置、及び画像復号方法を用いた画像復号装置からなる画像符号化復号装置を有することを特徴とする。システムにおける他の構成について、場合に応じて適切に変更することができる。
 図16は、コンテンツ配信サービスを実現するコンテンツ供給システムex100の全体構成を示す図である。通信サービスの提供エリアを所望の大きさに分割し、各セル内にそれぞれ固定無線局である基地局ex106、ex107、ex108、ex109、ex110が設置されている。
 このコンテンツ供給システムex100は、インターネットex101にインターネットサービスプロバイダex102および電話網ex104、および基地局ex106からex110を介して、コンピュータex111、PDA(Personal Digital Assistant)ex112、カメラex113、携帯電話ex114、ゲーム機ex115などの各機器が接続される。
 しかし、コンテンツ供給システムex100は図16のような構成に限定されず、いずれかの要素を組合せて接続するようにしてもよい。また、固定無線局である基地局ex106からex110を介さずに、各機器が電話網ex104に直接接続されてもよい。また、各機器が近距離無線等を介して直接相互に接続されていてもよい。
 カメラex113はデジタルビデオカメラ等の動画撮影が可能な機器であり、カメラex116はデジタルカメラ等の静止画撮影、動画撮影が可能な機器である。また、携帯電話ex114は、GSM(登録商標)(Global System for Mobile Communications)方式、CDMA(Code Division Multiple Access)方式、W-CDMA(Wideband-Code Division Multiple Access)方式、若しくはLTE(Long Term Evolution)方式、HSPA(High Speed Packet Access)の携帯電話機、またはPHS(Personal Handyphone System)等であり、いずれでも構わない。
 コンテンツ供給システムex100では、カメラex113等が基地局ex109、電話網ex104を通じてストリーミングサーバex103に接続されることで、ライブ配信等が可能になる。ライブ配信では、ユーザがカメラex113を用いて撮影するコンテンツ(例えば、音楽ライブの映像等)に対して上記各実施の形態で説明したように符号化処理を行い(即ち、本発明の画像符号化装置として機能する)、ストリーミングサーバex103に送信する。一方、ストリーミングサーバex103は要求のあったクライアントに対して送信されたコンテンツデータをストリーム配信する。クライアントとしては、上記符号化処理されたデータを復号化することが可能な、コンピュータex111、PDAex112、カメラex113、携帯電話ex114、ゲーム機ex115等がある。配信されたデータを受信した各機器では、受信したデータを復号化処理して再生する(即ち、本発明の画像復号装置として機能する)。
 なお、撮影したデータの符号化処理はカメラex113で行っても、データの送信処理をするストリーミングサーバex103で行ってもよいし、互いに分担して行ってもよい。同様に配信されたデータの復号化処理はクライアントで行っても、ストリーミングサーバex103で行ってもよいし、互いに分担して行ってもよい。また、カメラex113に限らず、カメラex116で撮影した静止画像および/または動画像データを、コンピュータex111を介してストリーミングサーバex103に送信してもよい。この場合の符号化処理はカメラex116、コンピュータex111、ストリーミングサーバex103のいずれで行ってもよいし、互いに分担して行ってもよい。
 また、これら符号化・復号化処理は、一般的にコンピュータex111や各機器が有するLSIex500において処理する。LSIex500は、ワンチップであっても複数チップからなる構成であってもよい。なお、動画像符号化・復号化用のソフトウェアをコンピュータex111等で読み取り可能な何らかの記録メディア(CD-ROM、フレキシブルディスク、ハードディスクなど)に組み込み、そのソフトウェアを用いて符号化・復号化処理を行ってもよい。さらに、携帯電話ex114がカメラ付きである場合には、そのカメラで取得した動画データを送信してもよい。このときの動画データは携帯電話ex114が有するLSIex500で符号化処理されたデータである。
 また、ストリーミングサーバex103は複数のサーバや複数のコンピュータであって、データを分散して処理したり記録したり配信するものであってもよい。
 以上のようにして、コンテンツ供給システムex100では、符号化されたデータをクライアントが受信して再生することができる。このようにコンテンツ供給システムex100では、ユーザが送信した情報をリアルタイムでクライアントが受信して復号化し、再生することができ、特別な権利や設備を有さないユーザでも個人放送を実現できる。
 なお、コンテンツ供給システムex100の例に限らず、図17に示すように、デジタル放送用システムex200にも、上記各実施の形態の少なくとも動画像符号化装置(画像符号化装置)または動画像復号化装置(画像復号装置)のいずれかを組み込むことができる。具体的には、放送局ex201では映像データに音楽データなどが多重化された多重化データが電波を介して通信または衛星ex202に伝送される。この映像データは上記各実施の形態で説明した動画像符号化方法により符号化されたデータである(即ち、本発明の画像符号化装置によって符号化されたデータである)。これを受けた放送衛星ex202は、放送用の電波を発信し、この電波を衛星放送の受信が可能な家庭のアンテナex204が受信する。受信した多重化データを、テレビ(受信機)ex300またはセットトップボックス(STB)ex217等の装置が復号化して再生する(即ち、本発明の画像復号装置として機能する)。
 また、DVD、BD等の記録メディアex215に記録した多重化データを読み取り復号化する、または記録メディアex215に映像信号を符号化し、さらに場合によっては音楽信号と多重化して書き込むリーダ/レコーダex218にも上記各実施の形態で示した動画像復号化装置または動画像符号化装置を実装することが可能である。この場合、再生された映像信号はモニタex219に表示され、多重化データが記録された記録メディアex215により他の装置やシステムにおいて映像信号を再生することができる。また、ケーブルテレビ用のケーブルex203または衛星/地上波放送のアンテナex204に接続されたセットトップボックスex217内に動画像復号化装置を実装し、これをテレビのモニタex219で表示してもよい。このときセットトップボックスではなく、テレビ内に動画像復号化装置を組み込んでもよい。
 図18は、上記各実施の形態で説明した動画像復号化方法および動画像符号化方法を用いたテレビ(受信機)ex300を示す図である。テレビex300は、上記放送を受信するアンテナex204またはケーブルex203等を介して映像データに音声データが多重化された多重化データを取得、または出力するチューナex301と、受信した多重化データを復調する、または外部に送信する多重化データに変調する変調/復調部ex302と、復調した多重化データを映像データと、音声データとに分離する、または信号処理部ex306で符号化された映像データ、音声データを多重化する多重/分離部ex303を備える。
 また、テレビex300は、音声データ、映像データそれぞれを復号化する、またはそれぞれの情報を符号化する音声信号処理部ex304、映像信号処理部ex305(本発明の画像符号化装置または画像復号装置として機能する)を有する信号処理部ex306と、復号化した音声信号を出力するスピーカex307、復号化した映像信号を表示するディスプレイ等の表示部ex308を有する出力部ex309とを有する。さらに、テレビex300は、ユーザ操作の入力を受け付ける操作入力部ex312等を有するインタフェース部ex317を有する。さらに、テレビex300は、各部を統括的に制御する制御部ex310、各部に電力を供給する電源回路部ex311を有する。インタフェース部ex317は、操作入力部ex312以外に、リーダ/レコーダex218等の外部機器と接続されるブリッジex313、SDカード等の記録メディアex216を装着可能とするためのスロット部ex314、ハードディスク等の外部記録メディアと接続するためのドライバex315、電話網と接続するモデムex316等を有していてもよい。なお記録メディアex216は、格納する不揮発性/揮発性の半導体メモリ素子により電気的に情報の記録を可能としたものである。テレビex300の各部は同期バスを介して互いに接続されている。
 まず、テレビex300がアンテナex204等により外部から取得した多重化データを復号化し、再生する構成について説明する。テレビex300は、リモートコントローラex220等からのユーザ操作を受け、CPU等を有する制御部ex310の制御に基づいて、変調/復調部ex302で復調した多重化データを多重/分離部ex303で分離する。さらにテレビex300は、分離した音声データを音声信号処理部ex304で復号化し、分離した映像データを映像信号処理部ex305で上記各実施の形態で説明した復号化方法を用いて復号化する。復号化した音声信号、映像信号は、それぞれ出力部ex309から外部に向けて出力される。出力する際には、音声信号と映像信号が同期して再生するよう、バッファex318、ex319等に一旦これらの信号を蓄積するとよい。また、テレビex300は、放送等からではなく、磁気/光ディスク、SDカード等の記録メディアex215、ex216から多重化データを読み出してもよい。次に、テレビex300が音声信号や映像信号を符号化し、外部に送信または記録メディア等に書き込む構成について説明する。テレビex300は、リモートコントローラex220等からのユーザ操作を受け、制御部ex310の制御に基づいて、音声信号処理部ex304で音声信号を符号化し、映像信号処理部ex305で映像信号を上記各実施の形態で説明した符号化方法を用いて符号化する。符号化した音声信号、映像信号は多重/分離部ex303で多重化され外部に出力される。多重化する際には、音声信号と映像信号が同期するように、バッファex320、ex321等に一旦これらの信号を蓄積するとよい。なお、バッファex318、ex319、ex320、ex321は図示しているように複数備えていてもよいし、1つ以上のバッファを共有する構成であってもよい。さらに、図示している以外に、例えば変調/復調部ex302や多重/分離部ex303の間等でもシステムのオーバフロー、アンダーフローを避ける緩衝材としてバッファにデータを蓄積することとしてもよい。
 また、テレビex300は、放送等や記録メディア等から音声データ、映像データを取得する以外に、マイクやカメラのAV入力を受け付ける構成を備え、それらから取得したデータに対して符号化処理を行ってもよい。なお、ここではテレビex300は上記の符号化処理、多重化、および外部出力ができる構成として説明したが、これらの処理を行うことはできず、上記受信、復号化処理、外部出力のみが可能な構成であってもよい。
 また、リーダ/レコーダex218で記録メディアから多重化データを読み出す、または書き込む場合には、上記復号化処理または符号化処理はテレビex300、リーダ/レコーダex218のいずれで行ってもよいし、テレビex300とリーダ/レコーダex218が互いに分担して行ってもよい。
 一例として、光ディスクからデータの読み込みまたは書き込みをする場合の情報再生/記録部ex400の構成を図19に示す。情報再生/記録部ex400は、以下に説明する要素ex401、ex402、ex403、ex404、ex405、ex406、ex407を備える。光ヘッドex401は、光ディスクである記録メディアex215の記録面にレーザスポットを照射して情報を書き込み、記録メディアex215の記録面からの反射光を検出して情報を読み込む。変調記録部ex402は、光ヘッドex401に内蔵された半導体レーザを電気的に駆動し記録データに応じてレーザ光の変調を行う。再生復調部ex403は、光ヘッドex401に内蔵されたフォトディテクタにより記録面からの反射光を電気的に検出した再生信号を増幅し、記録メディアex215に記録された信号成分を分離して復調し、必要な情報を再生する。バッファex404は、記録メディアex215に記録するための情報および記録メディアex215から再生した情報を一時的に保持する。ディスクモータex405は記録メディアex215を回転させる。サーボ制御部ex406は、ディスクモータex405の回転駆動を制御しながら光ヘッドex401を所定の情報トラックに移動させ、レーザスポットの追従処理を行う。システム制御部ex407は、情報再生/記録部ex400全体の制御を行う。上記の読み出しや書き込みの処理はシステム制御部ex407が、バッファex404に保持された各種情報を利用し、また必要に応じて新たな情報の生成・追加を行うと共に、変調記録部ex402、再生復調部ex403、サーボ制御部ex406を協調動作させながら、光ヘッドex401を通して、情報の記録再生を行うことにより実現される。システム制御部ex407は例えばマイクロプロセッサで構成され、読み出し書き込みのプログラムを実行することでそれらの処理を実行する。
 以上では、光ヘッドex401はレーザスポットを照射するとして説明したが、近接場光を用いてより高密度な記録を行う構成であってもよい。
 図20に光ディスクである記録メディアex215の模式図を示す。記録メディアex215の記録面には案内溝(グルーブ)がスパイラル状に形成され、情報トラックex230には、予めグルーブの形状の変化によってディスク上の絶対位置を示す番地情報が記録されている。この番地情報はデータを記録する単位である記録ブロックex231の位置を特定するための情報を含み、記録や再生を行う装置において情報トラックex230を再生し番地情報を読み取ることで記録ブロックを特定することができる。また、記録メディアex215は、データ記録領域ex233、内周領域ex232、外周領域ex234を含んでいる。ユーザデータを記録するために用いる領域がデータ記録領域ex233であり、データ記録領域ex233より内周または外周に配置されている内周領域ex232と外周領域ex234は、ユーザデータの記録以外の特定用途に用いられる。情報再生/記録部ex400は、このような記録メディアex215のデータ記録領域ex233に対して、符号化された音声データ、映像データまたはそれらのデータを多重化した多重化データの読み書きを行う。
 以上では、1層のDVD、BD等の光ディスクを例に挙げ説明したが、これらに限ったものではなく、多層構造であって表面以外にも記録可能な光ディスクであってもよい。また、ディスクの同じ場所にさまざまな異なる波長の色の光を用いて情報を記録したり、さまざまな角度から異なる情報の層を記録したりなど、多次元的な記録/再生を行う構造の光ディスクであってもよい。
 また、デジタル放送用システムex200において、アンテナex205を有する車ex210で衛星ex202等からデータを受信し、車ex210が有するカーナビゲーションex211等の表示装置に動画を再生することも可能である。なお、カーナビゲーションex211の構成は例えば図18に示す構成のうち、GPS受信部を加えた構成が考えられ、同様なことがコンピュータex111や携帯電話ex114等でも考えられる。
 図21Aは、上記実施の形態で説明した動画像復号化方法および動画像符号化方法を用いた携帯電話ex114を示す図である。携帯電話ex114は、基地局ex110との間で電波を送受信するためのアンテナex350、映像、静止画を撮ることが可能なカメラ部ex365、カメラ部ex365で撮像した映像、アンテナex350で受信した映像等が復号化されたデータを表示する液晶ディスプレイ等の表示部ex358を備える。携帯電話ex114は、さらに、操作キー部ex366を有する本体部、音声を出力するためのスピーカ等である音声出力部ex357、音声を入力するためのマイク等である音声入力部ex356、撮影した映像、静止画、録音した音声、または受信した映像、静止画、メール等の符号化されたデータもしくは復号化されたデータを保存するメモリ部ex367、又は同様にデータを保存する記録メディアとのインタフェース部であるスロット部ex364を備える。
 さらに、携帯電話ex114の構成例について、図21Bを用いて説明する。携帯電話ex114は、表示部ex358及び操作キー部ex366を備えた本体部の各部を統括的に制御する主制御部ex360に対して、電源回路部ex361、操作入力制御部ex362、映像信号処理部ex355、カメラインタフェース部ex363、LCD(Liquid Crystal Display)制御部ex359、変調/復調部ex352、多重/分離部ex353、音声信号処理部ex354、スロット部ex364、メモリ部ex367がバスex370を介して互いに接続されている。
 電源回路部ex361は、ユーザの操作により終話及び電源キーがオン状態にされると、バッテリパックから各部に対して電力を供給することにより携帯電話ex114を動作可能な状態に起動する。
 携帯電話ex114は、CPU、ROM、RAM等を有する主制御部ex360の制御に基づいて、音声通話モード時に音声入力部ex356で収音した音声信号を音声信号処理部ex354でデジタル音声信号に変換し、これを変調/復調部ex352でスペクトラム拡散処理し、送信/受信部ex351でデジタルアナログ変換処理および周波数変換処理を施した後にアンテナex350を介して送信する。また携帯電話ex114は、音声通話モード時にアンテナex350を介して受信した受信データを増幅して周波数変換処理およびアナログデジタル変換処理を施し、変調/復調部ex352でスペクトラム逆拡散処理し、音声信号処理部ex354でアナログ音声信号に変換した後、これを音声出力部ex357から出力する。
 さらにデータ通信モード時に電子メールを送信する場合、本体部の操作キー部ex366等の操作によって入力された電子メールのテキストデータは操作入力制御部ex362を介して主制御部ex360に送出される。主制御部ex360は、テキストデータを変調/復調部ex352でスペクトラム拡散処理をし、送信/受信部ex351でデジタルアナログ変換処理および周波数変換処理を施した後にアンテナex350を介して基地局ex110へ送信する。電子メールを受信する場合は、受信したデータに対してこのほぼ逆の処理が行われ、表示部ex358に出力される。
 データ通信モード時に映像、静止画、または映像と音声を送信する場合、映像信号処理部ex355は、カメラ部ex365から供給された映像信号を上記各実施の形態で示した動画像符号化方法によって圧縮符号化し(即ち、本発明の画像符号化装置として機能する)、符号化された映像データを多重/分離部ex353に送出する。また、音声信号処理部ex354は、映像、静止画等をカメラ部ex365で撮像中に音声入力部ex356で収音した音声信号を符号化し、符号化された音声データを多重/分離部ex353に送出する。
 多重/分離部ex353は、映像信号処理部ex355から供給された符号化された映像データと音声信号処理部ex354から供給された符号化された音声データを所定の方式で多重化し、その結果得られる多重化データを変調/復調部(変調/復調回路部)ex352でスペクトラム拡散処理をし、送信/受信部ex351でデジタルアナログ変換処理及び周波数変換処理を施した後にアンテナex350を介して送信する。
 データ通信モード時にホームページ等にリンクされた動画像ファイルのデータを受信する場合、または映像およびもしくは音声が添付された電子メールを受信する場合、アンテナex350を介して受信された多重化データを復号化するために、多重/分離部ex353は、多重化データを分離することにより映像データのビットストリームと音声データのビットストリームとに分け、同期バスex370を介して符号化された映像データを映像信号処理部ex355に供給するとともに、符号化された音声データを音声信号処理部ex354に供給する。映像信号処理部ex355は、上記各実施の形態で示した動画像符号化方法に対応した動画像復号化方法によって復号化することにより映像信号を復号し(即ち、本発明の画像復号装置として機能する)、LCD制御部ex359を介して表示部ex358から、例えばホームページにリンクされた動画像ファイルに含まれる映像、静止画が表示される。また音声信号処理部ex354は、音声信号を復号し、音声出力部ex357から音声が出力される。
 また、上記携帯電話ex114等の端末は、テレビex300と同様に、符号化器・復号化器を両方持つ送受信型端末の他に、符号化器のみの送信端末、復号化器のみの受信端末という3通りの実装形式が考えられる。さらに、デジタル放送用システムex200において、映像データに音楽データなどが多重化された多重化データを受信、送信するとして説明したが、音声データ以外に映像に関連する文字データなどが多重化されたデータであってもよいし、多重化データではなく映像データ自体であってもよい。
 このように、上記各実施の形態で示した動画像符号化方法あるいは動画像復号化方法を上述したいずれの機器・システムに用いることは可能であり、そうすることで、上記各実施の形態で説明した効果を得ることができる。
 また、本発明はかかる上記実施の形態に限定されるものではなく、本発明の範囲を逸脱することなく種々の変形または修正が可能である。
 (実施の形態7)
 上記各実施の形態で示した動画像符号化方法または装置と、MPEG-2、MPEG4-AVC、VC-1など異なる規格に準拠した動画像符号化方法または装置とを、必要に応じて適宜切替えることにより、映像データを生成することも可能である。
 ここで、それぞれ異なる規格に準拠する複数の映像データを生成した場合、復号する際に、それぞれの規格に対応した復号方法を選択する必要がある。しかしながら、復号する映像データが、どの規格に準拠するものであるか識別できないため、適切な復号方法を選択することができないという課題を生じる。
 この課題を解決するために、映像データに音声データなどを多重化した多重化データは、映像データがどの規格に準拠するものであるかを示す識別情報を含む構成とする。上記各実施の形態で示す動画像符号化方法または装置によって生成された映像データを含む多重化データの具体的な構成を以下説明する。多重化データは、MPEG-2トランスポートストリーム形式のデジタルストリームである。
 図22は、多重化データの構成を示す図である。図22に示すように多重化データは、ビデオストリーム、オーディオストリーム、プレゼンテーショングラフィックスストリーム(PG)、インタラクティブグラフィックスストリームのうち、1つ以上を多重化することで得られる。ビデオストリームは映画の主映像および副映像を、オーディオストリーム(IG)は映画の主音声部分とその主音声とミキシングする副音声を、プレゼンテーショングラフィックスストリームは、映画の字幕をそれぞれ示している。ここで主映像とは画面に表示される通常の映像を示し、副映像とは主映像の中に小さな画面で表示する映像のことである。また、インタラクティブグラフィックスストリームは、画面上にGUI部品を配置することにより作成される対話画面を示している。ビデオストリームは、上記各実施の形態で示した動画像符号化方法または装置、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠した動画像符号化方法または装置によって符号化されている。オーディオストリームは、ドルビーAC-3、Dolby Digital Plus、MLP、DTS、DTS-HD、または、リニアPCMのなどの方式で符号化されている。
 多重化データに含まれる各ストリームはPIDによって識別される。例えば、映画の映像に利用するビデオストリームには0x1011が、オーディオストリームには0x1100から0x111Fまでが、プレゼンテーショングラフィックスには0x1200から0x121Fまでが、インタラクティブグラフィックスストリームには0x1400から0x141Fまでが、映画の副映像に利用するビデオストリームには0x1B00から0x1B1Fまで、主音声とミキシングする副音声に利用するオーディオストリームには0x1A00から0x1A1Fが、それぞれ割り当てられている。
 図23は、多重化データがどのように多重化されるかを模式的に示す図である。まず、複数のビデオフレームからなるビデオストリームex235、複数のオーディオフレームからなるオーディオストリームex238を、それぞれPESパケット列ex236およびex239に変換し、TSパケットex237およびex240に変換する。同じくプレゼンテーショングラフィックスストリームex241およびインタラクティブグラフィックスex244のデータをそれぞれPESパケット列ex242およびex245に変換し、さらにTSパケットex243およびex246に変換する。多重化データex247はこれらのTSパケットを1本のストリームに多重化することで構成される。
 図24は、PESパケット列に、ビデオストリームがどのように格納されるかをさらに詳しく示している。図24における第1段目はビデオストリームのビデオフレーム列を示す。第2段目は、PESパケット列を示す。図24の矢印yy1,yy2, yy3, yy4に示すように、ビデオストリームにおける複数のVideo Presentation UnitであるIピクチャ、Bピクチャ、Pピクチャは、ピクチャ毎に分割され、PESパケットのペイロードに格納される。各PESパケットはPESヘッダを持ち、PESヘッダには、ピクチャの表示時刻であるPTS(Presentation Time-Stamp)やピクチャの復号時刻であるDTS(Decoding Time-Stamp)が格納される。
 図25は、多重化データに最終的に書き込まれるTSパケットの形式を示している。TSパケットは、ストリームを識別するPIDなどの情報を持つ4ByteのTSヘッダとデータを格納する184ByteのTSペイロードから構成される188Byte固定長のパケットであり、上記PESパケットは分割されTSペイロードに格納される。BD-ROMの場合、TSパケットには、4ByteのTP_Extra_Headerが付与され、192Byteのソースパケットを構成し、多重化データに書き込まれる。TP_Extra_HeaderにはATS(Arrival_Time_Stamp)などの情報が記載される。ATSは当該TSパケットのデコーダのPIDフィルタへの転送開始時刻を示す。多重化データには図25下段に示すようにソースパケットが並ぶこととなり、多重化データの先頭からインクリメントする番号はSPN(ソースパケットナンバー)と呼ばれる。
 また、多重化データに含まれるTSパケットには、映像・音声・字幕などの各ストリーム以外にもPAT(Program Association Table)、PMT(Program Map Table)、PCR(Program Clock Reference)などがある。PATは多重化データ中に利用されるPMTのPIDが何であるかを示し、PAT自身のPIDは0で登録される。PMTは、多重化データ中に含まれる映像・音声・字幕などの各ストリームのPIDと各PIDに対応するストリームの属性情報を持ち、また多重化データに関する各種ディスクリプタを持つ。ディスクリプタには多重化データのコピーを許可・不許可を指示するコピーコントロール情報などがある。PCRは、ATSの時間軸であるATC(Arrival Time Clock)とPTS・DTSの時間軸であるSTC(System Time Clock)の同期を取るために、そのPCRパケットがデコーダに転送されるATSに対応するSTC時間の情報を持つ。
 図26はPMTのデータ構造を詳しく説明する図である。PMTの先頭には、そのPMTに含まれるデータの長さなどを記したPMTヘッダが配置される。その後ろには、多重化データに関するディスクリプタが複数配置される。上記コピーコントロール情報などが、ディスクリプタとして記載される。ディスクリプタの後には、多重化データに含まれる各ストリームに関するストリーム情報が複数配置される。ストリーム情報は、ストリームの圧縮コーデックなどを識別するためストリームタイプ、ストリームのPID、ストリームの属性情報(フレームレート、アスペクト比など)が記載されたストリームディスクリプタから構成される。ストリームディスクリプタは多重化データに存在するストリームの数だけ存在する。
 記録媒体などに記録する場合には、上記多重化データは、多重化データ情報ファイルと共に記録される。
 多重化データ情報ファイルは、図27に示すように多重化データの管理情報であり、多重化データと1対1に対応し、多重化データ情報、ストリーム属性情報とエントリマップから構成される。
 多重化データ情報は図27に示すようにシステムレート、再生開始時刻、再生終了時刻から構成されている。システムレートは多重化データの、後述するシステムターゲットデコーダのPIDフィルタへの最大転送レートを示す。多重化データ中に含まれるATSの間隔はシステムレート以下になるように設定されている。再生開始時刻は多重化データの先頭のビデオフレームのPTSであり、再生終了時刻は多重化データの終端のビデオフレームのPTSに1フレーム分の再生間隔を足したものが設定される。
 ストリーム属性情報は図28に示すように、多重化データに含まれる各ストリームについての属性情報が、PID毎に登録される。属性情報はビデオストリーム、オーディオストリーム、プレゼンテーショングラフィックスストリーム、インタラクティブグラフィックスストリーム毎に異なる情報を持つ。ビデオストリーム属性情報は、そのビデオストリームがどのような圧縮コーデックで圧縮されたか、ビデオストリームを構成する個々のピクチャデータの解像度がどれだけであるか、アスペクト比はどれだけであるか、フレームレートはどれだけであるかなどの情報を持つ。オーディオストリーム属性情報は、そのオーディオストリームがどのような圧縮コーデックで圧縮されたか、そのオーディオストリームに含まれるチャンネル数は何であるか、何の言語に対応するか、サンプリング周波数がどれだけであるかなどの情報を持つ。これらの情報は、プレーヤが再生する前のデコーダの初期化などに利用される。
 本実施の形態においては、上記多重化データのうち、PMTに含まれるストリームタイプを利用する。また、記録媒体に多重化データが記録されている場合には、多重化データ情報に含まれる、ビデオストリーム属性情報を利用する。具体的には、上記各実施の形態で示した動画像符号化方法または装置において、PMTに含まれるストリームタイプ、または、ビデオストリーム属性情報に対し、上記各実施の形態で示した動画像符号化方法または装置によって生成された映像データであることを示す固有の情報を設定するステップまたは手段を設ける。この構成により、上記各実施の形態で示した動画像符号化方法または装置によって生成した映像データと、他の規格に準拠する映像データとを識別することが可能になる。
 また、本実施の形態における動画像復号化方法のステップを図29に示す。ステップexS100において、多重化データからPMTに含まれるストリームタイプ、または、多重化データ情報に含まれるビデオストリーム属性情報を取得する。次に、ステップexS101において、ストリームタイプ、または、ビデオストリーム属性情報が上記各実施の形態で示した動画像符号化方法または装置によって生成された多重化データであることを示しているか否かを判断する。そして、ストリームタイプ、または、ビデオストリーム属性情報が上記各実施の形態で示した動画像符号化方法または装置によって生成されたものであると判断された場合には、ステップexS102において、上記各実施の形態で示した動画像復号方法により復号を行う。また、ストリームタイプ、または、ビデオストリーム属性情報が、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠するものであることを示している場合には、ステップexS103において、従来の規格に準拠した動画像復号方法により復号を行う。
 このように、ストリームタイプ、または、ビデオストリーム属性情報に新たな固有値を設定することにより、復号する際に、上記各実施の形態で示した動画像復号化方法または装置で復号可能であるかを判断することができる。従って、異なる規格に準拠する多重化データが入力された場合であっても、適切な復号化方法または装置を選択することができるため、エラーを生じることなく復号することが可能となる。また、本実施の形態で示した動画像符号化方法または装置、または、動画像復号方法または装置を、上述したいずれの機器・システムに用いることも可能である。
 (実施の形態8)
 上記各実施の形態で示した動画像符号化方法および装置、動画像復号化方法および装置は、典型的には集積回路であるLSIで実現される。一例として、図30に1チップ化されたLSIex500の構成を示す。LSIex500は、以下に説明する要素ex501、ex502、ex503、ex504、ex505、ex506、ex507、ex508、ex509を備え、各要素はバスex510を介して接続している。電源回路部ex505は電源がオン状態の場合に各部に対して電力を供給することで動作可能な状態に起動する。
 例えば符号化処理を行う場合には、LSIex500は、CPUex502、メモリコントローラex503、ストリームコントローラex504、駆動周波数制御部ex512等を有する制御部ex501の制御に基づいて、AV I/Oex509によりマイクex117やカメラex113等からAV信号を入力する。入力されたAV信号は、一旦SDRAM等の外部のメモリex511に蓄積される。制御部ex501の制御に基づいて、蓄積したデータは処理量や処理速度に応じて適宜複数回に分けるなどされ信号処理部ex507に送られ、信号処理部ex507において音声信号の符号化および/または映像信号の符号化が行われる。ここで映像信号の符号化処理は上記各実施の形態で説明した符号化処理である。信号処理部ex507ではさらに、場合により符号化された音声データと符号化された映像データを多重化するなどの処理を行い、ストリームI/Oex506から外部に出力する。この出力された多重化データは、基地局ex107に向けて送信されたり、または記録メディアex215に書き込まれたりする。なお、多重化する際には同期するよう、一旦バッファex508にデータを蓄積するとよい。
 なお、上記では、メモリex511がLSIex500の外部の構成として説明したが、LSIex500の内部に含まれる構成であってもよい。バッファex508も1つに限ったものではなく、複数のバッファを備えていてもよい。また、LSIex500は1チップ化されてもよいし、複数チップ化されてもよい。
 また、上記では、制御部ex501が、CPUex502、メモリコントローラex503、ストリームコントローラex504、駆動周波数制御部ex512等を有するとしているが、制御部ex501の構成は、この構成に限らない。例えば、信号処理部ex507がさらにCPUを備える構成であってもよい。信号処理部ex507の内部にもCPUを設けることにより、処理速度をより向上させることが可能になる。また、他の例として、CPUex502が信号処理部ex507、または信号処理部ex507の一部である例えば音声信号処理部を備える構成であってもよい。このような場合には、制御部ex501は、信号処理部ex507、またはその一部を有するCPUex502を備える構成となる。
 なお、ここでは、LSIとしたが、集積度の違いにより、IC、システムLSI、スーパーLSI、ウルトラLSIと呼称されることもある。
 また、集積回路化の手法はLSIに限るものではなく、専用回路または汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(Field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。
 さらには、半導体技術の進歩または派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。
 (実施の形態9)
 上記各実施の形態で示した動画像符号化方法または装置によって生成された映像データを復号する場合、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する映像データを復号する場合に比べ、処理量が増加することが考えられる。そのため、LSIex500において、従来の規格に準拠する映像データを復号する際のCPUex502の駆動周波数よりも高い駆動周波数に設定する必要がある。しかし、駆動周波数を高くすると、消費電力が高くなるという課題が生じる。
 この課題を解決するために、テレビex300、LSIex500などの動画像復号化装置は、映像データがどの規格に準拠するものであるかを識別し、規格に応じて駆動周波数を切替える構成とする。図31は、本実施の形態における構成ex800を示している。駆動周波数切替え部ex803は、映像データが、上記各実施の形態で示した動画像符号化方法または装置によって生成されたものである場合には、駆動周波数を高く設定する。そして、上記各実施の形態で示した動画像復号化方法を実行する復号処理部ex801に対し、映像データを復号するよう指示する。一方、映像データが、従来の規格に準拠する映像データである場合には、映像データが、上記各実施の形態で示した動画像符号化方法または装置によって生成されたものである場合に比べ、駆動周波数を低く設定する。そして、従来の規格に準拠する復号処理部ex802に対し、映像データを復号するよう指示する。
 より具体的には、駆動周波数切替え部ex803は、図30のCPUex502と駆動周波数制御部ex512から構成される。また、上記各実施の形態で示した動画像復号化方法を実行する復号処理部ex801、および、従来の規格に準拠する復号処理部ex802は、図30の信号処理部ex507に該当する。CPUex502は、映像データがどの規格に準拠するものであるかを識別する。そして、CPUex502からの信号に基づいて、駆動周波数制御部ex512は、駆動周波数を設定する。また、CPUex502からの信号に基づいて、信号処理部ex507は、映像データの復号を行う。ここで、映像データの識別には、例えば、実施の形態7で記載した識別情報を利用することが考えられる。識別情報に関しては、実施の形態7で記載したものに限られず、映像データがどの規格に準拠するか識別できる情報であればよい。例えば、映像データがテレビに利用されるものであるか、ディスクに利用されるものであるかなどを識別する外部信号に基づいて、映像データがどの規格に準拠するものであるか識別可能である場合には、このような外部信号に基づいて識別してもよい。また、CPUex502における駆動周波数の選択は、例えば、図33のような映像データの規格と、駆動周波数とを対応付けたルックアップテーブルに基づいて行うことが考えられる。ルックアップテーブルを、バッファex508や、LSIの内部メモリに格納しておき、CPUex502がこのルックアップテーブルを参照することにより、駆動周波数を選択することが可能である。
 図32は、本実施の形態の方法を実施するステップを示している。まず、ステップexS200では、信号処理部ex507において、多重化データから識別情報を取得する。次に、ステップexS201では、CPUex502において、識別情報に基づいて映像データが上記各実施の形態で示した符号化方法または装置によって生成されたものであるか否かを識別する。映像データが上記各実施の形態で示した符号化方法または装置によって生成されたものである場合には、ステップexS202において、駆動周波数を高く設定する信号を、CPUex502が駆動周波数制御部ex512に送る。そして、駆動周波数制御部ex512において、高い駆動周波数に設定される。一方、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する映像データであることを示している場合には、ステップexS203において、駆動周波数を低く設定する信号を、CPUex502が駆動周波数制御部ex512に送る。そして、駆動周波数制御部ex512において、映像データが上記各実施の形態で示した符号化方法または装置によって生成されたものである場合に比べ、低い駆動周波数に設定される。
 さらに、駆動周波数の切替えに連動して、LSIex500またはLSIex500を含む装置に与える電圧を変更することにより、省電力効果をより高めることが可能である。例えば、駆動周波数を低く設定する場合には、これに伴い、駆動周波数を高く設定している場合に比べ、LSIex500またはLSIex500を含む装置に与える電圧を低く設定することが考えられる。
 また、駆動周波数の設定方法は、復号する際の処理量が大きい場合に、駆動周波数を高く設定し、復号する際の処理量が小さい場合に、駆動周波数を低く設定すればよく、上述した設定方法に限らない。例えば、MPEG4-AVC規格に準拠する映像データを復号する処理量の方が、上記各実施の形態で示した動画像符号化方法または装置により生成された映像データを復号する処理量よりも大きい場合には、駆動周波数の設定を上述した場合の逆にすることが考えられる。
 さらに、駆動周波数の設定方法は、駆動周波数を低くする構成に限らない。例えば、識別情報が、上記各実施の形態で示した動画像符号化方法または装置によって生成された映像データであることを示している場合には、LSIex500またはLSIex500を含む装置に与える電圧を高く設定し、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する映像データであることを示している場合には、LSIex500またはLSIex500を含む装置に与える電圧を低く設定することも考えられる。また、他の例としては、識別情報が、上記各実施の形態で示した動画像符号化方法または装置によって生成された映像データであることを示している場合には、CPUex502の駆動を停止させることなく、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する映像データであることを示している場合には、処理に余裕があるため、CPUex502の駆動を一時停止させることも考えられる。識別情報が、上記各実施の形態で示した動画像符号化方法または装置によって生成された映像データであることを示している場合であっても、処理に余裕があれば、CPUex502の駆動を一時停止させることも考えられる。この場合は、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する映像データであることを示している場合に比べて、停止時間を短く設定することが考えられる。
 このように、映像データが準拠する規格に応じて、駆動周波数を切替えることにより、省電力化を図ることが可能になる。また、電池を用いてLSIex500またはLSIex500を含む装置を駆動している場合には、省電力化に伴い、電池の寿命を長くすることが可能である。
 (実施の形態10)
 テレビや、携帯電話など、上述した機器・システムには、異なる規格に準拠する複数の映像データが入力される場合がある。このように、異なる規格に準拠する複数の映像データが入力された場合にも復号できるようにするために、LSIex500の信号処理部ex507が複数の規格に対応している必要がある。しかし、それぞれの規格に対応する信号処理部ex507を個別に用いると、LSIex500の回路規模が大きくなり、また、コストが増加するという課題が生じる。
 この課題を解決するために、上記各実施の形態で示した動画像復号方法を実行するための復号処理部と、従来のMPEG-2、MPEG4-AVC、VC-1などの規格に準拠する復号処理部とを一部共有化する構成とする。この構成例を図34Aのex900に示す。例えば、上記各実施の形態で示した動画像復号方法と、MPEG4-AVC規格に準拠する動画像復号方法とは、エントロピー符号化、逆量子化、デブロッキング・フィルタ、動き補償などの処理において処理内容が一部共通する。共通する処理内容については、MPEG4-AVC規格に対応する復号処理部ex902を共有し、MPEG4-AVC規格に対応しない、本発明特有の他の処理内容については、専用の復号処理部ex901を用いるという構成が考えられる。特に、本発明は、分割処理に特徴を有していることから、例えば、分割処理については専用の復号処理部ex901を用い、それ以外のエントロピー符号化、逆量子化、デブロッキング・フィルタ、動き補償のいずれか、または、全ての処理については、復号処理部を共有することが考えられる。復号処理部の共有化に関しては、共通する処理内容については、上記各実施の形態で示した動画像復号化方法を実行するための復号処理部を共有し、MPEG4-AVC規格に特有の処理内容については、専用の復号処理部を用いる構成であってもよい。
 また、処理を一部共有化する他の例を図34Bのex1000に示す。この例では、本発明に特有の処理内容に対応した専用の復号処理部ex1001と、他の従来規格に特有の処理内容に対応した専用の復号処理部ex1002と、本発明の動画像復号方法と他の従来規格の動画像復号方法とに共通する処理内容に対応した共用の復号処理部ex1003とを用いる構成としている。ここで、専用の復号処理部ex1001、ex1002は、必ずしも本発明、または、他の従来規格に特有の処理内容に特化したものではなく、他の汎用処理を実行できるものであってもよい。また、本実施の形態の構成を、LSIex500で実装することも可能である。
 このように、本発明の動画像復号方法と、従来の規格の動画像復号方法とで共通する処理内容について、復号処理部を共有することにより、LSIの回路規模を小さくし、かつ、コストを低減することが可能である。
 本発明に係る画像符号化方法及び画像復号方法は、従来の可変長符号化及び復号方法では対応できなかった、効率的なブロック分割方法の記述及び復元を可能とする。これにより、当該画像符号化方法及び画像復号方法は、符号量を大きく削減することができるという効果を有するので、蓄積、伝送及び通信など様々な用途に利用可能である。例えば、本発明は、テレビ、デジタルビデオレコーダー、カーナビゲーション、携帯電話、デジタルカメラ、及びデジタルビデオカメラ等の高解像度の情報表示機器又は撮像機器に利用可能である。
 100 画像符号化装置
 101 差分部
 102 変換部
 103 量子化部
 104 逆量子化部
 105 逆変換部
 106 加算部
 107 予測部
 108 符号化制御部
 109 可変長符号化部
 110 分割部
 111 分割制御部
 112 分割情報記述部
 120 入力画像信号
 121 分割画像信号
 122 差分信号
 123、125 変換係数
 124 量子化変換係数情報
 126 復号残差画像信号
 127 復号画像信号
 128 予測画像信号
 129 分割制御信号
 130、131 分割情報
 130A 分割モード情報
 132 符号化制御信号
 140 符号列
 200 画像復号装置
 201 可変長復号部
 202 復号制御部
 203 逆量子化部
 204 逆変換部
 205 予測部
 206 加算部
 207 分割情報復元部
 221 復号信号
 222 変換係数
 223 復号残差画像信号
 224 予測画像信号
 225 予測画像生成関連情報
 226 分割情報
 240 出力画像信号
 900 対象ブロック
 901、902 隣接ブロック
 1101、1104、1105 処理済フレーム
 1102、1103 対象フレーム
 CTB ブロックデータ
 CTBs ブロック信号
 LCTB ブロックサイズデータ
 LCTBHdr ブロックサイズヘッダ
 PicHdr ピクチャヘッダ
 PicStr ピクチャ信号
 PicData ピクチャデータ
 SepInfo 分割関連情報
 SeqData シーケンスデータ
 SeqHdr シーケンスヘッダ
 SliceData スライスデータ
 SliceHdr スライスヘッダ
 SliceStr スライス信号
 TUHdr 変換ブロックヘッダ
 TUs 変換ブロック

Claims (12)

  1.  画像を処理単位に分割し、分割した画像を符号化することで符号列を生成する画像符号化方法であって、
     前記処理単位は階層化されており、前記処理単位の最大の単位から、前記画像を階層的に分割する分割パターンを決定する分割ステップと、
     前記分割パターンを示す分割情報を生成する分割情報記述ステップと、
     前記分割情報を符号化する符号化ステップとを含み、
     前記分割情報は、前記分割パターンに含まれる処理単位のうち、最も深い処理単位の階層である最大使用階層を示す最大使用階層情報を含む
     画像符号化方法。
  2.  前記分割情報は、さらに、前記分割パターンに含まれる処理単位のうち、最も浅い処理単位の階層である最小使用階層を示す最小使用階層情報を含む
     請求項1記載の画像符号化方法。
  3.  前記分割情報記述ステップでは、前記最大使用階層が、前記処理単位の最小単位である場合のみ、前記最小使用階層情報を含む前記分割情報を生成する
     請求項2記載の画像符号化方法。
  4.  前記分割情報記述ステップでは、前記最大使用階層を用いて、各処理単位をさらに分割するか、分割しないかを確定できる場合、当該処理単位の分割パターンを示す情報を、前記分割情報から取り除き、
     前記符号化ステップでは、前記情報が取り除かれた後の分割情報を符号化する
     請求項1記載の画像符号化方法。
  5.  前記分割情報記述ステップでは、前記最小使用階層を用いて、各処理単位をさらに分割するか、分割しないかを確定できる場合、当該処理単位の分割パターンを示す情報を、前記分割情報から取り除き、
     前記符号化ステップでは、前記情報が取り除かれた後の分割情報を符号化する
     請求項2又は3記載の画像符号化方法。
  6.  前記画像符号化方法に、さらに、
     既に符号化済みの処理単位の分割パターンを用いて、処理対象の処理単位の分割パターンの予測値である予測分割パターンを推定する予測ステップを含み、
     前記階層分割ステップでは、前記予測分割パターンを用いて、前記処理対象の処理単位の分割パターンを決定する
     請求項1~5のいずれか1項に記載の画像符号化方法。
  7.  前記画像符号化方法は、さらに、
     前記分割パターンと前記予測分割パターンとの差分を算出する差分ステップを含み、
     前記符号化ステップでは、前記差分を含む前記分割情報を符号化する
     請求項6記載の画像符号化方法。
  8.  前記予測ステップでは、前記処理対象の処理単位と同一フレーム内の、当該処理対象の処理単位に隣接する処理単位の分割パターンを用いて、当該処理対象の処理単位の前記分割パターンを推定する
     請求項6又は7記載の画像符号化方法。
  9.  前記予測ステップでは、時間的に別のフレームに含まれる処理単位の分割パターンを用いて、当該処理対象の処理単位の前記分割パターンを推定する
     請求項6又は7記載の画像符号化方法。
  10.  請求項1~9のいずれか1項に記載の画像符号化方法によって生成された符号列を復号する画像復号方法であって、
     前記符号列に含まれる前記分割情報を復号する復号ステップと、
     復号された前記分割情報から前記分割パターンを判定する復元ステップとを含む
     画像復号方法。
  11.  画像を処理単位に分割し、分割した画像を符号化することで符号列を生成する画像符号化装置であって、
     前記処理単位は階層化されており、前記処理単位の最大の単位から、前記画像を階層的に分割する分割パターンを決定する分割制御部と、
     前記分割パターンを示す分割情報を生成する分割情報記述部と、
     前記分割情報を符号化する符号化部とを備え、
     前記分割情報は、前記分割パターンに含まれる処理単位のうち、最も深い処理単位の階層である最大使用階層を示す最大使用階層情報を含む
     画像符号化装置。
  12.  請求項11記載の画像符号化装置によって生成された符号列を復号する画像復号装置であって、
     前記符号列に含まれる前記分割情報を復号する復号部と、
     復号された前記分割情報から前記分割パターンを判定する分割情報復元部とを備える
     画像復号装置。
PCT/JP2011/006807 2010-12-06 2011-12-05 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置 WO2012077332A1 (ja)

Priority Applications (17)

Application Number Priority Date Filing Date Title
RU2013108103/07A RU2593382C2 (ru) 2010-12-06 2011-12-05 Способ кодирования изображений, способ декодирования изображений, устройство кодирования изображений и устройство декодирования изображений
US13/817,836 US9838723B2 (en) 2010-12-06 2011-12-05 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence
PL18169910T PL3389277T3 (pl) 2010-12-06 2011-12-05 Sposób dekodowania obrazu, urządzenie do dekodowania obrazu
EP11846191.2A EP2651128B1 (en) 2010-12-06 2011-12-05 Image encoding method, image decoding method, image encoding device, and image decoding device
ES11846191.2T ES2691743T3 (es) 2010-12-06 2011-12-05 Método de codificación de imágenes, método de decodificación de imágenes, dispositivo de codificación de imágenes y dispositivo de decodificación de imágenes
BR112013004425-0A BR112013004425B1 (pt) 2010-12-06 2011-12-05 método de codificação de imagem, método de decodificação de imagem, dispositivo de codificação de imagem e dispositivo de decodificação de imagem
PL11846191T PL2651128T3 (pl) 2010-12-06 2011-12-05 Sposób dekodowania obrazu, sposób kodowania obrazu, urządzenie dekodujące obraz oraz urządzenie kodujące obraz
JP2012547711A JP5744060B2 (ja) 2010-12-06 2011-12-05 画像符号化方法及び画像符号化装置
CA2808376A CA2808376C (en) 2010-12-06 2011-12-05 Image coding method, image decoding method, image coding device, and image decoding device
MX2013002086A MX2013002086A (es) 2010-12-06 2011-12-05 Metodo de codificacion de imagen, metodo de decodificacion de imagen, dispositivo de codificacion de imagen y dispositivo de decodificacion de imagen.
KR1020137003126A KR101941298B1 (ko) 2010-12-06 2011-12-05 화상 부호화 방법, 화상 복호 방법, 화상 부호화 장치 및 화상 복호 장치
EP18169910.9A EP3389277B1 (en) 2010-12-06 2011-12-05 Image decoding method, and image decoding device
CN201180038021.7A CN103053158B (zh) 2010-12-06 2011-12-05 图像编码方法及图像编码装置
US15/264,749 US9894389B2 (en) 2010-12-06 2016-09-14 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence
US15/857,856 US10123054B2 (en) 2010-12-06 2017-12-29 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence
US16/150,507 US10390051B2 (en) 2010-12-06 2018-10-03 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence
US16/456,407 US10659820B2 (en) 2010-12-06 2019-06-28 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US41996510P 2010-12-06 2010-12-06
US61/419,965 2010-12-06

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US13/817,836 A-371-Of-International US9838723B2 (en) 2010-12-06 2011-12-05 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence
US15/264,749 Continuation US9894389B2 (en) 2010-12-06 2016-09-14 Image coding method and image coding device for partitioning an image into processing units and coding the partitioned image to generate a code sequence

Publications (1)

Publication Number Publication Date
WO2012077332A1 true WO2012077332A1 (ja) 2012-06-14

Family

ID=46206843

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/006807 WO2012077332A1 (ja) 2010-12-06 2011-12-05 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置

Country Status (12)

Country Link
US (5) US9838723B2 (ja)
EP (2) EP3389277B1 (ja)
JP (3) JP5744060B2 (ja)
KR (1) KR101941298B1 (ja)
CN (2) CN103053158B (ja)
BR (1) BR112013004425B1 (ja)
CA (1) CA2808376C (ja)
ES (2) ES2691743T3 (ja)
MX (1) MX2013002086A (ja)
PL (2) PL3389277T3 (ja)
RU (1) RU2593382C2 (ja)
WO (1) WO2012077332A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014045515A1 (ja) * 2012-09-18 2014-03-27 日本電気株式会社 映像符号化装置、映像符号化方法および映像符号化プログラム
JP2015526976A (ja) * 2012-07-09 2015-09-10 オランジュ 現在ブロックの分割を予測することによるビデオ符号化方法、復号化方法、対応する符号化及び復号化装置、並びにコンピュータプログラム
JP2017005629A (ja) * 2015-06-15 2017-01-05 日本放送協会 符号化装置、復号装置及びプログラム
JP2017175191A (ja) * 2016-03-18 2017-09-28 富士通株式会社 符号化処理プログラム、符号化処理方法及び符号化処理装置
JP2017208768A (ja) * 2016-05-20 2017-11-24 日本電信電話株式会社 映像符号化装置、ブロック構造決定方法及びコンピュータプログラム
JP2018093416A (ja) * 2016-12-06 2018-06-14 株式会社Jvcケンウッド 画像符号化装置、画像符号化方法及び画像符号化プログラム、並びに画像復号化装置、画像復号化方法及び画像復号化プログラム
JP2022095851A (ja) * 2020-12-18 2022-06-28 株式会社Jvcケンウッド 画像符号化装置、画像符号化方法及び画像符号化プログラム、並びに画像復号化装置、画像復号化方法及び画像復号化プログラム

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012023597A (ja) * 2010-07-15 2012-02-02 Sony Corp 画像処理装置及び画像処理方法
WO2012044124A2 (ko) * 2010-09-30 2012-04-05 한국전자통신연구원 영상 부호화 방법과 복호화 방법 및 이를 이용한 영상 부호화 장치와 복호화 장치
CA2808376C (en) 2010-12-06 2018-11-13 Panasonic Corporation Image coding method, image decoding method, image coding device, and image decoding device
US9154799B2 (en) 2011-04-07 2015-10-06 Google Inc. Encoding and decoding motion via image segmentation
US9363513B2 (en) * 2011-12-14 2016-06-07 Intel Corporation Methods, systems, and computer program products for assessing a macroblock candidate for conversion to a skipped macroblock
US9262670B2 (en) 2012-02-10 2016-02-16 Google Inc. Adaptive region of interest
KR102088383B1 (ko) * 2013-03-15 2020-03-12 삼성전자주식회사 비디오의 부호화 방법 및 장치, 비디오의 복호화 방법 및 장치
EP3033886B1 (en) 2013-11-27 2021-01-06 HFI Innovation Inc. Method of video coding using prediction based on intra picture block copy
WO2015135175A1 (en) * 2014-03-13 2015-09-17 Mediatek Singapore Pte. Ltd. Simplified depth based block partitioning method
US9392272B1 (en) 2014-06-02 2016-07-12 Google Inc. Video coding using adaptive source variance based partitioning
WO2015199376A1 (ko) * 2014-06-26 2015-12-30 주식회사 케이티 다시점 비디오 신호 처리 방법 및 장치
US9578324B1 (en) 2014-06-27 2017-02-21 Google Inc. Video coding using statistical-based spatially differentiated partitioning
WO2016153251A1 (ko) * 2015-03-23 2016-09-29 엘지전자 주식회사 비디오 신호의 처리 방법 및 이를 위한 장치
WO2017008263A1 (en) * 2015-07-15 2017-01-19 Mediatek Singapore Pte. Ltd. Conditional binary tree block partitioning structure
US9942548B2 (en) * 2016-02-16 2018-04-10 Google Llc Entropy coding transform partitioning information
US10511858B2 (en) * 2016-07-13 2019-12-17 Ati Technologies Ulc Bit packing for delta color compression
US10609423B2 (en) 2016-09-07 2020-03-31 Qualcomm Incorporated Tree-type coding for video coding
WO2023075568A1 (ko) * 2021-11-01 2023-05-04 엘지전자 주식회사 부호화 구조의 채널간 참조에 기반한 피쳐 부호화/복호화 방법, 장치, 비트스트림을 저장한 기록 매체 및 비트스트림 전송 방법

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012005099A1 (ja) * 2010-07-09 2012-01-12 ソニー株式会社 画像処理装置及び画像処理方法

Family Cites Families (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000511366A (ja) * 1995-10-25 2000-08-29 サーノフ コーポレイション 4分割ツリーベースの可変ブロックサイズ動き推定装置および方法
JP2000134622A (ja) * 1998-10-23 2000-05-12 Matsushita Electric Ind Co Ltd データ処理装置
DE19860531C1 (de) 1998-12-30 2000-08-10 Univ Muenchen Tech Verfahren zur Übertragung codierter digitaler Signale
CN1170437C (zh) * 1999-06-08 2004-10-06 松下电器产业株式会社 图像信号混洗装置和方法
KR100371513B1 (ko) * 1999-12-06 2003-02-07 주식회사 팬택앤큐리텔 계층적 동영상 트리구조에서의 에지에 저장하는 키프레임의 충실도를 이용한 효율적인 동영상 요약 및 브라우징 장치 및 방법
US6795584B2 (en) * 2002-10-03 2004-09-21 Nokia Corporation Context-based adaptive variable length coding for adaptive block transforms
EP1659538B1 (en) * 2004-11-19 2008-01-09 Telefonaktiebolaget LM Ericsson (publ) Method and device for rendering three-dimensional graphics
CN1285215C (zh) * 2004-12-31 2006-11-15 大唐微电子技术有限公司 视频通信系统的帧率调节方法
KR101162218B1 (ko) * 2005-07-29 2012-07-04 엘지전자 주식회사 인코딩된 오디오 신호 생성 및 처리 방법
KR101365570B1 (ko) 2007-01-18 2014-02-21 삼성전자주식회사 인트라 예측 부호화, 복호화 방법 및 장치
JP4321628B2 (ja) * 2007-05-31 2009-08-26 ソニー株式会社 記憶装置、記憶方法および記憶プログラム、ならびに、データ処理装置、データ処理方法およびデータ処理プログラム
CN101605251B (zh) * 2009-07-24 2011-05-11 清华大学 无线视频传输方法和系统
KR101487686B1 (ko) * 2009-08-14 2015-01-30 삼성전자주식회사 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치
KR101624649B1 (ko) * 2009-08-14 2016-05-26 삼성전자주식회사 계층적인 부호화 블록 패턴 정보를 이용한 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치
KR101456498B1 (ko) * 2009-08-14 2014-10-31 삼성전자주식회사 계층적 부호화 단위의 스캔 순서를 고려한 비디오 부호화 방법 및 장치, 비디오 복호화 방법 및 장치
KR101457418B1 (ko) * 2009-10-23 2014-11-04 삼성전자주식회사 계층적 부호화 단위의 크기에 따른 비디오 부호화 방법과 그 장치, 및 비디오 복호화 방법과 그 장치
CN104702951B (zh) * 2009-12-01 2018-10-19 数码士有限公司 用于编码/解码高分辨率图像的方法和设备
KR101479141B1 (ko) * 2009-12-10 2015-01-07 에스케이텔레콤 주식회사 트리 구조를 이용한 부호화/복호화 방법 및 장치
US8885711B2 (en) * 2009-12-17 2014-11-11 Sk Telecom Co., Ltd. Image encoding/decoding method and device
KR101495724B1 (ko) * 2010-02-02 2015-02-25 삼성전자주식회사 계층적 데이터 단위의 스캔 순서에 기반한 비디오 부호화 방법과 그 장치, 및 비디오 복호화 방법과 그 장치
WO2011126282A2 (en) * 2010-04-05 2011-10-13 Samsung Electronics Co., Ltd. Method and apparatus for encoding video by using transformation index, and method and apparatus for decoding video by using transformation index
EP4398576A3 (en) * 2010-04-13 2024-08-21 GE Video Compression, LLC Video coding using multi-tree sub-divisions of images
EP2559238B1 (en) * 2010-04-13 2015-06-03 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Adaptive image filtering method and apparatus
BR112012025920B1 (pt) * 2010-04-13 2022-03-08 Samsung Electronics Co., Ltd Método de decodificação de vídeo e aparelho de decodificação de vídeo usando unidades de previsão com base em unidades de codificação determinadas de acordo com uma estrutura de árvore
EP2924995B1 (en) * 2010-07-09 2018-09-12 Samsung Electronics Co., Ltd Method for decoding video by using block merging
HUE042742T2 (hu) * 2010-08-17 2019-07-29 Samsung Electronics Co Ltd Videodekódolási eljárás variábilis faszerkezetû transzformációs egység felhasználásával
JP5855570B2 (ja) 2010-09-30 2016-02-09 パナソニック インテレクチュアル プロパティ コーポレーション オブアメリカPanasonic Intellectual Property Corporation of America 画像復号方法、画像符号化方法、画像復号装置、画像符号化装置、プログラムおよび集積回路
US20120082238A1 (en) * 2010-10-01 2012-04-05 General Instrument Corporation Coding and decoding utilizing picture boundary variability in flexible partitioning
CA2808376C (en) 2010-12-06 2018-11-13 Panasonic Corporation Image coding method, image decoding method, image coding device, and image decoding device
US8484253B2 (en) * 2010-12-31 2013-07-09 Microsoft Corporation Variational mode seeking
WO2016203881A1 (ja) * 2015-06-18 2016-12-22 シャープ株式会社 算術復号装置及び算術符号化装置

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012005099A1 (ja) * 2010-07-09 2012-01-12 ソニー株式会社 画像処理装置及び画像処理方法

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
"Test Model unaer Consideration, Output Document (draft007), Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11", JCTVC-A205, ITU-T, July 2010 (2010-07-01), DRESDEN, DE, XP055112991 *
KEN MCCANN ET AL.: "Samsung's Response to the Call for Proposals on Video Compression Technology, Joint Collaborative Team on Video Coding(JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 1st Meeting", JCTVC-A124, ITU-T, April 2010 (2010-04-01), DRESDEN, DE, XP055036046 *
See also references of EP2651128A4 *
THOMAS DAVIES: "BBC's Response to the Call for Proposals on Video Compression Technology, Joint Collaborative Team on Video Coding(JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11", JCTVC-A125, ITU-T, April 2010 (2010-04-01), DRESDEN, DE, XP055113000 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015526976A (ja) * 2012-07-09 2015-09-10 オランジュ 現在ブロックの分割を予測することによるビデオ符号化方法、復号化方法、対応する符号化及び復号化装置、並びにコンピュータプログラム
WO2014045515A1 (ja) * 2012-09-18 2014-03-27 日本電気株式会社 映像符号化装置、映像符号化方法および映像符号化プログラム
JPWO2014045515A1 (ja) * 2012-09-18 2016-08-18 日本電気株式会社 映像符号化装置、映像符号化方法および映像符号化プログラム
JP2017005629A (ja) * 2015-06-15 2017-01-05 日本放送協会 符号化装置、復号装置及びプログラム
JP2017175191A (ja) * 2016-03-18 2017-09-28 富士通株式会社 符号化処理プログラム、符号化処理方法及び符号化処理装置
US10616588B2 (en) 2016-03-18 2020-04-07 Fujitsu Limited Non-transitory computer-readable storage medium, encoding processing method, and encoding processing apparatus
JP2017208768A (ja) * 2016-05-20 2017-11-24 日本電信電話株式会社 映像符号化装置、ブロック構造決定方法及びコンピュータプログラム
JP2018093416A (ja) * 2016-12-06 2018-06-14 株式会社Jvcケンウッド 画像符号化装置、画像符号化方法及び画像符号化プログラム、並びに画像復号化装置、画像復号化方法及び画像復号化プログラム
JP2022095851A (ja) * 2020-12-18 2022-06-28 株式会社Jvcケンウッド 画像符号化装置、画像符号化方法及び画像符号化プログラム、並びに画像復号化装置、画像復号化方法及び画像復号化プログラム
JP7276549B2 (ja) 2020-12-18 2023-05-18 株式会社Jvcケンウッド 画像符号化装置、画像符号化方法及び画像符号化プログラム、並びに画像復号化装置、画像復号化方法及び画像復号化プログラム

Also Published As

Publication number Publication date
KR101941298B1 (ko) 2019-01-22
ES2834902T3 (es) 2021-06-21
US9838723B2 (en) 2017-12-05
EP3389277B1 (en) 2020-09-23
CA2808376C (en) 2018-11-13
PL2651128T3 (pl) 2019-01-31
JP5987147B2 (ja) 2016-09-07
US20130148729A1 (en) 2013-06-13
CA2808376A1 (en) 2012-06-14
RU2593382C2 (ru) 2016-08-10
JPWO2012077332A1 (ja) 2014-05-19
US20180124434A1 (en) 2018-05-03
JP5744060B2 (ja) 2015-07-01
US20190037246A1 (en) 2019-01-31
EP2651128B1 (en) 2018-07-25
PL3389277T3 (pl) 2021-04-06
JP6168433B2 (ja) 2017-07-26
BR112013004425A2 (pt) 2016-05-31
US20190327495A1 (en) 2019-10-24
US9894389B2 (en) 2018-02-13
ES2691743T3 (es) 2018-11-28
CN107105300A (zh) 2017-08-29
BR112013004425B1 (pt) 2021-01-26
CN103053158B (zh) 2016-11-09
CN103053158A (zh) 2013-04-17
MX2013002086A (es) 2013-04-03
US10390051B2 (en) 2019-08-20
US20170006310A1 (en) 2017-01-05
JP2016187219A (ja) 2016-10-27
BR112013004425A8 (pt) 2017-07-11
CN107105300B (zh) 2020-04-28
US10123054B2 (en) 2018-11-06
EP3389277A1 (en) 2018-10-17
EP2651128A1 (en) 2013-10-16
RU2013108103A (ru) 2015-02-10
JP2015164347A (ja) 2015-09-10
EP2651128A4 (en) 2014-08-06
US10659820B2 (en) 2020-05-19
KR20130139226A (ko) 2013-12-20

Similar Documents

Publication Publication Date Title
JP6168433B2 (ja) システム
JP6167409B2 (ja) 画像復号化方法および画像復号化装置
JP6090670B2 (ja) 符号化復号装置
CN106878742B (zh) 动态图像编解码装置
JP6108309B2 (ja) 動画像符号化方法、動画像符号化装置、動画像復号方法、および、動画像復号装置
JP2016103853A (ja) 算術復号方法および算術符号化方法
WO2012090495A1 (ja) 画像符号化方法および画像復号方法
JP6399433B2 (ja) 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置
JP5873029B2 (ja) 動画像符号化方法及び動画像復号化方法
WO2012042810A1 (ja) 画像符号化方法、画像復号方法、画像符号化装置、画像復号装置および画像処理システム
WO2012073481A1 (ja) 動画像符号化方法および動画像復号化方法
WO2013046616A1 (ja) 画像符号化装置、画像復号装置、画像符号化方法及び画像復号方法
WO2012095930A1 (ja) 画像符号化方法、画像復号方法、画像符号化装置及び画像復号装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180038021.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11846191

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2012547711

Country of ref document: JP

ENP Entry into the national phase

Ref document number: 20137003126

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2808376

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2011846191

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 13817836

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: MX/A/2013/002086

Country of ref document: MX

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2013108103

Country of ref document: RU

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112013004425

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112013004425

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20130225