WO2019137008A1 - 对统一转换单元模式进行分组标识的方法、装置和电子设备 - Google Patents

对统一转换单元模式进行分组标识的方法、装置和电子设备 Download PDF

Info

Publication number
WO2019137008A1
WO2019137008A1 PCT/CN2018/101449 CN2018101449W WO2019137008A1 WO 2019137008 A1 WO2019137008 A1 WO 2019137008A1 CN 2018101449 W CN2018101449 W CN 2018101449W WO 2019137008 A1 WO2019137008 A1 WO 2019137008A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
group
coding
mode
unified conversion
Prior art date
Application number
PCT/CN2018/101449
Other languages
English (en)
French (fr)
Inventor
姚杰
蔡文婷
Original Assignee
富士通株式会社
姚杰
蔡文婷
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社, 姚杰, 蔡文婷 filed Critical 富士通株式会社
Priority to JP2020532040A priority Critical patent/JP6947305B2/ja
Publication of WO2019137008A1 publication Critical patent/WO2019137008A1/zh
Priority to US16/900,263 priority patent/US11234012B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/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/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/18Methods 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 set of transform coefficients
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

Definitions

  • the present application relates to the field of information technology, and in particular, to a method, an apparatus, and an electronic device for group identification of a unified conversion unit mode.
  • a unified data structure can be used to represent the image structure of a video image.
  • This unified data structure is called a uniform transform unit structure.
  • a coding unit (Code Unit, CU) of a video image may be divided into a plurality of uniform transform units, and each unified transform unit may have a rectangular shape and a coding unit. All unified conversion units have the same shape and area.
  • the coding unit is used as a unified conversion unit, ie, the coding The unit includes only one unified conversion unit; 2.
  • the size of each unified conversion unit in the coding unit is 2 n x 2 n , whereby the coding unit includes 2 mn unified conversion units; 3.
  • Each of the coding units The size of a unified conversion unit is 2 n-1 x2 n-1 , whereby the coding unit includes 4x2 mn unified conversion units; 4.
  • each unified conversion unit in the coding unit is 2 n-2 x2 N-2 , whereby the coding unit includes 16x2 mn unified conversion units; ..., and so on. In the last possible division manner, the size of each unified conversion unit in the coding unit is 2x2.
  • Each of the foregoing division manners may correspond to a unified UUT mode, wherein the UUT mode may be represented as a numerical value.
  • a unified conversion unit mode is set for each coding unit (CU), and the unified conversion unit mode can indicate how many unified conversion units the coding unit is divided into.
  • the inventors of the present application have found that when video image coding is performed using the unified conversion unit mode, a unified conversion unit mode set for each coding unit (CU) needs to be marked to the coding unit, but a plurality of coding units (CU)
  • the unified conversion unit modes are all the same value, for example, 0. Repeated storage, transmission, and processing of these same values result in waste of storage capacity, transmission capability, and processing capability.
  • An embodiment of the present application provides a method, an apparatus, and an electronic device for performing group identification on a unified conversion unit mode.
  • the unified conversion unit mode of each coding unit in a group unit is the same, the coding units in the group unit are not unified.
  • the conversion unit mode is marked, thereby saving storage capacity, transmission capability, and processing capability.
  • an apparatus for grouping and identifying a unified conversion unit mode of a coding unit group wherein the coding unit group includes at least one group unit, and one of the group units includes at least one coding a unit, each of the coding units having a corresponding unified conversion unit mode, the device comprising:
  • a first identifier unit that identifies the group unit according to a unified conversion unit mode of each coding unit included in each group unit, wherein a unified conversion unit mode of each coding unit in the group unit has the same a first value, the first flag is set to a second value, and the group of cells is identified using the first flag;
  • a second identifying unit that identifies each of the coding units in the group of cells according to a unified conversion unit mode of each coding unit included in each group of units.
  • a method for grouping and identifying a unified conversion unit mode of a coding unit group where the coding unit group includes at least one group unit, and one of the group units includes at least one coding a unit, each of the coding units having a corresponding unified conversion unit mode, the method comprising:
  • Each of the coding units in the group of cells is identified according to a unified conversion unit mode of each coding unit included in each group of units.
  • an apparatus for identifying a unified conversion unit mode of a coding unit group wherein the coding unit group includes at least one group unit, and one of the group units includes at least one coding unit Each of the coding units has a corresponding unified conversion unit mode, and the apparatus includes:
  • a first identifying unit when the first flag of the group unit is a second value, identifying a unified conversion unit mode of each coding unit in the group unit as a first value.
  • a method for identifying a unified conversion unit mode of a coding unit group where the coding unit group includes at least one group unit, and one of the group units includes at least one coding unit Each of the coding units has a corresponding unified conversion unit mode, and the method includes:
  • the unified conversion unit mode of each coding unit in the group unit is recognized as the first value.
  • an electronic device comprising the apparatus of the first aspect of the above embodiment and/or the apparatus of the third aspect.
  • the beneficial effects of the present application are: when the unified conversion unit mode of each coding unit in the group unit is the same, the unified conversion unit mode of each coding unit in the group unit is not marked, thereby saving storage capacity and transmission capability. And processing power.
  • FIG. 1 is a schematic diagram of a coding unit group of this embodiment
  • FIG. 2 is a schematic diagram of a method for grouping and identifying a unified conversion unit mode according to the present application
  • Figure 3 (A) is a schematic diagram of a coding unit group
  • 3(B) is a schematic diagram showing a quadtree plus binary tree structure corresponding to the coding unit group of FIG. 3(A);
  • FIG. 4 is a schematic diagram of an apparatus for performing group identification on a unified conversion unit mode of a coding unit group according to Embodiment 2 of the present application;
  • FIG. 5 is a schematic diagram of a method for identifying a unified conversion unit mode of a coding unit group according to Embodiment 3;
  • FIG. 6 is a schematic diagram of an apparatus for identifying a unified conversion unit mode of a coding unit group according to Embodiment 4;
  • FIG. 7 is a schematic diagram showing the configuration of an electronic device according to Embodiment 5 of the present application.
  • Embodiment 1 of the present application provides a method for grouping and identifying a unified transform unit mode (UTU mode) in a code unit (CU) group, and is applied to an encoding end that encodes an image.
  • the coding unit group includes at least one group unit (GU), and the group unit includes at least one coding unit, and each coding unit has a corresponding unified conversion unit mode, and the unified conversion unit mode can represent the coding unit. How many unified conversion units are divided into.
  • FIG. 1 is a schematic diagram of a coding unit group of the present embodiment.
  • the coding unit group 100 has two group units 101 and 102, wherein the group unit 101 has two coding units 1011 and 1012, and a coding unit. 1011 is divided into four unified conversion units, and the coding unit 1012 is divided into two unified conversion units.
  • the value of the unified conversion unit mode corresponding to the coding unit 1011 of FIG. 1 may be 3, and the value of the unified conversion unit mode corresponding to the coding unit 1011 may be 2.
  • FIG. 2 is a schematic diagram of a method for grouping and identifying a unified conversion unit mode according to the present application. As shown in FIG. 2, the method includes:
  • Step 201 Identify the group unit according to a unified conversion unit mode of each coding unit included in each group unit, where a unified conversion unit mode of each coding unit in the group unit has the same first value Setting the first flag to a second value and using the first tag to identify the group of cells;
  • Step 202 Identify each coding unit in the group unit according to a unified conversion unit mode of each coding unit included in each group unit.
  • the group unit when the unified conversion unit mode of each coding unit in the group unit is the same, the group unit is identified by using the first mark, thereby, by using the first mark, each code in the group unit can be represented.
  • the unit has the same unified conversion unit mode, which improves image coding efficiency.
  • the first flag of the group unit may be represented as a UTU flag, and when the unified conversion unit mode of each coding unit in the group unit has the same first value, the group unit may be The first flag UTU flag is set to the second value.
  • the value of the unified conversion unit mode may be as described in the background of the present application, and the different meanings represented by different numerical values of the unified conversion unit mode are not repeatedly described in this embodiment.
  • the first value may be 0, that is, each coding unit in the group unit includes only one unified conversion unit.
  • the first flag UTU flag of the group unit may be set to the second.
  • the value, the second value can be, for example, zero.
  • the first flag UTU flag of the group unit when the value of the unified conversion unit mode of at least one coding unit in the group unit is not equal to the first value, the first flag UTU flag of the group unit is set to be different from the second value.
  • Three values For example, when the unified conversion unit mode corresponding to each coding unit in the group unit includes 0, 1, and 3, the first flag UTU flag of the group unit may be set to a third value, and the third value may be different from the first A value, such as a third value, can be one.
  • the data structure of the coding unit group can be represented as a quadtree plus binary tree (QT/BT) structure.
  • QT/BT binary tree
  • Table 1 below is an example of a parameter (QT/BT parameter) of a quadtree plus binary tree structure.
  • the group unit may satisfy certain conditions.
  • the parameters of the quadtree plus binary tree structure corresponding to the group unit may satisfy the condition shown by the following formula (1):
  • qtDepth is the depth of the quadtree structure of the node corresponding to the group of cells
  • btDepth is the depth of the binary tree structure of the node corresponding to the group of cells.
  • condition that the group unit satisfies may not be limited to the above formula (1), and may be other conditions, and the embodiment may not be limited thereto.
  • the group unit may no longer include other group units, that is, in the quadtree plus binary tree structure, among the nodes satisfying the condition shown by the above formula (1), the lowest layer node is used as a group.
  • the node corresponding to the unit thereby enabling the division of the group unit to be more concise.
  • each of the coding units in the group of units is identified according to a unified conversion unit mode of each coding unit included in each group of units. For example, when the value of the unified conversion unit mode of at least one coding unit in the group unit is not equal to the first value, each coding unit in the group unit is identified by using the unified conversion unit mode; or When the unified conversion unit patterns of the coding units in the group unit all have the same first value, each coding unit in the group unit is not identified.
  • FIG. 3 is a schematic diagram of group identification of a unified conversion unit mode according to the method of the present embodiment, wherein (A) is a schematic diagram of a coding unit group, and (B) is a quadtree corresponding to the coding unit group of (A)
  • a schematic diagram of a binary tree structure wherein the node 300A corresponds to the coding unit group 300 of the diagram (A), and in the quadtree plus binary tree structure, the first flag UTU flag of the group unit and each coding in the group unit are shown The unit's unified conversion unit mode.
  • (A) of FIG. 3 only the case of dividing to the coding unit (CU) level is shown, and the case where each coding unit is divided into several unified conversion units is not shown.
  • the nodes 3021, 3022, 3023a, and 3023b are all quadtree nodes, and the depth qtDepth of the corresponding quadtree structure is 1, 2, 3, and 3, respectively, and the corresponding binary tree structure.
  • the depths btDepth are both 0. Therefore, the parameters of the quadtree structure of the nodes 3023a and 3023b satisfy the condition of the above formula (1), and the regions corresponding to the nodes (A) of the nodes 3023a and 3023b are the group units 3013a and 3013b.
  • the depth qtDepth of the corresponding quadtree structure is 2
  • the depth btDepth of the corresponding binary tree structure is 0, 1, 2, respectively.
  • the parameters of the binary tree structure of the node 3026 and the parameters of the quadtree structure satisfy the condition of the above formula (1), and the area corresponding to the node (3) of the node 3026 is the group unit 3016.
  • the unit conversion unit mode of each coding unit 3014 included in the group unit 3013a is the first value (for example, 0), and therefore, the group unit 3013a is A flag UTU flag is identified as a second value (eg, 0);
  • the first flag UTU flag of the group unit 3013b is identified as a third value (for example, 1), wherein the first flag UTU flag of the group unit 3013b is represented on the node 3023b of (B) of FIG. 3;
  • the unified conversion unit pattern of the encoding unit 3017 included therein is the first value (for example, 0), and therefore, the first flag UTU flag of the group unit 3016 is identified as the second value (for example, 0).
  • each coding unit 3014 is not identified by using the unified conversion unit mode, that is, the number 0 next to the node under the node 3023a in (B) of FIG. 3 is bracketed. , indicating that the number 0 is not identified.
  • each coding unit 3017 is not identified using the unified conversion unit mode, that is, the number 0 next to the node under the node 3026 in (B) of FIG. 3 is bracketed. , indicating that the number 0 is not identified.
  • each coding unit 3015a, 3015b is identified using a unified conversion unit mode, that is, the number 1, 0 next to the node under the node 3023b in (B) of FIG. Not marked with parentheses, indicating the number 0.
  • step 201 and step 202 may be after the rate-distortion optimization (RDO) processing, because of the rate-distortion optimization (RDO) processing, information on which each coding unit is divided may be obtained.
  • RDO rate-distortion optimization
  • the unified conversion unit mode (UTU mode) and the first flag UTU flag of each coding unit identified in the coding unit group may be stored and processed, and transmitted to the image decoding end, and the image decoding end is
  • the received unified conversion unit mode (UTU mode) and the first flag UTU flag are parsed (sparse) to perform image decoding. For example, when the image decoding end parses out the first flag UTU flag of a certain group of units, it continues to parse the unified conversion unit mode (UTU mode) of each coding unit included in the group unit to determine each code.
  • the unit is divided by the unified conversion unit; when the image decoding end parses out the first flag UTU flag of a certain group of units to 0, it can directly determine the unified conversion unit mode (UTU mode) of each coding unit of the group of units. 0, that is, the manner in which the unified conversion unit of each coding unit is divided.
  • UTU mode unified conversion unit mode
  • the unified conversion unit mode of each coding unit in the group unit is not marked, thereby saving storage capacity, transmission capability, and processing.
  • the ability to improve image coding efficiency, and the decoding end can also improve image decoding efficiency.
  • Embodiment 2 of the present application provides a device for grouping and identifying a unified unit mode (UTU mode) of a code unit (CU) group, and corresponds to the method of Embodiment 1.
  • the device can be placed at the encoding end that encodes the image.
  • the coding unit group includes at least one group unit, and each group unit includes at least one coding unit, and each coding unit has a corresponding unified conversion unit mode.
  • the apparatus 400 includes: a first identification unit 401 and a second identification unit 402.
  • the first identification unit 401 identifies the group of units according to a unified conversion unit mode of each coding unit included in each group of units, where the unified conversion unit mode of each coding unit in the group of units is When the first value is the same, the first flag is set to the second value, and the group element is identified by using the first flag; the second identifier unit 402 is based on the unified conversion unit of each coding unit included in each group of units. Mode, identifying each of the coding units in the group of units.
  • the group unit when the unified conversion unit mode of each coding unit in the group unit is the same, the group unit is identified by using the first mark, thereby, by using the first mark, each code in the group unit can be represented.
  • the unit has the same unified conversion unit mode, which improves image coding efficiency.
  • the first identifier unit 401 sets the first flag of the group unit to be different from the second The third value of the value.
  • the second identification unit 402 may not identify each coding unit in the group unit. Thereby, the storage capacity, the transmission capability and the processing capability are saved, the image coding efficiency is improved, and the decoding end can also improve the image decoding efficiency.
  • the second identification unit 402 may utilize a unified conversion unit mode of each coding unit in the group of units.
  • the coding unit is identified. Thereby, each coding unit can be accurately identified.
  • Embodiment 3 of the present application provides a method for identifying a unified conversion unit mode of a coding unit group, which may be performed on a decoding end that decodes an image, and identifies the coding according to information that is identified by a unified conversion unit mode of the unit group. Unified unit conversion mode for unit groups.
  • the coding unit group includes at least one group unit, and one of the group units includes at least one coding unit, and each of the coding units has a corresponding unified conversion unit mode.
  • FIG. 5 is a schematic diagram of a method for identifying a unified conversion unit mode of a coding unit group according to Embodiment 3, as shown in FIG. 5, the method includes:
  • Step 501 When the first flag of the group unit is the second value, the unified conversion unit mode of each coding unit in the group unit is recognized as the first value.
  • the unified conversion unit mode of each coding unit in the group of units can be identified only according to the first flag of the group unit, whereby the amount of data required by the decoding end when decoding is small, and the decoding speed is shorter. fast.
  • the method may further include:
  • Step 502 When the first flag of the group unit is a third value, identify a unified conversion unit mode of each coding unit according to a value of a unified conversion unit mode of each coding unit in the group of units.
  • the first identifying unit 501 may extract a value of a unified conversion unit mode of each coding unit in the group of cells from information identifying the group of cells, and identify a unified conversion unit mode of each coding unit according to each value.
  • Embodiment 4 of the present application provides an apparatus for identifying a unified conversion unit mode of a coding unit group, which may be disposed at a decoding end that decodes an image, and identifies the coding according to information that is identified by a unified conversion unit mode of the unit group. Unified unit conversion mode for unit groups.
  • the coding unit group includes at least one group unit, and one of the group units includes at least one coding unit, and each of the coding units has a corresponding unified conversion unit mode.
  • FIG. 6 is a schematic diagram of an apparatus for identifying a unified conversion unit mode of a coding unit group according to the fourth embodiment. As shown in FIG. 6, the apparatus 600 includes: a first identification unit 601.
  • the first identifying unit 601 identifies the unified conversion unit mode of each coding unit in the group unit as the first value.
  • the unified conversion unit mode of each coding unit in the group of units can be identified only according to the first flag of the group unit, whereby the amount of data required by the decoding end when decoding is small, and the decoding speed is shorter. fast.
  • the first identifying unit 601 identifies the unified conversion unit of each coding unit according to the value of the unified conversion unit mode of each coding unit in the group unit.
  • the first identification unit 601 may extract a value of a unified conversion unit mode of each coding unit in the group of cells from information identifying the group of cells, and identify a unified conversion unit mode of each coding unit according to each value.
  • Embodiment 5 of the present application provides an electronic device comprising: the device as described in Embodiment 2, and/or the device as described in Embodiment 4.
  • the electronic device has the device described in Embodiment 2, the electronic device can encode an image, and in the process of encoding the image by the electronic device, the device described in Embodiment 2 can be used for the coding unit group.
  • the unified conversion unit mode performs identification; or the electronic device has the apparatus described in Embodiment 4, and the electronic device can decode the encoded information to obtain an image, and in the process of decoding the electronic device, implement
  • the apparatus described in Example 4 may identify the unified conversion unit mode of the coding unit group according to information identifying the unified conversion unit mode of the unit group; or the electronic device has the apparatus described in Embodiment 2, and Embodiment 4
  • the device described in the embodiment 2 can identify the unified conversion unit mode of the coding unit group, and the device described in Embodiment 4 can identify the code according to the information identifying the unified conversion unit mode of the unit group.
  • Unified unit conversion mode for unit groups are examples of the electronic device described in Embodiment 2 and the device described in Embodiment
  • FIG. 7 is a schematic diagram showing the configuration of an electronic device according to Embodiment 5 of the present application.
  • electronic device 700 can include a central processing unit (CPU) 701 and memory 702; and memory 702 is coupled to central processor 701.
  • the memory 702 can store various data; in addition, a program for group identification and identification of the unified conversion unit mode of the coding unit group is stored, and the program is executed under the control of the central processing unit 701.
  • the functionality of the apparatus described in embodiment 2 and/or the apparatus as described in embodiment 4 may be integrated into central processor 701.
  • the central processing unit 701 can be configured to:
  • the coding unit performs identification.
  • the central processor 701 can also be configured such that the first value is zero.
  • the central processing unit 701 may be further configured to: when the value of the unified conversion unit mode of at least one of the group of units is not equal to the first value, set the first flag of the group unit to Different from the third value of the second value.
  • the central processing unit 701 may be further configured to not identify each coding unit in the group unit when the unified conversion unit patterns of the coding units in the group unit all have the same first value.
  • the central processing unit 701 may be further configured to: when the value of the unified conversion unit mode of at least one of the group of units is not equal to the first value, use the unified conversion unit mode to the group Each coding unit in the unit is identified.
  • central processing unit 701 may be further configured to: the parameters of the quadtree plus binary tree structure of the group unit satisfy the following conditions:
  • qtDepth is the depth of the quadtree structure corresponding to the group of cells
  • btDepth is the depth of the binary tree structure corresponding to the group of cells.
  • central processing unit 701 can also be configured such that no other group units are included in the group unit.
  • the central processing unit 701 may be further configured to: when the first flag of the group unit is the second value, identify the unified conversion unit mode of each coding unit in the group unit as the first value.
  • the central processing unit 701 may be further configured to: when the first flag of the group unit is the third value, identify the unified conversion unit mode of each coding unit according to the value of the unified conversion unit mode of each coding unit in the group of units .
  • the electronic device 700 may further include: an input and output unit 703, a display unit 704, and the like; wherein the functions of the above components are similar to the prior art, and details are not described herein again. It should be noted that the electronic device 700 does not necessarily have to include all the components shown in FIG. 7; in addition, the electronic device 700 may further include components not shown in FIG. 7, and reference may be made to the prior art.
  • the embodiment of the present application further provides a computer readable program, wherein the device or the electronic device that performs the group identification of the unified conversion unit mode of the coding unit group, the device or the electronic device that identifies the unified conversion unit mode of the coding unit group is
  • the program causes the apparatus for group identification of the unified conversion unit mode of the coding unit group, the apparatus for identifying the unified conversion unit mode of the coding unit group, or the electronic device to perform the method described in Embodiment 1 or 3.
  • the embodiment of the present application further provides a storage medium storing a computer readable program, wherein the storage medium stores the computer readable program, wherein the computer readable program causes group identification of a unified conversion unit mode of a coding unit group
  • the apparatus, the apparatus or the electronic device that identifies the unified conversion unit mode of the coding unit group performs the method described in Embodiment 1 or 3.
  • the apparatus for performing group identification on the unified conversion unit mode of the coding unit group or the apparatus for identifying the unified conversion unit mode of the coding unit group described in the embodiment of the present invention may be directly embodied as hardware, a software module executed by the processor, or two. Combination.
  • one or more of the functional block diagrams shown in Figures 4, 6 and/or one or more combinations of functional block diagrams may correspond to individual software modules of a computer program flow, or to individual hardware modules.
  • These software modules may correspond to the respective steps shown in Embodiment 1 or 3, respectively.
  • These hardware modules can be implemented, for example, by curing these software modules using a Field Programmable Gate Array (FPGA).
  • FPGA Field Programmable Gate Array
  • the software module can reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
  • a storage medium can be coupled to the processor to enable the processor to read information from, and write information to, the storage medium; or the storage medium can be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC.
  • the software module can be stored in the memory of the mobile terminal or in a memory card that can be inserted into the mobile terminal. For example, if the electronic device uses a larger capacity MEGA-SIM card or a large-capacity flash memory device, the software module can be stored in the MEGA-SIM card or a large-capacity flash memory device.
  • One or more of the functional block diagrams described with respect to Figures 4, 6 and/or one or more combinations of functional block diagrams may be implemented as a general purpose processor, digital signal processor (DSP) for performing the functions described herein.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • One or more of the functional block diagrams described with respect to FIG. 2 and/or one or more combinations of functional block diagrams may also be implemented as a combination of computing devices, eg, a combination of a DSP and a microprocessor, multiple microprocessors, One or more microprocessors or any other such configuration in conjunction with DSP communication.
  • a first identifier unit that identifies the group unit according to a unified conversion unit mode of each coding unit included in each group unit, wherein a unified conversion unit mode of each coding unit in the group unit has the same a first value, the first flag is set to a second value, and the group of cells is identified using the first flag;
  • a second identifying unit that identifies each of the coding units in the group of cells according to a unified conversion unit mode of each coding unit included in each group of units.
  • the first value is zero.
  • the first identification unit sets the first flag of the group unit to be different from the second The third value of the value.
  • the second identification unit does not identify each coding unit in the group unit.
  • the second identification unit When the value of the unified conversion unit mode of at least one coding unit in the group unit is not equal to the first value, the second identification unit performs, by using the unified conversion unit mode, each coding unit in the group unit Logo.
  • qtDepth is the depth of the quadtree structure corresponding to the group of cells
  • btDepth is the depth of the binary tree structure corresponding to the group of cells.
  • Each of the coding units in the group of cells is identified according to a unified conversion unit mode of each coding unit included in each group of units.
  • the first value is zero.
  • identifying the coding units in the group of units according to the unified conversion unit mode of each coding unit included in each group of units comprises:
  • each coding unit in the group unit is not identified.
  • identifying the coding units in the group of units according to the unified conversion unit mode of each coding unit included in each group of units comprises:
  • each coding unit in the group unit is identified by using the unified conversion unit mode.
  • qtDepth is the depth of the quadtree structure corresponding to the group of cells
  • btDepth is the depth of the binary tree structure corresponding to the group of cells.
  • An electronic device comprising the apparatus for grouping and identifying a unified conversion unit mode of a coding unit group according to any one of supplementary notes 1-7.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本申请实施例提供一种对统一转换单元模式进行分组标识的方法,装置和电子设备,该方法包括:根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。根据本申请,当组单元中的各编码单元的统一转换单元模式相同时,不对该组单元中的各编码单元的统一转换单元模式进行标记,由此,节省了存储能力、传输能力和处理能力。

