WO2012093491A1 - Dynamic picture image encoding method and device, and dynamic picture image decoding method and device - Google Patents

Dynamic picture image encoding method and device, and dynamic picture image decoding method and device Download PDF

Info

Publication number
WO2012093491A1
WO2012093491A1 PCT/JP2011/050197 JP2011050197W WO2012093491A1 WO 2012093491 A1 WO2012093491 A1 WO 2012093491A1 JP 2011050197 W JP2011050197 W JP 2011050197W WO 2012093491 A1 WO2012093491 A1 WO 2012093491A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
loop filter
conversion
filter
unit
Prior art date
Application number
PCT/JP2011/050197
Other languages
French (fr)
Japanese (ja)
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 PCT/JP2011/050197 priority Critical patent/WO2012093491A1/en
Publication of WO2012093491A1 publication Critical patent/WO2012093491A1/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/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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

  • Embodiment relates to deblocking filter processing.
  • a deblocking filter (DF) process may be performed to reduce block distortion of a (local) decoded image.
  • ALF adaptive loop filter
  • the encoding side sets application / non-application of filter processing and information indicating the filter coefficient (loop filter information) and transmits the information to the decoding side, and the decoding side performs ALF processing using the loop filter information. Do. Furthermore, both deblocking filter processing and ALF processing may be mixed.
  • deblocking filter processing application / non-application of filter processing, strength or type of applied filter processing, and the like are controlled in accordance with predetermined filter control parameters, pixel values of a target image, prediction mode, and the like.
  • the deblocking filter process is controlled independently. That is, the influence of the ALF process is not considered in the control of the deblocking filter process.
  • the ALF process is applied to the application target of the deblocking filter process, the decoded image tends to be blurred.
  • the deblocking filter process is required to sufficiently reduce the coding distortion of the decoded image alone.
  • Embodiment is aimed at effective control of deblocking filter processing.
  • the moving image encoding apparatus includes a loop filter processing unit, a generation unit, a derivation unit, a deblocking filter processing unit, and an encoding unit.
  • the loop filter processing unit performs loop filter processing according to the loop filter information.
  • the generation unit sets one of a plurality of conversion processes according to the loop filter information, and generates conversion process information indicating the set conversion process.
  • the derivation unit performs a conversion process specified by the conversion process information based on the quantization information, and derives a filter control parameter.
  • a deblocking filter process part performs a deblocking filter process according to a filter control parameter.
  • the encoding unit encodes at least loop filter information and quantization information.
  • FIG. 1 is a block diagram illustrating a moving image encoding apparatus according to a first embodiment.
  • the block diagram which shows the modification of the moving image encoder of FIG. The block diagram which illustrates the parameter derivation part of Drawing 1.
  • 3 is a flowchart illustrating a part of the operation of the moving image encoding apparatus in FIG. 1.
  • Explanatory drawing of two types of conversion tables Explanatory drawing of two types of conversion tables.
  • Explanatory drawing of two types of conversion tables. 1 is a block diagram illustrating a video decoding device according to a first embodiment.
  • the block diagram which shows the modification of the moving image decoding apparatus of FIG. The block diagram which illustrates the moving picture coding device concerning a 2nd embodiment.
  • 10 is a flowchart illustrating a part of the operation of the video decoding apparatus in FIG. 9.
  • Explanatory drawing of a deblocking filter process Explanatory drawing of a deblocking filter
  • the moving image encoding apparatus includes an encoding unit 113, an encoding control unit 114, and a multiplexer 112.
  • the encoding unit 113 encodes the input image (signal) 11 and obtains encoded data 25.
  • the encoding unit 113 includes a subtractor 101, a transform / quantization unit 102, an inverse quantization / inverse transform unit 103, an adder 104, a deblocking filter processing unit 105, a loop filter processing unit 106, a frame memory 107, and a prediction unit 108.
  • a conversion processing setting unit 109, a parameter deriving unit 110, and an entropy encoding unit 111 is an entropy encoding unit 111.
  • the subtracter 101 takes in the input image 11 from the outside, and inputs a predicted image (signal) 24 corresponding to the input image 11 from the prediction unit 108.
  • the subtracter 101 subtracts the predicted image 24 from the input image 11 to obtain a prediction error (signal) 12.
  • the subtractor 101 outputs the prediction error 12 to the transform / quantization unit 102.
  • the transform / quantization unit 102 inputs the prediction error 12 from the subtractor 101.
  • the transform / quantization unit 102 performs predetermined transform processing and quantization processing on the prediction error 12 to obtain a quantized transform coefficient (hereinafter referred to as a quantized transform coefficient) 13.
  • the predetermined transformation process is orthogonal transformation such as discrete cosine transformation (DCT), for example.
  • the transform / quantization unit 102 receives quantization information 18 (for example, a quantization parameter QP), which will be described later, from the encoding control unit 114, and performs quantization processing in accordance therewith. Furthermore, the transform / quantization unit 102 may perform a quantization process according to offset information 19 described later.
  • the transform / quantization unit 102 outputs the quantized transform coefficient 13 to the inverse quantization / inverse transform unit 103 and the entropy encoder 111.
  • the inverse quantization / inverse transform unit 103 receives the quantized transform coefficient 13 from the transform / quantization unit 102.
  • the inverse quantization / inverse transform unit 103 performs a predetermined inverse quantization process and inverse transform process on the quantized transform coefficient 13 to restore the prediction error (signal) 14.
  • the predetermined inverse quantization process and inverse transform process are inverse processes of the transform process and the quantization process in the transform / quantization unit 102.
  • the inverse quantization / inverse transform unit 103 receives the quantization information 18 from the encoding control unit 114 and performs an inverse quantization process according to the input. Further, the inverse quantization / inverse transform unit 103 may perform an inverse quantization process according to offset information 19 described later.
  • the inverse quantization / inverse transform unit 103 outputs the prediction error 14 to the adder 104.
  • the adder 104 inputs the prediction error 14 from the inverse quantization / inverse transform unit 103, and inputs the predicted image 24 from the prediction unit 108.
  • the adder 104 adds the prediction error 14 and the prediction image 24 to obtain a locally decoded image (signal) 15.
  • the adder 104 outputs the locally decoded image 15 to the deblocking filter processing unit 105.
  • the deblocking filter processing unit 105 inputs the local decoded image 15 from the adder 104 and inputs a filter control parameter 20 described later from the parameter deriving unit 110.
  • the deblocking filter processing unit 105 performs deblocking filtering on the local decoded image 15 (its block boundary) according to the filter control parameter 20 to obtain a filtered image (signal) 21.
  • the deblocking filter processing unit 105 outputs the filtered image 21 to the loop filter processing unit 106.
  • the loop filter processing unit 106 inputs the filtered image 21 from the deblocking filter processing unit 105 and inputs the loop filter information 16 from the encoding control unit 114.
  • the loop filter processing unit 106 performs loop filter processing on the filtered image 21 (block) according to the loop filter information 16 to obtain a restored image (signal) 22.
  • the loop filter information 16 can include information indicating application / non-application of loop filter processing and filter coefficients.
  • the loop filter processing unit 106 stores the restored image 22 in the frame memory 107.
  • the frame memory 107 stores the restored image 22 from the loop filter processing unit 106 as a reference image (signal) 23.
  • the reference image 23 is read by the prediction unit 108 as necessary.
  • the prediction unit 108 reads the reference image 23 from the frame memory 107.
  • the prediction unit 108 performs a prediction process (for example, an intra prediction process or an inter prediction process) based on the reference image 23 to obtain a predicted image 24.
  • the prediction unit 108 outputs the predicted image 24 to the subtracter 101 and the adder 104, respectively.
  • the encoding control unit 114 performs overall control of the encoding unit 113. Specifically, the encoding control unit 114 controls the generated code amount (so-called rate control) through feedback control of the generated code amount and control of the quantization characteristic. The control of the quantization characteristic includes setting the quantization information 18 and the offset information 19. Further, the encoding control unit 114 controls application / non-application of the loop filter processing by the loop filter processing unit 106 and sets the loop filter information 16. Also, the encoding control unit 114 may perform control of the prediction unit 108 (for example, selection of a prediction mode).
  • the encoding control unit 114 outputs the loop filter information 16 to the loop filter processing unit 106, the conversion processing setting unit 109, and the entropy encoder 111, respectively.
  • the encoding control unit 114 outputs the quantization information 18 to the transform / quantization unit 102, the inverse quantization / inverse transform unit 103, the parameter derivation unit 110, and the entropy encoder 111, respectively.
  • the encoding control unit 114 outputs the offset information 19 to the parameter derivation unit 110 and the entropy encoder 111, respectively.
  • the entropy encoder 111 receives the quantized transform coefficient 13 from the transform / quantization unit 102, and inputs the loop filter information 16, quantization information 18, and offset information 19 from the encoding control unit 114.
  • the entropy encoder 111 performs entropy encoding (that is, variable length encoding) on the quantized transform coefficient 13, the loop filter information 16, the quantization information 18, and the offset information 19 to obtain encoded data 25.
  • the entropy encoder 111 outputs the encoded data 25 to the multiplexer 112.
  • the entropy encoder 111 may encode information other than the above.
  • the entropy encoder 111 may input conversion processing information 17 (to be described later) from the conversion processing setting unit 109 and perform entropy encoding as an element of the encoded data 25.
  • the conversion processing information 17 is encoded, for example, in block units, slice units, or sequence units.
  • the conversion processing information 17 can be uniquely derived based on the loop filter information 16, it does not necessarily have to be given to the decoding side.
  • the multiplexer 112 receives the encoded data 25 from the entropy encoder 111.
  • the multiplexer 112 multiplexes the encoded data 25 according to a predetermined multiplexing method to obtain the bit stream 26.
  • the multiplexer 112 outputs the bit stream 26 to the outside (for example, a transmission system or a storage system (not shown)).
  • the conversion processing setting unit 109 inputs the loop filter information 16 from the encoding control unit 114. Based on the loop filter information 16, the conversion process setting unit 109 sets a conversion process applied in the parameter derivation unit 110 described later. Specifically, the parameter deriving unit 110 can use a plurality of conversion processes, and the conversion process setting unit 109 sets one of the plurality of conversion processes. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 109 generates conversion processing information 17 indicating the set conversion processing and outputs it to the parameter deriving unit 110.
  • the parameter deriving unit 110 inputs the conversion processing information 17 from the conversion processing setting unit 109, and inputs the quantization information 18 and the offset information 19 from the encoding control unit 114.
  • the parameter deriving unit 110 performs the conversion process specified by the conversion process information 17 based on the quantization information 18 and the offset information 19 to obtain the filter control parameter 20.
  • the filter control parameter 20 controls the deblocking filter process performed by the deblocking filter processing unit 105.
  • the parameter deriving unit 110 may exclude the offset information 19 from the application target of the conversion process.
  • the parameter deriving unit 110 outputs the filter control parameter 20 to the deblocking filter processing unit 105.
  • the filter control parameter 20 can include a parameter related to a determination condition for application / non-application of the deblocking filter process.
  • the filter control parameter 20 can include a parameter related to the type of deblocking filter processing to be applied or the determination condition of the strength.
  • the parameter deriving unit 110 includes a switching unit 131 and a conversion processing unit 132, as shown in FIG.
  • the conversion processing unit 132 includes at least a first conversion processing unit 132-1 for applying the first conversion processing and a second conversion processing unit 132-2 for applying the second conversion processing.
  • the conversion processing unit 132 may be able to use three or more conversion processes.
  • the switching unit 131 sets the output destination of the quantization information 18 and the offset information 19 according to the conversion processing information 17 to the first conversion processing unit 132-1, the second conversion processing unit 132-2, or another conversion processing unit. Switch between. For example, if the loop filter information 16 indicates that the loop filter processing is not applied, conversion processing information 17 designating the first conversion processing is given to the switching unit 131. On the other hand, if the loop filter information 16 indicates application of the loop filter processing, conversion processing information 17 designating the second conversion processing is given to the switching unit 131. Furthermore, when the loop filter information 16 includes a filter coefficient for loop filter processing, the conversion processing may be further subdivided according to the type or strength of the loop filter processing.
  • the first conversion processing unit 132-1 and the second conversion processing unit 132-2 realize the first conversion processing and the second conversion processing, respectively, by using, for example, a conversion table or a conversion formula.
  • the conversion table is useful for speeding up the processing, and the conversion formula is useful for saving memory capacity.
  • the conversion process may be realized by a method other than the conversion table or the conversion formula.
  • the first conversion processing unit 132-1 implements the first conversion processing using the conversion table A
  • the second conversion processing unit 132-2 implements the second conversion processing using the conversion table B.
  • FIG. 5 illustrates the conversion table A and the conversion table B.
  • the conversion table A and the conversion table B in FIG. 5 convert the combined value QPindex based on the quantization information 18 and the offset information 19 into ⁇ , which is an element of the filter control parameter 20, as shown in FIG. QPindex is obtained, for example, by the following mathematical formula (1).
  • the QPindex may be obtained by a weighted sum of the quantization information 18 and the offset information 19.
  • ⁇ obtained by the second conversion process is smaller than ⁇ obtained by the first conversion process.
  • is a parameter (threshold value) related to a determination condition for application / non-application of the deblocking filter process, and the application rate of the deblocking filter process can be reduced by using a smaller ⁇ .
  • the first conversion processing unit 132-1 implements the first conversion process using the conversion formula shown in the following formula (2)
  • the second conversion processing unit 132-2 sets the following formula (3).
  • the second conversion process may be realized using the conversion formula shown in FIG. In Equation (3), ⁇ ⁇ 1 and ⁇ ⁇ 1.
  • values such as the slope ⁇ or ⁇ and the intercept may be encoded as part of the conversion processing information 17.
  • the values of the gradient ⁇ or ⁇ , the intercept, and the like are also encoded, for example, in block units, slice units, or sequence units, as in the conversion processing information 17.
  • the filter control parameter 20 is not limited thereto.
  • the filter control parameter 20 may include various parameters related to the deblocking filter process, such as a parameter related to the determination condition of the strength or type of the deblocking filter process.
  • Application / non-application of the deblocking filter process may be determined for each line across the block boundary, or may be determined for the entire block boundary.
  • the deblocking filter processing unit 105 determines the application of the deblocking filter process if the following conditional expression (4) is true, and otherwise determines the non-application of the deblocking filter process.
  • is an element of the filter control parameter 20 as in ⁇ .
  • the deblocking filter processing unit 105 can further determine the strength or type when determining the application of the deblocking filter processing. For example, if the target pixel p or the adjacent pixel q belongs to an intra block and includes a block boundary between p and q, the deblocking filter processing unit 105 performs a strong low-pass filter (so-called strong filter). ) Is applied. Otherwise, the deblocking filter processing unit 105 determines to apply a weak low-pass filter (so-called weak filter). When the weak filter is applied, high-frequency components included in the application target are easily maintained.
  • strong filter strong low-pass filter
  • the deblocking filter processing unit 105 determines the application of the deblocking filter process if the following conditional expression (5) is true, and determines the non-application of the deblocking filter process otherwise.
  • the deblocking filter processing unit 105 can further determine the strength or type when determining the application of the deblocking filter processing. For example, if the following conditional expression (6) is true, the deblocking filter processing unit 105 determines to apply the strong filter. Otherwise, the deblocking filter processing unit 105 determines to apply the weak filter.
  • t c is one element of the filter control parameter 20 like ⁇ .
  • i takes an integer of 0 ⁇ i ⁇ 7.
  • the conversion processing setting unit 109 inputs the loop filter information 16 from the encoding control unit 114 (step S201).
  • the conversion process setting unit 109 refers to the loop filter information 16 input in step S201, and determines whether or not the loop filter process has been applied to the target image (step S202).
  • the target image is, for example, a pixel set in block units, slice units, or sequence units. If the loop filter process is applied to the target image, the process proceeds to step S204; otherwise, the process proceeds to step S203.
  • step S203 the conversion process setting unit 109 generates conversion process information 17 indicating that the first conversion process has been set.
  • step S204 the conversion process setting unit 109 generates conversion process information 17 indicating that the second conversion process has been set.
  • the parameter deriving unit 110 inputs the quantization information 18 and the offset information 19 from the encoding control unit 114, and inputs the conversion processing information 17 generated in step S203 or step S204 from the conversion processing setting unit 109 (step S205). .
  • the parameter deriving unit 110 performs the conversion process specified by the conversion process information 17 input in step S205 based on the quantization information 18 and the offset information 19, and derives the filter control parameter 20 (step S206).
  • the deblocking filter processing unit 105 receives the filter control parameter 20 derived in step S206, and performs deblocking filter processing on the locally decoded image 15 according to the input (step S207).
  • the moving picture encoding apparatus of FIG. 1 can be modified as shown in FIG. 2 is different from that in FIG. 1 in the execution order of the deblocking filter process and the loop filter process.
  • the encoding unit 123 of the moving image encoding apparatus in FIG. 2 includes a loop filter processing unit 121 and a deblocking filter processing unit 122.
  • the loop filter processing unit 121 inputs the local decoded image 15 from the adder 104 and inputs the loop filter information 16 from the encoding control unit 124.
  • the loop filter processing unit 121 performs loop filter processing on the local decoded image 15 (block thereof) according to the loop filter information 16 to obtain a filtered image (signal) 27.
  • the loop filter processing unit 121 outputs the filtered image 27 to the deblocking filter processing unit 122.
  • the deblocking filter processing unit 122 inputs the filter processed image 27 from the loop filter processing unit 121 and inputs the filter control parameter 20 from the parameter derivation unit 110.
  • the deblocking filter processing unit 122 performs deblocking filter processing on the filtered image 27 (its block boundary) according to the filter control parameter 20 to obtain the restored image 22.
  • the deblocking filter processing unit 122 stores the restored image 22 in the frame memory 107.
  • the moving picture decoding apparatus includes a demultiplexer 301, a decoding unit 311 and a decoding control unit 312 as shown in FIG.
  • the decoding unit 311 decodes the encoded data 31 to obtain a restored image (signal) 36 as an output image (signal).
  • the decoding unit 311 includes an entropy decoder 302, an inverse quantization / inverse conversion unit 303, an adder 304, a deblocking filter processing unit 305, a loop filter processing unit 306, a frame memory 307, a prediction unit 308, and a conversion processing setting unit. 309 and a parameter deriving unit 310.
  • the decoding control unit 312 performs overall control of the decoding unit 311.
  • the demultiplexer 301 inputs the bit stream 26 from the outside (for example, a transmission system or a storage system not shown).
  • the demultiplexer 301 demultiplexes (that is, separates) the bit stream 26 according to a predetermined multiplexing method, and obtains encoded data 31.
  • the demultiplexer 301 outputs the encoded data 31 to the entropy decoder 302.
  • the entropy decoder 302 receives the encoded data 31 from the demultiplexer 301.
  • the entropy decoder 302 entropy-decodes the encoded data 31 to obtain at least quantized transform coefficients 32, loop filter information 39, quantized information 40, and offset information 41.
  • the entropy decoder 302 outputs the quantized transform coefficient 32 to the inverse quantization / inverse transform unit 303.
  • the entropy decoder 302 outputs the loop filter information 39 to the loop filter processing unit 306 and the conversion processing setting unit 309, respectively.
  • the entropy decoder 302 outputs the quantization information 40 to the inverse quantization / inverse transform unit 303 and the parameter derivation unit 310, respectively.
  • the entropy decoder 302 outputs the offset information 41 to the parameter derivation unit 310, respectively.
  • the inverse quantization / inverse transform unit 303 inputs the quantized transform coefficient 32 and the quantization information 40 from the entropy decoder 302.
  • the inverse quantization / inverse transform unit 303 performs a predetermined inverse quantization process and inverse transform process on the quantized transform coefficient 32 to restore the prediction error (signal) 33.
  • the predetermined inverse quantization process and inverse transform process are inverse processes of the transform process and the quantization process on the encoding side.
  • the inverse quantization / inverse transform unit 303 performs an inverse quantization process according to the quantization information 40. Further, the inverse quantization / inverse transform unit 303 may perform an inverse quantization process according to the offset information 41.
  • the inverse quantization / inverse transform unit 303 outputs the prediction error 33 to the adder 304.
  • the adder 304 receives the prediction error 33 from the inverse quantization / inverse conversion unit 303 and the prediction image (signal) 38 from the prediction unit 308.
  • the adder 304 adds the prediction error 33 and the predicted image 38 to obtain a decoded image (signal) 34.
  • the adder 304 outputs the decoded image 34 to the deblocking filter processing unit 305.
  • the deblocking filter processing unit 305 is the same as or similar to the deblocking filter processing unit 105 described above. That is, the deblocking filter processing unit 305 inputs the decoded image 34 from the adder 304 and inputs the filter control parameter 43 from the parameter derivation unit 310.
  • the filter control parameter 43 is the same as or similar to the filter control parameter 20 described above.
  • the deblocking filter processing unit 105 performs a deblocking filter process on the decoded image 34 (its block boundary) according to the filter control parameter 43 to obtain a filtered image (signal) 35.
  • the deblocking filter processing unit 305 outputs the filtered image 35 to the loop filter processing unit 306.
  • the loop filter processing unit 306 inputs the filter processed image 35 from the deblocking filter processing unit 305 and inputs the loop filter information 39 from the entropy decoder 302.
  • the loop filter processing unit 306 performs loop filter processing on the filter processed image 35 (block thereof) according to the loop filter information 39 to obtain a restored image 36.
  • the loop filter processing unit 306 outputs the restored image 36 to the outside (for example, a display device (not shown)) and stores the restored image 36 in the frame memory 307.
  • the frame memory 307 stores the restored image 36 from the loop filter processing unit 306 as a reference image (signal) 37.
  • the reference image 37 is read by the prediction unit 308 as necessary.
  • the frame memory 307 may store information necessary for decoding.
  • the prediction unit 308 reads the reference image 37 from the frame memory 307.
  • the prediction unit 308 performs a prediction process (for example, an intra prediction process or an inter prediction process) based on the reference image 37, and obtains a predicted image 38.
  • the prediction unit 308 may perform a prediction process according to prediction information (not shown) decoded by the entropy encoder 302.
  • the prediction unit 308 outputs the predicted image 38 to the adder 304.
  • the conversion process setting unit 309 is the same as or similar to the conversion process setting unit 109 described above. That is, the conversion process setting unit 309 inputs the loop filter information 39 from the entropy decoder 302. The conversion process setting unit 309 sets the conversion process applied in the parameter derivation unit 310 based on the loop filter information 39. Specifically, the parameter deriving unit 310 can use a plurality of conversion processes, and the conversion process setting unit 309 sets one of the plurality of conversion processes. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 309 generates conversion processing information 42 indicating the set conversion processing and outputs it to the parameter deriving unit 310.
  • the conversion processing information 42 is encoded on the encoding side and is given to the moving picture decoder in FIG.
  • the entropy decoder 302 may decode the transform processing information 42 and output it directly to the parameter derivation unit 310. According to such a configuration, the conversion process setting unit 309 is not necessary.
  • the parameter deriving unit 310 is the same as or similar to the parameter deriving unit 110 described above. That is, the parameter deriving unit 310 inputs the conversion processing information 42 from the conversion processing setting unit 309 (or the entropy decoder 302), and inputs the quantization information 40 and the offset information 41 from the entropy decoder 302. The parameter deriving unit 310 applies the conversion process specified by the conversion process information 42 to the quantization information 40 and the offset information 41 to obtain the filter control parameter 43. The parameter deriving unit 310 may exclude the offset information 41 from the application target of the conversion process. The parameter deriving unit 310 outputs the filter control parameter 43 to the deblocking filter processing unit 305.
  • the moving picture decoding apparatus in FIG. 7 can be modified as shown in FIG.
  • the moving picture decoding apparatus in FIG. 8 differs from that in FIG. 7 in the execution order of the deblocking filter process and the loop filter process.
  • the decoding unit 323 of the video decoding device in FIG. 8 includes a loop filter processing unit 321 and a deblocking filter processing unit 322.
  • the decryption control unit 324 performs overall control of the decryption unit 323.
  • the loop filter processing unit 321 inputs the decoded image 34 from the adder 304 and inputs the loop filter information 39 from the entropy decoder 302.
  • the loop filter processing unit 321 performs loop filter processing on the decoded image 34 (block thereof) according to the loop filter information 39 to obtain a filtered image (signal) 44.
  • the loop filter processing unit 321 outputs the filtered image 44 to the deblocking filter processing unit 322.
  • the deblocking filter processing unit 322 inputs the filter processing image 44 from the loop filter processing unit 321 and inputs the filter control parameter 43 from the parameter derivation unit 110.
  • the deblocking filter processing unit 322 performs a deblocking filter process on the filter processed image 44 (its block boundary) according to the filter control parameter 43 to obtain a restored image 36 as an output image.
  • the deblocking filter processing unit 322 outputs the restored image 36 to the outside (for example, a display device (not shown)) and stores the restored image 36 in the frame memory 307.
  • the video encoding / decoding device switches the conversion process for deriving the control parameter for the deblocking filter process according to the loop filter information. Therefore, according to the moving image encoding / decoding device according to the present embodiment, it is possible to effectively control the deblocking filter process. For example, excessive loop processing on the decoded image is suppressed by making the deblocking filter processing relatively difficult to apply when applying the loop filter processing or by making the filter strength relatively weak. .
  • the moving image encoding apparatus includes an encoding unit 143, an encoding control unit 144, and a multiplexer 112.
  • the encoding unit 143 encodes the input image 11 and obtains encoded data 25.
  • the encoding unit 143 includes a subtracter 101, a transform / quantization unit 102, an inverse quantization / inverse transform unit 103, an adder 104, a deblocking filter processing unit 105, a loop filter processing unit 106, a frame memory 141, and a prediction unit 108.
  • a conversion processing setting unit 142, a parameter deriving unit 110, and an entropy encoding unit 111 is an entropy encoding unit 111.
  • the frame memory 141 stores the loop filter information 16 in addition to the reference image 23.
  • the reference image loop filter information 28 is read by the conversion processing setting unit 142 as necessary.
  • the conversion processing setting unit 142 reads the loop filter information 28 from the frame memory 141.
  • the conversion process setting unit 142 sets the conversion process applied in the parameter derivation unit 110 based on the loop filter information 28. Specifically, the conversion process setting unit 142 sets one of a plurality of conversion processes that can be used by the parameter derivation unit 110, similarly to the conversion process setting unit 109.
  • the conversion process is set, for example, in block units, slice units, or sequence units.
  • the conversion processing unit 142 generates conversion processing information 29 indicating the set conversion processing and outputs it to the parameter deriving unit 110.
  • the conversion processing setting unit 142 generates the conversion processing information 29 using the loop filter information 28 of the reference image instead of the loop filter information 16 of the target image. Therefore, the loop filter information 28 has a delay of, for example, one frame compared to the target image. That is, when the target image belongs to the first frame, the conversion processing setting unit 142 cannot obtain the loop filter information 28. Therefore, when the target image belongs to the first frame, the conversion process setting unit 142 generates the conversion process information 29 according to the initial setting.
  • the initial setting is determined by the encoding control unit 144, for example.
  • step S212 the conversion process setting unit 142 receives an initial setting from the encoding control unit 144, and determines which conversion process the initial setting specifies. If the initial setting specifies the second conversion process, the process proceeds to step S204. If the initial setting specifies the first conversion process, the process proceeds to step S203.
  • step S213 the conversion processing setting unit 142 reads the loop filter information 28 of the reference image from the frame memory 141.
  • the conversion processing unit 142 refers to the loop filter information 28 read in step S213, and determines whether or not the loop filter processing is applied to the reference image (step S214). It is assumed that the reference image and the target image correspond spatially although the frames are different. That is, the reference image is, for example, a pixel set in block units, slice units, or sequence units. If the loop filter process is applied to the reference image, the process proceeds to step S204; otherwise, the process proceeds to step S203.
  • step S203 the conversion process setting unit 142 generates conversion process information 29 indicating that the first conversion process has been set.
  • step S204 the conversion process setting unit 142 generates conversion process information 29 indicating that the second conversion process has been set.
  • the parameter deriving unit 110 inputs the quantization information 18 and the offset information 19 from the encoding control unit 144, and inputs the conversion processing information 29 generated in step S203 or step S204 from the conversion processing setting unit 142 (step S205). .
  • the parameter deriving unit 110 applies the transformation process specified by the transformation process information 29 input in step S205 to the quantization information 18 and the offset information 19 to derive the filter control parameter 20 (step S206).
  • the deblocking filter processing unit 105 receives the filter control parameter 20 derived in step S206, and performs deblocking filter processing on the locally decoded image 15 according to the input (step S207).
  • the moving picture decoding apparatus includes a demultiplexer 301, a decoding unit 333, and a decoding control unit 334.
  • the decoding unit 333 decodes the encoded data 31 and obtains a restored image 36 as an output image.
  • the decoding unit 333 includes an entropy decoder 302, an inverse quantization / inverse conversion unit 303, an adder 304, a deblocking filter processing unit 305, a loop filter processing unit 306, a frame memory 331, a prediction unit 308, and a conversion processing setting unit. 332 and a parameter deriving unit 310.
  • the decryption control unit 334 performs overall control of the decryption unit 333.
  • the frame memory 331 stores the loop filter information 45 in addition to the reference image 36.
  • the reference image loop filter information 45 is read by the conversion processing setting unit 332 as necessary.
  • the conversion processing setting unit 332 reads the loop filter information 45 from the frame memory 331.
  • the conversion process setting unit 332 sets the conversion process applied in the parameter derivation unit 310 based on the loop filter information 45. Specifically, the conversion process setting unit 332 sets one of a plurality of conversion processes that can be used by the parameter deriving unit 310, similarly to the conversion process setting unit 309.
  • the conversion process is set, for example, in block units, slice units, or sequence units.
  • the conversion processing unit 332 generates conversion processing information 46 indicating the set conversion processing and outputs it to the parameter deriving unit 310.
  • the conversion processing setting unit 332 generates the conversion processing information 46 using the loop filter information 45 of the reference image instead of the loop filter information 39 of the target image. Therefore, the loop filter information 45 has a delay of, for example, one frame compared to the target image. That is, when the target image belongs to the first frame, the conversion processing setting unit 332 cannot obtain the loop filter information 45. Therefore, when the target image belongs to the first frame, the conversion processing setting unit 332 generates conversion processing information 46 according to the initial setting.
  • the initial setting may be determined by the decoding control unit 334, for example, or may be given from the encoding side and decoded by the entropy decoder 302.
  • the conversion processing information 46 is encoded on the encoding side and given to the moving picture decoder in FIG.
  • the entropy decoder 302 may decode the transform processing information 46 and output it directly to the parameter derivation unit 310. According to such a configuration, the conversion process setting unit 332 is not necessary.
  • the video encoding / decoding device switches the conversion process for deriving the control parameter for the deblocking filter process according to the loop filter information of the reference image. Yes. Therefore, according to the moving image encoding / decoding device according to the present embodiment, it is possible to effectively control the deblocking filter process. For example, excessive loop processing on the decoded image is suppressed by making the deblocking filter processing relatively difficult to apply when applying the loop filter processing or by making the filter strength relatively weak. .
  • the processing of each of the above embodiments can be realized by using a general-purpose computer as basic hardware.
  • the program for realizing the processing of each of the above embodiments may be provided by being stored in a computer-readable storage medium.
  • the program is stored in the storage medium as an installable file or an executable file.
  • the storage medium can be a computer-readable storage medium such as a magnetic disk, optical disk (CD-ROM, CD-R, DVD, etc.), magneto-optical disk (MO, etc.), semiconductor memory, etc. Any form may be used.
  • the program for realizing the processing of each of the above embodiments may be stored on a computer (server) connected to a network such as the Internet and downloaded to the computer (client) via the network.

