WO2014106378A1 - 一种图像的解码、编码方法及装置 - Google Patents

一种图像的解码、编码方法及装置 Download PDF

Info

Publication number
WO2014106378A1
WO2014106378A1 PCT/CN2013/080298 CN2013080298W WO2014106378A1 WO 2014106378 A1 WO2014106378 A1 WO 2014106378A1 CN 2013080298 W CN2013080298 W CN 2013080298W WO 2014106378 A1 WO2014106378 A1 WO 2014106378A1
Authority
WO
WIPO (PCT)
Prior art keywords
image block
inter
layer
prediction
currently
Prior art date
Application number
PCT/CN2013/080298
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 华为技术有限公司
Publication of WO2014106378A1 publication Critical patent/WO2014106378A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • H04N19/33Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • 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/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/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/174Methods 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 slice, e.g. a line of blocks or a group of 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/187Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer

Definitions

  • the present invention relates to the field of image processing technologies, and in particular, to an image decoding, encoding method, and encoding device and decoding device.
  • inter-layer information is used for prediction and encoding and decoding.
  • the reconstructed image block of the base layer is used for prediction as an enhancement layer image block; the coding information of the base layer, including block division, motion vector, quantization residual, etc., may also be processed for use in the enhancement layer.
  • the encoding needs to identify the inter-layer mode and then encode the residual.
  • the enhancement layer is also predicted using the information of the base layer, and is added to the decoded residual to obtain a reconstructed image block of the enhancement layer.
  • the inventors of the present invention have found that in the prior art, only the inter-layer mode is used for encoding and decoding, and the prediction mode of the codec image block is not considered, so that the rate-distortion performance of the codec side is reduced during encoding and decoding.
  • the embodiment of the invention provides a decoding and encoding method for an image, which can be decoded and encoded according to a prediction mode of an image block, thereby effectively improving the rate distortion performance of the codec.
  • a first aspect of the present invention provides a method for decoding an image, including:
  • the current decoded image block is decoded according to the prediction mode.
  • the determining, according to the type of the slice, the prediction mode of the currently decoded image block specifically includes:
  • Decoding the current decoded image according to the prediction mode specifically includes: decoding the current decoded image according to the determined inter prediction mode or intra prediction mode.
  • the determining, according to the type of the slice, the prediction mode of the currently decoded image block specifically includes:
  • Decoding the current decoded image according to the prediction mode specifically: parsing an inter-layer texture prediction skip flag from a code stream of the currently decoded image block, and skipping according to the inter-layer texture prediction Reconstructing the current decoded image block to obtain a reconstructed image block of the current decoded image block.
  • the reconstructing the current decoded image block according to the inter-layer texture prediction skip flag, to obtain the reconstruction of the current decoded image block specifically includes:
  • the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current decoded image block corresponding position is directly used as the enhancement layer reconstructed image block
  • the current decoding is obtained based on the image block corresponding to the position of the base layer.
  • the reconstructing the current decoded image block according to the inter-layer texture prediction skip flag to obtain the reconstruction of the current decoded image block specifically includes:
  • the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the currently decoded image block is used as the enhancement layer reconstructed image block, the inter-layer is obtained from the code stream of the currently decoded image block. Texture prediction indicator;
  • the reconstructing the current decoded image block according to the inter-layer texture prediction indicator, to obtain the current decoded image block specifically includes:
  • the inter-layer texture prediction flag indicates an image block based on a corresponding position of the base layer as a prediction image block of the enhancement layer decoded image block, acquiring the first block of the current decoded image block based on the image block corresponding to the position of the base layer Predicting image blocks;
  • the reconstructing the current decoded image block according to the inter-layer texture prediction identifier to obtain the reconstructed image block of the current decoded image block Specifically, including:
  • the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block, performing intra prediction to obtain a second predicted image block;
  • the residual obtained in the code stream of the image block is decoded to obtain a reconstruction residual, and the reconstruction residual is added to the second predicted image block to obtain a reconstructed image block of the current decoded image block.
  • the obtaining the inter-layer texture prediction indicator from the code stream of the current decoded image block includes:
  • the context model index value of the inter-layer texture prediction indication indicates an inter-layer texture prediction indicator of the currently decoded image block.
  • the acquiring an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier of an image block in a different spatial orientation of a currently decoded image block Specifically include:
  • an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier of an image block on the left and above of the current decoded image block And obtaining, according to the inter-layer texture prediction identifier or the inter-layer texture prediction skip identifier in the different spatial orientations, the context model index value of the inter-layer texture prediction indication of the current decoded image block, specifically:
  • the inter-layer texture prediction identifier or the inter-layer texture prediction skip identifier of the image block on the left and the top of the currently decoded image block indicates that the image block based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block
  • the context model index value of the inter-layer texture prediction flag of the current decoded image block is incremented by one by a context model index value of the inter-layer texture prediction flag of the image block on the left and the top of the current decoded image block.
  • the prediction mode of the current decoded image block is determined to be inter prediction
  • the performing the inter prediction mode according to the determined inter prediction mode is decoded, and specifically includes:
  • an inter-layer mode is parsed from a code stream of the currently decoded image block, and the inter-layer mode is reconstructed according to the inter-layer mode.
  • the currently decoded image block is obtained, and a reconstructed image block of the current decoded image block is obtained.
  • the reconstructing the image block by using the inter-layer mode to obtain the reconstructed image block of the current decoded image block Includes:
  • the inter-layer mode is the inter-layer texture prediction mode, acquiring a third predicted image block of the current decoded image block based on an image block corresponding to a position of the base layer;
  • the reconstructing the current decoded image block according to the inter-layer mode, to obtain a reconstructed image block of the current decoded image block Specifically include:
  • the determining according to the determined inter prediction mode Decoding the current decoded image, specifically including:
  • inter-prediction is performed to obtain a fifth predicted image block
  • the residual obtained from the code stream of the currently decoded image block is decoded, and the obtained reconstruction residual is added to the fifth predicted image block to obtain a reconstructed image block of the current decoded image block.
  • a second aspect of the present invention provides an image encoding method, including:
  • the current coded image block is encoded according to the prediction mode.
  • the determining, according to the type of the slice, the prediction mode of the current coded image block specifically includes:
  • the encoding the current encoded image according to the prediction mode comprises: encoding the current encoded image according to the determined inter prediction mode or intra prediction mode.
  • the determining, according to the type of the slice, the prediction mode of the current coded image block specifically includes:
  • the step of encoding the current coded image block according to the inter-layer texture prediction skipping flag includes:
  • the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current coded picture block corresponding position is directly used as the enhancement layer reconstructed image block, the encoding of the current coded picture block ends.
  • the step of encoding the current coded image block according to the inter-layer texture prediction skipping specifically includes:
  • the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current coded image block is used as the enhancement layer reconstructed image block
  • the layer is written into the code stream of the current coded image block.
  • the inter-texture prediction indicates that the current coded image block is encoded according to the inter-layer texture prediction flag.
  • the encoding, by the inter-layer texture prediction indicator, the current coded image block includes:
  • the inter-layer texture prediction flag indicates an image block based on a corresponding position of the base layer as a prediction image block of the enhancement layer coded image block, acquiring the first block of the current coded image block based on the image block corresponding to the position of the base layer Predicting image blocks;
  • the current coded image block is subtracted from the first predicted image block to obtain a residual, and the residual is encoded.
  • the encoding, by the inter-layer texture prediction indicator, the current coded image block includes:
  • the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer coded image block, performing intra prediction to obtain a second prediction image block; the current coded image block The second predicted image block is subtracted to obtain a residual, and the residual is encoded.
  • encoding the current coded image according to the determined inter prediction mode specifically:: writing an inter-layer mark to a code stream of the current coded image block;
  • an inter-layer mode is written into a code stream of the current coded image block, and the inter-layer mode coding is performed according to the inter-layer mode.
  • the current coded image block is described.
  • the encoding the current coded image block according to the inter-layer mode includes:
  • the current coded image block is subtracted from the third predicted image block to obtain a residual, and the residual is encoded.
  • the encoding the current coded image block according to the inter-layer mode includes:
  • the encoding, by using the determined inter prediction mode, the current encoded image specifically:
  • inter-prediction is performed to obtain a fifth predicted image block
  • the current coded image block is subtracted from the fifth predicted image block to obtain a residual, and the residual is encoded.
  • a third aspect of the present invention provides a decoding apparatus, including:
  • a first acquiring unit configured to acquire an currently decoded image block of the enhancement layer
  • a first determining unit configured to determine, where the currently decoded image block acquired by the first acquiring unit is located Type of piece
  • a second determining unit configured to determine, according to a type of the slice determined by the first determining unit, a prediction mode of the currently decoded image block
  • a decoding unit configured to decode the current decoded image block according to a prediction mode determined by the second determining unit.
  • the second determining unit is configured to determine, when the type of the slice is a non-type I, that the prediction mode of the current decoded image block is inter prediction or intra prediction;
  • the decoding unit is configured to decode the current decoded image according to the determined inter prediction mode or intra prediction mode.
  • the second determining unit is configured to determine, when the type of the slice is type I, that the prediction mode of the currently decoded image block is intra prediction;
  • the decoding unit includes:
  • a first parsing subunit configured to parse an inter-layer texture prediction metric from the code stream of the currently decoded image block
  • a first decoding sub-unit configured to reconstruct the current decoded image block according to the inter-layer texture prediction jump flag parsed by the first parsing sub-unit, to obtain a reconstructed image block of the current decoded image block.
  • the first decoding subunit when the inter-layer texture prediction skip indicator indicates that the When the base layer image block corresponding to the position of the currently decoded image block is used as the enhancement layer to reconstruct the image block, the reconstructed image block of the current decoded image block is acquired based on the image block corresponding to the position of the base layer.
  • the first decoding subunit includes:
  • a first acquiring micro unit configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current decoded image block corresponding position is used as the enhancement layer reconstructed image block, from the current decoded image Obtaining an inter-layer texture prediction indicator in the code stream of the block;
  • the first decoding micro unit is configured to: when the inter-layer texture prediction indicator indicates a location based on a base layer When the image block is used as the prediction image block of the enhancement layer decoding image block, acquiring the first predicted image block of the current decoded image block based on the image block corresponding to the position of the base layer; acquiring the code stream from the current decoded image block The residual is decoded to obtain a reconstructed residual, and the reconstructed residual is added to the first predicted image block to obtain a reconstructed image block of the currently decoded image block.
  • the first decoding micro unit is configured to: when the inter-layer texture prediction indicator indicates that the corresponding position of the base layer is not When the image block is used as the prediction image block of the enhancement layer decoded image block, intra prediction is performed to obtain a second predicted image block; and the residual obtained from the code stream of the current decoded image block is decoded to obtain a reconstruction residual And the reconstructed residual is added to the second predicted image block to obtain a reconstructed image block of the currently decoded image block.
  • the first acquiring micro unit is configured to obtain an inter-layer layer on a graph in different spatial orientations of the current decoded image block.
  • a texture prediction identifier or an inter-layer texture prediction skip identifier acquiring a context model index value of an inter-layer texture prediction indication of the currently decoded image block; and using a context model index indicated by an inter-layer texture prediction of the currently decoded image block The value indicates an inter-layer texture prediction indicator for the currently decoded image block.
  • the first acquiring micro unit is configured to acquire an inter-layer of the image block on the left and the top of the currently decoded image block a texture prediction identifier or an inter-layer texture prediction skip identifier; an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier of an image block to the left and above of the currently decoded image block indicates an image based on a corresponding position of the base layer
  • the context model index of the inter-layer texture prediction flag of the current decoded image block is an inter-layer texture of the image block on the left and above of the currently decoded image block.
  • the predicted contextual model index value is incremented by one.
  • the second determining unit is configured to determine that a prediction mode of the currently decoded image block is inter prediction
  • the decoding unit includes:
  • a second parsing sub-unit configured to parse an inter-layer label from a code stream of the currently decoded image block
  • a second decoding sub-unit configured to indicate, when the second parsing sub-unit parses out an inter-layer label
  • the second decoding subunit includes:
  • a second acquiring micro unit configured to acquire, according to the image block of the corresponding position of the basic layer, the third predicted image block of the current decoded image block when the inter-layer mode is the inter-layer texture prediction mode;
  • a second decoding micro-unit configured to decode a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction difference, where the reconstruction residual is added to the third predicted image block to obtain a A reconstructed image block of the currently decoded image block.
  • the second decoding subunit includes:
  • a third acquiring micro unit configured to acquire motion information of a base layer image block corresponding to a position of the currently decoded image block when the inter-layer mode is an inter-layer motion prediction mode; and perform an enhancement layer frame according to the motion information Inter-motion compensation, obtaining a fourth predicted image block;
  • a third decoding micro-unit configured to decode a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction difference, where the reconstruction residual is added to the fourth predicted image block to obtain a A reconstructed image block of the currently decoded image block.
  • the second determining unit is configured to determine that a prediction mode of the current decoded image block is an interframe prediction
  • the decoding unit includes:
  • a third parsing subunit configured to parse an inter-layer label from a code stream of the currently decoded image block
  • a third decoding subunit configured to: when the inter-layer label indicates that the current decoded image block is not an inter-layer prediction mode, perform inter prediction to obtain a fifth predicted image block; The residual obtained in the code stream of the image block is decoded, and the obtained reconstruction residual is added to the fifth predicted image block to obtain a reconstructed image block of the current decoded image block.
  • a fourth aspect of the present invention provides an encoding apparatus, including:
  • a second acquiring unit configured to acquire an enhancement layer current encoded image block
  • a third determining unit configured to determine a type of a slice where the current encoded image block acquired by the second acquiring unit is located
  • a fourth determining unit configured to determine a prediction mode of the currently coded image block according to the type of the slice determined by the third determining unit;
  • a coding unit configured to encode the current coded image block according to the prediction mode determined by the fourth determining unit.
  • the fourth determining unit is configured to determine, when the type of the slice is non-type I, that the prediction mode of the current coded image block is inter prediction or intra prediction;
  • the encoding unit is configured to encode the current encoded image according to the determined inter prediction mode or intra prediction mode.
  • the fourth determining unit is configured to determine, when the type of the slice is type I, that the prediction mode of the current coded image block is intra prediction;
  • the encoding unit is configured to write an inter-layer texture prediction skip flag into a code stream of the current coded image block, and code the current coded image block according to the inter-layer texture prediction skip flag.
  • the coding unit is configured to directly use the current coded image block when the inter-layer texture prediction skip flag indicates When the base layer image block of the corresponding position is used as the enhancement layer to reconstruct the image block, the encoding of the current coded image block ends.
  • the coding unit is configured to: when the inter-layer texture prediction skip indicator indicates an indirect use When the base layer image block corresponding to the position of the current coded image block is used as the enhancement layer to reconstruct the image block, the inter-layer texture prediction flag is written into the code stream of the current coded image block, and the coded prediction is performed according to the inter-layer texture prediction The current coded image block is described.
  • the coding unit includes:
  • a fourth obtaining subunit configured to: when the inter-layer texture prediction flag indicates an image block based on a corresponding position of a base layer, as an image block of an enhancement layer coded image block, acquire an image block based on a corresponding position of the base layer a first predicted image block of the current coded image block;
  • a first coding sub-unit configured to subtract the first predicted image block from the current coded image block, obtain a residual, and encode the residual.
  • the coding unit includes:
  • a prediction subunit configured to perform intra prediction when the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer coded image block, to obtain the second prediction image block;
  • a second coding sub-unit configured to subtract the second predicted image block from the current coded image block, obtain a residual, and encode the residual.
  • the coding unit is configured to write an inter-layer identifier into a code stream of the current coded image block;
  • the inter-layer label indicates that when the current coded image block adopts the inter-layer prediction mode, an inter-layer mode is written into the code stream of the current coded image block, and the current code is encoded according to the inter-layer mode.
  • Image block
  • the coding unit is configured to: when the inter-layer mode is an inter-layer texture prediction mode, based on a corresponding position of a basic layer An image block, acquiring a third predicted image block of the current coded image block; subtracting the third predicted image block from the current coded image block to obtain a residual, and encoding the residual.
  • the coding unit is configured to acquire, when the inter-layer mode is an inter-layer motion prediction mode, The motion information of the base layer image block corresponding to the position of the pre-image block; performing enhancement layer inter-frame motion compensation according to the motion information to obtain a fourth prediction image block; and subtracting the fourth prediction image block from the current coded image block Obtain a residual and encode the residual.
  • the coding unit is configured to write an inter-layer identifier into a code stream of the current coded image block;
  • the inter-layer label indicates that when the current coded image block is not in the inter-layer prediction mode, inter prediction is performed to obtain a fifth predicted image block; and the current coded image block is subtracted from the fifth predicted image block to obtain Residual, encoding the residual.
  • a fifth aspect of the present invention provides a terminal, including a decoding device and an encoding device,
  • the decoding device is the decoding device according to any one of the above aspects
  • the encoding device is the encoding device according to any one of the above aspects.
  • the embodiment of the present invention adopts acquiring a current decoded image block of the enhancement layer; determining a type of the slice in which the current decoded image block is located; determining a prediction mode of the currently decoded image block according to the type of the slice; The mode decodes the currently decoded image block.
  • the decoding method of the image provided by the embodiment of the present invention can be decoded according to the prediction mode of the image block, thereby effectively improving the rate distortion performance of the decoding end.
  • the embodiment of the present invention adopts acquiring the current coded image block of the enhancement layer; determining the type of the slice in which the current coded image block is located; determining the prediction mode of the current coded image block according to the type of the slice; The prediction mode encodes the current coded image block.
  • the encoding method of the image provided by the embodiment of the present invention can be encoded according to the prediction mode of the image block, thereby effectively improving the rate distortion performance of the encoding end, compared with the prior art encoding only according to the inter-layer mode.
  • FIG. 1 is a schematic diagram of an embodiment of a decoding method in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention
  • 3 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention
  • FIG. 4 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of an embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of another embodiment of a decoding method in an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 13 is a schematic diagram of another embodiment of a decoding method according to an embodiment of the present invention.
  • FIG. 14 is a schematic diagram of another embodiment of an encoding method according to an embodiment of the present invention.
  • FIG. 15 is a schematic diagram of an embodiment of a decoding apparatus according to an embodiment of the present invention.
  • 16 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 17 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 18 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 19 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 20 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 21 is a schematic diagram of another embodiment of a decoding apparatus according to an embodiment of the present invention.
  • FIG. 22 is a schematic diagram of an embodiment of an encoding apparatus according to an embodiment of the present invention.
  • FIG. 23 is a schematic diagram of an embodiment of an encoding apparatus according to an embodiment of the present invention.
  • FIG. 24 is a schematic diagram of an embodiment of an encoding apparatus according to an embodiment of the present invention.
  • 25 is a schematic diagram of an embodiment of a terminal in an embodiment of the present invention.
  • 26 is a schematic diagram of another embodiment of a terminal in an embodiment of the present invention.
  • FIG. 27 is a schematic diagram of another embodiment of a terminal in an embodiment of the present invention.
  • the embodiment of the invention provides a decoding and encoding method for an image, which can be decoded and encoded according to a prediction mode of an image block, thereby effectively improving the rate distortion performance of the codec end.
  • the present invention also provides a corresponding device. The details are described below separately.
  • an embodiment of a method for decoding an image according to an embodiment of the present invention includes:
  • the decoding device acquires an enhancement layer current decoded image block.
  • the decoding is divided into basic layer decoding and enhancement layer decoding.
  • the base layer pixels are lower, and the enhancement layer pixels are higher.
  • the enhancement layer pixels are multiples of the base layer pixels, and may be 1.5 times, 2 times or other multiples.
  • the decoding apparatus determines a type of a slice where the currently decoded image block is located.
  • a slice in the embodiment of the present invention includes a plurality of image blocks, and the slice is included in a frame. It can be understood that the frame includes a plurality of slices, and the slice includes a plurality of image blocks, and the slice type may be type I. Or non-type I, non-type I usually includes P type and B type.
  • the decoding apparatus determines, according to the type of the slice, a prediction mode of the currently decoded image block.
  • the decoding apparatus decodes the currently decoded image block according to the prediction mode.
  • the embodiment of the present invention adopts acquiring the current decoded image block of the enhancement layer, determining the type of the slice in which the current decoded image block is located, determining a prediction mode of the currently decoded image block according to the type of the slice, and determining the prediction mode according to the prediction mode.
  • the currently decoded image block is decoded.
  • the decoding method of the image provided by the embodiment of the present invention can be decoded according to the prediction mode of the image block, thereby effectively improving the rate distortion performance of the decoding end, compared with the prior art decoding only according to the inter-layer mode.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: Steps 101 and 102 in the embodiment corresponding to FIG. 1 above, after performing step 102, performing step 103-1, and sequentially performing steps 104-1.
  • determining that a prediction mode of the currently decoded image block is inter prediction or intra prediction.
  • the prediction mode of the currently decoded image block may be
  • Inter prediction is to match image blocks in other frames.
  • Intra prediction is to match the image block in this frame.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: Steps 101 and 102 in the embodiment corresponding to FIG. 1 above, after performing step 102, performing step 103-2, and sequentially performing steps 104-2.
  • the prediction mode of the currently decoded image block is only one type of intra prediction.
  • the type of the currently decoded image block is type I.
  • the inter-layer texture prediction skip flag is parsed from the code stream of the currently decoded image block, and the inter-layer texture prediction skip flag is used for Indicates whether to directly use the base layer image block of the corresponding position of the currently decoded image block as the enhancement layer to reconstruct the image block.
  • the base layer image block of the current decoded image block corresponding position is used as the enhancement layer reconstructed image block, and when the inter-layer texture prediction skip flag is 0, the base layer image block that does not directly use the corresponding position of the current decoded image block is used as the enhancement layer. Rebuild the image block. Of course, you can also reverse the instructions and define them according to your needs.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: steps 101, 102, and 103-2 in the embodiment corresponding to FIG. 3, and after performing step 103-2, step 104 is performed. -twenty one ,
  • the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the corresponding position of the current decoded image block is used as the enhancement layer reconstructed image block, the image block based on the corresponding position of the base layer is obtained. A reconstructed image block of the currently decoded image block.
  • the inter-layer texture prediction skip indicator indicates that the direct use is
  • the image block corresponding to the position of the base layer can be directly used as the reconstructed image block of the currently decoded image block.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: steps 101, 102, and 103-2 in the embodiment corresponding to FIG. 3, and after performing step 103-2, step 104 is performed. -22, step 104-23 is performed in sequence,
  • the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current decoded image block is used as the enhancement layer reconstructed image block
  • the code stream from the currently decoded image block is used. Get the inter-layer texture prediction indicator.
  • the inter-layer texture prediction flag is used to indicate whether an image block based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block.
  • An image block indicating that the corresponding position of the base layer is indicated by the inter-layer texture prediction may be used as a prediction image block of the enhancement layer decoded image block, and an image block that cannot be based on the corresponding position of the base layer may be indicated when the inter-layer texture prediction is marked as 0.
  • a predicted image block that is an enhancement layer decoded image block may be used as a prediction image block of the enhancement layer decoded image block.
  • FIG. 6 another embodiment of the method for decoding an image according to the embodiment of the present invention includes: steps 101, 102, 103-2, and 104-22 in the embodiment corresponding to FIG. 5, after performing steps 104-22. Steps 104-231 are performed, and steps 104-232 are sequentially performed;
  • the inter-layer texture prediction indicator indicates an image block based on a corresponding position of a base layer as a prediction image block of an enhancement layer decoded image block, acquiring the current decoded image based on an image block corresponding to a position of the base layer.
  • the first predicted image block of the block is
  • the image block corresponding to the position of the base layer is used as the current The first predicted image block of the image block is decoded.
  • FIG. 7 another embodiment of a method for decoding an image according to an embodiment of the present invention includes: Steps 101, 102, 103-2, and 104-22 in the corresponding embodiment of FIG. 5, after performing steps 104-22, performing steps 104-233, and sequentially performing steps 104-234;
  • the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block, performing intra prediction to obtain a second predicted image block.
  • the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block
  • intra prediction is performed, and the most matching is found from the frame.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: Steps 101, 102, and 103-2 in the embodiment corresponding to FIG. 5, after performing step 103-2, sequentially performing steps 104-221, 104-222, 104-223, and 104-23.
  • the context model index value indicated by the inter-layer texture prediction of the current decoded image block indicates an inter-layer texture prediction indicator of the currently decoded image block.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: Steps 101, 102, and 103-2 in the foregoing embodiment corresponding to FIG. 8, sequentially performing steps 104-2211, 104-2221, Steps 104-223 and 104-23 in Fig. 12 are then performed.
  • the context model index of the inter-layer texture prediction flag of the currently decoded image block is an inter-layer texture prediction indicator of the image block on the left and the top of the currently decoded image block.
  • the context model index value is incremented by 1.
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: steps 101 and 102 in the embodiment corresponding to FIG. 2, and after performing step 103-11, sequentially performing steps 104-11, 104-12 and 104-13.
  • an inter-layer label is used to indicate whether the current decoded image block is in an inter-layer prediction mode.
  • An inter-layer prediction mode may be used to indicate that the current decoded image block is indicated by an inter-layer, and an inter-layer prediction mode may be used to indicate that the currently decoded image block is used by the inter-layer.
  • an inter-layer prediction mode may be used to indicate that the currently decoded image block is used by the inter-layer.
  • an inter-layer mode is parsed from a code stream of the currently decoded image block.
  • the inter-layer mode is used to indicate whether the inter-layer prediction mode of the currently decoded image block is an inter-layer texture prediction mode or an inter-layer motion prediction mode. It can be indicated by 0 that the inter-layer mode indicates the inter-layer texture prediction mode, and the one-to-layer mode indicates that the inter-layer motion prediction mode is indicated. Of course, it can also be defined in reverse.
  • another embodiment of a method for decoding an image according to an embodiment of the present invention includes: steps 101, 102, 103-11, 104-11, and 104-12 in the foregoing embodiment corresponding to FIG. After 104-12, perform steps 104-131 and 104-132;
  • the inter-layer mode is the inter-layer texture prediction mode
  • another embodiment of a method for decoding an image according to an embodiment of the present invention includes: steps 101, 102, 103-11, 104-11, and 104-12 in the foregoing embodiment corresponding to FIG. After 104-12, steps 104-133, 104-134, and 104-135 are sequentially performed;
  • the inter-layer mode is an inter-layer motion prediction mode
  • another embodiment of the method for decoding an image according to the embodiment of the present invention includes: Steps 101 and 102 in the embodiment corresponding to FIG. 2, after performing step 102, sequentially performing steps 103-11, 104- 14, 104-15 and 104-16;
  • inter-prediction is performed to obtain a fifth predicted image block.
  • an embodiment of an image encoding method includes: 201.
  • An encoding apparatus acquires an enhancement layer current encoded image block.
  • the decoding is divided into basic layer decoding and enhancement layer decoding.
  • the base layer pixels are lower, and the enhancement layer pixels are higher.
  • the enhancement layer pixels are multiples of the base layer pixels, and may be 1.5 times, 2 times or other multiples.
  • the encoding device determines a type of the slice where the current encoded image block is located.
  • a slice in the embodiment of the present invention includes a plurality of image blocks, and the slice is included in a frame. It can be understood that the frame includes a plurality of slices, and the slice includes a plurality of image blocks, and the slice type may be type I. Or non-type I, non-type I usually includes P type and B type. 203.
  • the encoding apparatus determines a prediction mode of the current coded image block according to the type of the slice.
  • the encoding apparatus encodes the current coded image block according to the prediction mode.
  • the embodiment of the present invention adopts acquiring the current coded image block of the enhancement layer, determining the type of the slice in which the current coded image block is located, determining the prediction mode of the current coded image block according to the type of the slice, and determining the prediction mode according to the prediction mode.
  • the current coded image block is encoded.
  • the encoding method of the image provided by the embodiment of the present invention can be encoded according to the prediction mode of the image block, thereby effectively improving the rate distortion performance of the encoding end, compared with the prior art encoding only according to the inter-layer mode.
  • the determining the current coded image block according to the type of the slice may specifically include:
  • the encoding the current encoded image according to the prediction mode comprises: encoding the current encoded image according to the determined inter prediction mode or intra prediction mode.
  • the determining, according to the type of the slice, the current coded image block may specifically include:
  • the encoding the current coded image according to the prediction mode specifically:: writing an inter-layer texture prediction skip flag to a code stream of the current coded image block, and skipping according to the inter-layer texture prediction
  • the code encodes the current coded image block.
  • the step of performing the inter-layer texture prediction skip flag encoding according to the second optional embodiment may specifically include:
  • the step of performing the inter-layer texture prediction skip flag encoding according to the foregoing second optional embodiment may specifically include:
  • the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current coded image block is used as the enhancement layer reconstructed image block
  • the layer is written into the code stream of the current coded image block.
  • the inter-texture prediction indicates that the current coded image block is encoded according to the inter-layer texture prediction flag.
  • the encoding, according to the inter-layer texture prediction indicator, encoding the current encoding may specifically include:
  • the inter-layer texture prediction flag indicates an image block based on a corresponding position of the base layer as a prediction image block of the enhancement layer coded image block, acquiring the first block of the current coded image block based on the image block corresponding to the position of the base layer Predicting image blocks;
  • the current coded image block is subtracted from the first predicted image block to obtain a residual, and the residual is encoded.
  • the encoding, according to the inter-layer texture prediction indicator, encoding the current encoding may specifically include:
  • the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer coded image block, performing intra prediction to obtain a second prediction image block; the current coded image block The second predicted image block is subtracted to obtain a residual, and the residual is encoded.
  • the determining, according to the determined inter prediction mode, the current encoding is encoded, and specifically includes:
  • Inter-layer mode is written into the code stream of the current coded image block, and the current coded image block is encoded according to the inter-layer mode.
  • the encoding the current coded image block according to the inter-layer mode may include:
  • the current coded image block is subtracted from the third predicted image block to obtain a residual, and the residual is encoded.
  • the encoding the current coded image block according to the inter-layer mode including:
  • the determining, according to the determined inter prediction mode, the current encoding is encoded, and specifically includes:
  • inter-prediction is performed to obtain a fifth predicted image block
  • the current coded image block is subtracted from the fifth predicted image block to obtain a residual, and the residual is encoded.
  • an embodiment of a decoding apparatus 30 provided by an embodiment of the present invention includes:
  • a first acquiring unit 301 configured to acquire an currently decoded image block of the enhancement layer
  • a first determining unit 302 configured to determine a current decoded image block acquired by the first acquiring unit 301 The type of slice in which it is located;
  • a second determining unit 303 configured to determine, according to the type of the slice determined by the first determining unit 302, a prediction mode of the currently decoded image block;
  • the decoding unit 304 is configured to decode the current decoded image block according to the prediction mode determined by the second determining unit 303.
  • the first obtaining unit 301 acquires the current decoded image block of the enhancement layer; the first determining unit 302 determines the type of the slice in which the current decoded image block acquired by the first acquiring unit 301 is located; Determining a prediction mode of the currently decoded image block by the type of the slice determined by the first determining unit 302; the decoding unit 304 decoding the current decoded image block according to the prediction mode determined by the second determining unit 303.
  • the decoding apparatus provided by the embodiment of the present invention can perform decoding according to the prediction mode of the image block, thereby effectively improving the rate distortion performance of the decoding end.
  • another embodiment of the decoding device 30 provided by the embodiment of the present invention includes:
  • the second determining unit 303 is configured to determine, when the type of the slice is non-type I, that the pre-mode of the current decoded image block is an inter-frame pre- or intra-frame pre-J;
  • the decoding unit 304 is configured to decode the current decoded image according to the determined inter prediction mode or the intra prediction mode.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the second determining unit 303 is configured to determine, when the type of the slice is type I, that the prediction mode of the current decoded image block is intra prediction;
  • the decoding unit 304 includes:
  • a first parsing sub-unit 3041 configured to parse an inter-layer texture prediction skip flag from a code stream of the currently decoded image block
  • the first decoding sub-unit 3042 is configured to reconstruct the current decoded image block according to the inter-layer texture prediction skip flag parsed by the first parsing sub-unit 3041 to obtain a reconstructed image block of the current decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the first decoding sub-unit 3042 is configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current decoded image block is directly used as the enhancement layer to reconstruct the image block, based on the base layer Corresponding to the image block of the location, the reconstructed image block of the current decoded image block is obtained.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the first decoding subunit 3042 includes:
  • a first acquiring micro-unit 30421 configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current decoded image block is used as the enhancement layer to reconstruct the image block, Obtaining an inter-layer texture prediction indicator in a code stream of the image block;
  • the first decoding micro-unit 30422 is configured to reconstruct the current decoded image block according to the inter-layer texture prediction indicator acquired by the first acquiring micro-unit 30421 to obtain a reconstructed image block of the current decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the first decoding unit 30422 is configured to: when the inter-layer texture prediction flag indicates that the image block based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoded image block, the image block based on the corresponding position of the base layer Obtaining a first predicted image block of the current decoded image block; decoding a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction residual, the reconstruction residual and the first prediction The image blocks are added to obtain a reconstructed image block of the current decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the first acquiring micro-unit 30421 is configured to acquire an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier of an image block in different spatial orientations of the currently decoded image block; a texture prediction identifier or an inter-layer texture prediction skip identifier, acquiring a context model index value of an inter-layer texture prediction indication of the currently decoded image block; and using a context model index indicated by an inter-layer texture prediction of the currently decoded image block a value indicating the interlayer of the currently decoded image block Rational forecasting.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the first acquiring micro-unit 30421 is configured to acquire an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier indication of an image block on the left and above blocks of the left and upper blocks of the current decoded image block.
  • the context model index of the inter-layer texture prediction indication of the current decoded image block is an image on the left and above of the currently decoded image block.
  • the inter-layer texture prediction of the block indicates that the context model index value is incremented by one.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the second determining unit 303 is configured to determine that a prediction mode of the currently decoded image block is an inter prediction
  • the decoding unit 304 includes:
  • a second parsing subunit 3043 configured to parse an inter-layer label from a code stream of the currently decoded image block
  • the second decoding sub-unit 3044 is configured to: when the inter-layer label parsed by the second parsing sub-unit 3043 indicates that the current decoded image block is in an inter-layer prediction mode, from the current decoded image block.
  • An inter-layer mode is parsed in the code stream, and the current decoded image block is reconstructed according to the inter-layer mode to obtain a reconstructed image block of the current decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the second decoding subunit 3044 includes:
  • a second acquiring micro-unit 30441 configured to acquire, according to an image block of a corresponding position of the base layer, a third predicted image block of the current decoded image block when the inter-layer mode is an inter-layer texture prediction mode;
  • the unit 30442 is configured to decode a residual obtained from a code stream of the current decoded image block to obtain a reconstruction difference, where the reconstruction residual is added to the third predicted image block, A reconstructed image block of the currently decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes: the second decoding subunit 3044 includes:
  • a third acquiring micro-unit 30443 configured to acquire motion information of a base layer image block corresponding to a current decoded image block when the inter-layer mode is an inter-layer motion prediction mode; and perform an enhancement layer according to the motion information Inter-frame motion compensation to obtain a fourth predicted image block;
  • a third decoding micro-unit 30444 configured to decode a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction difference, where the reconstruction residual is added to the fourth predicted image block, A reconstructed image block of the currently decoded image block.
  • another embodiment of the decoding apparatus 30 provided by the embodiment of the present invention includes:
  • the second determining unit 303 is configured to determine that a prediction mode of the currently decoded image block is an inter prediction
  • the decoding unit 304 includes:
  • a third parsing subunit 3045 configured to parse an inter-layer label from a code stream of the currently decoded image block
  • the third decoding sub-unit 3046 is configured to: when the inter-layer label indicates that the current decoded image block is not in the inter-layer prediction mode, perform inter prediction to obtain a fifth predicted image block; The residual obtained in the code stream of the decoded image block is decoded, and the obtained reconstruction residual is added to the fifth predicted image block to obtain a reconstructed image block of the current decoded image block.
  • an embodiment of an encoding apparatus 40 includes:
  • a second acquiring unit 401 configured to acquire an enhancement layer current encoded image block
  • the third determining unit 402 is configured to determine a type of a slice in which the current encoded image block acquired by the second acquiring unit 401 is located;
  • a fourth determining unit 403, configured to determine, according to the type of the slice determined by the third determining unit 402, a prediction mode of the current coded image block;
  • the encoding unit 404 is configured to encode the current coded image block according to the prediction mode determined by the fourth determining unit 403.
  • the second obtaining unit 401 acquires an enhancement layer current coded image block
  • the third determining unit 402 determines a type of a slice of the current coded image block acquired by the second acquiring unit 401
  • the fourth determining unit 403 is configured according to the Determining the prediction mode of the current coded image block by the type of the slice determined by the third determining unit 402; the encoding unit 404 encoding the current coded image block according to the prediction mode determined by the fourth determining unit 403.
  • the coding apparatus provided by the embodiment of the present invention can perform coding according to the prediction mode of the image block, thereby effectively improving the rate distortion performance degradation of the coding end.
  • the fourth determining unit 403 is configured to determine, when the type of the slice is non-type I, that the pre-mode of the current coded image block is an inter-frame pre- or intra-frame pre-J;
  • the encoding unit 404 is configured to encode the current encoded image according to the determined inter prediction mode or intra prediction mode.
  • the fourth determining unit 403 is configured to determine, when the type of the slice is type I, that the prediction mode of the current coded image block is intra prediction;
  • the encoding unit 404 is configured to write an inter-layer texture prediction skip flag into a code stream of the current coded image block, and code the current coded image block according to the inter-layer texture prediction skip flag.
  • the encoding unit 404 is configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current coded image block corresponding position is directly used as the enhancement layer reconstructed image block, the current coded image block The encoding ends.
  • the encoding unit 404 is configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current coded image block is used as the enhancement layer to reconstruct the image block, Inter-layer texture prediction indication is written into a code stream of the current coded image block, and the current coded image block is encoded according to the inter-layer texture prediction flag.
  • the encoding unit 404 includes:
  • a fourth obtaining sub-unit 4041 configured to: when the inter-layer texture prediction flag indicates that the image block based on the corresponding position of the base layer is used as the predicted image block of the enhanced layer coded image block, obtain the image block based on the corresponding position of the base layer, a first predicted image block of the current encoded image block;
  • the first coding sub-unit 4042 is configured to subtract the first predicted image block from the current coded image block to obtain a residual, and encode the residual.
  • the encoding unit 404 includes:
  • the prediction subunit 4043 is configured to perform intra prediction when the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer coded image block, to obtain the second prediction image block. ;
  • the second coding sub-unit 4044 is configured to subtract the second predicted image block from the current coded image block to obtain a residual, and encode the residual.
  • the encoding unit 404 is configured to write an inter-layer label into the code stream of the current coded image block; when the inter-layer label indicates that the current coded image block uses an inter-layer prediction mode, Inter-layer mode is written in a code stream of the current coded image block, and the current coded image block is encoded according to the inter-layer mode.
  • the encoding unit 404 is configured to: when the inter-layer mode is an inter-layer texture prediction mode, acquire a third predicted image block of the current coded image block based on an image block corresponding to a position of the base layer; The block is subtracted from the third predicted image block to obtain a residual, and the residual is encoded.
  • the ninth of the encoding device provided by the embodiment of the present invention is provided on the basis of the seventh alternative embodiment.
  • the ninth of the encoding device provided by the embodiment of the present invention is provided on the basis of the seventh alternative embodiment.
  • the encoding unit 404 is configured to: when the inter-layer mode is the inter-layer motion prediction mode, acquire motion information of a base layer image block corresponding to the current image block; and perform enhancement layer inter-frame according to the motion information. Motion compensation, obtaining a fourth predicted image block; subtracting the fourth predicted image block from the current coded image block, obtaining a residual, and encoding the residual.
  • the encoding unit 404 is configured to write an inter-layer label into a code stream of the current coded image block; when the inter-layer label indicates that the current coded image block is not in an inter-layer prediction mode, perform Inter prediction, obtaining a fifth predicted image block; subtracting the fifth predicted image block from the current coded image block to obtain a residual, and encoding the residual.
  • the embodiment of the present invention further provides a computer storage medium storing a program, the program including some or all of the steps of the above image decoding method.
  • the embodiment of the present invention further provides a computer storage medium storing a program, the program including some or all of the steps of the encoding method of the above image.
  • an embodiment of a terminal provided by the embodiment of the present invention includes: a first receiver 110, a first transmitter 120, a first memory 130, and a first processor 140, and the first receiver 110, the first The transmitter 120, the first memory 130, and the first processor 140 are connected by a bus or other means.
  • the first processor 140 is configured to perform the following steps:
  • the current decoded image block is decoded according to the prediction mode.
  • the first processor 140 is further configured to: when the type of the slice is non-type I, determine that a prediction mode of the currently decoded image block is inter prediction or intra prediction; The determined inter prediction mode or intra prediction mode decodes the current decoded image.
  • the first processor 140 is further configured to: when the type of the slice is type I, determine that a prediction mode of the currently decoded image block is intra prediction; and from the current decoded image block.
  • the inter-layer texture prediction skip flag is parsed in the code stream, and the current decoded image block is reconstructed according to the inter-layer texture prediction skip flag to obtain a reconstructed image block of the current decoded image block.
  • the first processor 140 is further configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current decoded image block is directly used as the enhancement layer reconstruction image At the time of the block, the reconstructed image block of the currently decoded image block is acquired based on the image block corresponding to the position of the base layer.
  • the first processor 140 is further configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current decoded image block is used as the enhancement layer reconstruction image And acquiring an inter-layer texture prediction indicator from the code stream of the current decoded image block; reconstructing the current decoded image block according to the inter-layer texture prediction flag to obtain a reconstructed image block of the current decoded image block.
  • the first processor 140 is further configured to: when the inter-layer texture prediction flag indicates that the image block based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoding image block, based on the basic And corresponding to the image block of the location, acquiring the first predicted image block of the current decoded image block; decoding the residual obtained from the code stream of the current decoded image block to obtain a reconstruction residual, the reconstruction residual Adding to the first predicted image block to obtain a reconstructed image block of the currently decoded image block.
  • the first processor 140 is further configured to: when the inter-layer texture prediction flag indicates that the image block that cannot be based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer decoding image block, Intra prediction, obtaining a second predicted image block; decoding a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction residual, the reconstruction residual being added to the second predicted image block And obtaining a reconstructed image block of the current decoded image block.
  • the first processor 140 is further configured to acquire the inter-layer texture prediction identifier or the inter-layer texture prediction skip identifier of the current decoded image according to the different spatial orientations, to obtain the current decoding.
  • the inter-layer texture prediction of the image block predicts a context model index value; the context model index value indicated by the inter-layer texture prediction of the current decoded image block indicates an inter-layer texture prediction indicator of the currently decoded image block.
  • the first processor 140 is further configured to acquire an inter-layer texture prediction identifier or an inter-layer texture prediction skip identifier indication of the image block on the left and the top of the currently decoded image block of the current decoded image.
  • the context model index of the inter-layer texture prediction flag of the current decoded image block is the left side of the current decoded image block.
  • the context model index value of the inter-layer texture prediction of the upper image block is incremented by one.
  • the first processor 140 is further configured to: if it is determined that the prediction mode of the currently decoded image block is inter prediction, parse an inter-layer identifier from a code stream of the currently decoded image block; When the inter-layer label indicates that the current decoded image block is in an inter-layer prediction mode, an inter-layer mode is parsed from a code stream of the currently decoded image block, and the inter-layer mode is reconstructed according to the inter-layer mode. The currently decoded image block is obtained, and a reconstructed image block of the current decoded image block is obtained.
  • the first processor 140 is further configured to: when the inter-layer mode is an inter-layer texture prediction mode, acquire an third block of the currently decoded image block based on an image block corresponding to a location of a base layer. Predicting an image block; decoding a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction difference, the reconstruction residual being added to the third predicted image block to obtain the current decoded image The reconstructed image block of the block.
  • the first processor 140 is further configured to: when the inter-layer mode is an inter-layer motion prediction mode, acquire motion information of a base layer image block corresponding to the current decoded image block; Performing, by the motion information, performing enhancement layer inter-frame motion compensation to obtain a fourth predicted image block; decoding a residual obtained from a code stream of the currently decoded image block to obtain a reconstruction difference, the reconstruction residual and The fourth predicted image blocks are added to obtain a reconstructed image block of the currently decoded image block.
  • the inter-layer mode is an inter-layer motion prediction mode
  • the first processor 140 is further configured to: if it is determined that the prediction mode of the currently decoded image block is inter prediction, parse an inter-layer identifier from a code stream of the currently decoded image block; When the inter-layer indication indicates that the current decoded image block is not in the inter-layer prediction mode, inter prediction is performed to obtain a fifth predicted image block; and obtained from the code stream of the currently decoded image block. The residual is decoded, and the obtained reconstruction residual is added to the fifth predicted image block to obtain a reconstructed image block of the current decoded image block. Referring to FIG.
  • an embodiment of a terminal provided by an embodiment of the present invention includes: a second receiver 150, a second transmitter 160, a second memory 170, and a second processor 180, the second receiver 150, and a second The transmitter 160, the second memory 170, and the second processor 180 are connected by a bus or other means.
  • the second processor 180 is configured to perform the following steps:
  • the current coded image block is encoded according to the prediction mode.
  • the second processor 180 is further configured to: when the type of the slice is non-type I, determine that a prediction mode of the current coded image block is inter prediction or intra prediction; The determined inter prediction mode or intra prediction mode encodes the current encoded image.
  • the second processor 180 is further configured to: when the type of the slice is type I, determine that a prediction mode of the current coded image block is intra prediction; to the current coded image block.
  • the inter-layer texture prediction skip flag is written in the code stream, and the current coded image block is coded according to the inter-layer texture prediction skip code.
  • the second processor 180 is further configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block corresponding to the current coded image block is directly used as the enhancement layer reconstruction image At the time of the block, the encoding of the current coded image block ends.
  • the second processor 180 is further configured to: when the inter-layer texture prediction skip flag indicates that the base layer image block that is not directly using the corresponding position of the current coded image block is used as the enhancement layer reconstruction image At the time of the block, an inter-layer texture prediction flag is written into the code stream of the current coded image block, and the current coded image block is encoded according to the inter-layer texture prediction flag.
  • the second processor 180 is further configured to: when the inter-layer texture prediction flag indicates that the image block based on the corresponding position of the base layer is used as the prediction image block of the enhancement layer coded image block, based on the basic And corresponding to the image block of the layer, acquiring the first predicted image block of the current coded image block; subtracting the first predicted image block from the current coded image block to obtain a residual, and encoding the residual.
  • the second processor 180 is further configured to: when the inter-layer texture prediction target When the image block that cannot be based on the corresponding position of the base layer is used as the predicted image block of the enhancement layer coded image block, the intra prediction is performed to obtain the second predicted image block; the current coded image block is subtracted from the second prediction. The image block, resulting in a residual, encodes the residual.
  • the second processor 180 is further configured to write an inter-layer identifier into a code stream of the current coded image block; and when the inter-layer label indicates that the current coded image block is used
  • an inter-layer mode is written into a code stream of the current coded picture block, and the current coded picture block is encoded according to the inter-layer mode.
  • the second processor 180 is further configured to: when the inter-layer mode is an inter-layer texture prediction mode, obtain an image block of the current coded image block based on an image block corresponding to a position of the base layer. Predicting an image block; subtracting the third predicted image block from the current coded image block to obtain a residual, and encoding the residual.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Landscapes

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