Description

对统一转换单元模式进行分组标识的方法、装置和电子设备 技术领域
本申请涉及信息技术领域,尤其涉及一种对统一转换单元模式进行分组标识的方法,装置和电子设备。
背景技术
在视频编码领域,可以用一种统一的数据结构来表示视频图像的图像结构,这种统一的数据结构被称为统一转换编码结构(uniform transform unit structure)。在统一转换编码结构中,视频图像的编码单元(Code Unit,CU)可以被划分为若干个统一转换单元(uniform transform unit),每一个统一转换单元的形状可以是矩形,并且一个编码单元中的所有统一转换单元具有相同的形状和面积。
对于尺寸为2 mx2 n(m>=n)的编码单元,其可以以如下可能的划分方式被划分为若干个统一转换单元:1、将该编码单元作为一个统一转换单元,即,该编码单元中只包含一个统一转换单元;2、该编码单元中每一个统一转换单元的尺寸为2 nx2 n,由此,该编码单元中包含2 m-n个统一转换单元;3、该编码单元中每一个统一转换单元的尺寸为2 n-1x2 n-1,由此,该编码单元中包含4x2 m-n个统一转换单元;4、该编码单元中每一个统一转换单元的尺寸为2 n-2x2 n-2,由此,该编码单元中包含16x2 m-n个统一转换单元;……,依次类推,在最后一种可能的划分方式中,该编码单元中每一个统一转换单元的尺寸为2x2。
上述每一种划分方式可以分别对应于一种统一转换单元模式(UTU mode),其中,统一转换单元模式(UTU mode)可以被表示为一个数值,例如,上述方式1对应于UTU mode=0,上述方式2对应于UTU mode=1,上述方式3对应于UTU mode=2,上述方式4对应于UTU mode=3。
在对视频图像进行编码时,对每个编码单元(CU)都设置统一转换单元模式,该统一转换单元模式能够表示该编码单元被划分成了多少个统一转换单元。
应该注意,上面对技术背景的介绍只是为了方便对本申请的技术方案进行清楚、 完整的说明,并方便本领域技术人员的理解而阐述的。不能仅仅因为这些方案在本申请的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。
发明内容
本申请的发明人发现,在利用统一转换单元模式进行视频图像编码时,对每个编码单元(CU)设置的统一转换单元模式需要被标记于该编码单元,但是,多数编码单元(CU)的统一转换单元模式都是相同值,例如为0,对这些相同值进行重复存储、传输和处理,会造成对存储能力、传输能力和处理能力的浪费。
本申请实施例提供一种对统一转换单元模式进行分组标识的方法、装置和电子设备,当组单元中的各编码单元的统一转换单元模式相同时,不对该组单元中的各编码单元的统一转换单元模式进行标记,由此,节省了存储能力、传输能力和处理能力。
根据本申请实施例的第一方面,提供一种对编码单元组的统一转换单元模式进行分组标识的装置,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述装置包括:
第一标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
第二标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
根据本申请实施例的第二方面,提供一种对编码单元组的统一转换单元模式进行分组标识的方法,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述方法包括:
根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
根据本申请实施例的第三方面,提供一种对编码单元组的统一转换单元模式进行 识别的装置,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述装置包括:
第一识别单元,其在所述组单元的第一标记为第二值时,将所述组单元中各编码单元的统一转换单元模式均识别为第一值。
根据本申请实施例的第四方面,提供一种对编码单元组的统一转换单元模式进行识别的方法,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述方法包括:
在所述组单元的第一标记为第二值时,将所述组单元中各编码单元的统一转换单元模式均识别为第一值。
根据本申请实施例的第五方面,提供一种电子设备,包括上述实施例第一方面所述的装置和/或第三方面所述的装置。
本申请的有益效果在于:当组单元中的各编码单元的统一转换单元模式相同时,不对该组单元中的各编码单元的统一转换单元模式进行标记,由此,节省了存储能力、传输能力和处理能力。
参照后文的说明和附图,详细公开了本发明的特定实施方式,指明了本发明的原理可以被采用的方式。应该理解,本发明的实施方式在范围上并不因而受到限制。在所附权利要求的精神和条款的范围内,本发明的实施方式包括许多改变、修改和等同。
针对一种实施方式描述和/或示出的特征可以以相同或类似的方式在一个或更多个其它实施方式中使用,与其它实施方式中的特征相组合,或替代其它实施方式中的特征。
应该强调,术语“包括/包含”在本文使用时指特征、整件、步骤或组件的存在,但并不排除一个或更多个其它特征、整件、步骤或组件的存在或附加。
附图说明
所包括的附图用来提供对本发明实施例的进一步的理解,其构成了说明书的一部分,用于例示本发明的实施方式,并与文字描述一起来阐释本发明的原理。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1是本实施例的编码单元组的一个示意图;
图2是本申请的对统一转换单元模式进行分组标识的方法的一个示意图;
图3(A)是编码单元组的一个示意图;
图3(B)是图3(A)的编码单元组对应的四叉树加二叉树结构的一个示意图;
图4是本申请实施例2的对编码单元组的统一转换单元模式进行分组标识的装置的一个示意图;
图5是本实施例3的对编码单元组的统一转换单元模式进行识别的方法的一个示意图;
图6是本实施例4的对编码单元组的统一转换单元模式进行识别的装置的一个示意图;
图7是本申请实施例5的电子设备的一个构成示意图。
具体实施方式
参照附图,通过下面的说明书,本发明的前述以及其它特征将变得明显。在说明书和附图中,具体公开了本发明的特定实施方式,其表明了其中可以采用本发明的原则的部分实施方式,应了解的是,本发明不限于所描述的实施方式,相反,本发明包括落入所附权利要求的范围内的全部修改、变型以及等同物。
实施例1
本申请实施例1提供一种对编码单元(Code Unit,CU)组中的统一转换单元模式(UTU mode,Uniform Transform Unit Mode)进行分组标识的方法,被应用于对图像进行编码的编码端。该编码单元组中包括至少一个组单元(Group Unit,GU),一个该组单元中至少包括一个编码单元,每一个编码单元具有相应的统一转换单元模式,该统一转换单元模式可以表示该编码单元被划分成了多少个统一转换单元。
图1是本实施例的编码单元组的一个示意图,如图1所示,编码单元组100中具有两个组单元101、102,其中,组单元101具有2个编码单元1011、1012,编码单元1011被划分成了4个统一转换单元,编码单元1012被划分成了2个统一转换单元。
在本实施例中,图1的编码单元1011对应的统一转换单元模式的值可以是3,编码单元1011对应的统一转换单元模式的值可以是2。
图2是本申请的对统一转换单元模式进行分组标识的方法的一个示意图,如图2 所示,该方法包括:
步骤201、根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;
步骤202、根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
根据本实施例,当组单元中的各编码单元的统一转换单元模式相同时,利用第一标记对该组单元进行标识,由此,仅通过该第一标记就能够表示该组单元中各编码单元具有相同的统一转换单元模式,提高了图像编码效率。
在本实施例的步骤201中,组单元的第一标记可以被表示为UTU flag,当组单元中的各编码单元的统一转换单元模式都具有相同的第一值时,可以将该组单元的第一标记UTU flag设置为第二值。
在本实施例中,统一转换单元模式的数值可以如本申请的背景技术所述,关于统一转换单元模式的不同数值所代表的不同含义,本实施例不再重复说明。
在本实施例中,该第一值例如可以是0,即,组单元中的各编码单元都只包含一个统一转换单元,此时,可以将该组单元的第一标记UTU flag设置为第二值,该第二值例如可以是0。
此外,在本实施例中,当组单元中至少有一个编码单元的统一转换单元模式的值不等于第一值时,将组单元的第一标记UTU flag设置为不同于该第二值的第三值。例如,当组单元中的各编码单元对应的统一转换单元模式包括0,1,3时,可以将该组单元的第一标记UTU flag设置为第三值,该第三值可以不同于第一值,例如第三值可以是1。
在本实施例中,编码单元组的数据结构可以被表示为四叉树加二叉树(QT/BT)结构。下表1是四叉树加二叉树结构的参数(QT/BT parameter)的一个示例。
表1:
Figure PCTCN2018101449-appb-000001
在本实施例中,组单元可以满足一定的条件,例如,组单元对应的四叉树加二叉树结构的参数可以满足如下式(1)所示的条件:
qtDepth+btDepth/2>2.5                     (1)
其中,qtDepth是该组单元对应的节点的四叉树结构的深度,btDepth是该组单元对应的节点的二叉树结构的深度。
通过满足上述式(1)所示的条件,能够使每个组单元中包含数量适当的编码单元,由此,组单元(GU)的第一标记UTU flag能够代表数量适当的编码单元的统一转换单元模式。
在本实施例中,组单元所满足的条件可以不限于上式(1)所示,也可以是其它条件,本实施例可以不限于此。
在本实施例中,组单元中可以不再包含其它的组单元,即,在四叉树加二叉树结构中,将满足上述式(1)所示的条件的节点中,最下层的节点作为组单元对应的节点,由此,能够使组单元的划分更简洁。
在本实施例的步骤202中,根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。例如,当所述组单元中至少有一个编 码单元的统一转换单元模式的值不等于所述第一值时,利用所述统一转换单元模式对所述组单元中各编码单元进行标识;或者,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,不对所述组单元中各编码单元进行标识。
图3是根据本实施例的方法对统一转换单元模式进行分组标识的一个示意图,其中,(A)是编码单元组的一个示意图,(B)是(A)的编码单元组对应的四叉树加二叉树结构的一个示意图,其中,节点300A对应于图(A)的编码单元组300,在该四叉树加二叉树结构中,示出了组单元的第一标记UTU flag和组单元中各编码单元的统一转换单元模式。其中,在图3的(A)中,仅示出了划分到编码单元(CU)级别的情况,没有示出每一个编码单元被划分成几个统一转换单元的情况。
如图3的(B)所示,节点3021、3022、3023a、3023b都是四叉树节点,其对应的四叉树结构的深度qtDepth分别是1、2、3、3,其对应的二叉树结构的深度btDepth均为0,所以,节点3023a、3023b的四叉树结构的参数满足上述式(1)的条件,节点3023a、3023b对应于图3的(A)的区域就是组单元3013a、3013b。
同理,图3的(B)所示的节点3024、3025、3026,对应的四叉树结构的深度qtDepth均为2,其对应的二叉树结构的深度btDepth分别为0、1、2,所以,节点3026的二叉树结构的参数和四叉树结构的参数满足上述式(1)的条件,节点3026对应于(A)的区域就是组单元3016。
如图3的(A)、(B)所示,对于组单元3013a,其包含的各编码单元3014的统一转换单元模式都为第一值(例如,0),因此,将组单元3013a的第一标记UTU flag标识为第二值(例如,0);
对于组单元3013b,其包含的编码单元3015a、3015b分别对应图3的(B)中的节点a、b,编码单元3015a、3015b的统一转换单元模式分别为0和1,二者不相等,因此,将组单元3013b的第一标记UTU flag标识为第三值(例如,1),其中,组单元3013b的第一标记UTU flag被表示在图3的(B)的节点3023b上;
对于组单元3016,其包含的编码单元3017的统一转换单元模式均为第一值(例如,0),因此,将组单元3016的第一标记UTU flag标识为第二值(例如,0)。
在本实施例中,对于组单元3013a对应的节点3023a,不使用统一转换单元模式对各编码单元3014进行标识,即,图3的(B)中节点3023a下的节点旁的数字0被打上括号,表示不标识数字0。
在本实施例中,对于组单元3016对应的节点3026,不使用统一转换单元模式对各编码单元3017进行标识,即,图3的(B)中节点3026下的节点旁的数字0被打上括号,表示不标识数字0。
在本实施例中,对于组单元3013b对应的节点3023b,使用统一转换单元模式对各编码单元3015a、3015b进行标识,即,图3的(B)中节点3023b下的节点旁的数字1、0没有被打上括号,表示标识数字0。
在本实施例中,步骤201和步骤202可以在率失真优化(RDO)处理之后,因为经过率失真优化(RDO)处理,可以得到各编码单元被划分的信息。
在本实施例中,编码单元组中被标识了的各编码单元的统一转换单元模式(UTU mode)和第一标记UTU flag可以被存储和处理,并被传输给图像解码端,图像解码端对接收到的统一转换单元模式(UTU mode)和第一标记UTU flag进行解析(sparse),从而对进行图像解码。例如,当图像解码端在解析出某一组单元的第一标记UTU flag为1时,继续对该组单元中包含的各编码单元的统一转换单元模式(UTU mode)进行解析,以确定各编码单元被统一转换单元划分的方式;当图像解码端在解析出某一组单元的第一标记UTU flag为0时,可以直接确定该组单元的各编码单元的统一转换单元模式(UTU mode)为0,即各编码单元的统一转换单元划分的方式。
根据本实施例,当组单元中的各编码单元的统一转换单元模式相同时,不对该组单元中的各编码单元的统一转换单元模式进行标记,由此,节省了存储能力、传输能力和处理能力,提高了图像编码效率,并且,解码端也能够提高图像解码效率。
实施例2
本申请实施例2提供一种对编码单元(Code Unit,CU)组的统一转换单元模式(UTU mode)进行分组标识的装置,与实施例1的方法对应。该装置可以被设置在对图像进行编码的编码端。
在本实施例中,编码单元组中包括至少一个组单元,每个组单元中包括至少一个编码单元,每个编码单元具有相应的统一转换单元模式。
图4是本申请实施例2的对编码单元组的统一转换单元模式进行分组标识的装置的一个示意图,该装置400包括:第一标识单元401和第二标识单元402。
在本实施例中,第一标识单元401根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元进行标识,其中,当该组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用该第一标记对该组单元进行标识;第二标识单元402根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
根据本实施例,当组单元中的各编码单元的统一转换单元模式相同时,利用第一标记对该组单元进行标识,由此,仅通过该第一标记就能够表示该组单元中各编码单元具有相同的统一转换单元模式,提高了图像编码效率。
在本实施例中,当该组单元中至少有一个编码单元的统一转换单元模式的值不等于该第一值时,第一标识单元401将该组单元的第一标记设置为不同于第二值的第三值。
在本实施例中,当该组单元中各编码单元的统一转换单元模式都具有相同的第一值时,第二标识单元402可以不对该组单元中各编码单元进行标识。由此,节省了存储能力、传输能力和处理能力,提高了图像编码效率,并且,解码端也能够提高图像解码效率。
在本实施例中,当该组单元中至少有一个编码单元的统一转换单元模式的值不等于该第一值时,第二标识单元402可以利用该组单元中各编码单元的统一转换单元模式对该编码单元进行标识。由此,能够准确地标识各编码单元。
关于各组单元的说明可以参考实施例1,本实施例不再进行说明。
实施例3
本申请实施例3提供一种对编码单元组的统一转换单元模式进行识别的方法,可以被执行于对图像进行解码的解码端,根据对单元组的统一转换单元模式进行标识的信息来识别编码单元组的统一转换单元模式。
在本实施例中,编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式。
图5是本实施例3的对编码单元组的统一转换单元模式进行识别的方法的一个示意图,如图5所示,该方法包括:
步骤501、在所述组单元的第一标记为第二值时,将所述组单元中各编码单元的统一转换单元模式均识别为第一值。
在本实施例中,仅根据组单元的第一标记,就可以识别该组单元中各编码单元的统一转换单元模式,由此,解码端在解码时需要的数据量较小,并且解码速度较快。
在本实施例中,如图5所示,该方法还可以包括:
步骤502、在组单元的第一标记为第三值时,根据该组单元中各编码单元的统一转换单元模式的值,识别各编码单元的统一转换单元模式。
例如,第一识别单元501可以从对单元组进行标识的信息中提取该组单元中各编码单元的统一转换单元模式的值,根据各值来识别各编码单元的统一转换单元模式。
在本实施例中,关于第一值、第二值、第三值、以及组单元的说明,可以参考实施例1中的相关说明。
实施例4
本申请实施例4提供一种对编码单元组的统一转换单元模式进行识别的装置,可以被设置在对图像进行解码的解码端,根据对单元组的统一转换单元模式进行标识的信息来识别编码单元组的统一转换单元模式。
在本实施例中,编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式。
图6是本实施例4的对编码单元组的统一转换单元模式进行识别的装置的一个示意图,如图6所示,该装置600包括:第一识别单元601。
在本实施例中,第一识别单元601在所述组单元的第一标记为第二值时,将所述组单元中各编码单元的统一转换单元模式均识别为第一值。
在本实施例中,仅根据组单元的第一标记,就可以识别该组单元中各编码单元的统一转换单元模式,由此,解码端在解码时需要的数据量较小,并且解码速度较快。
此外,在本实施例中,在组单元的第一标记为第三值时,第一识别单元601根据该组单元中各编码单元的统一转换单元模式的值,识别各编码单元的统一转换单元模式,例如,第一识别单元601可以从对单元组进行标识的信息中提取该组单元中各编码单元的统一转换单元模式的值,根据各值来识别各编码单元的统一转换单元模式。
在本实施例中,关于第一值、第二值、第三值、以及组单元的说明,可以参考实施例1中的相关说明。
实施例5
本申请实施例5提供一种电子设备,所述电子设备包括:如实施例2所述的装置,和/或如实施例4所述的装置。
例如,该电子设备具有实施例2所述的装置,该电子设备可以对图像进行编码,并且,在该电子设备对图像进行编码的过程中,实施例2所述的装置可以对编码单元组的统一转换单元模式进行标识;或者,该电子设备具有实施例4所述的装置,该电子设备可以对编码后的信息进行解码,以得到图像,并且,在该电子设备进行解码的过程中,实施例4所述的装置可以根据对单元组的统一转换单元模式进行标识的信息来识别编码单元组的统一转换单元模式;或者,该电子设备具有实施例2所述的装置,以及实施例4所述的装置,并且,实施例2所述的装置可以对编码单元组的统一转换单元模式进行标识,实施例4所述的装置可以根据对单元组的统一转换单元模式进行标识的信息来识别编码单元组的统一转换单元模式。
图7是本申请实施例5的电子设备的一个构成示意图。如图7所示,电子设备700可以包括:中央处理器(CPU)701和存储器702;存储器702耦合到中央处理器701。其中该存储器702可存储各种数据;此外,还存储用于对编码单元组的统一转换单元模式进行分组标识和识别的程序,并且在中央处理器701的控制下执行该程序。
在一个实施方式中,实施例2所述的装置和/或如实施例4所述的装置中的功能可以被集成到中央处理器701中。
其中,中央处理器701可以被配置为:
根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
此外,中央处理器701还可以被配置为:所述第一值是0。
此外,中央处理器701还可以被配置为:当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,将所述组单元的第一标记设置为不同于所述第二值的第三值。
此外,中央处理器701还可以被配置为:当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,不对所述组单元中各编码单元进行标识。
此外,中央处理器701还可以被配置为:当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,利用所述统一转换单元模式对所述组单元中各编码单元进行标识。
此外,中央处理器701还可以被配置为:所述组单元的四叉树加二叉树结构的参数满足以下条件:
qtDepth+btDepth/2>2.5
其中,qtDepth是该组单元对应的四叉树结构的深度,btDepth是所述组单元对应的二叉树结构的深度。
此外,中央处理器701还可以被配置为:所述组单元中不再包含其它的组单元。
此外,中央处理器701还可以被配置为:在所述组单元的第一标记为第二值时,将所述组单元中各编码单元的统一转换单元模式均识别为第一值。
此外,中央处理器701还可以被配置为:在组单元的第一标记为第三值时,根据该组单元中各编码单元的统一转换单元模式的值,识别各编码单元的统一转换单元模式。
此外,如图7所示,电子设备700还可以包括:输入输出单元703和显示单元704等;其中,上述部件的功能与现有技术类似,此处不再赘述。值得注意的是,电子设备700也并不是必须要包括图7中所示的所有部件;此外,电子设备700还可以包括图7中没有示出的部件,可以参考现有技术。
本申请实施例还提供一种计算机可读程序,其中当在对编码单元组的统一转换单元模式进行分组标识的装置、对编码单元组的统一转换单元模式进行识别的装置或电子设备中执行所述程序时,所述程序使得对编码单元组的统一转换单元模式进行分组标识的装置、对编码单元组的统一转换单元模式进行识别的装置或电子设备执行实施例1或3所述的方法。
本申请实施例还提供一种存储有计算机可读程序的存储介质,其中,所述存储介质存储上述计算机可读程序,所述计算机可读程序使得对编码单元组的统一转换单元模式进行分组标识的装置、对编码单元组的统一转换单元模式进行识别的装置或电子 设备执行实施例1或3所述的方法。
结合本发明实施例描述的对编码单元组的统一转换单元模式进行分组标识的装置或对编码单元组的统一转换单元模式进行识别的装置可直接体现为硬件、由处理器执行的软件模块或二者组合。例如,图4、6中所示的功能框图中的一个或多个和/或功能框图的一个或多个组合,既可以对应于计算机程序流程的各个软件模块,亦可以对应于各个硬件模块。这些软件模块,可以分别对应于实施例1或3所示的各个步骤。这些硬件模块例如可利用现场可编程门阵列(FPGA)将这些软件模块固化而实现。
软件模块可以位于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、移动磁盘、CD-ROM或者本领域已知的任何其它形式的存储介质。可以将一种存储介质耦接至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息;或者该存储介质可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。该软件模块可以存储在移动终端的存储器中,也可以存储在可插入移动终端的存储卡中。例如,若电子设备采用的是较大容量的MEGA-SIM卡或者大容量的闪存装置,则该软件模块可存储在该MEGA-SIM卡或者大容量的闪存装置中。
针对图4、6描述的功能框图中的一个或多个和/或功能框图的一个或多个组合,可以实现为用于执行本申请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或其它可编程逻辑器件、分立门或晶体管逻辑器件、分立硬件组件、或者其任意适当组合。针对图2描述的功能框图中的一个或多个和/或功能框图的一个或多个组合,还可以实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、与DSP通信结合的一个或多个微处理器或者任何其它这种配置。
以上结合具体的实施方式对本申请进行了描述,但本领域技术人员应该清楚,这些描述都是示例性的,并不是对本申请保护范围的限制。本领域技术人员可以根据本申请的原理对本申请做出各种变型和修改,这些变型和修改也在本申请的范围内。
关于包括以上实施例的实施方式,还公开下述的附记:
1、一种对编码单元组的统一转换单元模式进行分组标识的装置,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编 码单元具有相应的统一转换单元模式,所述装置包括:
第一标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
第二标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
2、如附记1所述的装置,其中,
所述第一值是0。
3、如附记1所述的装置,其中,
当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,所述第一标识单元将所述组单元的第一标记设置为不同于所述第二值的第三值。
4、如附记1所述的装置,其中,
当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,所述第二标识单元不对所述组单元中各编码单元进行标识。
5、如附记1所述的装置,其中,
当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,所述第二标识单元利用所述统一转换单元模式对所述组单元中各编码单元进行标识。
6、如附记1所述的装置,其中,
所述组单元的四叉树加二叉树结构的参数满足以下条件:
qtDepth+btDepth/2>2.5
其中,qtDepth是该组单元对应的四叉树结构的深度,btDepth是所述组单元对应的二叉树结构的深度。
7、如附记6所述的装置,其中,
所述组单元中不再包含其它的组单元。
8、一种对编码单元组的统一转换单元模式进行分组标识的方法,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编 码单元具有相应的统一转换单元模式,所述方法包括:
根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
9、如附记8所述的方法,其中,
所述第一值是0。
10、如附记8所述的方法,其中,所述方法还包括:
当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,将所述组单元的第一标记设置为不同于所述第二值的第三值。
11、如附记8所述的方法,其中,根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识包括:
当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,不对所述组单元中各编码单元进行标识。
12、如附记8所述的方法,其中,根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识包括:
当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,利用所述统一转换单元模式对所述组单元中各编码单元进行标识。
13、如附记8所述的方法,其中,
所述组单元的四叉树加二叉树结构的参数满足以下条件:
qtDepth+btDepth/2>2.5
其中,qtDepth是该组单元对应的四叉树结构的深度,btDepth是所述组单元对应的二叉树结构的深度。
14、如附记13所述的方法,其中,
所述组单元中不再包含其它的组单元。
15、一种电子设备,包括附记1-7中任一项所述的对编码单元组的统一转换单元模式进行分组标识的装置。

Claims (10)

  1. 一种对编码单元组的统一转换单元模式进行分组标识的装置,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述装置包括:
    第一标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
    第二标识单元,其根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
  2. 如权利要求1所述的装置,其中,
    所述第一值是0。
  3. 如权利要求1所述的装置,其中,
    当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,所述第一标识单元将所述组单元的第一标记设置为不同于所述第二值的第三值。
  4. 如权利要求1所述的装置,其中,
    当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,所述第二标识单元不对所述组单元中各编码单元进行标识。
  5. 如权利要求1所述的装置,其中,
    当所述组单元中至少有一个编码单元的统一转换单元模式的值不等于所述第一值时,所述第二标识单元利用所述统一转换单元模式对所述组单元中各编码单元进行标识。
  6. 如权利要求1所述的装置,其中,
    所述组单元的四叉树加二叉树结构的参数满足以下条件:
    qtDepth+btDepth/2>2.5
    其中,qtDepth是该组单元对应的四叉树结构的深度,btDepth是所述组单元对应的二叉树结构的深度。
  7. 如权利要求6所述的装置,其中,
    所述组单元中不再包含其它的组单元。
  8. 一种电子设备,包括权利要求1-7中任一项所述的对编码单元组的统一转换单元模式进行分组标识的装置。
  9. 一种对编码单元组的统一转换单元模式进行分组标识的方法,所述编码单元组中包括至少一个组单元,一个所述组单元中包括至少一个编码单元,每一个所述编码单元具有相应的统一转换单元模式,所述方法包括:
    根据各组单元所包括的各编码单元的统一转换单元模式,对所述组单元进行标识,其中,当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,将第一标记设置为第二值,并使用所述第一标记对所述组单元进行标识;以及
    根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识。
  10. 如权利要求9所述的方法,其中,根据各组单元所包括的各编码单元的统一转换单元模式,对该组单元中的各所述编码单元进行标识包括:
    当所述组单元中各编码单元的统一转换单元模式都具有相同的第一值时,不对所述组单元中各编码单元进行标识。
PCT/CN2018/101449 2018-01-12 2018-08-21 对统一转换单元模式进行分组标识的方法、装置和电子设备 WO2019137008A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020532040A JP6947305B2 (ja) 2018-01-12 2018-08-21 ユニフォーム変換ユニットモードに対してグループマーキングを行う方法、装置及び電子装置
US16/900,263 US11234012B2 (en) 2018-01-12 2020-06-12 Method and apparatus for performing group marking on uniform transform unit mode and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810030165.1A CN110035287B (zh) 2018-01-12 2018-01-12 对统一转换单元模式进行分组标识的方法、装置和电子设备
CN201810030165.1 2018-01-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/900,263 Continuation US11234012B2 (en) 2018-01-12 2020-06-12 Method and apparatus for performing group marking on uniform transform unit mode and electronic device

Publications (1)

Publication Number Publication Date
WO2019137008A1 true WO2019137008A1 (zh) 2019-07-18

Family

ID=67218435

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101449 WO2019137008A1 (zh) 2018-01-12 2018-08-21 对统一转换单元模式进行分组标识的方法、装置和电子设备

Country Status (4)

Country Link
US (1) US11234012B2 (zh)
JP (1) JP6947305B2 (zh)
CN (1) CN110035287B (zh)
WO (1) WO2019137008A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065460A (zh) * 2014-07-11 2014-09-24 成都卫士通信息产业股份有限公司 基于二叉树的编码方法和编码装置
CN105282554A (zh) * 2014-07-07 2016-01-27 富士通株式会社 解码方法及解码装置
WO2016206590A1 (en) * 2015-06-23 2016-12-29 Mediatek Singapore Pte. Ltd. Method and apparatus for transform coefficient coding of non-square blocks
US20170127058A1 (en) * 2014-06-20 2017-05-04 Sharp Kabushiki Kaisha Harmonized palette coding

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110112168A (ko) * 2010-04-05 2011-10-12 삼성전자주식회사 내부 비트뎁스 확장에 기반한 비디오 부호화 방법 및 그 장치, 내부 비트뎁스 확장에 기반한 비디오 복호화 방법 및 그 장치
KR20140010192A (ko) * 2010-04-09 2014-01-23 미쓰비시덴키 가부시키가이샤 화상 부호화 장치
KR20120035096A (ko) 2010-10-04 2012-04-13 한국전자통신연구원 쿼드 트리 변환 구조에서 부가 정보의 시그널링 방법 및 장치
US9172963B2 (en) * 2010-11-01 2015-10-27 Qualcomm Incorporated Joint coding of syntax elements for video coding
ES2754784T3 (es) 2011-07-29 2020-04-20 Sun Patent Trust Procedimiento de decodificación de vídeo, aparato de decodificación de vídeo
WO2013107027A1 (en) * 2012-01-19 2013-07-25 Mediatek Singapore Pte. Ltd. Methods and apparatuses of cbf coding in hevc
WO2013145021A1 (ja) 2012-03-30 2013-10-03 株式会社日立製作所 画像復号方法及び画像復号装置
US9467701B2 (en) 2012-04-05 2016-10-11 Qualcomm Incorporated Coded block flag coding
JP6268989B2 (ja) * 2013-11-29 2018-01-31 富士通株式会社 動画像符号化装置、動画像符号化方法及び動画像符号化用コンピュータプログラム
JP6187826B2 (ja) * 2014-02-04 2017-08-30 パナソニックIpマネジメント株式会社 動画像符号化装置及び動画像符号化方法
GB2531004A (en) * 2014-10-06 2016-04-13 Canon Kk Residual colour transform signalled at sequence level for specific coding modes
CN105141957B (zh) * 2015-07-31 2019-03-15 广东中星电子有限公司 图像和视频数据编解码的方法和设备
CN111526360A (zh) * 2016-02-06 2020-08-11 华为技术有限公司 图像编解码方法及装置
BR112020002079A2 (pt) * 2017-12-06 2020-07-28 Fujitsu Limited método, dispositivo e aparelho eletrônico de codificação e decodificação de informação de modo

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170127058A1 (en) * 2014-06-20 2017-05-04 Sharp Kabushiki Kaisha Harmonized palette coding
CN105282554A (zh) * 2014-07-07 2016-01-27 富士通株式会社 解码方法及解码装置
CN104065460A (zh) * 2014-07-11 2014-09-24 成都卫士通信息产业股份有限公司 基于二叉树的编码方法和编码装置
WO2016206590A1 (en) * 2015-06-23 2016-12-29 Mediatek Singapore Pte. Ltd. Method and apparatus for transform coefficient coding of non-square blocks

Also Published As

Publication number Publication date
US20200314441A1 (en) 2020-10-01
CN110035287B (zh) 2023-05-09
JP2021507583A (ja) 2021-02-22
US11234012B2 (en) 2022-01-25
CN110035287A (zh) 2019-07-19
JP6947305B2 (ja) 2021-10-13

Similar Documents

Publication Publication Date Title
WO2018028351A1 (zh) 用于极化编码的方法、装置和设备
WO2016124070A1 (zh) 一种数据处理的方法和设备
TWI794260B (zh) 確定傳輸塊大小的方法、裝置及設備
CN111262592B (zh) 序列的循环移位装置及方法、存储介质
CN110956263A (zh) 一种二值化神经网络的构建方法、存储介质及终端设备
WO2020083019A1 (zh) 一种基于多核处理器的解码方法、终端设备及存储介质
CN111030707A (zh) 一种Polar码编码方法及装置
CN108540260A (zh) 用于确定Polar码编解码的方法、装置和设备
WO2020000486A1 (zh) 数据处理方法及装置
CN110097581B (zh) 基于点云配准icp算法构建k-d树的方法
CN115438114A (zh) 存储格式转换方法、系统、装置、电子设备及存储介质
WO2019137008A1 (zh) 对统一转换单元模式进行分组标识的方法、装置和电子设备
CN109981108B (zh) 数据压缩方法、解压缩方法、装置及设备
CN111507430B (zh) 基于矩阵乘法的特征编码方法、装置、设备及介质
WO2017185213A1 (zh) 编码方法和编码装置
WO2016206377A1 (zh) 数据整合处理方法及装置
CN103401566A (zh) 参数化的bch纠错码的并行编码方法及装置
WO2019029748A1 (zh) 极化码编码的方法和装置
CN107645665A (zh) 一种WebP熵编码的方法及装置
US10642514B2 (en) Device and method for configuring expander configuration file of a storage system
WO2018082245A1 (zh) 栅格数据聚合方法和装置、栅格数据解耦方法和装置及系统
CN114595215A (zh) 数据处理方法、装置、电子设备及存储介质
Pae et al. Randomizing functions: Simulation of a discrete probability distribution using a source of unknown distribution
CN116431585A (zh) 文件的压缩方法及其装置、文件的解压方法及其装置
CN112100453B (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: 18899478

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020532040

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18899478

Country of ref document: EP

Kind code of ref document: A1