WO2016192055A1 - Image coding method and apparatus using prediction information and image processing device - Google Patents

Image coding method and apparatus using prediction information and image processing device Download PDF

Info

Publication number
WO2016192055A1
WO2016192055A1 PCT/CN2015/080638 CN2015080638W WO2016192055A1 WO 2016192055 A1 WO2016192055 A1 WO 2016192055A1 CN 2015080638 W CN2015080638 W CN 2015080638W WO 2016192055 A1 WO2016192055 A1 WO 2016192055A1
Authority
WO
WIPO (PCT)
Prior art keywords
prediction information
image
encoded
information
pixel
Prior art date
Application number
PCT/CN2015/080638
Other languages
French (fr)
Chinese (zh)
Inventor
叶姜莉
付轩
王争
朱建清
Original Assignee
富士通株式会社
叶姜莉
付轩
王争
朱建清
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社, 叶姜莉, 付轩, 王争, 朱建清 filed Critical 富士通株式会社
Priority to PCT/CN2015/080638 priority Critical patent/WO2016192055A1/en
Publication of WO2016192055A1 publication Critical patent/WO2016192055A1/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/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
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction

Definitions

  • the present invention relates to the field of graphic image technology, and in particular, to an image encoding method and apparatus using prediction information, and an image processing apparatus.
  • Palette-based coding is widely used in graphic image technology (especially video coding technology).
  • a coding unit for the image area to be encoded, for example, a coding unit (CU), including a plurality of pixels having color values (for example, RGB mode, having 24 bits of true color); in order to reduce the storage bits
  • the storage capacity of the image image which can usually point the pixel to the data index of the palette.
  • the color value of each output pixel can be determined by looking up a palette with a corresponding data index.
  • the palette is a set of pixel values. For pixels whose pixel values are in the palette, only the pixel index corresponding to the pixel value in the palette is used. Thereby, only the palette and the index corresponding to the pixels in the coding unit can be bit-stream encoded, and the bit cost of the coding can be reduced.
  • the predictor can be stuffed based on each pixel information of the encoded image region; for example, the predictor can include 128 Forecast items.
  • the inventors have found that the currently used predictor is formed based on pixel information of all coded image regions, and there is a problem that the correlation between the image region to be encoded and the predictor is not high, resulting in a low prediction efficiency of the predictor; At present, the number of items in the predictor is large, and the cost of performing bit stream encoding is relatively large, and the bit cost of encoding cannot be further reduced.
  • Embodiments of the present invention provide an image encoding method and apparatus using prediction information, and an image processing apparatus.
  • the bit cost of the encoding is further reduced while improving the predictive efficiency of the predictor.
  • an image encoding method using prediction information comprising:
  • Determining whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the image region to be encoded Formed by pixel information of adjacent coded image regions;
  • Each pixel of the image to be encoded region is bitstream encoded using corresponding prediction information.
  • an image encoding apparatus using prediction information comprising:
  • the information determining unit determines whether the image region to be encoded uses the first prediction information or the second prediction information; wherein the first prediction information is formed based on pixel information of the plurality of encoded image regions, the second prediction information is based on Forming pixel information of an encoded image region adjacent to an image region to be encoded;
  • the bit stream encoding unit performs bit stream encoding on each pixel of the image area to be encoded using corresponding prediction information.
  • an image processing apparatus including:
  • An encoding device that determines whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the Forming pixel information of the encoded image region adjacent to the image region; and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information;
  • Decoding means determining whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of the plurality of decoded image regions, the fourth prediction information being based on the Forming pixel information of decoded image regions adjacent to the image region; and performing bitstream decoding on each pixel of the image region to be decoded using corresponding prediction information.
  • a computer readable program wherein when the program is executed in an image processing apparatus, the program causes a computer to perform image encoding as described above in the image processing apparatus method.
  • a storage medium storing a computer readable program
  • the computer readable program causes a computer to perform an image encoding method as described above in an image processing apparatus.
  • the beneficial effects of the embodiment of the present invention are: determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information;
  • a prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of the encoded image region adjacent to the image region to be encoded.
  • FIG. 1 is a schematic diagram of an example of a coding unit according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of a coded image area according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of an image encoding method using measurement information according to Embodiment 1 of the present invention.
  • FIG. 4 is another schematic flowchart of an image encoding method using prediction information according to Embodiment 1 of the present invention.
  • Figure 5 is a schematic diagram of an image encoding apparatus using prediction information according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic diagram of an image decoding method using prediction information according to Embodiment 3 of the present invention.
  • FIG. 7 is another schematic diagram of an image decoding method using prediction information according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic diagram of an image decoding apparatus using prediction information according to Embodiment 4 of the present invention.
  • Figure 9 is a block diagram showing the configuration of an image processing apparatus according to a fifth embodiment of the present invention.
  • FIG. 1 is a schematic diagram showing an example of a coding unit according to an embodiment of the present invention, showing a case of a coding unit (CU).
  • the coding unit has 8 ⁇ 8 pixels; pixels having the same pixel value use the same symbol to represent pixel values, such as C0, C1, ..., C8.
  • the prediction table is used to predict the current CU's palette table. If the prediction table is relatively large (for example, there are 128 items), the prediction flag used to indicate whether the prediction table is used or not is more; in addition, the prediction Each item in the table may be far away from the image area to be encoded and the correlation is not high, resulting in low efficiency of prediction.
  • the entire area to be encoded may be composed of a plurality of Largest Coding Units (LCUs), each of which is, for example, 64*64 pixels; wherein each LCU may include multiple CUs, each The CU is, for example, 8*8 pixels.
  • LCUs Largest Coding Units
  • the value in the predictor may be the last one of the previous LCU line (LCU line).
  • the pixel values in the LCU are far apart in space and correlated with B, resulting in low prediction efficiency.
  • FIG. 3 is a schematic flowchart of an image encoding method using measurement information according to an embodiment of the present invention.
  • the image encoding method includes:
  • Step 301 Determine whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, and the second prediction information is based on Forming pixel information of the encoded image region adjacent to the image region to be encoded;
  • Step 302 Perform bitstream encoding on each pixel of the image to be encoded region by using corresponding prediction information.
  • the image to be encoded area may be a current coding unit (CU) or a current maximum coding unit.
  • CU current coding unit
  • the following uses CU as an example for description.
  • the embodiment of the present invention is applicable to the case of adopting the palette mode, and the embodiment of the present invention is equally applicable to the case of mixing the palette mode and the non-palette mode (for example, the ease mode).
  • the ease mode For information on how to determine the pixels in the palette mode and how to determine the pixels in the non-palette mode, you can refer to any of the related methods.
  • the first prediction information is formed based on pixel information of a plurality of encoded image regions
  • the second prediction information is formed based on pixel information of an encoded image region (eg, Left CU) adjacent to the image region to be encoded.
  • Table 1 shows a prediction table of an embodiment of the present invention.
  • the prediction table may have, for example, 8 prediction items, each prediction item being identified by one prediction index (for example, 0, 1, ..., 7; each prediction index may be represented by 3 bits), and Each prediction term represents a pixel value.
  • each prediction item may include a plurality of color components.
  • the color component may include: a y component, a Cb component, and a Cr component; or the color component may include: an R component, a G component, or a B component.
  • the invention is not limited thereto, and for example, other color components may also be used.
  • Table 2 is a practical example of the prediction table of the embodiment of the present invention, showing the first prediction information of the embodiment of the present invention.
  • the prediction table may have, for example, 128 prediction items, each prediction item being identified by a prediction index (for example, 0, 1, ..., 127; each may be represented by 7 bits), and each The prediction term represents a pixel value that includes a plurality of color components (eg, yCbCr).
  • the first prediction information may be generated in advance, for example, predefined on the encoding device side based on empirical values; and also pre-defined on the decoding device side.
  • both the encoding side and the decoding side can know the first prediction information in advance, and the prediction information does not need to be encoded by the bit stream.
  • the prediction information can also be updated based on the encoded pixel information. For example, the latest encoded pixel information can be added to the prediction table; and the same operation can be performed on the decoding side to generate the same prediction information as the encoding side, and the prediction information is also not encoded by the bit stream.
  • the second prediction information may also be formed based on pixel information of a left image region (eg, Left CU) or an upper image region (eg, Above CU) adjacent to the image region to be encoded.
  • the number of items in the first prediction information (for example, 128) is more than the number of items in the second prediction information (for example, generally does not exceed 64).
  • second prediction information formed by each pixel information in the Left CU may be used.
  • the coded image area adjacent to the image to be coded in the embodiment of the present invention may be the left CU of the current CU (ie, the Left CU), and the embodiment of the present invention is not limited thereto.
  • the following is only an example of the Left CU.
  • the second prediction information may also be generated in advance (ie, generated before the current CU performs encoding), and updated based on the encoded pixel information.
  • the specific form of the second prediction information can be similar to the information shown in Table 2.
  • the second prediction information does not need to be encoded by the bit stream.
  • the correlation between the two is relatively high; and the number of pixels in the left image area is small, for example, the Left CU is generally 8*. With 8 pixels, the number of items of the second prediction information formed is also small (for example, generally no more than 64), so the number of bits that need to be encoded is small.
  • first prediction information and the second prediction information of the present invention are only schematically illustrated above, but the present invention is not limited thereto, and a specific implementation manner may be determined according to actual conditions. For example, the size of the prediction information and the specific content can be determined as needed.
  • FIG. 4 is another schematic flowchart of an image encoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 4, the image encoding method includes:
  • Step 401 it is determined whether the image area to be encoded has a left image area; in the case of having a left image area, step 402 is performed; if there is no left image area, step 404 is performed;
  • whether the current CU has a Left CU can be determined by determining the CU_pelX value. For example, in the case where the value of CU_PelX is greater than 0, it may be determined that there is a Left CU; otherwise, it may be determined that the current CU is the first CU of a certain LCU line without the Left CU.
  • the image area to be encoded does not have the left image area, it is determined that the first prediction information is used and the bit stream encoding may not be performed on the identifier bit.
  • Step 402 determining whether the image area to be encoded uses second prediction information; performing step 405 in the case of using the second prediction information; performing step 403 in the case of not using the second prediction information;
  • the first prediction information is formed based on pixel information of a plurality of encoded image regions
  • the second prediction information is formed based on pixel information of a left image region adjacent to the image region to be encoded.
  • the cost values of the first prediction information and the second prediction information are separately calculated, and the prediction information corresponding to the use of the smaller generation value is determined.
  • Step 403 Perform bitstream coding to identify the identifier bit that uses the first prediction information.
  • whether the first prediction information or the second prediction information is used may be identified by one identification bit (eg, using LeftCUPredFlag).
  • the first prediction information 0 bit stream coding is performed, and when the second prediction information is used, 1 bit stream coding is performed.
  • the present invention is not limited thereto. For example, when the first prediction information is used, 1 bit stream coding may be performed, and when the second prediction information is used, 0 bit stream coding may be performed.
  • Step 404 Perform bitstream encoding on each pixel of the image to be encoded region by using first prediction information.
  • Step 405 Perform bitstream coding to identify the identifier bit that uses the second prediction information.
  • Step 406 Perform bitstream encoding on each pixel of the image to be encoded region by using second prediction information.
  • any one of the related techniques can be used.
  • Table 3 shows the partial pseudo code for encoding in the embodiment of the present invention.
  • Table 3 is only illustrative of the invention, but the invention is not limited thereto.
  • determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information; wherein the first prediction information Formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of an encoded image region adjacent to the image region to be encoded.
  • An embodiment of the present invention provides an image encoding apparatus using prediction information, which corresponds to the image encoding method using prediction information in Embodiment 1, and the same content is not described herein again.
  • FIG. 5 is a schematic diagram of an image encoding apparatus using prediction information according to an embodiment of the present invention. As shown in FIG. 5, the image encoding apparatus 500 includes:
  • the information determining unit 501 determines whether the image region to be encoded uses the first prediction information or the second prediction information; wherein the first prediction information is formed based on pixel information of the plurality of encoded image regions, and the second prediction information is based on Forming pixel information of the encoded image region adjacent to the coded image region;
  • the bitstream encoding unit 502 performs bitstream encoding on each pixel of the image region to be encoded using corresponding prediction information.
  • bitstream encoding unit 502 is further configured to: perform bitstream encoding on the identifier bit used to identify whether the first prediction information or the second prediction information is used.
  • the image encoding apparatus 500 may further include:
  • the area determining unit 503 determines whether the image area to be encoded has the adjacent encoded image area
  • the information determining unit 501 directly uses the first prediction information in a case where the image area to be encoded does not have the adjacent encoded image area.
  • the adjacent coded image area is the left image area of the image area to be encoded; however, the invention is not limited thereto.
  • the number of items in the first prediction information is more than the number of items in the second prediction information; for example, the number of items in the first prediction information is 128, and the number of items in the second prediction information does not exceed 64.
  • the image encoding apparatus 500 may further include:
  • the storage unit 504 stores the first prediction information and the second prediction information that are generated in advance;
  • the updating unit 505 updates the first prediction information and the second prediction information based on the encoded pixel information.
  • determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information; wherein the first prediction information Formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of an encoded image region adjacent to the image region to be encoded.
  • An embodiment of the present invention provides an image decoding method using prediction information, which corresponds to the image encoding method using prediction information in Embodiment 1, and the same content is not described again.
  • FIG. 6 is a schematic diagram of an image decoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 6, the image decoding method includes:
  • Step 601 Determine whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of a plurality of decoded image regions, and the fourth prediction information is based on the Forming pixel information of decoded image regions adjacent to the image region;
  • Step 602 Perform bitstream decoding on each pixel of the image to be decoded region by using corresponding prediction information.
  • the third prediction information corresponds to the first prediction information in Embodiment 1; the fourth prediction information corresponds to the second prediction information in Embodiment 1.
  • the third prediction information is the same as the content of the first prediction information, and the fourth prediction information is the same as the content of the second prediction information.
  • FIG. 7 is another schematic diagram of an image decoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 7, the image decoding method includes:
  • Step 701 it is determined whether a certain image area to be decoded has a left image area; in the case of having a left image area, step 702 is performed; if there is no left image area, step 705 is performed;
  • whether the current CU has a Left CU can be determined by determining the CU_pelX value.
  • Step 702 Obtain an identifier bit from the bitstream.
  • Step 703 it is determined whether the flag bit is 1; if it is 1, step 704 is performed; if it is 0, step 705 is performed;
  • Step 704 Perform bitstream decoding on each pixel of the image area to be decoded using the fourth prediction information.
  • Step 705 Perform bitstream decoding on each pixel of the image area to be decoded using the third prediction information.
  • FIG. 7 is only schematically illustrated.
  • the third prediction information may be used in the case where the flag bit is 1, and the fourth prediction information is used in the case where the flag bit is 0.
  • the present invention is not limited thereto, and a specific implementation manner may be determined according to actual scenarios.
  • the to-be-decoded image region uses the third prediction information or the fourth prediction information, and performing bitstream decoding according to the corresponding prediction information; wherein the third prediction information is based on pixel information of the plurality of decoded image regions.
  • the fourth prediction information is formed based on pixel information of the decoded image region adjacent to the image region to be decoded. Therefore, not only can the prediction efficiency of the predictor be improved, but also One step reduces the bit cost of encoding and decoding.
  • An embodiment of the present invention provides an image decoding apparatus using prediction information, which corresponds to the image decoding method using prediction information in Embodiment 3, and the same content is not described herein again.
  • FIG. 8 is a schematic diagram of an image decoding apparatus using prediction information according to an embodiment of the present invention. As shown in FIG. 8, the image decoding apparatus 800 includes:
  • the information determining unit 801 determines whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of a plurality of decoded image regions, the fourth prediction information is based on Forming pixel information of the decoded image region adjacent to the decoded image region;
  • the bit stream decoding unit 802 performs bit stream decoding on each pixel of the image area to be decoded using the corresponding prediction information.
  • the decoding apparatus 800 may further include:
  • the area determining unit 803 determines whether the image area to be decoded has the adjacent decoded image area
  • the information determining unit 801 directly uses the first prediction information in a case where the image area to be decoded does not have the adjacent decoded image area.
  • the adjacent decoded image region is the left image region of the image region to be decoded; however, the present invention is not limited thereto.
  • the number of items in the third prediction information is more than the number of items in the fourth prediction information; for example, the number of items in the third prediction information is 128, and the number of items in the fourth prediction information does not exceed 64.
  • the decoding apparatus 800 may further include:
  • the storage unit 804 stores the third prediction information and the fourth prediction information that are generated in advance;
  • the updating unit 805 updates the third prediction information and the fourth prediction information based on the decoded pixel information.
  • determining whether the to-be-decoded image region uses the third prediction information or the fourth prediction information, and performing bitstream decoding according to the corresponding prediction information; wherein the third prediction information is based on pixel information of the plurality of decoded image regions.
  • the fourth prediction information is formed based on pixel information of the decoded image region adjacent to the image region to be decoded.
  • An embodiment of the present invention provides an image processing apparatus, comprising: the image encoding apparatus according to Embodiment 2 and/or the image decoding apparatus as described in Embodiment 4.
  • FIG. 9 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.
  • the image processing apparatus 900 may include a central processing unit (CPU) 100 and a memory 110; the memory 110 is coupled to the central processing unit 100.
  • the memory 110 can store various data; in addition, a program for information processing is stored, and the program is executed under the control of the central processing unit 100.
  • the functionality of image encoding device 500 may be integrated into central processor 100.
  • the central processing unit 100 can be configured to implement the image encoding method as described in Embodiment 1.
  • the functions of the image decoding device 800 can also be integrated into the central processing unit 100.
  • the central processing unit 100 can be configured to implement the image decoding method as described in Embodiment 3.
  • the image encoding device 500 and/or the image decoding device 800 may be configured separately from the central processing unit, for example, the image encoding device 500 and/or the image decoding device 800 may be configured as a chip connected to the central processing unit 100.
  • the functions of the image encoding device 500 and/or the image decoding device 800 are implemented by control of a central processing unit.
  • the image processing apparatus 900 may further include: an input and output unit 120, a display unit 130, and the like; wherein the functions of the above components are similar to those of the prior art, and details are not described herein again. It is to be noted that the image processing apparatus 900 does not necessarily have to include all of the components shown in FIG. 9; in addition, the image processing apparatus 900 may further include components not shown in FIG. 9, and reference may be made to the related art.
  • the embodiment of the present invention further provides a computer readable program, wherein when the program is executed in an image processing apparatus, the program causes a computer to execute the image encoding method as described in Embodiment 1 in the image processing apparatus and / or the image decoding method as described in embodiment 3.
  • the embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program causes the computer to execute the image encoding method as described in Embodiment 1 in the image processing device and/or as in Embodiment 3 The image decoding method described.
  • the above apparatus and method of the present invention may be implemented by hardware or by hardware in combination with software.
  • the present invention relates to a computer readable program that, when executed by a logic component, enables the logic component to implement the apparatus or components described above, or to cause the logic component to implement the various methods described above Or steps.
  • the present invention also relates to a storage medium for storing the above program, such as a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, or the like.
  • One or more of the functional blocks described in the figures and/or one or more combinations of functional blocks 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 blocks described with respect to the figures and/or one or more combinations of functional blocks 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 in conjunction with DSP communication or any other such configuration.