Abstract

本发明公开了一种图像的解码方法,包括:获取增强层当前解码图像块;确定所述当前解码图像块所在的片的类型;根据所述片的类型,确定所述当前解码图像块的预测模式;根据所述预测模式对所述当前解码图像块进行解码。本发明实施例还提供相应的编码方法及装置。本发明技术方案,可以根据图像块的预测模式进行编码,从而有效的提高了编码端的率失真性能降低。

Description

一种图像的解码、 编码方法及装置
本申请要求于 2013 年 01 月 07 日提交中国专利局、 申请号为 201310005034.5、 发明名称为 "一种图像的解码、 编码方法及装置" 的中国专 利申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域
本发明涉及图像处理技术领域, 具体涉及一种图像的解码、编码方法及编 码装置和解码装置。
背景技术
在 H.264/AVC的可伸缩视频编码( SVC , Scalable Video Coding )扩展中, 层间信息被用来预测和编解码。基本层的重建图像块上采样后, 用于作为增强 层图像块的预测; 基本层的编码信息, 包括块划分、 运动矢量、 量化残差等也 可以经过处理后使用于增强层。编码时需要对层间模式进行标识, 然后对残差 编码。 解码时当遇到层间模式时, 同样要使用基本层的信息预测增强层, 并与 解码后的残差相加来获得增强层的重建图像块。
本发明的发明人发现, 现有技术中只根据层间模式进行编解码, 没有考虑 到编解码图像块的预测模式,这样在编解码时会导致编解码端的率失真性能降 低。
发明内容
本发明实施例提供一种图像的解码、编码方法, 可以根据图像块的预测模 式进行解码、 编码, 从而有效的提高了编解码端的率失真性能降低。
本发明第一方面提供了一种图像的解码方法, 包括:
获取增强层当前解码图像块;
确定所述当前解码图像块所在的片的类型;
根据所述片的类型, 确定所述当前解码图像块的预测模式;
根据所述预测模式对所述当前解码图像块进行解码。
结合第一方面, 在第一种可能的实现方式中, 所述根据所述片的类型, 确 定所述当前解码图像块的预测模式, 具体包括:
当所述片的类型为非 I型时, 确定所述当前解码图像块的预测模式为帧间 预测或帧内预测;
所述根据所述预测模式对所述当前解码图像进行解码, 具体包括: 根据所确定的帧间预测模式或者帧内预测模式对所述当前解码图像进行 解码。
结合第一方面, 在第二种可能的实现方式中, 所述根据所述片的类型, 确 定所述当前解码图像块的预测模式, 具体包括:
当所述片的类型为 I型时, 确定所述当前解码图像块的预测模式为帧内预 测;
所述根据所述预测模式对所述当前解码图像进行解码, 具体包括: 从所述当前解码图像块的码流中解析出层间纹理预测跳过标示,并根据所 述层间纹理预测跳过标示重建所述当前解码图像块,得到所述当前解码图像块 的重建图像块。
结合第一方面第二种可能的实现方式, 在第三种可能实现方式中, 所述根 据所述层间纹理预测跳过标示重建所述当前解码图像块,得到所述当前解码图 像块的重建图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是直接使用所述当前解码图像块对 应位置的基本层图像块作为增强层重建图像块时,基于基本层对应位置的图像 块, 获取所述当前解码图像块的重建图像块。
结合第一方面第二种可能的实现方式, 在第四种可能实现方式中, 所述根 据所述层间纹理预测跳过标示重建所述当前解码图像块,得到所述当前解码图 像块的重建图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是非直接使用所述当前解码图像块 对应位置的基本层图像块作为增强层重建图像块时,从所述当前解码图像块的 码流中获取层间纹理预测标示;
根据所述层间纹理预测标示重建所述当前解码图像块,得到所述当前解码 图像块的重建图像块。
结合第一方面第四种可能的实现方式, 在第五种可能实现方式中, 所述根 据所述层间纹理预测标示重建所述当前解码图像块,得到所述当前解码图像块 的重建图像块, 具体包括:
当所述层间纹理预测标示指示的是基于基本层对应位置的图像块作为增 强层解码图像块的预测图像块时,基于基本层对应位置的图像块, 获取所述当 前解码图像块的第一预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码以获得重建残差, 所述重建残差与所述第一预测图像块相加,得到所述当前解码图像块的重建图 像块。
结合第一方面第四种可能的实现方式, 在第六种可能实现方式中, 所述根 据所述层间纹理预测标示重建所述当前解码图像块,得到所述当前解码图像块 的重建图像块, 具体包括:
当所述层间纹理预测标示指示的是不能基于基本层对应位置的图像块作 为增强层解码图像块的预测图像块时, 进行帧内预测, 得到第二预测图像块; 对从所述当前解码图像块的码流中获取的残差进行解码以获得重建残差, 所述重建残差与所述第二预测图像块相加,得到所述当前解码图像块的重建图 像块。
结合第一方面第四种可能的实现方式, 在第七种可能实现方式中, 所述从 所述当前解码图像块的码流中获取层间纹理预测标示, 具体包括:
获取所述当前解码图像块不同空间方位上的图像块的层间纹理预测标识 或者层间纹理预测跳过标识;
根据所述不同空间方位上的层间纹理预测标识或者层间纹理预测跳过标 识, 获取所述当前解码图像块的层间间纹理预测标示的上下文模型索引值; 用所述当前解码图像块的层间间纹理预测标示的上下文模型索引值指示 所述当前解码图像块的层间纹理预测标示。
结合第一方面第七种可能的实现方式, 在第八种可能实现方式中, 所述获 取当前解码图像块不同空间方位上的图像块的层间纹理预测标识或者层间纹 理预测跳过标识, 具体包括:
获取所述当前解码图像块左方和上方的图像块的层间纹理预测标识或者 层间纹理预测跳过标识; 所述根据所述不同空间方位上的层间纹理预测标识或者层间纹理预测跳 过标识, 获取所述当前解码图像块的层间间纹理预测标示的上下文模型索引 值, 具体包括:
当所述当前解码图像块左方和上方的图像块的层间纹理预测标识或者层 间纹理预测跳过标识指示的是基于基本层对应位置的图像块作为增强层解码 图像块的预测图像块时,所述当前解码图像块的层间间纹理预测标示的上下文 模型索引值为所述当前解码图像块左方和上方的图像块的层间间纹理预测标 示的上下文模型索引值加 1。
结合第一方面第一种可能的实现方式, 在第九种可能实现方式中, 若确定 所述当前解码图像块的预测模式为帧间预测,所述根据所确定的帧间预测模式 对所述当前解码图像进行解码, 具体包括:
从所述当前解码图像块的码流中解析出层间标示;
当所述层间标示指示的是所述当前解码图像块采用的是层间预测模式时, 从所述当前解码图像块的码流中解析出层间模式,并根据所述层间模式重建所 述当前解码图像块, 得到所述当前解码图像块的重建图像块。
结合第一方面第九种可能的实现方式, 在第十种可能实现方式中, 所述根 据所述层间模式重建所述当前解码图像块,得到所述当前解码图像块的重建图 像块, 具体包括:
当所述层间模式为层间纹理预测模式时, 基于基本层对应位置的图像块, 获取所述当前解码图像块的第三预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码以获得重建惨差, 所述重建残差与所述第三预测图像块相加,得到所述当前解码图像块的重建图 像块。
结合第一方面第九种可能的实现方式, 在第十一种可能实现方式中, 所述 根据所述层间模式重建所述当前解码图像块,得到所述当前解码图像块的重建 图像块, 具体包括:
当所述层间模式为层间运动预测模式时,获取所述当前解码图像块对应位 置的基本层图像块的运动信息; 根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 对从所述当前解码图像块的码流中获取的残差进行解码以获得重建惨差, 所述重建残差与所述第四预测图像块相加,得到所述当前解码图像块的重建图 像块。
结合第一方面第一种可能的实现方式, 在第十二种可能实现方式中, 若确 定所述当前解码图像块的预测模式为帧间预测,所述根据所确定的帧间预测模 式对所述当前解码图像进行解码, 具体包括:
从所述当前解码图像块的码流中解析出层间标示;
当所述层间标示指示的是所述当前解码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码,所得重建残差与 所述第五预测图像块相加, 得到所述当前解码图像块的重建图像块。
本发明第二方面提供一种图像的编码方法, 包括:
获取增强层当前编码图像块;
确定所述当前编码图像块所在片的类型;
根据所述片的类型, 确定所述当前编码图像块的预测模式;
根据所述预测模式对所述当前编码图像块进行编码。
结合第二方面, 在第一种可能的实现方式中, 所述根据所述片的类型, 确 定所述当前编码图像块的预测模式, 具体包括:
当所述片的类型为非 I型时, 确定所述当前编码图像块的预测模式为帧间 预测或帧内预测;
所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 根据所确定的帧间预测模式或者帧内预测模式对所述当前编码图像进行 编码。
结合第二方面, 在第二种可能的实现方式中, 所述根据所述片的类型, 确 定所述当前编码图像块的预测模式, 具体包括:
当所述片的类型为 I型时, 确定所述当前编码图像块的预测模式为帧内预 测; 所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 向所述当前编码图像块的码流中写入层间纹理预测跳过标示,并根据所述 层间纹理预测跳过标示编码所述当前编码图像块。
结合第二方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述 根据所述层间纹理预测跳过标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是直接使用所述当前编码图像块对 应位置的基本层图像块作为增强层重建图像块时,所述当前编码图像块的编码 结束。
结合第二方面第二种可能的实现方式, 在第四种可能的实现方式中, 所述 根据所述层间纹理预测跳过标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是非直接使用所述当前编码图像块 对应位置的基本层图像块作为增强层重建图像块时,向所述当前编码图像块的 码流中写入层间纹理预测标示,并才艮据所述层间纹理预测标示编码所述当前编 码图像块。
结合第二方面第四种可能的实现方式, 在第五种可能的实现方式中, 所述 根据所述层间纹理预测标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测标示指示的是基于基本层对应位置的图像块作为增 强层编码图像块的预测图像块时,基于基本层对应位置的图像块, 获取所述当 前编码图像块的第一预测图像块;
所述当前编码图像块减去所述第一预测图像块,得到残差,对所述残差进 行编码。
结合第二方面第四种可能的实现方式, 在第六种可能的实现方式中, 所述 根据所述层间纹理预测标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测标示指示的是不能基于基本层对应位置的图像块作 为增强层编码图像块的预测图像块时, 进行帧内预测, 得到第二预测图像块; 所述当前编码图像块减去所述第二预测图像块,得到残差,对所述残差进 行编码。
结合第二方面第一种可能的实现方式, 在第七种可能的实现方式中, 所述 根据所确定的帧间预测模对所述当前编码图像进行编码, 具体包括: 向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的是层间预测模式时, 向所述当前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述 当前编码图像块。
结合第二方面第七种可能的实现方式, 在第八种可能的实现方式中, 所述 根据所述层间模式编码所述当前编码图像块, 具体包括:
当所述层间模式为层间纹理预测模式时, 基于基本层对应位置的图像块, 获取所述当前编码图像块的第三预测图像块;
所述当前编码图像块减去所述第三预测图像块,得到残差,对所述残差进 行编码。
结合第二方面第七种可能的实现方式, 在第九种可能的实现方式中, 所述 根据所述层间模式编码所述当前编码图像块, 具体包括:
当所述层间模式为层间运动预测模式时,获取所述当前图像块对应位置的 基本层图像块的运动信息;
根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 所述当前编码图像块减去所述第四预测图像块, 获得残差,对所述残差进 行编码。
结合第二方面第一种可能的实现方式, 在第十种可能的实现方式中, 所述 根据所确定的帧间预测模对所述当前编码图像进行编码, 具体包括:
向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块;
所述当前编码图像块减去所述第五预测图像块,得到残差,对所述残差进 行编码。
本发明第三方面提供一种解码装置、 包括:
第一获取单元, 用于获取增强层当前解码图像块;
第一确定单元,用于确定所述第一获取单元获取的当前解码图像块所在的 片的类型;
第二确定单元, 用于根据所述第一确定单元确定的片的类型,确定所述当 前解码图像块的预测模式;
解码单元,用于根据所述第二确定单元确定的预测模式对所述当前解码图 像块进行解码。
结合第三方面, 在第一种可能的实现方式中,
所述第二确定单元, 用于当所述片的类型为非 I型时, 确定所述当前解码 图像块的预测模式为帧间预测或帧内预测;
所述解码单元,用于根据所确定的帧间预测模式或者帧内预测模式对所述 当前解码图像进行解码。
结合第三方面, 在第二种可能的实现方式中,
所述第二确定单元, 用于当所述片的类型为 I型时, 确定所述当前解码图 像块的预测模式为帧内预测;
所述解码单元包括:
第一解析子单元,用于从所述当前解码图像块的码流中解析出层间纹理预 测兆过标示;
第一解码子单元,用于根据所述第一解析子单元解析出的层间纹理预测跳 过标示重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。
结合第三方面第二种可能的实现方式中, 在第三种可能的实现方式中, 所述第一解码子单元,用于当所述层间纹理预测跳过标示指示的是直接使 用所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块时,基 于基本层对应位置的图像块, 获取所述当前解码图像块的重建图像块。
结合第三方面第二种可能的实现方式中, 在第四种可能的实现方式中, 所述第一解码子单元包括:
第一获取微单元,用于当所述层间纹理预测跳过标示指示的是非直接使用 所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块时,从所 述当前解码图像块的码流中获取层间纹理预测标示;
第一解码微单元,用于根据所述第一获取微单元获取的层间纹理预测标示 重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。 结合第三方面第四种可能的实现方式中, 在第五种可能的实现方式中, 所述第一解码微单元,用于当所述层间纹理预测标示指示的是基于基本层 对应位置的图像块作为增强层解码图像块的预测图像块时,基于基本层对应位 置的图像块, 获取所述当前解码图像块的第一预测图像块; 对从所述当前解码 图像块的码流中获取的残差进行解码以获得重建残差,所述重建残差与所述第 一预测图像块相加, 得到所述当前解码图像块的重建图像块。
结合第三方面第四种可能的实现方式中, 在第六种可能的实现方式中, 所述第一解码微单元,用于当所述层间纹理预测标示指示的是不能基于基 本层对应位置的图像块作为增强层解码图像块的预测图像块时, 进行帧内预 测,得到第二预测图像块; 对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建残差, 所述重建残差与所述第二预测图像块相加,得到所述当 前解码图像块的重建图像块。
结合第三方面第四种可能的实现方式中, 在第七种可能的实现方式中, 所述第一获取微单元,用于获取所述当前解码图像块不同空间方位上的图 上的层间纹理预测标识或者层间纹理预测跳过标识,获取所述当前解码图像块 的层间间纹理预测标示的上下文模型索引值;用所述当前解码图像块的层间间 纹理预测标示的上下文模型索引值指示所述当前解码图像块的层间纹理预测 标示。
结合第三方面第七种可能的实现方式中, 在第八种可能的实现方式中, 所述第一获取微单元,用于获取所述当前解码图像块左方和上方的图像块 的层间纹理预测标识或者层间纹理预测跳过标识;当所述当前解码图像块左方 和上方的图像块的层间纹理预测标识或者层间纹理预测跳过标识指示的是基 于基本层对应位置的图像块作为增强层解码图像块的预测图像块时,所述当前 解码图像块的层间间纹理预测标示的上下文模型索引值为所述当前解码图像 块左方和上方的图像块的层间间纹理预测标示的上下文模型索引值加 1。
结合第三方面第一种可能的实现方式中, 在第九种可能的实现方式中, 所述第二确定单元, 用于确定所述当前解码图像块的预测模式为帧间预 测;
所述解码单元包括:
第二解析子单元, 用于从所述当前解码图像块的码流中解析出层间标示; 第二解码子单元,用于当所述第二解析子单元解析出的层间标示指示的是 所述当前解码图像块采用的是层间预测模式时,从所述当前解码图像块的码流 中解析出层间模式, 并根据所述层间模式重建所述当前解码图像块,得到所述 当前解码图像块的重建图像块。
结合第三方面第九种可能的实现方式中, 在第十种可能的实现方式中, 所述第二解码子单元包括:
第二获取微单元, 用于当所述层间模式为层间纹理预测模式时,基于基本 层对应位置的图像块, 获取所述当前解码图像块的第三预测图像块;
第二解码微单元,用于对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建惨差, 所述重建残差与所述第三预测图像块相加,得到所述当 前解码图像块的重建图像块。
结合第三方面第九种可能的实现方式中, 在第十一种可能的实现方式中, 所述第二解码子单元包括:
第三获取微单元, 用于当所述层间模式为层间运动预测模式时, 获取所述 当前解码图像块对应位置的基本层图像块的运动信息; 根据所述运动信息, 进 行增强层帧间运动补偿, 得到第四预测图像块;
第三解码微单元,用于对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建惨差, 所述重建残差与所述第四预测图像块相加,得到所述当 前解码图像块的重建图像块。
结合第三方面第一种可能的实现方式中, 在第十二种可能的实现方式中, 所述第二确定单元, 用于确定所述当前解码图像块的预测模式为帧间预 测;
所述解码单元包括:
第三解析子单元, 用于从所述当前解码图像块的码流中解析出层间标示; 第三解码子单元,用于当所述层间标示指示的是所述当前解码图像块采用 的不是层间预测模式时, 进行帧间预测, 得到第五预测图像块; 对从所述当前 解码图像块的码流中获取的残差进行解码,所得重建残差与所述第五预测图像 块相加, 得到所述当前解码图像块的重建图像块。
本发明第四方面提供一种编码装置, 包括:
第二获取单元, 用于获取增强层当前编码图像块;
第三确定单元,用于确定所述第二获取单元获取的当前编码图像块所在片 的类型;
第四确定单元, 用于根据所述第三确定单元确定的所述片的类型,确定所 述当前编码图像块的预测模式;
编码单元,用于根据所述第四确定单元确定的预测模式对所述当前编码图 像块进行编码。
结合第四方面, 在第一种可能的实现方式中,
所述第四确定单元, 用于当所述片的类型为非 I型时, 确定所述当前编码 图像块的预测模式为帧间预测或帧内预测;
所述编码单元,用于根据所确定的帧间预测模式或者帧内预测模式对所述 当前编码图像进行编码。
结合第四方面, 在第二种可能的实现方式中,
所述第四确定单元, 用于当所述片的类型为 I型时, 确定所述当前编码图 像块的预测模式为帧内预测;
所述编码单元,用于向所述当前编码图像块的码流中写入层间纹理预测跳 过标示, 并根据所述层间纹理预测跳过标示编码所述当前编码图像块。
结合第四方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述编码单元,用于当所述层间纹理预测跳过标示指示的是直接使用所述 当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,所述当前 编码图像块的编码结束。
结合第四方面第二种可能的实现方式, 在第四种可能的实现方式中, 所述编码单元,用于当所述层间纹理预测跳过标示指示的是非直接使用所 述当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,向所述 当前编码图像块的码流中写入层间纹理预测标示,并根据所述层间纹理预测标 示编码所述当前编码图像块。
结合第四方面第四种可能的实现方式, 在第五种可能的实现方式中, 所述编码单元包括:
第四获取子单元,用于当所述层间纹理预测标示指示的是基于基本层对应 位置的图像块作为增强层编码图像块的预测图像块时,基于基本层对应位置的 图像块, 获取所述当前编码图像块的第一预测图像块;
第一编码子单元, 用于所述当前编码图像块减去所述第一预测图像块,得 到残差, 对所述残差进行编码。
结合第四方面第四种可能的实现方式, 在第六种可能的实现方式中, 所述编码单元包括:
预测子单元,用于当所述层间纹理预测标示指示的是不能基于基本层对应 位置的图像块作为增强层编码图像块的预测图像块时, 进行帧内预测,得到第 二预测图像块;
第二编码子单元, 用于所述当前编码图像块减去所述第二预测图像块,得 到残差, 对所述残差进行编码。
结合第四方面第第一种可能的实现方式, 在第七种可能的实现方式中, 所述编码单元, 用于向所述当前编码图像块的码流中写入层间标示; 当所 述层间标示指示的是所述当前编码图像块采用的是层间预测模式时,向所述当 前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述当前编码 图像块。
结合第四方面第第七种可能的实现方式, 在第八种可能的实现方式中, 所述编码单元, 用于当所述层间模式为层间纹理预测模式时,基于基本层 对应位置的图像块, 获取所述当前编码图像块的第三预测图像块; 所述当前编 码图像块减去所述第三预测图像块, 得到残差, 对所述残差进行编码。
结合第四方面第第七种可能的实现方式, 在第九种可能的实现方式中, 所述编码单元, 用于当所述层间模式为层间运动预测模式时, 获取所述当 前图像块对应位置的基本层图像块的运动信息; 根据所述运动信息, 进行增强 层帧间运动补偿,得到第四预测图像块; 所述当前编码图像块减去所述第四预 测图像块, 获得残差, 对所述残差进行编码。
结合第四方面第第一种可能的实现方式, 在第十种可能的实现方式中, 所述编码单元, 用于向所述当前编码图像块的码流中写入层间标示; 当所 述层间标示指示的是所述当前编码图像块采用的不是层间预测模式时,进行帧 间预测,得到第五预测图像块;所述当前编码图像块减去所述第五预测图像块, 得到残差, 对所述残差进行编码。
本发明第五方面提供一种终端, 包括解码装置和编码装置,
所述解码装置为上述技术方案任意一项所述的解码装置;
所述编码装置为上述技术方案任意一项所述的编码装置。
一方面, 本发明实施例采用获取增强层当前解码图像块; 确定所述当前解 码图像块所在片的类型; 根据所述片的类型,确定所述当前解码图像块的预测 模式; 根据所述预测模式对所述当前解码图像块进行解码。 与现有技术中只根 据层间模式进行解码相比, 本发明实施例提供的图像的解码方法, 可以根据图 像块的预测模式进行解码, 从而有效的提高了解码端的率失真性能降低。
另一方面, 本发明实施例采用获取增强层当前编码图像块; 确定所述当前 编码图像块所在片的类型; 根据所述片的类型,确定所述当前编码图像块的预 测模式; 根据所述预测模式对所述当前编码图像块进行编码。 与现有技术中只 根据层间模式进行编码相比, 本发明实施例提供的图像的编码方法, 可以根据 图像块的预测模式进行编码, 从而有效的提高了编码端的率失真性能降低。 附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。
图 1是本发明实施例中解码方法的一实施例示意图;
图 2是本发明实施例中解码方法的另一实施例示意图; 图 3是本发明实施例中解码方法的另一实施例示意图;
图 4是本发明实施例中解码方法的另一实施例示意图;
图 5是本发明实施例中解码方法的另一实施例示意图;
图 6是本发明实施例中解码方法的另一实施例示意图;
图 7是本发明实施例中解码方法的另一实施例示意图;
图 8是本发明实施例中解码方法的另一实施例示意图;
图 9是本发明实施例中解码方法的另一实施例示意图;
图 10是本发明实施例中解码方法的一实施例示意图;
图 11是本发明实施例中解码方法的另一实施例示意图;
图 12是本发明实施例中解码方法的另一实施例示意图;
图 13是本发明实施例中解码方法的另一实施例示意图;
图 14是本发明实施例中编码方法的另一实施例示意图;
图 15是本发明实施例中解码装置的一实施例示意图;
图 16是本发明实施例中解码装置的另一实施例示意图;
图 17是本发明实施例中解码装置的另一实施例示意图;
图 18是本发明实施例中解码装置的另一实施例示意图;
图 19是本发明实施例中解码装置的另一实施例示意图;
图 20是本发明实施例中解码装置的另一实施例示意图;
图 21是本发明实施例中解码装置的另一实施例示意图;
图 22是本发明实施例中编码装置的一实施例示意图;
图 23是本发明实施例中编码装置的一实施例示意图;
图 24是本发明实施例中编码装置的一实施例示意图;
图 25是本发明实施例中终端的一实施例示意图;
图 26是本发明实施例中终端的另一实施例示意图;
图 27是本发明实施例中终端的另一实施例示意图。
具体实施方式
本发明实施例提供一种图像的解码、编码方法, 可以根据图像块的预测模 式进行解码、 编码, 从而有效的提高了编解码端的率失真性能降低。 本发明实 施例还提供了相应的装置。 以下分別进行详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
参阅图 1 , 本发明实施例提供的图像的解码方法的一实施例包括:
101、 解码装置获取增强层当前解码图像块。
解码分为基本层解码和增强层解码, 基本层像素较低, 增强层像素较高, 通常增强层像素是基本层像素的倍数, 可以为 1.5倍、 2倍或其他倍数。
102、 解码装置确定所述当前解码图像块所在片的类型。
本发明实施例中的片 (slice ) 包含多个图像块, 而且片包含在帧 (frame ) 中, 可以理解帧中包含多个片, 片中包含多个图像块, 片的类型可以为 I型或 者非 I型, 非 I型通常包括 P型和 B型。
103、解码装置根据所述片的类型,确定所述当前解码图像块的预测模式。
104、 解码装置根据所述预测模式对所述当前解码图像块进行解码。
本发明实施例采用获取增强层当前解码图像块;确定所述当前解码图像块 所在片的类型; 根据所述片的类型, 确定所述当前解码图像块的预测模式; 根 据所述预测模式对所述当前解码图像块进行解码。与现有技术中只根据层间模 式进行解码相比, 本发明实施例提供的图像的解码方法, 可以根据图像块的预 测模式进行解码, 从而有效的提高了解码端的率失真性能降低。
参阅图 2, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 1对应的实施例中的步骤 101和 102, 执行完步骤 102后, 执行步骤 103-1 , 顺 序执行步骤 104-1。
103-1、 当所述片的类型为非 I型时, 确定所述当前解码图像块的预测模式 为帧间预测或帧内预测。
施例中, 当片的类型为非 I型时, 当前解码图像块的预测模式可
Figure imgf000016_0001
帧间预测为与其他帧中的图像块进行匹配。 帧内预测为与本帧内的图像块进行匹配。
104-1、 根据所确定的帧间预测模式或者帧内预测模式对所述当前解码图 像进行解码。
参阅图 3 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 1对应的实施例中的步骤 101和 102, 执行完步骤 102后, 执行步骤 103-2, 顺 序执行步骤 104-2。
103- 2、 当所述片的类型为 I型时, 确定所述当前解码图像块的预测模式为 帧内预测。
本发明实施例中, 当片的类型为 I型时, 当前解码图像块的预测模式只有 帧内预测一种。
104- 2、 从所述当前解码图像块的码流中解析出层间纹理预测跳过标示, 并根据所述层间纹理预测跳过标示重建所述当前解码图像块,得到所述当前解 码图像块的重建图像块。
本发明实施例中, 当前解码图像块的类型为 I型, 进行帧内预测时, 从当 前解码图像块的码流中解析出层间纹理预测跳过标示,层间纹理预测跳过标示 用于指示是否直接使用所述当前解码图像块对应位置的基本层图像块作为增 强层重建图像块。 述当前解码图像块对应位置的基本层图像块作为增强层重建图像块,当层间纹 理预测跳过标示为 0时表示非直接使用所述当前解码图像块对应位置的基本层 图像块作为增强层重建图像块。 当然,也可以反过来指示,根据需求定义即可。
参阅图 4, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 3对应的实施例中的步骤 101、 102、 103-2、 执行完步骤 103-2后, 执行步骤 104-21 ,
104-21、 当所述层间纹理预测跳过标示指示的是直接使用所述当前解码图 像块对应位置的基本层图像块作为增强层重建图像块时,基于基本层对应位置 的图像块, 获取所述当前解码图像块的重建图像块。
本发明实施例中,当所述层间纹理预测跳过标示指示的是直接使用所述当 前解码图像块对应位置的基本层图像块作为增强层重建图像块时,可以直接使 用基本层对应位置的图像块, 作为当前解码图像块的重建图像块。
参阅图 5 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 3对应的实施例中的步骤 101、 102、 103-2、 执行完步骤 103-2后, 执行步骤 104-22, 顺序执行步骤 104-23 ,
104-22、 当所述层间纹理预测跳过标示指示的是非直接使用所述当前解码 图像块对应位置的基本层图像块作为增强层重建图像块时,从所述当前解码图 像块的码流中获取层间纹理预测标示。
本发明实施例中层间纹理预测标示用于指示是否基于基本层对应位置的 图像块作为增强层解码图像块的预测图像块。 可以用层间纹理预测标示为 1时 表示是基本层对应位置的图像块作为增强层解码图像块的预测图像块,可以用 层间纹理预测标示为 0时表示不能基于基本层对应位置的图像块作为增强层解 码图像块的预测图像块。 当然, 也可以反过来指示, 根据需求定义即可。
104-23、 根据所述层间纹理预测标示重建所述当前解码图像块, 得到所述 当前解码图像块的重建图像块。
参阅图 6, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 5对应的实施例中的步骤 101、 102、 103-2、 104-22, 执行完步骤 104-22后, 执行步骤 104-231 , 顺序执行步骤 104-232;
104-231、 当所述层间纹理预测标示指示的是基于基本层对应位置的图像 块作为增强层解码图像块的预测图像块时,基于基本层对应位置的图像块, 获 取所述当前解码图像块的第一预测图像块。
本发明实施例中,当所述层间纹理预测标示指示的是基于基本层对应位置 的图像块作为增强层解码图像块的预测图像块时,采用基本层对应位置的图像 块, 作为所述当前解码图像块的第一预测图像块。
104-232、 对从所述当前解码图像块的码流中获取的残差进行解码, 所得 重建残差与所述第一预测图像块相加, 得到所述当前解码图像块的重建图像 块。
参阅图 7 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 5对应的实施例中的步骤 101、 102、 103-2、 104-22, 执行完步骤 104-22后, 执行步骤 104-233 , 顺序执行步骤 104-234;
104-233、 当所述层间纹理预测标示指示的是不能基于基本层对应位置的 图像块作为增强层解码图像块的预测图像块时, 进行帧内预测,得到第二预测 图像块。
本发明实施例中,当所述层间纹理预测标示指示的是不能基于基本层对应 位置的图像块作为增强层解码图像块的预测图像块时, 进行帧内预测,从帧内 找到最匹配的第二预测图像块。
104-234、 对从所述当前解码图像块的码流中获取的残差进行解码, 所得 重建残差与所述第二预测图像块相加, 得到所述当前解码图像块的重建图像 块。
参阅图 8 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 5对应的实施例中的步骤 101、 102、 103-2, 执行完步骤 103-2后, 顺序执行 步骤 104-221、 104-222、 104-223和 104-23。
104-221、 获取所述当前解码图像块不同空间方位上的图像块的层间纹理 预测标识或者层间纹理预测跳过标识。
104-222、 根据所述不同空间方位上的层间纹理预测标识或者层间纹理预 测跳过标识,获取所述当前解码图像块的层间间纹理预测标示的上下文模型索 引值。
104-223、 用所述当前解码图像块的层间间纹理预测标示的上下文模型索 引值指示所述当前解码图像块的层间间纹理预测标示。
参阅图 9, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 8对应的实施例中的步骤 101、 102、 103-2,顺序执行步骤 104-2211、 104-2221、 然后再执行图 12中的步骤 104-223和 104-23。
104-2211、获取所述当前解码图像块左方和上方的图像块的层间纹理预测 标识或者层间纹理预测跳过标识。
104-2221、 当所述当前解码图像块左方和上方的图像块的层间纹理预测标 识或者层间纹理预测跳过标识指示的是基于基本层对应位置的图像块作为增 强层解码图像块的预测图像块时,所述当前解码图像块的层间间纹理预测标示 的上下文模型索引值为所述当前解码图像块左方和上方的图像块的层间间纹 理预测标示的上下文模型索引值加 1。
参阅图 10, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 2对应的实施例中的步骤 101和 102 , 执行完步骤 103-11后, 顺序执行步骤 104-11、 104-12和 104-13。
103- 11、 当所述片的类型为非 I型时, 确定所述当前解码图像块的预测模 式为帧间预测。
104- 11、 从所述当前解码图像块的码流中解析出层间标示。
本发明实施例中层间标示用于指示所述当前解码图像块采用的是否为层 间预测模式。 可以用 1表示层间标示当前解码图像块采用的是层间预测模式, 可以用 0表示层间标示当前解码图像块采用的不是层间预测模式。 当然也可以 反过来定义。
104-12、 当所述层间标示指示的是所述当前解码图像块采用的是层间预测 模式时, 从所述当前解码图像块的码流中解析出层间模式。
层间模式用于指示当前解码图像块的层间预测模式是层间纹理预测模式 还是层间运动预测模式。 可以用 0表示层间模式指示的是层间纹理预测模式, 用 1表示层间模式指示的是层间运动预测模式。 当然, 也可以反过来定义。
104-13、 根据所述层间模式重建所述当前解码图像块, 得到所述当前解码 图像块的重建图像块。
参阅图 11 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 8对应的实施例中的步骤 101、 102、 103-11、 104-11和 104-12, 执行完步骤 104- 12后, 执行步骤 104- 131和 104- 132;
104-131、 当所述层间模式为层间纹理预测模式时, 基于基本层对应位置 的图像块, 获取所述当前解码图像块的第三预测图像块。
104-132、 对从所述当前解码图像块的码流中获取的残差进行解码, 所得 重建残差与所述第三预测图像块相加, 得到所述当前解码图像块的重建图像 块。 参阅图 12, 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 8对应的实施例中的步骤 101、 102、 103-11、 104-11和 104-12 , 执行完步骤 104-12后, 顺序执行步骤 104-133、 104-134和 104-135;
104-133、 当所述层间模式为层间运动预测模式时, 获取所述当前解码图 像块对应位置的基本层图像块的运动信息。
104-134、 根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测 图像块。
104-135、 对从所述当前解码图像块的码流中获取的残差进行解码, 所得 重建残差与所述第四预测图像块相加, 得到所述当前解码图像块的重建图像 块。
参阅图 13 , 本发明实施例提供的图像的解码方法的另一实施例包括: 上述 图 2对应的实施例中的步骤 101和 102,执行完步骤 102后,顺序执行步骤 103-11、 104-14、 104-15和 104-16;
103- 11、 当所述片的类型为非 I型时, 确定所述当前解码图像块的预测模 式为帧间预测。
104- 14、 从所述当前解码图像块的码流中解析出层间标示。
104- 15、 当所述层间标示指示的是所述当前解码图像块采用的不是层间预 测模式时, 进行帧间预测, 得到第五预测图像块。
104-16、 对从所述当前解码图像块的码流中获取的残差进行解码, 所得重 建残差与所述第五预测图像块相加, 得到所述当前解码图像块的重建图像块。
参阅图 14, 本发明实施例提供的一种图像的编码方法的一实施例包括: 201、 编码装置获取增强层当前编码图像块。
解码分为基本层解码和增强层解码, 基本层像素较低, 增强层像素较高, 通常增强层像素是基本层像素的倍数, 可以为 1.5倍、 2倍或其他倍数。
202、 编码装置确定所述当前编码图像块所在片的类型。
本发明实施例中的片 (slice ) 包含多个图像块, 而且片包含在帧 (frame ) 中, 可以理解帧中包含多个片, 片中包含多个图像块, 片的类型可以为 I型或 者非 I型, 非 I型通常包括 P型和 B型。 203、编码装置根据所述片的类型,确定所述当前编码图像块的预测模式。
204、 编码装置根据所述预测模式对所述当前编码图像块进行编码。
本发明实施例采用获取增强层当前编码图像块;确定所述当前编码图像块 所在片的类型; 根据所述片的类型, 确定所述当前编码图像块的预测模式; 根 据所述预测模式对所述当前编码图像块进行编码。与现有技术中只根据层间模 式进行编码相比, 本发明实施例提供的图像的编码方法, 可以根据图像块的预 测模式进行编码, 从而有效的提高了编码端的率失真性能降低。
可选地,在上述图 14对应的实施例的基础上, 本发明实施例提供的编码方 法的第一个可选实施例中, 所述根据所述片的类型,确定所述当前编码图像块 的预测模式, 具体可以包括:
当所述片的类型为非 I型时, 确定所述当前编码图像块的预测模式为帧间 预测或帧内预测;
所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 根据所确定的帧间预测模式或者帧内预测模式对所述当前编码图像进行 编码。
可选地,在上述图 14对应的实施例的基础上, 本发明实施例提供的编码方 法的第二个可选实施例中, 所述根据所述片的类型,确定所述当前编码图像块 的预测模式, 具体可以包括:
当所述片的类型为 I型时, 确定所述当前编码图像块的预测模式为帧内预 测;
所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 向所述当前编码图像块的码流中写入层间纹理预测跳过标示,并根据所述 层间纹理预测跳过标示编码所述当前编码图像块。
可选地,在上述第二个可选实施例的基础上, 本发明实施例提供的编码方 法的第三个可选实施例中,所述根据所述层间纹理预测跳过标示编码所述当前 编码图像块, 具体可以包括:
当所述层间纹理预测跳过标示指示的是直接使用所述当前编码图像块对 应位置的基本层图像块作为增强层重建图像块时,所述当前编码图像块的编码 结束。
可选地,在上述第二个可选实施例的基础上, 本发明实施例提供的编码方 法的第四个可选实施例中 ,所述根据所述层间纹理预测跳过标示编码所述当前 编码图像块, 具体可以包括:
当所述层间纹理预测跳过标示指示的是非直接使用所述当前编码图像块 对应位置的基本层图像块作为增强层重建图像块时,向所述当前编码图像块的 码流中写入层间纹理预测标示,并才艮据所述层间纹理预测标示编码所述当前编 码图像块。
可选地,在上述第四个可选实施例的基础上, 本发明实施例提供的编码方 法的第五个可选实施例中,所述根据所述层间纹理预测标示编码所述当前编码 图像块, 具体可以包括:
当所述层间纹理预测标示指示的是基于基本层对应位置的图像块作为增 强层编码图像块的预测图像块时,基于基本层对应位置的图像块, 获取所述当 前编码图像块的第一预测图像块;
所述当前编码图像块减去所述第一预测图像块,得到残差,对所述残差进 行编码。
可选地,在上述第四个可选实施例的基础上, 本发明实施例提供的编码方 法的第六个可选实施例中,所述根据所述层间纹理预测标示编码所述当前编码 图像块, 具体可以包括:
当所述层间纹理预测标示指示的是不能基于基本层对应位置的图像块作 为增强层编码图像块的预测图像块时, 进行帧内预测, 得到第二预测图像块; 所述当前编码图像块减去所述第二预测图像块,得到残差,对所述残差进 行编码。
可选地,在上述第一个可选实施例的基础上, 本发明实施例提供的编码方 法的第七个可选实施例中,所述根据所确定的帧间预测模对所述当前编码图像 进行编码, 具体可以包括:
向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的是层间预测模式时, 向所述当前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述 当前编码图像块。
可选地,在上述第七个可选实施例的基础上, 本发明实施例提供的编码方 法的第八个可选实施例中, 所述根据所述层间模式编码所述当前编码图像块, 具体可以包括:
当所述层间模式为层间纹理预测模式时, 基于基本层对应位置的图像块, 获取所述当前编码图像块的第三预测图像块;
所述当前编码图像块减去所述第三预测图像块,得到残差,对所述残差进 行编码。
可选地,在上述第七个可选实施例的基础上, 本发明实施例提供的编码方 法的第九个可选实施例中, 所述根据所述层间模式编码所述当前编码图像块, 具体包括:
当所述层间模式为层间运动预测模式时,获取所述当前图像块对应位置的 基本层图像块的运动信息;
根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 所述当前编码图像块减去所述第四预测图像块, 获得残差,对所述残差进 行编码。
可选地,在上述第一个可选实施例的基础上, 本发明实施例提供的编码方 法的第十个可选实施例中,所述根据所确定的帧间预测模对所述当前编码图像 进行编码, 具体可以包括:
向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块;
所述当前编码图像块减去所述第五预测图像块,得到残差,对所述残差进 行编码。
参阅图 15 , 本发明实施例提供的解码装置 30的一实施例包括:
第一获取单元 301 , 用于获取增强层当前解码图像块;
第一确定单元 302 ,用于确定所述第一获取单元 301获取的当前解码图像块 所在的片的类型;
第二确定单元 303 , 用于根据所述第一确定单元 302确定的片的类型,确定 所述当前解码图像块的预测模式;
解码单元 304,用于根据所述第二确定单元 303确定的预测模式对所述当前 解码图像块进行解码。
本发明实施例中, 第一获取单元 301获取增强层当前解码图像块; 第一确 定单元 302确定所述第一获取单元 301获取的当前解码图像块所在的片的类型; 第二确定单元 303根据所述第一确定单元 302确定的片的类型,确定所述当前解 码图像块的预测模式;解码单元 304根据所述第二确定单元 303确定的预测模式 对所述当前解码图像块进行解码。 与现有技术相比, 本发明实施例提供的解码 装置可以根据图像块的预测模式进行解码,从而有效的提高了解码端的率失真 性能降低。
在上述图 15对应的实施例的基础上,本发明实施例提供的解码装置 30的另 一实施例包括:
所述第二确定单元 303 , 用于当所述片的类型为非 I型时, 确定所述当前解 码图像块的预 模式为帧间预 或帧内预 'J;
所述解码单元 304, 用于根据所确定的帧间预测模式或者帧内预测模式对 所述当前解码图像进行解码。
在上述图 15对应的实施例的基础上, 参阅图 16, 本发明实施例提供的解码 装置 30的另一实施例包括:
所述第二确定单元 303 , 用于当所述片的类型为 I型时, 确定所述当前解码 图像块的预测模式为帧内预测;
所述解码单元 304包括:
第一解析子单元 3041 ,用于从所述当前解码图像块的码流中解析出层间纹 理预测跳过标示;
第一解码子单元 3042 ,用于根据所述第一解析子单元 3041解析出的层间纹 理预测跳过标示重建所述当前解码图像块,得到所述当前解码图像块的重建图 像块。 在上述图 16对应的实施例的基础上,本发明实施例提供的解码装置 30的另 一实施例包括:
所述第一解码子单元 3042,用于当所述层间纹理预测跳过标示指示的是直 接使用所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块 时, 基于基本层对应位置的图像块, 获取所述当前解码图像块的重建图像块。
在上述图 16对应的实施例的基础上, 参阅图 17, 本发明实施例提供的解码 装置 30的另一实施例包括:
所述第一解码子单元 3042包括:
第一获取微单元 30421, 用于当所述层间纹理预测跳过标示指示的是非直 接使用所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块 时, 从所述当前解码图像块的码流中获取层间纹理预测标示;
第一解码微单元 30422,用于根据所述第一获取微单元 30421获取的层间纹 理预测标示重建所述当前解码图像块, 得到所述当前解码图像块的重建图像 块。
在上述图 17对应的实施例的基础上,本发明实施例提供的解码装置 30的另 一实施例包括:
所述第一解码敫单元 30422, 用于当所述层间纹理预测标示指示的是基于 基本层对应位置的图像块作为增强层解码图像块的预测图像块时,基于基本层 对应位置的图像块, 获取所述当前解码图像块的第一预测图像块; 对从所述当 前解码图像块的码流中获取的残差进行解码以获得重建残差,所述重建残差与 所述第一预测图像块相加, 得到所述当前解码图像块的重建图像块。
在上述图 17对应的实施例的基础上,本发明实施例提供的解码装置 30的另 一实施例包括:
所述第一获取微单元 30421 , 用于获取所述当前解码图像块不同空间方位 上的图像块的层间纹理预测标识或者层间纹理预测跳过标识;根据所述不同空 间方位上的层间纹理预测标识或者层间纹理预测跳过标识,获取所述当前解码 图像块的层间间纹理预测标示的上下文模型索引值;用所述当前解码图像块的 层间间纹理预测标示的上下文模型索引值指示所述当前解码图像块的层间纹 理预测标示。
在上述图 17对应的可选实施例的基石出上,本发明实施例提供的解码装置 30 的另一实施例包括:
所述第一获取微单元 30421 , 用于获取所述当前解码图像块左方和上方的 块左方和上方的图像块的层间纹理预测标识或者层间纹理预测跳过标识指示 的^^于基本层对应位置的图像块作为增强层解码图像块的预测图像块时,所 述当前解码图像块的层间间纹理预测标示的上下文模型索引值为所述当前解 码图像块左方和上方的图像块的层间间纹理预测标示的上下文模型索引值加 1。
在上述图 15对应的可选实施例的基石出上, 参阅图 18, 本发明实施例提供的 解码装置 30的另一实施例包括:
所述第二确定单元 303 , 用于确定所述当前解码图像块的预测模式为帧间 预测;
所述解码单元 304包括:
第二解析子单元 3043 ,用于从所述当前解码图像块的码流中解析出层间标 示;
第二解码子单元 3044,用于当所述第二解析子单元 3043解析出的层间标示 指示的是所述当前解码图像块采用的是层间预测模式时,从所述当前解码图像 块的码流中解析出层间模式, 并根据所述层间模式重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。
在上述图 18对应的可选实施例的基石出上, 参阅图 19, 本发明实施例提供的 解码装置 30的另一实施例包括:
所述第二解码子单元 3044包括:
第二获取微单元 30441 , 用于当所述层间模式为层间纹理预测模式时, 基 于基本层对应位置的图像块, 获取所述当前解码图像块的第三预测图像块; 第二解码微单元 30442, 用于对从所述当前解码图像块的码流中获取的残 差进行解码以获得重建惨差, 所述重建残差与所述第三预测图像块相加,得到 所述当前解码图像块的重建图像块。
在上述图 18对应的可选实施例的基石出上, 参阅图 20, 本发明实施例提供的 解码装置 30的另一实施例包括: 所述第二解码子单元 3044包括:
第三获取微单元 30443 , 用于当所述层间模式为层间运动预测模式时, 获 取所述当前解码图像块对应位置的基本层图像块的运动信息;根据所述运动信 息, 进行增强层帧间运动补偿, 得到第四预测图像块;
第三解码微单元 30444, 用于对从所述当前解码图像块的码流中获取的残 差进行解码以获得重建惨差, 所述重建残差与所述第四预测图像块相加,得到 所述当前解码图像块的重建图像块。
在上述图 15对应的可选实施例的基石出上, 参阅图 21 , 本发明实施例提供的 解码装置 30的另一实施例包括:
所述第二确定单元 303 , 用于确定所述当前解码图像块的预测模式为帧间 预测;
所述解码单元 304包括:
第三解析子单元 3045 ,用于从所述当前解码图像块的码流中解析出层间标 示;
第三解码子单元 3046,用于当所述层间标示指示的是所述当前解码图像块 采用的不是层间预测模式时, 进行帧间预测, 得到第五预测图像块; 对从所述 当前解码图像块的码流中获取的残差进行解码,所得重建残差与所述第五预测 图像块相加, 得到所述当前解码图像块的重建图像块。
参阅图 22, 本发明实施例提供的编码装置 40的一实施例包括:
第二获取单元 401 , 用于获取增强层当前编码图像块;
第三确定单元 402,用于确定所述第二获取单元 401获取的当前编码图像块 所在片的类型;
第四确定单元 403 , 用于根据所述第三确定单元 402确定的所述片的类型, 确定所述当前编码图像块的预测模式;
编码单元 404,用于根据所述第四确定单元 403确定的预测模式对所述当前 编码图像块进行编码。 本发明实施例中, 第二获取单元 401获取增强层当前编码图像块; 第三确 定单元 402确定所述第二获取单元 401获取的当前编码图像块所在片的类型;第 四确定单元 403根据所述第三确定单元 402确定的所述片的类型,确定所述当前 编码图像块的预测模式;编码单元 404根据所述第四确定单元 403确定的预测模 式对所述当前编码图像块进行编码。 与现有技术相比, 本发明实施例提供的编 码装置可以根据图像块的预测模式进行编码,从而有效的提高了编码端的率失 真性能降低。
在上述图 22对应的实施例的基础上,本发明实施例提供的编码装置的第一 个可选实施例中,
所述第四确定单元 403 , 用于当所述片的类型为非 I型时, 确定所述当前编 码图像块的预 模式为帧间预 或帧内预 'J;
所述编码单元 404, 用于根据所确定的帧间预测模式或者帧内预测模式对 所述当前编码图像进行编码。
在上述图 22对应的实施例的基础上,本发明实施例提供的编码装置的第二 个可选实施例中,
所述第四确定单元 403 , 用于当所述片的类型为 I型时, 确定所述当前编码 图像块的预测模式为帧内预测;
所述编码单元 404 , 用于向所述当前编码图像块的码流中写入层间纹理预 测跳过标示, 并根据所述层间纹理预测跳过标示编码所述当前编码图像块。
在上述图 22对应的第二个可选实施例的基石出上,本发明实施例提供的编码 装置的第三个可选实施例中,
所述编码单元 404, 用于当所述层间纹理预测跳过标示指示的是直接使用 所述当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,所述 当前编码图像块的编码结束。
在上述图 22对应的第二个可选实施例的基石出上,本发明实施例提供的编码 装置的第四个可选实施例中,
所述编码单元 404, 用于当所述层间纹理预测跳过标示指示的是非直接使 用所述当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,向 所述当前编码图像块的码流中写入层间纹理预测标示,并根据所述层间纹理预 测标示编码所述当前编码图像块。
在上述第四个可选实施例的基础上, 参阅图 23 , 本发明实施例提供的编码 装置的第五个可选实施例中, 所述编码单元 404包括:
第四获取子单元 4041 ,用于当所述层间纹理预测标示指示的是基于基本层 对应位置的图像块作为增强层编码图像块的预测图像块时,基于基本层对应位 置的图像块, 获取所述当前编码图像块的第一预测图像块;
第一编码子单元 4042 , 用于所述当前编码图像块减去所述第一预测图像 块, 得到残差, 对所述残差进行编码。
在上述第四个可选实施例的基础上, 参阅图 24, 本发明实施例提供的编码 装置的第六个可选实施例中, 所述编码单元 404包括:
预测子单元 4043 ,用于当所述层间纹理预测标示指示的是不能基于基本层 对应位置的图像块作为增强层编码图像块的预测图像块时, 进行帧内预测,得 到第二预测图像块;
第二编码子单元 4044 , 用于所述当前编码图像块减去所述第二预测图像 块, 得到残差, 对所述残差进行编码。
在上述图 22对应的可选实施例的基石出上,本发明实施例提供的编码装置的 第七个可选实施例中,
所述编码单元 404, 用于向所述当前编码图像块的码流中写入层间标示; 当所述层间标示指示的是所述当前编码图像块采用的是层间预测模式时,向所 述当前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述当前 编码图像块。
在第七个可选实施例的基石出上,本发明实施例提供的编码装置的第八个可 选实施例中,
所述编码单元 404, 用于当所述层间模式为层间纹理预测模式时, 基于基 本层对应位置的图像块, 获取所述当前编码图像块的第三预测图像块; 所述当 前编码图像块减去所述第三预测图像块, 得到残差, 对所述残差进行编码。
在第七个可选实施例的基石出上,本发明实施例提供的编码装置的第九个可 选实施例中,
所述编码单元 404, 用于当所述层间模式为层间运动预测模式时, 获取所 述当前图像块对应位置的基本层图像块的运动信息; 根据所述运动信息, 进行 增强层帧间运动补偿,得到第四预测图像块; 所述当前编码图像块减去所述第 四预测图像块, 获得残差, 对所述残差进行编码。
在上述图 22对应的第一个可选实施例的基石出上,本发明实施例提供的编码 装置的第十个可选实施例中,
所述编码单元 404, 用于向所述当前编码图像块的码流中写入层间标示; 当所述层间标示指示的是所述当前编码图像块采用的不是层间预测模式时,进 行帧间预测,得到第五预测图像块; 所述当前编码图像块减去所述第五预测图 像块, 得到残差, 对所述残差进行编码。
本发明实施例还提供一种计算机存储介质, 该计算机存储介质存储有程 序, 该程序执行时包括上述一种图像的解码方法的部分或者全部步骤。
本发明实施例还提供一种计算机存储介质, 该计算机存储介质存储有程 序, 该程序执行时包括上述一种图像的编码方法的部分或者全部步骤。
参阅图 25, 本发明实施例提供的终端的一实施例包括: 第一接收器 110、 第一发送器 120、 第一存储器 130和第一处理器 140, 所述第一接收器 110、 第一 发送器 120、 第一存储器 130和第一处理器 140通过总线或者其他方式连接; 其中, 第一处理器 140用于执行如下步骤:
获取增强层当前解码图像块;
确定所述当前解码图像块所在的片的类型;
根据所述片的类型, 确定所述当前解码图像块的预测模式;
根据所述预测模式对所述当前解码图像块进行解码。
本发明一些实施例中, 所述第一处理器 140还用于当所述片的类型为非 I 型时,确定所述当前解码图像块的预测模式为帧间预测或帧内预测; 根据所确 定的帧间预测模式或者帧内预测模式对所述当前解码图像进行解码。
本发明一些实施例中, 所述第一处理器 140还用于当所述片的类型为 I型 时,确定所述当前解码图像块的预测模式为帧内预测; 从所述当前解码图像块 的码流中解析出层间纹理预测跳过标示,并根据所述层间纹理预测跳过标示重 建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间纹理预测跳 过标示指示的是直接使用所述当前解码图像块对应位置的基本层图像块作为 增强层重建图像块时,基于基本层对应位置的图像块, 获取所述当前解码图像 块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间纹理预测跳 过标示指示的是非直接使用所述当前解码图像块对应位置的基本层图像块作 为增强层重建图像块时,从所述当前解码图像块的码流中获取层间纹理预测标 示; 根据所述层间纹理预测标示重建所述当前解码图像块,得到所述当前解码 图像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间纹理预测标 示指示的是基于基本层对应位置的图像块作为增强层解码图像块的预测图像 块时,基于基本层对应位置的图像块, 获取所述当前解码图像块的第一预测图 像块; 对从所述当前解码图像块的码流中获取的残差进行解码以获得重建残 差, 所述重建残差与所述第一预测图像块相加,得到所述当前解码图像块的重 建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间纹理预测标 示指示的是不能基于基本层对应位置的图像块作为增强层解码图像块的预测 图像块时, 进行帧内预测, 得到第二预测图像块; 对从所述当前解码图像块的 码流中获取的残差进行解码以获得重建残差,所述重建残差与所述第二预测图 像块相加, 得到所述当前解码图像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于获取所述当前解码图像 根据所述不同空间方位上的层间纹理预测标识或者层间纹理预测跳过标识,获 取所述当前解码图像块的层间间纹理预测标示的上下文模型索引值;用所述当 前解码图像块的层间间纹理预测标示的上下文模型索引值指示所述当前解码 图像块的层间纹理预测标示。 本发明一些实施例中, 所述第一处理器 140还用于获取所述当前解码图像 述当前解码图像块左方和上方的图像块的层间纹理预测标识或者层间纹理预 测跳过标识指示的是基于基本层对应位置的图像块作为增强层解码图像块的 预测图像块时,所述当前解码图像块的层间间纹理预测标示的上下文模型索引 值为所述当前解码图像块左方和上方的图像块的层间间纹理预测标示的上下 文模型索引值加 1。
本发明一些实施例中, 所述第一处理器 140还用于若确定所述当前解码图 像块的预测模式为帧间预测, 从所述当前解码图像块的码流中解析出层间标 示; 当所述层间标示指示的是所述当前解码图像块采用的是层间预测模式时, 从所述当前解码图像块的码流中解析出层间模式,并根据所述层间模式重建所 述当前解码图像块, 得到所述当前解码图像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间模式为层间 纹理预测模式时,基于基本层对应位置的图像块, 获取所述当前解码图像块的 第三预测图像块;对从所述当前解码图像块的码流中获取的残差进行解码以获 得重建惨差, 所述重建残差与所述第三预测图像块相加,得到所述当前解码图 像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于当所述层间模式为层间 运动预测模式时,获取所述当前解码图像块对应位置的基本层图像块的运动信 息; 根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 对 从所述当前解码图像块的码流中获取的残差进行解码以获得重建惨差,所述重 建残差与所述第四预测图像块相加, 得到所述当前解码图像块的重建图像块。
本发明一些实施例中, 所述第一处理器 140还用于若确定所述当前解码图 像块的预测模式为帧间预测, 从所述当前解码图像块的码流中解析出层间标 示; 当所述层间标示指示的是所述当前解码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块; 对从所述当前解码图像块的码流中 获取的残差进行解码, 所得重建残差与所述第五预测图像块相加,得到所述当 前解码图像块的重建图像块。 参阅图 26, 本发明实施例提供的终端的一实施例包括: 第二接收器 150、 第二发送器 160、 第二存储器 170和第二处理器 180, 所述第二接收器 150、 第二 发送器 160、 第二存储器 170和第二处理器 180, 通过总线或者其他方式连接; 其中, 第二处理器 180用于执行如下步骤:
获取增强层当前编码图像块;
确定所述当前编码图像块所在片的类型;
根据所述片的类型, 确定所述当前编码图像块的预测模式;
根据所述预测模式对所述当前编码图像块进行编码。
本发明一些实施例中, 所述第二处理器 180还用于当所述片的类型为非 I 型时,确定所述当前编码图像块的预测模式为帧间预测或帧内预测; 根据所确 定的帧间预测模式或者帧内预测模式对所述当前编码图像进行编码。
本发明一些实施例中, 所述第二处理器 180还用于当所述片的类型为 I型 时,确定所述当前编码图像块的预测模式为帧内预测; 向所述当前编码图像块 的码流中写入层间纹理预测跳过标示 ,并根据所述层间纹理预测跳过标示编码 所述当前编码图像块。
本发明一些实施例中, 所述第二处理器 180还用于当所述层间纹理预测跳 过标示指示的是直接使用所述当前编码图像块对应位置的基本层图像块作为 增强层重建图像块时, 所述当前编码图像块的编码结束。
本发明一些实施例中, 所述第二处理器 180还用于当所述层间纹理预测跳 过标示指示的是非直接使用所述当前编码图像块对应位置的基本层图像块作 为增强层重建图像块时,向所述当前编码图像块的码流中写入层间纹理预测标 示, 并根据所述层间纹理预测标示编码所述当前编码图像块。
本发明一些实施例中, 所述第二处理器 180还用于当所述层间纹理预测标 示指示的是基于基本层对应位置的图像块作为增强层编码图像块的预测图像 块时,基于基本层对应位置的图像块, 获取所述当前编码图像块的第一预测图 像块; 所述当前编码图像块减去所述第一预测图像块, 得到残差, 对所述残差 进行编码。
本发明一些实施例中, 所述第二处理器 180还用于当所述层间纹理预测标 示指示的是不能基于基本层对应位置的图像块作为增强层编码图像块的预测 图像块时, 进行帧内预测, 得到第二预测图像块; 所述当前编码图像块减去所 述第二预测图像块, 得到残差, 对所述残差进行编码。
本发明一些实施例中, 所述第二处理器 180还用于向所述当前编码图像块 的码流中写入层间标示;当所述层间标示指示的是所述当前编码图像块采用的 是层间预测模式时, 向所述当前编码图像块的码流中写入层间模式, 并根据所 述层间模式编码所述当前编码图像块。
本发明一些实施例中, 所述第二处理器 180还用于当所述层间模式为层间 纹理预测模式时,基于基本层对应位置的图像块, 获取所述当前编码图像块的 第三预测图像块; 所述当前编码图像块减去所述第三预测图像块, 得到残差, 对所述残差进行编码。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。
以上对本发明实施例所提供的解码、 编码方法以及装置进行了详细介绍, 说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本领域的一般 技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种图像的解码方法, 其特征在于, 包括:
获取增强层当前解码图像块;
确定所述当前解码图像块所在的片的类型;
根据所述片的类型, 确定所述当前解码图像块的预测模式;
根据所述预测模式对所述当前解码图像块进行解码。
2、根据权利要求 1所述的解码方法,其特征在于,所述根据所述片的类型, 确定所述当前解码图像块的预测模式, 具体包括:
当所述片的类型为非 I型时, 确定所述当前解码图像块的预测模式为帧间 预测或帧内预测;
所述根据所述预测模式对所述当前解码图像进行解码, 具体包括: 根据所确定的帧间预测模式或者帧内预测模式对所述当前解码图像进行 解码。
3、根据权利要求 1所述的解码方法,其特征在于,所述根据所述片的类型, 确定所述当前解码图像块的预测模式, 具体包括:
当所述片的类型为 I型时, 确定所述当前解码图像块的预测模式为帧内预 测;
所述根据所述预测模式对所述当前解码图像进行解码, 具体包括: 从所述当前解码图像块的码流中解析出层间纹理预测跳过标示,并根据所 述层间纹理预测跳过标示重建所述当前解码图像块,得到所述当前解码图像块 的重建图像块。
4、根据权利要求 3所述的解码方法, 其特征在于, 所述根据所述层间纹理 预测跳过标示重建所述当前解码图像块,得到所述当前解码图像块的重建图像 块, 具体包括:
当所述层间纹理预测跳过标示指示的是直接使用所述当前解码图像块对 应位置的基本层图像块作为增强层重建图像块时,基于基本层对应位置的图像 块, 获取所述当前解码图像块的重建图像块。
5、根据权利要求 3所述的解码方法, 其特征在于, 所述根据所述层间纹理 预测跳过标示重建所述当前解码图像块,得到所述当前解码图像块的重建图像 块, 具体包括:
当所述层间纹理预测跳过标示指示的是非直接使用所述当前解码图像块 对应位置的基本层图像块作为增强层重建图像块时,从所述当前解码图像块的 码流中获取层间纹理预测标示;
根据所述层间纹理预测标示重建所述当前解码图像块,得到所述当前解码 图像块的重建图像块。
6、根据权利要求 5所述的解码方法, 其特征在于, 所述根据所述层间纹理 预测标示重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块, 具体包括:
当所述层间纹理预测标示指示的是基于基本层对应位置的图像块作为增 强层解码图像块的预测图像块时,基于基本层对应位置的图像块, 获取所述当 前解码图像块的第一预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码以获得重建残差, 所述重建残差与所述第一预测图像块相加,得到所述当前解码图像块的重建图 像块。
7、根据权利要求 5所述的解码方法, 其特征在于, 所述根据所述层间纹理 预测标示重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块, 具体包括:
当所述层间纹理预测标示指示的是不能基于基本层对应位置的图像块作 为增强层解码图像块的预测图像块时, 进行帧内预测, 得到第二预测图像块; 对从所述当前解码图像块的码流中获取的残差进行解码以获得重建残差, 所述重建残差与所述第二预测图像块相加,得到所述当前解码图像块的重建图 像块。
8、根据权利要求 5所述的解码方法, 其特征在于, 所述从所述当前解码图 像块的码流中获取层间纹理预测标示, 具体包括:
获取所述当前解码图像块不同空间方位上的图像块的层间纹理预测标识 或者层间纹理预测跳过标识; 根据所述不同空间方位上的层间纹理预测标识或者层间纹理预测跳过标 识, 获取所述当前解码图像块的层间间纹理预测标示的上下文模型索引值; 用所述当前解码图像块的层间间纹理预测标示的上下文模型索引值指示 所述当前解码图像块的层间纹理预测标示。
9、根据权利要求 8所述的方法, 其特征在于, 所述获取当前解码图像块不 包括:
获取所述当前解码图像块左方和上方的图像块的层间纹理预测标识或者 层间纹理预测跳过标识;
所述根据所述不同空间方位上的层间纹理预测标识或者层间纹理预测跳 过标识, 获取所述当前解码图像块的层间间纹理预测标示的上下文模型索引 值, 具体包括:
当所述当前解码图像块左方和上方的图像块的层间纹理预测标识或者层 间纹理预测跳过标识指示的是基于基本层对应位置的图像块作为增强层解码 图像块的预测图像块时,所述当前解码图像块的层间间纹理预测标示的上下文 模型索引值为所述当前解码图像块左方和上方的图像块的层间间纹理预测标 示的上下文模型索引值加 1。
10、 根据权利要求 2所述的解码方法, 其特征在于, 若确定所述当前解码 图像块的预测模式为帧间预测,所述根据所确定的帧间预测模式对所述当前解 码图像进行解码, 具体包括:
从所述当前解码图像块的码流中解析出层间标示;
当所述层间标示指示的是所述当前解码图像块采用的是层间预测模式时, 从所述当前解码图像块的码流中解析出层间模式,并根据所述层间模式重建所 述当前解码图像块, 得到所述当前解码图像块的重建图像块。
11、 根据权利要求 10所述的解码方法, 其特征在于, 所述根据所述层间模 式重建所述当前解码图像块,得到所述当前解码图像块的重建图像块, 具体包 括:
当所述层间模式为层间纹理预测模式时, 基于基本层对应位置的图像块, 获取所述当前解码图像块的第三预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码以获得重建惨差, 所述重建残差与所述第三预测图像块相加,得到所述当前解码图像块的重建图 像块。
12、 根据权利要求 10所述的解码方法, 其特征在于, 所述根据所述层间模 式重建所述当前解码图像块,得到所述当前解码图像块的重建图像块, 具体包 括:
当所述层间模式为层间运动预测模式时,获取所述当前解码图像块对应位 置的基本层图像块的运动信息;
根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 对从所述当前解码图像块的码流中获取的残差进行解码以获得重建惨差, 所述重建残差与所述第四预测图像块相加,得到所述当前解码图像块的重建图 像块。
13、 根据权利要求 2所述的解码方法, 其特征在于, 若确定所述当前解码 图像块的预测模式为帧间预测,所述根据所确定的帧间预测模式对所述当前解 码图像进行解码, 具体包括:
从所述当前解码图像块的码流中解析出层间标示;
当所述层间标示指示的是所述当前解码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块;
对从所述当前解码图像块的码流中获取的残差进行解码,所得重建残差与 所述第五预测图像块相加, 得到所述当前解码图像块的重建图像块。
14、 一种图像的编码方法, 其特征在于, 包括:
获取增强层当前编码图像块;
确定所述当前编码图像块所在片的类型;
根据所述片的类型, 确定所述当前编码图像块的预测模式;
根据所述预测模式对所述当前编码图像块进行编码。
15、 根据权利要求 14所述的编码方法, 其特征在于, 所述根据所述片的类 型, 确定所述当前编码图像块的预测模式, 具体包括: 当所述片的类型为非 I型时, 确定所述当前编码图像块的预测模式为帧间 预测或帧内预测;
所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 根据所确定的帧间预测模式或者帧内预测模式对所述当前编码图像进行 编码。
16、 根据权利要求 14所述的编码方法, 其特征在于, 所述根据所述片的类 型, 确定所述当前编码图像块的预测模式, 具体包括:
当所述片的类型为 I型时, 确定所述当前编码图像块的预测模式为帧内预 测;
所述根据所述预测模式对所述当前编码图像进行编码, 具体包括: 向所述当前编码图像块的码流中写入层间纹理预测跳过标示,并根据所述 层间纹理预测跳过标示编码所述当前编码图像块。
17、 根据权利要求 16所述的编码方法, 其特征在于, 所述根据所述层间纹 理预测跳过标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是直接使用所述当前编码图像块对 应位置的基本层图像块作为增强层重建图像块时,所述当前编码图像块的编码 结束。
18、 根据权利要求 16所述的编码方法, 其特征在于, 所述根据所述层间纹 理预测跳过标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测跳过标示指示的是非直接使用所述当前编码图像块 对应位置的基本层图像块作为增强层重建图像块时,向所述当前编码图像块的 码流中写入层间纹理预测标示,并才艮据所述层间纹理预测标示编码所述当前编 码图像块。
19、 根据权利要求 18所述的编码方法, 其特征在于, 所述根据所述层间纹 理预测标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测标示指示的是基于基本层对应位置的图像块作为增 强层编码图像块的预测图像块时,基于基本层对应位置的图像块, 获取所述当 前编码图像块的第一预测图像块; 所述当前编码图像块减去所述第一预测图像块,得到残差,对所述残差进 行编码。
20、 根据权利要求 18所述的编码方法, 其特征在于, 所述根据所述层间纹 理预测标示编码所述当前编码图像块, 具体包括:
当所述层间纹理预测标示指示的是不能基于基本层对应位置的图像块作 为增强层编码图像块的预测图像块时, 进行帧内预测, 得到第二预测图像块; 所述当前编码图像块减去所述第二预测图像块,得到残差,对所述残差进 行编码。
21、 根据权利要求 15所述的编码方法, 其特征在于, 所述根据所确定的帧 间预测模对所述当前编码图像进行编码, 具体包括:
向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的是层间预测模式时, 向所述当前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述 当前编码图像块。
22、 根据权利要求 21所述的编码方法, 其特征在于, 所述根据所述层间模 式编码所述当前编码图像块, 具体包括:
当所述层间模式为层间纹理预测模式时, 基于基本层对应位置的图像块, 获取所述当前编码图像块的第三预测图像块;
所述当前编码图像块减去所述第三预测图像块,得到残差,对所述残差进 行编码。
23、 根据权利要求 21所述的编码方法, 其特征在于, 所述根据所述层间模 式编码所述当前编码图像块, 具体包括:
当所述层间模式为层间运动预测模式时,获取所述当前图像块对应位置的 基本层图像块的运动信息;
根据所述运动信息, 进行增强层帧间运动补偿, 得到第四预测图像块; 所述当前编码图像块减去所述第四预测图像块, 获得残差,对所述残差进 行编码。
24、 根据权利要求 15所述的编码方法, 其特征在于, 所述根据所确定的帧 间预测模对所述当前编码图像进行编码, 具体包括:
向所述当前编码图像块的码流中写入层间标示;
当所述层间标示指示的是所述当前编码图像块采用的不是层间预测模式 时, 进行帧间预测, 得到第五预测图像块;
所述当前编码图像块减去所述第五预测图像块,得到残差,对所述残差进 行编码。
25、 一种解码装置、 其特征在于, 包括:
第一获取单元, 用于获取增强层当前解码图像块;
第一确定单元,用于确定所述第一获取单元获取的当前解码图像块所在的 片的类型;
第二确定单元, 用于根据所述第一确定单元确定的片的类型,确定所述当 前解码图像块的预测模式;
解码单元,用于根据所述第二确定单元确定的预测模式对所述当前解码图 像块进行解码。
26、 根据权利要求 25所述的解码装置, 其特征在于,
所述第二确定单元, 用于当所述片的类型为非 I型时, 确定所述当前解码 图像块的预测模式为帧间预测或帧内预测;
所述解码单元,用于根据所确定的帧间预测模式或者帧内预测模式对所述 当前解码图像进行解码。
27、 根据权利要求 25所述的解码装置, 其特征在于,
所述第二确定单元, 用于当所述片的类型为 I型时, 确定所述当前解码图 像块的预测模式为帧内预测;
所述解码单元包括:
第一解析子单元,用于从所述当前解码图像块的码流中解析出层间纹理预 测兆过标示;
第一解码子单元,用于根据所述第一解析子单元解析出的层间纹理预测跳 过标示重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。
28、 根据权利要求 27所述的解码装置, 其特征在于, 所述第一解码子单元,用于当所述层间纹理预测跳过标示指示的是直接使 用所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块时,基 于基本层对应位置的图像块, 获取所述当前解码图像块的重建图像块。
29、 根据权利要求 27所述的解码装置, 其特征在于,
所述第一解码子单元包括:
第一获取微单元,用于当所述层间纹理预测跳过标示指示的是非直接使用 所述当前解码图像块对应位置的基本层图像块作为增强层重建图像块时,从所 述当前解码图像块的码流中获取层间纹理预测标示;
第一解码微单元,用于根据所述第一获取微单元获取的层间纹理预测标示 重建所述当前解码图像块, 得到所述当前解码图像块的重建图像块。
30、 根据权利要求 29所述的解码装置, 其特征在于,
所述第一解码微单元,用于当所述层间纹理预测标示指示的是基于基本层 对应位置的图像块作为增强层解码图像块的预测图像块时,基于基本层对应位 置的图像块, 获取所述当前解码图像块的第一预测图像块; 对从所述当前解码 图像块的码流中获取的残差进行解码以获得重建残差,所述重建残差与所述第 一预测图像块相加, 得到所述当前解码图像块的重建图像块。
31、 根据权利要求 29所述的解码装置, 其特征在于,
所述第一解码微单元,用于当所述层间纹理预测标示指示的是不能基于基 本层对应位置的图像块作为增强层解码图像块的预测图像块时, 进行帧内预 测,得到第二预测图像块; 对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建残差, 所述重建残差与所述第二预测图像块相加,得到所述当 前解码图像块的重建图像块。
32、 根据权利要求 29所述的解码装置, 其特征在于,
所述第一获取微单元,用于获取所述当前解码图像块不同空间方位上的图 像块的层间纹理预测标识或者层间纹理预测跳过标识;根据所述不同空间方位 上的层间纹理预测标识或者层间纹理预测跳过标识,获取所述当前解码图像块 的层间间纹理预测标示的上下文模型索引值;用所述当前解码图像块的层间间 纹理预测标示的上下文模型索引值指示所述当前解码图像块的层间纹理预测 标示。
33、 根据权利要求 32所述的解码装置, 其特征在于,
所述第一获取微单元,用于获取所述当前解码图像块左方和上方的图像块 的层间纹理预测标识或者层间纹理预测跳过标识;当所述当前解码图像块左方 和上方的图像块的层间纹理预测标识或者层间纹理预测跳过标识指示的是基 于基本层对应位置的图像块作为增强层解码图像块的预测图像块时,所述当前 解码图像块的层间间纹理预测标示的上下文模型索引值为所述当前解码图像 块左方和上方的图像块的层间间纹理预测标示的上下文模型索引值加 1。
34、 根据权利要求 26所述的解码装置, 其特征在于,
所述第二确定单元, 用于确定所述当前解码图像块的预测模式为帧间预 测;
所述解码单元包括:
第二解析子单元, 用于从所述当前解码图像块的码流中解析出层间标示; 第二解码子单元,用于当所述第二解析子单元解析出的层间标示指示的是 所述当前解码图像块采用的是层间预测模式时,从所述当前解码图像块的码流 中解析出层间模式, 并根据所述层间模式重建所述当前解码图像块,得到所述 当前解码图像块的重建图像块。
35、 根据权利要求 34所述的解码装置, 其特征在于,
所述第二解码子单元包括:
第二获取微单元, 用于当所述层间模式为层间纹理预测模式时,基于基本 层对应位置的图像块, 获取所述当前解码图像块的第三预测图像块;
第二解码微单元,用于对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建惨差, 所述重建残差与所述第三预测图像块相加,得到所述当 前解码图像块的重建图像块。
36、 根据权利要求 34所述的解码装置, 其特征在于, 所述第二解码子单元 包括:
第三获取微单元, 用于当所述层间模式为层间运动预测模式时, 获取所述 当前解码图像块对应位置的基本层图像块的运动信息; 根据所述运动信息, 进 行增强层帧间运动补偿, 得到第四预测图像块;
第三解码微单元,用于对从所述当前解码图像块的码流中获取的残差进行 解码以获得重建惨差, 所述重建残差与所述第四预测图像块相加,得到所述当 前解码图像块的重建图像块。
37、 根据权利要求 26所述的解码装置, 其特征在于,
所述第二确定单元, 用于确定所述当前解码图像块的预测模式为帧间预 测;
所述解码单元包括:
第三解析子单元, 用于从所述当前解码图像块的码流中解析出层间标示; 第三解码子单元,用于当所述层间标示指示的是所述当前解码图像块采用 的不是层间预测模式时, 进行帧间预测, 得到第五预测图像块; 对从所述当前 解码图像块的码流中获取的残差进行解码,所得重建残差与所述第五预测图像 块相加, 得到所述当前解码图像块的重建图像块。
38、 一种编码装置, 其特征在于, 包括:
第二获取单元, 用于获取增强层当前编码图像块;
第三确定单元,用于确定所述第二获取单元获取的当前编码图像块所在片 的类型;
第四确定单元, 用于根据所述第三确定单元确定的所述片的类型,确定所 述当前编码图像块的预测模式;
编码单元,用于根据所述第四确定单元确定的预测模式对所述当前编码图 像块进行编码。
39、 根据权利要求 38所述的编码装置, 其特征在于,
所述第四确定单元, 用于当所述片的类型为非 I型时, 确定所述当前编码 图像块的预测模式为帧间预测或帧内预测;
所述编码单元,用于根据所确定的帧间预测模式或者帧内预测模式对所述 当前编码图像进行编码。
40、 根据权利要求 38所述的编码装置, 其特征在于,
所述第四确定单元, 用于当所述片的类型为 I型时, 确定所述当前编码图 像块的预测模式为帧内预测;
所述编码单元,用于向所述当前编码图像块的码流中写入层间纹理预测跳 过标示, 并根据所述层间纹理预测跳过标示编码所述当前编码图像块。
41、 根据权利要求 40所述的编码装置, 其特征在于,
所述编码单元,用于当所述层间纹理预测跳过标示指示的是直接使用所述 当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,所述当前 编码图像块的编码结束。
42、 根据权利要求 40所述的编码装置, 其特征在于,
所述编码单元,用于当所述层间纹理预测跳过标示指示的是非直接使用所 述当前编码图像块对应位置的基本层图像块作为增强层重建图像块时,向所述 当前编码图像块的码流中写入层间纹理预测标示,并根据所述层间纹理预测标 示编码所述当前编码图像块。
43、 根据权利要求 42所述的编码装置, 其特征在于, 所述编码单元包括: 第四获取子单元,用于当所述层间纹理预测标示指示的是基于基本层对应 位置的图像块作为增强层编码图像块的预测图像块时,基于基本层对应位置的 图像块, 获取所述当前编码图像块的第一预测图像块;
第一编码子单元, 用于所述当前编码图像块减去所述第一预测图像块,得 到残差, 对所述残差进行编码。
44、 根据权利要求 42所述的编码装置, 其特征在于, 所述编码单元包括: 预测子单元,用于当所述层间纹理预测标示指示的是不能基于基本层对应 位置的图像块作为增强层编码图像块的预测图像块时, 进行帧内预测,得到第 二预测图像块;
第二编码子单元, 用于所述当前编码图像块减去所述第二预测图像块,得 到残差, 对所述残差进行编码。
45、 根据权利要求 39所述的编码装置, 其特征在于,
所述编码单元, 用于向所述当前编码图像块的码流中写入层间标示; 当所 述层间标示指示的是所述当前编码图像块采用的是层间预测模式时,向所述当 前编码图像块的码流中写入层间模式,并根据所述层间模式编码所述当前编码 图像块。
46、 根据权利要求 45所述的编码装置, 其特征在于,
所述编码单元, 用于当所述层间模式为层间纹理预测模式时,基于基本层 对应位置的图像块, 获取所述当前编码图像块的第三预测图像块; 所述当前编 码图像块减去所述第三预测图像块, 得到残差, 对所述残差进行编码。
47、 根据权利要求 45所述的编码装置, 其特征在于,
所述编码单元, 用于当所述层间模式为层间运动预测模式时, 获取所述当 前图像块对应位置的基本层图像块的运动信息; 根据所述运动信息, 进行增强 层帧间运动补偿,得到第四预测图像块; 所述当前编码图像块减去所述第四预 测图像块, 获得残差, 对所述残差进行编码。
48、 根据权利要求 39所述的编码装置, 其特征在于,
所述编码单元, 用于向所述当前编码图像块的码流中写入层间标示; 当所 述层间标示指示的是所述当前编码图像块采用的不是层间预测模式时,进行帧 间预测,得到第五预测图像块;所述当前编码图像块减去所述第五预测图像块, 得到残差, 对所述残差进行编码。
49、 一种终端, 其特征在于, 包括解码装置和编码装置,
所述解码装置为上述权利要求 25~37任意一项所述的解码装置;
所述编码装置为上述权利要求 38~48任意一项所述的编码装置。
PCT/CN2013/080298 2013-01-07 2013-07-29 一种图像的解码、编码方法及装置 WO2014106378A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310005034.5A CN103916665B (zh) 2013-01-07 2013-01-07 一种图像的解码、编码方法及装置
CN201310005034.5 2013-01-07

