WO2019188464A1 - 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法 - Google Patents

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

Info

Publication number
WO2019188464A1
WO2019188464A1 PCT/JP2019/011046 JP2019011046W WO2019188464A1 WO 2019188464 A1 WO2019188464 A1 WO 2019188464A1 JP 2019011046 W JP2019011046 W JP 2019011046W WO 2019188464 A1 WO2019188464 A1 WO 2019188464A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
sub
unit
inter prediction
block
Prior art date
Application number
PCT/JP2019/011046
Other languages
English (en)
French (fr)
Inventor
健治 近藤
Original Assignee
ソニー株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ソニー株式会社 filed Critical ソニー株式会社
Priority to US17/040,836 priority Critical patent/US20210037248A1/en
Publication of WO2019188464A1 publication Critical patent/WO2019188464A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Definitions

  • the present disclosure relates to an image encoding device, an image encoding method, an image decoding device, and an image decoding method, and in particular, an image encoding device that can reduce the amount of inter prediction processing using sub-blocks.
  • the present invention relates to an image encoding method, an image decoding device, and an image decoding method.
  • JVET Joint Video Exploration Team
  • ITU-T International Telecommunication Union Telecommunication Standardization Sector
  • motion compensation is performed by affine transformation of the reference image based on the motion vector of the vertex of the sub-block.
  • Inter prediction processing Adffine motion compensation (MC) prediction
  • Such inter prediction processing can predict not only translation between screens (translation), but also more complex movements such as rotation, scaling (enlargement / reduction), and skew. It is expected that the coding efficiency is improved as the image quality is improved.
  • This disclosure has been made in view of such a situation, and is intended to reduce the amount of inter prediction processing using sub-blocks.
  • An image encoding device includes a setting unit that sets identification information for identifying a sub-block size representing a size of a sub-block used in inter prediction processing on an image, and setting by the setting unit.
  • An encoding unit that switches to the corresponding sub-block and performs the inter prediction process to encode the image and generates a bitstream including the identification information.
  • identification information for identifying a sub-block size that represents the size of a sub-block used in inter prediction processing for an image is set, and switching to a sub-block having a size corresponding to the setting is performed.
  • Inter prediction processing is performed to encode the image, and a bit stream including identification information is generated.
  • the image decoding device includes a parsing unit that parses the identification information from a bitstream including identification information that identifies a sub-block size representing a size of a sub-block used in inter prediction processing on the image. And a decoding unit that switches to the sub-block having a size according to the identification information parsed by the parsing unit, performs the inter prediction process, decodes the bitstream, and generates the image.
  • an image decoding device that decodes an image includes a bitstream that includes identification information that identifies a subblock size indicating a size of a subblock used in inter prediction processing on the image And parsing the identification information, switching to the sub-block having a size according to the parsed identification information, performing the inter prediction process, and decoding the bitstream to generate the image; including.
  • identification information is parsed from a bitstream including identification information for identifying a sub-block size representing a size of a sub-block used in inter prediction processing for an image, and the identification information is obeyed.
  • the inter-prediction process is performed by switching to a sub-block of a predetermined size, and the bit stream is decoded to generate an image.
  • FIG. 18 is a block diagram illustrating a configuration example of an embodiment of a computer to which the present technology is applied.
  • Non-Patent Document 1 (above)
  • Non-Patent Document 2 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (International Telecommunication Union), "High efficiency video coding", H.265, 12/2016
  • Non-Patent Document 3 TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU (International Telecommunication Union), "Advanced video coding for generic audiovisual services", H.264, 04/2017
  • Non-Patent Documents 1 to 3 described above are also grounds for determining support requirements.
  • QTBT Quadad
  • Structure QT (Quad-Tree
  • Block (not a block indicating a processing unit) used for explanation as a partial area or processing unit of an image (picture) indicates an arbitrary partial area in the picture, unless otherwise specified, and its size, shape, and The characteristics and the like are not limited.
  • “Block” includes TB (Transform Block), TU (Transform Unit), PB (Prediction Block), PU (Prediction Unit), SCU (Smallest Coding Unit), CU (Coding Unit), LCU (Largest Coding Unit) ), CTB (Coding Tree Block), CTU (Coding Tree Unit), transform block, sub-block, macroblock, tile, slice, or any other partial region (processing unit).
  • the block size may be designated indirectly.
  • the block size may be designated using identification information for identifying the size.
  • the block size may be specified by a ratio or difference with the size of a reference block (for example, LCU or SCU).
  • a reference block for example, LCU or SCU.
  • the designation of the block size includes designation of a block size range (for example, designation of an allowable block size range).
  • the data unit in which various information is set and the data unit targeted by various processes are arbitrary and are not limited to the above-described examples.
  • these information and processing are TU (Transform Unit), TB (Transform Block), PU (Prediction Unit), PB (Prediction Block), CU (Coding Unit), LCU (Largest Coding Unit), and sub-block, respectively. It may be set for each block, tile, slice, picture, sequence, or component, or the data of those data units may be targeted.
  • this data unit can be set for each information or process, and it is not necessary to unify all the data units of information and processes.
  • the storage location of these pieces of information is arbitrary, and the information may be stored in the above-described data unit header, parameter set, or the like. Moreover, you may make it store in multiple places.
  • Control information related to the present technology may be transmitted from the encoding side to the decoding side. For example, you may make it transmit the control information (for example, enabled_flag) which controls whether application (or prohibition) of applying this technique mentioned above is permitted. Further, for example, control information indicating a target to which the present technology is applied (or a target to which the present technology is not applied) may be transmitted. For example, control information designating a block size (upper limit or lower limit, or both) to which the present technology is applied (or permission or prohibition of application), a frame, a component, a layer, or the like may be transmitted.
  • “flag” is information for identifying a plurality of states, and is not only information used for identifying two states of true (1) or false (0), but also three or more Information that can identify the state is also included. Therefore, the value that can be taken by the “flag” may be, for example, a binary value of 1/0, or may be three or more values. That is, the number of bits constituting this “flag” is arbitrary, and may be 1 bit or a plurality of bits.
  • the identification information includes not only the form in which the identification information is included in the bitstream but also the form in which the difference information of the identification information with respect to certain reference information is included in the bitstream.
  • the “flag” and “identification information” include not only the information but also difference information with respect to the reference information.
  • association metadata means, for example, that one data can be used (linked) when one data is processed. That is, the data associated with each other may be collected as one data, or may be individual data. For example, information associated with encoded data (image) may be transmitted on a different transmission path from the encoded data (image). Further, for example, information associated with encoded data (image) may be recorded on a recording medium different from the encoded data (image) (or another recording area of the same recording medium). Good.
  • the “association” may be a part of the data, not the entire data. For example, an image and information corresponding to the image may be associated with each other in an arbitrary unit such as a plurality of frames, one frame, or a part of the frame.
  • encoding includes not only the entire process of converting an image into a bit stream but also a part of the process.
  • decoding includes not only the entire process of converting a bitstream into an image but also a part of the process.
  • processing includes inverse arithmetic decoding, inverse quantization, inverse orthogonal transform, prediction processing, but also processing that includes inverse arithmetic decoding and inverse quantization, inverse arithmetic decoding, inverse quantization, and prediction processing. Including comprehensive processing.
  • FIG. 1 is a block diagram illustrating a configuration example of an embodiment of an image processing system to which the present technology is applied.
  • the image processing system 11 includes an image encoding device 12 and an image decoding device 13.
  • an image captured by an imaging device is input to the image encoding device 12, and the image encoding device 12 encodes the image to generate encoded data.
  • the encoded data is transmitted as a bit stream from the image encoding device 12 to the image decoding device 13.
  • an image is generated by decoding the encoded data in the image decoding device 13, and is displayed on a display device (not shown).
  • the image encoding device 12 has a configuration in which an image processing chip 21 and an external memory 22 are connected via a bus.
  • the image processing chip 21 includes an encoding circuit 23 that encodes an image, and a cache memory 24 that temporarily stores data necessary when the encoding circuit 23 encodes the image.
  • the external memory 22 is composed of, for example, a DRAM (Dynamic Random Access Memory), and each processing unit (for example, frame) for processing image data to be encoded in the image encoding device 12 by the image processing chip 21.
  • each processing unit for example, frame
  • QTBT Quad Tree Plus Binary Tree
  • Block Structure described in Non-Patent Document 1
  • QT Quad-Tree
  • Block Structure are stored in the external memory 22 with CTB (Coding Block), CTU (Coding Unit), PB (Prediction Block), PU (Prediction Unit), CU (Coding Unit), and CB (Coding Block) as processing units.
  • CTB Coding Block
  • CTU Coding Unit
  • PB Prediction Block
  • PU Prediction Unit
  • CU Coding Unit
  • CB Coding Block
  • the processing unit is a CTB or CTU, which is a processing unit in which the block size is fixed at the sequence level.
  • data divided for each sub-block which is a processing unit used in inter prediction processing, of image data for one frame (or CTB) stored in the external memory 22. Is read into the cache memory 24.
  • encoding is performed by the encoding circuit 23 for each sub-block stored in the cache memory 24, and encoded data is generated.
  • sub-block size identification information for identifying the size of the sub-block is set in the encoding circuit 23, and a bit stream including the sub-block size identification information is transmitted from the image encoding device 12 to the image. It is transmitted to the decoding device 13.
  • the size of the subblock is 2 ⁇ 2
  • 0 is set in the subblock size identification information.
  • the size of the sub-block is 4 ⁇ 4
  • 1 is set in the sub-block size identification information
  • the size of the sub-block is 8 ⁇ 8
  • the sub-block size identification information Is set to 2.
  • a sub-block having a size of 16 ⁇ 16 or more may be used.
  • the sub-block size identification information is information that can identify the size or shape of the sub-block, the expression form is not limited.
  • the image decoding device 13 has a configuration in which an image processing chip 31 and an external memory 32 are connected via a bus.
  • the image processing chip 31 includes a decoding circuit 33 that decodes encoded data to generate an image, and a cache memory 34 that temporarily stores data required when the decoding circuit 33 decodes the encoded data. Is done.
  • the external memory 32 is composed of, for example, a DRAM, and stores encoded data to be decoded by the image decoding device 13 for each frame of an image.
  • the image decoding device 13 parses the sub-block size identification information from the bit stream, and the encoded data is transferred from the external memory 32 to the cache memory 34 according to the sub-block having the size set by the sub-block size identification information. Read out. In the image decoding device 13, an image is generated by decoding the encoded data by the decoding circuit 33 for each block stored in the cache memory 34.
  • the sub-block size identification information for identifying the size of the sub-block is set in the image encoding device 12, and the bit stream including the sub-block size identification information is converted into the image decoding device 13. Is transmitted to.
  • the sub-block size identification information (subblocksize_idx) can be defined with a high-level syntax such as SPS, PPS, SLICE header.
  • size identification information is defined.
  • the number of subblocks per processing unit (for example, one frame, 1CTB, etc.) can be reduced by using a large-sized subblock.
  • the amount of inter prediction processing that is performed can be reduced. Therefore, for example, in an application that is required to suppress the processing amount, encoding or decoding can be more reliably performed by performing inter prediction processing using a large sub-block.
  • the encoding circuit 23 is designed to function as a setting unit and an encoding unit as illustrated.
  • the encoding circuit 23 identifies a sub-block size (for example, 2 ⁇ 2, 4 ⁇ 4, 8 ⁇ 8, etc.) that represents the size of a sub-block used in the inter prediction process when encoding an image.
  • a sub-block size for example, 2 ⁇ 2, 4 ⁇ 4, 8 ⁇ 8, etc.
  • Setting processing for setting sub-block size identification information for this purpose can be performed.
  • the encoding circuit 23 increases the sub-block size when the processing amount required in the application that performs image encoding in the image encoding device 12 is equal to or less than a predetermined set value.
  • Set sub-block size identification information For example, when the amount of processing required in an application that performs decoding of a bitstream in the image decoding device 13 is equal to or less than a predetermined set value, the encoding circuit 23 sub-sizes so that the sub-block size increases.
  • Set block size identification information In the image encoding device 12 and the image decoding device 13, set values that prescribe the amount of processing in the application to be executed are set in advance in accordance with the processing capabilities of each. For example, when encoding processing or decoding processing is performed in a mobile terminal with low processing capability, a low setting value according to the processing capability is set.
  • the encoding circuit 23 can set the sub-block size according to the prediction direction in the inter prediction process. For example, the encoding circuit 23 sets the sub-block size identification information so that the sub-block size is different depending on whether or not the prediction direction in the inter prediction process is Bi-prediction. In addition, when the prediction direction in the inter prediction process is Bi-prediction, the encoding circuit 23 sets the sub block size identification information so that the sub block size is increased. Alternatively, the encoding circuit 23 sets the sub-block size identification information so that the sub-block size becomes large when affine transformation is applied as the inter-prediction process and the prediction direction in the inter-prediction process is Bi-prediction. .
  • the encoding circuit 23 can perform an encoding process for generating a bit stream including sub-block size identification information by switching the size of the sub-block and performing an inter prediction process to encode an image.
  • the encoding circuit 23 performs inter prediction processing by applying affine transformation or FRUC (Frame Rate Up Conversion) to the sub-block.
  • the encoding circuit 23 may perform inter prediction processing by applying translational movement or the like. Note that the encoding circuit 23 may switch the size of the sub-block with reference to the sub-block size identification information, or performs the determination according to the prediction direction as described above when performing the inter prediction process. Thus, the size of the sub-block may be switched.
  • the encoding circuit 23 can perform pixel interpolation using an interpolation filter with a reduced tap length in the inter prediction processing.
  • the encoding circuit 23 interpolates pixels by switching the tap length of the interpolation filter according to the prediction direction in the inter prediction process. For example, when the prediction direction in the inter prediction process is Bi-prediction, the encoding circuit 23 interpolates pixels using an interpolation filter with a short tap length.
  • the encoding circuit 23 uses the tap length of an interpolation filter used when affine transformation is applied as inter prediction processing, and interpolation used when prediction processing (for example, parallel movement) different from affine transformation is applied as inter prediction processing.
  • the interpolation filter is switched so that the tap length is different from the filter.
  • the encoding circuit 23 applies affine transformation as inter prediction processing, and interpolates pixels using an interpolation filter with a short tap length when the prediction direction in the inter prediction processing is Bi-prediction.
  • the decoding circuit 33 is designed to function as a parsing unit and a decoding unit as illustrated.
  • the decoding circuit 33 parses the sub-block size identification information indicating the size of the sub-block used in the inter prediction process when decoding the image from the bit stream transmitted from the image encoding device 12. It can be performed.
  • the decoding circuit 33 can perform inter-prediction processing by switching to a sub-block having a size according to the sub-block size identification information, and can perform decoding processing for decoding the bit stream and generating an image. At this time, the decoding circuit 33 performs the inter prediction process according to the affine transformation or FRUC applied in the inter prediction process in the encoding circuit 23.
  • the decoding circuit 33 may perform pixel interpolation using an interpolation filter with a reduced tap length when affine transformation is applied as inter prediction processing when an image is encoded. it can.
  • FIG. 4A shows an example in which an affine transformation involving a rotation operation is performed in a coding unit divided into 4 ⁇ 4 16 sub-blocks.
  • FIG. 4B shows an example in which an affine transformation involving a rotation operation is performed in a coding unit divided into 8 ⁇ 8 64 sub-blocks.
  • a point A ′ in the reference image that is separated from the vertex A by the motion vector v 0 is the upper left vertex
  • a point B ′ that is separated from the vertex B by the motion vector v 1 is the upper right vertex.
  • a coding unit CU ′ having a point C ′ separated from the vertex C by a motion vector v 2 as a lower left vertex is used as a reference block, and the coding unit CU ′ is affine transformed based on the motion vectors v 0 to v 2.
  • motion compensation is performed, and a prediction image of the coding unit CU is generated.
  • the prediction image of the coding unit CU is sub-blocked by translating a reference sub-block having the same size as a sub-block separated from each sub-block by a motion vector v based on the motion vector v. Generated in units.
  • CU and PU are processed as blocks in the same dimension.
  • the sub is based on PU. It may be divided into blocks.
  • the L0 reference interpolation filter processing and the L1 reference interpolation filter processing are performed in parallel.
  • the sub-block read from the cache memory is stored in the transposition memory after the horizontal direction interpolation filter is applied, and then read from the transposition memory and then the vertical direction interpolation filter. Output after is applied. Also, in the interpolation filter processing with reference to L1, the same processing as the interpolation filter processing with reference to L0 is performed.
  • the memory bandwidth is limited.
  • the prediction direction in the inter prediction process is Bi-prediction, a wider memory bandwidth is required, and the restriction is more likely to occur.
  • the tap length is switched and an interpolation filter having a short tap length is used, thereby avoiding the limitation due to the memory bandwidth. In addition, it is expected to reduce the processing amount.
  • the encoding circuit 23 and the decoding circuit 33 replace the pixel value of the pixel located outside the sub-block with the pixel value of the pixel near the pixel. Interpolation filters can be applied.
  • the encoding circuit 23 and the decoding circuit 33 may perform a filter process for generating a pixel hp from eight pixels p1 to p8 using an 8-tap tap length interpolation filter. It can. At this time, when the tap length is reduced to 6 taps, the encoding circuit 23 and the decoding circuit 33 do not read the pixels p1 and p8 outside and read out the pixel values of the pixels p1 and p8 in their vicinity. An interpolation filter is applied by replacing the pixel values of certain pixels p2 and p7.
  • the encoding circuit 23 and the decoding circuit 33 can avoid the limitation due to the bandwidth of the memory and reduce the processing amount of encoding and decoding.
  • FIG. 7 is a block diagram illustrating a configuration example of an embodiment of an image encoding device to which the present technology is applied.
  • the image encoding device 12 shown in FIG. 7 is a device that encodes image data of a moving image.
  • the image encoding device 12 implements the technique described in Non-Patent Document 1, Non-Patent Document 2, or Non-Patent Document 3 and uses a method that conforms to the standards described in any of those documents.
  • the image data of the moving image is encoded.
  • FIG. 7 shows main components such as a processing unit and a data flow, and the ones shown in FIG. 7 are not all. That is, in the image encoding device 12, there may be a processing unit that is not shown as a block in FIG. 7, or there may be a process or data flow that is not shown as an arrow or the like in FIG.
  • the image encoding device 12 includes a control unit 101, a rearrangement buffer 111, a calculation unit 112, an orthogonal transform unit 113, a quantization unit 114, an encoding unit 115, an accumulation buffer 116, and an inverse quantization unit. 117, an inverse orthogonal transform unit 118, a calculation unit 119, an in-loop filter unit 120, a frame memory 121, a prediction unit 122, and a rate control unit 123.
  • the prediction unit 122 includes an intra prediction unit and an inter prediction unit (not shown).
  • the image encoding device 12 is a device for generating encoded data (bit stream) by encoding moving image data.
  • the control unit 101 divides the moving image data held by the rearrangement buffer 111 into processing unit blocks (CU, PU, conversion block, etc.) based on the block size of the processing unit designated externally or in advance. .
  • the control unit 101 determines encoding parameters (header information Hinfo, prediction mode information Pinfo, conversion information Tinfo, filter information Finfo, etc.) to be supplied to each block based on, for example, RDO (Rate-Distortion Optimization). To do.
  • control unit 101 determines the encoding parameter as described above, the control unit 101 supplies it to each block. Specifically, it is as follows.
  • the header information Hinfo is supplied to each block.
  • the prediction mode information Pinfo is supplied to the encoding unit 115 and the prediction unit 122.
  • the transform information Tinfo is supplied to the encoding unit 115, the orthogonal transform unit 113, the quantization unit 114, the inverse quantization unit 117, and the inverse orthogonal transform unit 118.
  • the filter information Finfo is supplied to the in-loop filter unit 120.
  • control unit 101 when setting the processing unit, can set the sub-block size identification information for identifying the sub-block size as described above with reference to FIG. Then, the control unit 101 also supplies the sub block size identification information to the encoding unit 115.
  • Each field (input image) of moving image data is input to the image encoding device 12 in the reproduction order (display order).
  • the rearrangement buffer 111 acquires and holds (stores) each input image in the reproduction order (display order).
  • the rearrangement buffer 111 rearranges the input image in the encoding order (decoding order) or divides the input image into blocks based on the control of the control unit 101.
  • the rearrangement buffer 111 supplies each processed input image to the calculation unit 112.
  • the rearrangement buffer 111 also supplies each input image (original image) to the prediction unit 122 and the in-loop filter unit 120.
  • the orthogonal transform unit 113 receives the prediction residual D supplied from the calculation unit 112 and the conversion information Tinfo supplied from the control unit 101, and is orthogonal to the prediction residual D based on the conversion information Tinfo. Conversion is performed to derive a conversion coefficient Coeff. The orthogonal transform unit 113 supplies the obtained transform coefficient Coeff to the quantization unit 114.
  • the quantization unit 114 receives the transform coefficient Coeff supplied from the orthogonal transform unit 113 and the transform information Tinfo supplied from the control unit 101, and scales (quantizes) the transform coefficient Coeff based on the transform information Tinfo. ) Note that the rate of quantization is controlled by the rate control unit 123.
  • the quantization unit 114 supplies the quantized transform coefficient obtained by such quantization, that is, the quantized transform coefficient level level, to the encoding unit 115 and the inverse quantization unit 117.
  • the encoding unit 115 includes the quantization transform coefficient level level supplied from the quantization unit 114, and various encoding parameters (header information Hinfo, prediction mode information Pinfo, conversion information Tinfo, filter information Finfo supplied from the control unit 101. Etc.), information relating to a filter such as a filter coefficient supplied from the in-loop filter unit 120, and information relating to an optimal prediction mode supplied from the prediction unit 122 are input.
  • the encoding unit 115 performs variable-length encoding (for example, arithmetic encoding) on the quantized transform coefficient level level to generate a bit string (encoded data).
  • the encoding unit 115 derives residual information Rinfo from the quantized transform coefficient level level, encodes the residual information Rinfo, and generates a bit string.
  • the encoding unit 115 includes information on the filter supplied from the in-loop filter unit 120 in the filter information Finfo, and includes information on the optimal prediction mode supplied from the prediction unit 122 in the prediction mode information Pinfo. Then, the encoding unit 115 encodes the various encoding parameters (header information Hinfo, prediction mode information Pinfo, conversion information Tinfo, filter information Finfo, and the like) described above, and generates a bit string.
  • the encoding unit 115 multiplexes the bit strings of various information generated as described above to generate encoded data.
  • the encoding unit 115 supplies the encoded data to the accumulation buffer 116.
  • the encoding unit 115 can encode the sub-block size identification information supplied from the control unit 101, generate a bit string, multiplex the bit string, and generate encoded data. Thereby, as described above with reference to FIG. 1, encoded data (bit stream) including sub-block size identification information is transmitted.
  • the accumulation buffer 116 temporarily stores the encoded data obtained by the encoding unit 115.
  • the accumulation buffer 116 outputs the held encoded data to the outside of the image encoding device 12 as a bit stream, for example, at a predetermined timing.
  • the encoded data is transmitted to the decoding side via an arbitrary recording medium, an arbitrary transmission medium, an arbitrary information processing apparatus, or the like. That is, the accumulation buffer 116 is also a transmission unit that transmits encoded data (bit stream).
  • the inverse quantization unit 117 performs processing related to inverse quantization. For example, the inverse quantization unit 117 receives the quantized transform coefficient level level supplied from the quantization unit 114 and the transform information Tinfo supplied from the control unit 101, and performs quantization based on the transform information Tinfo. Scale (dequantize) the value of the transform coefficient level level. This inverse quantization is an inverse process of quantization performed in the quantization unit 114. The inverse quantization unit 117 supplies the transform coefficient Coeff_IQ obtained by such inverse quantization to the inverse orthogonal transform unit 118.
  • the inverse orthogonal transform unit 118 performs processing related to inverse orthogonal transform. For example, the inverse orthogonal transform unit 118 receives the transform coefficient Coeff_IQ supplied from the inverse quantization unit 117 and the transform information Tinfo supplied from the control unit 101, and converts the transform coefficient Coeff_IQ into the transform coefficient Coeff_IQ based on the transform information Tinfo. Then, inverse orthogonal transform is performed to derive a prediction residual D ′.
  • the inverse orthogonal transform is an inverse process of the orthogonal transform performed in the orthogonal transform unit 113.
  • the inverse orthogonal transform unit 118 supplies the prediction residual D ′ obtained by such inverse orthogonal transform to the calculation unit 119.
  • the inverse orthogonal transform unit 118 is the same as the decoding-side inverse orthogonal transform unit (described later), and therefore the description (described later) applied to the decoding side can be applied to the inverse orthogonal transform unit 118.
  • the in-loop filter unit 120 performs processing related to in-loop filter processing.
  • the in-loop filter unit 120 includes a local decoded image R local supplied from the calculation unit 119, filter information Finfo supplied from the control unit 101, and an input image (original image) supplied from the rearrangement buffer 111.
  • Information input to the in-loop filter unit 120 is arbitrary, and information other than these pieces of information may be input. For example, prediction mode, motion information, code amount target value, quantization parameter QP, picture type, block (CU, CTU, etc.) information, etc. may be input to the in-loop filter unit 120 as necessary. Good.
  • the in-loop filter unit 120 appropriately performs a filtering process on the local decoded image R local based on the filter information Finfo.
  • the in-loop filter unit 120 also uses an input image (original image) and other input information for the filtering process as necessary.
  • the in-loop filter unit 120 includes a bilateral filter, a deblocking filter (DBF (DeBlocking Filter)), an adaptive offset filter (SAO (Sample Adaptive Offset)), and an adaptive loop filter.
  • DPF DeBlocking Filter
  • SAO Sample Adaptive Offset
  • ALF Adaptive Loop Filter
  • the filter processing performed by the in-loop filter unit 120 is arbitrary and is not limited to the above example.
  • the in-loop filter unit 120 may apply a Wiener filter or the like.
  • the in-loop filter unit 120 supplies the filtered local decoded image R local to the frame memory 121. For example, when information related to a filter such as a filter coefficient is transmitted to the decoding side, the in-loop filter unit 120 supplies information related to the filter to the encoding unit 115.
  • the frame memory 121 performs processing related to storage of data related to images. For example, the frame memory 121, and a local decoded image R local supplied from the arithmetic operation unit 119 inputs the filtered local decoded image R local supplied from the in-loop filter unit 120, holds it (memory) . Further, the frame memory 121 reconstructs and holds the decoded image R for each picture unit using the local decoded image R local (stores it in a buffer in the frame memory 121). The frame memory 121 supplies the decoded image R (or part thereof) to the prediction unit 122 in response to a request from the prediction unit 122.
  • the prediction unit 122 performs processing related to generation of a predicted image. For example, the prediction unit 122 predicts prediction mode information Pinfo supplied from the control unit 101, an input image (original image) supplied from the rearrangement buffer 111, and a decoded image R (or part thereof) read from the frame memory 121. As an input. The prediction unit 122 performs prediction processing such as inter prediction and intra prediction using the prediction mode information Pinfo and the input image (original image), performs prediction with reference to the decoded image R as a reference image, and based on the prediction result. Motion compensation processing is performed to generate a predicted image P. The prediction unit 122 supplies the generated predicted image P to the calculation unit 112 and the calculation unit 119. In addition, the prediction unit 122 supplies information related to the prediction mode selected by the above processing, that is, the optimal prediction mode, to the encoding unit 115 as necessary.
  • the prediction unit 122 when performing such inter prediction processing, can switch the size of the sub-block as described above with reference to FIG. Furthermore, as described above with reference to FIGS. 5 and 6, the prediction unit 122 can perform pixel interpolation by switching the tap length of the interpolation filter. Then, when the tap length of the interpolation filter is reduced, the prediction unit 122 applies the interpolation filter by replacing the pixel value of the pixel located outside the sub-block with the pixel value of the pixel near the pixel. To do.
  • the rate control unit 123 performs processing related to rate control. For example, the rate control unit 123 controls the rate of the quantization operation of the quantization unit 114 based on the code amount of the encoded data stored in the storage buffer 116 so that overflow or underflow does not occur.
  • the control unit 101 sets sub-block size identification information for identifying a sub-block size, and the encoding unit 115 stores encoded data including the sub-block size identification information. Generate.
  • the prediction unit 122 performs inter prediction processing by switching the size of the sub-block, and at that time, the pixel is interpolated by switching the tap length of the interpolation filter. Therefore, the image encoding device 12 can reduce the processing amount in the inter prediction process by using a large sub-block or using an interpolation filter with a short tap length.
  • each process performed as a setting part and an encoding part in the encoding circuit 23 as described above with reference to FIG. 2 is not performed individually in each block shown in FIG. May be performed.
  • FIG. 8 is a block diagram illustrating a configuration example of an embodiment of an image decoding device to which the present technology is applied.
  • the image decoding device 13 illustrated in FIG. 8 is a device that decodes encoded data in which a prediction residual between an image and a predicted image thereof is encoded, such as AVC and HEVC.
  • the image decoding device 13 implements the technique described in Non-Patent Document 1, Non-Patent Document 2, or Non-Patent Document 3, and uses a method that complies with the standards described in any of those documents.
  • the encoded data obtained by encoding the image data of the image is decoded.
  • the image decoding device 13 decodes the encoded data (bit stream) generated by the image encoding device 12 described above.
  • FIG. 8 main components such as a processing unit and a data flow are shown, and the ones shown in FIG. 8 are not all. That is, in the image decoding device 13, there may be a processing unit that is not shown as a block in FIG. 8, or there may be a process or data flow that is not shown as an arrow or the like in FIG.
  • the image decoding device 13 includes a storage buffer 211, a decoding unit 212, an inverse quantization unit 213, an inverse orthogonal transform unit 214, a calculation unit 215, an in-loop filter unit 216, a rearrangement buffer 217, a frame memory 218, and A prediction unit 219 is provided.
  • the prediction unit 219 includes an intra prediction unit and an inter prediction unit (not shown).
  • the image decoding device 13 is a device for generating moving image data by decoding encoded data (bitstream).
  • the accumulation buffer 211 acquires and holds (stores) the bit stream input to the image decoding device 13.
  • the accumulation buffer 211 supplies the accumulated bit stream to the decoding unit 212 at a predetermined timing or when a predetermined condition is satisfied.
  • the decoding unit 212 performs processing related to image decoding. For example, the decoding unit 212 receives the bit stream supplied from the accumulation buffer 211 as input, and variable-length decodes the syntax value of each syntax element from the bit string in accordance with the definition of the syntax table, thereby deriving parameters. To do.
  • the parameters derived from the syntax elements and the syntax values of the syntax elements include, for example, information such as header information Hinfo, prediction mode information Pinfo, conversion information Tinfo, residual information Rinfo, and filter information Finfo. That is, the decoding unit 212 parses (analyzes and acquires) these pieces of information from the bitstream. Such information will be described below.
  • the header information Hinfo includes header information such as VPS (Video Parameter Set) / SPS (Sequence Parameter Set) / PPS (Picture Parameter Set) / SH (slice header).
  • the header information Hinfo includes, for example, an image size (horizontal width PicWidth, vertical width PicHeight), bit depth (luminance bitDepthY, color difference bitDepthC), color difference array type ChromaArrayType, maximum CU size value MaxCUSize / minimum value MinCUSize, quadtree partition ( Maximum depth MaxQTDepth / minimum depth MinQTDepth (also known as quad-tree partitioning) Maximum depth MaxBTDepth / minimum depth MinBTDepth / binary tree partitioning (binary-tree partitioning), maximum conversion skip block value MaxTSSize (also referred to as maximum conversion skip block size) ), Information defining an on / off flag (also referred to as a valid flag) of each encoding tool, and the like.
  • the on / off flag of the encoding tool included in the header information Hinfo there are on / off flags related to the conversion and quantization processing shown below.
  • the on / off flag of the encoding tool can also be interpreted as a flag indicating whether or not the syntax related to the encoding tool exists in the encoded data. Further, when the value of the on / off flag is 1 (true), this indicates that the encoding tool can be used. When the value of the on / off flag is 0 (false), it indicates that the encoding tool cannot be used. Show. Note that the interpretation of the flag value may be reversed.
  • Inter-component prediction enabled flag (ccp_enabled_flag): Flag information indicating whether inter-component prediction (CCP (Cross-Component Prediction), also referred to as CC prediction) is usable. For example, when the flag information is “1” (true), it indicates that it is usable, and when it is “0” (false), it indicates that it is not usable.
  • CCP Cross-Component Prediction
  • This CCP is also called linear prediction between components (CCLM or CCLMP).
  • the prediction mode information Pinfo includes, for example, information such as size information PBSize (prediction block size) of the processing target PB (prediction block), intra prediction mode information IPinfo, and motion prediction information MVinfo.
  • the intra prediction mode information IPinfo includes, for example, prev_intra_luma_pred_flag, mpm_idx, rem_intra_pred_mode in JCTVC-W1005, 7.3.8.5 Coding Unit syntax, and the luminance intra prediction mode IntraPredModeY derived from the syntax.
  • the intra prediction mode information IPinfo includes, for example, an inter-component prediction flag (ccp_flag (cclmp_flag)), a multi-class linear prediction mode flag (mclm_flag), a color difference sample position type identifier (chroma_sample_loc_type_idx), a color difference MPM identifier (chroma_mpm_idx), and
  • a luminance intra prediction mode (IntraPredModeC) derived from these syntaxes is included.
  • the multi-class linear prediction mode flag (mclm_flag) is information (linear prediction mode information) regarding the mode of linear prediction. More specifically, the multiclass linear prediction mode flag (mclm_flag) is flag information indicating whether or not to set the multiclass linear prediction mode. For example, “0” indicates a 1-class mode (single class mode) (for example, CCLMP), and “1” indicates a 2-class mode (multi-class mode) (for example, MCLMP). .
  • the color difference sample position type identifier (chroma_sample_loc_type_idx) is an identifier for identifying a pixel position type (also referred to as a color difference sample position type) of the color difference component. For example, when the color difference array type (ChromaArrayType), which is information related to the color format, indicates 420 format, the color difference sample position type identifier is assigned as shown below.
  • This color difference sample position type identifier (chroma_sample_loc_type_idx) is transmitted (stored in) as information (chroma_sample_loc_info ()) regarding the pixel position of the color difference component.
  • the color difference MPM identifier (chroma_mpm_idx) is an identifier indicating which prediction mode candidate in the color difference intra prediction mode candidate list (intraPredModeCandListC) is designated as the color difference intra prediction mode.
  • the information included in the prediction mode information Pinfo is arbitrary, and information other than these information may be included.
  • the conversion information Tinfo includes the following information, for example.
  • the information included in the conversion information Tinfo is arbitrary, and information other than these information may be included.
  • Conversion skip flag (ts_flag): This flag indicates whether (inverse) primary conversion and (inverse) secondary conversion are skipped.
  • Scan identifier (scanIdx) Quantization parameter (qp) Quantization matrix (scaling_matrix (for example, JCTVC-W1005, 7.3.4 Scaling list data syntax))
  • the residual information Rinfo includes, for example, the following syntax.
  • cbf (coded_block_flag): Residual data presence / absence flag last_sig_coeff_x_pos: Last non-zero coefficient X coordinate last_sig_coeff_y_pos: Last non-zero coefficient Y coordinate coded_sub_block_flag: Sub-block non-zero coefficient presence flag sig_coeff_flag: Non-zero coefficient presence flag gr1_flag: Non-zero coefficient level Flag indicating whether it is greater than 1 (also called GR1 flag)
  • gr2_flag Flag indicating whether the level of non-zero coefficient is greater than 2 (also called GR2 flag) sign_flag: A sign indicating the sign of a non-zero coefficient (also called a sign code) coeff_abs_level_remaining: nonzero coefficient residual level (also called nonzero coefficient residual level) Such.
  • the information included in the residual information Rinfo is arbitrary, and information other than these information may be included.
  • the filter information Finfo includes, for example, control information related to each filter process described below.
  • DPF deblocking filter
  • SAO pixel adaptive offset
  • ALF adaptive loop filter
  • a picture to which each filter is applied information for designating an area in the picture, filter on / off control information for each CU, filter on / off control information on slice and tile boundaries, and the like. included.
  • the information included in the filter information Finfo is arbitrary, and information other than these information may be included.
  • the decoding unit 212 refers to the residual information Rinfo to derive the quantized transform coefficient level level of each coefficient position in each transform block.
  • the decoding unit 212 supplies the quantized transform coefficient level level to the inverse quantization unit 213.
  • the decoding unit 212 supplies the parsed header information Hinfo, prediction mode information Pinfo, quantized transform coefficient level level, transform information Tinfo, and filter information Finfo to each block. Specifically, it is as follows.
  • the header information Hinfo is supplied to the inverse quantization unit 213, the inverse orthogonal transform unit 214, the prediction unit 219, and the in-loop filter unit 216.
  • the prediction mode information Pinfo is supplied to the inverse quantization unit 213 and the prediction unit 219.
  • the transform information Tinfo is supplied to the inverse quantization unit 213 and the inverse orthogonal transform unit 214.
  • the filter information Finfo is supplied to the in-loop filter unit 216.
  • each encoding parameter may be supplied to an arbitrary processing unit.
  • other information may be supplied to an arbitrary processing unit.
  • the decoding unit 212 can parse the subblock size identification information.
  • the inverse quantization unit 213 performs processing related to inverse quantization. For example, the inverse quantization unit 213 receives the transform information Tinfo and the quantized transform coefficient level level supplied from the decoding unit 212, and scales (reverses) the value of the quantized transform coefficient level level based on the transform information Tinfo. Quantization) to derive a transform coefficient Coeff_IQ after inverse quantization.
  • this inverse quantization is performed as an inverse process of quantization by the quantization unit 114.
  • This inverse quantization is a process similar to the inverse quantization by the inverse quantization unit 117. That is, the inverse quantization unit 117 performs the same processing (inverse quantization) as the inverse quantization unit 213.
  • the inverse quantization unit 213 supplies the derived transform coefficient Coeff_IQ to the inverse orthogonal transform unit 214.
  • the inverse orthogonal transform unit 214 performs processing related to inverse orthogonal transform. For example, the inverse orthogonal transform unit 214 receives the transform coefficient Coeff_IQ supplied from the inverse quantization unit 213 and the transform information Tinfo supplied from the decoding unit 212, and converts the transform coefficient Coeff_IQ into the transform coefficient Coeff_IQ based on the transform information Tinfo. Then, inverse orthogonal transform processing is performed to derive a prediction residual D ′.
  • this inverse orthogonal transform is performed as an inverse process of the orthogonal transform by the orthogonal transform unit 113.
  • This inverse orthogonal transform is the same process as the inverse orthogonal transform by the inverse orthogonal transform unit 118. That is, the inverse orthogonal transform unit 118 performs the same processing (inverse orthogonal transform) as the inverse orthogonal transform unit 214.
  • the inverse orthogonal transform unit 214 supplies the derived prediction residual D ′ to the calculation unit 215.
  • the calculation unit 215 supplies the derived local decoded image R local to the in-loop filter unit 216 and the frame memory 218.
  • the in-loop filter unit 216 performs processing related to in-loop filter processing. For example, the in-loop filter unit 216 receives the local decoded image R local supplied from the calculation unit 215 and the filter information Finfo supplied from the decoding unit 212 as inputs. Information input to the in-loop filter unit 216 is arbitrary, and information other than these pieces of information may be input.
  • the in-loop filter unit 216 appropriately performs a filtering process on the local decoded image R local based on the filter information Finfo.
  • the in-loop filter unit 216 includes a bilateral filter, a deblocking filter (DBF (DeBlocking Filter)), an adaptive offset filter (SAO (Sample Adaptive Offset)), and an adaptive loop filter.
  • DPF DeBlocking Filter
  • SAO Sample Adaptive Offset
  • ALF Adaptive Loop Filter
  • the in-loop filter unit 216 performs a filter process corresponding to the filter process performed by the encoding side (for example, the in-loop filter unit 120 of the image encoding device 12 in FIG. 7).
  • the filtering process performed by the in-loop filter unit 216 is arbitrary, and is not limited to the above example.
  • the in-loop filter unit 216 may apply a Wiener filter or the like.
  • the in-loop filter unit 216 supplies the filtered local decoded image R local to the rearrangement buffer 217 and the frame memory 218.
  • the rearrangement buffer 217 receives the local decoded image R local supplied from the in-loop filter unit 216 and holds (stores) it.
  • the rearrangement buffer 217 reconstructs and holds the decoded image R for each picture unit using the local decoded image R local (stores it in the buffer).
  • the rearrangement buffer 217 rearranges the obtained decoded images R from the decoding order to the reproduction order.
  • the rearrangement buffer 217 outputs the rearranged decoded image R group as moving image data to the outside of the image decoding device 13.
  • the frame memory 218 performs processing related to storage of data related to images. For example, the frame memory 218 receives the local decoded image R local supplied from the arithmetic unit 215, reconstructs the decoded image R for each picture unit, and stores it in a buffer in the frame memory 218.
  • the frame memory 218 receives the in-loop filtered local decoded image R local supplied from the in-loop filter unit 216, reconstructs the decoded image R for each picture unit, and stores the frame image in the frame memory 218. Store to buffer.
  • the frame memory 218 appropriately supplies the stored decoded image R (or part thereof) to the prediction unit 219 as a reference image.
  • the frame memory 218 may store header information Hinfo, prediction mode information Pinfo, conversion information Tinfo, filter information Finfo, and the like related to generation of a decoded image.
  • the prediction unit 219 performs processing related to generation of a predicted image. For example, the prediction unit 219 receives the prediction mode information Pinfo supplied from the decoding unit 212, performs prediction by a prediction method specified by the prediction mode information Pinfo, and derives a predicted image P. At the time of the derivation, the prediction unit 219 uses the pre-filter or post-filter decoded image R (or a part thereof) stored in the frame memory 218 specified by the prediction mode information Pinfo as a reference image. The prediction unit 219 supplies the derived predicted image P to the calculation unit 215.
  • the prediction unit 219 switches the size of the sub-block according to the sub-block size identification information parsed from the bitstream by the decoding unit 212 as described above with reference to FIG. be able to. Furthermore, as described above with reference to FIGS. 5 and 6, the prediction unit 219 can perform pixel interpolation by switching the tap length of the interpolation filter. Then, when the tap length of the interpolation filter is reduced, the prediction unit 219 applies the interpolation filter by replacing the pixel value of the pixel located outside the sub-block with the pixel value of the pixel near the pixel. To do.
  • the decoding unit 212 performs a parsing process for parsing the sub-block size identification information from the bitstream. Also, the prediction unit 219 performs inter prediction processing by switching the size of the sub-block according to the sub-block size identification information, and at this time, the pixel is interpolated by switching the tap length of the interpolation filter. Therefore, the image decoding apparatus 13 can reduce the processing amount in the inter prediction process by using a large sub-block or using an interpolation filter having a short tap length.
  • FIG. 9 is a flowchart for explaining an image encoding process executed by the image encoding device 12.
  • step S11 the rearrangement buffer 111 is controlled by the control unit 101 to rearrange the frames of the input moving image data from the display order to the encoding order.
  • step S12 the control unit 101 sets a processing unit for the input image held in the rearrangement buffer 111 (performs block division).
  • processing for setting sub-block size identification information as described later with reference to FIGS. 10 and 11 is also performed.
  • step S13 the control unit 101 determines (sets) an encoding parameter for the input image held by the rearrangement buffer 111.
  • the prediction unit 122 performs a prediction process and generates a prediction image or the like in the optimal prediction mode. For example, in this prediction process, the prediction unit 122 performs intra prediction to generate a prediction image or the like of the optimal intra prediction mode, performs inter prediction to generate a prediction image or the like of the optimal inter prediction mode, and the like.
  • the optimum prediction mode is selected based on the cost function value.
  • the size of the sub-block used in the inter prediction process can be switched.
  • a process of complementing pixels by switching the tap length of the interpolation filter is also performed.
  • step S15 the calculation unit 112 calculates the difference between the input image and the predicted image in the optimal mode selected by the prediction process in step S14. That is, the calculation unit 112 generates a prediction residual D between the input image and the predicted image.
  • the prediction residual D obtained in this way is reduced in data amount compared to the original image data. Therefore, the data amount can be compressed as compared with the case where the image is encoded as it is.
  • step S16 the orthogonal transform unit 113 performs orthogonal transform processing on the prediction residual D generated by the processing in step S15, and derives a transform coefficient Coeff.
  • step S17 the quantization unit 114 quantizes the transform coefficient Coeff obtained by the process in step S16 by using the quantization parameter calculated by the control unit 101, and derives the quantized transform coefficient level level. .
  • step S18 the inverse quantization unit 117 inversely quantizes the quantized transform coefficient level level generated by the processing in step S17 with characteristics corresponding to the quantization characteristics in step S17, and derives a transform coefficient Coeff_IQ. .
  • step S19 the inverse orthogonal transform unit 118 performs inverse orthogonal transform on the transform coefficient Coeff_IQ obtained by the process of step S18 by a method corresponding to the orthogonal transform process of step S16, and derives a prediction residual D ′. Since this inverse orthogonal transform process is the same as the inverse orthogonal transform process (described later) performed on the decoding side, the description (described later) performed on the decoding side is applied to the inverse orthogonal transform process in step S19. can do.
  • step S20 the computing unit 119 adds the predicted image obtained by the prediction process of step S14 to the prediction residual D ′ derived by the process of step S19, thereby obtaining a locally decoded decoded image. Generate.
  • step S21 the in-loop filter unit 120 performs in-loop filter processing on the locally decoded decoded image derived by the processing in step S20.
  • step S22 the frame memory 121 stores the locally decoded decoded image derived by the process of step S20 and the locally decoded decoded image filtered in step S21.
  • the encoding unit 115 encodes the quantized transform coefficient level level obtained by the process in step S17.
  • the encoding unit 115 encodes a quantized transform coefficient level level, which is information related to an image, by arithmetic encoding or the like, and generates encoded data.
  • the encoding unit 115 encodes various encoding parameters (header information Hinfo, prediction mode information Pinfo, conversion information Tinfo). Further, the encoding unit 115 derives residual information RInfo from the quantized transform coefficient level level and encodes the residual information RInfo.
  • step S24 the accumulation buffer 116 accumulates the encoded data obtained in this way, and outputs it to the outside of the image encoding device 12, for example, as a bit stream.
  • This bit stream is transmitted to the decoding side via a transmission path or a recording medium, for example.
  • the rate control unit 123 performs rate control as necessary.
  • step S24 When the process of step S24 is finished, the image encoding process is finished.
  • the process to which the above-described present technology is applied is performed as the process of step S12 and step S14. Therefore, by executing this image encoding process, it is possible to reduce the processing amount in the inter prediction process by using a large sub-block or using an interpolation filter having a short tap length.
  • FIG. 10 is a flowchart for explaining a first processing example of the processing for setting sub-block size identification information in step S12 of FIG.
  • step S31 the control unit 101 determines whether or not the prediction direction in the inter prediction process is Bi-prediction.
  • step S31 when the control unit 101 determines that the prediction direction in the inter prediction process is Bi-prediction, the process proceeds to step S32.
  • step S32 the control unit 101 sets the sub-block size identification information so as to use the 8 ⁇ 8 size sub-block, and then the process ends.
  • step S31 when the control unit 101 determines in step S31 that the prediction direction in the inter prediction process is not Bi-prediction, the process proceeds to step S33.
  • step S33 the control unit 101 sets the sub-block size identification information so as to use a 4 ⁇ 4 size sub-block, and then the process ends.
  • control unit 101 can set the sub-block size identification information so that the sub-block size is increased.
  • FIG. 11 is a flowchart for explaining a second processing example of the processing for setting the sub-block size identification information in step S12 of FIG.
  • step S41 the control unit 101 determines whether the prediction direction in the inter prediction process is Bi-prediction.
  • step S41 when the control unit 101 determines that the prediction direction in the inter prediction process is Bi-prediction, the process proceeds to step S42.
  • step S42 the control unit 101 determines whether or not affine transformation is applied as the inter prediction process.
  • step S42 when the control unit 101 determines that affine transformation is applied as the inter prediction process, the process proceeds to step S43.
  • step S43 the control unit 101 sets the sub-block size identification information so as to use the 8 ⁇ 8 size sub-block, and then the process ends.
  • step S41 determines in step S41 that the prediction direction in the inter prediction process is not Bi-prediction, or if it is determined in step S42 that affine transformation is not applied as the inter prediction process, the process proceeds to step S41. Proceed to S44.
  • step S44 the control unit 101 sets the sub-block size identification information so as to use a 4 ⁇ 4 size sub-block, and then the process ends.
  • the control unit 101 increases the sub block size so that the sub block size is increased. Identification information can be set.
  • the prediction unit 122 can switch the size of the sub-blocks used in the inter prediction process by performing the same process as in FIGS. 10 and 11 in the prediction process performed in step S14.
  • FIG. 12 is a flowchart illustrating a first process example of a process of switching the tap length of the interpolation filter used in the prediction process performed in step S14 of FIG.
  • step S51 the prediction unit 122 determines whether affine transformation is applied in the inter prediction process.
  • step S51 when the prediction unit 122 determines that affine transformation is applied in the inter prediction process, the process proceeds to step S52.
  • step S52 the prediction unit 122 interpolates the pixels using an interpolation filter having a tap length of 6 taps, and the process ends.
  • step S51 when the prediction unit 122 determines in step S51 that the affine transformation is not applied in the inter prediction process, the process proceeds to step S53.
  • step S53 parallel movement is used in the inter prediction process, and in step S53, the prediction unit 122 interpolates the pixels using an 8-tap tap length interpolation filter, and then the process ends.
  • the prediction unit 122 can interpolate the pixel using the short tap length interpolation filter.
  • FIG. 13 is a flowchart for explaining a second processing example of the processing for switching the tap length of the interpolation filter used in the prediction processing performed in step S14 of FIG.
  • step S61 the prediction unit 122 determines whether the prediction direction in the inter prediction process is Bi-prediction.
  • step S61 when the prediction unit 122 determines that the prediction direction in the inter prediction process is Bi-prediction, the process proceeds to step S62.
  • step S62 the prediction unit 122 determines whether affine transformation is applied as the inter prediction process.
  • step S62 when the prediction unit 122 determines that affine transformation is applied as the inter prediction process, the process proceeds to step S63.
  • step S63 the prediction unit 122 interpolates pixels using an interpolation filter having a tap length of 6 taps, and the process ends.
  • step S61 when the prediction unit 122 determines in step S61 that the prediction direction in the inter prediction process is not Bi-prediction, or in step S62, the prediction unit 122 determines that affine transformation is not applied as the inter prediction process. Proceed to S64. For example, in this case, parallel movement is used in the inter prediction process, and in step S64, the prediction unit 122 interpolates the pixels using an 8-tap tap length interpolation filter, and then the process ends.
  • the prediction unit 122 uses a short tap length interpolation filter to calculate pixels. Can be interpolated.
  • FIG. 14 is a flowchart illustrating an image decoding process executed by the image decoding device 13.
  • the accumulation buffer 211 acquires and stores (accumulates) encoded data (bitstream) supplied from the outside of the image decoding device 13 in step S71.
  • step S72 the decoding unit 212 decodes the encoded data (bit stream) to obtain the quantized transform coefficient level level. Also, the decoding unit 212 parses (analyzes and acquires) various encoding parameters from the encoded data (bitstream) by this decoding. Here, when performing the decoding process, as described above with reference to FIG. 3, the process of parsing the sub-block size identification information from the bit stream is also performed.
  • step S73 the inverse quantization unit 213 performs inverse quantization, which is an inverse process of quantization performed on the encoding side, on the quantized transform coefficient level level obtained by the process of step S72. Obtain the coefficient Coeff_IQ.
  • step S74 the inverse orthogonal transform unit 214 performs an inverse orthogonal transform process, which is an inverse process of the orthogonal transform process performed on the encoding side, on the transform coefficient Coeff_IQ obtained by the process of step S73. Get the difference D '.
  • step S75 the prediction unit 219 performs a prediction process using a prediction method designated by the encoding side based on the information parsed in step S72, refers to a reference image stored in the frame memory 218, and the like. Then, the predicted image P is generated.
  • the size of the sub-block used in the inter prediction process can be switched.
  • a process of complementing pixels by switching the tap length of the interpolation filter is also performed.
  • step S76 the calculation unit 215 adds the prediction residual D ′ obtained by the process of step S74 and the predicted image P obtained by the process of step S75, and derives a local decoded image R local .
  • step S77 the in-loop filter unit 216 performs in-loop filter processing on the local decoded image R local obtained by the processing in step S76.
  • step S78 the rearrangement buffer 217 derives the decoded image R using the filtered local decoded image R local obtained by the process of step S77, and changes the order of the decoded image R group from the decoding order to the reproduction order. Rearrange.
  • the decoded image R group rearranged in the reproduction order is output to the outside of the image decoding device 13 as a moving image.
  • step S79 the frame memory 218, local decoded image R local obtained by the processing in step S76, and, among the local decoded image R local after filtering obtained by the processing in step S77, the at least one Remember.
  • step S79 ends, the image decoding process ends.
  • the process to which the above-described present technology is applied is performed as the process of step S72 and step S75. Therefore, by executing this image decoding process, the processing amount in the inter prediction process can be reduced by using a large sub-block or using an interpolation filter having a short tap length.
  • processing for the interpolation filter as described above may be applied to, for example, AIF (Adaptive Interpolation Filter).
  • AIF Adaptive Interpolation Filter
  • FIG. 15 is a block diagram illustrating a configuration example of an embodiment of a computer in which a program for executing the above-described series of processes is installed.
  • the program can be recorded in advance in a hard disk 305 or ROM 303 as a recording medium built in the computer.
  • the program can be stored (recorded) in a removable recording medium 311 driven by the drive 309.
  • a removable recording medium 311 can be provided as so-called package software.
  • examples of the removable recording medium 311 include a flexible disk, a CD-ROM (Compact Disc Read Only Memory), a MO (Magneto Optical) disc, a DVD (Digital Versatile Disc), a magnetic disc, a semiconductor memory, and the like.
  • the program can be installed in the computer from the removable recording medium 311 as described above, or can be downloaded to the computer via the communication network or the broadcast network and installed in the built-in hard disk 305. That is, the program is transferred from a download site to a computer wirelessly via a digital satellite broadcasting artificial satellite, or wired to a computer via a network such as a LAN (Local Area Network) or the Internet. be able to.
  • a network such as a LAN (Local Area Network) or the Internet.
  • the computer includes a CPU (Central Processing Unit) 302, and an input / output interface 310 is connected to the CPU 302 via the bus 301.
  • a CPU Central Processing Unit
  • an input / output interface 310 is connected to the CPU 302 via the bus 301.
  • the CPU 302 executes a program stored in a ROM (Read Only Memory) 303 accordingly. .
  • the CPU 302 loads a program stored in the hard disk 305 to a RAM (Random Access Memory) 304 and executes it.
  • the CPU 302 performs processing according to the flowchart described above or processing performed by the configuration of the block diagram described above. Then, the CPU 302 causes the processing result to be output from the output unit 306 or transmitted from the communication unit 308 via the input / output interface 310, or recorded on the hard disk 305, for example, as necessary.
  • the input unit 307 includes a keyboard, a mouse, a microphone, and the like.
  • the output unit 306 includes an LCD (Liquid Crystal Display), a speaker, and the like.
  • the processing performed by the computer according to the program does not necessarily have to be performed in chronological order in the order described as the flowchart. That is, the processing performed by the computer according to the program includes processing executed in parallel or individually (for example, parallel processing or object processing).
  • the program may be processed by one computer (processor), or may be distributedly processed by a plurality of computers. Furthermore, the program may be transferred to a remote computer and executed.
  • the system means a set of a plurality of components (devices, modules (parts), etc.), and it does not matter whether all the components are in the same housing. Accordingly, a plurality of devices housed in separate housings and connected via a network and a single device housing a plurality of modules in one housing are all systems. .
  • the configuration described as one device (or processing unit) may be divided and configured as a plurality of devices (or processing units).
  • the configurations described above as a plurality of devices (or processing units) may be combined into a single device (or processing unit).
  • a configuration other than that described above may be added to the configuration of each device (or each processing unit).
  • a part of the configuration of a certain device (or processing unit) may be included in the configuration of another device (or other processing unit). .
  • the present technology can take a configuration of cloud computing in which one function is shared and processed by a plurality of devices via a network.
  • the above-described program can be executed in an arbitrary device.
  • the device may have necessary functions (functional blocks and the like) so that necessary information can be obtained.
  • each step described in the above flowchart can be executed by one device or can be executed by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • a plurality of processes included in one step can be executed as a process of a plurality of steps.
  • the processing described as a plurality of steps can be collectively executed as one step.
  • the program executed by the computer may be executed in a time series in the order described in this specification for the processing of the steps describing the program, or in parallel or called. It may be executed individually at a necessary timing. That is, as long as no contradiction occurs, the processing of each step may be executed in an order different from the order described above. Furthermore, the processing of the steps describing this program may be executed in parallel with the processing of other programs, or may be executed in combination with the processing of other programs.
  • the present technology can be applied to any image encoding / decoding method. That is, unless there is a contradiction with the above-described present technology, specifications of various processes relating to image encoding / decoding such as transformation (inverse transformation), quantization (inverse quantization), encoding (decoding), prediction, etc. are arbitrary. The example is not limited. Moreover, as long as there is no contradiction with this technique mentioned above, you may abbreviate
  • the present technology can be applied to a multi-view image encoding / decoding system that performs encoding / decoding of multi-view images including images of a plurality of viewpoints (views).
  • the present technology may be applied in encoding / decoding of each viewpoint (view).
  • the present technology is applied to a hierarchical image encoding (scalable encoding) / decoding system that performs encoding / decoding of a multi-layered (hierarchical) hierarchical image so as to have a scalability function for a predetermined parameter. can do.
  • the present technology may be applied in encoding / decoding of each layer (layer).
  • the image encoding device and the image decoding device include, for example, a transmitter and a receiver (for example, a television broadcast) such as satellite broadcast, cable broadcast such as cable TV, distribution on the Internet, and distribution to terminals by cellular communication.
  • a transmitter and a receiver for example, a television broadcast
  • a receiver for example, a television broadcast
  • cable broadcast such as cable TV
  • distribution on the Internet and distribution to terminals by cellular communication.
  • Various devices such as a hard disk recorder or a camera that records an image on a medium such as an optical disk, a magnetic disk, or a flash memory, or reproduces an image from a storage medium. It can be applied to electronic equipment.
  • the present technology can be applied to any configuration installed in an arbitrary device or a device constituting the system, for example, a processor (for example, a video processor) as a system LSI (Large Scale Integration), a module using a plurality of processors (for example, a video) Modules), units using a plurality of modules (for example, video units), sets obtained by adding other functions to the units (for example, video sets), etc. (that is, a configuration of a part of the apparatus).
  • a processor for example, a video processor
  • LSI Large Scale Integration
  • modules using a plurality of processors for example, a video
  • modules for example, video units
  • sets obtained by adding other functions to the units for example, video sets
  • the present technology can also be applied to a network system including a plurality of devices.
  • a network system including a plurality of devices.
  • it can also be applied to cloud services that provide services related to images (moving images) to arbitrary terminals such as computers, AV (Audio Visual) devices, portable information processing terminals, IoT (Internet of Things) devices, etc. it can.
  • systems, devices, processing units, etc. to which this technology is applied shall be used in any field such as traffic, medical care, crime prevention, agriculture, livestock industry, mining, beauty, factory, home appliance, weather, nature monitoring, etc. Can do. Moreover, the use is also arbitrary.
  • the present technology can be applied to a system or device used for providing ornamental content or the like.
  • the present technology can also be applied to systems and devices used for traffic such as traffic situation management and automatic driving control.
  • the present technology can also be applied to a system or device used for security.
  • the present technology can be applied to a system or a device provided for automatic control of a machine or the like.
  • the present technology can also be applied to systems and devices used for agriculture and livestock industry.
  • the present technology can also be applied to systems and devices that monitor natural conditions such as volcanoes, forests, and oceans, and wildlife.
  • the present technology can be applied to a system or a device provided for sports.
  • a setting unit for setting identification information for identifying a sub-block size representing a size of a sub-block used in inter prediction processing for an image An image encoding device comprising: an encoding unit that switches to the sub-block having a size according to the setting by the setting unit, performs the inter prediction process, encodes the image, and generates a bitstream including the identification information .
  • An image encoding device according to (1) wherein the encoding unit performs the inter prediction process by applying affine transformation to the sub-block.
  • the image encoding device performs the inter prediction process by applying FRUC (Frame Rate Up Conversion) to the sub-block.
  • the setting unit sets the identification information so that the sub-block size is increased when a processing amount required in an application that performs encoding of the image or decoding of the bitstream is equal to or less than a predetermined setting value.
  • the image encoding device according to any one of (1) to (3).
  • the said encoding part switches the said subblock size according to the prediction direction in the said inter prediction process.
  • the image coding apparatus in any one of said (1) to (4).
  • the said encoding part sets the said identification information so that the said subblock size may become large, when the prediction direction in the said inter prediction process is Bi-prediction.
  • the image coding apparatus as described in said (5).
  • the encoding unit performs pixel interpolation using an interpolation filter with a reduced tap length in the inter prediction process.
  • the encoding unit includes a tap length of the interpolation filter used when applying the affine transformation as the inter prediction processing, and the interpolation filter used when applying a prediction processing different from the affine transformation as the inter prediction processing.
  • the encoding unit has a tap length of 6 taps used when the affine transformation is applied as the inter prediction processing, and is used when a prediction processing different from the affine transformation is applied as the inter prediction processing.
  • the encoding unit applies the affine transformation as the inter prediction process, and performs the inter prediction process by switching the sub-block size when the prediction direction in the inter prediction process is Bi-prediction.
  • the image encoding device according to any one of 1) to (10).
  • (12) The encoding unit applies the affine transformation as the inter prediction process and performs the inter prediction process on the sub-block having a large sub-block size when the prediction direction in the inter prediction process is Bi-prediction.
  • the image encoding device according to any one of (1) to (11) above.
  • the encoding unit applies the interpolation filter by replacing a pixel value of a pixel located outside the image of the sub-block with a pixel value of a pixel in the vicinity of the pixel.
  • the image according to (14) Encoding device.
  • (16) The image encoding device according to (15), wherein the encoding unit applies the interpolation filter by using an image excluding outer pixels in the sub-block.
  • An image encoding device that encodes an image, Setting identification information for identifying a sub-block size representing a size of a sub-block used in inter prediction processing for the image;
  • An image encoding method comprising: switching to the sub-block having a size according to the setting, performing the inter prediction process, encoding the image, and generating a bitstream including the identification information.
  • a parsing unit that parses the identification information from a bitstream including identification information that identifies a sub-block size that represents the size of the sub-block used in the inter prediction process for the image;
  • An image decoding apparatus comprising: a decoding unit that switches to the sub-block having a size according to the identification information parsed by the parsing unit, performs the inter prediction process, decodes the bitstream, and generates the image.
  • An image decoding apparatus for decoding an image Parsing the identification information from a bitstream including identification information for identifying a sub-block size representing a size of a sub-block used in inter prediction processing for the image;
  • An image decoding method comprising: switching to the sub-block having a size according to the parsed identification information, performing the inter prediction process, and decoding the bit stream to generate the image.
  • 11 image processing system 12 image encoding device, 13 image decoding device, 21 image processing chip, 22 external memory, 23 encoding circuit, 24 cache memory, 31 image processing chip, 32 external memory, 33 decoding circuit, 34 cache memory, 101 control unit, 122 prediction unit, 113 orthogonal transform unit, 115 encoding unit, 118 inverse orthogonal transform unit, 120 in-loop filter unit, 212 decoding unit, 214 inverse orthogonal transform unit, 216 in-loop filter unit, 219 prediction unit