Abstract

An image coding method and apparatus using prediction information and an image processing device. The image coding method comprises: determining that an image region to be coded uses first prediction information or second prediction information, wherein the first prediction information is formed on the basis of pixel information about a plurality of coded image regions, and the second prediction information is formed on the basis of the pixel information about the coded image regions adjacent to the image region to be coded; and using corresponding prediction information to perform bit stream coding on various pixels of the image region to be coded. Thus, not only can the prediction efficiency of a predictor be improved, but the bit costs for coding can be further reduced.

Description

使用预测信息的图像编码方法、装置以及图像处理设备Image coding method, apparatus and image processing apparatus using prediction information 技术领域Technical field
本发明涉及一种图形图像技术领域,特别涉及一种使用预测信息的图像编码方法、装置以及图像处理设备。The present invention relates to the field of graphic image technology, and in particular, to an image encoding method and apparatus using prediction information, and an image processing apparatus.
背景技术Background technique
基于调色板(Palette-based)的编码在图形图像技术(尤其是视频编码技术)中得到了广泛应用。在编码过程中,对于待编码图像区域,例如一个编码单元(CU,coding Unit),包含多个具有色彩值(例如采用RGB模式,具有24比特的真彩色)的像素;为了减少用于存储位图图像的存储容量,通常可以将像素指向调色板的数据索引。在译码过程中,每一输出像素的色彩值可以通过查找具有相应数据索引的调色板来决定。Palette-based coding is widely used in graphic image technology (especially video coding technology). In the encoding process, for the image area to be encoded, for example, a coding unit (CU), including a plurality of pixels having color values (for example, RGB mode, having 24 bits of true color); in order to reduce the storage bits The storage capacity of the image image, which can usually point the pixel to the data index of the palette. During the decoding process, the color value of each output pixel can be determined by looking up a palette with a corresponding data index.
其中,调色板为一系列像素值(pixel value)的集合,对于像素值位于调色板中的像素,仅需使用该像素值在调色板中对应的像素索引(pixel index)。由此可以仅将调色板以及编码单元中的像素所对应的索引进行比特流编码,可以减少编码的比特代价(bit cost)。The palette is a set of pixel values. For pixels whose pixel values are in the palette, only the pixel index corresponding to the pixel value in the palette is used. Thereby, only the palette and the index corresponding to the pixels in the coding unit can be bit-stream encoded, and the bit cost of the coding can be reduced.
为了进一步降低比特代价,目前可以使用预测器(Predictor)对待编码图像区域的各像素进行预测,其中预测器可以基于已编码图像区域的各像素信息填充(stuffed)而成;例如预测器可以包括128个预测项。In order to further reduce the bit cost, it is currently possible to predict each pixel of the coded image region using a predictor, wherein the predictor can be stuffed based on each pixel information of the encoded image region; for example, the predictor can include 128 Forecast items.
应该注意,上面对技术背景的介绍只是为了方便对本发明的技术方案进行清楚、完整的说明,并方便本领域技术人员的理解而阐述的。不能仅仅因为这些方案在本发明的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。It should be noted that the above description of the technical background is only for the purpose of facilitating a clear and complete description of the technical solutions of the present invention, and is convenient for understanding by those skilled in the art. The above technical solutions are not considered to be well known to those skilled in the art simply because these aspects are set forth in the background section of the present invention.
发明内容Summary of the invention
但是,发明人发现,目前采用的预测器基于所有已编码图像区域的像素信息而形成,存在待编码图像区域与预测器之间相关度不高的问题,导致预测器的预测效率不高;并且目前预测器中项的个数较多,进行比特流编码的的代价比较大,不能进一步降低编码的比特代价。 However, the inventors have found that the currently used predictor is formed based on pixel information of all coded image regions, and there is a problem that the correlation between the image region to be encoded and the predictor is not high, resulting in a low prediction efficiency of the predictor; At present, the number of items in the predictor is large, and the cost of performing bit stream encoding is relatively large, and the bit cost of encoding cannot be further reduced.
本发明实施例提供一种使用预测信息的图像编码方法、装置以及图像处理设备。在提高预测器的预测效率的同时,进一步降低编码的比特代价。Embodiments of the present invention provide an image encoding method and apparatus using prediction information, and an image processing apparatus. The bit cost of the encoding is further reduced while improving the predictive efficiency of the predictor.
根据本发明实施例的第一个方面,提供一种使用预测信息的图像编码方法,所述图像编码方法包括:According to a first aspect of the embodiments of the present invention, there is provided an image encoding method using prediction information, the image encoding method comprising:
确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;Determining whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the image region to be encoded Formed by pixel information of adjacent coded image regions;
使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。Each pixel of the image to be encoded region is bitstream encoded using corresponding prediction information.
根据本发明实施例的第二个方面,提供一种使用预测信息的图像编码装置,所述图像编码装置包括:According to a second aspect of the embodiments of the present invention, there is provided an image encoding apparatus using prediction information, the image encoding apparatus comprising:
信息确定单元,确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;The information determining unit determines whether the image region to be encoded uses the first prediction information or the second prediction information; wherein the first prediction information is formed based on pixel information of the plurality of encoded image regions, the second prediction information is based on Forming pixel information of an encoded image region adjacent to an image region to be encoded;
比特流编码单元,使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。The bit stream encoding unit performs bit stream encoding on each pixel of the image area to be encoded using corresponding prediction information.
根据本发明实施例的第三个方面,提供一种图像处理设备,包括:According to a third aspect of the embodiments of the present invention, an image processing apparatus is provided, including:
编码装置;确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;以及使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码;An encoding device that determines whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the Forming pixel information of the encoded image region adjacent to the image region; and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information;
和/或and / or
解码装置,确定待解码图像区域使用第三预测信息还是第四预测信息;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成;以及使用相应的预测信息对所述待解码图像区域的各像素进行比特流解码。Decoding means, determining whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of the plurality of decoded image regions, the fourth prediction information being based on the Forming pixel information of decoded image regions adjacent to the image region; and performing bitstream decoding on each pixel of the image region to be decoded using corresponding prediction information.
根据本发明实施例的又一个方面,提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如上所述的图像编码方法。According to still another aspect of an embodiment of the present invention, a computer readable program is provided, wherein when the program is executed in an image processing apparatus, the program causes a computer to perform image encoding as described above in the image processing apparatus method.
根据本发明实施例的又一个方面,提供一种存储有计算机可读程序的存储介质, 其中所述计算机可读程序使得计算机在图像处理设备中执行如上所述的图像编码方法。According to still another aspect of an embodiment of the present invention, a storage medium storing a computer readable program is provided, Wherein the computer readable program causes a computer to perform an image encoding method as described above in an image processing apparatus.
本发明实施例的有益效果在于,确定待编码图像区域使用第一预测信息还是第二预测信息,以及使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成。由此,不仅可以提高预测器的预测效率,而且可以进一步降低编码的比特代价。The beneficial effects of the embodiment of the present invention are: determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information; A prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of the encoded image region adjacent to the image region to be encoded. Thereby, not only the prediction efficiency of the predictor can be improved, but also the bit cost of the encoding can be further reduced.
参照后文的说明和附图,详细公开了本发明的特定实施方式,指明了本发明的原理可以被采用的方式。应该理解,本发明的实施方式在范围上并不因而受到限制。在所附权利要求的精神和条款的范围内,本发明的实施方式包括许多改变、修改和等同。Specific embodiments of the present invention are disclosed in detail with reference to the following description and the drawings, in which <RTIgt; It should be understood that the embodiments of the invention are not limited in scope. The embodiments of the present invention include many variations, modifications, and equivalents within the scope of the appended claims.
针对一种实施方式描述和/或示出的特征可以以相同或类似的方式在一个或更多个其它实施方式中使用,与其它实施方式中的特征相组合,或替代其它实施方式中的特征。Features described and/or illustrated with respect to one embodiment may be used in one or more other embodiments in the same or similar manner, in combination with, or in place of, features in other embodiments. .
应该强调,术语“包括/包含”在本文使用时指特征、整件、步骤或组件的存在,但并不排除一个或更多个其它特征、整件、步骤或组件的存在或附加。It should be emphasized that the term "comprising" or "comprises" or "comprising" or "comprising" or "comprising" or "comprising" or "comprises"
附图说明DRAWINGS
参照以下的附图可以更好地理解本发明的很多方面。附图中的部件不是成比例绘制的,而只是为了示出本发明的原理。为了便于示出和描述本发明的一些部分,附图中对应部分可能被放大或缩小。Many aspects of the invention can be better understood with reference to the following drawings. The components in the figures are not drawn to scale, but only to illustrate the principles of the invention. In order to facilitate the illustration and description of some parts of the invention, the corresponding parts in the figures may be enlarged or reduced.
在本发明的一个附图或一种实施方式中描述的元素和特征可以与一个或更多个其它附图或实施方式中示出的元素和特征相结合。此外,在附图中,类似的标号表示几个附图中对应的部件,并可用于指示多于一种实施方式中使用的对应部件。Elements and features described in one of the figures or one embodiment of the invention may be combined with elements and features illustrated in one or more other figures or embodiments. In the accompanying drawings, like reference numerals refer to the
图1是本发明实施例的编码单元的一实例示意图;1 is a schematic diagram of an example of a coding unit according to an embodiment of the present invention;
图2是本发明实施例的编码图像区域的一示意图;2 is a schematic diagram of a coded image area according to an embodiment of the present invention;
图3是本发明实施例1的使用测信息的图像编码方法的一流程示意图;3 is a schematic flow chart of an image encoding method using measurement information according to Embodiment 1 of the present invention;
图4是本发明实施例1的使用预测信息的图像编码方法的另一流程示意图;4 is another schematic flowchart of an image encoding method using prediction information according to Embodiment 1 of the present invention;
图5是本发明实施例2的使用预测信息的图像编码装置的一示意图;Figure 5 is a schematic diagram of an image encoding apparatus using prediction information according to Embodiment 2 of the present invention;
图6是本发明实施例3的使用预测信息的图像解码方法的一示意图; 6 is a schematic diagram of an image decoding method using prediction information according to Embodiment 3 of the present invention;
图7是本发明实施例3的使用预测信息的图像解码方法的另一示意图;7 is another schematic diagram of an image decoding method using prediction information according to Embodiment 3 of the present invention;
图8是本发明实施例4的使用预测信息的图像解码装置的一示意图;8 is a schematic diagram of an image decoding apparatus using prediction information according to Embodiment 4 of the present invention;
图9是本发明实施例5的图像处理设备的一构成示意图。Figure 9 is a block diagram showing the configuration of an image processing apparatus according to a fifth embodiment of the present invention.
具体实施方式detailed description
参照附图,通过下面的说明书,本发明的前述以及其它特征将变得明显。在说明书和附图中,具体公开了本发明的特定实施方式,其表明了其中可以采用本发明的原则的部分实施方式,应了解的是,本发明不限于所描述的实施方式,相反,本发明包括落入所附权利要求的范围内的全部修改、变型以及等同物。The foregoing and other features of the present invention will be apparent from the The specific embodiments of the present invention are disclosed in the specification and the drawings, which are illustrated in the embodiment of the invention The invention includes all modifications, variations and equivalents falling within the scope of the appended claims.
图1是本发明实施例的编码单元的一实例示意图,示出了一个编码单元(CU)的情况。如图1所示,该编码单元具有8×8个像素;其中具有相同像素值的像素采用同一符号来表示像素值,例如C0、C1、……、C8。1 is a schematic diagram showing an example of a coding unit according to an embodiment of the present invention, showing a case of a coding unit (CU). As shown in FIG. 1, the coding unit has 8 × 8 pixels; pixels having the same pixel value use the same symbol to represent pixel values, such as C0, C1, ..., C8.
在本实施例中,预测表是用来预测当前CU的palette表,如果预测表比较大(例如具有128项),则用来表示预测表是否被使用需要的编码标志位比较多;此外,预测表中的各个项可能与待编码图像区域相距较远而相关度不高,导致预测的效率不高。In this embodiment, the prediction table is used to predict the current CU's palette table. If the prediction table is relatively large (for example, there are 128 items), the prediction flag used to indicate whether the prediction table is used or not is more; in addition, the prediction Each item in the table may be far away from the image area to be encoded and the correlation is not high, resulting in low efficiency of prediction.
图2是本发明实施例的编码图像区域的一示意图。如图2所示,整个需要编码的区域可以由多个最大编码单元(LCU,Largest Coding Unit)组成,每个LCU例如是64*64个像素;其中每个LCU可以包含多个CU,每个CU例如是8*8个像素。由于目前的预测表中各项基于全部已编码图像区域的像素信息而形成,对于待编码CU(例如图2中B),预测器中的值可能是前一LCU行(LCU line)的最后一个LCU中的像素值,在空间上相距较远而与B的相关度底,导致预测效率不高。2 is a schematic diagram of a coded image region in accordance with an embodiment of the present invention. As shown in FIG. 2, the entire area to be encoded may be composed of a plurality of Largest Coding Units (LCUs), each of which is, for example, 64*64 pixels; wherein each LCU may include multiple CUs, each The CU is, for example, 8*8 pixels. Since the items in the current prediction table are formed based on the pixel information of all coded image regions, for the CU to be encoded (for example, B in FIG. 2), the value in the predictor may be the last one of the previous LCU line (LCU line). The pixel values in the LCU are far apart in space and correlated with B, resulting in low prediction efficiency.
以下对本发明实施例进行详细说明。The embodiments of the present invention are described in detail below.
实施例1Example 1
本发明实施例提供一种使用预测信息的图像编码方法,图3是本发明实施例的使用测信息的图像编码方法的一流程示意图。如图3所示,所述图像编码方法包括:An embodiment of the present invention provides an image encoding method using prediction information, and FIG. 3 is a schematic flowchart of an image encoding method using measurement information according to an embodiment of the present invention. As shown in FIG. 3, the image encoding method includes:
步骤301,确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与 所述待编码图像区域相邻的已编码图像区域的像素信息而形成;Step 301: Determine whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, and the second prediction information is based on Forming pixel information of the encoded image region adjacent to the image region to be encoded;
步骤302,使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。Step 302: Perform bitstream encoding on each pixel of the image to be encoded region by using corresponding prediction information.
在本实施例中,所述待编码图像区域可以为一当前编码单元(CU)或当前最大编码单元,以下以CU为例进行说明。本发明实施例适用于采用调色板模式的情况,对于混合使用调色板模式和非调色板模式(例如escape mode)的情况,本发明实施例同样适用。关于如何确定采用调色板模式的像素,以及如何确定采用非调色板模式的像素,可以参考相关的任意方法。In this embodiment, the image to be encoded area may be a current coding unit (CU) or a current maximum coding unit. The following uses CU as an example for description. The embodiment of the present invention is applicable to the case of adopting the palette mode, and the embodiment of the present invention is equally applicable to the case of mixing the palette mode and the non-palette mode (for example, the ease mode). For information on how to determine the pixels in the palette mode and how to determine the pixels in the non-palette mode, you can refer to any of the related methods.
在本实施例中,可以生成并维持两个预测信息表。其中第一预测信息基于多个已编码图像区域的像素信息而形成,第二预测信息基于与所述待编码图像区域相邻的已编码图像区域(例如Left CU)的像素信息而形成。In this embodiment, two prediction information tables can be generated and maintained. The first prediction information is formed based on pixel information of a plurality of encoded image regions, and the second prediction information is formed based on pixel information of an encoded image region (eg, Left CU) adjacent to the image region to be encoded.
表1示出了本发明实施例的一预测表。如表1所示,该预测表例如可以具有8个预测项,每一预测项通过一个预测索引标识(例如,0,1,……,7;每个预测索引可以采用3比特表示),并且每一个预测项表示一个像素值。Table 1 shows a prediction table of an embodiment of the present invention. As shown in Table 1, the prediction table may have, for example, 8 prediction items, each prediction item being identified by one prediction index (for example, 0, 1, ..., 7; each prediction index may be represented by 3 bits), and Each prediction term represents a pixel value.
表1Table 1
预测索引 Predictive index 00 11 22 33 44 ……...... ……...... 77
像素值Pixel values C9C9 C6C6 C0C0 C12C12 C8C8 ……...... ……...... C14C14
关于第一预测信息,每一预测项可以包括多个颜色分量。例如,颜色分量可以包括:y分量、Cb分量以及Cr分量;或者颜色分量可以包括:R分量、G分量或者B分量。但本发明不限于此,例如还可以使用其他的颜色分量。Regarding the first prediction information, each prediction item may include a plurality of color components. For example, the color component may include: a y component, a Cb component, and a Cr component; or the color component may include: an R component, a G component, or a B component. However, the invention is not limited thereto, and for example, other color components may also be used.
以下以yCbCr为例进行说明。The following is an example of yCbCr.
表2是本发明实施例的预测表的一个实际例子,示出了本发明实施例的第一预测信息。如表2所示,该预测表例如可以具有128个预测项,每一预测项通过一个预测索引(例如,0,1,……,127;每个可以采用7比特表示)标识,并且每一个预测项表示一个像素值,该像素值包括多个颜色分量(例如yCbCr)。 Table 2 is a practical example of the prediction table of the embodiment of the present invention, showing the first prediction information of the embodiment of the present invention. As shown in Table 2, the prediction table may have, for example, 128 prediction items, each prediction item being identified by a prediction index (for example, 0, 1, ..., 127; each may be represented by 7 bits), and each The prediction term represents a pixel value that includes a plurality of color components (eg, yCbCr).
表2Table 2
预测索引 Predictive index 00 11 22 33 44 ……...... ……...... 127127
yy 118118 120120 122122 112112 218218 ……...... ……...... 222222
CbCb 5050 5050 7878 117117 118118 ……...... ……...... 133133
CrCr 5858 5959 6363 7878 125125 ……...... ……...... 124124
在本实施例中,第一预测信息可以被预先生成,例如根据经验值在编码设备侧预先定义;并且在解码设备侧也预先定义。由此,编码侧和解码侧均可以预先获知该第一预测信息,无需通过比特流对该预测信息进行编码。并且,该预测信息还可以基于被编码的像素信息被更新。例如,可以将最新的已编码像素的信息加入预测表中;并且在解码侧也可以进行同样的操作从而生成与编码侧相同的预测信息,同样无需通过比特流对该预测信息进行编码。In the present embodiment, the first prediction information may be generated in advance, for example, predefined on the encoding device side based on empirical values; and also pre-defined on the decoding device side. Thereby, both the encoding side and the decoding side can know the first prediction information in advance, and the prediction information does not need to be encoded by the bit stream. And, the prediction information can also be updated based on the encoded pixel information. For example, the latest encoded pixel information can be added to the prediction table; and the same operation can be performed on the decoding side to generate the same prediction information as the encoding side, and the prediction information is also not encoded by the bit stream.
在本实施例中,还可以基于与待编码图像区域相邻的左侧图像区域(例如Left CU)或者上侧图像区域(例如Above CU)的像素信息形成第二预测信息。其中,第一预测信息中项的个数(例如为128)多于第二预测信息中项的个数(例如一般不会超过64)。In the present embodiment, the second prediction information may also be formed based on pixel information of a left image region (eg, Left CU) or an upper image region (eg, Above CU) adjacent to the image region to be encoded. The number of items in the first prediction information (for example, 128) is more than the number of items in the second prediction information (for example, generally does not exceed 64).
例如,在对如图2所示的当前CU(即B)进行编码时,可以使用由Left CU(即A)中各像素信息形成的第二预测信息。For example, when encoding the current CU (ie, B) as shown in FIG. 2, second prediction information formed by each pixel information in the Left CU (ie, A) may be used.
值得注意的是,本发明实施例中的与待编码图像区域相邻的已编码图像区域可以是当前CU的左侧CU(即Left CU),本发明实施例不限于此。以下仅以Left CU为例进行说明。It is to be noted that the coded image area adjacent to the image to be coded in the embodiment of the present invention may be the left CU of the current CU (ie, the Left CU), and the embodiment of the present invention is not limited thereto. The following is only an example of the Left CU.
在本实施例中,第二预测信息也可以被预先生成(即在当前CU进行编码之前被生成),并基于已编码的像素信息被更新。关于第二预测信息的具体形式,可以与表2所示的信息类似。此外,与第一预测信息一样的是,第二预测信息也无需通过比特流编码。In this embodiment, the second prediction information may also be generated in advance (ie, generated before the current CU performs encoding), and updated based on the encoded pixel information. The specific form of the second prediction information can be similar to the information shown in Table 2. Furthermore, as with the first prediction information, the second prediction information does not need to be encoded by the bit stream.
在本实施例中,由于左侧图像区域与待编码图像区域相距较近,二者之间的相关度较高;并且左侧图像区域中像素的个数较少,例如Left CU一般是8*8个像素,因此形成的第二预测信息的项的个数也较少(例如一般不会超过64个),因此需要进行编码的比特个数较少。 In this embodiment, since the left image area is close to the image area to be encoded, the correlation between the two is relatively high; and the number of pixels in the left image area is small, for example, the Left CU is generally 8*. With 8 pixels, the number of items of the second prediction information formed is also small (for example, generally no more than 64), so the number of bits that need to be encoded is small.
值得注意的是,以上仅示意性示出了本发明的第一预测信息和第二预测信息,但本发明不限于此,还可以根据实际情况确定具体的实施方式。例如可以根据需要确定预测信息的大小以及具体内容。It is to be noted that the first prediction information and the second prediction information of the present invention are only schematically illustrated above, but the present invention is not limited thereto, and a specific implementation manner may be determined according to actual conditions. For example, the size of the prediction information and the specific content can be determined as needed.
图4是本发明实施例的使用预测信息的图像编码方法的另一流程示意图。如图4所示,所述图像编码方法包括:FIG. 4 is another schematic flowchart of an image encoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 4, the image encoding method includes:
步骤401,确定待编码图像区域是否具有左侧图像区域;在具有左侧图像区域的情况下执行步骤402;在不具有左侧图像区域的情况下执行步骤404; Step 401, it is determined whether the image area to be encoded has a left image area; in the case of having a left image area, step 402 is performed; if there is no left image area, step 404 is performed;
在本实施例中,例如可以通过判断CU_pelX值来确定当前CU是否具有Left CU。例如在CU_PelX的值大于0的情况下,可以确定具有Left CU;否则可以确定当前CU是某一LCU行的第一个CU而没有Left CU。In this embodiment, for example, whether the current CU has a Left CU can be determined by determining the CU_pelX value. For example, in the case where the value of CU_PelX is greater than 0, it may be determined that there is a Left CU; otherwise, it may be determined that the current CU is the first CU of a certain LCU line without the Left CU.
其中,在待编码图像区域不具有左侧图像区域的情况下,确定使用第一预测信息并可以不对标识位进行比特流编码。Wherein, in a case where the image area to be encoded does not have the left image area, it is determined that the first prediction information is used and the bit stream encoding may not be performed on the identifier bit.
步骤402,确定待编码图像区域是否使用第二预测信息;在使用第二预测信息的情况下执行步骤405;在不使用第二预测信息的情况下执行步骤403; Step 402, determining whether the image area to be encoded uses second prediction information; performing step 405 in the case of using the second prediction information; performing step 403 in the case of not using the second prediction information;
在本实施例中,可以在对待编码图像区域进行编码时,确定使用第一预测信息还是第二预测信息。所述第一预测信息基于多个已编码图像区域的像素信息形成,所述第二预测信息基于与所述待编码图像区域相邻的左侧图像区域的像素信息形成。In this embodiment, it is possible to determine whether to use the first prediction information or the second prediction information when encoding the image region to be encoded. The first prediction information is formed based on pixel information of a plurality of encoded image regions, and the second prediction information is formed based on pixel information of a left image region adjacent to the image region to be encoded.
例如,可以对待编码图像区域进行扫描之后,分别计算使用第一预测信息和第二预测信息的代价值,以及确定使用较小代价值所对应的预测信息。或者,也可以预设某个确定条件,根据条件确定使用第一预测信息还是第二预测信息。具体如何进行确定,可以根据实际场景确定,本发明并不对此进行限制。For example, after the coded image region is scanned, the cost values of the first prediction information and the second prediction information are separately calculated, and the prediction information corresponding to the use of the smaller generation value is determined. Alternatively, it is also possible to preset a certain determination condition, and determine whether to use the first prediction information or the second prediction information according to the condition. How to determine specifically can be determined according to actual scenarios, and the present invention does not limit this.
步骤403,将标识使用第一预测信息的标识位进行比特流编码;Step 403: Perform bitstream coding to identify the identifier bit that uses the first prediction information.
在本实施例中,可以通过一个标识位(例如使用LeftCUPredFlag)来标识是使用第一预测信息还是第二预测信息。在使用所述第一预测信息的情况下,将0进行比特流编码,在使用所述第二预测信息的情况下,将1进行比特流编码。但本发明不限于此,例如也可以在使用所述第一预测信息的情况下,将1进行比特流编码,在使用所述第二预测信息的情况下,将0进行比特流编码。In this embodiment, whether the first prediction information or the second prediction information is used may be identified by one identification bit (eg, using LeftCUPredFlag). In the case where the first prediction information is used, 0 bit stream coding is performed, and when the second prediction information is used, 1 bit stream coding is performed. However, the present invention is not limited thereto. For example, when the first prediction information is used, 1 bit stream coding may be performed, and when the second prediction information is used, 0 bit stream coding may be performed.
步骤404,使用第一预测信息对所述待编码图像区域的各像素进行比特流编码。Step 404: Perform bitstream encoding on each pixel of the image to be encoded region by using first prediction information.
步骤405,将标识使用第二预测信息的标识位进行比特流编码; Step 405: Perform bitstream coding to identify the identifier bit that uses the second prediction information.
步骤406,使用第二预测信息对所述待编码图像区域的各像素进行比特流编码。Step 406: Perform bitstream encoding on each pixel of the image to be encoded region by using second prediction information.
关于如何使用预测信息,以及如何对其他信息进行比特流编码,可以使用相关技术中的任意一种方法。Regarding how to use prediction information and how to perform bit stream encoding on other information, any one of the related techniques can be used.
表3示出本发明实施例的进行编码的部分伪代码。Table 3 shows the partial pseudo code for encoding in the embodiment of the present invention.
表3table 3
Figure PCTCN2015080638-appb-000001
Figure PCTCN2015080638-appb-000001
值得注意的是,表3仅示意性对本发明进行了说明,但本发明不限于此。It is to be noted that Table 3 is only illustrative of the invention, but the invention is not limited thereto.
由上述实施例可知,确定待编码图像区域使用第一预测信息还是第二预测信息,以及使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成。由此,不仅可以提高预测器的预测效率,而且可以进一步降低编码的比特代价。 It is known by the foregoing embodiment that determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information; wherein the first prediction information Formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of an encoded image region adjacent to the image region to be encoded. Thereby, not only the prediction efficiency of the predictor can be improved, but also the bit cost of the encoding can be further reduced.
实施例2Example 2
本发明实施例提供一种使用预测信息的图像编码装置,对应于实施例1中的使用预测信息的图像编码方法,相同的内容不再赘述。An embodiment of the present invention provides an image encoding apparatus using prediction information, which corresponds to the image encoding method using prediction information in Embodiment 1, and the same content is not described herein again.
图5是本发明实施例的使用预测信息的图像编码装置的一示意图,如图5所示,所述图像编码装置500包括:FIG. 5 is a schematic diagram of an image encoding apparatus using prediction information according to an embodiment of the present invention. As shown in FIG. 5, the image encoding apparatus 500 includes:
信息确定单元501,确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;The information determining unit 501 determines whether the image region to be encoded uses the first prediction information or the second prediction information; wherein the first prediction information is formed based on pixel information of the plurality of encoded image regions, and the second prediction information is based on Forming pixel information of the encoded image region adjacent to the coded image region;
比特流编码单元502,使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。The bitstream encoding unit 502 performs bitstream encoding on each pixel of the image region to be encoded using corresponding prediction information.
在本实施例中,比特流编码单元502还可以用于:将用于标识使用所述第一预测信息还是所述第二预测信息的标识位进行比特流编码。In this embodiment, the bitstream encoding unit 502 is further configured to: perform bitstream encoding on the identifier bit used to identify whether the first prediction information or the second prediction information is used.
如图5所示,所述图像编码装置500还可以包括:As shown in FIG. 5, the image encoding apparatus 500 may further include:
区域确定单元503,确定所述待编码图像区域是否具有所述相邻的已编码图像区域;以及The area determining unit 503 determines whether the image area to be encoded has the adjacent encoded image area;
所述信息确定单元501在所述待编码图像区域不具有所述相邻的已编码图像区域的情况下,直接使用所述第一预测信息。The information determining unit 501 directly uses the first prediction information in a case where the image area to be encoded does not have the adjacent encoded image area.
在本实施例中,所述相邻的已编码图像区域为所述待编码图像区域的左侧图像区域;但本发明不限于此。此外,第一预测信息中项的个数多于第二预测信息中项的个数;例如第一预测信息中项的个数为128,第二预测信息中项的个数不超过64。In this embodiment, the adjacent coded image area is the left image area of the image area to be encoded; however, the invention is not limited thereto. In addition, the number of items in the first prediction information is more than the number of items in the second prediction information; for example, the number of items in the first prediction information is 128, and the number of items in the second prediction information does not exceed 64.
如图5所示,所述图像编码装置500还可以包括:As shown in FIG. 5, the image encoding apparatus 500 may further include:
存储单元504,存储被预先生成的所述第一预测信息和所述第二预测信息;The storage unit 504 stores the first prediction information and the second prediction information that are generated in advance;
更新单元505,基于已编码的像素信息更新第一预测信息和第二预测信息。The updating unit 505 updates the first prediction information and the second prediction information based on the encoded pixel information.
由上述实施例可知,确定待编码图像区域使用第一预测信息还是第二预测信息,以及使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成。由此,不仅可以提高预测器的预测效率,而且可以进一步降低编码的比特代价。 It is known by the foregoing embodiment that determining whether the image region to be encoded uses the first prediction information or the second prediction information, and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information; wherein the first prediction information Formed based on pixel information of a plurality of encoded image regions, the second prediction information being formed based on pixel information of an encoded image region adjacent to the image region to be encoded. Thereby, not only the prediction efficiency of the predictor can be improved, but also the bit cost of the encoding can be further reduced.
实施例3Example 3
本发明实施例提供一种使用预测信息的图像解码方法,对应于实施例1中的使用预测信息的图像编码方法,相同的内容不再赘述。An embodiment of the present invention provides an image decoding method using prediction information, which corresponds to the image encoding method using prediction information in Embodiment 1, and the same content is not described again.
图6是本发明实施例的使用预测信息的图像解码方法的一示意图,如图6所示,所述图像解码方法包括:FIG. 6 is a schematic diagram of an image decoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 6, the image decoding method includes:
步骤601,确定待解码图像区域使用第三预测信息还是第四预测信息;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成;Step 601: Determine whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of a plurality of decoded image regions, and the fourth prediction information is based on the Forming pixel information of decoded image regions adjacent to the image region;
步骤602,使用相应的预测信息对所述待解码图像区域的各像素进行比特流解码。Step 602: Perform bitstream decoding on each pixel of the image to be decoded region by using corresponding prediction information.
在本实施例中,第三预测信息与实施例1中的第一预测信息对应;第四预测信息与实施例1中的第二预测信息对应。例如,第三预测信息与第一预测信息的内容相同,第四预测信息与第二预测信息的内容相同。In the present embodiment, the third prediction information corresponds to the first prediction information in Embodiment 1; the fourth prediction information corresponds to the second prediction information in Embodiment 1. For example, the third prediction information is the same as the content of the first prediction information, and the fourth prediction information is the same as the content of the second prediction information.
图7是本发明实施例的使用预测信息的图像解码方法的另一示意图,如图7所示,所述图像解码方法包括:FIG. 7 is another schematic diagram of an image decoding method using prediction information according to an embodiment of the present invention. As shown in FIG. 7, the image decoding method includes:
步骤701,确定某一待解码图像区域是否具有左侧图像区域;在具有左侧图像区域的情况下执行步骤702;在不具有左侧图像区域的情况下执行步骤705; Step 701, it is determined whether a certain image area to be decoded has a left image area; in the case of having a left image area, step 702 is performed; if there is no left image area, step 705 is performed;
例如,可以通过判断CU_pelX值来确定当前CU是否具有Left CU。For example, whether the current CU has a Left CU can be determined by determining the CU_pelX value.
步骤702,从比特流中获得标识位;Step 702: Obtain an identifier bit from the bitstream.
步骤703,确定该标识位是否为1;在为1的情况下执行步骤704;在为0的情况下执行步骤705; Step 703, it is determined whether the flag bit is 1; if it is 1, step 704 is performed; if it is 0, step 705 is performed;
步骤704,使用第四预测信息对待解码图像区域的各像素进行比特流解码。Step 704: Perform bitstream decoding on each pixel of the image area to be decoded using the fourth prediction information.
步骤705,使用第三预测信息对待解码图像区域的各像素进行比特流解码。Step 705: Perform bitstream decoding on each pixel of the image area to be decoded using the third prediction information.
值得注意的是,图7仅示意性地进行了说明,例如还可以在标识位为1的情况下使用第三预测信息,在标识位为0的情况下使用第四预测信息。本发明不限于此,可以根据实际场景确定具体的实施方式。It is to be noted that FIG. 7 is only schematically illustrated. For example, the third prediction information may be used in the case where the flag bit is 1, and the fourth prediction information is used in the case where the flag bit is 0. The present invention is not limited thereto, and a specific implementation manner may be determined according to actual scenarios.
由上述实施例可知,确定待解码图像区域使用第三预测信息还是第四预测信息,以及根据相应的预测信息进行比特流解码;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成。由此,不仅可以提高预测器的预测效率,而且可以进 一步降低编码和解码的比特代价。It can be known from the foregoing embodiment that determining whether the to-be-decoded image region uses the third prediction information or the fourth prediction information, and performing bitstream decoding according to the corresponding prediction information; wherein the third prediction information is based on pixel information of the plurality of decoded image regions. Forming, the fourth prediction information is formed based on pixel information of the decoded image region adjacent to the image region to be decoded. Therefore, not only can the prediction efficiency of the predictor be improved, but also One step reduces the bit cost of encoding and decoding.
实施例4Example 4
本发明实施例提供一种使用预测信息的图像解码装置,对应于实施例3中的使用预测信息的图像解码方法,相同的内容不再赘述。An embodiment of the present invention provides an image decoding apparatus using prediction information, which corresponds to the image decoding method using prediction information in Embodiment 3, and the same content is not described herein again.
图8是本发明实施例的使用预测信息的图像解码装置的一示意图。如图8所示,所述图像解码装置800包括:FIG. 8 is a schematic diagram of an image decoding apparatus using prediction information according to an embodiment of the present invention. As shown in FIG. 8, the image decoding apparatus 800 includes:
信息确定单元801,确定待解码图像区域使用第三预测信息还是第四预测信息;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成;The information determining unit 801 determines whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of a plurality of decoded image regions, the fourth prediction information is based on Forming pixel information of the decoded image region adjacent to the decoded image region;
比特流解码单元802,使用相应的预测信息对所述待解码图像区域的各像素进行比特流解码。The bit stream decoding unit 802 performs bit stream decoding on each pixel of the image area to be decoded using the corresponding prediction information.
如图8所示,所述解码装置800还可以包括:As shown in FIG. 8, the decoding apparatus 800 may further include:
区域确定单元803,确定所述待解码图像区域是否具有所述相邻的已解码图像区域;以及The area determining unit 803 determines whether the image area to be decoded has the adjacent decoded image area;
所述信息确定单元801在所述待解码图像区域不具有所述相邻的已解码图像区域的情况下,直接使用所述第一预测信息。The information determining unit 801 directly uses the first prediction information in a case where the image area to be decoded does not have the adjacent decoded image area.
在本实施例中,所述相邻的已解码图像区域为所述待解码图像区域的左侧图像区域;但本发明不限于此。此外,第三预测信息中项的个数多于第四预测信息中项的个数;例如第三预测信息中项的个数为128,第四预测信息中项的个数不超过64。In this embodiment, the adjacent decoded image region is the left image region of the image region to be decoded; however, the present invention is not limited thereto. In addition, the number of items in the third prediction information is more than the number of items in the fourth prediction information; for example, the number of items in the third prediction information is 128, and the number of items in the fourth prediction information does not exceed 64.
如图8所示,所述解码装置800还可以包括:As shown in FIG. 8, the decoding apparatus 800 may further include:
存储单元804,存储被预先生成的所述第三预测信息和所述第四预测信息;The storage unit 804 stores the third prediction information and the fourth prediction information that are generated in advance;
更新单元805,基于已解码的像素信息更新第三预测信息和第四预测信息。The updating unit 805 updates the third prediction information and the fourth prediction information based on the decoded pixel information.
由上述实施例可知,确定待解码图像区域使用第三预测信息还是第四预测信息,以及根据相应的预测信息进行比特流解码;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成。由此,不仅可以提高预测器的预测效率,而且可以进一步降低编码和解码的比特代价。 It can be known from the foregoing embodiment that determining whether the to-be-decoded image region uses the third prediction information or the fourth prediction information, and performing bitstream decoding according to the corresponding prediction information; wherein the third prediction information is based on pixel information of the plurality of decoded image regions. Forming, the fourth prediction information is formed based on pixel information of the decoded image region adjacent to the image region to be decoded. Thereby, not only the prediction efficiency of the predictor can be improved, but also the bit cost of encoding and decoding can be further reduced.
实施例5Example 5
本发明实施例提供一种图像处理设备,所述图像处理设备包括:如实施例2所述的图像编码装置和/或如实施例4所述的图像解码装置。An embodiment of the present invention provides an image processing apparatus, comprising: the image encoding apparatus according to Embodiment 2 and/or the image decoding apparatus as described in Embodiment 4.
图9是本发明实施例的图像处理设备的一构成示意图。如图9所示,图像处理设备900可以包括:中央处理器(CPU)100和存储器110;存储器110耦合到中央处理器100。其中该存储器110可存储各种数据;此外还存储信息处理的程序,并且在中央处理器100的控制下执行该程序。FIG. 9 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 9, the image processing apparatus 900 may include a central processing unit (CPU) 100 and a memory 110; the memory 110 is coupled to the central processing unit 100. The memory 110 can store various data; in addition, a program for information processing is stored, and the program is executed under the control of the central processing unit 100.
在一个实施方式中,图像编码装置500的功能可以被集成到中央处理器100中。其中,中央处理器100可以被配置为实现如实施例1所述的图像编码方法。和/或,图像解码装置800的功能也可以被集成到中央处理器100中。其中,中央处理器100可以被配置为实现如实施例3所述的图像解码方法。In one embodiment, the functionality of image encoding device 500 may be integrated into central processor 100. Wherein, the central processing unit 100 can be configured to implement the image encoding method as described in Embodiment 1. And/or, the functions of the image decoding device 800 can also be integrated into the central processing unit 100. Wherein, the central processing unit 100 can be configured to implement the image decoding method as described in Embodiment 3.
在另一个实施方式中,图像编码装置500和/或图像解码装置800可以与中央处理器分开配置,例如可以将图像编码装置500和/或图像解码装置800配置为与中央处理器100连接的芯片,通过中央处理器的控制来实现图像编码装置500和/或图像解码装置800的功能。In another embodiment, the image encoding device 500 and/or the image decoding device 800 may be configured separately from the central processing unit, for example, the image encoding device 500 and/or the image decoding device 800 may be configured as a chip connected to the central processing unit 100. The functions of the image encoding device 500 and/or the image decoding device 800 are implemented by control of a central processing unit.
此外,如图9所示,图像处理设备900还可以包括:输入输出单元120和显示单元130等;其中,上述部件的功能与现有技术类似,此处不再赘述。值得注意的是,图像处理设备900也并不是必须要包括图9中所示的所有部件;此外,图像处理设备900还可以包括图9中没有示出的部件,可以参考现有技术。In addition, as shown in FIG. 9, the image processing apparatus 900 may further include: an input and output unit 120, a display unit 130, and the like; wherein the functions of the above components are similar to those of the prior art, and details are not described herein again. It is to be noted that the image processing apparatus 900 does not necessarily have to include all of the components shown in FIG. 9; in addition, the image processing apparatus 900 may further include components not shown in FIG. 9, and reference may be made to the related art.
本发明实施例还提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如实施例1所述的图像编码方法和/或如实施例3所述的图像解码方法。The embodiment of the present invention further provides a computer readable program, wherein when the program is executed in an image processing apparatus, the program causes a computer to execute the image encoding method as described in Embodiment 1 in the image processing apparatus and / or the image decoding method as described in embodiment 3.
本发明实施例还提供一种存储有计算机可读程序的存储介质,其中所述计算机可读程序使得计算机在图像处理设备中执行如实施例1所述的图像编码方法和/或如实施例3所述的图像解码方法。The embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program causes the computer to execute the image encoding method as described in Embodiment 1 in the image processing device and/or as in Embodiment 3 The image decoding method described.
本发明以上的装置和方法可以由硬件实现,也可以由硬件结合软件实现。本发明涉及这样的计算机可读程序,当该程序被逻辑部件所执行时,能够使该逻辑部件实现上文所述的装置或构成部件,或使该逻辑部件实现上文所述的各种方法或步骤。本发明还涉及用于存储以上程序的存储介质,如硬盘、磁盘、光盘、DVD、flash存储器等。 The above apparatus and method of the present invention may be implemented by hardware or by hardware in combination with software. The present invention relates to a computer readable program that, when executed by a logic component, enables the logic component to implement the apparatus or components described above, or to cause the logic component to implement the various methods described above Or steps. The present invention also relates to a storage medium for storing the above program, such as a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, or the like.
针对附图中描述的功能方框中的一个或多个和/或功能方框的一个或多个组合,可以实现为用于执行本申请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件或者其任意适当组合。针对附图描述的功能方框中的一个或多个和/或功能方框的一个或多个组合,还可以实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、与DSP通信结合的一个或多个微处理器或者任何其它这种配置。One or more of the functional blocks described in the figures and/or one or more combinations of functional blocks may be implemented as a general purpose processor, digital signal processor (DSP) for performing the functions described herein. An application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or any suitable combination thereof. One or more of the functional blocks described with respect to the figures and/or one or more combinations of functional blocks 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 in conjunction with DSP communication or any other such configuration.
以上结合具体的实施方式对本发明进行了描述,但本领域技术人员应该清楚,这些描述都是示例性的,并不是对本发明保护范围的限制。本领域技术人员可以根据本发明的精神和原理对本发明做出各种变型和修改,这些变型和修改也在本发明的范围内。 The present invention has been described in connection with the specific embodiments thereof, and it should be understood by those skilled in the art that A person skilled in the art can make various modifications and changes to the present invention within the scope of the present invention.

Claims (13)

  1. 一种使用预测信息的图像编码方法,所述图像编码方法包括:An image encoding method using prediction information, the image encoding method comprising:
    确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;Determining whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the image region to be encoded Formed by pixel information of adjacent coded image regions;
    使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。Each pixel of the image to be encoded region is bitstream encoded using corresponding prediction information.
  2. 根据权利要求1所述的图像编码方法,其中,所述图像编码方法还包括:The image encoding method according to claim 1, wherein the image encoding method further comprises:
    将用于标识使用所述第一预测信息还是所述第二预测信息的标识位进行比特流编码。Bitstream encoding is used to identify an identification bit that uses the first prediction information or the second prediction information.
  3. 根据权利要求1所述的图像编码方法,其中,所述图像编码方法还包括:The image encoding method according to claim 1, wherein the image encoding method further comprises:
    确定所述待编码图像区域是否具有所述相邻的已编码图像区域;以及Determining whether the image area to be encoded has the adjacent encoded image area;
    在所述待编码图像区域不具有所述相邻的已编码图像区域的情况下,直接使用所述第一预测信息。In the case where the image area to be encoded does not have the adjacent encoded image area, the first prediction information is directly used.
  4. 根据权利要求1所述的图像编码方法,其中,所述相邻的已编码图像区域为所述待编码图像区域的左侧图像区域。The image encoding method according to claim 1, wherein the adjacent encoded image region is a left image region of the image region to be encoded.
  5. 根据权利要求1所述的图像编码方法,其中,所述第一预测信息中项的个数多于所述第二预测信息中项的个数。The image encoding method according to claim 1, wherein the number of items in the first prediction information is larger than the number of items in the second prediction information.
  6. 根据权利要求1所述的图像编码方法,其中,所述图像编码方法还包括:The image encoding method according to claim 1, wherein the image encoding method further comprises:
    存储被预先生成的所述第一预测信息和所述第二预测信息;以及And storing the first prediction information and the second prediction information that are pre-generated;
    基于已编码的像素信息更新所述第一预测信息和所述第二预测信息。The first prediction information and the second prediction information are updated based on the encoded pixel information.
  7. 一种使用预测信息的图像编码装置,所述图像编码装置包括:An image encoding device using prediction information, the image encoding device comprising:
    信息确定单元,确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;The information determining unit determines whether the image region to be encoded uses the first prediction information or the second prediction information; wherein the first prediction information is formed based on pixel information of the plurality of encoded image regions, the second prediction information is based on Forming pixel information of an encoded image region adjacent to an image region to be encoded;
    比特流编码单元,使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码。The bit stream encoding unit performs bit stream encoding on each pixel of the image area to be encoded using corresponding prediction information.
  8. 根据权利要求7所述的图像编码装置,其中,所述比特流编码单元还用于:将用于标识使用所述第一预测信息还是所述第二预测信息的标识位进行比特流编码。 The image encoding apparatus according to claim 7, wherein said bit stream encoding unit is further configured to: bitstream encode the flag for identifying whether to use said first prediction information or said second prediction information.
  9. 根据权利要求7所述的图像编码装置,其中,所述图像编码装置还包括:The image encoding device according to claim 7, wherein the image encoding device further comprises:
    区域确定单元,确定所述待编码图像区域是否具有所述相邻的已编码图像区域;以及a region determining unit that determines whether the image region to be encoded has the adjacent encoded image region;
    所述信息确定单元在所述待编码图像区域不具有所述相邻的已编码图像区域的情况下,直接使用所述第一预测信息。The information determining unit directly uses the first prediction information in a case where the image region to be encoded does not have the adjacent encoded image region.
  10. 根据权利要求7所述的图像编码装置,其中,所述相邻的已编码图像区域为所述待编码图像区域的左侧图像区域。The image encoding device according to claim 7, wherein the adjacent encoded image region is a left image region of the image region to be encoded.
  11. 根据权利要求7所述的图像编码装置,其中,所述第一预测信息中项的个数多于所述第二预测信息中项的个数。The image encoding apparatus according to claim 7, wherein the number of items in the first prediction information is larger than the number of items in the second prediction information.
  12. 根据权利要求7所述的图像编码装置,其中,所述图像编码装置还包括:The image encoding device according to claim 7, wherein the image encoding device further comprises:
    存储单元,存储被预先生成的所述第一预测信息和所述第二预测信息;a storage unit, configured to store the first prediction information and the second prediction information that are generated in advance;
    更新单元,基于已编码的像素信息更新所述第一预测信息和所述第二预测信息。And an update unit that updates the first prediction information and the second prediction information based on the encoded pixel information.
  13. 一种图像处理设备,所述图像处理设备包括:An image processing apparatus, the image processing apparatus comprising:
    编码装置;确定待编码图像区域使用第一预测信息还是第二预测信息;其中所述第一预测信息基于多个已编码图像区域的像素信息而形成,所述第二预测信息基于与所述待编码图像区域相邻的已编码图像区域的像素信息而形成;以及使用相应的预测信息对所述待编码图像区域的各像素进行比特流编码;An encoding device that determines whether the image region to be encoded uses first prediction information or second prediction information; wherein the first prediction information is formed based on pixel information of a plurality of encoded image regions, the second prediction information being based on the Forming pixel information of the encoded image region adjacent to the image region; and performing bitstream encoding on each pixel of the image region to be encoded using the corresponding prediction information;
    和/或and / or
    解码装置,确定待解码图像区域使用第三预测信息还是第四预测信息;其中所述第三预测信息基于多个已解码图像区域的像素信息而形成,所述第四预测信息基于与所述待解码图像区域相邻的已解码图像区域的像素信息而形成;以及使用相应的预测信息对所述待解码图像区域的各像素进行比特流解码。 Decoding means, determining whether the image region to be decoded uses third prediction information or fourth prediction information; wherein the third prediction information is formed based on pixel information of the plurality of decoded image regions, the fourth prediction information being based on the Forming pixel information of decoded image regions adjacent to the image region; and performing bitstream decoding on each pixel of the image region to be decoded using corresponding prediction information.
PCT/CN2015/080638 2015-06-03 2015-06-03 Image coding method and apparatus using prediction information and image processing device WO2016192055A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080638 WO2016192055A1 (en) 2015-06-03 2015-06-03 Image coding method and apparatus using prediction information and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/080638 WO2016192055A1 (en) 2015-06-03 2015-06-03 Image coding method and apparatus using prediction information and image processing device

Publications (1)

Publication Number Publication Date
WO2016192055A1 true WO2016192055A1 (en) 2016-12-08

Family

ID=57439877

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080638 WO2016192055A1 (en) 2015-06-03 2015-06-03 Image coding method and apparatus using prediction information and image processing device

Country Status (1)

Country Link
WO (1) WO2016192055A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050008224A1 (en) * 2000-01-27 2005-01-13 Caruso Robert M. Image compression usable with animated images
CN103281538A (en) * 2013-06-06 2013-09-04 上海交通大学 Intra-frame coding method based on rolling hush and block-level intra-frame prediction
CN104244007A (en) * 2013-06-13 2014-12-24 上海天荷电子信息有限公司 Image compression method and device based on arbitrary shape matching
CN104427338A (en) * 2013-09-07 2015-03-18 上海天荷电子信息有限公司 Image compression method and device with block matching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050008224A1 (en) * 2000-01-27 2005-01-13 Caruso Robert M. Image compression usable with animated images
CN103281538A (en) * 2013-06-06 2013-09-04 上海交通大学 Intra-frame coding method based on rolling hush and block-level intra-frame prediction
CN104244007A (en) * 2013-06-13 2014-12-24 上海天荷电子信息有限公司 Image compression method and device based on arbitrary shape matching
CN104427338A (en) * 2013-09-07 2015-03-18 上海天荷电子信息有限公司 Image compression method and device with block matching

Similar Documents

Publication Publication Date Title
KR101779873B1 (en) Encoding or decoding method and apparatus
JP2017523672A5 (en)
JP2017507517A5 (en)
JP2016508011A5 (en)
WO2023005140A1 (en) Video data processing method, apparatus, device, and storage medium
TW201926993A (en) Video decoding apparatus and video decoding method
CN110189384B (en) Image compression method, device, computer equipment and storage medium based on Unity3D
JP2018522467A (en) Image encoding method, image decoding method, encoding device, and decoding device
TWI505717B (en) Joint scalar embedded graphics coding for color images
US10698691B2 (en) Method and device for determining branch prediction history for branch prediction by partially combining shifted branch prediction history with branch signature
US20220004857A1 (en) Neural network processing apparatus, neural network processing method, and neural network processing program
WO2016192055A1 (en) Image coding method and apparatus using prediction information and image processing device
WO2016192054A1 (en) Image coding method and apparatus using prediction information and image processing device
WO2016045077A1 (en) Image coding method and apparatus and image processing device
WO2016106553A1 (en) Image coding method and apparatus and image processing device
WO2016197317A1 (en) Copy information encoding and decoding method and apparatus, and image processing device
WO2016192053A1 (en) Copy information coding method and apparatus, and image processing device
CN112449186B (en) Encoding method, decoding method, corresponding devices, electronic equipment and storage medium
WO2016106555A1 (en) Image coding method and apparatus and image processing device
WO2016106554A1 (en) Image coding method and apparatus and image processing device
WO2016119196A1 (en) Image coding method, apparatus, and image processing device
US9307259B2 (en) Image decoding methods and image decoding devices
WO2015192340A1 (en) Palette-based image coding method, device and image processing device
CN107172425B (en) Thumbnail generation method and device and terminal equipment
WO2016029419A1 (en) Image encoding method and device, and image processing device

Legal Events

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

Ref document number: 15893711

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

Country of ref document: EP

Kind code of ref document: A1