Publications (1)

Publication Number Publication Date
WO2014106378A1 true WO2014106378A1 (zh) 2014-07-10

Family

ID=51042009

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/080298 WO2014106378A1 (zh) 2013-01-07 2013-07-29 一种图像的解码、编码方法及装置

Country Status (2)

Country Link
CN (1) CN103916665B (zh)
WO (1) WO2014106378A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222743B (zh) * 2017-07-04 2020-02-04 西安万像电子科技有限公司 一种图像处理方法、装置和系统
CN111866484B (zh) * 2019-04-30 2023-06-20 华为技术有限公司 点云编码方法、点云解码方法、装置及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348588A (ja) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd 動画像符号化装置と映像伝送システム
CN101247522A (zh) * 2007-02-16 2008-08-20 汤姆森许可贸易公司 通过再量化的比特速率降低方法
CN102271257A (zh) * 2006-07-14 2011-12-07 索尼株式会社 图像处理设备和方法及程序和计算机可读介质
CN102668568A (zh) * 2009-12-22 2012-09-12 索尼公司 图像处理设备和方法及程序

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050195896A1 (en) * 2004-03-08 2005-09-08 National Chiao Tung University Architecture for stack robust fine granularity scalability
CN101005614A (zh) * 2006-01-17 2007-07-25 鲁海宁 动态图像编解码方法、装置和计算机可读记录介质
KR100781524B1 (ko) * 2006-04-04 2007-12-03 삼성전자주식회사 확장 매크로블록 스킵 모드를 이용한 인코딩/디코딩 방법및 장치
JP4678015B2 (ja) * 2007-07-13 2011-04-27 富士通株式会社 動画像符号化装置及び動画像符号化方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003348588A (ja) * 2002-05-30 2003-12-05 Matsushita Electric Ind Co Ltd 動画像符号化装置と映像伝送システム
CN102271257A (zh) * 2006-07-14 2011-12-07 索尼株式会社 图像处理设备和方法及程序和计算机可读介质
CN101247522A (zh) * 2007-02-16 2008-08-20 汤姆森许可贸易公司 通过再量化的比特速率降低方法
CN102668568A (zh) * 2009-12-22 2012-09-12 索尼公司 图像处理设备和方法及程序

Also Published As

Publication number Publication date
CN103916665A (zh) 2014-07-09
CN103916665B (zh) 2018-05-29

Similar Documents

Publication Publication Date Title
JP5746182B2 (ja) イントラ予測モードの効率的なビデオ符号化及び復号化方法及び装置
CA2838578C (en) Encoding or decoding method and apparatus
CN106210734B (zh) 将图像序列编码成位流以及对位流进行解码的方法和装置
ES2924886T3 (es) Método y dispositivo para codificación por compresión con pérdidas de datos de imagen
WO2016155576A1 (zh) 图像编解码方法和相关装置
US11050903B2 (en) Video encoding and decoding
US20120230405A1 (en) Video coding methods and video encoders and decoders with localized weighted prediction
JP5805097B2 (ja) 映像符号化及び復号化のためのdcイントラ予測モードのための方法及び装置
TR201802888T4 (tr) İç tahmin ile video kodu çözmek için usul.
JP5955391B2 (ja) 参照ピクチャリストの取り扱い
WO2013113217A1 (zh) 解码方法和装置
JP2016518042A5 (zh)
KR101377528B1 (ko) 움직임 벡터 부호화/복호화 방법 및 장치
JP2011519227A5 (zh)
CN103339938A (zh) 执行视频译码的运动向量预测
WO2014108093A1 (zh) 深度图像的编解码方法和编解码装置
EP1867176A1 (en) Method for decoding video signal encoded using inter-layer prediction
WO2014005426A1 (zh) 帧间预测编码运动信息的处理方法、装置和编解码系统
WO2012097746A1 (zh) 一种编解码方法和装置
WO2014048372A1 (zh) 用于图像处理的方法、装置、编码器和解码器
CN112543329B (zh) 视频编码方法和用于减小编码视频的文件大小的方法
WO2014106378A1 (zh) 一种图像的解码、编码方法及装置
WO2021004153A1 (zh) 图像预测方法、编码器、解码器以及存储介质
ES2907382T3 (es) Procedimiento de codificación y decodificación de imágenes, dispositivo de codificación y decodificación de imágenes y programas de ordenador correspondientes
CN115941944A (zh) 图像解码方法、解码器及计算机存储介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13869960

Country of ref document: EP

Kind code of ref document: A1