Landscapes

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

Abstract

本開示は、サブブロックを使用するインター予測処理の処理量を削減することができるようにする画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法に関する。 符号化装置では、インター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報が設定され、その大きさのサブブロックに切り替えてインター予測処理を行って画像が符号化され、識別情報を含むビットストリームが生成される。画像復号装置では、ビットストリームから識別情報がパースされ、その識別情報に従った大きさのサブブロックに切り替えてインター予測処理が行われ、ビットストリームが復号されて画像が生成される。本技術は、例えば、画像を符号化する画像符号化装置や画像を復号する画像復号装置等に適用することができる。

Description

画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法
 本開示は、画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法に関し、特に、サブブロックを使用するインター予測処理の処理量を削減することができるようにした画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法に関する。
 ITU-T(International Telecommunication Union Telecommunication Standardization Sector)の次世代ビデオ符号化を探索するJVET(Joint Video Exploration Team)では、サブブロックの頂点の動きベクトルに基づいて参照画像をアフィン変換することにより動き補償を行うインター予測処理(Affine motion compensation (MC) prediction)が提案されている(例えば、非特許文献1参照)。かかるインター予測処理によれば、画面間の並進移動(平行移動)だけでなく、回転や、スケーリング(拡大/縮小)、スキューと呼ばれる、より複雑な動きなどを予測することができ、予測の品質が改善されるのに伴って符号化効率が改善することが期待される。