Landscapes

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

Abstract

According to an embodiment, this dynamic picture image encoding device includes a loop filter processor, a generator, a derivation unit, a deblocking filter processor, and an encoder. The loop filter processor performs a loop filter process according to loop filter information. The generator sets one of a plurality of conversion processes according to the loop filter information, and generates conversion process information indicative of the conversion process that has been set. The derivation unit performs, on the basis of quantization information, the conversion process that has been specified by the conversion process information, and derives a filter control parameter. The deblocking filter processor performs a deblocking filter process according to the filter control parameter. The encoder encodes at least the loop filter information and the quantization information.

Description

動画像符号化方法及び装置、動画像復号化方法及び装置Moving picture encoding method and apparatus, moving picture decoding method and apparatus
 実施形態は、デブロッキングフィルタ処理に関する。 Embodiment relates to deblocking filter processing.
 一般に、動画像の符号化及び復号化の過程において、様々なフィルタ処理が行われる。例えば、(局所)復号画像のブロック歪を低減させるために、デブロッキングフィルタ(DF)処理が行われることがある。また、復号画像の符号化歪を低減させるために、適応ループフィルタ(Adaptive Loop Filter;ALF)処理が行われることがある。具体的には、符号化側がフィルタ処理の適用/非適用及びフィルタ係数を示す情報(ループフィルタ情報)を設定して復号化側に送信し、復号化側がこのループフィルタ情報を用いてALF処理を行う。更に、デブロッキングフィルタ処理及びALF処理の両方が混在することもある。 Generally, various filter processes are performed in the process of encoding and decoding moving images. For example, a deblocking filter (DF) process may be performed to reduce block distortion of a (local) decoded image. Further, an adaptive loop filter (ALF) process may be performed to reduce the coding distortion of the decoded image. Specifically, the encoding side sets application / non-application of filter processing and information indicating the filter coefficient (loop filter information) and transmits the information to the decoding side, and the decoding side performs ALF processing using the loop filter information. Do. Furthermore, both deblocking filter processing and ALF processing may be mixed.
 通常、デブロッキングフィルタ処理において、所定のフィルタ制御パラメータ、対象画像の画素値及び予測モードなどに応じて、フィルタ処理の適用/非適用、適用されるフィルタ処理の強度または種類などが制御される。しかしながら、デブロッキングフィルタ処理とALF処理とが混在している場合であっても、デブロッキングフィルタ処理は独立に制御される。即ち、ALF処理の影響がデブロッキングフィルタ処理の制御において考慮されない。例えば、デブロッキングフィルタ処理の適用対象にALF処理が重ねて適用される場合には、復号画像がぼけた画像になりやすい。一方、デブロッキングフィルタ処理の適用対象にALF処理が適用されない場合には、デブロッキングフィルタ処理には復号画像の符号化歪を単独で十分に低減させることが求められる。 Usually, in deblocking filter processing, application / non-application of filter processing, strength or type of applied filter processing, and the like are controlled in accordance with predetermined filter control parameters, pixel values of a target image, prediction mode, and the like. However, even when the deblocking filter process and the ALF process are mixed, the deblocking filter process is controlled independently. That is, the influence of the ALF process is not considered in the control of the deblocking filter process. For example, when the ALF process is applied to the application target of the deblocking filter process, the decoded image tends to be blurred. On the other hand, when the ALF process is not applied to the application target of the deblocking filter process, the deblocking filter process is required to sufficiently reduce the coding distortion of the decoded image alone.
 実施形態は、デブロッキングフィルタ処理の効果的な制御を目的とする。 Embodiment is aimed at effective control of deblocking filter processing.
 実施形態によれば、動画像符号化装置は、ループフィルタ処理部と、生成部と、導出部と、デブロッキングフィルタ処理部と、符号化部とを含む。ループフィルタ処理部は、ループフィルタ情報に従って、ループフィルタ処理を行う。生成部は、ループフィルタ情報に応じて複数の変換処理のうちの1つを設定し、設定した変換処理を示す変換処理情報を生成する。導出部は、変換処理情報によって指定される変換処理を量子化情報に基づいて行い、フィルタ制御パラメータを導出する。デブロッキングフィルタ処理部は、フィルタ制御パラメータに従って、デブロッキングフィルタ処理を行う。符号化部は、少なくともループフィルタ情報及び量子化情報を符号化する。 According to the embodiment, the moving image encoding apparatus includes a loop filter processing unit, a generation unit, a derivation unit, a deblocking filter processing unit, and an encoding unit. The loop filter processing unit performs loop filter processing according to the loop filter information. The generation unit sets one of a plurality of conversion processes according to the loop filter information, and generates conversion process information indicating the set conversion process. The derivation unit performs a conversion process specified by the conversion process information based on the quantization information, and derives a filter control parameter. A deblocking filter process part performs a deblocking filter process according to a filter control parameter. The encoding unit encodes at least loop filter information and quantization information.
第1の実施形態に係る動画像符号化装置を例示するブロック図。1 is a block diagram illustrating a moving image encoding apparatus according to a first embodiment. 図1の動画像符号化装置の変形例を示すブロック図。The block diagram which shows the modification of the moving image encoder of FIG. 図1のパラメータ導出部を例示するブロック図。The block diagram which illustrates the parameter derivation part of Drawing 1. 図1の動画像符号化装置の動作の一部を例示するフローチャート。3 is a flowchart illustrating a part of the operation of the moving image encoding apparatus in FIG. 1. 2種類の変換テーブルの説明図。Explanatory drawing of two types of conversion tables. 2種類の変換テーブルの説明図。Explanatory drawing of two types of conversion tables. 第1の実施形態に係る動画像復号化装置を例示するブロック図。1 is a block diagram illustrating a video decoding device according to a first embodiment. 図7の動画像復号化装置の変形例を示すブロック図。The block diagram which shows the modification of the moving image decoding apparatus of FIG. 第2の実施形態に係る動画像符号化装置を例示するブロック図。The block diagram which illustrates the moving picture coding device concerning a 2nd embodiment. 図9の動画像復号化装置の動作の一部を例示するフローチャート。10 is a flowchart illustrating a part of the operation of the video decoding apparatus in FIG. 9. 第2の実施形態に係る動画像復号化装置を例示するブロック図。The block diagram which illustrates the moving picture decoding device concerning a 2nd embodiment. デブロッキングフィルタ処理の説明図。Explanatory drawing of a deblocking filter process. デブロッキングフィルタ処理の説明図。Explanatory drawing of a deblocking filter process.
 以下、図面を参照して、実施形態について説明する。尚、各実施形態において、説明済みの要素と同一または類似の要素には同一または類似の符号を付し、重複する説明を基本的に省略する。 Hereinafter, embodiments will be described with reference to the drawings. In each embodiment, the same or similar elements as those already described are denoted by the same or similar reference numerals, and redundant description is basically omitted.
 (第1の実施形態) 
 (動画像符号化装置) 
 第1の実施形態に係る動画像符号化装置は、図1に示されるように、符号化部113、符号化制御部114及び多重化器112を含む。符号化部113は、入力画像(信号)11を符号化し、符号化データ25を得る。符号化部113は、減算器101、変換/量子化部102、逆量子化/逆変換部103、加算器104、デブロッキングフィルタ処理部105、ループフィルタ処理部106、フレームメモリ107、予測部108、変換処理設定部109、パラメータ導出部110及びエントロピー符号化部111を含む。
(First embodiment)
(Moving picture encoding device)
As shown in FIG. 1, the moving image encoding apparatus according to the first embodiment includes an encoding unit 113, an encoding control unit 114, and a multiplexer 112. The encoding unit 113 encodes the input image (signal) 11 and obtains encoded data 25. The encoding unit 113 includes a subtractor 101, a transform / quantization unit 102, an inverse quantization / inverse transform unit 103, an adder 104, a deblocking filter processing unit 105, a loop filter processing unit 106, a frame memory 107, and a prediction unit 108. A conversion processing setting unit 109, a parameter deriving unit 110, and an entropy encoding unit 111.
 減算器101は、入力画像11を外部から取り込み、入力画像11に対応する予測画像(信号)24を予測部108から入力する。減算器101は、入力画像11から予測画像24を減算し、予測誤差(信号)12を得る。減算器101は、予測誤差12を変換/量子化部102へ出力する。 The subtracter 101 takes in the input image 11 from the outside, and inputs a predicted image (signal) 24 corresponding to the input image 11 from the prediction unit 108. The subtracter 101 subtracts the predicted image 24 from the input image 11 to obtain a prediction error (signal) 12. The subtractor 101 outputs the prediction error 12 to the transform / quantization unit 102.
 変換/量子化部102は、減算器101から予測誤差12を入力する。変換/量子化部102は、予測誤差12に所定の変換処理及び量子化処理を行い、量子化された変換係数(以降、量子化変換係数と称される)13を得る。所定の変換処理は、例えば離散コサイン変換(DCT)などの直交変換である。変換/量子化部102は、後述する量子化情報18(例えば、量子化パラメータQP)を符号化制御部114から入力し、これに従って量子化処理を行う。更に、変換/量子化部102は、後述するオフセット情報19に従って量子化処理を行ってもよい。変換/量子化部102は、量子化変換係数13を逆量子化/逆変換部103及びエントロピー符号化器111へ出力する。 The transform / quantization unit 102 inputs the prediction error 12 from the subtractor 101. The transform / quantization unit 102 performs predetermined transform processing and quantization processing on the prediction error 12 to obtain a quantized transform coefficient (hereinafter referred to as a quantized transform coefficient) 13. The predetermined transformation process is orthogonal transformation such as discrete cosine transformation (DCT), for example. The transform / quantization unit 102 receives quantization information 18 (for example, a quantization parameter QP), which will be described later, from the encoding control unit 114, and performs quantization processing in accordance therewith. Furthermore, the transform / quantization unit 102 may perform a quantization process according to offset information 19 described later. The transform / quantization unit 102 outputs the quantized transform coefficient 13 to the inverse quantization / inverse transform unit 103 and the entropy encoder 111.
 逆量子化/逆変換部103は、変換/量子化部102から量子化変換係数13を入力する。逆量子化/逆変換部103は、量子化変換係数13に所定の逆量子化処理及び逆変換処理を行い、予測誤差(信号)14を復元する。所定の逆量子化処理及び逆変換処理は、変換/量子化部102における変換処理及び量子化処理の逆処理である。逆量子化/逆変換部103は、量子化情報18を符号化制御部114から入力し、これに従って逆量子化処理を行う。更に、逆量子化/逆変換部103は、後述するオフセット情報19に従って逆量子化処理を行ってもよい。逆量子化/逆変換部103は、予測誤差14を加算器104へ出力する。 The inverse quantization / inverse transform unit 103 receives the quantized transform coefficient 13 from the transform / quantization unit 102. The inverse quantization / inverse transform unit 103 performs a predetermined inverse quantization process and inverse transform process on the quantized transform coefficient 13 to restore the prediction error (signal) 14. The predetermined inverse quantization process and inverse transform process are inverse processes of the transform process and the quantization process in the transform / quantization unit 102. The inverse quantization / inverse transform unit 103 receives the quantization information 18 from the encoding control unit 114 and performs an inverse quantization process according to the input. Further, the inverse quantization / inverse transform unit 103 may perform an inverse quantization process according to offset information 19 described later. The inverse quantization / inverse transform unit 103 outputs the prediction error 14 to the adder 104.
 加算器104は、予測誤差14を逆量子化/逆変換部103から入力し、予測画像24を予測部108から入力する。加算器104は、予測誤差14及び予測画像24を加算し、局所復号画像(信号)15を得る。加算器104は、局所復号画像15をデブロッキングフィルタ処理部105へ出力する。 The adder 104 inputs the prediction error 14 from the inverse quantization / inverse transform unit 103, and inputs the predicted image 24 from the prediction unit 108. The adder 104 adds the prediction error 14 and the prediction image 24 to obtain a locally decoded image (signal) 15. The adder 104 outputs the locally decoded image 15 to the deblocking filter processing unit 105.
 デブロッキングフィルタ処理部105は、局所復号画像15を加算器104から入力し、後述するフィルタ制御パラメータ20をパラメータ導出部110から入力する。デブロッキングフィルタ処理部105は、フィルタ制御パラメータ20に従って局所復号画像15(のブロック境界)に対するデブロッキングフィルタ処理を行い、フィルタ処理画像(信号)21を得る。デブロッキングフィルタ処理部105は、フィルタ処理画像21をループフィルタ処理部106へ出力する。 The deblocking filter processing unit 105 inputs the local decoded image 15 from the adder 104 and inputs a filter control parameter 20 described later from the parameter deriving unit 110. The deblocking filter processing unit 105 performs deblocking filtering on the local decoded image 15 (its block boundary) according to the filter control parameter 20 to obtain a filtered image (signal) 21. The deblocking filter processing unit 105 outputs the filtered image 21 to the loop filter processing unit 106.
 ループフィルタ処理部106は、フィルタ処理画像21をデブロッキングフィルタ処理部105から入力し、ループフィルタ情報16を符号化制御部114から入力する。ループフィルタ処理部106は、ループフィルタ情報16に従ってフィルタ処理画像21(のブロック)に対するループフィルタ処理を行い、復元画像(信号)22を得る。ループフィルタ情報16は、ループフィルタ処理の適用/非適用及びフィルタ係数を示す情報を含むことができる。ループフィルタ処理部106は、復元画像22をフレームメモリ107に保存する。 The loop filter processing unit 106 inputs the filtered image 21 from the deblocking filter processing unit 105 and inputs the loop filter information 16 from the encoding control unit 114. The loop filter processing unit 106 performs loop filter processing on the filtered image 21 (block) according to the loop filter information 16 to obtain a restored image (signal) 22. The loop filter information 16 can include information indicating application / non-application of loop filter processing and filter coefficients. The loop filter processing unit 106 stores the restored image 22 in the frame memory 107.
 フレームメモリ107は、ループフィルタ処理部106からの復元画像22を参照画像(信号)23として保存する。参照画像23は、予測部108によって必要に応じて読み出される。 The frame memory 107 stores the restored image 22 from the loop filter processing unit 106 as a reference image (signal) 23. The reference image 23 is read by the prediction unit 108 as necessary.
 予測部108は、フレームメモリ107から参照画像23を読み出す。予測部108は、参照画像23に基づいて予測処理(例えば、イントラ予測処理、インター予測処理など)を行い、予測画像24を得る。予測部108は、予測画像24を減算器101及び加算器104へ夫々出力する。 The prediction unit 108 reads the reference image 23 from the frame memory 107. The prediction unit 108 performs a prediction process (for example, an intra prediction process or an inter prediction process) based on the reference image 23 to obtain a predicted image 24. The prediction unit 108 outputs the predicted image 24 to the subtracter 101 and the adder 104, respectively.
 符号化制御部114は、符号化部113の全体の制御を行う。具体的には、符号化制御部114は、発生符号量のフィードバック制御及び量子化特性の制御を通じて発生符号量を制御(いわゆるレート制御)する。上記量子化特性の制御は、量子化情報18及びオフセット情報19を設定することを含む。更に、符号化制御部114は、ループフィルタ処理部106によるループフィルタ処理の適用/非適用を制御し、ループフィルタ情報16を設定する。また、符号化制御部114は、予測部108の制御(例えば、予測モードの選択など)を行ってもよい。 The encoding control unit 114 performs overall control of the encoding unit 113. Specifically, the encoding control unit 114 controls the generated code amount (so-called rate control) through feedback control of the generated code amount and control of the quantization characteristic. The control of the quantization characteristic includes setting the quantization information 18 and the offset information 19. Further, the encoding control unit 114 controls application / non-application of the loop filter processing by the loop filter processing unit 106 and sets the loop filter information 16. Also, the encoding control unit 114 may perform control of the prediction unit 108 (for example, selection of a prediction mode).
 符号化制御部114は、ループフィルタ情報16をループフィルタ処理部106、変換処理設定部109及びエントロピー符号化器111へ夫々出力する。符号化制御部114は、量子化情報18を変換/量子化部102、逆量子化/逆変換部103、パラメータ導出部110及びエントロピー符号化器111へ夫々出力する。符号化制御部114は、オフセット情報19をパラメータ導出部110及びエントロピー符号化器111へ夫々出力する。 The encoding control unit 114 outputs the loop filter information 16 to the loop filter processing unit 106, the conversion processing setting unit 109, and the entropy encoder 111, respectively. The encoding control unit 114 outputs the quantization information 18 to the transform / quantization unit 102, the inverse quantization / inverse transform unit 103, the parameter derivation unit 110, and the entropy encoder 111, respectively. The encoding control unit 114 outputs the offset information 19 to the parameter derivation unit 110 and the entropy encoder 111, respectively.
 エントロピー符号化器111は、量子化変換係数13を変換/量子化部102から入力し、ループフィルタ情報16、量子化情報18及びオフセット情報19を符号化制御部114から入力する。エントロピー符号化器111は、量子化変換係数13、ループフィルタ情報16、量子化情報18及びオフセット情報19をエントロピー符号化(即ち、可変長符号化)し、符号化データ25を得る。エントロピー符号化器111は、符号化データ25を多重化器112へ出力する。 The entropy encoder 111 receives the quantized transform coefficient 13 from the transform / quantization unit 102, and inputs the loop filter information 16, quantization information 18, and offset information 19 from the encoding control unit 114. The entropy encoder 111 performs entropy encoding (that is, variable length encoding) on the quantized transform coefficient 13, the loop filter information 16, the quantization information 18, and the offset information 19 to obtain encoded data 25. The entropy encoder 111 outputs the encoded data 25 to the multiplexer 112.
 尚、エントロピー符号化器111は、上記以外の情報を符号化してもよい。例えば、エントロピー符号化器111は、後述する変換処理情報17を変換処理設定部109から入力し、これを符号化データ25の一要素としてエントロピー符号化してもよい。変換処理情報17は、例えばブロック単位、スライス単位またはシーケンス単位で符号化される。但し、変換処理情報17は、ループフィルタ情報16に基づいて一意に導出可能なので、必ずしも復号化側に与えなくてもよい。 Note that the entropy encoder 111 may encode information other than the above. For example, the entropy encoder 111 may input conversion processing information 17 (to be described later) from the conversion processing setting unit 109 and perform entropy encoding as an element of the encoded data 25. The conversion processing information 17 is encoded, for example, in block units, slice units, or sequence units. However, since the conversion processing information 17 can be uniquely derived based on the loop filter information 16, it does not necessarily have to be given to the decoding side.
 多重化器112は、エントロピー符号化器111から符号化データ25を入力する。多重化器112は、所定の多重化方式に従って符号化データ25を多重化し、ビットストリーム26を得る。多重化器112は、ビットストリーム26を外部(例えば、図示しない伝送系または蓄積系)へ出力する。 The multiplexer 112 receives the encoded data 25 from the entropy encoder 111. The multiplexer 112 multiplexes the encoded data 25 according to a predetermined multiplexing method to obtain the bit stream 26. The multiplexer 112 outputs the bit stream 26 to the outside (for example, a transmission system or a storage system (not shown)).
 変換処理設定部109は、ループフィルタ情報16を符号化制御部114から入力する。変換処理設定部109は、ループフィルタ情報16に基づいて、後述するパラメータ導出部110において適用される変換処理を設定する。具体的には、パラメータ導出部110は複数の変換処理を利用可能であり、変換処理設定部109はこれら複数の変換処理のうちの1つを設定する。変換処理は、例えばブロック単位、スライス単位またはシーケンス単位で設定される。変換処理部109は、設定した変換処理を示す変換処理情報17を生成し、パラメータ導出部110へ出力する。 The conversion processing setting unit 109 inputs the loop filter information 16 from the encoding control unit 114. Based on the loop filter information 16, the conversion process setting unit 109 sets a conversion process applied in the parameter derivation unit 110 described later. Specifically, the parameter deriving unit 110 can use a plurality of conversion processes, and the conversion process setting unit 109 sets one of the plurality of conversion processes. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 109 generates conversion processing information 17 indicating the set conversion processing and outputs it to the parameter deriving unit 110.
 パラメータ導出部110は、変換処理情報17を変換処理設定部109から入力し、量子化情報18及びオフセット情報19を符号化制御部114から入力する。パラメータ導出部110は、変換処理情報17によって指定される変換処理を量子化情報18及びオフセット情報19に基づいて行い、フィルタ制御パラメータ20を得る。フィルタ制御パラメータ20は、デブロッキングフィルタ処理部105によるデブロッキングフィルタ処理を制御する。尚、パラメータ導出部110は、オフセット情報19を変換処理の適用対象から除外してもよい。パラメータ導出部110は、フィルタ制御パラメータ20をデブロッキングフィルタ処理部105へ出力する。 The parameter deriving unit 110 inputs the conversion processing information 17 from the conversion processing setting unit 109, and inputs the quantization information 18 and the offset information 19 from the encoding control unit 114. The parameter deriving unit 110 performs the conversion process specified by the conversion process information 17 based on the quantization information 18 and the offset information 19 to obtain the filter control parameter 20. The filter control parameter 20 controls the deblocking filter process performed by the deblocking filter processing unit 105. The parameter deriving unit 110 may exclude the offset information 19 from the application target of the conversion process. The parameter deriving unit 110 outputs the filter control parameter 20 to the deblocking filter processing unit 105.
 例えば、フィルタ制御パラメータ20は、デブロッキングフィルタ処理の適用/非適用の判定条件に関するパラメータを含むことができる。また、フィルタ制御パラメータ20は、適用されるデブロッキングフィルタ処理の種類または強度の判定条件に関するパラメータを含むことができる。 For example, the filter control parameter 20 can include a parameter related to a determination condition for application / non-application of the deblocking filter process. In addition, the filter control parameter 20 can include a parameter related to the type of deblocking filter processing to be applied or the determination condition of the strength.
 具体的には、パラメータ導出部110は、図3に示されるように、切替部131及び変換処理部132を含む。変換処理部132は、第1の変換処理を適用するための第1の変換処理部132-1及び第2の変換処理を適用するための第2の変換処理部132-2を少なくとも含む。勿論、変換処理部132は、3以上の変換処理を利用可能であってもよい。 Specifically, the parameter deriving unit 110 includes a switching unit 131 and a conversion processing unit 132, as shown in FIG. The conversion processing unit 132 includes at least a first conversion processing unit 132-1 for applying the first conversion processing and a second conversion processing unit 132-2 for applying the second conversion processing. Of course, the conversion processing unit 132 may be able to use three or more conversion processes.
 切替部131は、変換処理情報17に従って、量子化情報18及びオフセット情報19の出力先を第1の変換処理部132-1、第2の変換処理部132-2または他の変換処理部との間で切り替える。例えば、ループフィルタ情報16がループフィルタ処理の非適用を示すならば、第1の変換処理を指定する変換処理情報17が切替部131に与えられる。一方、ループフィルタ情報16がループフィルタ処理の適用を示すならば、第2の変換処理を指定する変換処理情報17が切替部131に与えられる。更に、ループフィルタ情報16がループフィルタ処理のフィルタ係数を含む場合には、ループフィルタ処理の種類または強度に応じて変換処理が更に細分化されてもよい。 The switching unit 131 sets the output destination of the quantization information 18 and the offset information 19 according to the conversion processing information 17 to the first conversion processing unit 132-1, the second conversion processing unit 132-2, or another conversion processing unit. Switch between. For example, if the loop filter information 16 indicates that the loop filter processing is not applied, conversion processing information 17 designating the first conversion processing is given to the switching unit 131. On the other hand, if the loop filter information 16 indicates application of the loop filter processing, conversion processing information 17 designating the second conversion processing is given to the switching unit 131. Furthermore, when the loop filter information 16 includes a filter coefficient for loop filter processing, the conversion processing may be further subdivided according to the type or strength of the loop filter processing.
 第1の変換処理部132-1及び第2の変換処理部132-2は、例えば変換テーブルまたは変換式などによって第1の変換処理及び第2の変換処理を夫々実現する。一般に、変換テーブルは処理の高速化に役立ち、変換式はメモリ容量の節約に役立つ。尚、変換テーブルまたは変換式以外の方法で変換処理が実現されてもよい。 The first conversion processing unit 132-1 and the second conversion processing unit 132-2 realize the first conversion processing and the second conversion processing, respectively, by using, for example, a conversion table or a conversion formula. In general, the conversion table is useful for speeding up the processing, and the conversion formula is useful for saving memory capacity. The conversion process may be realized by a method other than the conversion table or the conversion formula.
 例えば、第1の変換処理部132-1は変換テーブルAを用いて第1の変換処理を実現し、第2の変換処理部132-2は変換テーブルBを用いて第2の変換処理を実現する。図5は、変換テーブルA及び変換テーブルBを例示する。図5の変換テーブルA及び変換テーブルBは、図6に示されるように、量子化情報18及びオフセット情報19に基づく合成値QPindexをフィルタ制御パラメータ20の一要素であるβに変換する。QPindexは、例えば下記の数式(1)で求められる。尚、QPindexは、量子化情報18及びオフセット情報19の重み付き和などによって求められてもよい。
Figure JPOXMLDOC01-appb-M000001
For example, the first conversion processing unit 132-1 implements the first conversion processing using the conversion table A, and the second conversion processing unit 132-2 implements the second conversion processing using the conversion table B. To do. FIG. 5 illustrates the conversion table A and the conversion table B. The conversion table A and the conversion table B in FIG. 5 convert the combined value QPindex based on the quantization information 18 and the offset information 19 into β, which is an element of the filter control parameter 20, as shown in FIG. QPindex is obtained, for example, by the following mathematical formula (1). The QPindex may be obtained by a weighted sum of the quantization information 18 and the offset information 19.
Figure JPOXMLDOC01-appb-M000001

 図5及び図6から明らかなように、第2の変換処理によって得られるβは、第1の変換処理によって得られるβに比べて小さい。後述するように、βはデブロッキングフィルタ処理の適用/非適用の判定条件に関するパラメータ(閾値)であり、より小さなβを用いることでデブロッキングフィルタ処理の適用率を低下させることができる。結果的に、ループフィルタ処理が適用される場合に、デブロッキングフィルタ処理が適用されにくくなる。また、変換テーブルAでは、QPindex=15,16において急激にβが変化しており、QPindex=15まではデブロッキングフィルタ処理を非適用としている。一方、変換テーブルBのようになだらかにβを変化させることで、デブロッキングフィルタ処理を徐々に適用しにくくできる。

As is apparent from FIGS. 5 and 6, β obtained by the second conversion process is smaller than β obtained by the first conversion process. As will be described later, β is a parameter (threshold value) related to a determination condition for application / non-application of the deblocking filter process, and the application rate of the deblocking filter process can be reduced by using a smaller β. As a result, when the loop filter process is applied, it becomes difficult to apply the deblocking filter process. Further, in the conversion table A, β changes abruptly at QPindex = 15, 16, and deblocking filter processing is not applied until QPindex = 15. On the other hand, by gradually changing β as in the conversion table B, it is difficult to gradually apply the deblocking filter process.
 例えば、第1の変換処理部132-1は下記の数式(2)に示される変換式を用いて第1の変換処理を実現し、第2の変換処理部132-2は下記の数式(3)に示される変換式を用いて第2の変換処理を実現してもよい。数式(3)において、γ<1かつφ<1である。尚、係る傾きγまたはφ、切片などの値が、変換処理情報17の一部として符号化されてもよい。この場合に、傾きγまたはφ、切片などの値もまた、変換処理情報17と同じく例えばブロック単位、スライス単位またはシーケンス単位で符号化される。
Figure JPOXMLDOC01-appb-M000002

For example, the first conversion processing unit 132-1 implements the first conversion process using the conversion formula shown in the following formula (2), and the second conversion processing unit 132-2 sets the following formula (3). The second conversion process may be realized using the conversion formula shown in FIG. In Equation (3), γ <1 and φ <1. Note that values such as the slope γ or φ and the intercept may be encoded as part of the conversion processing information 17. In this case, the values of the gradient γ or φ, the intercept, and the like are also encoded, for example, in block units, slice units, or sequence units, as in the conversion processing information 17.
Figure JPOXMLDOC01-appb-M000002


 上記説明では、デブロッキングフィルタ処理の適用/非適用の判定条件に関するパラメータβを例示したが、フィルタ制御パラメータ20はこれに限られない。例えば、フィルタ制御パラメータ20は、デブロッキングフィルタ処理の強度または種類の判定条件に関するパラメータなどのデブロッキングフィルタ処理に関する種々のパラメータを包含してよい。ここで、フィルタ制御パラメータ20について具体的に説明する。 
 デブロッキングフィルタ処理の適用/非適用は、ブロック境界を跨ぐ1ライン毎に判定されることもあれば、ブロック境界全体で判定されることもある。1ライン毎にデブロッキングフィルタ処理の適用/非適用を判定する場合、図12に例示される画素群が考慮される。具体的には、デブロッキングフィルタ処理部105は、下記の条件式(4)が真であればデブロッキングフィルタ処理の適用を判定し、そうでなければデブロッキングフィルタ処理の非適用を判定する。
Figure JPOXMLDOC01-appb-M000004

In the above description, the parameter β related to the determination condition for application / non-application of the deblocking filter process is exemplified, but the filter control parameter 20 is not limited thereto. For example, the filter control parameter 20 may include various parameters related to the deblocking filter process, such as a parameter related to the determination condition of the strength or type of the deblocking filter process. Here, the filter control parameter 20 will be specifically described.
Application / non-application of the deblocking filter process may be determined for each line across the block boundary, or may be determined for the entire block boundary. When determining the application / non-application of the deblocking filter process for each line, the pixel group illustrated in FIG. 12 is considered. Specifically, the deblocking filter processing unit 105 determines the application of the deblocking filter process if the following conditional expression (4) is true, and otherwise determines the non-application of the deblocking filter process.
Figure JPOXMLDOC01-appb-M000004

 条件式(4)において、αはβと同じくフィルタ制御パラメータ20の一要素である。デブロッキングフィルタ処理部105は、デブロッキングフィルタ処理の適用を判定する場合に、その強度または種類を更に判定することができる。例えば、デブロッキングフィルタ処理部105は、対象画素pまたは隣接画素qがイントラブロックに属し、かつ、pとqの間にブロック境界を含んでいるならば、強い低域通過型フィルタ(いわゆるストロングフィルタ)を適用することを判定する。そうでなければ、デブロッキングフィルタ処理部105は、弱い低域通過型フィルタ(いわゆるウィークフィルタ)を適用することを判定する。ウィークフィルタを適用すると、適用対象に含まれる高周波成分が維持されやすい。

In the conditional expression (4), α is an element of the filter control parameter 20 as in β. The deblocking filter processing unit 105 can further determine the strength or type when determining the application of the deblocking filter processing. For example, if the target pixel p or the adjacent pixel q belongs to an intra block and includes a block boundary between p and q, the deblocking filter processing unit 105 performs a strong low-pass filter (so-called strong filter). ) Is applied. Otherwise, the deblocking filter processing unit 105 determines to apply a weak low-pass filter (so-called weak filter). When the weak filter is applied, high-frequency components included in the application target are easily maintained.
 ブロック境界全体でデブロッキングフィルタ処理の適用/非適用を判定する場合、図13に例示される画素群が考慮される。具体的には、デブロッキングフィルタ処理部105は、下記の条件式(5)が真であればデブロッキングフィルタ処理の適用を判定し、そうでなければデブロッキングフィルタ処理の非適用を判定する。
Figure JPOXMLDOC01-appb-M000005
When determining the application / non-application of the deblocking filter process over the entire block boundary, the pixel group illustrated in FIG. 13 is considered. Specifically, the deblocking filter processing unit 105 determines the application of the deblocking filter process if the following conditional expression (5) is true, and determines the non-application of the deblocking filter process otherwise.
Figure JPOXMLDOC01-appb-M000005

 デブロッキングフィルタ処理部105は、デブロッキングフィルタ処理の適用を判定する場合に、その強度または種類を更に判定することができる。例えば、デブロッキングフィルタ処理部105は、下記の条件式(6)が真であれば、ストロングフィルタを適用することを判定する。そうでなければ、デブロッキングフィルタ処理部105は、ウィークフィルタを適用することを判定する。条件式(6)において、tはβと同じくフィルタ制御パラメータ20の一要素である。また、条件式(6)におけるiは0≦i≦7の整数をとる。
Figure JPOXMLDOC01-appb-M000006

The deblocking filter processing unit 105 can further determine the strength or type when determining the application of the deblocking filter processing. For example, if the following conditional expression (6) is true, the deblocking filter processing unit 105 determines to apply the strong filter. Otherwise, the deblocking filter processing unit 105 determines to apply the weak filter. In the conditional expression (6), t c is one element of the filter control parameter 20 like β. In the conditional expression (6), i takes an integer of 0 ≦ i ≦ 7.
Figure JPOXMLDOC01-appb-M000006

 以下、図4を用いて図1の動画像符号化装置の動作の一部(特に、変換処理設定部109、パラメータ導出部110及びループフィルタ処理部106の動作)を説明する。尚、図4の処理は、復号化側においても適宜変形して実施可能である。また、図4の処理は、3種類以上の変換処理が利用可能である場合にも拡張可能である。 
 図4の処理が開始すると、変換処理設定部109は、ループフィルタ情報16を符号化制御部114から入力する(ステップS201)。変換処理設定部109は、ステップS201において入力したループフィルタ情報16を参照し、対象画像にループフィルタ処理が適用されたか否かを判定する(ステップS202)。対象画像は、例えばブロック単位、スライス単位またはシーケンス単位の画素集合である。対象画像にループフィルタ処理が適用されていれば処理はステップS204に進み、そうでなければ処理はステップS203に進む。

Hereinafter, a part of the operation of the moving picture encoding apparatus in FIG. 1 (particularly, the operation of the conversion processing setting unit 109, the parameter deriving unit 110, and the loop filter processing unit 106) will be described with reference to FIG. Note that the process of FIG. 4 can be implemented with appropriate modifications on the decoding side. Further, the process of FIG. 4 can be expanded when three or more types of conversion processes are available.
When the processing of FIG. 4 starts, the conversion processing setting unit 109 inputs the loop filter information 16 from the encoding control unit 114 (step S201). The conversion process setting unit 109 refers to the loop filter information 16 input in step S201, and determines whether or not the loop filter process has been applied to the target image (step S202). The target image is, for example, a pixel set in block units, slice units, or sequence units. If the loop filter process is applied to the target image, the process proceeds to step S204; otherwise, the process proceeds to step S203.
 ステップS203において、変換処理設定部109は第1の変換処理を設定したことを示す変換処理情報17を生成する。ステップS204において、変換処理設定部109は第2の変換処理を設定したことを示す変換処理情報17を生成する。 In step S203, the conversion process setting unit 109 generates conversion process information 17 indicating that the first conversion process has been set. In step S204, the conversion process setting unit 109 generates conversion process information 17 indicating that the second conversion process has been set.
 パラメータ導出部110は、量子化情報18及びオフセット情報19を符号化制御部114から入力し、ステップS203またはステップS204において生成された変換処理情報17を変換処理設定部109から入力する(ステップS205)。パラメータ導出部110は、ステップS205において入力した変換処理情報17によって指定される変換処理を量子化情報18及びオフセット情報19に基づいて行い、フィルタ制御パラメータ20を導出する(ステップS206)。 The parameter deriving unit 110 inputs the quantization information 18 and the offset information 19 from the encoding control unit 114, and inputs the conversion processing information 17 generated in step S203 or step S204 from the conversion processing setting unit 109 (step S205). . The parameter deriving unit 110 performs the conversion process specified by the conversion process information 17 input in step S205 based on the quantization information 18 and the offset information 19, and derives the filter control parameter 20 (step S206).
 デブロッキングフィルタ処理部105は、ステップS206において導出されたフィルタ制御パラメータ20を入力し、これに従って局所復号画像15に対してデブロッキングフィルタ処理を行う(ステップS207)。 The deblocking filter processing unit 105 receives the filter control parameter 20 derived in step S206, and performs deblocking filter processing on the locally decoded image 15 according to the input (step S207).
 尚、図1の動画像符号化装置は、図2に示されるように変形することができる。図2の動画像符号化装置は、デブロッキングフィルタ処理及びループフィルタ処理の実行順が図1のものと異なる。具体的には、図2の動画像符号化装置の符号化部123は、ループフィルタ処理部121及びデブロッキングフィルタ処理部122を含む。 Note that the moving picture encoding apparatus of FIG. 1 can be modified as shown in FIG. 2 is different from that in FIG. 1 in the execution order of the deblocking filter process and the loop filter process. Specifically, the encoding unit 123 of the moving image encoding apparatus in FIG. 2 includes a loop filter processing unit 121 and a deblocking filter processing unit 122.
 ループフィルタ処理部121は、局所復号画像15を加算器104から入力し、ループフィルタ情報16を符号化制御部124から入力する。ループフィルタ処理部121は、ループフィルタ情報16に従って局所復号画像15(のブロック)に対するループフィルタ処理を行い、フィルタ処理画像(信号)27を得る。ループフィルタ処理部121は、フィルタ処理画像27をデブロッキングフィルタ処理部122へ出力する。 The loop filter processing unit 121 inputs the local decoded image 15 from the adder 104 and inputs the loop filter information 16 from the encoding control unit 124. The loop filter processing unit 121 performs loop filter processing on the local decoded image 15 (block thereof) according to the loop filter information 16 to obtain a filtered image (signal) 27. The loop filter processing unit 121 outputs the filtered image 27 to the deblocking filter processing unit 122.
 デブロッキングフィルタ処理部122は、フィルタ処理画像27をループフィルタ処理部121から入力し、フィルタ制御パラメータ20をパラメータ導出部110から入力する。デブロッキングフィルタ処理部122は、フィルタ制御パラメータ20に従ってフィルタ処理画像27(のブロック境界)に対するデブロッキングフィルタ処理を行い、復元画像22を得る。デブロッキングフィルタ処理部122は、復元画像22をフレームメモリ107に保存する。 The deblocking filter processing unit 122 inputs the filter processed image 27 from the loop filter processing unit 121 and inputs the filter control parameter 20 from the parameter derivation unit 110. The deblocking filter processing unit 122 performs deblocking filter processing on the filtered image 27 (its block boundary) according to the filter control parameter 20 to obtain the restored image 22. The deblocking filter processing unit 122 stores the restored image 22 in the frame memory 107.
 (動画像復号化装置) 
 第1の実施形態に係る動画像復号化装置は、図7に示されるように、逆多重化器301、復号化部311及び復号化制御部312を含む。復号化部311は、符号化データ31を復号し、出力画像(信号)としての復元画像(信号)36を得る。復号化部311は、エントロピー復号化器302、逆量子化/逆変換部303、加算器304、デブロッキングフィルタ処理部305、ループフィルタ処理部306、フレームメモリ307、予測部308、変換処理設定部309及びパラメータ導出部310を含む。復号化制御部312は、復号化部311の全体の制御を行う。
(Video decoding device)
The moving picture decoding apparatus according to the first embodiment includes a demultiplexer 301, a decoding unit 311 and a decoding control unit 312 as shown in FIG. The decoding unit 311 decodes the encoded data 31 to obtain a restored image (signal) 36 as an output image (signal). The decoding unit 311 includes an entropy decoder 302, an inverse quantization / inverse conversion unit 303, an adder 304, a deblocking filter processing unit 305, a loop filter processing unit 306, a frame memory 307, a prediction unit 308, and a conversion processing setting unit. 309 and a parameter deriving unit 310. The decoding control unit 312 performs overall control of the decoding unit 311.
 逆多重化器301は、外部(例えば、図示しない伝送系または蓄積系)からビットストリーム26を入力する。逆多重化器301は、所定の多重化方式に従って、ビットストリーム26を逆多重化(即ち、分離)し、符号化データ31を得る。逆多重化器301は、符号化データ31をエントロピー復号化器302へ出力する。 The demultiplexer 301 inputs the bit stream 26 from the outside (for example, a transmission system or a storage system not shown). The demultiplexer 301 demultiplexes (that is, separates) the bit stream 26 according to a predetermined multiplexing method, and obtains encoded data 31. The demultiplexer 301 outputs the encoded data 31 to the entropy decoder 302.
 エントロピー復号化器302は、符号化データ31を逆多重化器301から入力する。エントロピー復号化器302は、符号化データ31をエントロピー復号化し、少なくとも量子化変換係数32、ループフィルタ情報39、量子化情報40及びオフセット情報41を得る。 The entropy decoder 302 receives the encoded data 31 from the demultiplexer 301. The entropy decoder 302 entropy-decodes the encoded data 31 to obtain at least quantized transform coefficients 32, loop filter information 39, quantized information 40, and offset information 41.
 エントロピー復号化器302は、量子化変換係数32を逆量子化/逆変換部303へ出力する。エントロピー復号化器302は、ループフィルタ情報39をループフィルタ処理部306及び変換処理設定部309へ夫々出力する。エントロピー復号化器302は、量子化情報40を逆量子化/逆変換部303及びパラメータ導出部310へ夫々出力する。エントロピー復号化器302は、オフセット情報41をパラメータ導出部310へ夫々出力する。 The entropy decoder 302 outputs the quantized transform coefficient 32 to the inverse quantization / inverse transform unit 303. The entropy decoder 302 outputs the loop filter information 39 to the loop filter processing unit 306 and the conversion processing setting unit 309, respectively. The entropy decoder 302 outputs the quantization information 40 to the inverse quantization / inverse transform unit 303 and the parameter derivation unit 310, respectively. The entropy decoder 302 outputs the offset information 41 to the parameter derivation unit 310, respectively.
 逆量子化/逆変換部303は、エントロピー復号化器302から量子化変換係数32及び量子化情報40を入力する。逆量子化/逆変換部303は、量子化変換係数32に所定の逆量子化処理及び逆変換処理を行い、予測誤差(信号)33を復元する。所定の逆量子化処理及び逆変換処理は、符号化側における変換処理及び量子化処理の逆処理である。逆量子化/逆変換部303は、量子化情報40に従って逆量子化処理を行う。更に、逆量子化/逆変換部303は、オフセット情報41に従って逆量子化処理を行ってもよい。逆量子化/逆変換部303は、予測誤差33を加算器304へ出力する。 The inverse quantization / inverse transform unit 303 inputs the quantized transform coefficient 32 and the quantization information 40 from the entropy decoder 302. The inverse quantization / inverse transform unit 303 performs a predetermined inverse quantization process and inverse transform process on the quantized transform coefficient 32 to restore the prediction error (signal) 33. The predetermined inverse quantization process and inverse transform process are inverse processes of the transform process and the quantization process on the encoding side. The inverse quantization / inverse transform unit 303 performs an inverse quantization process according to the quantization information 40. Further, the inverse quantization / inverse transform unit 303 may perform an inverse quantization process according to the offset information 41. The inverse quantization / inverse transform unit 303 outputs the prediction error 33 to the adder 304.
 加算器304は、逆量子化/逆変換部303から予測誤差33を入力し、予測部308から予測画像(信号)38を入力する。加算器304は、予測誤差33及び予測画像38を加算し、復号画像(信号)34を得る。加算器304は、復号画像34をデブロッキングフィルタ処理部305へ出力する。 The adder 304 receives the prediction error 33 from the inverse quantization / inverse conversion unit 303 and the prediction image (signal) 38 from the prediction unit 308. The adder 304 adds the prediction error 33 and the predicted image 38 to obtain a decoded image (signal) 34. The adder 304 outputs the decoded image 34 to the deblocking filter processing unit 305.
 デブロッキングフィルタ処理部305は、前述のデブロッキングフィルタ処理部105と同一または類似のものである。即ち、デブロッキングフィルタ処理部305は、復号画像34を加算器304から入力し、フィルタ制御パラメータ43をパラメータ導出部310から入力する。ここで、フィルタ制御パラメータ43は、前述のフィルタ制御パラメータ20と同一または類似のものである。デブロッキングフィルタ処理部105は、フィルタ制御パラメータ43に従って復号画像34(のブロック境界)に対するデブロッキングフィルタ処理を行い、フィルタ処理画像(信号)35を得る。デブロッキングフィルタ処理部305は、フィルタ処理画像35をループフィルタ処理部306へ出力する。 The deblocking filter processing unit 305 is the same as or similar to the deblocking filter processing unit 105 described above. That is, the deblocking filter processing unit 305 inputs the decoded image 34 from the adder 304 and inputs the filter control parameter 43 from the parameter derivation unit 310. Here, the filter control parameter 43 is the same as or similar to the filter control parameter 20 described above. The deblocking filter processing unit 105 performs a deblocking filter process on the decoded image 34 (its block boundary) according to the filter control parameter 43 to obtain a filtered image (signal) 35. The deblocking filter processing unit 305 outputs the filtered image 35 to the loop filter processing unit 306.
 ループフィルタ処理部306は、フィルタ処理画像35をデブロッキングフィルタ処理部305から入力し、ループフィルタ情報39をエントロピー復号化器302から入力する。ループフィルタ処理部306は、ループフィルタ情報39に従ってフィルタ処理画像35(のブロック)に対するループフィルタ処理を行い、復元画像36を得る。ループフィルタ処理部306は、復元画像36を外部(例えば、図示しない表示装置)へ出力すると共に、復元画像36をフレームメモリ307に保存する。 The loop filter processing unit 306 inputs the filter processed image 35 from the deblocking filter processing unit 305 and inputs the loop filter information 39 from the entropy decoder 302. The loop filter processing unit 306 performs loop filter processing on the filter processed image 35 (block thereof) according to the loop filter information 39 to obtain a restored image 36. The loop filter processing unit 306 outputs the restored image 36 to the outside (for example, a display device (not shown)) and stores the restored image 36 in the frame memory 307.
 フレームメモリ307は、ループフィルタ処理部306からの復元画像36を参照画像(信号)37として保存する。参照画像37は、予測部308によって必要に応じて読み出される。また、フレームメモリ307は、参照画像37の他にも復号に必要な情報を保存してもよい。 The frame memory 307 stores the restored image 36 from the loop filter processing unit 306 as a reference image (signal) 37. The reference image 37 is read by the prediction unit 308 as necessary. In addition to the reference image 37, the frame memory 307 may store information necessary for decoding.
 予測部308は、フレームメモリ307から参照画像37を読み出す。予測部308は、参照画像37に基づいて予測処理(例えば、イントラ予測処理、インター予測処理など)を行い、予測画像38を得る。予測部308は、エントロピー符号化器302によって復号された予測情報(図示しない)に従って、予測処理を行ってもよい。予測部308は、予測画像38を加算器304へ出力する。 The prediction unit 308 reads the reference image 37 from the frame memory 307. The prediction unit 308 performs a prediction process (for example, an intra prediction process or an inter prediction process) based on the reference image 37, and obtains a predicted image 38. The prediction unit 308 may perform a prediction process according to prediction information (not shown) decoded by the entropy encoder 302. The prediction unit 308 outputs the predicted image 38 to the adder 304.
 変換処理設定部309は、前述の変換処理設定部109と同一または類似のものである。即ち、変換処理設定部309は、ループフィルタ情報39をエントロピー復号化器302から入力する。変換処理設定部309は、ループフィルタ情報39に基づいて、パラメータ導出部310において適用される変換処理を設定する。具体的には、パラメータ導出部310は複数の変換処理を利用可能であり、変換処理設定部309はこれら複数の変換処理のうちの1つを設定する。変換処理は、例えばブロック単位、スライス単位またはシーケンス単位で設定される。変換処理部309は、設定した変換処理を示す変換処理情報42を生成し、パラメータ導出部310へ出力する。尚、変換処理情報42が符号化側において符号化され、図7の動画像復号化器に与えられる場合も想定される。係る場合には、エントロピー復号化器302は、変換処理情報42を復号化し、パラメータ導出部310へ直接出力してもよい。係る構成によれば、変換処理設定部309は不要となる。 The conversion process setting unit 309 is the same as or similar to the conversion process setting unit 109 described above. That is, the conversion process setting unit 309 inputs the loop filter information 39 from the entropy decoder 302. The conversion process setting unit 309 sets the conversion process applied in the parameter derivation unit 310 based on the loop filter information 39. Specifically, the parameter deriving unit 310 can use a plurality of conversion processes, and the conversion process setting unit 309 sets one of the plurality of conversion processes. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 309 generates conversion processing information 42 indicating the set conversion processing and outputs it to the parameter deriving unit 310. It is assumed that the conversion processing information 42 is encoded on the encoding side and is given to the moving picture decoder in FIG. In such a case, the entropy decoder 302 may decode the transform processing information 42 and output it directly to the parameter derivation unit 310. According to such a configuration, the conversion process setting unit 309 is not necessary.
 パラメータ導出部310は、前述のパラメータ導出部110と同一または類似のものである。即ち、パラメータ導出部310は、変換処理情報42を変換処理設定部309(或いは、エントロピー復号化器302)から入力し、量子化情報40及びオフセット情報41をエントロピー復号化器302から入力する。パラメータ導出部310は、変換処理情報42によって指定される変換処理を量子化情報40及びオフセット情報41に適用し、フィルタ制御パラメータ43を得る。尚、パラメータ導出部310は、オフセット情報41を変換処理の適用対象から除外してもよい。パラメータ導出部310は、フィルタ制御パラメータ43をデブロッキングフィルタ処理部305へ出力する。 The parameter deriving unit 310 is the same as or similar to the parameter deriving unit 110 described above. That is, the parameter deriving unit 310 inputs the conversion processing information 42 from the conversion processing setting unit 309 (or the entropy decoder 302), and inputs the quantization information 40 and the offset information 41 from the entropy decoder 302. The parameter deriving unit 310 applies the conversion process specified by the conversion process information 42 to the quantization information 40 and the offset information 41 to obtain the filter control parameter 43. The parameter deriving unit 310 may exclude the offset information 41 from the application target of the conversion process. The parameter deriving unit 310 outputs the filter control parameter 43 to the deblocking filter processing unit 305.
 尚、図7の動画像復号化装置は、図8に示されるように変形することができる。図8の動画像復号化装置は、デブロッキングフィルタ処理及びループフィルタ処理の実行順が図7のものと異なる。具体的には、図8の動画像復号化装置の復号化部323は、ループフィルタ処理部321及びデブロッキングフィルタ処理部322を含む。復号化制御部324は、復号化部323の全体の制御を行う。 Note that the moving picture decoding apparatus in FIG. 7 can be modified as shown in FIG. The moving picture decoding apparatus in FIG. 8 differs from that in FIG. 7 in the execution order of the deblocking filter process and the loop filter process. Specifically, the decoding unit 323 of the video decoding device in FIG. 8 includes a loop filter processing unit 321 and a deblocking filter processing unit 322. The decryption control unit 324 performs overall control of the decryption unit 323.
 ループフィルタ処理部321は、復号画像34を加算器304から入力し、ループフィルタ情報39をエントロピー復号化器302から入力する。ループフィルタ処理部321は、ループフィルタ情報39に従って復号画像34(のブロック)に対するループフィルタ処理を行い、フィルタ処理画像(信号)44を得る。ループフィルタ処理部321は、フィルタ処理画像44をデブロッキングフィルタ処理部322へ出力する。 The loop filter processing unit 321 inputs the decoded image 34 from the adder 304 and inputs the loop filter information 39 from the entropy decoder 302. The loop filter processing unit 321 performs loop filter processing on the decoded image 34 (block thereof) according to the loop filter information 39 to obtain a filtered image (signal) 44. The loop filter processing unit 321 outputs the filtered image 44 to the deblocking filter processing unit 322.
 デブロッキングフィルタ処理部322は、フィルタ処理画像44をループフィルタ処理部321から入力し、フィルタ制御パラメータ43をパラメータ導出部110から入力する。デブロッキングフィルタ処理部322は、フィルタ制御パラメータ43に従ってフィルタ処理画像44(のブロック境界)に対するデブロッキングフィルタ処理を行い、出力画像としての復元画像36を得る。デブロッキングフィルタ処理部322は、復元画像36を外部(例えば、図示しない表示装置)へ出力すると共に、復元画像36をフレームメモリ307に保存する。 The deblocking filter processing unit 322 inputs the filter processing image 44 from the loop filter processing unit 321 and inputs the filter control parameter 43 from the parameter derivation unit 110. The deblocking filter processing unit 322 performs a deblocking filter process on the filter processed image 44 (its block boundary) according to the filter control parameter 43 to obtain a restored image 36 as an output image. The deblocking filter processing unit 322 outputs the restored image 36 to the outside (for example, a display device (not shown)) and stores the restored image 36 in the frame memory 307.
 以上説明したように、第1の実施形態に係る動画像符号化/復号化装置は、ループフィルタ情報に応じて、デブロッキングフィルタ処理の制御パラメータを導出するための変換処理を切り替えている。従って、本実施形態に係る動画像符号化/復号化装置によれば、デブロッキングフィルタ処理の効果的な制御が可能となる。例えば、ループフィルタ処理の適用時にはデブロッキングフィルタ処理を相対的に適用されにくくしたり、そのフィルタ強度を相対的に弱くなりやすくしたりすることによって、復号画像への過度なフィルタ処理が抑制される。 As described above, the video encoding / decoding device according to the first embodiment switches the conversion process for deriving the control parameter for the deblocking filter process according to the loop filter information. Therefore, according to the moving image encoding / decoding device according to the present embodiment, it is possible to effectively control the deblocking filter process. For example, excessive loop processing on the decoded image is suppressed by making the deblocking filter processing relatively difficult to apply when applying the loop filter processing or by making the filter strength relatively weak. .
 (第2の実施形態) 
 (動画像符号化装置) 
 第2の実施形態に係る動画像符号化装置は、図9に示されるように、符号化部143、符号化制御部144及び多重化器112を含む。符号化部143は、入力画像11を符号化し、符号化データ25を得る。符号化部143は、減算器101、変換/量子化部102、逆量子化/逆変換部103、加算器104、デブロッキングフィルタ処理部105、ループフィルタ処理部106、フレームメモリ141、予測部108、変換処理設定部142、パラメータ導出部110及びエントロピー符号化部111を含む。
(Second Embodiment)
(Moving picture encoding device)
As shown in FIG. 9, the moving image encoding apparatus according to the second embodiment includes an encoding unit 143, an encoding control unit 144, and a multiplexer 112. The encoding unit 143 encodes the input image 11 and obtains encoded data 25. The encoding unit 143 includes a subtracter 101, a transform / quantization unit 102, an inverse quantization / inverse transform unit 103, an adder 104, a deblocking filter processing unit 105, a loop filter processing unit 106, a frame memory 141, and a prediction unit 108. A conversion processing setting unit 142, a parameter deriving unit 110, and an entropy encoding unit 111.
 フレームメモリ141は、参照画像23に加えてループフィルタ情報16を保存する。参照画像のループフィルタ情報28は、変換処理設定部142によって必要に応じて読み出される。 The frame memory 141 stores the loop filter information 16 in addition to the reference image 23. The reference image loop filter information 28 is read by the conversion processing setting unit 142 as necessary.
 変換処理設定部142は、フレームメモリ141からループフィルタ情報28を読み出す。変換処理設定部142は、ループフィルタ情報28に基づいて、パラメータ導出部110において適用される変換処理を設定する。具体的には、変換処理設定部142は、変換処理設定部109と同様に、パラメータ導出部110が利用可能な複数の変換処理のうちの1つを設定する。変換処理は、例えばブロック単位、スライス単位またはシーケンス単位で設定される。変換処理部142は、設定した変換処理を示す変換処理情報29を生成し、パラメータ導出部110へ出力する。 The conversion processing setting unit 142 reads the loop filter information 28 from the frame memory 141. The conversion process setting unit 142 sets the conversion process applied in the parameter derivation unit 110 based on the loop filter information 28. Specifically, the conversion process setting unit 142 sets one of a plurality of conversion processes that can be used by the parameter derivation unit 110, similarly to the conversion process setting unit 109. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 142 generates conversion processing information 29 indicating the set conversion processing and outputs it to the parameter deriving unit 110.
 ところで、前述の通り、変換処理設定部142は、対象画像のループフィルタ情報16ではなく参照画像のループフィルタ情報28を用いて変換処理情報29を生成する。従って、ループフィルタ情報28は、対象画像に比して例えば1フレーム分の遅延を持つ。即ち、対象画像が最初のフレームに属する場合に、変換処理設定部142はループフィルタ情報28を得ることができない。そこで、対象画像が最初のフレームに属する場合には、変換処理設定部142は初期設定に従って変換処理情報29を生成する。初期設定は、例えば符号化制御部144によって決定される。 Incidentally, as described above, the conversion processing setting unit 142 generates the conversion processing information 29 using the loop filter information 28 of the reference image instead of the loop filter information 16 of the target image. Therefore, the loop filter information 28 has a delay of, for example, one frame compared to the target image. That is, when the target image belongs to the first frame, the conversion processing setting unit 142 cannot obtain the loop filter information 28. Therefore, when the target image belongs to the first frame, the conversion process setting unit 142 generates the conversion process information 29 according to the initial setting. The initial setting is determined by the encoding control unit 144, for example.
 以下、図10を用いて図9の動画像符号化装置の動作の一部(特に、変換処理設定部142、パラメータ導出部110及びループフィルタ処理部106の動作)を説明する。尚、図10の処理は、復号化側においても適宜変形して実施可能である。また、図10の処理は、3種類以上の変換処理が利用可能である場合にも拡張可能である。 
 図10の処理が開始すると、変換処理設定部142は、対象画像が最初のフレームに属するか(即ち、FrameNum=0か)否かを判定する(ステップS211)。対象画像が最初のフレームに属するならば、処理はステップS212に進み、そうでなければ処理はステップS213に進む。
Hereinafter, a part of the operation of the moving picture coding apparatus in FIG. 9 (particularly, the operation of the conversion processing setting unit 142, the parameter deriving unit 110, and the loop filter processing unit 106) will be described with reference to FIG. Note that the processing of FIG. 10 can be implemented with appropriate modifications on the decoding side. Further, the process of FIG. 10 can be expanded when three or more types of conversion processes are available.
When the process of FIG. 10 starts, the conversion process setting unit 142 determines whether the target image belongs to the first frame (that is, FrameNum = 0) (step S211). If the target image belongs to the first frame, the process proceeds to step S212; otherwise, the process proceeds to step S213.
 ステップS212において、変換処理設定部142は、符号化制御部144から初期設定を入力し、係る初期設定がいずれの変換処理を指定しているかを判定する。初期設定が第2の変換処理を指定している場合には処理はステップS204に進み、初期設定が第1の変換処理を指定している場合には処理はステップS203に進む。 In step S212, the conversion process setting unit 142 receives an initial setting from the encoding control unit 144, and determines which conversion process the initial setting specifies. If the initial setting specifies the second conversion process, the process proceeds to step S204. If the initial setting specifies the first conversion process, the process proceeds to step S203.
 ステップS213において、変換処理設定部142は、参照画像のループフィルタ情報28をフレームメモリ141から読み出す。変換処理部142は、ステップS213において読み出したループフィルタ情報28を参照し、参照画像にループフィルタ処理が適用されたか否かを判定する(ステップS214)。参照画像及び対象画像は、フレームは異なるものの空間的に対応していることとする。即ち、参照画像は、例えばブロック単位、スライス単位またはシーケンス単位の画素集合である。参照画像にループフィルタ処理が適用されていれば処理はステップS204に進み、そうでなければ処理はステップS203に進む。 In step S213, the conversion processing setting unit 142 reads the loop filter information 28 of the reference image from the frame memory 141. The conversion processing unit 142 refers to the loop filter information 28 read in step S213, and determines whether or not the loop filter processing is applied to the reference image (step S214). It is assumed that the reference image and the target image correspond spatially although the frames are different. That is, the reference image is, for example, a pixel set in block units, slice units, or sequence units. If the loop filter process is applied to the reference image, the process proceeds to step S204; otherwise, the process proceeds to step S203.
 ステップS203において、変換処理設定部142は第1の変換処理を設定したことを示す変換処理情報29を生成する。ステップS204において、変換処理設定部142は第2の変換処理を設定したことを示す変換処理情報29を生成する。 In step S203, the conversion process setting unit 142 generates conversion process information 29 indicating that the first conversion process has been set. In step S204, the conversion process setting unit 142 generates conversion process information 29 indicating that the second conversion process has been set.
 パラメータ導出部110は、量子化情報18及びオフセット情報19を符号化制御部144から入力し、ステップS203またはステップS204において生成された変換処理情報29を変換処理設定部142から入力する(ステップS205)。パラメータ導出部110は、ステップS205において入力した変換処理情報29によって指定される変換処理を量子化情報18及びオフセット情報19に適用し、フィルタ制御パラメータ20を導出する(ステップS206)。 The parameter deriving unit 110 inputs the quantization information 18 and the offset information 19 from the encoding control unit 144, and inputs the conversion processing information 29 generated in step S203 or step S204 from the conversion processing setting unit 142 (step S205). . The parameter deriving unit 110 applies the transformation process specified by the transformation process information 29 input in step S205 to the quantization information 18 and the offset information 19 to derive the filter control parameter 20 (step S206).
 デブロッキングフィルタ処理部105は、ステップS206において導出されたフィルタ制御パラメータ20を入力し、これに従って局所復号画像15に対してデブロッキングフィルタ処理を行う(ステップS207)。 The deblocking filter processing unit 105 receives the filter control parameter 20 derived in step S206, and performs deblocking filter processing on the locally decoded image 15 according to the input (step S207).
 (動画像復号化装置) 
 第2の実施形態に係る動画像復号化装置は、図11に示されるように、逆多重化器301、復号化部333及び復号化制御部334を含む。復号化部333は、符号化データ31を復号し、出力画像としての復元画像36を得る。復号化部333は、エントロピー復号化器302、逆量子化/逆変換部303、加算器304、デブロッキングフィルタ処理部305、ループフィルタ処理部306、フレームメモリ331、予測部308、変換処理設定部332及びパラメータ導出部310を含む。復号化制御部334は、復号化部333の全体の制御を行う。
(Video decoding device)
As shown in FIG. 11, the moving picture decoding apparatus according to the second embodiment includes a demultiplexer 301, a decoding unit 333, and a decoding control unit 334. The decoding unit 333 decodes the encoded data 31 and obtains a restored image 36 as an output image. The decoding unit 333 includes an entropy decoder 302, an inverse quantization / inverse conversion unit 303, an adder 304, a deblocking filter processing unit 305, a loop filter processing unit 306, a frame memory 331, a prediction unit 308, and a conversion processing setting unit. 332 and a parameter deriving unit 310. The decryption control unit 334 performs overall control of the decryption unit 333.
 フレームメモリ331は、参照画像36に加えてループフィルタ情報45を保存する。参照画像のループフィルタ情報45は、変換処理設定部332によって必要に応じて読み出される。 The frame memory 331 stores the loop filter information 45 in addition to the reference image 36. The reference image loop filter information 45 is read by the conversion processing setting unit 332 as necessary.
 変換処理設定部332は、フレームメモリ331からループフィルタ情報45を読み出す。変換処理設定部332は、ループフィルタ情報45に基づいて、パラメータ導出部310において適用される変換処理を設定する。具体的には、変換処理設定部332は、変換処理設定部309と同様に、パラメータ導出部310が利用可能な複数の変換処理のうちの1つを設定する。変換処理は、例えばブロック単位、スライス単位またはシーケンス単位で設定される。変換処理部332は、設定した変換処理を示す変換処理情報46を生成し、パラメータ導出部310へ出力する。 The conversion processing setting unit 332 reads the loop filter information 45 from the frame memory 331. The conversion process setting unit 332 sets the conversion process applied in the parameter derivation unit 310 based on the loop filter information 45. Specifically, the conversion process setting unit 332 sets one of a plurality of conversion processes that can be used by the parameter deriving unit 310, similarly to the conversion process setting unit 309. The conversion process is set, for example, in block units, slice units, or sequence units. The conversion processing unit 332 generates conversion processing information 46 indicating the set conversion processing and outputs it to the parameter deriving unit 310.
 ところで、前述の通り、変換処理設定部332は、対象画像のループフィルタ情報39ではなく参照画像のループフィルタ情報45を用いて変換処理情報46を生成する。従って、ループフィルタ情報45は、対象画像に比して例えば1フレーム分の遅延を持つ。即ち、対象画像が最初のフレームに属する場合に、変換処理設定部332はループフィルタ情報45を得ることができない。そこで、対象画像が最初のフレームに属する場合には、変換処理設定部332は初期設定に従って変換処理情報46を生成する。初期設定は、例えば復号化制御部334によって決定されてもよいし、符号化側から与えられてエントロピー復号器302によって復号されてもよい。また、変換処理情報46が符号化側において符号化され、図11の動画像復号化器に与えられる場合も想定される。係る場合には、エントロピー復号化器302は、変換処理情報46を復号化し、パラメータ導出部310へ直接出力してもよい。係る構成によれば、変換処理設定部332は不要となる。 Incidentally, as described above, the conversion processing setting unit 332 generates the conversion processing information 46 using the loop filter information 45 of the reference image instead of the loop filter information 39 of the target image. Therefore, the loop filter information 45 has a delay of, for example, one frame compared to the target image. That is, when the target image belongs to the first frame, the conversion processing setting unit 332 cannot obtain the loop filter information 45. Therefore, when the target image belongs to the first frame, the conversion processing setting unit 332 generates conversion processing information 46 according to the initial setting. The initial setting may be determined by the decoding control unit 334, for example, or may be given from the encoding side and decoded by the entropy decoder 302. In addition, it is assumed that the conversion processing information 46 is encoded on the encoding side and given to the moving picture decoder in FIG. In such a case, the entropy decoder 302 may decode the transform processing information 46 and output it directly to the parameter derivation unit 310. According to such a configuration, the conversion process setting unit 332 is not necessary.
 以上説明したように、第2の実施形態に係る動画像符号化/復号化装置は、参照画像のループフィルタ情報に応じて、デブロッキングフィルタ処理の制御パラメータを導出するための変換処理を切り替えている。従って、本実施形態に係る動画像符号化/復号化装置によれば、デブロッキングフィルタ処理の効果的な制御が可能となる。例えば、ループフィルタ処理の適用時にはデブロッキングフィルタ処理を相対的に適用されにくくしたり、そのフィルタ強度を相対的に弱くなりやすくしたりすることによって、復号画像への過度なフィルタ処理が抑制される。 As described above, the video encoding / decoding device according to the second embodiment switches the conversion process for deriving the control parameter for the deblocking filter process according to the loop filter information of the reference image. Yes. Therefore, according to the moving image encoding / decoding device according to the present embodiment, it is possible to effectively control the deblocking filter process. For example, excessive loop processing on the decoded image is suppressed by making the deblocking filter processing relatively difficult to apply when applying the loop filter processing or by making the filter strength relatively weak. .
 上記各実施形態の処理は、汎用のコンピュータを基本ハードウェアとして用いることで実現可能である。上記各実施形態の処理を実現するプログラムは、コンピュータで読み取り可能な記憶媒体に格納して提供されてもよい。プログラムは、インストール可能な形式のファイルまたは実行可能な形式のファイルとして記憶媒体に記憶される。記憶媒体としては、磁気ディスク、光ディスク(CD-ROM、CD-R、DVD等)、光磁気ディスク(MO等)、半導体メモリなど、プログラムを記憶でき、かつ、コンピュータが読み取り可能な記憶媒体であれば、何れの形態であってもよい。また、上記各実施形態の処理を実現するプログラムを、インターネットなどのネットワークに接続されたコンピュータ(サーバ)上に格納し、ネットワーク経由でコンピュータ(クライアント)にダウンロードさせてもよい。 The processing of each of the above embodiments can be realized by using a general-purpose computer as basic hardware. The program for realizing the processing of each of the above embodiments may be provided by being stored in a computer-readable storage medium. The program is stored in the storage medium as an installable file or an executable file. The storage medium can be a computer-readable storage medium such as a magnetic disk, optical disk (CD-ROM, CD-R, DVD, etc.), magneto-optical disk (MO, etc.), semiconductor memory, etc. Any form may be used. Further, the program for realizing the processing of each of the above embodiments may be stored on a computer (server) connected to a network such as the Internet and downloaded to the computer (client) via the network.
 本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
 11・・・入力画像
 12,14,33・・・予測誤差
 13,32・・・量子化変換係数
 15・・・局所復号画像
 16,28,39,45・・・ループフィルタ情報
 17,29,42,46・・・変換処理情報
 18,40・・・量子化情報
 19,41・・・オフセット情報
 20,43・・・フィルタ制御パラメータ
 21,27,35,44・・・フィルタ処理画像
 22,36・・・復元画像
 23,37・・・参照画像
 24,38・・・予測画像
 25,31・・・符号化データ
 26・・・ビットストリーム
 34・・・復号画像
 101・・・減算器
 102・・・変換/量子化部
 103,303・・・逆量子化/逆変換部
 104,304・・・加算部
 105,122,305,322・・・デブロッキングフィルタ処理部
 106,121,306,321・・・ループフィルタ処理部
 107,141,307,331・・・フレームメモリ
 108,308・・・予測部
 109,142,309,332・・・変換処理設定部
 110,310・・・パラメータ導出部
 111・・・エントロピー符号化器
 112・・・多重化器
 113,123,143・・・符号化部
 114,124,144・・・符号化制御部
 131・・・切替部
 132・・・変換処理部
 301・・・逆多重化器
 302・・・エントロピー復号化器
 311,323,333・・・復号化部
 312,324,334・・・復号化制御部
DESCRIPTION OF SYMBOLS 11 ... Input image 12, 14, 33 ... Prediction error 13, 32 ... Quantization transform coefficient 15 ... Local decoded image 16, 28, 39, 45 ... Loop filter information 17, 29, 42, 46 ... Conversion processing information 18, 40 ... Quantization information 19, 41 ... Offset information 20, 43 ... Filter control parameters 21, 27, 35, 44 ... Filter processing image 22, 36: restored image 23, 37 ... reference image 24, 38 ... predicted image 25, 31 ... encoded data 26 ... bit stream 34 ... decoded image 101 ... subtractor 102 ... Transformation / quantization unit 103,303 ... Inverse quantization / inverse transformation unit 104,304 ... Addition unit 105,122,305,322 ... Deblocking filter processing unit 106,12 , 306, 321 ... Loop filter processing unit 107, 141, 307, 331 ... Frame memory 108, 308 ... Prediction unit 109, 142, 309, 332 ... Conversion processing setting unit 110, 310 ... Parameter deriving unit 111 ... Entropy encoder 112 ... Multiplexer 113, 123, 143 ... Encoding unit 114, 124, 144 ... Encoding control unit 131 ... Switching unit 132- ..Conversion processing unit 301: Demultiplexer 302 ... Entropy decoder 311,323,333 ... Decoding unit 312,324,334 ... Decoding control unit

Claims (14)

  1.  ループフィルタ情報に従って、ループフィルタ処理を行うことと、
     前記ループフィルタ情報に応じて複数の変換処理のうちの1つを設定し、設定した変換処理を示す変換処理情報を生成することと、
     前記変換処理情報によって指定される変換処理を量子化情報に基づいて行い、フィルタ制御パラメータを導出することと、
     前記フィルタ制御パラメータに従って、デブロッキングフィルタ処理を行うことと、
     少なくとも前記ループフィルタ情報及び前記量子化情報を符号化することと
     を具備する動画像符号化方法。
    Performing loop filter processing according to the loop filter information;
    Setting one of a plurality of conversion processes according to the loop filter information, and generating conversion process information indicating the set conversion process;
    Performing transformation processing specified by the transformation processing information based on quantization information, and deriving filter control parameters;
    Performing deblocking filtering according to the filter control parameters;
    A video encoding method comprising: encoding at least the loop filter information and the quantization information.
  2.  前記ループフィルタ情報は、前記ループフィルタ処理の適用/非適用を示す情報を含み、
     前記ループフィルタ処理が適用されないならば第1の変換処理が設定され、前記ループフィルタ処理が適用されるならば第2の変換処理が設定される、
     請求項1の動画像符号化方法。
    The loop filter information includes information indicating application / non-application of the loop filter processing,
    If the loop filter process is not applied, the first conversion process is set, and if the loop filter process is applied, the second conversion process is set.
    The moving image encoding method according to claim 1.
  3.  前記第2の変換処理によって得られるフィルタ制御パラメータは、前記第1の変換処理によって得られるフィルタ制御パラメータに比べて、(1)前記デブロッキングフィルタ処理が適用されにくくなる第1の差異、及び、(2)適用されるデブロッキングフィルタ処理のフィルタ強度が弱くなりやすくなる第2の差異のうちの少なくとも一方を持つ、請求項2の動画像符号化方法。 The filter control parameter obtained by the second conversion process is compared with the filter control parameter obtained by the first conversion process (1) a first difference that makes the deblocking filter process difficult to apply, and (2) The moving picture encoding method according to claim 2, wherein at least one of the second differences in which the filter strength of the applied deblocking filter process is likely to be weakened is provided.
  4.  前記フィルタ制御パラメータは、前記変換処理情報によって指定される変換処理を前記量子化情報及びオフセット情報の合成値に対して適用することによって導出される、請求項1の動画像符号化方法。 The moving picture encoding method according to claim 1, wherein the filter control parameter is derived by applying a conversion process specified by the conversion process information to a synthesized value of the quantization information and the offset information.
  5.  前記複数の変換処理のうちの少なくとも1つは、変換テーブルを利用して実現される、請求項1の動画像符号化方法。 The moving picture encoding method according to claim 1, wherein at least one of the plurality of conversion processes is realized using a conversion table.
  6.  前記複数の変換処理のうちの少なくとも1つは、変換式を利用して実現される、請求項1の動画像符号化方法。 The moving image encoding method according to claim 1, wherein at least one of the plurality of conversion processes is realized using a conversion formula.
  7.  少なくともループフィルタ情報及び量子化情報を復号化することと
     前記ループフィルタ情報に従って、ループフィルタ処理を行うことと、
     前記ループフィルタ情報に応じて複数の変換処理のうちの1つを設定し、設定した変換処理を示す変換処理情報を生成することと、
     前記変換処理情報によって指定される変換処理を前記量子化情報に基づいて行い、フィルタ制御パラメータを導出することと、
     前記フィルタ制御パラメータに従って、デブロッキングフィルタ処理を行うことと
     を具備する動画像復号化方法。
    Decoding at least loop filter information and quantization information; performing loop filter processing according to the loop filter information;
    Setting one of a plurality of conversion processes according to the loop filter information, and generating conversion process information indicating the set conversion process;
    Performing transformation processing specified by the transformation processing information based on the quantization information, and deriving filter control parameters;
    And performing a deblocking filtering process according to the filter control parameter.
  8.  前記ループフィルタ情報は、前記ループフィルタ処理の適用/非適用を示す情報を含み、
     前記ループフィルタ処理が適用されないならば第1の変換処理が設定され、前記ループフィルタ処理が適用されるならば第2の変換処理が設定される、
     請求項7の動画像復号化方法。
    The loop filter information includes information indicating application / non-application of the loop filter processing,
    If the loop filter process is not applied, the first conversion process is set, and if the loop filter process is applied, the second conversion process is set.
    The moving picture decoding method according to claim 7.
  9.  前記第2の変換処理によって得られるフィルタ制御パラメータは、前記第1の変換処理によって得られるフィルタ制御パラメータに比べて、(1)前記デブロッキングフィルタ処理が適用されにくくなる第1の差異、及び、(2)適用されるデブロッキングフィルタ処理のフィルタ強度が弱くなりやすくなる第2の差異のうちの少なくとも一方を持つ、請求項8の動画像復号化方法。 The filter control parameter obtained by the second conversion process is compared with the filter control parameter obtained by the first conversion process (1) a first difference that makes the deblocking filter process difficult to apply, and (2) The moving picture decoding method according to claim 8, wherein the moving picture decoding method has at least one of the second differences in which the filter strength of the applied deblocking filter processing tends to be weak.
  10.  前記フィルタ制御パラメータは、前記変換処理情報によって指定される変換処理を前記量子化情報及びオフセット情報の合成値に対して適用することによって導出される、請求項7の動画像復号化方法。 The moving picture decoding method according to claim 7, wherein the filter control parameter is derived by applying a transformation process specified by the transformation process information to a synthesized value of the quantization information and the offset information.
  11.  前記複数の変換処理のうちの少なくとも1つは、変換テーブルを利用して実現される、請求項7の動画像復号化方法。 The moving picture decoding method according to claim 7, wherein at least one of the plurality of conversion processes is realized using a conversion table.
  12.  前記複数の変換処理のうちの少なくとも1つは、変換式を利用して実現される、請求項7の動画像復号化方法。 The moving picture decoding method according to claim 7, wherein at least one of the plurality of conversion processes is realized using a conversion formula.
  13.  ループフィルタ情報に従って、ループフィルタ処理を行うループフィルタ処理部と、
     前記ループフィルタ情報に応じて複数の変換処理のうちの1つを設定し、設定した変換処理を示す変換処理情報を生成する生成部と、
     前記変換処理情報によって指定される変換処理を量子化情報に基づいて行い、フィルタ制御パラメータを導出する導出部と、
     前記フィルタ制御パラメータに従って、デブロッキングフィルタ処理を行うデブロッキングフィルタ処理部と、
     少なくとも前記ループフィルタ情報及び前記量子化情報を符号化する符号化部と
     を具備する動画像符号化装置。
    A loop filter processing unit that performs loop filter processing according to the loop filter information;
    A generation unit configured to set one of a plurality of conversion processes according to the loop filter information and generate conversion process information indicating the set conversion process;
    A derivation unit that performs a transformation process specified by the transformation process information based on quantization information and derives a filter control parameter;
    In accordance with the filter control parameter, a deblocking filter processing unit that performs a deblocking filter process,
    A video encoding device comprising: an encoding unit that encodes at least the loop filter information and the quantization information.
  14.  少なくともループフィルタ情報及び量子化情報を復号化する復号化部と
     前記ループフィルタ情報に従って、ループフィルタ処理を行うループフィルタ処理部と、
     前記ループフィルタ情報に応じて複数の変換処理のうちの1つを設定し、設定した変換処理を示す変換処理情報を生成する生成部と、
     前記変換処理情報によって指定される変換処理を前記量子化情報に基づいて行い、フィルタ制御パラメータを導出する導出部と、
     前記フィルタ制御パラメータに従って、デブロッキングフィルタ処理を行うデブロッキングフィルタ処理部と
     を具備する動画像復号化装置。
    A decoding unit that decodes at least loop filter information and quantization information; a loop filter processing unit that performs loop filter processing according to the loop filter information;
    A generation unit configured to set one of a plurality of conversion processes according to the loop filter information and generate conversion process information indicating the set conversion process;
    A derivation unit that performs a transformation process specified by the transformation process information based on the quantization information and derives a filter control parameter;
    A moving picture decoding apparatus comprising: a deblocking filter processing unit that performs a deblocking filter process according to the filter control parameter.
PCT/JP2011/050197 2011-01-07 2011-01-07 Dynamic picture image encoding method and device, and dynamic picture image decoding method and device WO2012093491A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/050197 WO2012093491A1 (en) 2011-01-07 2011-01-07 Dynamic picture image encoding method and device, and dynamic picture image decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/050197 WO2012093491A1 (en) 2011-01-07 2011-01-07 Dynamic picture image encoding method and device, and dynamic picture image decoding method and device

Publications (1)

Publication Number Publication Date
WO2012093491A1 true WO2012093491A1 (en) 2012-07-12

Family

ID=46457356

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/050197 WO2012093491A1 (en) 2011-01-07 2011-01-07 Dynamic picture image encoding method and device, and dynamic picture image decoding method and device

Country Status (1)

Country Link
WO (1) WO2012093491A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007111292A1 (en) * 2006-03-27 2007-10-04 Matsushita Electric Industrial Co., Ltd. Picture coding apparatus and picture decoding apparatus
JP2009506699A (en) * 2005-08-29 2009-02-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Device for filtering images obtained by block-based image decompression
WO2009110160A1 (en) * 2008-03-07 2009-09-11 株式会社 東芝 Dynamic image encoding/decoding method and device
WO2010041534A1 (en) * 2008-10-07 2010-04-15 株式会社エヌ・ティ・ティ・ドコモ Image processing device, method, and program, dynamic image encoding device, method, and program, dynamic image decoding device, method, and program, and encoding/decoding system and method
JP2010525760A (en) * 2007-04-26 2010-07-22 ポリコム,インク. Deblocking filter array

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009506699A (en) * 2005-08-29 2009-02-12 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Device for filtering images obtained by block-based image decompression
WO2007111292A1 (en) * 2006-03-27 2007-10-04 Matsushita Electric Industrial Co., Ltd. Picture coding apparatus and picture decoding apparatus
JP2010525760A (en) * 2007-04-26 2010-07-22 ポリコム,インク. Deblocking filter array
WO2009110160A1 (en) * 2008-03-07 2009-09-11 株式会社 東芝 Dynamic image encoding/decoding method and device
WO2010041534A1 (en) * 2008-10-07 2010-04-15 株式会社エヌ・ティ・ティ・ドコモ Image processing device, method, and program, dynamic image encoding device, method, and program, dynamic image decoding device, method, and program, and encoding/decoding system and method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
PETER LIST ET AL.: "Adaptive Deblocking Filter", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, vol. 13, no. 7, July 2003 (2003-07-01), pages 614 - 619 *
TAKESHI CHUJOH ET AL.: "Block-based Adaptive Loop Filter, ITU-Telecommunications Standardization Sector STUDY GROUP 16 Question 6 Video Coding Experts Group (VCEG) 35th Meeting", DOCUMENT VCEG-AI18, ITU-T, July 2008 (2008-07-01), BERLIN, GERMANY *
TAKESHI CHUJOH ET AL.: "Description of video coding technology proposal by TOSHIBA, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/ SC29/WG11 1st Meeting", DOCUMENT: JCTVC- A117, ITU-T AND ISO/IEC, April 2010 (2010-04-01), DRESDEN, DE *

Similar Documents

Publication Publication Date Title
KR102165340B1 (en) Methods of determination for chroma quantization parameter and apparatuses for using the same
KR101672607B1 (en) Coding apparatus, decoding apparatus, coding method, decoding method, and computer-readable storage medium
KR100694137B1 (en) Apparatus for encoding or decoding motion image, method therefor, and recording medium storing a program to implement thereof
JP5871628B2 (en) Image encoding device, image encoding method and program, image decoding device, image decoding method and program
JP2014116733A (en) Image encoding device, image encoding method and program, image decoding device and image decoding method and program
JP6409516B2 (en) Picture coding program, picture coding method, and picture coding apparatus
JP2007274479A (en) Image encoding device and image decoding device
JP5137687B2 (en) Decoding device, decoding method, and program
JP2018029311A (en) Video encoding device, program, and method, and video decoding device, program, and method, and video transmission system
JP4643437B2 (en) Information processing device
JP2024024080A (en) Image encoder, image encoding method, image decoder, and image decoding method
JP2012253722A (en) Image coding apparatus, image decoding apparatus, image coding method, image decoding method, and program
WO2012093491A1 (en) Dynamic picture image encoding method and device, and dynamic picture image decoding method and device
Heindel et al. Sample-based weighted prediction for lossless enhancement layer coding in SHVC
JP2012134632A (en) Image decoding device, image decoding method, and program
US12015773B2 (en) Image encoding apparatus, image encoding method, image decoding apparatus, image decoding method, and non-transitory computer-readable storage medium
US20230007311A1 (en) Image encoding device, image encoding method and storage medium, image decoding device, and image decoding method and storage medium
JP7483725B2 (en) Encoding device, decoding device, and program
WO2012001833A1 (en) Moving image encoding apparatus, moving image decoding apparatus and method
JP2004120415A (en) Device and method for converting moving picture data stream
WO2012001818A1 (en) Video encoding device and video decoding device
JP2010004375A (en) Image encoder, image encoding method, image encoding program, image decoder, image decoding method, and image decoding program
WO2009133938A1 (en) Time-varying image encoding and decoding device
JP4734301B2 (en) Quantization error reduction device
WO2012042645A1 (en) Dynamic image encoding device and decoding device

Legal Events

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

Ref document number: 11854733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11854733

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP