WO2010076856A1 - 動画像符号化方法及び動画像復号化方法 - Google Patents

動画像符号化方法及び動画像復号化方法 Download PDF

Info

Publication number
WO2010076856A1
WO2010076856A1 PCT/JP2009/057220 JP2009057220W WO2010076856A1 WO 2010076856 A1 WO2010076856 A1 WO 2010076856A1 JP 2009057220 W JP2009057220 W JP 2009057220W WO 2010076856 A1 WO2010076856 A1 WO 2010076856A1
Authority
WO
WIPO (PCT)
Prior art keywords
filter
coefficient
target
information
target filter
Prior art date
Application number
PCT/JP2009/057220
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
Application filed by 株式会社 東芝 filed Critical 株式会社 東芝
Priority to JP2010544860A priority Critical patent/JPWO2010076856A1/ja
Priority to BRPI0922793A priority patent/BRPI0922793A2/pt
Priority to CN200980147189.4A priority patent/CN102282850A/zh
Publication of WO2010076856A1 publication Critical patent/WO2010076856A1/ja
Priority to US13/151,311 priority patent/US20110228844A1/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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/86Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
    • 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/117Filters, e.g. for pre-processing or post-processing
    • 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/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/196Methods 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 being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop

Definitions

  • the present invention relates to a moving picture encoding method and a moving picture decoding method that can selectively apply a plurality of filters having different tap lengths.
  • H. In a moving image encoding scheme such as H.264 / AVC, a coefficient obtained by orthogonal transform and quantization of a prediction error signal between an original image signal and a predicted image signal is encoded.
  • a filtering process may be performed on the encoding side and / or the decoding side.
  • the post filter processing described in the above is provided on the decoding side for the purpose of improving the image quality of the decoded image.
  • filter information such as the filter coefficient and filter size (tap length) of the post filter applied on the decoding side is set on the encoding side, multiplexed into the encoded bit stream, and output.
  • the decoding side performs post filter processing based on the filter information on the decoded image signal. Accordingly, if the filter information is set so that the error between the original image signal and the decoded image signal is reduced on the encoding side, the image quality of the decoded image can be improved by post-filter processing.
  • the post filter processing described in the reference literature encodes the filter information on the encoding side and transmits it to the decoding side.
  • the generated code amount based on the filter information increases, the encoding efficiency on the encoding side decreases. Therefore, a technique for reducing the generated code amount based on the filter information is desired.
  • an object of the present invention is to provide a moving picture coding method capable of reducing the amount of generated code based on filter information.
  • the moving image encoding method obtains a target filter to be applied to a decoded image of an encoding target image, and based on the tap length of the target filter and the tap length of the reference filter, Setting a correspondence between each of the target filter coefficients of the target filter and each of the reference filter coefficients of the reference filter, and obtaining a coefficient difference between the target filter coefficient and the reference filter coefficient according to the correspondence And encoding target filter information including the tap length of the target filter and the coefficient difference.
  • the moving image encoding method is based on obtaining a target filter to be applied to a decoded image of an encoding target image, and the tap length of the target filter and the tap length of the reference filter.
  • the de information and target filter information including the target coefficient difference comprising and encoding.
  • the moving picture decoding method encodes target filter information including a tap length of a target filter and a coefficient difference between the target filter coefficient of the target filter and a reference filter coefficient of the reference filter. Decoding the encoded data, and setting the correspondence between each of the coefficient differences and each of the reference filter coefficients based on the tap length of the target filter and the tap length of the reference filter And adding the coefficient difference and the reference filter coefficient according to the correspondence relationship to calculate the target filter coefficient.
  • a moving picture decoding method includes a target filter indicating a tap length of a target filter, prediction mode information indicating a prediction mode applied to the target filter, and a prediction error of a target filter coefficient of the target filter.
  • Decoding the encoded data in which the target filter information including the coefficient difference is encoded, and when the prediction mode information indicates a temporal prediction mode, the tap length of the target filter and the tap length of the reference filter And setting a correspondence between each of the target coefficient differences and each of the reference filter coefficients of the reference filter, adding the target coefficient difference and the reference filter coefficient according to the correspondence, and obtaining the target filter coefficient
  • the prediction mode information indicates a spatial prediction mode, a part of the target filter coefficient is Predicted based on the elephant filter coefficients, and adding the target coefficient difference; and a to restore the target filter coefficient.
  • FIG. 1 is a block diagram showing a video encoding apparatus according to the first embodiment.
  • FIG. 2 is a block diagram showing the inside of the filter difference information generation unit of FIG.
  • FIG. 3 is a flowchart showing filter difference information generation processing by the moving picture encoding apparatus of FIG.
  • FIG. 4 is a block diagram showing a moving picture decoding apparatus according to the second embodiment.
  • FIG. 5 is a block diagram showing the inside of the filter information restoration unit of FIG.
  • FIG. 6 is a flowchart showing filter information restoration processing by the moving picture decoding apparatus of FIG.
  • FIG. 7 is a block diagram showing a video encoding apparatus according to the third embodiment.
  • FIG. 8 is a block diagram showing a moving picture decoding apparatus according to the fourth embodiment.
  • FIG. 1 is a block diagram showing a video encoding apparatus according to the first embodiment.
  • FIG. 2 is a block diagram showing the inside of the filter difference information generation unit of FIG.
  • FIG. 3 is a flowchart showing filter difference
  • FIG. 9 is a block diagram showing a moving picture decoding apparatus according to the fifth embodiment.
  • FIG. 10A is a diagram illustrating an example of an index indicating the filter coefficient position and the filter coefficient position correspondence relationship of the encoding target filter.
  • FIG. 10B is a diagram illustrating an example of an index indicating the filter coefficient position of the reference filter and the filter coefficient position correspondence relationship.
  • FIG. 11 is a block diagram illustrating a filter difference information generation unit in the encoding device according to the sixth embodiment.
  • FIG. 12 is a diagram for explaining an example of spatial prediction of filter coefficients.
  • FIG. 13 is a flowchart illustrating filter difference information generation processing by the video encoding device according to the sixth embodiment.
  • FIG. 14 is a diagram illustrating an example of a syntax structure of an encoded bit stream.
  • FIG. 10A is a diagram illustrating an example of an index indicating the filter coefficient position and the filter coefficient position correspondence relationship of the encoding target filter.
  • FIG. 10B is a diagram illustrating an
  • FIG. 15A is a diagram illustrating an example of a description mode of filter difference information.
  • FIG. 15B is a diagram illustrating an example of a description mode of filter difference information.
  • FIG. 16 is a block diagram illustrating a modification of the filter difference information generation unit in FIG.
  • FIG. 17 is a block diagram illustrating a modification of the filter difference information generation unit in FIG.
  • FIG. 18 is a block diagram illustrating a filter information restoration unit in the video decoding device according to the seventh embodiment.
  • FIG. 19 is a flowchart illustrating filter information restoration processing by the video decoding device according to the seventh embodiment.
  • FIG. 20 is a block diagram showing a modification of the filter information restoration unit in FIG.
  • FIG. 21 is a block diagram showing a modification of the filter information restoration unit in FIG.
  • FIG. 22 is a diagram illustrating an example of a description mode of the filter difference information.
  • FIG. 23A is a diagram for describing an example of spatial prediction of filter coefficients.
  • FIG. 23B
  • FIG. 1 shows a moving picture encoding apparatus according to the first embodiment of the present invention.
  • This moving image encoding apparatus is a moving image encoding apparatus that performs so-called hybrid encoding, and includes a moving image encoding unit 1000 and an encoding control unit 109.
  • the moving image encoding unit 1000 includes a predicted image signal generation unit 101, a subtraction unit 102, a transform / quantization unit 103, an entropy encoding unit 104, an inverse transform / inverse quantization unit 105, an addition unit 106, and a filter information generation unit 107.
  • the encoding control unit 109 performs overall control of the moving image encoding unit 1000 such as feedback control of generated code amount, quantization control, prediction mode control, and motion estimation accuracy control.
  • the predicted image signal generation unit 101 performs prediction of the input image signal (original image signal) 10 in units of blocks and generates a predicted image signal 11. Specifically, the predicted image signal generation unit 101 reads an already encoded reference image signal 18 from a reference image buffer 108 to be described later, and obtains a motion vector indicating the motion of the input image signal 10 with respect to the reference image signal 18. To detect. The motion vector is detected by block matching, for example. The predicted image signal generation unit 101 inputs the predicted image signal 11 obtained by motion compensation of the reference image signal 18 using the motion vector to the subtraction unit 102 and the addition unit 106. The predicted image signal generation unit 101 may generate the predicted image signal 11 by performing not only motion compensation prediction (prediction in the time direction) but also intra prediction (prediction in the spatial direction).
  • the subtraction unit 102 subtracts the prediction image signal 11 from the prediction image signal generation unit 101 from the input image signal 10 to obtain a prediction error signal 12.
  • the subtraction unit 102 inputs the prediction error signal 12 to the transform / quantization unit 103.
  • the transform / quantization unit 103 orthogonally transforms the prediction error signal 12 from the subtraction unit 102 to obtain a transform coefficient.
  • DCT discrete cosine transform
  • the transform / quantization unit 103 may perform other transform processing such as wavelet transform, independent component analysis, or Hadamard transform.
  • the transform / quantization unit 103 quantizes the transform coefficient according to the quantization parameter (QP) set by the encoding control unit 109.
  • the quantized transform coefficient (hereinafter referred to as the quantized transform coefficient 13) is input to the entropy encoding unit 104 and the inverse transform / inverse quantization unit 105.
  • the entropy encoding unit 104 entropy-encodes the quantized transform coefficient 13 and the encoding parameter from the transform / quantization unit 103 to obtain encoded data 14.
  • entropy coding for example, Huffman coding or arithmetic coding is used.
  • the encoding parameter includes filter difference information 19 from the filter difference information generation unit 110 described later.
  • the encoding parameters may include prediction mode information indicating the prediction mode of the predicted image signal 11, block size switching information, and quantization parameters.
  • the entropy encoding unit 104 outputs an encoded bit stream obtained by multiplexing the encoded data 14.
  • the inverse transform / inverse quantization unit 105 dequantizes the quantized transform coefficient 13 from the transform / quantization unit 103 according to the quantization parameter, and decodes the transform coefficient.
  • the inverse transform / inverse quantization unit 105 decodes the prediction error signal 12 by performing the inverse transform of the transform process performed by the transform / quantization unit 103 on the decoded transform coefficient.
  • the inverse transform / inverse quantization unit 105 performs inverse discrete cosine transform (IDCT) and inverse wavelet transform.
  • IDCT inverse discrete cosine transform
  • the inverse transform / inverse quantization unit 105 inputs the decoded prediction error signal (hereinafter referred to as the decoded prediction error signal 15) to the addition unit 106.
  • the adding unit 106 adds the decoded prediction error signal 15 from the inverse transform / inverse quantization unit 105 and the predicted image signal 11 from the predicted image generation unit 101 to generate a local decoded image signal 16.
  • the addition unit 106 inputs the local decoded image signal 16 to the filter information generation unit 107 and the reference image buffer 108.
  • the filter information generation unit 107 generates filter information 17 of the encoding target filter based on the input image signal 10 and the locally decoded image signal 16 from the addition unit 106.
  • the filter information 17 includes switching information indicating whether or not to apply filter processing to the decoded image signal corresponding to the input image signal 10 on the decoding side.
  • the filter information 17 further includes information for specifying a filter to be applied (encoding target filter). Specifically, tap length information indicating the tap length of the filter and filter coefficients are further included.
  • the filter coefficient for example, a coefficient value for minimizing an error between the local decoded image signal 16 (corresponding to a decoded image signal on the decoding side) and the input image signal 10, and each of the coefficient values are The coefficient position to be applied is determined.
  • the filter information generation unit 107 may use an image signal obtained by subjecting the local decoded image signal 16 to deblocking filter processing instead of the local decoded image signal 16. That is, a deblocking filter may be provided between the addition unit 106 and the filter information generation unit 107.
  • the local decoded image signal 16 from the addition unit 106 is stored as the reference image signal 18, and the predicted image signal generation unit 101 reads it out as appropriate.
  • the filter difference information generation part 110 memorize
  • the filter difference information generation unit 110 generates filter difference information 19 indicating a difference between the reference filter information and the filter information 17.
  • the filter difference information generation unit 110 inputs the filter difference information 19 to the entropy encoding unit 104.
  • the filter difference information generation unit 110 includes a filter coefficient position correspondence setting unit 111, a reference filter buffer 112, a filter coefficient difference calculation unit 113, and a reference filter update unit 114.
  • the filter coefficient position correspondence setting unit 111 sets the correspondence relation of the filter coefficient position between the filter information 17 and the reference filter information. Both the filter information 17 and the reference filter information include tap length information and filter coefficients. The tap length of the encoding target filter does not necessarily match the tap length of the reference filter.
  • the filter coefficient position correspondence setting unit 111 sets each of the filter coefficient positions of the filter information 17 as each of the filter coefficient positions of the reference filter information even when the tap length of the encoding filter does not match the tap length of the reference filter. Associate. For example, the filter coefficient position correspondence setting unit 111 sets each of the filter coefficient positions of the filter information 17 so that the center of the filter coefficient position of the filter information 17 and the center of the filter coefficient position of the reference filter information match. The filter coefficient positions of the reference filter information are associated with each other. The filter coefficient position correspondence setting unit 111 notifies the filter coefficient difference calculation unit 113 and the reference filter update unit 114 of the correspondence.
  • Reference filter buffer 112 temporarily stores reference filter information.
  • the reference filter information is appropriately read by the filter coefficient difference calculation unit 113.
  • the filter coefficient difference calculation unit 113 reads the reference filter information from the reference filter buffer 112.
  • the filter coefficient difference calculation unit 113 calculates the filter coefficient difference by subtracting each of the filter coefficients of the reference filter information from each of the filter coefficients of the filter information 17 according to the correspondence defined by the filter coefficient position correspondence setting unit 111. To do.
  • the filter coefficient difference calculation unit 113 replaces the filter coefficient of the filter information 17 with the filter coefficient difference, and inputs the filter coefficient information 19 to the entropy encoding unit 104 and the reference filter update unit 114. The closer the characteristics of the reference filter are to the characteristics of the encoding target filter, the smaller the filter coefficient difference, so that the amount of codes can be kept small.
  • the reference filter updating unit 114 outputs the filter coefficient of the reference filter information stored in the reference filter buffer 112 from the filter coefficient difference calculating unit 113 according to the correspondence determined by the filter coefficient position correspondence setting unit 111.
  • the reference filter information is updated by adding the filter coefficient difference of the filter difference information 19.
  • the update of the reference filter information may be performed every time the filter difference information 19 is generated, may be performed at a predetermined timing, or may not be performed at all.
  • the reference filter update unit 114 is not necessary.
  • the initial value of the filter coefficient of the reference filter information is a common value on the encoding side and the decoding side.
  • the reference filter information is updated at a common timing on the encoding side and the decoding side.
  • the filter information 17 generated by the filter information generation unit 107 will be specifically described.
  • the filter information generation unit 107 targets a two-dimensional Wiener filter generally used in image restoration, and the tap length is one of 5 ⁇ 5 and 7 ⁇ 7.
  • the filter information generation unit 107 sets the tap length to 5 ⁇ 5, and derives a filter coefficient that minimizes the mean square error between the image signal obtained by filtering the locally decoded image signal 16 and the input image signal 10. To do. Also, the filter information generation unit 107 sets the tap length to 7 ⁇ 7, and sets the filter coefficient that minimizes the mean square error between the image signal obtained by performing the filtering process on the local image signal 16 and the input image signal 10. To derive. Then, the filter information generation unit 107 performs the filtering process with the first encoding cost when the tap length is set to 5 ⁇ 5, the second encoding cost when the tap length is set to 7 ⁇ 7, and the filtering process. The third encoding cost when not applied is derived according to the following equation (1).
  • Equation (1) cost represents coding cost
  • D represents residual sum of squares (SumSof Squared Difference; SSD)
  • represents a coefficient
  • R represents a generated code amount.
  • the filter information generation unit 107 (A) switching information indicating that the filter processing is applied, and (B) a tap length indicating that the tap length is 5 ⁇ 5.
  • the filter information 17 including the information and (C) the derived filter coefficient is generated.
  • the filter information generation unit 107 indicates (A) switching information indicating that the filter processing is applied, and (B) indicates that the tap length is 7 ⁇ 7.
  • the filter information 17 including the tap length information and (C) the derived filter coefficient is generated.
  • the filter information generation unit 107 generates filter information 17 including switching information indicating that (A) the filter processing is not applied.
  • the filter information generation unit 107 may derive the encoding cost. That is, the filter information 17 when the filter information generation unit 107 does not apply the filter processing, the filter information 17 when the tap length is 5 ⁇ 5, and the filter information 17 when the tap length is 7 ⁇ 7 are filter differences.
  • the information is input to the information generation unit 110, and the filter difference information generation unit 110 derives three encoding costs using the filter difference information 19 based on the three filter information 17, respectively. May be output. Since the entropy encoding unit 104 encodes the filter difference information 19 instead of the filter information 17, a more accurate value can be obtained if the encoding cost is derived using the filter difference information 19.
  • the initial value of the filter coefficient of the reference filter information may be an arbitrary value (for example, a statistically derived value), but a common value is used on the encoding side and the decoding side as described above.
  • the filter coefficient position correspondence setting unit 111 acquires the tap length of the encoding target filter indicated by the filter information 17 from the filter information generation unit 107, and sets the filter coefficient position between the encoding target filter and the reference filter. Correspondence is set (step S101). As described above, since the tap length of the reference filter is 7 ⁇ 7 (for example, see FIG. 10B), if the tap length of the encoding target filter is also 7 ⁇ 7, the filter coefficient of the encoding target filter and the filter of the reference filter The coefficients are associated one to one at the same position. On the other hand, if the tap length of the encoding target filter is 5 ⁇ 5 (for example, see FIG.
  • the filter coefficient position correspondence setting unit 111 converts each of the filter coefficient positions of the encoding target filter into the first relative position from the center, and sets each of the filter coefficient positions of the reference filter from the center. 2 is converted into a relative position of 2, and the correspondence relationship is set so that the first relative position and the second relative position coincide.
  • the filter coefficient position correspondence setting unit 111 notifies the filter coefficient difference calculation unit 113 and the reference filter update unit 114 of the correspondence.
  • the index indicates the correspondence relationship between the filter coefficients. That is, filter coefficients in which the index of FIG. 10A and the index of FIG. 10B match are associated with each other.
  • the filter coefficient difference calculation unit 113 reads the reference filter information from the reference filter buffer 112, and is included in the reference filter information from each of the filter coefficients included in the filter information 17 according to the correspondence set in step S101. Each of the filter coefficients is subtracted to calculate a filter coefficient difference (step S102).
  • the filter coefficient difference calculation unit 113 replaces the filter coefficient included in the filter information 17 with the filter coefficient difference and outputs the filter coefficient information 19 to the entropy encoding unit 104 and the reference filter update unit 114 as filter difference information 19.
  • the reference filter updating unit 114 adds the filter coefficient difference calculated in step S102 to the filter coefficient included in the reference filter information stored in the reference filter buffer 112 according to the correspondence set in step S101.
  • the reference filter information is updated (step S103).
  • updating the reference filter information is not an essential process, but the characteristics of the reference filter can be changed even if the characteristics of the encoding target filter gradually change due to frequent updating. Therefore, the increase in the coefficient difference and the increase in the amount of generated codes can be suppressed.
  • the entropy encoding unit 104 performs entropy encoding such as Huffman encoding or arithmetic encoding on the filter difference information 19 and other encoding parameters generated in step S103 and the quantized transform coefficient 13. Is performed (step S104).
  • the entropy encoding unit 104 outputs an encoded bit stream obtained by multiplexing the encoded data 14, and the process ends.
  • the moving image encoding apparatus prepares a reference filter, determines the correspondence between the reference filter and the encoding target filter, and determines the coefficients of both.
  • the difference is calculated, and the filter difference information including the coefficient difference is encoded instead of the filter information. Therefore, according to the video encoding device according to the present embodiment, the coefficient difference is calculated even when the tap length of the encoding target filter is different from the tap length of the reference filter, and the code amount is compared with the filter information. Filter difference information can be generated.
  • the reference filter information is described as if it was one, but a plurality of reference filter information may be used. For example, from at least one of the reference filter information on condition of at least one of the property of the encoding target filter (filter characteristics, tap length, etc.) and the property of the region to which the encoding target filter is applied (slice type, quantization parameter, etc.) Any one may be selected and used. If the reference filter is adaptively selected according to the above conditions, it is easy to keep the coefficient difference small. When a plurality of reference filter information is used, reference filter information that does not depend on the above conditions may be further provided.
  • the reference filter information dependent on the conditions is used for the first time.
  • the coefficient difference can be kept small even when it is performed.
  • FIG. 4 shows a moving picture decoding apparatus according to the second embodiment of the present invention.
  • This moving picture decoding apparatus decodes the encoded data output from the moving picture encoding apparatus of FIG.
  • the moving picture decoding apparatus in FIG. 4 includes a moving picture decoding unit 2000 and a decoding control unit 207.
  • the moving image decoding unit 2000 includes an entropy decoding unit 201, an inverse transform / inverse quantization unit 202, a predicted image signal generation unit 203, an addition unit 204, a filter processing unit 205, a reference image buffer 206, and a filter information restoration unit 208.
  • Have The decoding control unit 207 controls the entire decoding unit 2000 (for example, decoding timing control).
  • the same parts in FIG. 4 as those in FIG. 1 are denoted by the same reference numerals, and different parts will be mainly described.
  • the entropy decoding unit 201 decodes a code string of each syntax included in the encoded data 14 according to a predetermined syntax structure. Specifically, the entropy decoding unit 201 decodes the quantized transform coefficient 13, the filter difference information 19, motion information, prediction mode information, block size switching information, quantization parameters, and the like. The entropy decoding unit 201 inputs the quantized transform coefficient 13 to the inverse transform / inverse quantization unit 202 and the filter difference information 19 to the filter information restoration unit 208, respectively.
  • the inverse transform / inverse quantization unit 202 dequantizes the quantized transform coefficient 13 from the entropy decoding unit 201 according to the quantization parameter, and decodes the transform coefficient.
  • the inverse quantization / inverse transform unit 202 decodes the prediction error signal by performing inverse transform of the transform processing performed on the encoding side with respect to the decoded transform coefficient. For example, the inverse quantization / inverse transform unit 202 performs IDCT and inverse wavelet transform.
  • the decoded prediction error signal (hereinafter referred to as the decoded prediction error signal 15) is input to the adding unit 204.
  • the predicted image signal generation unit 203 generates a predicted image signal 11 similar to that on the encoding side. Specifically, the predicted image signal generation unit 203 reads a reference image signal 18 that has already been decoded from a reference image buffer 206 described later, and performs motion compensation prediction using the motion information from the entropy decoding unit 201. . Moreover, if the encoding side has generated the predicted image signal 11 by another prediction method such as intra prediction, the predicted image signal generation unit 203 generates the predicted image signal 11 by performing prediction according to this. The predicted image generation unit 203 inputs the predicted image signal 11 to the addition unit 204.
  • the addition unit 204 adds the decoded prediction error signal 15 from the inverse transform / inverse quantization unit 202 and the predicted image signal 11 from the predicted image signal generation unit 203 to generate a decoded image signal 21.
  • the adding unit 204 inputs the decoded image signal 21 to the filter processing unit 205.
  • the adding unit 204 inputs the decoded image signal 21 to the reference image buffer 206.
  • the filter processing unit 205 performs a predetermined filter process on the decoded image signal 21 in accordance with the filter information 17 from the filter information restoration unit 208 described later to generate the restored image signal 22.
  • the filter processing unit 205 outputs the restored image signal 22 to the outside.
  • the filter processing unit 205 may use an image signal obtained by subjecting the decoded image signal 21 to deblocking filter processing instead of the decoded image signal 21. That is, a deblocking filter may be provided between the addition unit 204 and the filter processing unit 205.
  • the decoded image signal 21 from the addition unit 204 is temporarily stored as the reference image signal 18, and is read out by the predicted image signal generation unit 203 as necessary.
  • the filter information restoration unit 208 uses the same reference filter information as that on the encoding side and the filter difference information 19 from the entropy decoding unit 201 to generate filter information 17 (decoding) generated on the encoding side.
  • the filter information of the target filter The filter information of the target filter.
  • the filter information restoration unit 208 inputs the filter information 17 to the filter processing unit 205.
  • the filter information restoration unit 208 includes a filter coefficient position correspondence setting unit 209, a filter coefficient calculation unit 210, a reference filter update unit 211, and a reference filter buffer 112.
  • the filter coefficient position correspondence setting unit 209 sets the correspondence of the filter coefficient position between the filter difference information 19 and the reference filter information.
  • the filter difference information 19 and the filter information 17 are different in filter coefficient values but are common in other points including the filter coefficient position. Therefore, the filter coefficient position correspondence setting unit 209 may have the same configuration as the filter coefficient position correspondence setting unit 111 described above.
  • the filter coefficient position correspondence setting unit 209 is included in the filter difference information 19 so that the center of the filter coefficient position included in the filter difference information 19 matches the center of the filter coefficient position included in the reference filter information.
  • Each coefficient position to be associated is associated with each coefficient position included in the reference filter information.
  • the filter coefficient position correspondence setting unit 209 notifies the filter coefficient calculation unit 210 and the reference filter update unit 211 of the correspondence.
  • the filter coefficient calculation unit 210 reads the reference filter information from the reference filter buffer 112.
  • the filter coefficient calculation unit 210 adds each of the filter coefficients included in the filter difference information 19 and each of the filter coefficients included in the reference filter information according to the correspondence defined by the filter coefficient position correspondence setting unit 209.
  • the filter coefficient included in the filter difference information 19 is obtained by subtracting the filter coefficient included in the reference filter information from the filter coefficient included in the filter information 17 generated on the encoding side. Accordingly, the filter coefficient included in the filter information 17 is restored by adding the filter coefficient included in the filter difference information 19 and the filter coefficient included in the reference filter information.
  • the filter coefficient calculation unit 210 replaces the filter coefficient included in the filter difference information 19 with the restored filter coefficient and outputs it as the filter information 17.
  • the reference filter update unit 211 outputs the filter coefficient included in the reference filter information stored in the reference filter buffer 112 from the filter coefficient calculation unit 210 according to the correspondence defined by the filter coefficient position correspondence setting unit 210.
  • the reference filter information is updated by replacing it with the filter coefficient included in the filter information 17 (that is, the filter coefficient calculated by the filter coefficient calculation unit 210).
  • the initial value and update timing of the reference filter information coincide with those on the encoding side.
  • the entropy decoding unit 201 decodes the encoded data 14 and obtains the filter difference information 19 and other encoding parameters, and the quantized transform coefficient 13 (step S201).
  • the entropy decoding unit 201 inputs the quantized transform coefficient 13 to the inverse transform / inverse quantization unit 202 and the filter difference information 19 to the filter information restoration unit 208, respectively.
  • the filter coefficient position correspondence setting unit 209 acquires the tap length included in the filter difference information 19 from the entropy decoding unit 201, and the correspondence relation of the filter coefficient positions between the decoding target filter and the reference filter. Is set (step S202). As described above, since the tap length in the reference filter information is 7 ⁇ 7, if the tap length in the filter difference information 19 is also 7 ⁇ 7, the filter coefficient of the decoding target filter and the filter coefficient of the reference filter are at the same position. One-to-one correspondence. On the other hand, if the tap length in the filter difference information 19 is 5 ⁇ 5, the filter coefficient position correspondence setting unit 209, the center of the filter coefficient position of the decoding target filter, and the center of the filter coefficient position of the reference filter are matched.
  • the filter coefficient position correspondence setting unit 209 converts each of the filter coefficient positions of the decoding target filter to the first relative position from the center, and sets each of the filter coefficient positions of the reference filter from the center. 2 is converted into a relative position of 2, and the correspondence relationship is set so that the first relative position and the second relative position coincide.
  • the filter coefficient position correspondence setting unit 209 notifies the filter coefficient calculation unit 210 and the reference filter update unit 211 of the correspondence.
  • the filter coefficient calculation unit 210 reads the reference filter information from the reference filter buffer 112, and is included in each of the filter coefficients included in the filter difference information 19 and the reference filter information in accordance with the correspondence set in step S202. Each of the filter coefficients is added to restore the filter coefficients included in the filter information 17 generated on the encoding side (step S203).
  • the filter coefficient calculation unit 210 replaces the filter coefficient included in the filter difference information 19 with the calculated filter coefficient, and inputs the filter coefficient 17 to the filter processing unit 205 and the reference filter update unit 211.
  • the reference filter updating unit 211 replaces the filter coefficient included in the reference filter information stored in the reference filter buffer 112 with the filter coefficient calculated in step S203 according to the correspondence set in step S202.
  • the reference filter information is updated (step S204).
  • the update of the reference filter information is not an essential process, but the update timing must be the same as that of the encoding side.
  • the moving picture decoding apparatus prepares the same reference filter as that on the encoding side, and determines the correspondence relationship of the filter coefficient positions between the reference filter and the decoding target filter. After that, the filter coefficient of the reference filter and the coefficient difference transmitted from the encoding side are added to restore the filter coefficient of the decoding target filter. Therefore, according to the video decoding device according to the present embodiment, even if the tap length of the decoding target filter and the tap length of the reference filter are different, the filter difference information having a smaller code amount than the filter information. Can be used to restore the filter coefficient of the decoding target filter.
  • the reference filter information is described as if it was one, but a plurality of reference filter information may be used. For example, on condition that at least one of the property (filter characteristics, tap length, etc.) of the decoding target filter and the property (slice type, quantization parameter, etc.) of the region (decoding target region) to which the decoding target filter is applied, Any one of a plurality of reference filter information may be selected and used. When a plurality of reference filter information is used, reference filter information that does not depend on the above conditions may be further provided.
  • the moving picture coding apparatus is a moving picture coding apparatus that performs so-called hybrid coding, and is a moving picture in the moving picture coding apparatus of FIG.
  • the encoding unit 1000 is replaced with a moving image encoding unit 3000.
  • the same parts in FIG. 7 as those in FIG. 1 are denoted by the same reference numerals, and different parts will be mainly described.
  • the moving image encoding unit 3000 is configured by further providing a filter processing unit 120 in the moving image encoding unit 1000 of FIG.
  • the filter processing unit 120 performs filter processing for image restoration on the local decoded image signal 16 from the addition unit 106 to obtain a restored image signal 22.
  • the filter processing performed by the filter processing unit 120 is the same as the filter processing performed on the decoded image signal on the decoding side, and the tap length and the filter coefficient are specified by the filter information 17 from the filter information generation unit 107.
  • the filter processing unit 120 inputs the restored image signal 22 to the reference image buffer 108. In the reference image buffer 108, the restored image signal 22 from the filter processing unit 120 is temporarily stored as the reference image signal 18, and is appropriately read out by the predicted image signal generation unit 101.
  • the moving picture decoding apparatus is a moving picture decoding apparatus for decoding encoded data input from the moving picture encoding apparatus shown in FIG.
  • the moving picture decoding unit 2000 in the moving picture decoding apparatus of FIG. 4 is replaced with a moving picture decoding unit 4000.
  • the same parts in FIG. 8 as those in FIG. 4 are denoted by the same reference numerals, and different parts will be mainly described.
  • the decoded image signal 21 from the adding unit 204 is temporarily stored as the reference image signal 18 by the reference image buffer 206.
  • the restored image signal 22 from the filter processing unit 205 is temporarily stored as the reference image signal 18 by the reference image buffer 206.
  • the moving picture decoding apparatus that performs a so-called loop filter process is the same as the moving picture decoding apparatus according to the second embodiment described above. An effect is obtained.
  • the moving picture decoding apparatus is a moving picture decoding apparatus for decoding encoded data input from the moving picture encoding apparatus shown in FIG.
  • the moving picture decoding unit 2000 in the moving picture decoding apparatus in FIG. 4 is replaced with a moving picture decoding unit 5000.
  • the same parts in FIG. 8 as those in FIG. 4 are denoted by the same reference numerals, and different parts will be mainly described.
  • the decoded image signal 21 from the adding unit 204 is temporarily stored as the reference image signal 18 by the reference image buffer 206, and the restored image signal 22 from the filter processing unit 205 is stored. Is output to the outside.
  • the restored image signal 22 from the filter processing unit 205 is temporarily stored as the reference image signal 18 by the reference image buffer 206, and the decoded image signal 21 from the adding unit 204 is externally stored. Is output.
  • the moving picture decoding apparatus that performs a so-called loop filter process is the same as the moving picture decoding apparatus according to the second embodiment described above. An effect is obtained.
  • the filter difference information generation unit 110 in FIG. 2 generates the filter difference information 19.
  • the moving picture coding apparatus according to the sixth embodiment of the present invention generates the filter difference information 19 using a filter difference information generation unit different from the filter difference information generation unit 110 of FIG.
  • the filter difference information generation unit 110 reduces the generated code amount by setting the coefficient difference instead of the filter coefficient itself of the encoding target filter as an encoding target.
  • the filter coefficient of the reference filter is updated by the already encoded filter coefficient, it can be regarded as a predicted value in the time direction with respect to the filter coefficient of the target filter. That is, the effect of reducing the amount of generated code regarding the filter coefficient of the encoding target filter by the filter difference information generation unit 110 in FIG. 2 depends on the temporal correlation of the encoding target filter.
  • the filter coefficient of the encoding target filter is significantly different from the filter coefficient of the reference filter, the generated code amount may be increased rather than encoding the filter coefficient of the encoding target filter itself.
  • filter information before the access target time cannot be used, and therefore it may be impossible to predict the filter coefficient in the time direction.
  • the moving picture coding apparatus predicts the filter coefficient in the temporal direction (hereinafter simply referred to as temporal prediction mode), and predicts in the spatial direction (hereinafter simply referred to as spatial prediction mode). ) And adaptively switch.
  • the moving picture encoding apparatus uses the spatial prediction mode adaptively, so that the amount of generated code can be reduced based on the filter coefficient of the encoding target filter even in a scene where the temporal prediction mode is not appropriate. Can be played.
  • the moving image encoding apparatus is configured such that the filter difference information generating unit 110 in the moving image encoding apparatus in FIG. 1 or the moving image encoding apparatus in FIG. 7 is replaced with, for example, the filter difference information generating unit 310 illustrated in FIG. It can be configured by replacement.
  • the filter difference information generation unit 310 includes a filter coefficient position correspondence setting unit 111, a reference filter buffer 112, a reference filter update unit 114, a temporal prediction mode filter coefficient difference calculation unit 115, a spatial prediction mode filter coefficient difference calculation unit 116, and coefficients.
  • a prediction mode control unit 117 is included.
  • FIG. 11 the same parts as those in FIG. 2 are denoted by the same reference numerals, and in the following description, different parts will be mainly described.
  • the temporal prediction mode filter coefficient difference calculation unit 115 is different from the filter coefficient difference calculation unit 113 in name, but substantially the same components can be applied.
  • the spatial prediction mode filter coefficient difference calculation unit 116 performs prediction in the spatial direction on the filter coefficient of the encoding target filter, and generates filter difference information 19 including a prediction error.
  • the spatial prediction mode filter coefficient difference calculation unit 116 may use any existing or future spatial prediction technology.
  • the filter coefficient at any position (for example, the filter coefficient c0 in FIG. 12) is changed to the sum of the filter coefficients at other positions (for example, the filter coefficient in FIG. 12). prediction based on the sum of c1,..., c24).
  • the filter coefficient on which spatial prediction is performed may be arbitrary. However, since the filter coefficient at the center position (filter coefficient c0 in FIG.
  • the predicted value c0 ′ for the filter coefficient c0 can be derived according to the following equation (2) using the other filter coefficients c1,..., C24 and the sum S of the filter coefficients.
  • the total S of the filter coefficients is “256” when the total (gain) of the filter coefficients is “1” and each of the filter coefficients is quantized with 8 bits. It should be noted that the sum S of filter coefficients must be the same value on the encoding side and the decoding side.
  • the spatial prediction technique that can be used by the spatial prediction mode filter coefficient difference calculation unit 116 is not limited to the above technique, and any technique that can use the spatial correlation of filter coefficients may be applied.
  • any technique that can use the spatial correlation of filter coefficients may be applied.
  • FIGS. 23A and 23B another example of the spatial prediction process will be described with reference to FIGS. 23A and 23B. These spatial prediction processes may be used in combination with the above-described spatial prediction process or other spatial prediction processes, or may be used independently.
  • filter coefficients at positions that are point-symmetric with respect to the center position are often the same value or similar values. Therefore, for example, as shown in FIG. 23A, the filter coefficients of indexes 1,..., 12 can be used as spatial prediction values for the filter coefficients of indexes d1,. If such a spatial prediction process is used, a prediction error can be stored in the filter difference information 19 instead of the filter coefficients themselves of the indexes d1,..., D12.
  • the filter information at positions symmetrical in the vertical direction or horizontal direction with respect to the center position often has the same or similar value. Therefore, for example, as shown in FIG. 23B, the filter coefficients of indexes 1,..., 8 can be used as spatial prediction values for the filter coefficients of indexes d1,. If such a spatial prediction process is used, a prediction error can be stored in the filter difference information 19 instead of the filter coefficients themselves of the indexes d1,..., D8.
  • the coefficient prediction mode control unit 117 adaptively switches between the filter difference information 19 generated by the temporal prediction mode filter coefficient difference calculation unit 115 and the filter difference information 19 generated by the spatial prediction mode filter coefficient difference calculation unit 116.
  • the coefficient prediction mode information for identifying what coefficient prediction mode is selected is multiplexed and output. A specific example of the coefficient prediction mode determination process by the coefficient prediction mode control unit 117 will be described later.
  • the filter information generation unit 107 inputs the filter information 17 to the filter difference information generation unit 310, the processing in FIG. 13 starts.
  • the temporal prediction (steps S111 to S112) is performed prior to the spatial prediction (step S114).
  • these orders may be reversed or parallel.
  • the coefficient prediction mode control unit 117 determines the coefficient prediction mode based on the encoding cost as described later, but the coefficient prediction mode may be determined according to other arbitrary criteria.
  • step S116 it has been described that the coding costs related to the temporal prediction process and the spatial prediction process calculated according to the mathematical formula (1) are compared, but both differ only in the coefficient difference calculation method.
  • the comparison of the conversion cost is equivalent to the comparison of the generated code amount.
  • the filter coefficient position correspondence setting unit 111 acquires the tap length included in the filter information 17 from the filter information generation unit 107, and sets the correspondence of the filter coefficient position between the encoding target filter and the reference filter. (Step S111).
  • the filter coefficient position correspondence setting unit 111 converts each of the filter coefficient positions of the encoding target filter into a first relative position from the center, and each of the filter coefficient positions of the reference filter is a second relative position from the center. And the correspondence relationship is set so that the first relative position and the second relative position match.
  • the filter coefficient position correspondence setting unit 111 notifies the temporal prediction mode filter coefficient difference calculation unit 115 and the reference filter update unit 114 of the correspondence.
  • the temporal prediction mode filter coefficient difference calculation unit 115 reads the reference filter information from the reference filter buffer 112, and uses the reference filter information from each of the filter coefficients included in the filter information 17 according to the correspondence set in step S111. Is subtracted to calculate a filter coefficient difference (step S112). Then, the temporal prediction filter coefficient difference calculation unit 115 generates the filter information 19 by replacing the filter coefficient included in the filter information 17 with the filter coefficient difference. Next, the temporal prediction mode filter coefficient calculation unit 115 (which may be the coefficient prediction mode control unit 117 or another component) determines the coding cost cost_temporal of the filter difference information 19 obtained by the temporal prediction process according to the equation (1). Calculate (step S113).
  • the spatial prediction mode filter coefficient difference calculation unit 116 performs a spatial prediction process (for example, the calculation of Expression (2)) on a part of the filter coefficients of the encoding target filter (for example, the filter coefficient at the center position), The prediction error is calculated as a coefficient difference (step S114). Then, the spatial prediction mode filter coefficient difference calculation unit 116 replaces part of the filter coefficients included in the filter information 17 (for example, the filter coefficient at the center position) with the coefficient difference. Next, the spatial prediction mode filter coefficient difference calculation unit 116 (which may be the coefficient prediction mode control unit 117 or another component) calculates the encoding cost cost_spatial of the filter difference information 19 obtained by the spatial prediction processing using the formula (1). (Step S115).
  • a spatial prediction process for example, the calculation of Expression (2)
  • the spatial prediction mode filter coefficient difference calculation unit 116 replaces part of the filter coefficients included in the filter information 17 (for example, the filter coefficient at the center position) with the coefficient difference.
  • the spatial prediction mode filter coefficient difference calculation unit 116 (which
  • the coefficient prediction mode control unit 117 compares the coding cost cost_temporal calculated in step S113 with the coding cost cost_spatial calculated in step S115 (step S116). If the encoding cost cost_temporal is larger than the encoding cost cost_spatial, the process proceeds to step S117, and if not, the process proceeds to step S118.
  • step S117 the coefficient prediction mode control unit 117 substitutes a value “1” indicating application of the spatial prediction mode into the flag coef_pred_mode as coefficient prediction mode information. And the coefficient prediction mode control part 117 superimposes coefficient prediction mode information on the filter difference information 19 obtained by the spatial prediction process (step S114), and outputs it to the entropy encoding part 104, and a process progresses to step S120.
  • step S118 the coefficient prediction mode control unit 117 substitutes a value “0” indicating application of the temporal prediction mode into the flag coef_pred_mode. Then, the coefficient prediction mode control unit 117 outputs the filter difference information 19 obtained by the temporal prediction process (step S112) to the reference filter update unit 114, and further superimposes the coefficient prediction mode information on the filter difference information 19 to generate an entropy code. To the conversion unit 104. Next, the reference filter update unit 114 adds the filter coefficient difference calculated in step S112 to the filter coefficient included in the reference filter information held in the reference filter buffer 112 according to the correspondence set in step S111. Thus, the reference filter information is updated (step S119), and the process proceeds to step S120.
  • updating the reference filter information is not an essential process, but the characteristics of the reference filter can be changed even if the characteristics of the encoding target filter gradually change due to frequent updating. Therefore, the increase in the coefficient difference and the increase in the amount of generated codes can be suppressed.
  • step S120 the entropy encoding unit 104 performs the Huffman code on the filter difference information 19, the coefficient prediction mode information and other encoding parameters input from the coefficient prediction mode control unit 117, and the quantized transform coefficient 13. Entropy coding such as coding and arithmetic coding is performed. The entropy encoding unit 104 outputs an encoded bit stream obtained by multiplexing the encoded data 14, and the process ends.
  • the filter difference information 19 is transmitted to the decoding side in units of slices, but may be transmitted to the decoding side at the sequence level, picture level, and macroblock level.
  • the syntax has a three-level hierarchical structure of a high level syntax 1900, a slice level syntax 1903, and a macroblock level syntax 1907 in order from the upper layer.
  • the high-level syntax 1900 includes a sequence parameter set syntax 1901 and a picture parameter set syntax 1902, and defines information necessary for a layer higher than the slice (for example, a sequence or a picture).
  • the slice level syntax 1903 includes a slice header syntax 1904, a slice data syntax 1905, and a loop filter data syntax 1906, and defines necessary information in units of slices.
  • the macroblock level syntax 1907 includes a macroblock layer syntax 1908 and a macroblock prediction syntax 1909, and defines necessary information (for example, quantized transform coefficient data, prediction mode information, and motion vector) in units of macroblocks.
  • filter_size_x and filter_size_y represent the size (tap length) in the horizontal direction (x direction) and vertical direction (y direction) of the encoding target filter.
  • luma_flag and chroma_flag represent a flag indicating whether the encoding target filter is applied to the luminance signal and the color difference signal of the image, “1” indicates application of the encoding target filter, and “0” indicates the encoding target filter. Indicates not applicable.
  • the coefficient prediction mode information coef_pred_mode is as described with reference to FIG.
  • filter_coef_diff_luma [cy] [cy] is a filter coefficient difference (related to the filter coefficient applied to the luminance signal) at the position identified by the coordinates (cx, cy) (however, when spatial prediction processing is performed) May remain the filter coefficients of the filter to be encoded).
  • filter_coef_diff_chroma [cy] [cx] is the filter coefficient difference (related to the filter coefficient applied to the color difference signal) at the position identified by the coordinates (cx, cy) (however, when spatial prediction processing is performed) May be the filter coefficients themselves of the filter to be encoded).
  • the same filter difference information 19 is described for a plurality of color difference signal components (not distinguished), but individual filter difference information 19 may be described for a plurality of color difference signal components.
  • the filter difference information 19 may be described.
  • the coefficient prediction mode information is described as a common flag coef_pred_mode for the luminance signal and the color difference signal, but may be described as an independent flag.
  • the filter information 19 may be described as shown in FIG. 15B (see the flag coef_pred_mode_luma and the flag coef_pred_mode_chroma).
  • the moving picture encoding apparatus adaptively performs spatial prediction as well as temporal prediction of filter coefficients to generate filter difference information. Therefore, according to the video encoding device according to the present embodiment, it is possible to reduce the amount of generated code based on the filter coefficient by performing spatial prediction even when the temporal prediction of the filter coefficient is not appropriate.
  • the moving picture coding apparatus uses the filter difference information generation unit 110 in the moving picture coding apparatus of FIG. 1 or the moving picture coding apparatus of FIG. It can also be configured by replacing the difference information generation unit 410 or the filter difference information generation unit 510 shown in FIG.
  • the filter difference information generation unit 410 of FIG. Specifically, in the filter difference information generation unit 410, the spatial prediction process is applied regardless of whether the temporal prediction process is applied.
  • the spatial prediction mode filter coefficient difference calculation unit 116 spatially predicts the filter coefficient at the center position based on the estimated value of the sum of the filter coefficients and the filter coefficients at other positions, and further predicts the time at the filter coefficients at the other positions.
  • the coefficient prediction mode control unit 117 adaptively switches whether or not to apply. That is, spatial prediction error and temporal prediction error can be mixed in the filter difference information 19 generated by the filter difference information generation unit 410.
  • the filter difference information generation unit 510 of FIG. 17 can update the filter coefficient of the reference filter using the filter difference information 19 based on spatial prediction in addition to the filter difference information 19 based on temporal prediction. 11 is different from the filter difference information generation unit 310 in FIG.
  • a plurality of reference filters may be prepared in the filter difference information generation units 410 and 510 as well. For example, from at least one of the reference filter information on condition of at least one of the property of the encoding target filter (filter characteristics, tap length, etc.) and the property of the region to which the encoding target filter is applied (slice type, quantization parameter, etc.) Any one may be selected and used.
  • reference filter information that does not depend on the above conditions may be further provided. That is, the filter coefficient included in the reference filter information that does not depend on the condition can be used as the initial value of the filter coefficient included in the reference filter information that depends on the condition.
  • the filter difference information generation unit 510 updates the filter coefficients of the reference filter using the filter difference information 19 based on the spatial prediction.
  • the unit 117 may always select the filter difference information 19 based on the spatial prediction, and the reference filter update unit 114 may update the reference filter. This update of the reference filter corresponds to initialization (or refresh) of the reference filter.
  • reference filters When a plurality of reference filters are prepared, some reference filters (reference filters applied to IDR slices, I slices, etc.) have been initialized, while other reference filters (P slices, B slices).
  • the reference filter applied to the above, the reference filter having a different tap length from the initialized reference filter) may not be initialized. Therefore, when each reference filter is selected for the first time according to the condition, the coefficient prediction mode control unit 117 always selects the filter difference information 19 based on spatial prediction, and the reference filter update unit 114 updates (initializes) the reference filter. May be.
  • the reference filter when a spatial prediction mode is selected for a coding target filter applied to an IDR slice, an I slice, etc., the reference filter must be initialized when each of the other reference filters is selected for the first time according to a condition. An agreement may have to be established.
  • the reference filter is initialized according to such an arrangement, it is known that the spatial prediction should be selected for the restoration of the filter information 17 on the decoding side, so that the coefficient prediction mode information (for example, flag pred_coef_mode) may be omitted in the filter difference information 19.
  • initialization of other reference filters accompanying the selection of the spatial prediction mode for the encoding target filter applied to the IDR slice and I slice may be realized by actually performing spatial prediction.
  • the encoding target filter applied to the IDR slice and the I slice may be reused as a reference filter as it is to perform temporal prediction.
  • the initial values of the filter coefficients included in the reference filter information are common on the encoding side and the decoding side. Therefore, it is possible to realize initialization of the reference filter by substituting this initial value as the filter coefficient of the reference filter.
  • the coefficient prediction mode control unit 117 acquires the filter information 17 and information on the region to which the encoding target filter is applied (for example, slice information), and updates the reference filter.
  • the unit 114 may be controlled.
  • the initialization timing of the reference filter must match on the encoding side and the decoding side.
  • the generation based on the filter coefficient is generated by generating the filter difference information 19 using the prediction error (coefficient difference) of the filter coefficient instead of the filter coefficient itself of the encoding target filter.
  • the reference filter is inferior from the viewpoint of the image quality improvement effect as compared with the optimally designed filter, but from the viewpoint of the balance between the code amount and the image quality (for example, encoding cost). If it does, it may be excellent.
  • the filter coefficient of the reference filter can be directly used as the filter coefficient of the decoding target filter on the decoding side (hereinafter referred to as a reuse mode).
  • the coefficient prediction mode control unit 117 uses information for identifying a reference filter that completely matches the filter to be encoded and the filter coefficient (when a plurality of reference filters are prepared).
  • the filter difference information 19 can be generated using the above-described prediction error instead.
  • coef_reuse_flag is a flag indicating application / non-application of the reuse mode, and is set to “1” when the reuse mode is applied and “0” when the reuse mode is not applied.
  • the filter_type_for_reuse is an index for identifying a reference filter used in the reuse mode, but is unnecessary when there is one reference filter. Note that the flag coef_reuse_flag and the index filter_type_for_reuse may be set independently for the luminance signal and the color difference signal.
  • the moving picture decoding apparatuses according to the second, fourth, and fifth embodiments described above restore the filter information 17 by the filter information restoration unit 208 of FIG.
  • the moving picture decoding apparatus according to the seventh embodiment of the present invention restores the filter information 17 using a filter information restoration unit different from the filter information restoration unit 208 of FIG.
  • the moving picture decoding apparatus decodes encoded data output from the moving picture encoding apparatus according to the sixth embodiment described above.
  • the moving picture decoding apparatus according to the present embodiment includes a filter information restoration unit 208 in the moving picture decoding apparatus in FIG. 4, the moving picture decoding apparatus in FIG. 8, or the moving picture decoding apparatus in FIG. It can comprise by replacing with the filter information decompression
  • the filter information restoration unit 608 restores the filter information 17 from the filter difference information 19 generated by the filter information generation unit 310 described above.
  • the filter information restoration unit 608 includes a filter coefficient position correspondence setting unit 209, a reference filter update unit 211, a reference filter buffer 112, a temporal prediction mode filter coefficient calculation unit 212, a spatial prediction mode filter coefficient calculation unit 213, and a coefficient prediction mode control. Part 214.
  • the same parts as those in FIG. 5 are denoted by the same reference numerals, and in the following description, different parts will be mainly described.
  • the temporal prediction mode filter coefficient calculation unit 212 is different from the filter coefficient calculation unit 210 in name, but substantially the same components can be applied.
  • the spatial prediction mode filter coefficient calculation unit 213 When the filter difference information 19 is input, the spatial prediction mode filter coefficient calculation unit 213 performs the same spatial prediction as that on the encoding side, and a part of the filter coefficients of the decoding target filter (for example, the filter coefficient at the center position). ) To get the predicted value. Then, the spatial prediction mode filter coefficient calculation unit 213 adds a prediction error (included in the filter difference information 19) corresponding to the prediction value to restore the filter coefficient of the decoding target filter. Then, the spatial prediction mode filter coefficient calculation unit 213 obtains filter information 17 by replacing the prediction error included in the filter difference information 19 with the restored filter coefficient.
  • the coefficient prediction mode control unit 214 refers to the coefficient prediction mode information included in the filter difference information 19 and identifies the coefficient prediction mode applied on the encoding side. Then, the output destination of the filter difference information 19 is switched in order to apply the restoration process (calculation process of the filter coefficient of the decoding target filter) corresponding to the identified coefficient prediction mode.
  • the entropy decoding unit 201 decodes the encoded data 14, and obtains the filter difference information 19, other encoding parameters, and the quantized transform coefficient 13 (step S211).
  • the entropy decoding unit 201 inputs the quantized transform coefficient 13 to the inverse transform / inverse quantization unit 202 and the filter difference information 19 to the filter information restoration unit 608. Then, the process proceeds to step S212.
  • the coefficient prediction mode control unit 214 refers to the coefficient prediction mode information included in the filter difference information 19, and determines an output destination of the filter difference information 19. For example, if the flag coef_pred_mode is “1”, the filter difference information 19 is output to the spatial prediction mode filter coefficient calculation unit 213, and the process proceeds to step S213. Otherwise, the filter difference information 19 corresponds to the filter coefficient position. The information is output to the relationship setting unit 209 and the process proceeds to step S214.
  • the spatial prediction mode filter coefficient calculation unit 213 performs spatial prediction processing (for example, mathematical expression) on a part of the filter coefficients of the decoding target filter (for example, the filter coefficient at the center position) included in the filter difference information 19.
  • the calculation of (2)) is performed to calculate the predicted value.
  • the spatial prediction mode filter coefficient calculation unit 213 adds the spatial prediction value to the coefficient difference (prediction error) included in the filter difference information 19 to restore the filter coefficient of the decoding target filter.
  • the spatial prediction mode filter coefficient calculation unit 213 replaces the prediction error included in the filter difference information 19 with the restored filter coefficient and inputs it as the filter information 17 to the filter processing unit 205, and the process ends.
  • the filter coefficient position correspondence setting unit 209 acquires the tap length included in the filter difference information 19 from the entropy decoding unit 201, and the correspondence of the filter coefficient position between the decoding target filter and the reference filter. Set the relationship.
  • the filter coefficient position correspondence setting unit 209 converts each of the filter coefficient positions of the decoding target filter to the first relative position from the center, and sets each of the filter coefficient positions of the reference filter to the second relative position from the center. And the correspondence relationship is set so that the first relative position and the second relative position match.
  • the filter coefficient position correspondence setting unit 209 notifies the correspondence relationship to the temporal prediction mode filter coefficient calculation unit 212 and the reference filter update unit 211.
  • the temporal prediction mode filter coefficient calculation unit 212 reads the reference filter information from the reference filter buffer 112, and each of the filter coefficients included in the filter difference information 19 and the reference filter information according to the correspondence set in step S214.
  • the filter coefficients included in the filter information 17 generated on the encoding side are restored (step S215).
  • the temporal prediction mode filter coefficient calculation unit 212 replaces the filter coefficient included in the filter difference information 19 with the calculated filter coefficient, and inputs the filter coefficient 17 to the filter processing unit 205 and the reference filter update unit 211.
  • the reference filter update unit 211 replaces the filter coefficient included in the reference filter information stored in the reference filter buffer 112 with the filter coefficient calculated in step S215 according to the correspondence set in step S214.
  • the reference filter information is updated (step S216), and the process ends.
  • the update of the reference filter information is not an essential process, but the update timing must be the same as that of the encoding side.
  • the video decoding apparatus obtains the filter coefficient of the decoding target filter from the coefficient difference (prediction error) included in the filter difference information according to the same coefficient prediction mode as that on the encoding side. Restore. Therefore, according to the moving picture decoding apparatus according to the present embodiment, it is possible to restore the filter coefficient of the decoding target filter by using the filter difference information having a smaller code amount than the filter information.
  • the moving picture decoding apparatus includes the filter information restoration unit 208 in the moving picture decoding apparatus in FIG. 4, the moving picture decoding apparatus in FIG. 8, or the moving picture decoding apparatus in FIG. Can be configured by replacing, for example, the filter information restoration unit 708 shown in FIG. 20 or the filter information restoration unit 808 shown in FIG.
  • the filter information restoration unit 708 in FIG. restores the filter information 17 from the filter difference information 19 generated by the filter difference information generation unit 410 in FIG.
  • the filter information restoration unit 808 in FIG. 21 can update the filter coefficient of the reference filter using the filter information 17 based on spatial prediction in addition to the filter information 17 based on temporal prediction in FIG. Different from the filter information restoration unit 608.
  • the filter information restoration unit 808 restores the filter information 17 from the filter difference information 19 generated by the filter difference information generation unit 510 in FIG.
  • the filter information restoration units 608, 708, and 808 when the reference filter is initialized at a specific timing, the filter information restoration units 608, 708, and 808 also have the same timing and the same mode. Perform initialization. When the above-described reuse mode is applied by the encoding side, the filter information restoration units 608, 708, and 808 restore the filter information 17 using filter coefficients of appropriate reference filters.
  • the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage.
  • Various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. Further, for example, a configuration in which some components are deleted from all the components shown in each embodiment is also conceivable. Furthermore, you may combine suitably the component described in different embodiment.
  • the reduction of the generated code amount based on the filter information in the post filter processing or the loop filter processing has been described.
  • the interpolation filter processing and the reference image are performed.
  • filter processing that may transmit filter information such as filter processing on a signal from the encoding side to the decoding side, the amount of generated code based on the filter information can be reduced.
  • the moving picture encoding apparatus and the moving picture decoding apparatus can be realized by using, for example, a general-purpose computer apparatus as basic hardware. That is, the predicted image signal generation unit 101, the subtraction unit 102, the transform / quantization unit 103, the entropy encoding unit 104, the inverse transform / inverse quantization unit 105, the addition unit 106, the filter information generation unit 107, and the encoding control unit 109 , Filter difference information generation units 110, 310, 410 and 510, filter coefficient position correspondence setting unit 111, filter coefficient difference calculation unit 113, reference filter update unit 114, temporal prediction mode filter coefficient difference calculation unit 115, spatial prediction mode filter Coefficient difference calculation unit 116, coefficient prediction mode control unit 117, entropy decoding unit 201, inverse transform / inverse quantization unit 202, predicted image signal generation unit 203, addition unit 204, filter processing unit 205, decoding control unit 207, Filter information restoration unit 208, 608, 708 and 80
  • the moving picture coding apparatus and the moving picture decoding apparatus may be realized by installing the program in a computer apparatus in advance, or may be stored in a storage medium such as a CD-ROM. Alternatively, the above program may be distributed via a network, and the program may be installed in a computer device as appropriate.
  • the reference image buffer 108, the reference filter buffer 112, and the reference image buffer 206 are a memory, a hard disk or a CD-R, a CD-RW, a DVD-RAM, a DVD- It can be realized by appropriately using a storage medium such as R.

Landscapes

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

Abstract

 動画像符号化方法は、符号化対象画像の復号画像に適用するための対象フィルタを求めることと、対象フィルタのタップ長と参照フィルタのタップ長とに基づいて、対象フィルタの対象フィルタ係数のそれぞれと参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定すること(S101)と、対応関係に従って、対象フィルタ係数と参照フィルタ係数との係数差分を求めること(S102)と、対象フィルタのタップ長及び係数差分を含む対象フィルタ情報を符号化すること(S104)と、を具備する。

Description

動画像符号化方法及び動画像復号化方法
 本発明は、タップ長の異なる複数のフィルタを選択的に適用可能な動画像符号化方法及び動画像復号化方法に関する。
 従来、例えばH.264/AVC等の動画像符号化方式では、原画像信号及び予測画像信号の間の予測誤差信号を直交変換及び量子化して得られる係数を符号化する。このように符号化された画像信号を復号化して得られる復号画像の画質を向上させるために、符号化側及び/または復号化側においてフィルタ処理が行われることがある。
 「S. Wittmann and T. Wedi, "Post-filter SEI message for 4:4:4 coding", JVT of ISO/IEC MPEG & ITU-T VCEG, JVT-S030, April 2006.」(以下、単に参考文献と称する)に記載されたポストフィルタ処理は、復号画像の画質を向上させることを目的として復号化側に設けられる。具体的には、上記復号化側において適用されるポストフィルタのフィルタ係数、フィルタサイズ(タップ長)等のフィルタ情報が符号化側で設定され、符号化ビットストリームに多重化されて出力される。復号化側は、上記フィルタ情報に基づくポストフィルタ処理を復号画像信号に対して行う。従って、符号化側において原画像信号及び復号画像信号の間の誤差が小さくなるようにフィルタ情報を設定すれば、ポストフィルタ処理によって復号画像の画質を向上させられる。
 参考文献に記載されたポストフィルタ処理は、符号化側においてフィルタ情報を符号化し、復号化側へ送信する。ここで、上記フィルタ情報に基づく発生符号量が大きくなるほど、符号化側における符号化効率は低下する。故に、上記フィルタ情報に基づく発生符号量を削減するための手法が望まれる。
 従って、本発明はフィルタ情報に基づく発生符号量を削減可能な動画像符号化方法を提供することを目的とする。
 本発明の一態様に係る動画像符号化方法は、符号化対象画像の復号画像に適用するための対象フィルタを求めることと、前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて、前記対象フィルタの対象フィルタ係数のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定することと、前記対応関係に従って、前記対象フィルタ係数と前記参照フィルタ係数との係数差分を求めることと、前記対象フィルタのタップ長及び前記係数差分を含む対象フィルタ情報を符号化することとを具備する。
 本発明の他の態様に係る動画像符号化方法は、符号化対象画像の復号画像に適用するための対象フィルタを求めることと、前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて前記対象フィルタの対象フィルタ係数のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定し、前記対応関係に従って前記対象フィルタ係数と前記参照フィルタ係数との時間係数差分を求める時間予測モード、または、前記対象フィルタ係数のうちの一部の係数の予測値を前記対象フィルタ係数のうちの他の係数に基づいて予測し、前記一部の係数と前記予測値との空間係数差分を求める空間予測モードを用いて対象係数差分を求めることと、前記対象フィルタのタップ長、前記対象係数差分の予測モードを示す予測モード情報及び前記対象係数差分を含む対象フィルタ情報を符号化することとを具備する。
 本発明の他の態様に係る動画像復号化方法は、対象フィルタのタップ長と、前記対象フィルタの対象フィルタ係数及び参照フィルタの参照フィルタ係数の間の係数差分とを含む対象フィルタ情報が符号化された符号化データを復号化することと、前記対象フィルタのタップ長と前記参照フィルタのタップ長とに基づいて、前記係数差分のそれぞれと前記参照フィルタ係数のそれぞれとの対応関係を設定することと、前記対応関係に従って、前記係数差分と前記参照フィルタ係数とを加算して、前記対象フィルタ係数を算出することとを具備する。
 本発明の他の態様に係る動画像復号化方法は、対象フィルタのタップ長、前記対象フィルタに適用されている予測モードを示す予測モード情報及び前記対象フィルタの対象フィルタ係数の予測誤差を示す対象係数差分を含む対象フィルタ情報が符号化された符号化データを復号化することと、前記予測モード情報が時間予測モードを示す場合には、前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて前記対象係数差分のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定し、前記対応関係に従って前記対象係数差分と前記参照フィルタ係数とを加算して、前記対象フィルタ係数を復元することと、前記予測モード情報が空間予測モードを示す場合には、前記対象フィルタ係数の一部をその他の対象フィルタ係数に基づいて予測し、前記対象係数差分を加算して前記対象フィルタ係数を復元することとを具備する。
図1は、第1の実施形態に係る動画像符号化装置を示すブロック図である。 図2は、図1のフィルタ差分情報生成部の内部を示すブロック図である。 図3は、図1の動画像符号化装置によるフィルタ差分情報の生成処理を示すフローチャートである。 図4は、第2の実施形態に係る動画像復号化装置を示すブロック図である。 図5は、図4のフィルタ情報復元部の内部を示すブロック図である。 図6は、図4の動画像復号化装置によるフィルタ情報の復元処理を示すフローチャートである。 図7は、第3の実施形態に係る動画像符号化装置を示すブロック図である。 図8は、第4の実施形態に係る動画像復号化装置を示すブロック図である。 図9は、第5の実施形態に係る動画像復号化装置を示すブロック図である。 図10Aは、符号化対象フィルタのフィルタ係数位置及びフィルタ係数位置対応関係を示すインデクスの一例を示す図である。 図10Bは、参照フィルタのフィルタ係数位置及びフィルタ係数位置対応関係を示すインデクスの一例を示す図である。 図11は、第6の実施形態に係る符号化装置におけるフィルタ差分情報生成部を示すブロック図である。 図12は、フィルタ係数の空間予測の一例を説明するための図である。 図13は、第6の実施形態に係る動画像符号化装置によるフィルタ差分情報の生成処理を示すフローチャートである。 図14は、符号化ビットストリームのシンタクス構造の一例を示す図である。 図15Aは、フィルタ差分情報の記述態様の一例を示す図である。 図15Bは、フィルタ差分情報の記述態様の一例を示す図である。 図16は、図11のフィルタ差分情報生成部の変形例を示すブロック図である。 図17は、図11のフィルタ差分情報生成部の変形例を示すブロック図である。 図18は、第7の実施形態に係る動画像復号化装置におけるフィルタ情報復元部を示すブロック図である。 図19は、第7の実施形態に係る動画像復号化装置によるフィルタ情報の復元処理を示すフローチャートである。 図20は、図18のフィルタ情報復元部の変形例を示すブロック図である。 図21は、図18のフィルタ情報復元部の変形例を示すブロック図である。 図22は、フィルタ差分情報の記述態様の一例を示す図である。 図23Aは、フィルタ係数の空間予測の一例を説明するための図である。 図23Bは、フィルタ係数の空間予測の一例を説明するための図である。
 以下、図面を参照して、本発明の実施形態について説明する。 
 (第1の実施形態) 
 図1は本発明の第1の実施形態に係る動画像符号化装置を示す。この動画像符号化装置は、いわゆるハイブリッド符号化を行う動画像符号化装置であって、動画像符号化部1000と符号化制御部109とを有する。動画像符号化部1000は、予測画像信号生成部101、減算部102、変換/量子化部103、エントロピー符号化部104、逆変換/逆量子化部105、加算部106、フィルタ情報生成部107、参照画像用バッファ108及びフィルタ差分情報生成部110を有する。符号化制御部109は、発生符号量のフィードバック制御、量子化制御、予測モード制御及び動き推定精度の制御等の動画像符号化部1000全体の制御を行う。
 予測画像信号生成部101は、ブロック単位の入力画像信号(原画像信号)10の予測を行って予測画像信号11を生成する。具体的には、予測画像信号生成部101は、既に符号化済みの参照画像信号18を後述する参照画像用バッファ108から読み出し、当該参照画像信号18に対する入力画像信号10の動きを示す動きベクトルを検出する。動きベクトルは例えばブロックマッチングによって検出される。予測画像信号生成部101は、上記動きベクトルを用いて参照画像信号18を動き補償した予測画像信号11を減算部102及び加算部106に入力する。尚、予測画像信号生成部101は、動き補償予測(時間方向の予測)に限らず、イントラ予測(空間方向の予測)を行って予測画像信号11を生成してもよい。
 減算部102は、予測画像信号生成部101からの予測画像信号11を入力画像信号10より減算して予測誤差信号12を得る。減算部102は、予測誤差信号12を変換/量子化部103に入力する。
 変換/量子化部103は、減算部102からの予測誤差信号12を直交変換して変換係数を得る。直交変換として、例えば離散コサイン変換(DCT)が用いられる。尚、変換/量子化部103は、ウェーブレット変換、独立成分解析またはアダマール変換等の他の変換処理を行ってもよい。変換/量子化部103は、符号化制御部109によって設定される量子化パラメータ(QP)に従って、上記変換係数を量子化する。量子化された変換係数(以下、量子化変換係数13と称する)は、エントロピー符号化部104及び逆変換/逆量子化部105に入力される。
 エントロピー符号化部104は、変換/量子化部103からの量子化変換係数13と符号化パラメータとをエントロピー符号化して、符号化データ14を得る。エントロピー符号化として、例えばハフマン符号化や算術符号化が用いられる。符号化パラメータは、後述するフィルタ差分情報生成部110からのフィルタ差分情報19を含む。尚、符号化パラメータには、予測画像信号11の予測モードを示す予測モード情報、ブロックサイズ切り替え情報及び量子化パラメータが含まれてもよい。エントロピー符号化部104は、符号化データ14を多重化した符号化ビットストリームを出力する。
 逆変換/逆量子化部105は、変換/量子化部103からの量子化変換係数13を上記量子化パラメータに従って逆量子化して変換係数を復号する。逆変換/逆量子化部105は、復号した変換係数に対して、変換/量子化部103によって行われた変換処理の逆変換を行って予測誤差信号12を復号する。例えば、逆変換/逆量子化部105は、逆離散コサイン変換(IDCT)や逆ウェーブレット変換を行う。逆変換/逆量子化部105は、上記復号された予測誤差信号(以下、復号予測誤差信号15と称する)を加算部106に入力する。
 加算部106は、逆変換/逆量子化部105からの復号予測誤差信号15と、予測画像生成部101からの予測画像信号11とを加算して局所復号画像信号16を生成する。加算部106は、局所復号画像信号16をフィルタ情報生成部107及び参照画像用バッファ108に入力する。
 フィルタ情報生成部107は、入力画像信号10及び加算部106からの局所復号画像信号16に基づき、符号化対象フィルタのフィルタ情報17を生成する。フィルタ情報17は、復号化側において上記入力画像信号10に対応する復号画像信号に対してフィルタ処理を適用するか否かを示す切り替え情報を含む。切り替え情報がフィルタ処理を適用することを示す値である場合には、フィルタ情報17は適用すべきフィルタ(符号化対象フィルタ)を特定する情報を更に含む。具体的には、フィルタのタップ長を示すタップ長情報及びフィルタ係数を更に含む。上記フィルタ係数として、例えば、局所復号画像信号16(復号化側における復号画像信号に相当する)と入力画像信号10との間の誤差を最小化するための係数値と、当該係数値の各々が適用される係数位置とが定められる。尚、フィルタ情報生成部107は、局所復号画像信号16に対してデブロッキングフィルタ処理を施して得られる画像信号を、当該局所復号画像信号16の代わりに用いてもよい。即ち、加算部106とフィルタ情報生成部107との間にデブロッキングフィルタが設けられてもよい。
 参照画像用バッファ108には、加算部106からの局所復号画像信号16が参照画像信号18として記憶され、予測画像信号生成部101が適宜読み出す。
 フィルタ差分情報生成部110は、後述する参照フィルタのタップ長情報及びフィルタ係数を含む参照フィルタ情報を記憶する。フィルタ差分情報生成部110は、上記参照フィルタ情報と、フィルタ情報17との間の差分を示すフィルタ差分情報19を生成する。フィルタ差分情報生成部110は、フィルタ差分情報19をエントロピー符号化部104に入力する。
 以下、図2を用いてフィルタ差分情報生成部110の内部を説明する。 
 図2に示すように、フィルタ差分情報生成部110は、フィルタ係数位置対応関係設定部111、参照フィルタ用バッファ112、フィルタ係数差分算出部113及び参照フィルタ更新部114を有する。
 フィルタ係数位置対応関係設定部111は、フィルタ情報17と参照フィルタ情報との間におけるフィルタ係数位置の対応関係を設定する。フィルタ情報17及び参照フィルタ情報には、いずれもタップ長情報及びフィルタ係数が含まれる。符号化対象フィルタのタップ長と参照フィルタのタップ長とは必ずしも一致しない。フィルタ係数位置対応関係設定部111は、符号化フィルタのタップ長と参照フィルタのタップ長とが一致しない場合にも、フィルタ情報17のフィルタ係数位置の各々を参照フィルタ情報のフィルタ係数位置の各々と対応付ける。例えば、フィルタ係数位置対応関係設定部111は、フィルタ情報17のフィルタ係数位置の中心と、参照フィルタ情報のフィルタ係数位置の中心とが一致するように、フィルタ情報17のフィルタ係数位置の各々と、参照フィルタ情報のフィルタ係数位置の各々とを対応付ける。フィルタ係数位置対応関係設定部111は、上記対応関係をフィルタ係数差分算出部113及び参照フィルタ更新部114に通知する。
 参照フィルタ用バッファ112には、参照フィルタ情報が一時的に記憶される。参照フィルタ情報は、フィルタ係数差分算出部113によって適宜読み出される。
 フィルタ係数差分算出部113は、参照フィルタ情報を参照フィルタ用バッファ112から読み出す。フィルタ係数差分算出部113は、フィルタ係数位置対応関係設定部111によって定められた対応関係に従って、フィルタ情報17のフィルタ係数の各々から参照フィルタ情報のフィルタ係数の各々を減算し、フィルタ係数差分を算出する。フィルタ係数差分算出部113は、フィルタ情報17のフィルタ係数を上記フィルタ係数差分に置き換え、フィルタ差分情報19としてエントロピー符号化部104及び参照フィルタ更新部114に入力する。参照フィルタの特性が符号化対象フィルタの特性に近いほど、上記フィルタ係数差分は小さくなるため符号量を小さく抑えることができる。
 参照フィルタ更新部114は、フィルタ係数位置対応関係設定部111によって定められた対応関係に従って、参照フィルタ用バッファ112に記憶された参照フィルタ情報のフィルタ係数に、フィルタ係数差分算出部113から出力されるフィルタ差分情報19のフィルタ係数差分を加算することにより、参照フィルタ情報を更新する。ここで、参照フィルタ情報の更新は、フィルタ差分情報19を生成する度に行われてもよいし、所定のタイミングで行われてもよいし、全く行われなくてもよい。参照フィルタ情報の更新を全く行わない場合には、参照フィルタ更新部114は不要である。尚、参照フィルタ情報のフィルタ係数の初期値は、符号化側及び復号化側において共通の値が用いられる。参照フィルタ情報は、符号化側及び復号化側で共通のタイミングで更新される。
 以下、図3を用いてフィルタ差分情報19の生成処理を説明する。 
 まず、前提として、フィルタ情報生成部107が生成するフィルタ情報17を具体的に説明する。以降の説明において、フィルタ情報生成部107は、画像復元において一般的に用いられる2次元Wiener filterを対象とし、タップ長は5×5及び7×7のいずれか一方であるものとする。
 フィルタ情報生成部107は、タップ長を5×5に設定し、局所復号画像信号16にフィルタ処理を施した画像信号と入力画像信号10との間の平均二乗誤差が最小となるフィルタ係数を導出する。また、フィルタ情報生成部107は、タップ長を7×7に設定し、局所画像信号16にフィルタ処理を施した画像信号と入力画像信号10との間の平均二乗誤差が最小となるフィルタ係数を導出する。そして、フィルタ情報生成部107は、タップ長を5×5に設定した場合の第1の符号化コストと、タップ長を7×7に設定した場合の第2の符号化コストと、フィルタ処理を施さない場合の第3の符号化コストとを次の数式(1)に従って導出する。
Figure JPOXMLDOC01-appb-M000001
 数式(1)において、costは符号化コストを表し、Dは残差二乗和(Sum of Squared Difference;SSD)を表し、λは係数を表し、Rは発生符号量を表す。
 フィルタ情報生成部107は、上記第1の符号化コストが最も小さければ、(A)フィルタ処理を適用することを示す切り替え情報と、(B)タップ長が5×5であることを示すタップ長情報と、(C)導出されたフィルタ係数とを含むフィルタ情報17を生成する。また、フィルタ情報生成部107は、上記第2の符号化コストが最も小さければ、(A)フィルタ処理を適用することを示す切り替え情報と、(B)タップ長が7×7であることを示すタップ長情報と、(C)導出されたフィルタ係数とを含むフィルタ情報17を生成する。また、フィルタ情報生成部107は、上記第3の符号化コストが最も小さければ、(A)フィルタ処理を適用しないことを示す切り替え情報を含むフィルタ情報17を生成する。
 尚、上記説明において、フィルタ情報生成部107が符号化コストを導出する場合を例示したが、フィルタ情報生成部110が符号化コストを導出してもよい。即ち、フィルタ情報生成部107がフィルタ処理を適用しない場合のフィルタ情報17と、タップ長が5×5の場合のフィルタ情報17と、タップ長が7×7の場合のフィルタ情報17とをフィルタ差分情報生成部110に入力し、フィルタ差分情報生成部110が3つのフィルタ情報17に基づくフィルタ差分情報19を用いて3つの符号化コストを夫々導出し、符号化コストが最も小さくなるフィルタ差分情報19を出力してもよい。エントロピー符号化部104はフィルタ情報17でなくフィルタ差分情報19を符号化するので、フィルタ差分情報19を用いて符号化コストを導出すればより正確な値が得られる。
 フィルタ情報生成部107が以上のようなフィルタ情報17を生成する場合、参照フィルタのタップ長は上記フィルタ情報17に含まれ得る最大のタップ長(=7×7)となる。また、参照フィルタ情報のフィルタ係数の初期値は任意の値(例えば、統計的に導出された値)でよいが、前述したように符号化側及び復号化側において共通の値が用いられる。
 フィルタ情報生成部107が、フィルタ情報17をフィルタ差分情報生成部110に入力すると、図3の処理が開始する。
 まず、フィルタ係数位置対応関係設定部111は、フィルタ情報生成部107からのフィルタ情報17が示す符号化対象フィルタのタップ長を取得し、符号化対象フィルタと参照フィルタとの間のフィルタ係数位置の対応関係を設定する(ステップS101)。前述したように、参照フィルタのタップ長は7×7(例えば、図10B参照)なので、符号化対象フィルタのタップ長も7×7であれば、符号化対象フィルタのフィルタ係数及び参照フィルタのフィルタ係数は同じ位置同士で一対一に対応付けられる。一方、符号化対象フィルタのタップ長が5×5(例えば、図10A参照)であれば、フィルタ係数位置対応関係設定部111は、符号化対象フィルタのフィルタ係数位置の中心(図10Aにおいてインデクス=0の位置)及び参照フィルタのフィルタ係数位置の中心(図10Bにおいてインデクス=0の位置)が一致するように、対応関係を設定する。換言すれば、フィルタ係数位置対応関係設定部111は、符号化対象フィルタのフィルタ係数位置の各々を中心からの第1の相対位置に変換し、参照フィルタのフィルタ係数位置の各々を中心からの第2の相対位置に変換し、第1の相対位置及び第2の相対位置が一致するように対応関係を設定する。フィルタ係数位置対応関係設定部111は、上記対応関係をフィルタ係数差分算出部113及び参照フィルタ更新部114に通知する。図10A及び図10Bの例であれば、インデクスがフィルタ係数の対応関係を示す。即ち、図10Aのインデクスと、図10Bのインデクスとが一致するフィルタ係数同士が対応付けられる。
 次に、フィルタ係数差分算出部113は、参照フィルタ情報を参照フィルタ用バッファ112から読み出し、ステップS101において設定された対応関係に従って、フィルタ情報17に含まれるフィルタ係数の各々から参照フィルタ情報に含まれるフィルタ係数の各々を減算し、フィルタ係数差分を算出する(ステップS102)。フィルタ係数差分算出部113は、フィルタ情報17に含まれるフィルタ係数を上記フィルタ係数差分に置き換え、フィルタ差分情報19としてエントロピー符号化部104及び参照フィルタ更新部114に出力する。
 次に、参照フィルタ更新部114は、ステップS101において設定された対応関係に従って、参照フィルタ用バッファ112に記憶された参照フィルタ情報に含まれるフィルタ係数に、ステップS102において算出されたフィルタ係数差分を加算することにより、参照フィルタ情報を更新する(ステップS103)。前述したように参照フィルタ情報の更新は必須の処理ではないが、更新を頻繁に行うことにより、符号化対象フィルタの特性が徐々に変化する場合にも参照フィルタの特性を符号化対象フィルタの特性の変化に追従させられるため、係数差分の増大ひいては発生符号量の増大を抑えられる。
 次に、エントロピー符号化部104は、ステップS103において生成されたフィルタ差分情報19及びその他の符号化パラメータと、量子化変換係数13とに対して、ハフマン符号化や算術符号化等のエントロピー符号化を行う(ステップS104)。エントロピー符号化部104は、符号化データ14を多重化した符号化ビットストリームを出力し、処理は終了する。
 以上説明したように、本実施形態に係る動画像符号化装置は、参照フィルタを用意し、当該参照フィルタと符号化対象フィルタとの間のフィルタ係数位置の対応関係を定めたうえで両者の係数差分を算出し、フィルタ情報の代わりに上記係数差分を含むフィルタ差分情報を符号化する。従って、本実施形態に係る動画像符号化装置によれば、符号化対象フィルタのタップ長と参照フィルタのタップ長とが異なる場合であっても係数差分を算出し、フィルタ情報に比べて符号量の小さなフィルタ差分情報を生成できる。
 尚、上記説明において、参照フィルタ情報が1つであるかのように説明したが、複数であってもよい。例えば、符号化対象フィルタの性質(フィルタ特性、タップ長等)及び符号化対象フィルタが適用される領域の性質(スライスタイプ、量子化パラメータ等)の少なくとも一方を条件として、複数の参照フィルタ情報からいずれか1つを選択して用いてもよい。上記条件に従って参照フィルタを適応的に選択すれば、係数差分を小さく抑えることが容易になる。また、複数の参照フィルタ情報を用いる場合に、上記条件に依存しない参照フィルタ情報を更に設けてもよい。上記条件に依存しない参照フィルタ情報に含まれるフィルタ係数を、上記条件に依存する参照フィルタ情報に含まれるフィルタ係数の初期値として統一的に用いることにより、上記条件に依存する参照フィルタ情報が初めて用いられるときにも係数差分を小さく抑えられる。
 (第2の実施形態) 
 図4は本発明の第2の実施形態に係る動画像復号化装置を示す。この動画像復号化装置は図1の動画像符号化装置から出力される符号化データを復号化する。図4の動画像復号化装置は動画像復号化部2000と、復号化制御部207とを有する。動画像復号化部2000は、エントロピー復号化部201、逆変換/逆量子化部202、予測画像信号生成部203、加算部204、フィルタ処理部205、参照画像用バッファ206及びフィルタ情報復元部208を有する。復号化制御部207は復号化部2000全体の制御(例えば、復号化タイミングの制御)を行う。以下の説明では、図4において図1と同一部分には同一符号を付して示し、異なる部分を中心に述べる。
 エントロピー復号化部201は、所定のシンタクス構造に従って、符号化データ14に含まれる各シンタクスの符号列を復号する。具体的には、エントロピー復号化部201は、量子化変換係数13、フィルタ差分情報19、動き情報、予測モード情報、ブロックサイズ切り替え情報及び量子化パラメータ等を復号する。エントロピー復号化部201は、量子化変換係数13を逆変換/逆量子化部202に、フィルタ差分情報19をフィルタ情報復元部208に夫々入力する。
 逆変換/逆量子化部202は、エントロピー復号化部201からの量子化変換係数13を量子化パラメータに従って逆量子化して変換係数を復号する。逆量子化/逆変換部202は、復号した変換係数に対して、符号化側で行われた変換処理の逆変換を行って予測誤差信号を復号する。例えば、逆量子化/逆変換部202はIDCTや逆ウェーブレット変換を行う。上記復号された予測誤差信号(以下、復号予測誤差信号15と称する)は、加算部204に入力される。
 予測画像信号生成部203は、符号化側と同様の予測画像信号11を生成する。具体的には、予測画像信号生成部203は、既に復号化済みの参照画像信号18を後述する参照画像用バッファ206から読み出し、エントロピー復号化部201からの動き情報を用いて動き補償予測を行う。また、予測画像信号生成部203は符号化側がイントラ予測など他の予測方式によって予測画像信号11を生成していれば、これに応じた予測を行って予測画像信号11を生成する。予測画像生成部203は、予測画像信号11を加算部204に入力する。
 加算部204は、逆変換/逆量子化部202からの復号予測誤差信号15と、予測画像信号生成部203からの予測画像信号11とを加算して復号画像信号21を生成する。加算部204は、復号画像信号21をフィルタ処理部205に入力する。また、加算部204は、復号画像信号21を参照画像用バッファ206に入力する。
 フィルタ処理部205は、後述するフィルタ情報復元部208からのフィルタ情報17に従い、復号画像信号21に対して所定のフィルタ処理を行って復元画像信号22を生成する。フィルタ処理部205は、復元画像信号22を外部に出力する。尚、フィルタ処理部205は、復号画像信号21に対してデブロッキングフィルタ処理を施して得られる画像信号を、当該復号画像信号21の代わりに用いてもよい。即ち、加算部204とフィルタ処理部205との間にデブロッキングフィルタが設けられてもよい。
 参照画像用バッファ206には、加算部204からの復号画像信号21が参照画像信号18として一時的に記憶され、予測画像信号生成部203によって必要に応じて読み出される。
 フィルタ情報復元部208は、後述するように、符号化側と同一の参照フィルタ情報とエントロピー復号化部201からのフィルタ差分情報19とを用いて、符号化側において生成されたフィルタ情報17(復号化対象フィルタのフィルタ情報)を復元する。フィルタ情報復元部208は、フィルタ情報17をフィルタ処理部205に入力する。
 以下、図5を用いてフィルタ情報復元部208の内部を説明する。 
 図5に示すように、フィルタ情報復元部208は、フィルタ係数位置対応関係設定部209、フィルタ係数算出部210、参照フィルタ更新部211及び参照フィルタ用バッファ112を有する。
 フィルタ係数位置対応関係設定部209は、フィルタ差分情報19と参照フィルタ情報との間におけるフィルタ係数位置の対応関係を設定する。尚、前述したように、フィルタ差分情報19及びフィルタ情報17は、フィルタ係数値において異なるものの、フィルタ係数位置を含むその他の点において共通する。従って、フィルタ係数位置対応関係設定部209は前述したフィルタ係数位置対応関係設定部111と同一の構成でもよい。例えば、フィルタ係数位置対応関係設定部209は、フィルタ差分情報19に含まれるフィルタ係数位置の中心と、参照フィルタ情報に含まれるフィルタ係数位置の中心とが一致するように、フィルタ差分情報19に含まれる係数位置の各々と、参照フィルタ情報に含まれる係数位置の各々とを対応付ける。フィルタ係数位置対応関係設定部209は、上記対応関係をフィルタ係数算出部210及び参照フィルタ更新部211に通知する。
 フィルタ係数算出部210は、参照フィルタ情報を参照フィルタ用バッファ112から読み出す。フィルタ係数算出部210は、フィルタ係数位置対応関係設定部209によって定められた対応関係に従って、フィルタ差分情報19に含まれるフィルタ係数の各々と参照フィルタ情報に含まれるフィルタ係数の各々とを加算する。前述したように、フィルタ差分情報19に含まれるフィルタ係数は、符号化側において生成されたフィルタ情報17に含まれるフィルタ係数から参照フィルタ情報に含まれるフィルタ係数を減算して得られる。従って、フィルタ差分情報19に含まれるフィルタ係数と参照フィルタ情報に含まれるフィルタ係数とを加算することにより、フィルタ情報17に含まれるフィルタ係数が復元される。フィルタ係数算出部210は、フィルタ差分情報19に含まれるフィルタ係数を復元したフィルタ係数に置き換えて、フィルタ情報17として出力する。
 参照フィルタ更新部211は、フィルタ係数位置対応関係設定部210によって定められた対応関係に従って、参照フィルタ用バッファ112に記憶された参照フィルタ情報に含まれるフィルタ係数を、フィルタ係数算出部210から出力されるフィルタ情報17に含まれるフィルタ係数(即ち、フィルタ係数算出部210によって算出されたフィルタ係数)に置き換えることにより、参照フィルタ情報を更新する。ここで、参照フィルタ情報の初期値及び更新タイミングは、符号化側と一致しているものとする。
 以下、図6を用いてフィルタ情報17の復元処理を説明する。 
 符号化側から符号化データ14が入力されると、図6の処理が開始する。 
 まず、エントロピー復号化部201は、符号化データ14を復号し、フィルタ差分情報19及びその他の符号化パラメータと、量子化変換係数13とを得る(ステップS201)。エントロピー復号化部201は、量子化変換係数13を逆変換/逆量子化部202に、フィルタ差分情報19をフィルタ情報復元部208に夫々入力する。
 次に、フィルタ係数位置対応関係設定部209は、エントロピー復号化部201からのフィルタ差分情報19に含まれるタップ長を取得し、復号化対象フィルタと参照フィルタとの間におけるフィルタ係数位置の対応関係を設定する(ステップS202)。前述したように、参照フィルタ情報におけるタップ長は7×7なので、フィルタ差分情報19におけるタップ長も7×7であれば、復号化対象フィルタのフィルタ係数及び参照フィルタのフィルタ係数は同一位置同士で一対一に対応付けられる。一方、フィルタ差分情報19におけるタップ長が5×5であれば、フィルタ係数位置対応関係設定部209、復号化対象フィルタのフィルタ係数位置の中心及び参照フィルタのフィルタ係数位置の中心が一致するように、対応関係を設定する。換言すれば、フィルタ係数位置対応関係設定部209は、復号化対象フィルタのフィルタ係数位置の各々を中心からの第1の相対位置に変換し、参照フィルタのフィルタ係数位置の各々を中心からの第2の相対位置に変換し、第1の相対位置及び第2の相対位置が一致するように対応関係を設定する。フィルタ係数位置対応関係設定部209は、上記対応関係をフィルタ係数算出部210及び参照フィルタ更新部211に通知する。
 次に、フィルタ係数算出部210は、参照フィルタ情報を参照フィルタ用バッファ112から読み出し、ステップS202において設定された対応関係に従って、フィルタ差分情報19に含まれるフィルタ係数の各々と参照フィルタ情報に含まれるフィルタ係数の各々とを加算し、符号化側において生成されたフィルタ情報17に含まれるフィルタ係数を復元する(ステップS203)。フィルタ係数算出部210は、フィルタ差分情報19に含まれるフィルタ係数を、算出したフィルタ係数に置き換え、フィルタ情報17としてフィルタ処理部205及び参照フィルタ更新部211に入力する。
 次に、参照フィルタ更新部211は、ステップS202において設定された対応関係に従って、参照フィルタ用バッファ112に記憶された参照フィルタ情報に含まれるフィルタ係数を、ステップS203において算出されたフィルタ係数に置き換えることにより、参照フィルタ情報を更新する(ステップS204)。前述したように参照フィルタ情報の更新は必須の処理でないが、更新タイミングは符号化側と同一でなければならない。
 以上説明したように、本実施形態に係る動画像復号化装置は、符号化側と同一の参照フィルタを用意し、当該参照フィルタと復号化対象フィルタとの間のフィルタ係数位置の対応関係を定めたうえで、参照フィルタのフィルタ係数と符号化側から送信される係数差分とを加算して復号化対象フィルタのフィルタ係数を復元する。従って、本実施形態に係る動画像復号化装置によれば、復号化対象フィルタのタップ長と参照フィルタのタップ長とが異なる場合であっても、フィルタ情報に比べて符号量の小さなフィルタ差分情報を利用して、復号化対象フィルタのフィルタ係数を復元できる。
 尚、上記説明において、参照フィルタ情報が1つであるかのように説明したが、複数であってもよい。例えば、復号化対象フィルタの性質(フィルタ特性、タップ長等)及び復号化対象フィルタが適用される領域(復号化対象領域)の性質(スライスタイプ、量子化パラメータ等)の少なくとも一方を条件として、複数の参照フィルタ情報からいずれか1つを選択して用いてもよい。また、複数の参照フィルタ情報を用いる場合に、上記条件に依存しない参照フィルタ情報を更に設けてもよい。
 (第3の実施形態) 
 図7に示すように、本発明の第3の実施形態に係る動画像符号化装置は、いわゆるハイブリッド符号化を行う動画像符号化装置であって、図1の動画像符号化装置における動画像符号化部1000を動画像符号化部3000に置き換えて構成される。以下の説明では、図7において図1と同一部分には同一符号を付して示し、異なる部分を中心に述べる。
 動画像符号化部3000は、図1の動画像符号化部1000において更にフィルタ処理部120を設けて構成される。 
 フィルタ処理部120は、画像復元のためのフィルタ処理を加算部106からの局所復号画像信号16に対して施し、復元画像信号22を得る。フィルタ処理部120が行うフィルタ処理は、復号化側において復号画像信号に対して行われるフィルタ処理と同一であり、タップ長及びフィルタ係数はフィルタ情報生成部107からのフィルタ情報17によって指定される。フィルタ処理部120は、復元画像信号22を参照画像用バッファ108に入力する。参照画像用バッファ108には、フィルタ処理部120からの復元画像信号22が参照画像信号18として一時的に記憶され、予測画像信号生成部101によって適宜読み出される。
 以上説明したように、本実施形態に係る動画像符号化装置によれば、いわゆるループフィルタ処理を行う動画像符号化装置において前述した第1の実施形態に係る動画像符号化装置と同様の効果が得られる。
 (第4の実施形態) 
 図8に示すように、本発明の第4の実施形態に係る動画像復号化装置は、上記図7に示す動画像符号化装置から入力される符号化データを復号化する動画像復号化装置であって、図4の動画像復号化装置における動画像復号化部2000を動画像復号化部4000に置き換えて構成される。以下の説明では、図8において図4と同一部分には同一符号を付して示し、異なる部分を中心に述べる。
 動画像復号化部2000において、前述したように、加算部204からの復号画像信号21が参照画像信号18として参照画像用バッファ206によって一時的に記憶される。一方、動画像復号化部4000において、フィルタ処理部205からの復元画像信号22が参照画像信号18として参照画像用バッファ206によって一時的に記憶される。
 以上説明したように、本実施形態に係る動画像復号化装置によれば、いわゆるループフィルタ処理を行う動画像復号化装置において、前述した第2の実施形態に係る動画像復号化装置と同様の効果が得られる。
 (第5の実施形態) 
 図9に示すように、本発明の第5の実施形態に係る動画像復号化装置は、上記図7に示す動画像符号化装置から入力される符号化データを復号化する動画像復号化装置であって、図4の動画像復号化装置における動画像復号化部2000を動画像復号化部5000に置き換えて構成される。以下の説明では、図8において図4と同一部分には同一符号を付して示し、異なる部分を中心に述べる。
 動画像復号化部2000において、前述したように、加算部204からの復号画像信号21が参照画像信号18として参照画像用バッファ206によって一時的に記憶され、フィルタ処理部205からの復元画像信号22が外部に出力される。一方、動画像復号化部5000において、フィルタ処理部205からの復元画像信号22が参照画像信号18として参照画像用バッファ206によって一時的に記憶され、加算部204からの復号画像信号21が外部に出力される。
 以上説明したように、本実施形態に係る動画像復号化装置によれば、いわゆるループフィルタ処理を行う動画像復号化装置において、前述した第2の実施形態に係る動画像復号化装置と同様の効果が得られる。
 (第6の実施形態) 
 前述した第1及び第3の実施形態に係る動画像符号化装置は、図2のフィルタ差分情報生成部110によってフィルタ差分情報19を生成する。本発明の第6の実施形態に係る動画像符号化装置は、図2のフィルタ差分情報生成部110とは異なるフィルタ差分情報生成部を用いてフィルタ差分情報19を生成する。
 図2のフィルタ差分情報生成部110は、符号化対象フィルタと参照フィルタとの間のフィルタ係数の差分を含むフィルタ差分情報19を生成する。フィルタ差分情報生成部110は、符号化対象フィルタのフィルタ係数そのものでなく係数差分を符号化対象とすることにより、発生符号量を低減させる。ここで、参照フィルタのフィルタ係数は、既に符号化済みのフィルタ係数によって更新されるため、対象フィルタのフィルタ係数に対する時間方向の予測値とみなすことができる。即ち、図2のフィルタ差分情報生成部110による符号化対象フィルタのフィルタ係数に関する発生符号量の削減効果は、符号化対象フィルタの時間的相関に依存する。故に、符号化対象フィルタと参照フィルタとの間の時間的相関が小さいほど、発生符号量の削減効果は減少する。また、符号化対象フィルタのフィルタ係数が参照フィルタのフィルタ係数と大きく異なる場合には、符号化対象フィルタのフィルタ係数そのものを符号化するよりも発生符号量が却って増えるおそれがある。また、任意の時刻から復号化を開始するいわゆるランダムアクセスが行われる場合には、アクセス対象時刻以前のフィルタ情報を使用できないため、フィルタ係数に対する時間方向の予測が不可能となるかもしれない。
 そこで、本実施形態に係る動画像符号化装置は、フィルタ係数に対して時間方向の予測(以下、単に時間予測モードと称する)と、後述する空間方向の予測(以下、単に空間予測モードと称する)とを適応的に切り替える。即ち、本実施形態に係る動画像符号化装置は、空間予測モードを適応的に利用することにより、時間予測モードが適さない場面においても符号化対象フィルタのフィルタ係数に基づく発生符号量の削減効果を奏することができる。
 本実施形態に係る動画像符号化装置は、図1の動画像符号化装置または図7の動画像符号化装置においてフィルタ差分情報生成部110を、例えば図11に示すフィルタ差分情報生成部310に置き換えることにより構成することができる。
 フィルタ差分情報生成部310は、フィルタ係数位置対応関係設定部111、参照フィルタ用バッファ112、参照フィルタ更新部114、時間予測モードフィルタ係数差分算出部115、空間予測モードフィルタ係数差分算出部116及び係数予測モード制御部117を有する。尚、図11において図2と同一部分には同一符号を付して示しており、以降の説明では両図の間で異なる部分を中心に述べる。また、時間予測モードフィルタ係数差分算出部115は、フィルタ係数差分算出部113と名称において異なるが、実質的に同一の構成要素を適用可能である。
 空間予測モードフィルタ係数差分算出部116は、符号化対象フィルタのフィルタ係数に対して空間方向の予測を行って、予測誤差を含むフィルタ差分情報19を生成する。空間予測モードフィルタ係数差分算出部116は、任意の既存或いは将来の空間予測技術を利用してよい。
 以下、図12を用いて空間予測モードフィルタ係数差分算出部116が利用可能な空間予測技術の一例を説明する。一般に、フィルタ係数の総和(図12の場合であれば、フィルタ係数c0,・・・,c24の総和)は、あまり変動しない。このため、フィルタ係数の総和を一定値と推定することにより、任意の位置のフィルタ係数(例えば、図12におけるフィルタ係数c0)を、その他の位置のフィルタ係数の総和(例えば、図12におけるフィルタ係数c1,・・・,c24の総和)に基づいて予測することが可能となる。空間予測が行われるフィルタ係数は任意でよいが、一般に中心位置のフィルタ係数(図12におけるフィルタ係数c0)が大きいので、中心位置のフィルタ係数に対して空間予測を行うことが発生符号量削減の観点からすれば望ましい。図12において、フィルタ係数c0に対する予測値c0'は、その他のフィルタ係数c1,・・・,c24及びフィルタ係数の総和Sを用いて次の数式(2)に従って導出できる。
Figure JPOXMLDOC01-appb-M000002
 フィルタ係数の総和Sは、フィルタ係数の総和(ゲイン)が「1」であってフィルタ係数の各々を8ビットで量子化する場合には、「256」となる。また、フィルタ係数の総和Sは、符号化側と復号化側で同一の値でなければならないことに注意を要する。空間予測モードフィルタ係数差分算出部116は、フィルタ係数c0の予測誤差(=c0-c0')と、その他のフィルタ係数c1,・・・,c24とを含むフィルタ差分情報19を生成する。即ち、空間予測モードフィルタ係数差分算出部116は、フィルタ情報17におけるフィルタ係数c0を、予測誤差に置き換えてフィルタ差分情報19を生成する。
 尚、空間予測モードフィルタ係数差分算出部116が利用可能な空間予測技術は、上記技術に限られず、フィルタ係数の空間的相関を利用可能な任意の技術が適用されてよい。以下、図23A及び図23Bを用いて空間予測処理の別の例を説明する。これらの空間予測処理は、前述した空間予測処理またはその他の空間予測処理と組み合わせて利用されてもよいし、独立して利用されてもよい。
 一般に、中心位置に関して点対称な位置のフィルタ係数は、同じ値または類似する値であることが多い。従って、例えば図23Aに示すように、インデクス1,・・・,12のフィルタ係数をインデクスd1,・・・・,d12のフィルタ係数に対する空間予測値として夫々利用することができる。このような空間予測処理を利用する場合であれば、インデクスd1,・・・,d12のフィルタ係数そのものでなく予測誤差をフィルタ差分情報19に格納させることができる。
 また、中心位置に関して垂直方向または水平方向に対称な位置のフィルタ情報も、同一または類似する値であることが多い。従って、例えば図23Bに示すように、インデクス1,・・・,8のフィルタ係数をインデクスd1,・・・,d8のフィルタ係数に対する空間予測値として夫々利用することができる。このような空間予測処理を利用する場合であれば、インデクスd1,・・・,d8のフィルタ係数そのものでなく予測誤差をフィルタ差分情報19に格納させることができる。
 係数予測モード制御部117は、時間予測モードフィルタ係数差分算出部115によって生成されるフィルタ差分情報19と、空間予測モードフィルタ係数差分算出部116によって生成されるフィルタ差分情報19とを適応的に切り替えて選択し、どのような係数予測モードが選択されたかを識別するための係数予測モード情報を多重化させて出力する。尚、係数予測モード制御部117による係数予測モードの決定処理の具体例は後述する。
 以下、図13を用いて、本実施形態に係る動画像符号化装置におけるフィルタ差分情報19の生成処理を説明する。フィルタ情報生成部107が、フィルタ情報17をフィルタ差分情報生成部310に入力すると、図13の処理が開始する。 
 尚、図13の例では、時間予測(ステップS111~S112)が空間予測(ステップS114)に先立って行われるが、これらの順序は逆順でもよいし並列的でもよい。また、係数予測モード制御部117は後述するように符号化コストに基づいて係数予測モードを決定するが、その他の任意の基準に従って係数予測モードが決定されてもよい。また、ステップS116では、数式(1)に従って算出される時間予測処理及び空間予測処理に関する符号化コストの大小比較を行うと説明したが、両者は係数差分の算出方法において異なるに過ぎないので、符号化コストの大小比較を行うことは発生符号量の大小比較を行うことと等価である。
 まず、フィルタ係数位置対応関係設定部111は、フィルタ情報生成部107からのフィルタ情報17に含まれるタップ長を取得し、符号化対象フィルタと参照フィルタとの間におけるフィルタ係数位置の対応関係を設定する(ステップS111)。フィルタ係数位置対応関係設定部111は、符号化対象フィルタのフィルタ係数位置の各々を中心からの第1の相対位置に変換し、参照フィルタのフィルタ係数位置の各々を中心からの第2の相対位置に変換し、第1の相対位置及び第2の相対位置が一致するように対応関係を設定する。フィルタ係数位置対応関係設定部111は、上記対応関係を時間予測モードフィルタ係数差分算出部115及び参照フィルタ更新部114に通知する。
 次に、時間予測モードフィルタ係数差分算出部115は、参照フィルタ情報を参照フィルタ用バッファ112から読み出し、ステップS111において設定された対応関係に従って、フィルタ情報17に含まれるフィルタ係数の各々から参照フィルタ情報に含まれるフィルタ係数の各々を減算し、フィルタ係数差分を算出する(ステップS112)。そして、時間予測フィルタ係数差分算出部115は、フィルタ情報17に含まれるフィルタ係数を上記フィルタ係数差分に置き換えてフィルタ情報19を生成する。次に、時間予測モードフィルタ係数算出部115(係数予測モード制御部117またはその他の構成要素でもよい)は、時間予測処理によって得られたフィルタ差分情報19の符号化コストcost_temporalを数式(1)に従って算出する(ステップS113)。
 空間予測モードフィルタ係数差分算出部116は、符号化対象フィルタのフィルタ係数の一部(例えば、中心位置のフィルタ係数)に対して空間予測処理(例えば、数式(2)の演算)を行って、予測誤差を係数差分として算出する(ステップS114)。そして、空間予測モードフィルタ係数差分算出部116は、フィルタ情報17に含まれるフィルタ係数の一部(例えば、中心位置のフィルタ係数)を上記係数差分に置き換える。次に、空間予測モードフィルタ係数差分算出部116(係数予測モード制御部117またはその他の構成要素でもよい)は、空間予測処理によって得られたフィルタ差分情報19の符号化コストcost_spatialを数式(1)に従って算出する(ステップS115)。
 係数予測モード制御部117は、ステップS113において算出された符号化コストcost_temporalとステップS115において算出された符号化コストcost_spatialとを大小比較する(ステップS116)。符号化コストcost_temporalが符号化コストcost_spatialより大きければ処理はステップS117に進み、そうでなければ処理はステップS118に進む。
 ステップS117において、係数予測モード制御部117は係数予測モード情報としてのフラグcoef_pred_modeに、空間予測モードの適用を示す値「1」を代入する。そして、係数予測モード制御部117は空間予測処理(ステップS114)によって得られたフィルタ差分情報19に係数予測モード情報を重畳してエントロピー符号化部104に出力し、処理はステップS120に進む。
 ステップS118において、係数予測モード制御部117は上記フラグcoef_pred_modeに、時間予測モードの適用を示す値「0」を代入する。そして、係数予測モード制御部117は時間予測処理(ステップS112)によって得られたフィルタ差分情報19を参照フィルタ更新部114に出力し、更にフィルタ差分情報19に係数予測モード情報を重畳してエントロピー符号化部104に出力する。次に、参照フィルタ更新部114が、ステップS111において設定された対応関係に従って、参照フィルタ用バッファ112に保持される参照フィルタ情報に含まれるフィルタ係数に、ステップS112において算出されたフィルタ係数差分を加算することにより参照フィルタ情報を更新し(ステップS119)、処理はステップS120に進む。前述したように参照フィルタ情報の更新は必須の処理ではないが、更新を頻繁に行うことにより、符号化対象フィルタの特性が徐々に変化する場合にも参照フィルタの特性を符号化対象フィルタの特性の変化に追従させられるため、係数差分の増大ひいては発生符号量の増大を抑えられる。
 ステップS120において、エントロピー符号化部104は、係数予測モード制御部117から入力されたフィルタ差分情報19、係数予測モード情報及びその他の符号化パラメータと、量子化変換係数13とに対して、ハフマン符号化や算術符号化等のエントロピー符号化を行う。エントロピー符号化部104が、符号化データ14を多重化した符号化ビットストリームを出力し、処理は終了する。
 以下、図14を用いて本実施形態に係る動画像符号化装置が利用するシンタクス構造の一例を説明する。尚、以降の説明において、フィルタ差分情報19はスライス単位で復号化側に送信されるものとするが、シーケンスレベル、ピクチャレベル、マクロブロックレベルで復号化側に送信されても勿論よい。
 図14に示すように、シンタクスは、上層から順にハイレベルシンタクス1900、スライスレベルシンタクス1903及びマクロブロックレベルシンタクス1907の3段階の階層構造を有する。
 ハイレベルシンタクス1900は、シーケンスパラメータセットシンタクス1901及びピクチャパラメータセットシンタクス1902を含み、スライスよりも上位のレイヤ(例えば、シーケンスまたはピクチャ)で必要な情報を規定する。
 スライスレベルシンタクス1903は、スライスヘッダシンタクス1904、スライスデータシンタクス1905及びループフィルタデータシンタクス1906を含み、スライス単位で必要な情報を規定する。
 マクロブロックレベルシンタクス1907は、マクロブロックレイヤシンタクス1908及びマクロブロックプレディクションシンタクス1909を含み、マクロブロック単位で必要な情報(例えば、量子化変換係数データ、予測モード情報及び動きベクトル)を規定する。
 フィルタ差分情報19は、例えば前述したループフィルタデータシンタクス1906において、例えば図15Aに示すような態様で記述される。図15Aにおいて、filter_size_x及びfilter_size_yは、符号化対象フィルタの水平方向(x方向)及び垂直方向(y方向)のサイズ(タップ長)を表す。luma_flag及びchroma_flagは画像の輝度信号及び色差信号に対して符号化対象フィルタの適用の有無を示すフラグを表し、「1」は符号化対象フィルタの適用を示し、「0」は符号化対象フィルタの非適用を示す。係数予測モード情報coef_pred_modeは、図13に関して説明した通りである。filter_coef_diff_luma[cy][cy]は、座標(cx,cy)で識別される位置のフィルタ係数差分(輝度信号に対して適用されるフィルタ係数に関する)である(但し、空間予測処理が行われる場合には符号化対象フィルタのフィルタ係数のままであるかもしれない)。filter_coef_diff_chroma[cy][cx]は、座標(cx,cy)で識別される位置のフィルタ係数差分(色差信号に対して適用されるフィルタ係数に関する)である(但し、空間予測処理が行われる場合には符号化対象フィルタのフィルタ係数そのものであるかもしれない)。
 尚、図15Aでは、複数の色差信号コンポーネントについて(区別されず)同一のフィルタ差分情報19が記述されているが、複数の色差信号コンポーネントについて個別のフィルタ差分情報19が記述されてよい。また、図15Aでは、色差信号に適用されるフィルタ差分情報19を必ず記述しているが、輝度信号に対してフィルタを適用する場合(前述したluma_flag=1である場合)にのみ色差信号に適用されるフィルタ差分情報19を記述するようにしてもよい。また、図15Aでは、係数予測モード情報は、輝度信号及び色差信号に関して共通のフラグcoef_pred_modeとして記述されているが、独立したフラグとして記述されてもよい。係数予測モード情報を輝度信号及び色差信号に関して独立したフラグとして記述する場合には、フィルタ情報19を例えば図15Bに示すように記述すればよい(フラグcoef_pred_mode_luma及びフラグcoef_pred_mode_chromaを参照)。
 以上説明したように、本実施形態に係る動画像符号化装置は、フィルタ係数の時間予測だけでなく空間予測を適応的に行ってフィルタ差分情報を生成する。従って、本実施形態に係る動画像符号化装置によれば、フィルタ係数の時間予測が適切でない場合にも空間予測を行ってフィルタ係数に基づく発生符号量を削減することができる。
 ところで、前述したように本実施形態に係る動画像符号化装置は、図1の動画像符号化装置または図7の動画像符号化装置においてフィルタ差分情報生成部110を、例えば図16に示すフィルタ差分情報生成部410または図17に示すフィルタ差分情報生成部510に置き換えることによっても構成することができる。
 図16のフィルタ差分情報生成部410は、空間予測モードフィルタ係数差分算出部116の配置において図11のフィルタ差分情報生成部310と異なる。具体的には、フィルタ差分情報生成部410において、時間予測処理の適用の有無に関わらず空間予測処理が適用されることになる。例えば、空間予測モードフィルタ係数差分算出部116が中心位置のフィルタ係数をフィルタ係数の総和の推定値及びその他の位置のフィルタ係数に基づいて空間予測し、当該その他の位置のフィルタ係数について更に時間予測を適用するか否かを係数予測モード制御部117が適応的に切り替える。即ち、フィルタ差分情報生成部410によって生成されるフィルタ差分情報19には空間予測誤差と時間予測誤差とが混在し得る。
 図17のフィルタ差分情報生成部510は、参照フィルタ更新部114が時間予測に基づくフィルタ差分情報19に加えて空間予測に基づくフィルタ差分情報19を用いて参照フィルタのフィルタ係数を更新し得る点において、図11のフィルタ差分情報生成部310と異なる。
 また、前述したように、フィルタ差分情報生成部410及び510においても複数の参照フィルタが用意されてよい。例えば、符号化対象フィルタの性質(フィルタ特性、タップ長等)及び符号化対象フィルタが適用される領域の性質(スライスタイプ、量子化パラメータ等)の少なくとも一方を条件として、複数の参照フィルタ情報からいずれか1つを選択して用いてもよい。また、複数の参照フィルタ情報を用いる場合に、上記条件に依存しない参照フィルタ情報を更に設けてもよい。即ち、上記条件に依存しない参照フィルタ情報に含まれるフィルタ係数を、上記条件に依存する参照フィルタ情報に含まれるフィルタ係数の初期値として統一的に用いることができる。
 以下、フィルタ差分情報生成部510が、空間予測に基づくフィルタ差分情報19を用いて参照フィルタのフィルタ係数を更新するタイミングとして、いくつかの好適な例を紹介する。
 エラー耐性(エラーの時間方向の伝播防止)及びランダムアクセスの観点から、特定のタイミング(符号化対象フィルタが適用される領域が、例えばIDRスライス、Iスライスなどである場合)において、係数予測モード制御部117が空間予測に基づくフィルタ差分情報19を必ず選択し、参照フィルタ更新部114が参照フィルタを更新してよい。この参照フィルタの更新は、参照フィルタの初期化(或いはリフレッシュ)に相当する。
 複数の参照フィルタが用意されている場合には、一部の参照フィルタ(IDRスライス、Iスライスなどに適用される参照フィルタ)が初期化済みである一方、その他の参照フィルタ(Pスライス、Bスライスなどに適用される参照フィルタ、上記初期化済みの参照フィルタとタップ長の異なる参照フィルタ)が初期化されていない状況が考えられる。従って、各参照フィルタが条件に従って初めて選択されるときに、係数予測モード制御部117が空間予測に基づくフィルタ差分情報19を必ず選択し、参照フィルタ更新部114が参照フィルタを更新(初期化)してもよい。例えば、IDRスライス、Iスライスなどに適用される符号化対象フィルタに関して空間予測モードが選択されると、その他の参照フィルタの各々が条件に従って初めて選択されるときに当該参照フィルタの初期化を行わなければならないという取り決めが定められてよい。このような取り決めに従って参照フィルタの初期化が行われる場合には、復号化側においてフィルタ情報17の復元のために空間予測を選択すべきことが既知であるので、係数予測モード情報(例えば、フラグpred_coef_mode)がフィルタ差分情報19において省略されてよい。
 上記取り決めは、簡潔ではあるものの、IDRスライス、Iスライスに適用される符号化対象フィルタに関して空間予測モードが選択される度に、その他の参照フィルタは初期化を強いられるという結果を招く。即ち、参照フィルタに対して時間予測モードを選択した方が発生符号量を削減できる場合にも、空間予測モードの選択が義務づけられてしまう。従って、上記取り決めの拡張として、その他の参照フィルタに対する初期化の要否を示す切り替え情報がフィルタ差分情報19に付加されてもよい。
 また、IDRスライス、Iスライスに適用される符号化対象フィルタに関して空間予測モードが選択されることに伴うその他の参照フィルタの初期化は、実際に空間予測を行うことにより実現されてもよいし、上記IDRスライス、Iスライスに適用される符号化対象フィルタをそのまま参照フィルタとして再利用して時間予測を行うことにより実現されてもよい。
 また、前述したように参照フィルタ情報に含まれるフィルタ係数の初期値は、符号化側及び復号化側において共通である。従って、この初期値を参照フィルタのフィルタ係数として代入することにより、参照フィルタの初期化を実現することも可能である。
 以上のような参照フィルタの初期化を行う場合には、係数予測モード制御部117がフィルタ情報17及び符号化対象フィルタが適用される領域の情報(例えばスライス情報)を取得して、参照フィルタ更新部114を制御すればよい。尚、参照フィルタの初期化タイミングが符号化側及び復号化側において一致しなければならないことは当然である。
 更に、第1、第3及び本実施形態において、符号化対象フィルタのフィルタ係数そのものでなくフィルタ係数の予測誤差(係数差分)を用いてフィルタ差分情報19を生成することにより、フィルタ係数に基づく発生符号量の削減を図る。しかしながら、時間予測モードを選択する場合において、参照フィルタが、最適設計したフィルタに比べて画質改善効果の観点からすれば劣るものの、符号量と画質とのバランスの観点(例えば、符号化コスト)からすれば優れることがある。このような場合には、復号化側において参照フィルタのフィルタ係数を復号化対象フィルタのフィルタ係数として直接的に利用することができる(以下、再利用モードと称する)。この再利用モードを選択する場合には、係数予測モード制御部117は符号化対象フィルタとフィルタ係数の完全一致する参照フィルタを識別するための情報(複数の参照フィルタが用意されている場合)を、上記予測誤差に代替して用いてフィルタ差分情報19を生成することができる。
 再利用モードを選択可能とする場合、フィルタ差分情報19は、図22に示すような態様で記述される。図22において、coef_reuse_flagは、再利用モードの適用/非適用を示すフラグであり、再利用モードが適用される場合には「1」、再利用モードが適用されない場合には「0」が設定される。filter_type_for_reuseは、再利用モードにおいて使用される参照フィルタを識別するためのインデクスであるが、参照フィルタが1つの場合には不要である。尚、フラグcoef_reuse_flag及びインデクスfilter_type_for_reuseは、輝度信号及び色差信号に関して独立して設定されてもよい。
 (第7の実施形態) 
 前述した第2、第4及び第5の実施形態に係る動画像復号化装置は、図5のフィルタ情報復元部208によってフィルタ情報17を復元する。本発明の第7の実施形態に係る動画像復号化装置は、図5のフィルタ情報復元部208とは異なるフィルタ情報復元部を用いてフィルタ情報17を復元する。
 本実施形態に係る動画像復号化装置は、前述した第6の実施形態に係る動画像符号化装置から出力される符号化データを復号化する。本実施形態に係る動画像復号化装置は、図4の動画像復号化装置、図8の動画像復号化装置または図9の動画像復号化装置においてフィルタ情報復元部208を、例えば図18に示すフィルタ情報復元部608に置き換えることにより構成することができる。
 フィルタ情報復元部608は、前述したフィルタ情報生成部310によって生成されたフィルタ差分情報19からフィルタ情報17を復元する。フィルタ情報復元部608は、フィルタ係数位置対応関係設定部209、参照フィルタ更新部211、参照フィルタ用バッファ112、時間予測モードフィルタ係数算出部212、空間予測モードフィルタ係数算出部213及び係数予測モード制御部214を有する。尚、図18において図5と同一部分には同一符号を示しており、以降の説明では両図の間で異なる部分を中心に述べる。また、時間予測モードフィルタ係数算出部212は、フィルタ係数算出部210と名称において異なるが、実質的に同一の構成要素を適用可能である。
 空間予測モードフィルタ係数算出部213は、フィルタ差分情報19が入力されると、符号化側と同一の空間予測を行って、復号化対象フィルタのフィルタ係数の一部(例えば、中心位置のフィルタ係数)に対する予測値を得る。そして、空間予測モードフィルタ係数算出部213は、上記予測値に対応する予測誤差(フィルタ差分情報19に含まれる)を加算して、復号化対象フィルタのフィルタ係数を復元する。そして、空間予測モードフィルタ係数算出部213は、フィルタ差分情報19に含まれる予測誤差を、復元したフィルタ係数に置き換えてフィルタ情報17を得る。
 係数予測モード制御部214は、フィルタ差分情報19に含まれる係数予測モード情報を参照して、符号化側において適用された係数予測モードを識別する。そして、識別された係数予測モードに対応する復元処理(復号化対象フィルタのフィルタ係数の算出処理)を適用すべく、フィルタ差分情報19の出力先を切り替える。
 以下、図19を用いて、本実施形態に係る動画像復号化装置におけるフィルタ情報17の復元処理を説明する。 
 まず、エントロピー復号化部201は、符号化データ14を復号し、フィルタ差分情報19及びその他の符号化パラメータと量子化変換係数13とを得る(ステップS211)。エントロピー復号化部201は、量子化変換係数13を逆変換/逆量子化部202に、フィルタ差分情報19をフィルタ情報復元部608に夫々入力する。そして、処理はステップS212に進む。
 ステップS212において、係数予測モード制御部214は、フィルタ差分情報19に含まれる係数予測モード情報を参照し、フィルタ差分情報19の出力先を決定する。例えば、前述したフラグcoef_pred_modeが「1」であればフィルタ差分情報19は空間予測モードフィルタ係数算出部213へ出力されて処理はステップS213に進み、そうでなければフィルタ差分情報19はフィルタ係数位置対応関係設定部209へ出力されて処理はステップS214に進む。
 ステップS213において、空間予測モードフィルタ係数算出部213は、フィルタ差分情報19に含まれる復号化対象フィルタのフィルタ係数の一部(例えば、中心位置のフィルタ係数)に対して空間予測処理(例えば、数式(2)の演算)を行って、予測値を算出する。そして、空間予測モードフィルタ係数算出部213は、フィルタ差分情報19に含まれる係数差分(予測誤差)に上記空間予測値を加算して、復号化対象フィルタのフィルタ係数を復元する。空間予測モードフィルタ係数算出部213は、フィルタ差分情報19に含まれる予測誤差を、復元したフィルタ係数で置き換えてフィルタ情報17としてフィルタ処理部205に入力し、処理は終了する。
 ステップS214において、フィルタ係数位置対応関係設定部209は、エントロピー復号化部201からのフィルタ差分情報19に含まれるタップ長を取得し、復号化対象フィルタと参照フィルタとの間におけるフィルタ係数位置の対応関係を設定する。フィルタ係数位置対応関係設定部209は、復号化対象フィルタのフィルタ係数位置の各々を中心からの第1の相対位置に変換し、参照フィルタのフィルタ係数位置の各々を中心からの第2の相対位置に変換し、第1の相対位置及び第2の相対位置が一致するように対応関係を設定する。フィルタ係数位置対応関係設定部209は、上記対応関係を時間予測モードフィルタ係数算出部212及び参照フィルタ更新部211に通知する。
 次に、時間予測モードフィルタ係数算出部212は、参照フィルタ情報を参照フィルタ用バッファ112から読み出し、ステップS214において設定された対応関係に従って、フィルタ差分情報19に含まれるフィルタ係数の各々と参照フィルタ情報に含まれるフィルタ係数の各々とを加算し、符号化側において生成されたフィルタ情報17に含まれるフィルタ係数を復元する(ステップS215)。時間予測モードフィルタ係数算出部212は、フィルタ差分情報19に含まれるフィルタ係数を、算出したフィルタ係数に置き換え、フィルタ情報17としてフィルタ処理部205及び参照フィルタ更新部211に入力する。
 次に、参照フィルタ更新部211は、ステップS214において設定された対応関係に従って、参照フィルタ用バッファ112に記憶される参照フィルタ情報に含まれるフィルタ係数を、ステップS215において算出されたフィルタ係数に置き換えることにより、参照フィルタ情報を更新し(ステップS216)、処理は終了する。前述したように参照フィルタ情報の更新は必須の処理でないが、更新タイミングは符号化側と同一でなければならない。
 以上説明したように、本実施形態に係る動画像復号化装置は、符号化側と同一の係数予測モードに従い、フィルタ差分情報に含まれる係数差分(予測誤差)から復号化対象フィルタのフィルタ係数を復元する。従って、本実施形態に係る動画像復号化装置によれば、フィルタ情報に比べて符号量の小さなフィルタ差分情報を利用して、復号化対象フィルタのフィルタ係数を復元できる。
 ところで、前述したように本実施形態に係る動画像復号化装置は、図4の動画像復号化装置、図8の動画像復号化装置または図9の動画像復号化装置においてフィルタ情報復元部208を、例えば図20に示すフィルタ情報復元部708または図21に示すフィルタ情報復元部808に置き換えることによっても構成できる。
 図20のフィルタ情報復元部708は、空間予測モードフィルタ係数算出部213の配置において図18のフィルタ情報復元部608と異なる。フィルタ情報復元部708は、図16のフィルタ差分情報生成部410によって生成されたフィルタ差分情報19からフィルタ情報17を復元する。
 図21のフィルタ情報復元部808は、参照フィルタ更新部211が時間予測に基づくフィルタ情報17に加えて空間予測に基づくフィルタ情報17を用いて参照フィルタのフィルタ係数を更新し得る点において図18のフィルタ情報復元部608と異なる。フィルタ情報復元部808は、図17のフィルタ差分情報生成部510によって生成されたフィルタ差分情報19からフィルタ情報17を復元する。
 また、符号化側でエラー耐性及びランダムアクセスの観点から、特定のタイミングで参照フィルタの初期化を行う場合には、フィルタ情報復元部608、708及び808も同一タイミングかつ同一の態様で参照フィルタの初期化を行う。前述した再利用モードが符号化側によって適用される場合には、フィルタ情報復元部608、708及び808は適切な参照フィルタのフィルタ係数を用いてフィルタ情報17を復元する。
 尚、本発明は上記各実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また上記各実施形態に開示された複数の構成要素を適宜組み合わせることによって種々の発明を形成できる。また例えば、各実施形態に示される全構成要素からいくつかの構成要素を削除した構成も考えられる。さらに、異なる実施形態に記載した構成要素を適宜組み合わせてもよい。
 例えば、上記各実施形態に係る説明ではポストフィルタ処理またはループフィルタ処理におけるフィルタ情報に基づく発生符号量の削減に関して述べたが、上記各実施形態に係る説明を参酌すれば、補間フィルタ処理及び参照画像信号に対するフィルタ処理のようなフィルタ情報を符号化側から復号化側に送信する可能性のあるフィルタ処理に関しても当該フィルタ情報に基づく発生符号量を削減可能である。
 また、各実施形態に係る動画像符号化装置及び動画像復号化装置は、例えば、汎用のコンピュータ装置を基本ハードウェアとして用いることでも実現することが可能である。即ち、予測画像信号生成部101、減算部102、変換/量子化部103、エントロピー符号化部104、逆変換/逆量子化部105、加算部106、フィルタ情報生成部107、符号化制御部109、フィルタ差分情報生成部110、310、410及び510、フィルタ係数位置対応関係設定部111、フィルタ係数差分算出部113、参照フィルタ更新部114、時間予測モードフィルタ係数差分算出部115、空間予測モードフィルタ係数差分算出部116、係数予測モード制御部117、エントロピー復号化部201、逆変換/逆量子化部202、予測画像信号生成部203、加算部204、フィルタ処理部205、復号化制御部207、フィルタ情報復元部208、608、708及び808、フィルタ係数位置対応関係設定部209、フィルタ係数算出部210、参照フィルタ更新部211、時間予測モードフィルタ係数算出部212、空間予測モードフィルタ係数算出部213及び係数予測モード制御部214は、上記コンピュータ装置に搭載されたプロセッサにプログラムを実行させることにより実現することができる。このとき、各実施形態に係る動画像符号化装置及び動画像復号化装置は、上記プログラムをコンピュータ装置にあらかじめインストールすることで実現しても良いし、CD-ROM等の記憶媒体に記憶して、あるいはネットワークを介して上記プログラムを配布して、このプログラムをコンピュータ装置に適宜インストールすることで実現しても良い。また、参照画像用バッファ108、参照フィルタ用バッファ112及び参照画像用バッファ206は、上記のコンピュータ装置に内蔵あるいは外付けされたメモリ、ハードディスクもしくはCD-R、CD-RW、DVD-RAM、DVD-R等の記憶媒体などを適宜利用して実現することができる。
 その他、本発明の要旨を逸脱しない範囲で種々の変形を施しても同様に実施可能であることはいうまでもない。

Claims (26)

  1.  符号化対象画像の復号画像に適用するための対象フィルタを求めることと、
     前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて、前記対象フィルタの対象フィルタ係数のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定することと、
     前記対応関係に従って、前記対象フィルタ係数と前記参照フィルタ係数との係数差分を求めることと、
     前記対象フィルタのタップ長及び前記係数差分を含む対象フィルタ情報を符号化することと、
     を具備する動画像符号化方法。
  2.  前記参照フィルタ係数及び前記係数差分を用いて、前記参照フィルタを更新することを更に具備する請求項1に記載の動画像符号化方法。
  3.  前記符号化対象画像の復号画像に前記対象フィルタを適用して、前記符号化対象画像より後に符号化される画像のための参照画像を求めることを更に具備する請求項1に記載の動画像符号化方法。
  4.  前記対応関係の設定では、前記対象フィルタの中心からの前記対象フィルタ係数のそれぞれの相対位置と、前記参照フィルタの中心からの前記参照フィルタ係数のそれぞれの相対位置とが一致するように、前記対応関係を設定する請求項1記載の動画像符号化方法。
  5.  前記対応関係の設定では、前記対象フィルタの性質及び当該対象フィルタが適用される領域の性質のうちの少なくとも一方の条件に基づいて、複数の参照フィルタ候補から前記参照フィルタを選択すること具備する請求項1に記載の動画像符号化方法。
  6.  前記対象フィルタが適用される領域の性質は、前記対象フィルタが適用される領域のスライスタイプ及び量子化パラメータのうちの少なくとも一方を含む請求項5記載の動画像符号化方法。
  7.  前記複数の参照フィルタ候補は、前記条件に依存しない第1の参照フィルタ候補と前記条件に依存する第2の参照フィルタ候補とを含み、
     前記第2の参照フィルタ候補が前記条件に従って初めて選択されるときには、前記第1の参照フィルタ候補が代替して選択される請求項6記載の動画像符号化方法。
  8.  前記対象フィルタの性質は、前記対象フィルタのタップ長を含む請求項7記載の動画像符号化方法。
  9.  符号化対象画像の復号画像に適用するための対象フィルタを求めることと、
     前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて前記対象フィルタの対象フィルタ係数のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定し、前記対応関係に従って前記対象フィルタ係数と前記参照フィルタ係数との時間係数差分を求める時間予測モード、または、前記対象フィルタ係数のうちの一部の係数の予測値を前記対象フィルタ係数のうちの他の係数に基づいて予測し、前記一部の係数と前記予測値との空間係数差分を求める空間予測モードを用いて対象係数差分を求めることと、
     前記対象フィルタのタップ長、前記対象係数差分の予測モードを示す予測モード情報及び前記対象係数差分を含む対象フィルタ情報を符号化することと、
     を具備する動画像符号化方法。
  10.  前記予測モード情報が前記時間予測モードを示す場合には、前記対象フィルタ係数のうちの前記一部の係数と同じ位置の対象係数差分は前記空間係数差分であって、前記対象フィルタ係数のうちの前記他の係数と同じ位置の対象係数差分は前記時間係数差分である請求項9記載の動画像符号化方法。
  11.  前記対象フィルタ係数を用いて前記参照フィルタを更新することを更に具備する請求項9記載の動画像符号化方法。
  12.  前記予測モード情報は、輝度信号及び色差信号に関して独立して設定される請求項9記載の動画像符号化方法。
  13.  前記参照フィルタ係数を前記対象フィルタ係数として利用可能か否かを示す再利用情報を設定することを更に具備し、
     前記対象フィルタ情報は、前記再利用情報を更に含む
     請求項9記載の動画像符号化方法。
  14.  対象フィルタのタップ長と、前記対象フィルタの対象フィルタ係数及び参照フィルタの参照フィルタ係数の間の係数差分とを含む対象フィルタ情報が符号化された符号化データを復号化することと、
     前記対象フィルタのタップ長と前記参照フィルタのタップ長とに基づいて、前記係数差分のそれぞれと前記参照フィルタ係数のそれぞれとの対応関係を設定することと、
     前記対応関係に従って、前記係数差分と前記参照フィルタ係数とを加算して、前記対象フィルタ係数を算出することと
     を具備する動画像復号化方法。
  15.  前記対象フィルタ係数を用いて、前記参照フィルタを更新することを更に具備する請求項14記載の動画像復号化方法。
  16.  復号化画像に前記対象フィルタを適用して、前記復号化画像より後に復号化される画像のための参照画像を求めることを更に具備する請求項14に記載の動画像復号化方法。
  17.  前記対応関係の設定では、前記対象フィルタの中心からの前記係数差分のそれぞれの相対位置と、前記参照フィルタの中心からの前記参照フィルタ係数のそれぞれの相対位置とが一致するように、前記対応関係を設定する請求項14記載の動画像復号化方法。
  18.  前記対応関係の設定では、前記対象フィルタの性質及び当該対象フィルタが適用される領域の性質のうちの少なくとも一方の条件に基づいて、複数の参照フィルタ候補から前記参照フィルタを選択する請求項14記載の動画像復号化方法。
  19.  前記対象フィルタが適用される領域の性質は、前記対象フィルタが適用される領域のスライスタイプ及び量子化パラメータのうちの少なくとも一方を含む請求項18記載の動画像復号化方法。
  20.  前記複数の参照フィルタ候補は、前記条件に依存しない第1の参照フィルタ候補と前記条件に依存する第2の参照フィルタ候補とを含み、
     前記第2の参照フィルタ候補が前記条件に従って初めて選択されるときには、前記第1の参照フィルタ候補が代替して選択される請求項19記載の動画像復号化方法。
  21.  前記対象フィルタの性質は、前記対象フィルタのタップ長を含む請求項20記載の動画像復号化方法。
  22.  対象フィルタのタップ長、前記対象フィルタに適用されている予測モードを示す予測モード情報及び前記対象フィルタの対象フィルタ係数の予測誤差を示す対象係数差分を含む対象フィルタ情報が符号化された符号化データを復号化することと、
     前記予測モード情報が時間予測モードを示す場合には、前記対象フィルタのタップ長と参照フィルタのタップ長とに基づいて前記対象係数差分のそれぞれと前記参照フィルタの参照フィルタ係数のそれぞれとの対応関係を設定し、前記対応関係に従って前記対象係数差分と前記参照フィルタ係数とを加算して、前記対象フィルタ係数を復元することと、
     前記予測モード情報が空間予測モードを示す場合には、前記対象フィルタ係数の一部をその他の対象フィルタ係数に基づいて予測し、前記対象係数差分を加算して前記対象フィルタ係数を復元することと
     を具備する動画像復号化方法。
  23.  前記予測モード情報が前記時間予測モードを示す場合には、前記対応関係に従って前記その他の対象フィルタ係数と同一位置の対象係数差分と前記参照フィルタ係数とを加算して前記その他の対象フィルタ係数を復元し、前記対象フィルタ係数の一部を前記その他の対象フィルタ係数に基づいて予測し当該対象フィルタ係数の一部と同一位置の対象係数差分を加算して前記対象フィルタ係数の一部を復元する請求項22記載の動画像復号化方法。
  24.  前記対象フィルタ係数を用いて前記参照フィルタを更新することを更に具備する請求項22記載の動画像復号化方法。
  25.  前記予測モード情報は、輝度信号及び色差信号に関して独立して設定される請求項22記載の動画像復号化方法。
  26.  前記対象フィルタ情報は、前記参照フィルタ係数を前記対象フィルタ係数として利用可能か否かを示す再利用情報を更に含み、
     前記再利用情報が前記参照フィルタ係数を前記対象フィルタ係数として利用可能であることを示す場合には、前記参照フィルタ係数を前記対象フィルタ係数として使用する請求項22記載の動画像復号化方法。
PCT/JP2009/057220 2009-01-05 2009-04-08 動画像符号化方法及び動画像復号化方法 WO2010076856A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010544860A JPWO2010076856A1 (ja) 2009-01-05 2009-04-08 動画像符号化方法及び動画像復号化方法
BRPI0922793A BRPI0922793A2 (pt) 2009-01-05 2009-04-08 métodos de codificação e de decodificação de imagens em movimento
CN200980147189.4A CN102282850A (zh) 2009-01-05 2009-04-08 运动图像编码方法以及运动图像解码方法
US13/151,311 US20110228844A1 (en) 2009-01-05 2011-06-02 Moving picture encoding method and moving picture decoding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009-000027 2009-01-05
JP2009000027 2009-01-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/151,311 Continuation US20110228844A1 (en) 2009-01-05 2011-06-02 Moving picture encoding method and moving picture decoding method

Publications (1)

Publication Number Publication Date
WO2010076856A1 true WO2010076856A1 (ja) 2010-07-08

Family

ID=42309909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/057220 WO2010076856A1 (ja) 2009-01-05 2009-04-08 動画像符号化方法及び動画像復号化方法

Country Status (5)

Country Link
US (1) US20110228844A1 (ja)
JP (1) JPWO2010076856A1 (ja)
CN (1) CN102282850A (ja)
BR (1) BRPI0922793A2 (ja)
WO (1) WO2010076856A1 (ja)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011105230A1 (ja) * 2010-02-26 2011-09-01 シャープ株式会社 フィルタ係数符号化装置、フィルタ係数復号装置、動画像符号化装置、動画像復号装置、および、データ構造
WO2011105231A1 (ja) * 2010-02-26 2011-09-01 シャープ株式会社 フィルタ係数符号化装置、フィルタ係数復号装置、動画像符号化装置、動画像復号装置、および、データ構造
WO2012121352A1 (ja) * 2011-03-09 2012-09-13 シャープ株式会社 動画像復号装置、動画像符号化装置、および、データ構造
JP2014513898A (ja) * 2011-04-19 2014-06-05 サムスン エレクトロニクス カンパニー リミテッド 適応的フィルタリングを用いる映像の符号化方法及び装置、その復号化方法及び装置
JP2014533012A (ja) * 2011-10-21 2014-12-08 クゥアルコム・インコーポレイテッドQualcomm Incorporated クロマ成分のための適応ループフィルタ処理
WO2019198519A1 (ja) * 2018-04-11 2019-10-17 ソニー株式会社 データ処理装置及びデータ処理方法
CN111386703A (zh) * 2017-12-01 2020-07-07 索尼公司 编码装置、编码方法、解码装置和解码方法

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5597968B2 (ja) * 2009-07-01 2014-10-01 ソニー株式会社 画像処理装置および方法、プログラム、並びに記録媒体
WO2013144144A1 (en) 2012-03-30 2013-10-03 Panasonic Corporation Syntax and semantics for adaptive loop filter and sample adaptive offset
US20140003530A1 (en) * 2012-06-28 2014-01-02 Qualcomm Incorporated Sign hiding techniques for quantized transform coefficients in video coding
WO2016204524A1 (ko) * 2015-06-16 2016-12-22 엘지전자(주) 영상의 부호화/복호화 방법 및 이를 위한 장치
US10448013B2 (en) * 2016-12-22 2019-10-15 Google Llc Multi-layer-multi-reference prediction using adaptive temporal filtering
MX2022000834A (es) * 2019-08-08 2022-02-10 Fg innovation co ltd Dispositivo y metodo para la codificacion de datos de video.

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135169A (ja) * 1991-11-13 1993-06-01 Kawasaki Steel Corp 2次元空間フイルタ回路
JPH1070717A (ja) * 1996-06-19 1998-03-10 Matsushita Electric Ind Co Ltd 画像符号化装置及び画像復号化装置
JP2005311512A (ja) * 2004-04-19 2005-11-04 Toshiba Corp エラーコンシールメント方法及び復号器
JP2006135376A (ja) * 2004-11-02 2006-05-25 Toshiba Corp 動画像符号化装置、動画像符号化方法、動画像復号化装置および動画像復号化方法
JP2008205534A (ja) * 2007-02-16 2008-09-04 Matsushita Electric Ind Co Ltd 符号化方式変換装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080019909A1 (en) * 2003-09-17 2008-01-24 Francis Ka-Ming Chan Modulation of Programmed Necrosis
JPWO2009110559A1 (ja) * 2008-03-07 2011-07-14 株式会社東芝 動画像符号化/復号装置
MX2010009194A (es) * 2008-03-07 2010-09-10 Toshiba Kk Metodo y dispositivo de codificacion/decodificacion dinamica de imagen.

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135169A (ja) * 1991-11-13 1993-06-01 Kawasaki Steel Corp 2次元空間フイルタ回路
JPH1070717A (ja) * 1996-06-19 1998-03-10 Matsushita Electric Ind Co Ltd 画像符号化装置及び画像復号化装置
JP2005311512A (ja) * 2004-04-19 2005-11-04 Toshiba Corp エラーコンシールメント方法及び復号器
JP2006135376A (ja) * 2004-11-02 2006-05-25 Toshiba Corp 動画像符号化装置、動画像符号化方法、動画像復号化装置および動画像復号化方法
JP2008205534A (ja) * 2007-02-16 2008-09-04 Matsushita Electric Ind Co Ltd 符号化方式変換装置

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011105230A1 (ja) * 2010-02-26 2011-09-01 シャープ株式会社 フィルタ係数符号化装置、フィルタ係数復号装置、動画像符号化装置、動画像復号装置、および、データ構造
WO2011105231A1 (ja) * 2010-02-26 2011-09-01 シャープ株式会社 フィルタ係数符号化装置、フィルタ係数復号装置、動画像符号化装置、動画像復号装置、および、データ構造
JPWO2011105231A1 (ja) * 2010-02-26 2013-06-20 シャープ株式会社 フィルタ係数符号化装置、フィルタ係数復号装置、動画像符号化装置、動画像復号装置、および、データ構造
WO2012121352A1 (ja) * 2011-03-09 2012-09-13 シャープ株式会社 動画像復号装置、動画像符号化装置、および、データ構造
JP2014513898A (ja) * 2011-04-19 2014-06-05 サムスン エレクトロニクス カンパニー リミテッド 適応的フィルタリングを用いる映像の符号化方法及び装置、その復号化方法及び装置
JP2014533012A (ja) * 2011-10-21 2014-12-08 クゥアルコム・インコーポレイテッドQualcomm Incorporated クロマ成分のための適応ループフィルタ処理
US9807403B2 (en) 2011-10-21 2017-10-31 Qualcomm Incorporated Adaptive loop filtering for chroma components
CN111386703A (zh) * 2017-12-01 2020-07-07 索尼公司 编码装置、编码方法、解码装置和解码方法
US11451833B2 (en) 2017-12-01 2022-09-20 Sony Corporation Encoding device, encoding method, decoding device, and decoding method
WO2019198519A1 (ja) * 2018-04-11 2019-10-17 ソニー株式会社 データ処理装置及びデータ処理方法

Also Published As

Publication number Publication date
US20110228844A1 (en) 2011-09-22
CN102282850A (zh) 2011-12-14
BRPI0922793A2 (pt) 2016-01-05
JPWO2010076856A1 (ja) 2012-06-21

Similar Documents

Publication Publication Date Title
WO2010076856A1 (ja) 動画像符号化方法及び動画像復号化方法
US8228989B2 (en) Method and apparatus for encoding and decoding based on inter prediction
KR100856411B1 (ko) 조도 보상 방법 및 그 장치와 그 방법을 기록한 컴퓨터로 읽을 수 있는 기록매체
US20120230405A1 (en) Video coding methods and video encoders and decoders with localized weighted prediction
US20110150080A1 (en) Moving-picture encoding/decoding method and apparatus
KR101940967B1 (ko) 이미지들을 인코딩 및 디코딩하기 위한 방법, 인코딩 및 디코딩 디바이스, 및 대응하는 컴퓨터 프로그램들
KR100772391B1 (ko) 직교 변환 및 벡터 양자화에 기반한 동영상 부호화 및복호화 방법과 이를 이용한 장치
CN107483947B (zh) 视频编码和解码设备及非暂时性计算机可读存储介质
US20100118945A1 (en) Method and apparatus for video encoding and decoding
US20070098067A1 (en) Method and apparatus for video encoding/decoding
WO2015008417A1 (ja) 映像符号化装置、映像復号装置、映像符号化方法、映像復号方法及びプログラム
US8358697B2 (en) Method and apparatus for encoding and decoding an image using a reference picture
WO2009133845A1 (ja) 動画像符号化/復号化装置及び方法
KR101187580B1 (ko) 조도 보상 방법 및 그 장치와 이를 이용한 동영상 부호화방법 및 그 장치
JP7219030B2 (ja) 色差イントラ予測候補生成装置、画像符号化装置、画像復号装置、及びプログラム
JP2011077721A (ja) 画像符号化装置、画像復号化装置、画像符号化方法、及び画像復号化方法
JP5235813B2 (ja) 動画像符号化装置、動画像符号化方法及びコンピュータプログラム
KR100728032B1 (ko) 워핑 기반의 인트라 예측 방법
KR101895389B1 (ko) 영상 부호화 방법 및 장치
JPWO2009133938A1 (ja) 動画像符号化及び復号装置
WO2012169054A1 (ja) 動画像符号化方法、及び装置、動画像復号方法、及び装置
JP2006340014A (ja) 低複雑度動き補償型時間方向フィルタ処理方法ならびに装置
JP2010263263A (ja) 符号化装置及びそのプログラム

Legal Events

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

Ref document number: 200980147189.4

Country of ref document: CN

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

Ref document number: 09836196

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2010544860

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 4080/DELNP/2011

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09836196

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: PI0922793

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20110606