Jianle Chen, Elena Alshina, Gary J. Sullivan, Jens-Rainer, JillBoyce, "Algorithm Description of Joint Exploration Test Model 4", JVET-G1001_v1, Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 7th Meeting: Torino, IT, 13-21 July 2017
 しかしながら、上述したようなサブブロックを使用するインター予測処理では、サブブロックのサイズが小さくなるのに伴って、より多くのサブブロックに対して処理を行うことになり、符号化または復号を実行する際の処理量が増大することが懸念される。
 本開示は、このような状況に鑑みてなされたものであり、サブブロックを使用するインター予測処理の処理量を削減することができるようにするものである。
 本開示の第1の側面の画像符号化装置は、画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定する設定部と、前記設定部による設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成する符号化部とを備える。
 本開示の第1の側面の画像符号化方法は、画像を符号化する画像符号化装置が、前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定することと、その設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成することとを含む。
 本開示の第1の側面においては、画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報が設定され、その設定に応じた大きさのサブブロックに切り替えてインター予測処理が行われて前記画像が符号化され、識別情報を含むビットストリームが生成される。
 本開示の第2の側面の画像復号装置は、画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースするパース部と、前記パース部によりパースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成する復号部とを備える。
 本開示の第2の側面の画像復号方法は、画像を復号する画像復号装置が、前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースすることと、パースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成することとを含む。
 本開示の第2の側面においては、画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、識別情報がパースされ、その識別情報に従った大きさのサブブロックに切り替えてインター予測処理が行われ、ビットストリームが復号されて画像が生成される。
 本開示の第1および第2の側面によれば、サブブロックを使用するインター予測処理の処理量を削減することができる。
 なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。
本技術を適用した画像処理システムの一実施の形態の構成例を示すブロック図である。 符号化回路において行われる処理について説明する図である。 復号回路において行われる処理について説明する図である。 回転操作を伴うアフィン変換について説明する図である。 Bi-predictionの補間フィルタ処理について説明する図である。 タップ長を削減した場合における補間フィルタの適用について説明する図である。 画像符号化装置の一実施の形態の構成例を示すブロック図である。 画像復号装置の一実施の形態の構成例を示すブロック図である。 画像符号化処理を説明するフローチャートである。 サブブロックサイズ識別情報を設定する処理の第1の処理例を説明するフローチャートである。 サブブロックサイズ識別情報を設定する処理の第2の処理例を説明するフローチャートである。 補間フィルタのタップ長を切り替える処理の第1の処理例を説明するフローチャートである。 補間フィルタのタップ長を切り替える処理の第2の処理例を説明するフローチャートである。 画像復号処理を説明するフローチャートである。 本技術を適用したコンピュータの一実施の形態の構成例を示すブロック図である。
 <技術内容・技術用語をサポートする文献等>
 本技術で開示される範囲は、実施の形態に記載されている内容だけではなく、出願当時において公知となっている以下の非特許文献に記載されている内容も含まれる。
 非特許文献1:(上述)
 非特許文献2:TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU(International Telecommunication Union), "High efficiency video coding", H.265, 12/2016
 非特許文献3:TELECOMMUNICATION STANDARDIZATION SECTOR OF ITU(International Telecommunication Union), "Advanced video coding for generic audiovisual services", H.264, 04/2017
 つまり、上述の非特許文献1乃至3に記載されている内容もサポート要件を判断する際の根拠となる。例えば、非特許文献1に記載されているQTBT(Quad Tree Plus Binary Tree) Block Structure、または、非特許文献2に記載されているQT(Quad-Tree Block Structure)が、実施の形態において直接的な記載がない場合でも、本技術の開示範囲内であり、請求の範囲のサポート要件を満たすものとする。また、例えば、パース(Parsing)、シンタックス(Syntax)、セマンティクス(Semantics)等の技術用語についても同様に、実施の形態において直接的な記載がない場合でも、本技術の開示範囲内であり、請求の範囲のサポート要件を満たすものとする。
 <用語>
 本願では、以下の用語を、以下のように定義する。
    <ブロック>
 画像(ピクチャ)の部分領域や処理単位として説明に用いる「ブロック」(処理部を示すブロックではない)は、特に言及しない限り、ピクチャ内の任意の部分領域を示し、その大きさ、形状、および特性等は限定されない。例えば、「ブロック」には、TB(Transform Block)、TU(Transform Unit)、PB(Prediction Block)、PU(Prediction Unit)、SCU(Smallest Coding Unit)、CU(Coding Unit)、LCU(Largest Coding Unit)、CTB(Coding TreeBlock)、CTU(Coding Tree Unit)、変換ブロック、サブブロック、マクロブロック、タイル、またはスライス等、任意の部分領域(処理単位)が含まれるものとする。
    <ブロックサイズの指定>
 また、このようなブロックのサイズを指定するに当たって、直接的にブロックサイズを指定するだけでなく、間接的にブロックサイズを指定するようにしてもよい。例えばサイズを識別する識別情報を用いてブロックサイズを指定するようにしてもよい。また、例えば、基準となるブロック(例えばLCUやSCU等)のサイズとの比または差分によってブロックサイズを指定するようにしてもよい。例えば、シンタックス要素等としてブロックサイズを指定する情報を伝送する場合に、その情報として、上述のような間接的にサイズを指定する情報を用いるようにしてもよい。このようにすることにより、その情報の情報量を低減させることができ、符号化効率を向上させることができる場合もある。また、このブロックサイズの指定には、ブロックサイズの範囲の指定(例えば、許容されるブロックサイズの範囲の指定等)も含む。
    <情報・処理の単位>
 各種情報が設定されるデータ単位や、各種処理が対象とするデータ単位は、それぞれ任意であり上述した例に限定されない。例えば、これらの情報や処理が、それぞれ、TU(Transform Unit)、TB(Transform Block)、PU(Prediction Unit)、PB(Prediction Block)、CU(Coding Unit)、LCU(Largest Coding Unit)、サブブロック、ブロック、タイル、スライス、ピクチャ、シーケンス、またはコンポーネント毎に設定されるようにしてもよいし、それらのデータ単位のデータを対象とするようにしてもよい。もちろん、このデータ単位は、情報や処理毎に設定され得るものであり、全ての情報や処理のデータ単位が統一されている必要はない。なお、これらの情報の格納場所は任意であり、上述したデータ単位のヘッダやパラメータセット等に格納されるようにしてもよい。また、複数個所に格納されるようにしてもよい。
    <制御情報>
 本技術に関する制御情報を符号化側から復号側に伝送するようにしてもよい。例えば、上述した本技術を適用することを許可(または禁止)するか否かを制御する制御情報(例えばenabled_flag)を伝送するようにしてもよい。また、例えば、上述した本技術を適用する対象(または適用しない対象)を示す制御情報を伝送するようにしてもよい。例えば、本技術を適用する(または、適用を許可若しくは禁止する)ブロックサイズ(上限若しくは下限、またはその両方)、フレーム、コンポーネント、またはレイヤ等を指定する制御情報を伝送するようにしてもよい。
    <フラグ>
 なお、本明細書において「フラグ」とは、複数の状態を識別するための情報であり、真(1)または偽(0)の2状態を識別する際に用いる情報だけでなく、3以上の状態を識別することが可能な情報も含まれる。したがって、この「フラグ」が取り得る値は、例えば1/0の2値であってもよいし、3値以上であってもよい。すなわち、この「フラグ」を構成するbit数は任意であり、1bitでも複数bitでもよい。また、識別情報(フラグも含む)は、その識別情報をビットストリームに含める形だけでなく、ある基準となる情報に対する識別情報の差分情報をビットストリームに含める形も想定されるため、本明細書においては、「フラグ」や「識別情報」は、その情報だけではなく、基準となる情報に対する差分情報も包含する。
    <メタデータを関連付ける>
 また、符号化データ(ビットストリーム)に関する各種情報(メタデータ等)は、符号化データに関連づけられていれば、どのような形態で伝送または記録されるようにしてもよい。ここで、「関連付ける」という用語は、例えば、一方のデータを処理する際に他方のデータを利用し得る(リンクさせ得る)ようにすることを意味する。つまり、互いに関連付けられたデータは、1つのデータとしてまとめられてもよいし、それぞれ個別のデータとしてもよい。例えば、符号化データ(画像)に関連付けられた情報は、その符号化データ(画像)とは別の伝送路上で伝送されるようにしてもよい。また、例えば、符号化データ(画像)に関連付けられた情報は、その符号化データ(画像)とは別の記録媒体(または同一の記録媒体の別の記録エリア)に記録されるようにしてもよい。なお、この「関連付け」は、データ全体でなく、データの一部であってもよい。例えば、画像とその画像に対応する情報とが、複数フレーム、1フレーム、またはフレーム内の一部分などの任意の単位で互いに関連付けられるようにしてもよい。
 なお、本明細書において、「合成する」、「多重化する」、「付加する」、「一体化する」、「含める」、「格納する」、「入れ込む」、「差し込む」、「挿入する」等の用語は、例えば符号化データとメタデータとを1つのデータにまとめるといった、複数の物を1つにまとめることを意味し、上述の「関連付ける」の1つの方法を意味する。また、本明細書において、符号化とは、画像をビットストリームに変換する全体の処理だけではなく、一部の処理も含む。例えば、予測処理、直交変換、量子化、算術符号化等を包括した処理を含むだけではなく、量子化と算術符号化とを総称した処理、予測処理と量子化と算術符号化とを包括した処理、などを含む。同様に、復号とは、ビットストリームを画像に変換する全体の処理だけではなく、一部の処理も含む。例えば、逆算術復号、逆量子化、逆直交変換、予測処理等を包括した処理を含むだけではなく、逆算術復号と逆量子化とを包括した処理、逆算術復号と逆量子化と予測処理とを包括した処理、などを含む。
 以下、本技術を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。
 <本技術の概要>
 図1乃至図6を参照して、本技術の概要について説明する。
 図1は、本技術を適用した画像処理システムの一実施の形態の構成例を示すブロック図である。
 図1に示すように、画像処理システム11は、画像符号化装置12および画像復号装置13を備えて構成される。例えば、画像処理システム11では、図示しない撮像装置により撮像された画像が画像符号化装置12に入力され、画像符号化装置12において画像が符号化されることで符号化データが生成される。これにより、画像処理システム11では、画像符号化装置12から画像復号装置13へ、符号化データがビットストリームとして伝送される。そして、画像処理システム11では、画像復号装置13において符号化データが復号されることで画像が生成され、図示しない表示装置に表示される。
 画像符号化装置12は、画像処理チップ21および外部メモリ22がバスを介して接続された構成となっている。
 画像処理チップ21は、画像を符号化する符号化回路23、および、符号化回路23が画像を符号化する際に必要となるデータを一時的に記憶するキャッシュメモリ24により構成される。
 外部メモリ22は、例えば、DRAM(Dynamic Random Access Memory)により構成され、画像符号化装置12において符号化の対象となる画像のデータを、画像処理チップ21で処理する処理単位(例えば、フレーム)ごとに記憶する。なお、非特許文献1に記載されているQTBT(Quad Tree Plus Binary Tree) Block Structure、または、非特許文献2に記載されているQT(Quad-Tree) Block Structureが、Block Structureとして適用される場合には、CTB(Coding TreeBlock)、CTU(Coding Tree Unit)、PB(Prediction Block)、PU(Prediction Unit)、CU(Coding Unit)、CB(Coding Block)を処理単位として外部メモリ22に記憶される場合もある。好適には、シーケンスレベルでブロックサイズが固定された処理単位であるCTBやCTUを処理単位とすることが想定される。
 例えば、画像符号化装置12では、外部メモリ22に記憶されている1フレーム分(またはCTB)の画像のデータのうちの、インター予測処理で用いられる処理単位であるサブブロックごとに分割されたデータがキャッシュメモリ24に読み込まれる。そして、画像符号化装置12では、キャッシュメモリ24に記憶されているサブブロックごとに符号化回路23による符号化が行われ、符号化データが生成される。
 ここで、画像処理システム11では、サブブロックの大きさを識別するためのサブブロックサイズ識別情報が符号化回路23において設定され、サブブロックサイズ識別情報を含むビットストリームが画像符号化装置12から画像復号装置13へ伝送される。例えば、サブブロックの大きさが2×2である場合には、サブブロックサイズ識別情報には0が設定される。同様に、サブブロックの大きさが4×4である場合には、サブブロックサイズ識別情報には1が設定され、サブブロックの大きさが8×8である場合には、サブブロックサイズ識別情報には2が設定される。その他、16×16以上の大きさのサブブロックを用いてもよい。なお、正方形以外の長方形のサブブロックを用いてもよく、横方向に長い長方形を用いる場合には、外部メモリ22へのアクセスを高速に行うことができる。要するに、サブブロックサイズ識別情報は、サブブロックのサイズまたは形状を識別することができる情報であれば、その表現形態は問われない。
 画像復号装置13は、画像処理チップ31および外部メモリ32がバスを介して接続された構成となっている。
 画像処理チップ31は、符号化データを復号して画像を生成する復号回路33、および、復号回路33が符号化データを復号する際に必要となるデータを一時的に記憶するキャッシュメモリ34により構成される。
 外部メモリ32は、例えば、DRAMにより構成され、画像復号装置13において復号の対象となる符号化データを画像のフレームごとに記憶する。
 例えば、画像復号装置13では、ビットストリームからサブブロックサイズ識別情報がパースされ、そのサブブロックサイズ識別情報で設定されている大きさのサブブロックに従って、外部メモリ32からキャッシュメモリ34に符号化データが読み出される。そして、画像復号装置13では、キャッシュメモリ34に記憶されているブロックごとに復号回路33により符号化データが復号されることにより画像が生成される。
 このように、画像処理システム11では、画像符号化装置12において、サブブロックの大きさを識別するためのサブブロックサイズ識別情報が設定され、サブブロックサイズ識別情報を含むビットストリームが画像復号装置13へ伝送される。例えば、画像処理システム11では、サブブロックサイズ識別情報(subblocksize_idx)を、SPS,PPS,SLICE headerなどのハイレベルシンタックスで定義することができる。また、予測との関係性と性能向上の観点からSLICE headerにサブブロックサイズ識別情報を定義することが好ましく、処理の簡略化や、画像復号装置13でのパースの観点からSPSまたはPPSにサブブロックサイズ識別情報を定義することが好ましい。
 そして、画像処理システム11では、大きなサイズのサブブロックを用いることにより、例えば、処理単位(例えば、1フレームや、1CTBなど)当たりのサブブロック数を少なくすることができる結果、サブブロックごとに行われるインター予測処理の処理量を削減することができる。従って、例えば、処理量を抑制することが要求されるアプリケーションでは、大きなサブブロックを使用してインター予測処理を行うようにすることで、より確実に符号化または復号を行うことができる。
 図2を参照して、画像符号化装置12の符号化回路23が行う処理について、さらに説明する。
 例えば、符号化回路23は、図示するような設定部および符号化部として機能するように設計される。
 即ち、符号化回路23は、画像の符号化する際のインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズ(例えば、2×2,4×4,8×8など)を識別するためのサブブロックサイズ識別情報を設定する設定処理を行うことができる。
 このとき、符号化回路23は、例えば、画像符号化装置12における画像の符号化を実行するアプリケーションにおいて要求される処理量が、所定の設定値以下である場合、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定する。同様に、符号化回路23は、例えば、画像復号装置13におけるビットストリームの復号を実行するアプリケーションにおいて要求される処理量が、所定の設定値以下である場合、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定する。ここで、画像符号化装置12および画像復号装置13には、それぞれが備える処理能力に従って、実行するアプリケーションにおける処理量を規定する設定値が予め設定されている。例えば、処理能力が低いモバイル端末において符号化処理または復号処理が行われる場合には、その処理能力に従った低い設定値が設定される。
 さらに、符号化回路23は、インター予測処理における予測方向に従って、サブブロックサイズを設定することができる。例えば、符号化回路23は、インター予測処理における予測方向がBi-predictionであるか否かに従って、サブブロックサイズが異なるようにサブブロックサイズ識別情報を設定する。また、符号化回路23は、インター予測処理における予測方向がBi-predictionである場合、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定する。または、符号化回路23は、インター予測処理としてアフィン変換を適用し、かつ、インター予測処理における予測方向がBi-predictionである場合、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定する。
 また、符号化回路23は、サブブロックの大きさを切り替えてインター予測処理を行って画像を符号化し、サブブロックサイズ識別情報を含むビットストリームを生成する符号化処理を行うことができる。
 このとき、符号化回路23は、サブブロックに対して、アフィン変換またはFRUC(Frame Rate Up Conversion)を適用してインター予測処理を行う。その他、符号化回路23は、並進移動などを適用してインター予測処理を行ってもよい。なお、符号化回路23は、サブブロックサイズ識別情報を参照してサブブロックの大きさを切り替えてもよいし、インター予測処理を行う際に、上述したような予測方向などに従った判断を行ってサブブロックの大きさを切り替えるようにしてもよい。
 また、符号化回路23は、画像を符号化する際のインター予測処理としてアフィン変換を適用する場合、インター予測処理において、タップ長を削減した補間フィルタを用いて画素の補間を行うことができる。
 このとき、符号化回路23は、インター予測処理における予測方向に従って、補間フィルタのタップ長を切り替えて画素を補間する。例えば、符号化回路23は、インター予測処理における予測方向がBi-predictionである場合、短いタップ長の補間フィルタを用いて画素を補間する。また、符号化回路23は、インター予測処理としてアフィン変換を適用する場合に用いる補間フィルタのタップ長と、インター予測処理としてアフィン変換と異なる予測処理(例えば、平行移動)を適用する場合に用いる補間フィルタとのタップ長で、異なるタップ長となるように補間フィルタを切り替える。または、符号化回路23は、インター予測処理としてアフィン変換を適用し、かつ、インター予測処理における予測方向がBi-predictionである場合、短いタップ長の補間フィルタを用いて画素を補間する。
 図3を参照して、画像復号装置13の復号回路33が行う処理について、さらに説明する。
 例えば、復号回路33は、図示するようなパース部および復号部として機能するように設計される。
 即ち、復号回路33は、画像符号化装置12から伝送されてくるビットストリームから、画像の復号する際のインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズ識別情報をパースするパース処理を行うことができる。
 そして、復号回路33は、サブブロックサイズ識別情報に従った大きさのサブブロックに切り替えてインター予測処理を行い、ビットストリームを復号して画像を生成する復号処理を行うことができる。このとき、復号回路33は、符号化回路23におけるインター予測処理で適用されたアフィン変換またはFRUCに応じて、インター予測処理を行う。
 さらに、復号回路33は、符号化回路23と同様に、画像を符号化する際のインター予測処理としてアフィン変換を適用する場合、タップ長を削減した補間フィルタを用いて画素の補間を行うことができる。
 ここで、図4を参照して、異なる大きさのサブブロックで分割されたコーディングユニットにおける回転操作を伴うアフィン変換について説明する。
 図4のAには、4×4の16個のサブブロックに分割されたコーディングユニットで回転操作を伴うアフィン変換が行われる一例が示されている。また、図4のBには、8×8の64個のサブブロックに分割されたコーディングユニットで回転操作を伴うアフィン変換が行われる一例が示されている。
 例えば、アフィン変換の動き補償では、参照画像内の、頂点Aから動きベクトルv0だけ離れた点A'を左上の頂点とし、頂点Bから動きベクトルv1だけ離れた点B'を右上の頂点とし、頂点Cから動きベクトルv2だけ離れた点C'を左下の頂点とするコーディングユニットCU'を参照ブロックとして、そのコーディングユニットCU'を、動きベクトルv0ないしv2に基づいてアフィン変換することにより動き補償が行われ、コーディングユニットCUの予測画像が生成される。
 すなわち、処理対象のコーディングユニットCUが、サブブロックに分割され、各サブブロックの動きベクトルv=(vx,vy)が、動きベクトルv0=(v0x,v0y),v1=(v1x,v1y)、及び、v2=(v2x,v2y)に基づいて、図示する式に従って求められる。
 そして、参照画像内の、各サブブロックから動きベクトルvだけ離れたサブブロックと同一のサイズの参照サブブロックを、動きベクトルvに基づいて並進移動することにより、コーディングユニットCUの予測画像がサブブロック単位で生成される。
 ここで、このような回転操作が伴うアフィン変換が行われる場合、図4のAに示すように大きなサイズのサブブロックに分割するよりも、図4のBに示すように、小さなサイズのサブブロックに分割する方が、より予測精度の高い予測画像を得ることができる。しかしながら、小さなサイズのサブブロックに分割すると、サブブロックの数が増加するのに伴って、より多くの演算を行う必要があり処理量が増加するだけでなく、メモリからデータを読み出すのに時間を要することになり処理の高速化が妨げられてしまう。
 従って、特に、このようなアフィン変換において、サブブロックサイズを大きく設定することで、より効果的に処理量を削減することができるとともに、処理の高速化を図ることができる。なお、ここでは、CUとPUとを同じ次元でブロックと処理していることを説明しているが、QTのようにCUとPUが別次元でブロックを構成できる場合はPUを基準として、サブブロックに分割されてもよい。
 次に、図5および図6を参照して、符号化回路23および復号回路33におけるインター予測処理において、画素の補間に用いる補間フィルタについて説明する。
 図5に示すように、Bi-predictionの補間フィルタ処理では、L0参照の補間フィルタ処理と、L1参照の補間フィルタ処理とが並列的に行われる。
 例えば、L0参照の補間フィルタ処理では、キャッシュメモリから読み出されたサブブロックは、水平方向補間フィルタが適用されて転置用メモリに記憶された後、転置用メモリから読み出されて垂直方向補間フィルタが適用された後に出力される。また、L1参照の補間フィルタ処理においても、L0参照の補間フィルタ処理と同様の処理が行われる。
 従って、キャッシュメモリから水平方向補間フィルタへ読み出しが行われる際、および、転置用メモリから垂直方向補間フィルタへ読み出しが行われる際に、それぞれメモリの帯域による制限を受けることになる。特に、インター予測処理における予測方向がBi-predictionである場合には、より広いメモリの帯域が必要となり、より制限を受け易くなる。
 そこで、符号化回路23および復号回路33では、インター予測処理における予測方向がBi-predictionである場合、タップ長を切り替えて、短いタップ長の補間フィルタを用いることで、メモリの帯域による制限を回避するとともに、処理量を削減することが期待される。
 また、符号化回路23および復号回路33は、補間フィルタのタップ長を削減した場合には、サブブロックの外側に位置する画素の画素値を、その画素の近傍にある画素の画素値で置き換えて、補間フィルタを適用することができる。
 例えば、図6に示すように、符号化回路23および復号回路33は、8タップのタップ長の補間フィルタを用いて、8個の画素p1乃至p8から画素hpを生成するフィルタ処理を行うことができる。このとき、符号化回路23および復号回路33は、タップ長を6タップに削減すると、外側にある画素p1およびp8をキャッシュメモリから読み出さずに、画素p1およびp8の画素値を、それぞれの近傍にある画素p2およびp7の画素値で置き換えて補間フィルタを適用する。
 このようなフィルタ処理を行うことで、符号化回路23および復号回路33は、メモリの帯域による制限を回避し、符号化および復号の処理量を削減することができる。
 <画像符号化装置の構成例>
 図7は、本技術を適用した画像符号化装置の一実施の形態の構成例を示すブロック図である。
 図7に示される画像符号化装置12は、動画像の画像データを符号化する装置である。例えば、画像符号化装置12は、非特許文献1、非特許文献2、または非特許文献3に記載されている技術を実装し、それらの文献のいずれかに記載された規格に準拠した方法で動画像の画像データを符号化する。
 なお、図7においては、処理部やデータの流れ等の主なものを示しており、図7に示されるものが全てとは限らない。つまり、画像符号化装置12において、図7においてブロックとして示されていない処理部が存在したり、図7において矢印等として示されていない処理やデータの流れが存在したりしてもよい。
 図7に示されるように画像符号化装置12は、制御部101、並べ替えバッファ111、演算部112、直交変換部113、量子化部114、符号化部115、蓄積バッファ116、逆量子化部117、逆直交変換部118、演算部119、インループフィルタ部120、フレームメモリ121、予測部122、およびレート制御部123を備えて構成される。なお、予測部122は、不図示のイントラ予測部およびインター予測部を備えている。画像符号化装置12は、動画像データを符号化することによって、符号化データ(ビットストリーム)を生成するための装置である。
    <制御部>
 制御部101は、外部、または予め指定された処理単位のブロックサイズに基づいて、並べ替えバッファ111により保持されている動画像データを処理単位のブロック(CU, PU, 変換ブロックなど)へ分割する。また、制御部101は、各ブロックへ供給する符号化パラメータ(ヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo、フィルタ情報Finfoなど)を、例えば、RDO(Rate-Distortion Optimization)に基づいて、決定する。
 これらの符号化パラメータの詳細については後述する。制御部101は、以上のような符号化パラメータを決定すると、それを各ブロックへ供給する。具体的には、以下の通りである。
 ヘッダ情報Hinfoは、各ブロックに供給される。
 予測モード情報Pinfoは、符号化部115と予測部122とに供給される。
 変換情報Tinfoは、符号化部115、直交変換部113、量子化部114、逆量子化部117、および逆直交変換部118に供給される。
 フィルタ情報Finfoは、インループフィルタ部120に供給される。
 さらに、制御部101は、処理単位を設定する際に、図2を参照して上述したように、サブブロックサイズを識別するサブブロックサイズ識別情報を設定することができる。そして、制御部101は、サブブロックサイズ識別情報も符号化部115に供給する。
    <並べ替えバッファ>
 画像符号化装置12には、動画像データの各フィールド(入力画像)がその再生順(表示順)に入力される。並べ替えバッファ111は、各入力画像をその再生順(表示順)に取得し、保持(記憶)する。並べ替えバッファ111は、制御部101の制御に基づいて、その入力画像を符号化順(復号順)に並べ替えたり、処理単位のブロックに分割したりする。並べ替えバッファ111は、処理後の各入力画像を演算部112に供給する。また、並べ替えバッファ111は、その各入力画像(元画像)を、予測部122やインループフィルタ部120にも供給する。
    <演算部>
 演算部112は、処理単位のブロックに対応する画像I、および予測部122より供給される予測画像Pを入力とし、画像Iから予測画像Pを減算して、予測残差Dを導出(D=I-P)し、それを直交変換部113に供給する。
    <直交変換部>
 直交変換部113は、演算部112から供給される予測残差Dと、制御部101から供給される変換情報Tinfoとを入力とし、その変換情報Tinfoに基づいて、予測残差Dに対して直交変換を行い、変換係数Coeffを導出する。直交変換部113は、その得られた変換係数Coeffを量子化部114に供給する。
    <量子化部>
 量子化部114は、直交変換部113から供給される変換係数Coeffと、制御部101から供給される変換情報Tinfoとを入力とし、その変換情報Tinfoに基づいて、変換係数Coeffをスケーリング(量子化)する。なお、この量子化のレートは、レート制御部123により制御される。量子化部114は、このような量子化により得られた量子化後の変換係数、すなわち量子化変換係数レベルlevelを、符号化部115および逆量子化部117に供給する。
    <符号化部>
 符号化部115は、量子化部114から供給された量子化変換係数レベルlevelと、制御部101から供給される各種符号化パラメータ(ヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo、フィルタ情報Finfoなど)と、インループフィルタ部120から供給されるフィルタ係数等のフィルタに関する情報と、予測部122から供給される最適な予測モードに関する情報とを入力とする。符号化部115は、量子化変換係数レベルlevelを可変長符号化(例えば、算術符号化)し、ビット列(符号化データ)を生成する。
 また、符号化部115は、その量子化変換係数レベルlevelから残差情報Rinfoを導出し、残差情報Rinfoを符号化し、ビット列を生成する。
 さらに、符号化部115は、インループフィルタ部120から供給されるフィルタに関する情報をフィルタ情報Finfoに含め、予測部122から供給される最適な予測モードに関する情報を予測モード情報Pinfoに含める。そして、符号化部115は、上述した各種符号化パラメータ(ヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo、フィルタ情報Finfoなど)を符号化し、ビット列を生成する。
 また、符号化部115は、以上のように生成された各種情報のビット列を多重化し、符号化データを生成する。符号化部115は、その符号化データを蓄積バッファ116に供給する。
 それらに加え、符号化部115は、制御部101から供給されるサブブロックサイズ識別情報を符号化し、ビット列を生成して、そのビット列を多重化し、符号化データを生成することができる。これにより、図1を参照して上述したように、サブブロックサイズ識別情報を含む符号化データ(ビットストリーム)が伝送される。
    <蓄積バッファ>
 蓄積バッファ116は、符号化部115において得られた符号化データを、一時的に保持する。蓄積バッファ116は、所定のタイミングにおいて、保持している符号化データを、例えばビットストリーム等として画像符号化装置12の外部に出力する。例えば、この符号化データは、任意の記録媒体、任意の伝送媒体、任意の情報処理装置等を介して復号側に伝送される。すなわち、蓄積バッファ116は、符号化データ(ビットストリーム)を伝送する伝送部でもある。
    <逆量子化部>
 逆量子化部117は、逆量子化に関する処理を行う。例えば、逆量子化部117は、量子化部114から供給される量子化変換係数レベルlevelと、制御部101から供給される変換情報Tinfoとを入力とし、その変換情報Tinfoに基づいて、量子化変換係数レベルlevelの値をスケーリング(逆量子化)する。なお、この逆量子化は、量子化部114において行われる量子化の逆処理である。逆量子化部117は、このような逆量子化により得られた変換係数Coeff_IQを、逆直交変換部118に供給する。
    <逆直交変換部>
 逆直交変換部118は、逆直交変換に関する処理を行う。例えば、逆直交変換部118は、逆量子化部117から供給される変換係数Coeff_IQと、制御部101から供給される変換情報Tinfoとを入力とし、その変換情報Tinfoに基づいて、変換係数Coeff_IQに対して逆直交変換を行い、予測残差D'を導出する。なお、この逆直交変換は、直交変換部113において行われる直交変換の逆処理である。逆直交変換部118は、このような逆直交変換により得られた予測残差D'を演算部119に供給する。なお、逆直交変換部118は、復号側の逆直交変換部(後述する)と同様であるので、逆直交変換部118については、復号側について行う説明(後述する)を適用することができる。
    <演算部>
 演算部119は、逆直交変換部118から供給される予測残差D’と、予測部122から供給される予測画像Pとを入力とする。演算部119は、その予測残差D’と、その予測残差D’に対応する予測画像Pとを加算し、局所復号画像Rlocalを導出(Rlocal=D’+P)する。演算部119は、導出した局所復号画像Rlocalをインループフィルタ部120およびフレームメモリ121に供給する。
    <インループフィルタ部>
 インループフィルタ部120は、インループフィルタ処理に関する処理を行う。例えば、インループフィルタ部120は、演算部119から供給される局所復号画像Rlocalと、制御部101から供給されるフィルタ情報Finfoと、並べ替えバッファ111から供給される入力画像(元画像)とを入力とする。なお、インループフィルタ部120に入力される情報は任意であり、これらの情報以外の情報が入力されてもよい。例えば、必要に応じて、予測モード、動き情報、符号量目標値、量子化パラメータQP、ピクチャタイプ、ブロック(CU、CTU等)の情報等がインループフィルタ部120に入力されるようにしてもよい。
 インループフィルタ部120は、そのフィルタ情報Finfoに基づいて、局所復号画像Rlocalに対して適宜フィルタ処理を行う。インループフィルタ部120は、必要に応じて入力画像(元画像)や、その他の入力情報もそのフィルタ処理に用いる。
 例えば、インループフィルタ部120は、非特許文献1に記載のように、バイラテラルフィルタ、デブロッキングフィルタ(DBF(DeBlocking Filter))、適応オフセットフィルタ(SAO(Sample Adaptive Offset))、および適応ループフィルタ(ALF(Adaptive Loop Filter))の4つのインループフィルタをこの順に適用する。なお、どのフィルタを適用するか、どの順で適用するかは任意であり、適宜選択可能である。
 もちろん、インループフィルタ部120が行うフィルタ処理は任意であり、上述の例に限定されない。例えば、インループフィルタ部120がウィーナーフィルタ等を適用するようにしてもよい。
 インループフィルタ部120は、フィルタ処理された局所復号画像Rlocalをフレームメモリ121に供給する。なお、例えばフィルタ係数等のフィルタに関する情報を復号側に伝送する場合、インループフィルタ部120は、そのフィルタに関する情報を符号化部115に供給する。
    <フレームメモリ>
 フレームメモリ121は、画像に関するデータの記憶に関する処理を行う。例えば、フレームメモリ121は、演算部119から供給される局所復号画像Rlocalや、インループフィルタ部120から供給されるフィルタ処理された局所復号画像Rlocalを入力とし、それを保持(記憶)する。また、フレームメモリ121は、その局所復号画像Rlocalを用いてピクチャ単位毎の復号画像Rを再構築し、保持する(フレームメモリ121内のバッファへ格納する)。フレームメモリ121は、予測部122の要求に応じて、その復号画像R(またはその一部)を予測部122に供給する。
    <予測部>
 予測部122は、予測画像の生成に関する処理を行う。例えば、予測部122は、制御部101から供給される予測モード情報Pinfoと、並べ替えバッファ111から供給される入力画像(元画像)と、フレームメモリ121から読み出す復号画像R(またはその一部)を入力とする。予測部122は、予測モード情報Pinfoや入力画像(元画像)を用い、インター予測やイントラ予測等の予測処理を行い、復号画像Rを参照画像として参照して予測を行い、その予測結果に基づいて動き補償処理を行い、予測画像Pを生成する。予測部122は、生成した予測画像Pを演算部112および演算部119に供給する。また、予測部122は、以上の処理により選択した予測モード、すなわち最適な予測モードに関する情報を、必要に応じて符号化部115に供給する。
 ここで、予測部122は、このようなインター予測処理を行う際に、図2を参照して上述したように、サブブロックの大きさを切り替えることができる。さらに、予測部122は、図5および図6を参照して上述したように、補間フィルタのタップ長を切り替えて、画素の補間を行うことができる。そして、予測部122は、補間フィルタのタップ長を削減した場合には、サブブロックの外側に位置する画素の画素値を、その画素の近傍にある画素の画素値で置き換えて、補間フィルタを適用する。
    <レート制御部>
 レート制御部123は、レート制御に関する処理を行う。例えば、レート制御部123は、蓄積バッファ116に蓄積された符号化データの符号量に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部114の量子化動作のレートを制御する。
 以上のような構成の画像符号化装置12において、制御部101は、サブブロックサイズを識別するサブブロックサイズ識別情報を設定し、符号化部115は、サブブロックサイズ識別情報を含む符号化データを生成する。また、予測部122は、サブブロックの大きさを切り替えてインター予測処理を行い、その際に、補間フィルタのタップ長を切り替えて画素を補間する。従って、画像符号化装置12は、大きなサブブロックを使用したり、短いタップ長の補間フィルタを用いたりすることで、インター予測処理における処理量を削減することができる。
 なお、図2を参照して上述したような符号化回路23において設定部および符号化部として行われる各処理は、図7に示す各ブロックにおいて個々に行われるのではなく、例えば、複数のブロックにより行われるようにしてもよい。
 <画像復号装置の構成例>
 図8は、本技術を適用した画像復号装置の一実施の形態の構成例を示すブロック図である。図8に示される画像復号装置13は、AVCやHEVCのように、画像とその予測画像との予測残差が符号化された符号化データを復号する装置である。例えば、画像復号装置13は、非特許文献1、非特許文献2、または非特許文献3に記載されている技術を実装し、それらの文献のいずれかに記載された規格に準拠した方法で動画像の画像データが符号化された符号化データを復号する。例えば、画像復号装置13は、上述の画像符号化装置12により生成された符号化データ(ビットストリーム)を復号する。
 なお、図8においては、処理部やデータの流れ等の主なものを示しており、図8に示されるものが全てとは限らない。つまり、画像復号装置13において、図8においてブロックとして示されていない処理部が存在したり、図8において矢印等として示されていない処理やデータの流れが存在したりしてもよい。
 図8において、画像復号装置13は、蓄積バッファ211、復号部212、逆量子化部213、逆直交変換部214、演算部215、インループフィルタ部216、並べ替えバッファ217、フレームメモリ218、および予測部219を備えて構成される。なお、予測部219は、不図示のイントラ予測部およびインター予測部を備えている。画像復号装置13は、符号化データ(ビットストリーム)を復号することによって、動画像データを生成するための装置である。
    <蓄積バッファ>
 蓄積バッファ211は、画像復号装置13に入力されたビットストリームを取得し、保持(記憶)する。蓄積バッファ211は、所定のタイミングにおいて、または、所定の条件が整う等した場合、蓄積しているビットストリームを復号部212に供給する。
    <復号部>
 復号部212は、画像の復号に関する処理を行う。例えば、復号部212は、蓄積バッファ211から供給されるビットストリームを入力とし、シンタックステーブルの定義に沿って、そのビット列から、各シンタックス要素のシンタックス値を可変長復号し、パラメータを導出する。
 シンタックス要素およびシンタックス要素のシンタックス値から導出されるパラメータには、例えば、ヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo、残差情報Rinfo、フィルタ情報Finfoなどの情報が含まれる。つまり、復号部212は、ビットストリームから、これらの情報をパースする(解析して取得する)。これらの情報について以下に説明する。
     <ヘッダ情報Hinfo>
 ヘッダ情報Hinfoは、例えば、VPS(Video Parameter Set)/SPS(Sequence Parameter Set)/PPS(Picture Parameter Set)/SH(スライスヘッダ)などのヘッダ情報を含む。ヘッダ情報Hinfoには、例えば、画像サイズ(横幅PicWidth、縦幅PicHeight)、ビット深度(輝度bitDepthY, 色差bitDepthC)、色差アレイタイプChromaArrayType、CUサイズの最大値MaxCUSize/最小値MinCUSize、4分木分割(Quad-tree分割ともいう)の最大深度MaxQTDepth/最小深度MinQTDepth、2分木分割(Binary-tree分割)の最大深度MaxBTDepth/最小深度MinBTDepth、変換スキップブロックの最大値MaxTSSize(最大変換スキップブロックサイズともいう)、各符号化ツールのオンオフフラグ(有効フラグともいう)などを規定する情報が含まれる。
 例えば、ヘッダ情報Hinfoに含まれる符号化ツールのオンオフフラグとしては、以下に示す変換、量子化処理に関わるオンオフフラグがある。なお、符号化ツールのオンオフフラグは、該符号化ツールに関わるシンタックスが符号化データ中に存在するか否かを示すフラグとも解釈することができる。また、オンオフフラグの値が1(真)の場合、該符号化ツールが使用可能であることを示し、オンオフフラグの値が0(偽)の場合、該符号化ツールが使用不可であることを示す。なお、フラグ値の解釈は逆であってもよい。
  コンポーネント間予測有効フラグ(ccp_enabled_flag):コンポーネント間予測(CCP(Cross-Component Prediction),CC予測とも称する)が使用可能であるか否かを示すフラグ情報である。例えば、このフラグ情報が「1」(真)の場合、使用可能であることが示され、「0」(偽)の場合、使用不可であることが示される。
 なお、このCCPは、コンポーネント間線形予測(CCLMまたはCCLMP)とも称する。
     <予測モード情報Pinfo>
 予測モード情報Pinfoには、例えば、処理対象PB(予測ブロック)のサイズ情報PBSize(予測ブロックサイズ)、イントラ予測モード情報IPinfo、動き予測情報MVinfo等の情報が含まれる。
 イントラ予測モード情報IPinfoには、例えば、JCTVC-W1005, 7.3.8.5 Coding Unit syntax中のprev_intra_luma_pred_flag, mpm_idx, rem_intra_pred_mode、およびそのシンタックスから導出される輝度イントラ予測モードIntraPredModeY等が含まれる。
 また、イントラ予測モード情報IPinfoには、例えば、コンポーネント間予測フラグ(ccp_flag(cclmp_flag))、多クラス線形予測モードフラグ(mclm_flag)、色差サンプル位置タイプ識別子(chroma_sample_loc_type_idx)、色差MPM識別子(chroma_mpm_idx)、および、これらのシンタックスから導出される輝度イントラ予測モード(IntraPredModeC)等が含まれる。
 コンポーネント間予測フラグ(ccp_flag(cclmp_flag))は、コンポーネント間線形予測を適用するか否かを示すフラグ情報である。例えば、ccp_flag==1のとき、コンポーネント間予測を適用することを示し、ccp_flag==0のとき、コンポーネント間予測を適用しないことを示す。
 多クラス線形予測モードフラグ(mclm_flag)は、線形予測のモードに関する情報(線形予測モード情報)である。より具体的には、多クラス線形予測モードフラグ(mclm_flag)は、多クラス線形予測モードにするか否かを示すフラグ情報である。例えば、「0」の場合、1クラスモード(単一クラスモード)(例えばCCLMP)であることを示し、「1」の場合、2クラスモード(多クラスモード)(例えばMCLMP)であることを示す。
 色差サンプル位置タイプ識別子(chroma_sample_loc_type_idx)は、色差コンポーネントの画素位置のタイプ(色差サンプル位置タイプとも称する)を識別する識別子である。例えば色フォーマットに関する情報である色差アレイタイプ(ChromaArrayType)が420形式を示す場合、色差サンプル位置タイプ識別子は、次に示すような割り当て方となる。
  chroma_sample_loc_type_idx == 0 : Type2
  chroma_sample_loc_type_idx == 1 : Type3
  chroma_sample_loc_type_idx == 2 : Type0
  chroma_sample_loc_type_idx == 3 : Type1
 なお、この色差サンプル位置タイプ識別子(chroma_sample_loc_type_idx)は、色差コンポーネントの画素位置に関する情報(chroma_sample_loc_info())として(に格納されて)伝送される。
 色差MPM識別子(chroma_mpm_idx)は、色差イントラ予測モード候補リスト(intraPredModeCandListC)の中のどの予測モード候補を色差イントラ予測モードとして指定するかを表す識別子である。
 動き予測情報MVinfoには、例えば、merge_idx, merge_flag, inter_pred_idc, ref_idx_LX, mvp_lX_flag, X={0,1}, mvd等の情報が含まれる(例えば、JCTVC-W1005, 7.3.8.6 Prediction Unit Syntaxを参照)。
 もちろん、予測モード情報Pinfoに含まれる情報は任意であり、これらの情報以外の情報が含まれるようにしてもよい。
     <変換情報Tinfo>
 変換情報Tinfoには、例えば、以下の情報が含まれる。もちろん、変換情報Tinfoに含まれる情報は任意であり、これらの情報以外の情報が含まれるようにしてもよい。
  処理対象変換ブロックの横幅サイズTBWSizeおよび縦幅TBHSize(または、2を底とする各TBWSize、TBHSizeの対数値log2TBWSize、log2TBHSizeであってもよい)。
  変換スキップフラグ(ts_flag):(逆)プライマリ変換および(逆)セカンダリ変換をスキップか否かを示すフラグである。
  スキャン識別子(scanIdx)
  量子化パラメータ(qp)
  量子化マトリックス(scaling_matrix(例えば、JCTVC-W1005, 7.3.4 Scaling list data syntax))
     <残差情報Rinfo>
 残差情報Rinfo(例えば、JCTVC-W1005の7.3.8.11 Residual Coding syntaxを参照)には、例えば以下のシンタックスが含まれる。
  cbf(coded_block_flag):残差データ有無フラグ
  last_sig_coeff_x_pos:ラスト非ゼロ係数X座標
  last_sig_coeff_y_pos:ラスト非ゼロ係数Y座標
  coded_sub_block_flag:サブブロック非ゼロ係数有無フラグ
  sig_coeff_flag:非ゼロ係数有無フラグ
  gr1_flag:非ゼロ係数のレベルが1より大きいかを示すフラグ(GR1フラグとも呼ぶ)
  gr2_flag:非ゼロ係数のレベルが2より大きいかを示すフラグ(GR2フラグとも呼ぶ)
  sign_flag:非ゼロ係数の正負を示す符号(サイン符号とも呼ぶ)
  coeff_abs_level_remaining:非ゼロ係数の残余レベル(非ゼロ係数残余レベルとも呼ぶ)
など。
 もちろん、残差情報Rinfoに含まれる情報は任意であり、これらの情報以外の情報が含まれるようにしてもよい。
     <フィルタ情報Finfo>
 フィルタ情報Finfoには、例えば、以下に示す各フィルタ処理に関する制御情報が含まれる。
  デブロッキングフィルタ(DBF)に関する制御情報
  画素適応オフセット(SAO)に関する制御情報
  適応ループフィルタ(ALF)に関する制御情報
  その他の線形・非線形フィルタに関する制御情報
 より具体的には、例えば、各フィルタを適用するピクチャや、ピクチャ内の領域を指定する情報や、CU単位のフィルタOn/Off制御情報、スライス、タイルの境界に関するフィルタOn/Off制御情報などが含まれる。もちろん、フィルタ情報Finfoに含まれる情報は任意であり、これらの情報以外の情報が含まれるようにしてもよい。
 復号部212の説明に戻り、復号部212は、残差情報Rinfoを参照して、各変換ブロック内の各係数位置の量子化変換係数レベルlevelを導出する。復号部212は、その量子化変換係数レベルlevelを、逆量子化部213に供給する。
 また、復号部212は、パースしたヘッダ情報Hinfo、予測モード情報Pinfo、量子化変換係数レベルlevel、変換情報Tinfo、フィルタ情報Finfoを各ブロックへ供給する。具体的には以下の通りである。
  ヘッダ情報Hinfoは、逆量子化部213、逆直交変換部214、予測部219、インループフィルタ部216に供給される。
  予測モード情報Pinfoは、逆量子化部213および予測部219に供給される。
  変換情報Tinfoは、逆量子化部213および逆直交変換部214に供給される。
  フィルタ情報Finfoは、インループフィルタ部216に供給される。
 もちろん、上述の例は一例であり、この例に限定されない。例えば、各符号化パラメータが任意の処理部に供給されるようにしてもよい。また、その他の情報が、任意の処理部に供給されるようにしてもよい。
 さらに、復号部212は、サブブロックサイズを識別するサブブロックサイズ識別情報がビットストリームに含まれている場合、そのサブブロックサイズ識別情報をパースすることができる。
    <逆量子化部>
 逆量子化部213は、逆量子化に関する処理を行う。例えば、逆量子化部213は、復号部212から供給される変換情報Tinfoおよび量子化変換係数レベルlevelを入力とし、その変換情報Tinfoに基づいて、量子化変換係数レベルlevelの値をスケーリング(逆量子化)し、逆量子化後の変換係数Coeff_IQを導出する。
 なお、この逆量子化は、量子化部114による量子化の逆処理として行われる。また、この逆量子化は、逆量子化部117による逆量子化と同様の処理である。つまり、逆量子化部117は、逆量子化部213と同様の処理(逆量子化)を行う。
 逆量子化部213は、導出した変換係数Coeff_IQを逆直交変換部214に供給する。
    <逆直交変換部>
 逆直交変換部214は、逆直交変換に関する処理を行う。例えば、逆直交変換部214は、逆量子化部213から供給される変換係数Coeff_IQ、および、復号部212から供給される変換情報Tinfoを入力とし、その変換情報Tinfoに基づいて、変換係数Coeff_IQに対して逆直交変換処理を行い、予測残差D'を導出する。
 なお、この逆直交変換は、直交変換部113による直交変換の逆処理として行われる。また、この逆直交変換は、逆直交変換部118による逆直交変換と同様の処理である。つまり、逆直交変換部118は、逆直交変換部214と同様の処理(逆直交変換)を行う。
 逆直交変換部214は、導出した予測残差D'を演算部215に供給する。
    <演算部>
 演算部215は、画像に関する情報の加算に関する処理を行う。例えば、演算部215は、逆直交変換部214から供給される予測残差D'と、予測部219から供給される予測画像Pとを入力とする。演算部215は、予測残差D'とその予測残差D'に対応する予測画像P(予測信号)とを加算し、局所復号画像Rlocalを導出(Rlocal=D'+P)する。
 演算部215は、導出した局所復号画像Rlocalを、インループフィルタ部216およびフレームメモリ218に供給する。
    <インループフィルタ部>
 インループフィルタ部216は、インループフィルタ処理に関する処理を行う。例えば、インループフィルタ部216は、演算部215から供給される局所復号画像Rlocalと、復号部212から供給されるフィルタ情報Finfoとを入力とする。なお、インループフィルタ部216に入力される情報は任意であり、これらの情報以外の情報が入力されてもよい。
 インループフィルタ部216は、そのフィルタ情報Finfoに基づいて、局所復号画像Rlocalに対して適宜フィルタ処理を行う。
 例えば、インループフィルタ部216は、非特許文献1に記載のように、バイラテラルフィルタ、デブロッキングフィルタ(DBF(DeBlocking Filter))、適応オフセットフィルタ(SAO(Sample Adaptive Offset))、および適応ループフィルタ(ALF(Adaptive Loop Filter))の4つのインループフィルタをこの順に適用する。なお、どのフィルタを適用するか、どの順で適用するかは任意であり、適宜選択可能である。
 インループフィルタ部216は、符号化側(例えば、図7の画像符号化装置12のインループフィルタ部120)により行われたフィルタ処理に対応するフィルタ処理を行う。
 もちろん、インループフィルタ部216が行うフィルタ処理は任意であり、上述の例に限定されない。例えば、インループフィルタ部216がウィーナーフィルタ等を適用するようにしてもよい。
 インループフィルタ部216は、フィルタ処理された局所復号画像Rlocalを並べ替えバッファ217およびフレームメモリ218に供給する。
    <並べ替えバッファ>
 並べ替えバッファ217は、インループフィルタ部216から供給された局所復号画像Rlocalを入力とし、それを保持(記憶)する。並べ替えバッファ217は、その局所復号画像Rlocalを用いてピクチャ単位毎の復号画像Rを再構築し、保持する(バッファ内に格納する)。並べ替えバッファ217は、得られた復号画像Rを、復号順から再生順に並べ替える。並べ替えバッファ217は、並べ替えた復号画像R群を動画像データとして画像復号装置13の外部に出力する。
    <フレームメモリ>
 フレームメモリ218は、画像に関するデータの記憶に関する処理を行う。例えば、フレームメモリ218は、演算部215より供給される局所復号画像Rlocalを入力とし、ピクチャ単位毎の復号画像Rを再構築して、フレームメモリ218内のバッファへ格納する。
 また、フレームメモリ218は、インループフィルタ部216から供給される、インループフィルタ処理された局所復号画像Rlocalを入力とし、ピクチャ単位毎の復号画像Rを再構築して、フレームメモリ218内のバッファへ格納する。フレームメモリ218は、適宜、その記憶している復号画像R(またはその一部)を参照画像として予測部219に供給する。
 なお、フレームメモリ218が、復号画像の生成に係るヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo、フィルタ情報Finfoなどを記憶するようにしても良い。
    <予測部>
 予測部219は、予測画像の生成に関する処理を行う。例えば、予測部219は、復号部212から供給される予測モード情報Pinfoを入力とし、その予測モード情報Pinfoによって指定される予測方法により予測を行い、予測画像Pを導出する。その導出の際、予測部219は、その予測モード情報Pinfoによって指定される、フレームメモリ218に格納されたフィルタ前またはフィルタ後の復号画像R(またはその一部)を、参照画像として利用する。予測部219は、導出した予測画像Pを、演算部215に供給する。
 ここで、予測部219は、インター予測処理を行う際に、図3を参照して上述したように、復号部212がビットストリームからパースしたサブブロックサイズ識別情報に従って、サブブロックの大きさを切り替えることができる。さらに、予測部219は、図5および図6を参照して上述したように、補間フィルタのタップ長を切り替えて、画素の補間を行うことができる。そして、予測部219は、補間フィルタのタップ長を削減した場合には、サブブロックの外側に位置する画素の画素値を、その画素の近傍にある画素の画素値で置き換えて、補間フィルタを適用する。
 以上のような構成の画像復号装置13において、復号部212は、ビットストリームからサブブロックサイズ識別情報をパースするパース処理を行う。また、予測部219は、そのサブブロックサイズ識別情報に従って、サブブロックの大きさを切り替えてインター予測処理を行い、その際に、補間フィルタのタップ長を切り替えて画素を補間する。従って、画像復号装置13は、大きなサブブロックを使用したり、短いタップ長の補間フィルタを用いたりすることで、インター予測処理における処理量を削減することができる。
 なお、図3を参照して上述したような復号回路33においてパース部および復号部として行われる各処理は、図8に示す各ブロックにおいて個々に行われるのではなく、例えば、複数のブロックにより行われるようにしてもよい。
 <画像符号化処理および画像復号処理>
 図9乃至図14のフローチャートを参照して、画像符号化装置12が実行する画像符号化処理、および、画像復号装置13が実行する画像復号処理について説明する。
 図9は、画像符号化装置12が実行する画像符号化処理を説明するフローチャートである。
 画像符号化処理が開始されると、ステップS11において、並べ替えバッファ111は、制御部101に制御されて、入力された動画像データのフレームの順を表示順から符号化順に並べ替える。
 ステップS12において、制御部101は、並べ替えバッファ111が保持する入力画像に対して、処理単位を設定する(ブロック分割を行う)。ここで処理単位を設定する際に、図10および図11を参照して後述するようなサブブロックサイズ識別情報を設定する処理も行われる。
 ステップS13において、制御部101は、並べ替えバッファ111が保持する入力画像についての符号化パラメータを決定(設定)する。
 ステップS14において、予測部122は、予測処理を行い、最適な予測モードの予測画像等を生成する。例えば、この予測処理において、予測部122は、イントラ予測を行って最適なイントラ予測モードの予測画像等を生成し、インター予測を行って最適なインター予測モードの予測画像等を生成し、それらの中から、コスト関数値等に基づいて最適な予測モードを選択する。ここで予測処理を行う際に、図2を参照して上述したように、インター予測処理で用いるサブブロックの大きさを切り替えることができる。さらに、予測処理では、図12および図13を参照して後述するように、補間フィルタのタップ長を切り替えて画素を補完する処理も行われる。
 ステップS15において、演算部112は、入力画像と、ステップS14の予測処理により選択された最適なモードの予測画像との差分を演算する。つまり、演算部112は、入力画像と予測画像との予測残差Dを生成する。このようにして求められた予測残差Dは、元の画像データに比べてデータ量が低減される。したがって、画像をそのまま符号化する場合に比べて、データ量を圧縮することができる。
 ステップS16において、直交変換部113は、ステップS15の処理により生成された予測残差Dに対して直交変換処理を行い、変換係数Coeffを導出する。
 ステップS17において、量子化部114は、制御部101により算出された量子化パラメータを用いる等して、ステップS16の処理により得られた変換係数Coeffを量子化し、量子化変換係数レベルlevelを導出する。
 ステップS18において、逆量子化部117は、ステップS17の処理により生成された量子化変換係数レベルlevelを、そのステップS17の量子化の特性に対応する特性で逆量子化し、変換係数Coeff_IQを導出する。
 ステップS19において、逆直交変換部118は、ステップS18の処理により得られた変換係数Coeff_IQを、ステップS16の直交変換処理に対応する方法で逆直交変換し、予測残差D'を導出する。なお、この逆直交変換処理は、復号側において行われる逆直交変換処理(後述する)と同様であるので、このステップS19の逆直交変換処理については、復号側について行う説明(後述する)を適用することができる。
 ステップS20において、演算部119は、ステップS19の処理により導出された予測残差D'に、ステップS14の予測処理により得られた予測画像を加算することにより、局所的に復号された復号画像を生成する。
 ステップS21において、インループフィルタ部120は、ステップS20の処理により導出された、局所的に復号された復号画像に対して、インループフィルタ処理を行う。
 ステップS22において、フレームメモリ121は、ステップS20の処理により導出された、局所的に復号された復号画像や、ステップS21においてフィルタ処理された、局所的に復号された復号画像を記憶する。
 ステップS23において、符号化部115は、ステップS17の処理により得られた量子化変換係数レベルlevelを符号化する。例えば、符号化部115は、画像に関する情報である量子化変換係数レベルlevelを、算術符号化等により符号化し、符号化データを生成する。また、このとき、符号化部115は、各種符号化パラメータ(ヘッダ情報Hinfo、予測モード情報Pinfo、変換情報Tinfo)を符号化する。さらに、符号化部115は、量子化変換係数レベルlevelから残差情報RInfoを導出し、その残差情報RInfoを符号化する。
 ステップS24において、蓄積バッファ116は、このようにして得られた符号化データを蓄積し、例えばビットストリームとして、それを画像符号化装置12の外部に出力する。このビットストリームは、例えば、伝送路や記録媒体を介して復号側に伝送される。また、レート制御部123は、必要に応じてレート制御を行う。
 ステップS24の処理が終了すると、画像符号化処理が終了する。
 以上のような流れの画像符号化処理において、ステップS12およびステップS14の処理として、上述した本技術を適用した処理が行われる。従って、この画像符号化処理を実行することにより、大きなサブブロックを使用したり、短いタップ長の補間フィルタを用いたりすることで、インター予測処理における処理量を削減することができる。
 図10は、図9のステップS12においてサブブロックサイズ識別情報を設定する処理の第1の処理例を説明するフローチャートである。
 ステップS31において、制御部101は、インター予測処理における予測方向はBi-predictionであるか否かを判定する。
 ステップS31において、制御部101が、インター予測処理における予測方向はBi-predictionであると判定した場合、処理はステップS32に進む。そして、ステップS32において、制御部101は、8×8の大きさのサブブロックを用いるようにサブブロックサイズ識別情報を設定した後、処理は終了される。
 一方、ステップS31において、制御部101が、インター予測処理における予測方向はBi-predictionでないと判定した場合、処理はステップS33に進む。そして、ステップS33において、制御部101は、4×4の大きさのサブブロックを用いるようにサブブロックサイズ識別情報を設定した後、処理は終了される。
 以上のように、制御部101は、インター予測処理における予測方向がBi-predictionである場合には、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定することができる。
 図11は、図9のステップS12においてサブブロックサイズ識別情報を設定する処理の第2の処理例を説明するフローチャートである。
 ステップS41において、制御部101は、インター予測処理における予測方向はBi-predictionであるか否かを判定する。
 ステップS41において、制御部101が、インター予測処理における予測方向はBi-predictionであると判定した場合、処理はステップS42に進む。ステップS42において、制御部101は、インター予測処理としてアフィン変換が適用されるか否かを判定する。
 ステップS42において、制御部101が、インター予測処理としてアフィン変換が適用されると判定した場合、処理はステップS43に進む。そして、ステップS43において、制御部101は、8×8の大きさのサブブロックを用いるようにサブブロックサイズ識別情報を設定した後、処理は終了される。
 一方、制御部101が、ステップS41において、インター予測処理における予測方向はBi-predictionでないと判定した場合、または、ステップS42において、インター予測処理としてアフィン変換が適用されないと判定した場合、処理はステップS44に進む。そして、ステップS44において、制御部101は、4×4の大きさのサブブロックを用いるようにサブブロックサイズ識別情報を設定した後、処理は終了される。
 以上のように、制御部101は、インター予測処理における予測方向がBi-predictionであり、かつ、インター予測処理としてアフィン変換が適用される場合には、サブブロックサイズが大きくなるようにサブブロックサイズ識別情報を設定することができる。
 なお、予測部122は、ステップS14で行う予測処理において、図10および図11と同様の処理を行って、インター予測処理で用いるサブブロックの大きさを切り替えることができる。
 図12は、図9のステップS14で行われる予測処理で用いる補間フィルタのタップ長を切り替える処理の第1の処理例を説明するフローチャートである。
 ステップS51において、予測部122は、インター予測処理においてアフィン変換が適用されるか否かを判定する。
 ステップS51において、予測部122が、インター予測処理においてアフィン変換が適用されると判定した場合、処理はステップS52に進む。そして、ステップS52において、予測部122は、6タップのタップ長の補間フィルタを用いて画素を補間した後、処理は終了される。
 一方、ステップS51において、予測部122が、インター予測処理においてアフィン変換が適用されないと判定した場合、処理はステップS53に進む。例えば、この場合、インター予測処理において平行移動が用いられ、ステップS53において、予測部122は、8タップのタップ長の補間フィルタを用いて画素を補間した後、処理は終了される。
 以上のように、予測部122は、インター予測処理においてアフィン変換が適用される場合には、短いタップ長の補間フィルタを用いて画素を補間することができる。
 図13は、図9のステップS14で行われる予測処理で用いる補間フィルタのタップ長を切り替える処理の第2の処理例を説明するフローチャートである。
 ステップS61において、予測部122は、インター予測処理における予測方向はBi-predictionであるか否かを判定する。
 ステップS61において、予測部122が、インター予測処理における予測方向はBi-predictionであると判定した場合、処理はステップS62に進む。ステップS62において、予測部122は、インター予測処理としてアフィン変換が適用されるか否かを判定する。
 ステップS62において、予測部122が、インター予測処理としてアフィン変換が適用されると判定した場合、処理はステップS63に進む。そして、ステップS63において、予測部122は、6タップのタップ長の補間フィルタを用いて画素を補間した後、処理は終了される。
 一方、予測部122が、ステップS61において、インター予測処理における予測方向はBi-predictionでないと判定した場合、または、ステップS62において、インター予測処理としてアフィン変換が適用されないと判定した場合、処理はステップS64に進む。例えば、この場合、インター予測処理において平行移動が用いられ、ステップS64において、予測部122は、8タップのタップ長の補間フィルタを用いて画素を補間した後、処理は終了される。
 以上のように、予測部122は、インター予測処理における予測方向がBi-predictionであり、かつ、インター予測処理としてアフィン変換が適用される場合には、短いタップ長の補間フィルタを用いて画素を補間することができる。
 図14は、画像復号装置13が実行する画像復号処理を説明するフローチャートである。
 画像復号処理が開始されると、蓄積バッファ211は、ステップS71において、画像復号装置13の外部から供給される符号化データ(ビットストリーム)を取得して保持する(蓄積する)。
 ステップS72において、復号部212は、その符号化データ(ビットストリーム)を復号し、量子化変換係数レベルlevelを得る。また、復号部212は、この復号により、符号化データ(ビットストリーム)から各種符号化パラメータをパースする(解析して取得する)。ここで復号処理を行う際に、図3を参照して上述したように、ビットストリームからサブブロックサイズ識別情報をパースする処理も行われる。
 ステップS73において、逆量子化部213は、ステップS72の処理により得られた量子化変換係数レベルlevelに対して、符号化側で行われた量子化の逆処理である逆量子化を行い、変換係数Coeff_IQを得る。
 ステップS74において、逆直交変換部214は、ステップS73の処理により得られた変換係数Coeff_IQに対して、符号化側で行われた直交変換処理の逆処理である逆直交変換処理を行い、予測残差D'を得る。
 ステップS75において、予測部219は、ステップS72においてパースされた情報に基づいて、符号化側より指定される予測方法で予測処理を実行し、フレームメモリ218に記憶されている参照画像を参照する等して、予測画像Pを生成する。ここで予測処理を行う際に、図3を参照して上述したように、インター予測処理で用いるサブブロックの大きさを切り替えることができる。さらに、予測処理では、図12および図13を参照して上述したのと同様に、補間フィルタのタップ長を切り替えて画素を補完する処理も行われる。
 ステップS76において、演算部215は、ステップS74の処理により得られた予測残差D'と、ステップS75の処理により得られた予測画像Pとを加算し、局所復号画像Rlocalを導出する。
 ステップS77において、インループフィルタ部216は、ステップS76の処理により得られた局所復号画像Rlocalに対して、インループフィルタ処理を行う。
 ステップS78において、並べ替えバッファ217は、ステップS77の処理により得られたフィルタ処理された局所復号画像Rlocalを用いて復号画像Rを導出し、その復号画像R群の順序を復号順から再生順に並べ替える。再生順に並べ替えられた復号画像R群は、動画像として画像復号装置13の外部に出力される。
 また、ステップS79において、フレームメモリ218は、ステップS76の処理により得られた局所復号画像Rlocal、および、ステップS77の処理により得られたフィルタ処理後の局所復号画像Rlocalの内、少なくとも一方を記憶する。
 ステップS79の処理が終了すると、画像復号処理が終了する。
 以上のような流れの画像復号処理において、ステップS72およびステップS75の処理として、上述した本技術を適用した処理が行われる。従って、この画像復号処理を実行することにより、大きなサブブロックを使用したり、短いタップ長の補間フィルタを用いたりすることで、インター予測処理における処理量を削減することができる。
 なお、上述したような補間フィルタについての処理を、例えば、AIF(Adaptive Interpolation Filter)に適用してもよい。
 <コンピュータの構成例>
 次に、上述した一連の処理は、ハードウェアにより行うこともできるし、ソフトウェアにより行うこともできる。一連の処理をソフトウェアによって行う場合には、そのソフトウェアを構成するプログラムが、汎用のコンピュータ等にインストールされる。
 図15は、上述した一連の処理を実行するプログラムがインストールされるコンピュータの一実施の形態の構成例を示すブロック図である。
 プログラムは、コンピュータに内蔵されている記録媒体としてのハードディスク305やROM303に予め記録しておくことができる。
 あるいはまた、プログラムは、ドライブ309によって駆動されるリムーバブル記録媒体311に格納(記録)しておくことができる。このようなリムーバブル記録媒体311は、いわゆるパッケージソフトウエアとして提供することができる。ここで、リムーバブル記録媒体311としては、例えば、フレキシブルディスク、CD-ROM(Compact Disc Read Only Memory),MO(Magneto Optical)ディスク,DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリ等がある。
 なお、プログラムは、上述したようなリムーバブル記録媒体311からコンピュータにインストールする他、通信網や放送網を介して、コンピュータにダウンロードし、内蔵するハードディスク305にインストールすることができる。すなわち、プログラムは、例えば、ダウンロードサイトから、ディジタル衛星放送用の人工衛星を介して、コンピュータに無線で転送したり、LAN(Local Area Network)、インターネットといったネットワークを介して、コンピュータに有線で転送することができる。
 コンピュータは、CPU(Central Processing Unit)302を内蔵しており、CPU302には、バス301を介して、入出力インタフェース310が接続されている。
 CPU302は、入出力インタフェース310を介して、ユーザによって、入力部307が操作等されることにより指令が入力されると、それに従って、ROM(Read Only Memory)303に格納されているプログラムを実行する。あるいは、CPU302は、ハードディスク305に格納されたプログラムを、RAM(Random Access Memory)304にロードして実行する。
 これにより、CPU302は、上述したフローチャートにしたがった処理、あるいは上述したブロック図の構成により行われる処理を行う。そして、CPU302は、その処理結果を、必要に応じて、例えば、入出力インタフェース310を介して、出力部306から出力、あるいは、通信部308から送信、さらには、ハードディスク305に記録等させる。
 なお、入力部307は、キーボードや、マウス、マイク等で構成される。また、出力部306は、LCD(Liquid Crystal Display)やスピーカ等で構成される。
 ここで、本明細書において、コンピュータがプログラムに従って行う処理は、必ずしもフローチャートとして記載された順序に沿って時系列に行われる必要はない。すなわち、コンピュータがプログラムに従って行う処理は、並列的あるいは個別に実行される処理(例えば、並列処理あるいはオブジェクトによる処理)も含む。
 また、プログラムは、1のコンピュータ(プロセッサ)により処理されるものであっても良いし、複数のコンピュータによって分散処理されるものであっても良い。さらに、プログラムは、遠方のコンピュータに転送されて実行されるものであっても良い。
 さらに、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)等)の集合を意味し、すべての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、1つの筐体の中に複数のモジュールが収納されている1つの装置は、いずれも、システムである。
 また、例えば、1つの装置(または処理部)として説明した構成を分割し、複数の装置(または処理部)として構成するようにしてもよい。逆に、以上において複数の装置(または処理部)として説明した構成をまとめて1つの装置(または処理部)として構成されるようにしてもよい。また、各装置(または各処理部)の構成に上述した以外の構成を付加するようにしてももちろんよい。さらに、システム全体としての構成や動作が実質的に同じであれば、ある装置(または処理部)の構成の一部を他の装置(または他の処理部)の構成に含めるようにしてもよい。
 また、例えば、本技術は、1つの機能を、ネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。
 また、例えば、上述したプログラムは、任意の装置において実行することができる。その場合、その装置が、必要な機能(機能ブロック等)を有し、必要な情報を得ることができるようにすればよい。
 また、例えば、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。換言するに、1つのステップに含まれる複数の処理を、複数のステップの処理として実行することもできる。逆に、複数のステップとして説明した処理を1つのステップとしてまとめて実行することもできる。
 なお、コンピュータが実行するプログラムは、プログラムを記述するステップの処理が、本明細書で説明する順序に沿って時系列に実行されるようにしても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで個別に実行されるようにしても良い。つまり、矛盾が生じない限り、各ステップの処理が上述した順序と異なる順序で実行されるようにしてもよい。さらに、このプログラムを記述するステップの処理が、他のプログラムの処理と並列に実行されるようにしても良いし、他のプログラムの処理と組み合わせて実行されるようにしても良い。
 なお、本明細書において複数説明した本技術は、矛盾が生じない限り、それぞれ独立に単体で実施することができる。もちろん、任意の複数の本技術を併用して実施することもできる。例えば、いずれかの実施の形態において説明した本技術の一部または全部を、他の実施の形態において説明した本技術の一部または全部と組み合わせて実施することもできる。また、上述した任意の本技術の一部または全部を、上述していない他の技術と併用して実施することもできる。
 <本技術の適用対象>
 本技術は、任意の画像符号化・復号方式に適用することができる。つまり、上述した本技術と矛盾しない限り、変換(逆変換)、量子化(逆量子化)、符号化(復号)、予測等、画像符号化・復号に関する各種処理の仕様は任意であり、上述した例に限定されない。また、上述した本技術と矛盾しない限り、これらの処理の内の一部を省略してもよい。
 また本技術は、複数の視点(ビュー(view))の画像を含む多視点画像の符号化・復号を行う多視点画像符号化・復号システムに適用することができる。その場合、各視点(ビュー(view))の符号化・復号において、本技術を適用するようにすればよい。
 さらに本技術は、所定のパラメータについてスケーラビリティ(scalability)機能を有するように複数レイヤ化(階層化)された階層画像の符号化・復号を行う階層画像符号化(スケーラブル符号化)・復号システムに適用することができる。その場合、各階層(レイヤ)の符号化・復号において、本技術を適用するようにすればよい。
 実施形態に係る画像符号化装置や画像復号装置は、例えば、衛星放送、ケーブルTVなどの有線放送、インターネット上での配信、およびセルラー通信による端末への配信などにおける送信機や受信機(例えばテレビジョン受像機や携帯電話機)、または、光ディスク、磁気ディスクおよびフラッシュメモリなどの媒体に画像を記録したり、これら記憶媒体から画像を再生したりする装置(例えばハードディスクレコーダやカメラ)などの、様々な電子機器に応用され得る。
 また、本技術は、任意の装置またはシステムを構成する装置に搭載するあらゆる構成、例えば、システムLSI(Large Scale Integration)等としてのプロセッサ(例えばビデオプロセッサ)、複数のプロセッサ等を用いるモジュール(例えばビデオモジュール)、複数のモジュール等を用いるユニット(例えばビデオユニット)、ユニットにさらにその他の機能を付加したセット(例えばビデオセット)等(すなわち、装置の一部の構成)として実施することもできる。
 さらに、本技術は、複数の装置により構成されるネットワークシステムにも適用することもできる。例えば、コンピュータ、AV(Audio Visual)機器、携帯型情報処理端末、IoT(Internet of Things)デバイス等の任意の端末に対して、画像(動画像)に関するサービスを提供するクラウドサービスに適用することもできる。
 なお、本技術を適用したシステム、装置、処理部等は、例えば、交通、医療、防犯、農業、畜産業、鉱業、美容、工場、家電、気象、自然監視等、任意の分野に利用することができる。また、その用途も任意である。
 例えば、本技術は、観賞用コンテンツ等の提供の用に供されるシステムやデバイスに適用することができる。また、例えば、本技術は、交通状況の監理や自動運転制御等、交通の用に供されるシステムやデバイスにも適用することができる。さらに、例えば、本技術は、セキュリティの用に供されるシステムやデバイスにも適用することができる。また、例えば、本技術は、機械等の自動制御の用に供されるシステムやデバイスに適用することができる。さらに、例えば、本技術は、農業や畜産業の用に供されるシステムやデバイスにも適用することができる。また、本技術は、例えば火山、森林、海洋等の自然の状態や野生生物等を監視するシステムやデバイスにも適用することができる。さらに、例えば、本技術は、スポーツの用に供されるシステムやデバイスにも適用することができる。
 <構成の組み合わせ例>
 なお、本技術は以下のような構成も取ることができる。
(1)
 画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定する設定部と、
 前記設定部による設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成する符号化部と
 を備える画像符号化装置。
(2)
 前記符号化部は、前記サブブロックに対してアフィン変換を適用して、前記インター予測処理を行う
 上記(1)に記載の画像符号化装置。
(3)
 前記符号化部は、前記サブブロックに対してFRUC(Frame Rate Up Conversion)を適用して、前記インター予測処理を行う
 上記(1)に記載の画像符号化装置。
(4)
 前記設定部は、前記画像の符号化または前記ビットストリームの復号を実行するアプリケーションにおいて要求される処理量が所定の設定値以下である場合、前記サブブロックサイズが大きくなるように前記識別情報を設定する
 上記(1)から(3)までのいずれかに記載の画像符号化装置。
(5)
 前記設定部は、前記インター予測処理における予測方向に従って、前記サブブロックサイズを切り替える
 上記(1)から(4)までのいずれかに記載の画像符号化装置。
(6)
 前記設定部は、前記インター予測処理における予測方向がBi-predictionである場合、前記サブブロックサイズが大きくなるように前記識別情報を設定する
 上記(5)に記載の画像符号化装置。
(7)
 前記設定部は、前記インター予測処理における予測方向がBi-predictionであるか否かに従って、前記サブブロックサイズが異なるように前記識別情報を設定する
 上記(5)に記載の画像符号化装置。
(8)
 前記符号化部は、前記インター予測処理としてアフィン変換を適用する場合、前記インター予測処理において、タップ長を削減した補間フィルタを用いて画素の補間を行う
 上記(1)から(7)までのいずれかに記載の画像符号化装置。
(9)
 前記符号化部は、前記インター予測処理として前記アフィン変換を適用する場合に用いる前記補間フィルタのタップ長と、前記インター予測処理として前記アフィン変換と異なる予測処理を適用する場合に用いる前記補間フィルタとのタップ長で、異なるタップ長となるように前記補間フィルタを切り替える
 上記(8)に記載の画像符号化装置。
(10)
 前記符号化部は、前記インター予測処理として前記アフィン変換を適用する場合に用いる前記補間フィルタのタップ長が6タップとなり、前記インター予測処理として前記アフィン変換と異なる予測処理を適用する場合に用いる前記補間フィルタのタップ長が8タップとなるように、前記補間フィルタを切り替える
 上記(9)に記載の画像符号化装置。
(11)
 前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合に、前記サブブロックサイズを切り替えて前記インター予測処理を行う
 上記(1)から(10)までのいずれかに記載の画像符号化装置。
(12)
 前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、大きな前記サブブロックサイズの前記サブブロックで前記インター予測処理を行う
 上記(1)から(11)までのいずれかに記載の画像符号化装置。
(13)
 前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、前記インター予測処理において、画素の補間に用いる補間フィルタのタップ数を切り替える
 上記(1)から(12)までのいずれかに記載の画像符号化装置。
(14)
 前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、前記インター予測処理において、タップ長を削減した前記補間フィルタを用いて前記画素の補間を行う
 上記(13)に記載の画像符号化装置。
(15)
 前記符号化部は、前記サブブロックの画像の外側に位置する画素の画素値を、その画素の近傍にある画素の画素値で置き換えて、前記補間フィルタを適用する
 上記(14)に記載の画像符号化装置。
(16)
 前記符号化部は、前記サブブロックにおける外側の画素を除いた画像を用いて、前記補間フィルタを適用する
 上記(15)に記載の画像符号化装置。
(17)
 画像を符号化する画像符号化装置が、
 前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定することと、
 その設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成することと
 を含む画像符号化方法。
(18)
 画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースするパース部と、
 前記パース部によりパースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成する復号部と
 を備える画像復号装置。
(19)
 画像を復号する画像復号装置が、
 前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースすることと、
 パースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成することと
 を含む画像復号方法。
 なお、本実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。また、本明細書に記載された効果はあくまで例示であって限定されるものではなく、他の効果があってもよい。
 11 画像処理システム, 12 画像符号化装置, 13 画像復号装置, 21 画像処理チップ, 22 外部メモリ, 23 符号化回路, 24 キャッシュメモリ 31 画像処理チップ, 32 外部メモリ, 33 復号回路, 34 キャッシュメモリ, 101 制御部, 122 予測部, 113 直交変換部, 115 符号化部, 118 逆直交変換部, 120 インループフィルタ部, 212 復号部, 214 逆直交変換部, 216 インループフィルタ部, 219 予測部

Claims (19)

  1.  画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定する設定部と、
     前記設定部による設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成する符号化部と
     を備える画像符号化装置。
  2.  前記符号化部は、前記サブブロックに対してアフィン変換を適用して、前記インター予測処理を行う
     請求項1に記載の画像符号化装置。
  3.  前記符号化部は、前記サブブロックに対してFRUC(Frame Rate Up Conversion)を適用して、前記インター予測処理を行う
     請求項1に記載の画像符号化装置。
  4.  前記設定部は、前記画像の符号化または前記ビットストリームの復号を実行するアプリケーションにおいて要求される処理量が所定の設定値以下である場合、前記サブブロックサイズが大きくなるように前記識別情報を設定する
     請求項1に記載の画像符号化装置。
  5.  前記設定部は、前記インター予測処理における予測方向に従って、前記サブブロックサイズを切り替える
     請求項1に記載の画像符号化装置。
  6.  前記設定部は、前記インター予測処理における予測方向がBi-predictionである場合、前記サブブロックサイズが大きくなるように前記識別情報を設定する
     請求項5に記載の画像符号化装置。
  7.  前記設定部は、前記インター予測処理における予測方向がBi-predictionであるか否かに従って、前記サブブロックサイズが異なるように前記識別情報を設定する
     請求項5に記載の画像符号化装置。
  8.  前記符号化部は、前記インター予測処理としてアフィン変換を適用する場合、前記インター予測処理において、タップ長を削減した補間フィルタを用いて画素の補間を行う
     請求項1に記載の画像符号化装置。
  9.  前記符号化部は、前記インター予測処理として前記アフィン変換を適用する場合に用いる前記補間フィルタのタップ長と、前記インター予測処理として前記アフィン変換と異なる予測処理を適用する場合に用いる前記補間フィルタとのタップ長で、異なるタップ長となるように前記補間フィルタを切り替える
     請求項8に記載の画像符号化装置。
  10.  前記符号化部は、前記インター予測処理として前記アフィン変換を適用する場合に用いる前記補間フィルタのタップ長が6タップとなり、前記インター予測処理として前記アフィン変換と異なる予測処理を適用する場合に用いる前記補間フィルタのタップ長が8タップとなるように、前記補間フィルタを切り替える
     請求項9に記載の画像符号化装置。
  11.  前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合に、前記サブブロックサイズを切り替えて前記インター予測処理を行う
     請求項1に記載の画像符号化装置。
  12.  前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、大きな前記サブブロックサイズの前記サブブロックで前記インター予測処理を行う
     請求項11に記載の画像符号化装置。
  13.  前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、前記インター予測処理において、画素の補間に用いる補間フィルタのタップ数を切り替える
     請求項1に記載の画像符号化装置。
  14.  前記符号化部は、前記インター予測処理としてアフィン変換を適用し、かつ、前記インター予測処理における予測方向がBi-predictionである場合、前記インター予測処理において、タップ長を削減した前記補間フィルタを用いて前記画素の補間を行う
     請求項13に記載の画像符号化装置。
  15.  前記符号化部は、前記サブブロックの画像の外側に位置する画素の画素値を、その画素の近傍にある画素の画素値で置き換えて、前記補間フィルタを適用する
     請求項14に記載の画像符号化装置。
  16.  前記符号化部は、前記サブブロックにおける外側の画素を除いた画像を用いて、前記補間フィルタを適用する
     請求項15に記載の画像符号化装置。
  17.  画像を符号化する画像符号化装置が、
     前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を設定することと、
     その設定に応じた大きさの前記サブブロックに切り替えて前記インター予測処理を行って前記画像を符号化し、前記識別情報を含むビットストリームを生成することと
     を含む画像符号化方法。
  18.  画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースするパース部と、
     前記パース部によりパースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成する復号部と
     を備える画像復号装置。
  19.  画像を復号する画像復号装置が、
     前記画像に対するインター予測処理で用いられるサブブロックの大きさを表すサブブロックサイズを識別する識別情報を含むビットストリームから、前記識別情報をパースすることと、
     パースされた前記識別情報に従った大きさの前記サブブロックに切り替えて前記インター予測処理を行い、前記ビットストリームを復号して前記画像を生成することと
     を含む画像復号方法。
PCT/JP2019/011046 2018-03-30 2019-03-18 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法 WO2019188464A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/040,836 US20210037248A1 (en) 2018-03-30 2019-03-18 Image encoding device, image encoding method, image decoding device, and image decoding method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-068829 2018-03-30
JP2018068829 2018-03-30

Publications (1)

Publication Number Publication Date
WO2019188464A1 true WO2019188464A1 (ja) 2019-10-03

Family

ID=68058861

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/011046 WO2019188464A1 (ja) 2018-03-30 2019-03-18 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法

Country Status (2)

Country Link
US (1) US20210037248A1 (ja)
WO (1) WO2019188464A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020141591A1 (ja) * 2018-12-31 2020-07-09 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 符号化装置、復号装置、符号化方法、及び復号方法

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11356698B2 (en) 2019-12-30 2022-06-07 Tencent America LLC Method for parameter set reference constraints in coded video stream

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017195554A1 (ja) * 2016-05-13 2017-11-16 シャープ株式会社 予測画像生成装置、動画像復号装置、および動画像符号化装置。
WO2018008678A1 (ja) * 2016-07-08 2018-01-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 復号装置、符号化装置、復号方法及び符号化方法
WO2018047668A1 (ja) * 2016-09-12 2018-03-15 ソニー株式会社 画像処理装置および画像処理方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017195554A1 (ja) * 2016-05-13 2017-11-16 シャープ株式会社 予測画像生成装置、動画像復号装置、および動画像符号化装置。
WO2018008678A1 (ja) * 2016-07-08 2018-01-11 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 復号装置、符号化装置、復号方法及び符号化方法
WO2018047668A1 (ja) * 2016-09-12 2018-03-15 ソニー株式会社 画像処理装置および画像処理方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHEN, JIANLE ET AL.: "Algorithm Description of Joint Exploration Test Model 7 (JEM 7)", JOINT VIDEO EXPLORATION TEAM (JVET) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11, no. JVET-G1001-v1, 19 August 2017 (2017-08-19), Torino, IT, pages 20 - 21, XP055576095 *
ZHAO, JIE ET AL.: "On Affine Motion Vectors", JOINT VIDEO EXPLORATION TEAM (JVET) OF ITU-T SG 16 WP 3, no. JVET-D0151, 14 October 2016 (2016-10-14), Chengdu, CN, pages 1 - 4, XP030150411 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020141591A1 (ja) * 2018-12-31 2020-07-09 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ 符号化装置、復号装置、符号化方法、及び復号方法
JPWO2020141591A1 (ja) * 2018-12-31 2021-10-21 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America 符号化装置、復号装置、符号化方法、及び復号方法

Also Published As

Publication number Publication date
US20210037248A1 (en) 2021-02-04

Similar Documents

Publication Publication Date Title
AU2019306205B2 (en) Position dependent intra prediction combination with wide angle intra prediction
US11159806B2 (en) Position dependent intra prediction combination with multiple reference lines for intra prediction
US20180199062A1 (en) Intra prediction techniques for video coding
US11343538B2 (en) Image processing apparatus and method
WO2021125309A1 (ja) 画像処理装置および方法
US11445218B2 (en) Image processing apparatus and method
US20210144376A1 (en) Image processing apparatus and method
WO2019188465A1 (ja) 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法
JP7494858B2 (ja) 画像処理装置および方法
WO2019188464A1 (ja) 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法
JP2022016726A (ja) 画像処理装置および方法
JP7235031B2 (ja) 画像処理装置および方法
WO2022044845A1 (ja) 画像処理装置および方法
WO2021117500A1 (ja) 画像処理装置、ビットストリーム生成方法、係数データ生成方法、および量子化係数生成方法
WO2020008714A1 (ja) 画像処理装置、画像処理方法及び画像処理プログラム
WO2020066641A1 (ja) 画像処理装置および方法
WO2020129636A1 (ja) 画像符号化装置、画像符号化方法、画像復号装置、および画像復号方法
WO2021117866A1 (ja) 画像処理装置および方法
US20220353501A1 (en) Image encoding method, image encoding apparatus, image decoding method, and image decoding apparatus

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: 19775132

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19775132

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP