WO2016045077A1 - Image coding method and apparatus and image processing device - Google Patents

Image coding method and apparatus and image processing device Download PDF

Info

Publication number
WO2016045077A1
WO2016045077A1 PCT/CN2014/087503 CN2014087503W WO2016045077A1 WO 2016045077 A1 WO2016045077 A1 WO 2016045077A1 CN 2014087503 W CN2014087503 W CN 2014087503W WO 2016045077 A1 WO2016045077 A1 WO 2016045077A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
pixel
palette
prediction
encoding
Prior art date
Application number
PCT/CN2014/087503
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/CN2014/087503 priority Critical patent/WO2016045077A1/en
Publication of WO2016045077A1 publication Critical patent/WO2016045077A1/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

Definitions

  • the present invention relates to the field of graphic image technology, and in particular, to an image encoding method, apparatus, and 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.
  • a scheme using a non-palette mode for example, an escape mode
  • the pixel values of the pixel are directly encoded.
  • the inventors have found that for pixels adopting the non-palette mode, when the pixel value has a plurality of color components (for example, yCbCr), if the pixel value is directly used for encoding, more bits are required, and the encoded bits cannot be further reduced. cost.
  • Embodiments of the present invention provide an image encoding method, apparatus, and image processing apparatus.
  • the plate mode of the pixel further increases the compression ratio to reduce the bit cost of the encoding.
  • an image encoding method including:
  • determining whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region determines the encoding of the pixel in the non-palette mode. information
  • the encoded information corresponding to the pixels in the non-palette mode is bit-stream encoded.
  • an image encoding apparatus including:
  • a mode determining unit determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded;
  • the encoding information determining unit determines, for the pixel adopting the non-palette mode, whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region, and determines the adopting the non-palette The encoded information of the pixels of the pattern;
  • the bit stream encoding unit performs bit stream encoding on the encoding information corresponding to the pixels in the non-palette mode.
  • an image processing apparatus comprising the image encoding apparatus as described above.
  • 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, wherein the computer readable program causes a computer to perform an image encoding method as described above in an image processing apparatus.
  • An advantageous effect of the embodiment of the present invention is that, for a pixel adopting the non-palette mode, determining whether the pixel value exists in the pre-generated prediction information and the palette information of the encoded image region, and determining the encoding according to the determination result. information.
  • the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, further reducing the bit cost of encoding.
  • 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 another example of a coding unit according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of an image encoding method according to an embodiment of the present invention.
  • FIG. 4 is another schematic flowchart of an image encoding method according to an embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of an image encoding method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an image encoding apparatus according to an embodiment of the present invention.
  • Fig. 7 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an example of a coding unit according to an embodiment of the present invention, showing a coding unit (CU) Case.
  • 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.
  • C6, C7, and C8 in Figure 1 are all considered to be in a non-palette mode (which may also be referred to as an escape mode).
  • the non-palette mode is adopted for C6, C7, and C8 in FIG. 1, and the other pixels are illustrated by using the palette mode as an example.
  • FIG. 2 is a schematic diagram of another example of a coding unit according to an embodiment of the present invention, showing an index situation after the coding unit of FIG. 1 adopts a Palette.
  • the index of the pixel value C0 in the palette is 0, the index of the pixel value C1 in the palette is 1, the index of the pixel value C2 in the palette is 2, and the pixel value C3 is adjusted.
  • the index in the swatch is 3, the index of the pixel value C4 in the palette is 4, and the index of the pixel value C5 in the palette is 5.
  • each pixel has a plurality of color components (for example, y, Cb, Cr) and each color component value is represented by 8 bits
  • a scheme combining the current palette mode and the non-palette mode is adopted.
  • FIG. 3 is a schematic flowchart of an image encoding method according to an embodiment of the present invention. As shown in FIG. 3, the encoding method includes:
  • Step 301 determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-pal palette mode for the other one or more pixels in the image region to be encoded;
  • Step 302 For pixels adopting the non-palette mode, determining whether pixels of the non-palette mode are used according to whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region. Coded information;
  • Step 303 Perform bitstream encoding on the coding information corresponding to the pixels in the non-palette mode.
  • the image area to be encoded may be a current coding unit (CU) or a current maximum coding unit (LCU).
  • the prediction information may be a pre-generated prediction table, where the prediction table includes a pixel index and a corresponding pixel value, wherein different pixel indexes correspond to different pixel values.
  • 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 term 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.
  • yCbCr is an example of yCbCr.
  • Table 2 is a practical example of the prediction table of the embodiment of the present invention, showing prediction information of an embodiment of the present invention.
  • the prediction table may have, for example, 64 prediction items, each prediction item being identified by one prediction index (for example, 0, 1, ..., 63; each may be represented by 6 bits), and each The prediction term represents a pixel value that includes a plurality of color components (eg, yCbCr).
  • the prediction information may be generated in advance, for example, predefined on the encoding device side based on empirical values; and also predefined on the decoding device side.
  • both the encoding side and the decoding side can know the prediction information in advance, and it is not necessary to encode the prediction information by the bit stream.
  • the prediction information can also be updated based on the encoded pixel information. For example, after the encoding side determines that a pixel adopts the non-palette mode, the information of the pixel is 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 same does not need to pass.
  • the bitstream encodes the prediction information.
  • the encoded image area may be, for example, the previous CU of the current CU, the encoded image area.
  • the palette information of the domain may include the palette of the previous CU.
  • the palette is encoded by the bitstream, so when encoding or decoding the image region to be encoded (for example, the current CU), both the encoding side and the decoding side can know the coloring of the encoded image region (for example, the previous CU) in advance. Board information.
  • Table 3 shows palette information for an encoded image area of an embodiment of the present invention.
  • the palette information may have, for example, 8 pixel values, each pixel value being identified by a pixel index (eg, 0, 1, ..., 7; each pixel index may be represented by 3 bits) .
  • each pixel value 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.
  • yCbCr is an example of yCbCr.
  • Table 4 is a practical example of palette information of the encoded image area of the embodiment of the present invention.
  • the palette information may have, for example, 32 pixel values, each of which is identified by a pixel index (eg, 0, 1, ..., 31; each pixel index may be represented by 5 bits)
  • Each pixel value includes a plurality of color components (eg, yCbCr).
  • the foregoing only schematically shows the prediction information of the present invention and the palette information of the encoded image region, 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.
  • how to determine which pixels adopt the palette mode and which pixels adopt the non-palette mode in step 301 can refer to related technologies. For example, a pixel that appears only once in the CU can be determined as Use non-palette mode and more.
  • the encoding information in step 302 may be a pixel value of the pixel (for example, including multiple color components); or may be a prediction index of the pixel value of the pixel in the prediction information, and the identifier is used in the prediction index.
  • the flag bit may also be a pixel index of the pixel value of the pixel in the palette information of the encoded image region, and an identification bit that identifies the palette information. The details will be described later.
  • FIG. 3 shows a case where only pixels in the non-palette mode are processed.
  • 4 is another flow diagram of an image encoding method according to an embodiment of the present invention, showing a case where pixels in a non-palette mode and pixels in a palette mode are processed together.
  • the encoding method includes:
  • Step 401 determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded.
  • Step 402 Determine a color palette corresponding to the palette mode, where the color palette includes a plurality of pixel values and a corresponding pixel index.
  • Step 403 for pixels adopting the palette mode, determining a corresponding pixel index based on the palette.
  • the specific content can refer to the related technology.
  • Step 404 For pixels adopting the non-palette mode, determining whether pixels of the non-palette mode are used according to whether the pixel values of the pixels exist in the pre-generated prediction information and the palette information of the encoded image region. Encoding information.
  • a corresponding flag bit and a prediction index corresponding to a corresponding prediction item in the prediction information are used as The encoding information; in a case where the pixel value is not present in the prediction information and exists in palette information of the encoded image region, a corresponding identification bit and the encoded image region are a pixel index corresponding to a corresponding pixel value in the palette information as the encoding information; wherein the pixel value is not present in the prediction information and is not present in palette information of the encoded image region
  • the corresponding flag bit and the pixel value are used as the encoding information.
  • bitstream encoding is performed for pixels C6, C7, and C8 using the non-palette mode.
  • C6 appears in the prediction information as shown in Table 1
  • the prediction index 1 (using 3 bits) corresponding to C6 and an identifier bit (for example, 1 bit, indicating prediction prediction)
  • the prediction index in the information is used as the coding information of the C6.
  • C8 appears in the prediction information as shown in Table 1, it can be determined that the prediction index 4 corresponding to C8 (using 3 bits) and one flag bit (for example, 1 bit indicating that the prediction index in the prediction information is used) are used as the C8.
  • Encoding information if C6 appears in the prediction information as shown in Table 1, it can be determined that the prediction index 1 (using 3 bits) corresponding to C6 and an identifier bit (for example, 1 bit, indicating prediction prediction)
  • the prediction index 4 corresponding to C8
  • one flag bit for example, 1 bit indicating that the prediction index in the prediction information is used
  • C7 does not appear in the prediction information as shown in Table 1, but appears in the palette information of the encoded image area as shown in Table 3, and it is possible to determine the pixel index corresponding to C7 (using 3 bits). , an identification bit (for example, 0 bit, indicating that the prediction index in the prediction information is not used) and another flag bit (for example, 1 bit indicating the pixel index in the palette information of the encoded image region) as the coding of the C7 information.
  • an identification bit for example, 0 bit, indicating that the prediction index in the prediction information is not used
  • another flag bit for example, 1 bit indicating the pixel index in the palette information of the encoded image region
  • the embodiment of the present invention can further improve the compression ratio by using the prediction information and the palette information.
  • the pixel value and the prediction item may include a plurality of color components; for a pixel adopting the non-palette mode, it may first determine whether it exists in the prediction information, and if it does not exist in the prediction information, It is judged whether or not it exists in the palette information of the encoded image area.
  • the present invention is not limited to the judgment order, and examples If it is also possible to first determine whether it exists in the palette information, and then determine whether it exists in the prediction information.
  • determining the encoding information of the pixels in the non-palette mode may include: respectively, each color component of the pixel is equal to a corresponding color component of a certain prediction item in the prediction information. Next, a 1-bit flag bit using the prediction information and a prediction index corresponding to the prediction item are used as the encoding information; each color component of the pixel is respectively color-coded with the encoded image region When the corresponding color components of the certain pixel values in the board information are equal, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating palette information using the encoded image region, and a pixel index corresponding to the pixel value as the encoding information; otherwise, a 1-bit flag indicating that the prediction information is not used, and a 1-bit flag indicating palette information not using the encoded image region And each color component of the pixel is used as the encoding information.
  • the prediction item in the prediction information is the prediction item B
  • the pixel value in the palette information of the coded image area is C
  • the embodiment of the present invention determines Whether the y component of the pixel A is equal to the y component of the prediction term B, whether the Cb component of the pixel A is equal to the Cb component of the prediction term B, and whether the Cr component of the pixel A is equal to the Cr component of the prediction term B; In the case where the results are all equal, it can be determined that the pixel value of the pixel A is equal to the prediction term B.
  • the embodiment of the present invention determines whether the y component of the pixel A and the y component of the pixel value C are equal, whether the Cb component of the pixel A is equal to the Cb component of the pixel value C, and the Cr component of the pixel A and the Cr component of the pixel value C. Whether they are equal; in the case where all three results are equal, it can be determined that the pixel value of the pixel A is equal to the pixel value C.
  • the prediction information has 64 prediction items as shown in Table 2 above; the palette information of the encoded image area is as shown in Table 4 above, and has 32 pixel values.
  • the current CU there are 16 pixels in the non-palette mode, as shown in Table 5 below.
  • each color component has two pixels equal to the corresponding color components in the prediction information as shown in Table 2 (the indexes in Table 5 are 1, 2, respectively), it can be determined that The two pixels may use the corresponding prediction indexes 1 and 2 in Table 2 (6 bits respectively) and the identification bits (for example, 1 bit, indicating the prediction index in the prediction information) as the coding information.
  • the encoding method of the embodiment of the present invention has two pixels each having the same color component as the corresponding color component in the prediction information shown in Table 2 (the indexes in Table 5 are 1, 2, respectively), It can be determined that the two pixels can adopt the corresponding prediction indexes 1 and 2 in Table 2 (using 6 bits respectively) and the identification bits (for example, 1 bit, indicating that the prediction index in the prediction information is used) as the coding information.
  • each of the color components has two pixels equal to the corresponding color components in the palette information of the encoded image region as shown in Table 4 (the indexes in Table 5 are 4, 15 respectively), and then it can be determined
  • the two pixels may adopt the corresponding prediction indexes 4, 31 in Table 4 (using 5 bits respectively), 1-bit flag bits (for example, 0 bits, indicating that the prediction index in the prediction information is not used) and 1-bit flag bits (for example, 1)
  • the bit, which indicates the pixel index of the encoded image region, is used as the encoded information.
  • the embodiment of the present invention can further improve by using prediction information and palette information. Compression ratio.
  • Step 405 Perform bitstream encoding on the encoding information corresponding to the pixels in the non-palette mode, and perform bitstream encoding on the pixel index corresponding to the pixels in the palette mode.
  • identification bits are only a schematic description of the identification bits, but the invention is not limited thereto.
  • the palette information of the current CU and the like may be incorporated into the bit stream, and the related art may be specifically referred to.
  • FIG. 4 is only schematically illustrated, but the present invention is not limited thereto, and for example, the execution order of each step may be changed according to actual conditions.
  • FIG. 5 is another schematic flowchart of an image encoding method according to an embodiment of the present invention. As shown in FIG. 5, the image encoding method includes:
  • Step 500 determining a mode of each pixel in the CU and a palette of the CU;
  • Step 501 it is determined whether the current pixel adopts the non-palette mode; in the case of adopting the palette mode, step 507 is performed, and in the case of adopting the non-palette mode, step 502 is performed;
  • Step 502 it is determined whether the color component of the current pixel is equal to the corresponding color component in a certain prediction item, if yes, step 503 is performed, otherwise step 504 is performed;
  • Step 503 The corresponding identifier bit and the prediction index corresponding to the prediction item are used as coding information.
  • Step 504 it is determined whether the color component of the current pixel is equal to the corresponding color component of a certain pixel value in the palette information of the encoded image region, if yes, step 505 is performed, otherwise step 506 is performed;
  • Step 505 The corresponding identifier bit and the pixel index corresponding to the pixel value are used as encoding information.
  • Step 506 using corresponding identifier bits and each color component value as encoding information
  • Step 507 determining a corresponding pixel index based on the color palette
  • step 508 it is determined whether there are other pixels, and if so, step 501 is performed for the next pixel.
  • bit stream encoding may be performed immediately, or all pixels may be bit stream encoded after the scanning is completed, and the encoding time may be determined according to actual conditions.
  • the prediction information and the palette information of the encoded image region are determined based on the determination result. Thereby, the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, and the bit cost of encoding can be further reduced.
  • An embodiment of the present invention provides an image encoding apparatus, which corresponds to the image encoding method in Embodiment 1, and the same content is not described herein again.
  • FIG. 6 is a schematic diagram of an image encoding apparatus according to an embodiment of the present invention.
  • the encoding apparatus 600 includes: a mode determining unit 601, an encoding information determining unit 602, and a bit stream encoding unit 603;
  • the mode determining unit 601 determines to adopt a palette mode for a plurality of pixels in the image region to be encoded, and determines to adopt a non-pal palette mode for the other one or more pixels in the image region to be encoded; the encoding information determining unit 602. For a pixel adopting the non-palette mode, determining whether the pixel value of the pixel is in the non-palette mode pixel according to whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region. Encoding information; the bit stream encoding unit 603 performs bit stream encoding on the encoding information corresponding to the pixels in the non-palette mode.
  • the apparatus 600 may further include: a palette determining unit 604 and an index information determining unit 605.
  • the palette determining unit 604 determines a palette corresponding to the palette mode, the palette includes a plurality of pixel values and corresponding pixel indexes; and the index information determining unit 605 is configured to adopt a palette mode. And determining, by the pixel, a corresponding pixel index; and the bitstream encoding unit 603 is further configured to: perform bitstream encoding on the pixel index corresponding to the pixel in the palette mode.
  • the prediction information may include a plurality of prediction items and corresponding prediction indexes, wherein different prediction indexes correspond to different prediction items;
  • the palette information of the encoded image regions includes a plurality of pixel values and corresponding pixel indexes. Where different pixel indices correspond to different pixel values.
  • the encoding information determining unit 602 may be configured to: when the pixel value exists in the prediction information, use a corresponding identifier bit and a prediction index corresponding to a corresponding prediction item in the prediction information as the Encoding information; in the case where the pixel value does not exist in the prediction information and exists in palette information of the encoded image region, the corresponding flag bit and the color of the encoded image region a pixel index corresponding to a corresponding pixel value in the board information as the encoding information; in a case where the pixel value does not exist in the prediction information and is not present in palette information of the encoded image area , the corresponding flag and The pixel value is used as the encoded information.
  • each prediction term may include a plurality of color components
  • each pixel value may include a plurality of color components.
  • the encoding information determining unit 602 may be specifically configured to: when each color component of the pixel is equal to a corresponding color component in a certain prediction item in the prediction information, respectively, to represent 1 bit using the prediction information And a prediction index corresponding to the prediction item as the encoding information; each color component of the pixel and a corresponding color component of a certain pixel value in the palette information of the encoded image region
  • a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating palette information using the encoded image region, and a pixel index corresponding to the pixel value are used as the Encoding information; otherwise, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating that the palette information of the encoded image region is not used, and each color component of the pixel are used as the encoding information.
  • 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.
  • the apparatus 600 may further include: a prediction information generating unit 606, generating the prediction information, and updating the prediction information based on the encoded pixel information.
  • the image area to be encoded may be the current CU, and the encoded image area may be the previous CU of the current CU.
  • the invention is not limited thereto.
  • the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, further reducing the bit cost of encoding.
  • An embodiment of the present invention provides an image processing apparatus, where the image processing apparatus includes the image encoding apparatus according to Embodiment 2.
  • Fig. 7 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention.
  • the image processing apparatus 700 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 This program is executed under the control of the central processing unit 100.
  • the functionality of image encoding device 600 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 image encoding device 600 may be configured separately from the central processing unit.
  • the image encoding device 600 may be configured as a chip connected to the central processing unit 100, and the image encoding device 600 may be implemented by control of the central processing unit.
  • the image processing apparatus 700 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 are not described herein again. It is to be noted that the image processing apparatus 700 does not necessarily have to include all of the components shown in FIG. 7; in addition, the image processing apparatus 700 may further include components not shown in FIG. 7, and reference may be made to the related art.
  • the image processing apparatus 700 may further include: an image decoding device that can perform decoding correspondingly.
  • the image processing apparatus 700 can implement the functions of the image decoding apparatus by the control of the central processing unit 100 as described above.
  • 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 described in Embodiment 1 in the image processing apparatus.
  • An embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program causes a computer to execute the image encoding method described in Embodiment 1 in an image processing apparatus.
  • 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.

Landscapes

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

Abstract

Embodiments of the present invention provide an image coding method and apparatus and an image processing device. The coding method comprises: determining to use a palette mode for multiple pixels in a to-be-coded image area and determining to use a non-palette mode for one or more other pixels in the to-be-coded image area; for the pixels using the non-palette mode, determining coding information of the pixels using the non-palette mode according to whether pixel values of the pixels exist in prediction information and/or palette information of a coded image area; and performing bitstream coding on the coding information corresponding to the pixels using the non-palette mode. By means of the embodiments of the present invention, prediction information and palette information can be fully utilized to increase the compression ratio of pixels using a non-palette mode, and further, the coding bit cost is reduced.

Description

图像编码方法、装置以及图像处理设备Image coding method, device and image processing device 技术领域Technical field
本发明涉及一种图形图像技术领域,特别涉及一种图像编码方法、装置以及图像处理设备。The present invention relates to the field of graphic image technology, and in particular, to an image encoding method, apparatus, and 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.
应该注意,上面对技术背景的介绍只是为了方便对本发明的技术方案进行清楚、完整的说明,并方便本领域技术人员的理解而阐述的。不能仅仅因为这些方案在本发明的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。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
目前,为了进一步提高压缩比,出现了采用非调色板模式(例如escape mode)的方案。其中对于待编码图像区域(例如CU)中的一个或多个像素,直接使用该像素的像素值进行编码。Currently, in order to further increase the compression ratio, a scheme using a non-palette mode (for example, an escape mode) has appeared. Wherein for one or more pixels in the image region to be encoded (eg, CU), the pixel values of the pixel are directly encoded.
但是,发明人发现,对于采用非调色板模式的像素,当像素值具有多个颜色分量(例如yCbCr)时,如果直接使用像素值进行编码则需要较多的比特,不能进一步减少编码的比特代价。However, the inventors have found that for pixels adopting the non-palette mode, when the pixel value has a plurality of color components (for example, yCbCr), if the pixel value is directly used for encoding, more bits are required, and the encoded bits cannot be further reduced. cost.
本发明实施例提供一种图像编码方法、装置以及图像处理设备。对于采用非调色 板模式的像素,进一步提高压缩比来减少编码的比特代价。Embodiments of the present invention provide an image encoding method, apparatus, and image processing apparatus. For non-toning The plate mode of the pixel further increases the compression ratio to reduce the bit cost of the encoding.
根据本发明实施例的第一个方面,提供一种图像编码方法,包括:According to a first aspect of the embodiments of the present invention, an image encoding method is provided, including:
对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;Determining a plurality of pixels in the encoded image region to determine a palette mode, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded;
对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定所述采用非调色板模式的像素的编码信息;For a pixel adopting the non-palette mode, determining whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region determines the encoding of the pixel in the non-palette mode. information;
将所述采用非调色板模式的像素所对应的编码信息进行比特流编码。The encoded information corresponding to the pixels in the non-palette mode is bit-stream encoded.
根据本发明实施例的第二个方面,提供一种图像编码装置,包括:According to a second aspect of the embodiments of the present invention, an image encoding apparatus is provided, including:
模式确定单元,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;a mode determining unit, determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded;
编码信息确定单元,对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定所述采用非调色板模式的像素的编码信息;The encoding information determining unit determines, for the pixel adopting the non-palette mode, whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region, and determines the adopting the non-palette The encoded information of the pixels of the pattern;
比特流编码单元,将所述采用非调色板模式的像素所对应的编码信息进行比特流编码。The bit stream encoding unit performs bit stream encoding on the encoding information corresponding to the pixels in the non-palette mode.
根据本发明实施例的第三个方面,提供一种图像处理设备,包括如上所述的图像编码装置。According to a third aspect of the embodiments of the present invention, there is provided an image processing apparatus comprising the image encoding apparatus as described above.
根据本发明实施例的又一个方面,提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如上所述的图像编码方法。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, wherein the computer readable program causes a computer to perform an image encoding method as described above in an image processing apparatus.
本发明实施例的有益效果在于,对于采用非调色板模式的像素,判断像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,根据判断结果来确定进行编码的信息。由此,可以充分利用预测信息和调色板信息来提高采用非调色板模式的像素的压缩比,进一步减少编码的比特代价。An advantageous effect of the embodiment of the present invention is that, for a pixel adopting the non-palette mode, determining whether the pixel value exists in the pre-generated prediction information and the palette information of the encoded image region, and determining the encoding according to the determination result. information. Thereby, the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, further reducing the bit cost of encoding.
参照后文的说明和附图,详细公开了本发明的特定实施方式,指明了本发明的原 理可以被采用的方式。应该理解,本发明的实施方式在范围上并不因而受到限制。在所附权利要求的精神和条款的范围内,本发明的实施方式包括许多改变、修改和等同。Specific embodiments of the present invention are disclosed in detail with reference to the following description and drawings, indicating the The way that can be adopted. 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 another example of a coding unit according to an embodiment of the present invention;
图3是本发明实施例的图像编码方法的一流程示意图;3 is a schematic flow chart of an image encoding method according to an embodiment of the present invention;
图4是本发明实施例的图像编码方法的另一流程示意图;4 is another schematic flowchart of an image encoding method according to an embodiment of the present invention;
图5是本发明实施例的图像编码方法的另一流程示意图;FIG. 5 is another schematic flowchart of an image encoding method according to an embodiment of the present invention; FIG.
图6是本发明实施例的图像编码装置的一示意图;FIG. 6 is a schematic diagram of an image encoding apparatus according to an embodiment of the present invention; FIG.
图7是本发明实施例的图像处理设备的一构成示意图。Fig. 7 is a block diagram showing the configuration of an image processing apparatus according to an 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 of an example of a coding unit according to an embodiment of the present invention, showing a coding unit (CU) Case. 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.
如果采用目前的基于调色板的编码方法,则图1中的C6、C7和C8都被认定为采用非调色板模式(也可以称为escape mode)。以图1中的C6、C7和C8采用非调色板模式,其他像素采用调色板模式为例进行说明。此时调色板Palette={C0、C1、C2、C3、C4、C5},该调色板中具有6个元素,因此像素索引可以使用3个比特表示。If the current palette-based encoding method is employed, then C6, C7, and C8 in Figure 1 are all considered to be in a non-palette mode (which may also be referred to as an escape mode). The non-palette mode is adopted for C6, C7, and C8 in FIG. 1, and the other pixels are illustrated by using the palette mode as an example. At this time, the palette Palette={C0, C1, C2, C3, C4, C5} has 6 elements in the palette, so the pixel index can be represented by 3 bits.
图2是本发明实施例的编码单元的另一实例示意图,示出了图1的编码单元采用Palette后的索引情况。如图2所示,像素值C0在调色板中的索引为0,像素值C1在调色板中的索引为1,像素值C2在调色板中的索引为2,像素值C3在调色板中的索引为3,像素值C4在调色板中的索引为4,像素值C5在调色板中的索引为5。对于C6、C7和C8没有相应的索引值。FIG. 2 is a schematic diagram of another example of a coding unit according to an embodiment of the present invention, showing an index situation after the coding unit of FIG. 1 adopts a Palette. As shown in FIG. 2, the index of the pixel value C0 in the palette is 0, the index of the pixel value C1 in the palette is 1, the index of the pixel value C2 in the palette is 2, and the pixel value C3 is adjusted. The index in the swatch is 3, the index of the pixel value C4 in the palette is 4, and the index of the pixel value C5 in the palette is 5. There is no corresponding index value for C6, C7 and C8.
此时,如果每个像素具有多个颜色分量(例如y,Cb,Cr),而每个颜色分量值采用8比特表示,则在采用目前的调色板模式和非调色板模式结合的方案时,对于采用非调色板模式的像素C6、C7和C8,比特流编码所需要的比特数为:3*8*3=72比特。由此需要较多的比特数,不能进一步提高压缩比。At this time, if each pixel has a plurality of color components (for example, y, Cb, Cr) and each color component value is represented by 8 bits, a scheme combining the current palette mode and the non-palette mode is adopted. At the time, for the pixels C6, C7, and C8 using the non-palette mode, the number of bits required for bit stream encoding is: 3*8*3=72 bits. Therefore, a larger number of bits is required, and the compression ratio cannot be further increased.
针对上述技术问题,以下对本发明实施例进行详细说明。In view of the above technical problems, the embodiments of the present invention will be described in detail below.
实施例1Example 1
本发明实施例提供一种基于调色板的图像编码方法,图3是本发明实施例的图像编码方法的一流程示意图。如图3所示,所述编码方法包括:An embodiment of the present invention provides a method for encoding an image based on a palette, and FIG. 3 is a schematic flowchart of an image encoding method according to an embodiment of the present invention. As shown in FIG. 3, the encoding method includes:
步骤301,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;Step 301: determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-pal palette mode for the other one or more pixels in the image region to be encoded;
步骤302,对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定采用非调色板模式的像素的编码信息;Step 302: For pixels adopting the non-palette mode, determining whether pixels of the non-palette mode are used according to whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region. Coded information;
步骤303,将采用非调色板模式的像素所对应的编码信息进行比特流编码。Step 303: Perform bitstream encoding on the coding information corresponding to the pixels in the non-palette mode.
在本实施例中,所述待编码图像区域可以为一当前编码单元(CU)或当前最大编码单元(LCU,Largest Coding Unit)。其中,预测信息可以是预先生成的预测表,该预测表包括像素索引以及对应的像素值,其中不同像素索引对应不同的像素值。 In this embodiment, the image area to be encoded may be a current coding unit (CU) or a current maximum coding unit (LCU). The prediction information may be a pre-generated prediction table, where the prediction table includes a pixel index and a corresponding pixel value, wherein different pixel indexes correspond to different pixel values.
表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分量。但本发明不限于此,例如还可以使用其他的颜色分量。以下以yCbCr为例进行说明。In this embodiment, each prediction term 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. The following is an example of yCbCr.
表2是本发明实施例的预测表的一个实际例子,示出了本发明实施例的预测信息。如表2所示,该预测表例如可以具有64个预测项,每一预测项通过一个预测索引(例如,0,1,……,63;每个可以采用6比特表示)标识,并且每一个预测项表示一个像素值,该像素值包括多个颜色分量(例如yCbCr)。Table 2 is a practical example of the prediction table of the embodiment of the present invention, showing prediction information of an embodiment of the present invention. As shown in Table 2, the prediction table may have, for example, 64 prediction items, each prediction item being identified by one prediction index (for example, 0, 1, ..., 63; each may be represented by 6 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 ……...... ……...... 6363
yy 118118 120120 122122 112112 218218 ……...... ……...... 220220
CbCb 5050 5050 7878 117117 118118 ……...... ……...... 130130
CrCr 5858 5959 6363 7878 125125 ……...... ……...... 120120
在本实施例中,预测信息可以被预先生成,例如根据经验值在编码设备侧预先定义;并且在解码设备侧也预先定义。由此,编码侧和解码侧均可以预先获知该预测信息,无需通过比特流对该预测信息进行编码。In the present embodiment, the prediction information may be generated in advance, for example, predefined on the encoding device side based on empirical values; and also predefined on the decoding device side. Thereby, both the encoding side and the decoding side can know the prediction information in advance, and it is not necessary to encode the prediction information by the bit stream.
此外,该预测信息还可以基于被编码的像素信息被更新。例如,在编码侧判断出一像素采用非调色板模式后,将该像素的信息加入预测表中;并且在解码侧也可以进行同样的操作从而生成与编码侧相同的预测信息,同样无需通过比特流对该预测信息进行编码。Furthermore, the prediction information can also be updated based on the encoded pixel information. For example, after the encoding side determines that a pixel adopts the non-palette mode, the information of the pixel is 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 same does not need to pass. The bitstream encodes the prediction information.
在本实施例中,已编码图像区域例如可以是当前CU的前一CU,已编码图像区 域的调色板信息可以包括该前一CU的调色板。该调色板通过比特流被编码,因此在对待编码图像区域(例如当前CU)进行编码或者解码时,编码侧或解码侧均可以预先获知该已编码图像区域(例如前一CU)的调色板信息。In this embodiment, the encoded image area may be, for example, the previous CU of the current CU, the encoded image area. The palette information of the domain may include the palette of the previous CU. The palette is encoded by the bitstream, so when encoding or decoding the image region to be encoded (for example, the current CU), both the encoding side and the decoding side can know the coloring of the encoded image region (for example, the previous CU) in advance. Board information.
表3示出了本发明实施例的一已编码图像区域的调色板信息。如表3所示,该调色板信息例如可以具有8个像素值,每一像素值通过一个像素索引(例如,0,1,……,7;每个像素索引可以采用3比特表示)标识。Table 3 shows palette information for an encoded image area of an embodiment of the present invention. As shown in Table 3, the palette information may have, for example, 8 pixel values, each pixel value being identified by a pixel index (eg, 0, 1, ..., 7; each pixel index may be represented by 3 bits) .
表3table 3
像素索引 Pixel index 00 11 22 33 44 ……...... ……...... 77
像素值Pixel values C7C7 C13C13 C0C0 C12C12 C9C9 ……...... ……...... C14C14
在本实施例中,每一像素值可以包括多个颜色分量。例如,颜色分量可以包括:y分量、Cb分量以及Cr分量;或者颜色分量可以包括:R分量、G分量或者B分量。但本发明不限于此,例如还可以使用其他的颜色分量。以下以yCbCr为例进行说明。In this embodiment, each pixel value 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. The following is an example of yCbCr.
表4是本发明实施例的已编码图像区域的调色板信息的一个实际例子。如表4所示,该调色板信息例如可以具有32个像素值,每一像素值通过一个像素索引(例如,0,1,……,31;每个像素索引可以采用5比特表示)标识,每一像素值包括多个颜色分量(例如yCbCr)。Table 4 is a practical example of palette information of the encoded image area of the embodiment of the present invention. As shown in Table 4, the palette information may have, for example, 32 pixel values, each of which is identified by a pixel index (eg, 0, 1, ..., 31; each pixel index may be represented by 5 bits) Each pixel value includes a plurality of color components (eg, yCbCr).
表4Table 4
像素索引 Pixel index 00 11 22 33 44 ……...... ……...... 3131
yy 9090 120120 120120 125125 218218 ……...... ……...... 222222
CbCb 5050 5050 8080 9090 119119 ……...... ……...... 133133
CrCr 7070 5959 6363 8080 124124 ……...... ……...... 124124
值得注意的是,以上仅示意性示出了本发明的预测信息以及已编码图像区域的调色板信息,但本发明不限于此,还可以根据实际情况确定具体的实施方式。例如可以根据需要确定预测信息的大小以及具体内容。It should be noted that the foregoing only schematically shows the prediction information of the present invention and the palette information of the encoded image region, 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.
在本实施例中,步骤301中具体如何确定哪些像素采用调色板模式,哪些像素采用非调色板模式,可以参考相关技术。例如可以将在CU中仅出现一次的像素确定为 采用非调色板模式等等。In this embodiment, how to determine which pixels adopt the palette mode and which pixels adopt the non-palette mode in step 301 can refer to related technologies. For example, a pixel that appears only once in the CU can be determined as Use non-palette mode and more.
在本实施例中,步骤302中的编码信息可以是该像素的像素值(例如包括多个颜色分量);也可以是该像素的像素值在预测信息中的预测索引,以及标识采用了预测索引的标识位;还可以是该像素的像素值在已编码图像区域的调色板信息中的像素索引,以及标识采用了调色板信息的标识位。具体内容如后所述。In this embodiment, the encoding information in step 302 may be a pixel value of the pixel (for example, including multiple color components); or may be a prediction index of the pixel value of the pixel in the prediction information, and the identifier is used in the prediction index. The flag bit; may also be a pixel index of the pixel value of the pixel in the palette information of the encoded image region, and an identification bit that identifies the palette information. The details will be described later.
图3示出了仅对采用非调色板模式的像素进行处理的情况。图4是本发明实施例的图像编码方法的另一流程示意图,示出了对采用非调色板模式的像素以及采用调色板模式的像素共同进行处理的情况。FIG. 3 shows a case where only pixels in the non-palette mode are processed. 4 is another flow diagram of an image encoding method according to an embodiment of the present invention, showing a case where pixels in a non-palette mode and pixels in a palette mode are processed together.
如图4所示,所述编码方法包括:As shown in FIG. 4, the encoding method includes:
步骤401,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式。Step 401: determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded.
步骤402,确定所述调色板模式所对应的调色板,所述调色板包括多个像素值以及对应的像素索引。Step 402: Determine a color palette corresponding to the palette mode, where the color palette includes a plurality of pixel values and a corresponding pixel index.
步骤403,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引。 Step 403, for pixels adopting the palette mode, determining a corresponding pixel index based on the palette.
关于如何确定调色板模式或非调色板模式,如何确定调色板以及如何处理采用调色板模式的像素,具体内容可以参考相关技术。How to determine the palette mode or non-palette mode, how to determine the color palette and how to deal with the pixels in the palette mode, the specific content can refer to the related technology.
步骤404,对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定采用非调色板模式的像素的编码信息。Step 404: For pixels adopting the non-palette mode, determining whether pixels of the non-palette mode are used according to whether the pixel values of the pixels exist in the pre-generated prediction information and the palette information of the encoded image region. Encoding information.
具体地,对于采用非调色板模式的像素,在所述像素值存在于所述预测信息中的情况下,将相应的标识位以及所述预测信息中的相应预测项所对应的预测索引作为所述编码信息;在所述像素值不存在于所述预测信息中且存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述已编码图像区域的调色板信息中的相应像素值所对应的像素索引作为所述编码信息;在所述像素值不存在于所述预测信息中且不存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述像素值作为所述编码信息。Specifically, for a pixel adopting a non-palette mode, in a case where the pixel value exists in the prediction information, a corresponding flag bit and a prediction index corresponding to a corresponding prediction item in the prediction information are used as The encoding information; in a case where the pixel value is not present in the prediction information and exists in palette information of the encoded image region, a corresponding identification bit and the encoded image region are a pixel index corresponding to a corresponding pixel value in the palette information as the encoding information; wherein the pixel value is not present in the prediction information and is not present in palette information of the encoded image region In the case, the corresponding flag bit and the pixel value are used as the encoding information.
以图1的CU以及表1的预测信息为例,如果采用目前的基于调色板的编码方法,则如前所述,对于采用非调色板模式的像素C6、C7和C8,比特流编码所需要的比特数为:3*8*3=72比特。 Taking the CU of FIG. 1 and the prediction information of Table 1 as an example, if the current palette-based encoding method is adopted, as described above, bitstream encoding is performed for pixels C6, C7, and C8 using the non-palette mode. The number of bits required is: 3*8*3=72 bits.
如果仅采用预测信息进行预测,C6出现在如表1所示的预测信息中,则可以确定将C6对应的预测索引1(采用3比特)以及一个标识位(例如1比特,表示采用预测信息中的预测索引)作为该C6的编码信息。C7没有出现在如表1所示的预测信息中,则可以确定将C7的像素值(采用3*8比特)以及一个标识位(例如0比特,表示直接采用像素值)作为该C7的编码信息。C8出现在预测信息中,则可以确定将C8对应的预测索引4(采用3比特)以及一个标识位(例如1比特,表示采用预测信息中的预测索引)作为该C8的编码信息。If only prediction information is used for prediction, and C6 appears in the prediction information as shown in Table 1, it can be determined that the prediction index 1 corresponding to C6 (using 3 bits) and an identification bit (for example, 1 bit, indicating that the prediction information is used. The prediction index is used as the coding information of the C6. If C7 does not appear in the prediction information as shown in Table 1, it can be determined that the pixel value of C7 (using 3*8 bits) and one flag bit (for example, 0 bits indicating that the pixel value is directly used) are used as the coding information of the C7. . When C8 appears in the prediction information, it is determined that the prediction index 4 (using 3 bits) corresponding to C8 and one flag bit (for example, 1 bit indicating that the prediction index in the prediction information is used) are used as the coding information of the C8.
由此,对于采用非调色板模式的像素C6、C7和C8,比特流编码所需要的比特数为:C6需要(3+1)=4比特,C7需要(3*8+1)=25比特,C8需要(3+1)=4比特。共需要4+25+4=33比特,相对于直接使用像素值的方案降低了72-33=39比特。Thus, for pixels C6, C7, and C8 in the non-palette mode, the number of bits required for bitstream encoding is: C6 requires (3 + 1) = 4 bits, and C7 requires (3 * 8 + 1) = 25 Bit, C8 requires (3 + 1) = 4 bits. A total of 4+25+4=33 bits is required, which is 72-33=39 bits lower than the scheme of directly using pixel values.
而采用本发明实施例的编码方法,C6出现在如表1所示的预测信息中,则可以确定将C6对应的预测索引1(采用3比特)以及一个标识位(例如1比特,表示采用预测信息中的预测索引)作为该C6的编码信息。C8出现在如表1所示的预测信息中,则可以确定将C8对应的预测索引4(采用3比特)以及一个标识位(例如1比特,表示采用预测信息中的预测索引)作为该C8的编码信息。With the coding method of the embodiment of the present invention, if C6 appears in the prediction information as shown in Table 1, it can be determined that the prediction index 1 (using 3 bits) corresponding to C6 and an identifier bit (for example, 1 bit, indicating prediction prediction) The prediction index in the information is used as the coding information of the C6. If C8 appears in the prediction information as shown in Table 1, it can be determined that the prediction index 4 corresponding to C8 (using 3 bits) and one flag bit (for example, 1 bit indicating that the prediction index in the prediction information is used) are used as the C8. Encoding information.
此外,C7没有出现在如表1所示的预测信息中,但是出现在如表3所示的已编码图像区域的调色板信息中,则可以确定将C7对应的像素索引(采用3比特),一个标识位(例如0比特,表示没有采用预测信息中的预测索引)以及另一个标识位(例如1比特,表示采用已编码图像区域的调色板信息中的像素索引)作为该C7的编码信息。Further, C7 does not appear in the prediction information as shown in Table 1, but appears in the palette information of the encoded image area as shown in Table 3, and it is possible to determine the pixel index corresponding to C7 (using 3 bits). , an identification bit (for example, 0 bit, indicating that the prediction index in the prediction information is not used) and another flag bit (for example, 1 bit indicating the pixel index in the palette information of the encoded image region) as the coding of the C7 information.
由此,对于采用非调色板模式的像素C6、C7和C8,比特流编码所需要的比特数为:C6需要(3+1)=4比特,C7需要(3+1+1)=5比特,C8需要(3+1)=4比特。共需要4+5+4=13比特。因此,相对于直接使用像素值的方案降低了72-13=59比特,相对于仅采用预测信息的方案降低了33-13=20比特。由此,本发明实施例利用预测信息和调色板信息,可以进一步提高压缩比。Thus, for pixels C6, C7, and C8 in the non-palette mode, the number of bits required for bitstream encoding is: C6 requires (3 + 1) = 4 bits, and C7 requires (3 + 1 + 1) = 5 Bit, C8 requires (3 + 1) = 4 bits. A total of 4+5+4=13 bits is required. Therefore, 72-13=59 bits are reduced with respect to the scheme of directly using pixel values, and 33-13=20 bits are reduced with respect to the scheme using only prediction information. Thus, the embodiment of the present invention can further improve the compression ratio by using the prediction information and the palette information.
以下通过多个颜色分量的实例对本发明实施例进行进一步说明。The embodiments of the present invention are further described below by way of examples of multiple color components.
在本实施例中,像素值以及预测项可以包括多个颜色分量;对于某一采用非调色板模式的像素,可以先判断是否存在于预测信息中,在不存在于预测信息的情况下再判断是否存在于已编码图像区域的调色板信息中。但本发明并不限于该判断顺序,例 如还可以先判断是否存在于该调色板信息中,再判断是否存在于预测信息中。In this embodiment, the pixel value and the prediction item may include a plurality of color components; for a pixel adopting the non-palette mode, it may first determine whether it exists in the prediction information, and if it does not exist in the prediction information, It is judged whether or not it exists in the palette information of the encoded image area. However, the present invention is not limited to the judgment order, and examples If it is also possible to first determine whether it exists in the palette information, and then determine whether it exists in the prediction information.
以下仅以先判断是否存在于预测信息中,在不存在于预测信息的情况下再判断是否存在于调色板信息中为例进行说明。Hereinafter, it is determined by first determining whether or not it exists in the prediction information, and if it is not present in the palette information, it is described as an example.
在本实施例中,确定采用非调色板模式的像素的编码信息具体可以包括:在所述像素的每个颜色分量分别与所述预测信息中的某一预测项中相应颜色分量相等的情况下,将表示使用所述预测信息的1比特标识位以及所述预测项所对应的预测索引作为所述编码信息;在所述像素的每个颜色分量分别与所述已编码图像区域的调色板信息中的某一像素值中相应颜色分量相等的情况下,将表示不使用所述预测信息的1比特标识位、表示使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素值所对应的像素索引作为所述编码信息;否则,将表示不使用所述预测信息的1比特标识位、表示不使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素的各颜色分量作为所述编码信息。In this embodiment, determining the encoding information of the pixels in the non-palette mode may include: respectively, each color component of the pixel is equal to a corresponding color component of a certain prediction item in the prediction information. Next, a 1-bit flag bit using the prediction information and a prediction index corresponding to the prediction item are used as the encoding information; each color component of the pixel is respectively color-coded with the encoded image region When the corresponding color components of the certain pixel values in the board information are equal, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating palette information using the encoded image region, and a pixel index corresponding to the pixel value as the encoding information; otherwise, a 1-bit flag indicating that the prediction information is not used, and a 1-bit flag indicating palette information not using the encoded image region And each color component of the pixel is used as the encoding information.
以yCbCr,以及采用非调色板模式的像素为像素A,预测信息中的预测项为预测项B,已编码图像区域的调色板信息中的像素值为C为例;本发明实施例判断像素A的y分量与预测项B的y分量是否相等,像素A的Cb分量与预测项B的Cb分量是否相等,以及像素A的Cr分量与预测项B的Cr分量是否相等;在这三个结果均相等的情况下,可以确定像素A的像素值与预测项B相等。Taking yCbCr and the pixel in the non-palette mode as the pixel A, the prediction item in the prediction information is the prediction item B, and the pixel value in the palette information of the coded image area is C; for example, the embodiment of the present invention determines Whether the y component of the pixel A is equal to the y component of the prediction term B, whether the Cb component of the pixel A is equal to the Cb component of the prediction term B, and whether the Cr component of the pixel A is equal to the Cr component of the prediction term B; In the case where the results are all equal, it can be determined that the pixel value of the pixel A is equal to the prediction term B.
或者,本发明实施例判断像素A的y分量与像素值C的y分量是否相等,像素A的Cb分量与像素值C的Cb分量是否相等,以及像素A的Cr分量与像素值C的Cr分量是否相等;在这三个结果均相等的情况下,可以确定像素A的像素值与像素值C相等。Alternatively, the embodiment of the present invention determines whether the y component of the pixel A and the y component of the pixel value C are equal, whether the Cb component of the pixel A is equal to the Cb component of the pixel value C, and the Cr component of the pixel A and the Cr component of the pixel value C. Whether they are equal; in the case where all three results are equal, it can be determined that the pixel value of the pixel A is equal to the pixel value C.
例如,预测信息如上表2所示,具有64个预测项;已编码图像区域的调色板信息如上表4所示,具有32个像素值。而当前CU中的采用非调色板模式的像素有16个,如下表5所示。For example, the prediction information has 64 prediction items as shown in Table 2 above; the palette information of the encoded image area is as shown in Table 4 above, and has 32 pixel values. In the current CU, there are 16 pixels in the non-palette mode, as shown in Table 5 below.
表5table 5
  00 11 22 33 44 ……...... ……...... 1515
yy 119119 120120 122122 115115 218218 ……...... ……...... 222222
CbCb 5050 5050 7878 160160 119119 ……...... ……...... 133133
CrCr 5959 5959 6363 7878 124124 ……...... ……...... 124124
对于采用非调色板模式的上述像素,如果采用目前的基于调色板的编码方法,则比特流编码所需要的比特数为:16*(3*8)=384比特。For the above pixels using the non-palette mode, if the current palette-based encoding method is employed, the number of bits required for bitstream encoding is: 16*(3*8)=384 bits.
如果仅采用预测信息进行预测,每个颜色分量分别与如表2所示的预测信息中的相应颜色分量相等的像素有2个(表5中的索引分别为1、2),则可以确定这2个像素可以采用表2中对应的预测索引1、2(分别采用6比特)以及标识位(例如1比特,表示采用预测信息中的预测索引)作为编码信息。由此,这2个像素需要:2*(1+6)=14比特。If only prediction information is used for prediction, and each color component has two pixels equal to the corresponding color components in the prediction information as shown in Table 2 (the indexes in Table 5 are 1, 2, respectively), it can be determined that The two pixels may use the corresponding prediction indexes 1 and 2 in Table 2 (6 bits respectively) and the identification bits (for example, 1 bit, indicating the prediction index in the prediction information) as the coding information. Thus, the two pixels need to be: 2*(1+6)=14 bits.
而其他的14个像素直接采用像素值以及标识位(例如0比特,表示直接采用像素值)作为编码信息,由此,这14个像素需要:14*(1+3*8)=350比特。共需要14+350=364比特,相对于直接使用像素值的方案降低了384-364=20比特。The other 14 pixels directly use the pixel value and the identification bit (for example, 0 bit, indicating that the pixel value is directly used) as the encoding information, and thus, the 14 pixels need to be: 14*(1+3*8)=350 bits. A total of 14+350=364 bits is required, which is 384-364=20 bits lower than the scheme of directly using pixel values.
而如果采用本发明实施例的编码方法,每个颜色分量分别与如表2所示的预测信息中的相应颜色分量相等的像素有2个(表5中的索引分别为1、2),则可以确定这2个像素可以采用表2中对应的预测索引1、2(分别采用6比特)以及标识位(例如1比特,表示采用预测信息中的预测索引)作为编码信息。由此,这2个像素需要:2*(1+6)=14比特。However, if the encoding method of the embodiment of the present invention has two pixels each having the same color component as the corresponding color component in the prediction information shown in Table 2 (the indexes in Table 5 are 1, 2, respectively), It can be determined that the two pixels can adopt the corresponding prediction indexes 1 and 2 in Table 2 (using 6 bits respectively) and the identification bits (for example, 1 bit, indicating that the prediction index in the prediction information is used) as the coding information. Thus, the two pixels need to be: 2*(1+6)=14 bits.
此外,每个颜色分量分别与如表4所示的已编码图像区域的调色板信息中的相应颜色分量相等的像素有2个(表5中的索引分别为4、15),则可以确定这2个像素可以采用表4中对应的预测索引4、31(分别采用5比特),1比特标识位(例如0比特,表示没有采用预测信息中的预测索引)以及1比特标识位(例如1比特,表示采用已编码图像区域的像素索引)作为编码信息。由此,这2个像素需要:2*(1+1+5)=14比特。Further, each of the color components has two pixels equal to the corresponding color components in the palette information of the encoded image region as shown in Table 4 (the indexes in Table 5 are 4, 15 respectively), and then it can be determined The two pixels may adopt the corresponding prediction indexes 4, 31 in Table 4 (using 5 bits respectively), 1-bit flag bits (for example, 0 bits, indicating that the prediction index in the prediction information is not used) and 1-bit flag bits (for example, 1) The bit, which indicates the pixel index of the encoded image region, is used as the encoded information. Thus, the two pixels need to be: 2*(1+1+5)=14 bits.
而其他的12个像素直接采用像素值,1比特标识位(例如0比特,表示没有采用预测信息中的预测索引)以及1比特标识位(例如0比特,表示没有采用已编码图像区域的像素索引)作为编码信息,由此,这12个像素需要:12*(1+1+3*8)=312比特。The other 12 pixels directly adopt the pixel value, the 1-bit flag (for example, 0 bit, indicating that the prediction index in the prediction information is not used) and the 1-bit flag (for example, 0 bit, indicating that the pixel index of the encoded image region is not used) As the coding information, thus, these 12 pixels need to be: 12*(1+1+3*8)=312 bits.
因此,采用本发明实施例的编码方法共需要14+14+312=340比特,相对于直接使用像素值的方案降低了384-340=44比特,相对于仅采用预测信息的方案降低了364-340=24比特。由此,本发明实施例利用预测信息和调色板信息,可以进一步提高 压缩比。Therefore, the encoding method using the embodiment of the present invention requires a total of 14+14+312=340 bits, which is 384-340=44 bits lower than the scheme of directly using the pixel value, and is reduced by 364- relative to the scheme using only prediction information. 340 = 24 bits. Thus, the embodiment of the present invention can further improve by using prediction information and palette information. Compression ratio.
步骤405,将采用非调色板模式的像素所对应的编码信息进行比特流编码,以及将采用调色板模式的像素所对应的像素索引进行比特流编码。Step 405: Perform bitstream encoding on the encoding information corresponding to the pixels in the non-palette mode, and perform bitstream encoding on the pixel index corresponding to the pixels in the palette mode.
值得注意的是,以上仅对标识位进行了示意性说明,但本发明不限于此。例如,还可以采用00表示使用预测信息中的预测索引,01表示使用调色板信息中的像素索引,1表示直接使用像素值等等。It should be noted that the above is only a schematic description of the identification bits, but the invention is not limited thereto. For example, it is also possible to use 00 to represent the prediction index in the prediction information, 01 to use the pixel index in the palette information, 1 to directly use the pixel value, and the like.
在本实施例中,还可以将当前CU的调色板信息等编入比特流中,具体可以参考相关技术。此外,图4仅示意性地进行了说明,但本发明不限于此,例如还可以根据实际情况改变各个步骤的执行顺序。In this embodiment, the palette information of the current CU and the like may be incorporated into the bit stream, and the related art may be specifically referred to. In addition, FIG. 4 is only schematically illustrated, but the present invention is not limited thereto, and for example, the execution order of each step may be changed according to actual conditions.
在本实施例中,对于一个编码单元中的各个像素,可以在进行扫描时确定各自进行编码的信息。图5是本发明实施例的图像编码方法的另一流程示意图,如图5所示,所述图像编码方法包括:In the present embodiment, for each pixel in one coding unit, information that is encoded separately can be determined at the time of scanning. FIG. 5 is another schematic flowchart of an image encoding method according to an embodiment of the present invention. As shown in FIG. 5, the image encoding method includes:
步骤500,确定CU中各像素的模式以及该CU的调色板; Step 500, determining a mode of each pixel in the CU and a palette of the CU;
步骤501,判断当前像素是否采用非调色板模式;在采用调色板模式的情况下执行步骤507,在采用非调色板模式的情况下执行步骤502; Step 501, it is determined whether the current pixel adopts the non-palette mode; in the case of adopting the palette mode, step 507 is performed, and in the case of adopting the non-palette mode, step 502 is performed;
步骤502,判断当前像素的颜色分量是否分别与某一预测项中的相应颜色分量相等,如果是则执行步骤503,否则执行步骤504; Step 502, it is determined whether the color component of the current pixel is equal to the corresponding color component in a certain prediction item, if yes, step 503 is performed, otherwise step 504 is performed;
步骤503,将相应的标识位以及该预测项所对应的预测索引作为编码信息;Step 503: The corresponding identifier bit and the prediction index corresponding to the prediction item are used as coding information.
步骤504,判断当前像素的颜色分量是否分别与已编码图像区域的调色板信息中某一像素值的相应颜色分量相等,如果是则执行步骤505,否则执行步骤506; Step 504, it is determined whether the color component of the current pixel is equal to the corresponding color component of a certain pixel value in the palette information of the encoded image region, if yes, step 505 is performed, otherwise step 506 is performed;
步骤505,将相应的标识位以及该像素值所对应的像素索引作为编码信息;Step 505: The corresponding identifier bit and the pixel index corresponding to the pixel value are used as encoding information.
步骤506,将相应的标识位以及各颜色分量值作为编码信息;Step 506, using corresponding identifier bits and each color component value as encoding information;
步骤507,基于调色板确定对应的像素索引; Step 507, determining a corresponding pixel index based on the color palette;
步骤508,判断是否还有其他像素,如果是则对于下一像素执行步骤501。In step 508, it is determined whether there are other pixels, and if so, step 501 is performed for the next pixel.
为简单起见,图5中仅示出了确定各像素进行编码的信息的内容,而没有示出比特流编码等其他内容。在确定各像素进行编码的信息之后,可以立即进行比特流编码,也可以在扫描完成后对所有像素进行比特流编码,可以根据实际情况确定编码的时间。For the sake of simplicity, only the content of the information for determining the encoding of each pixel is shown in FIG. 5, and other contents such as bit stream encoding are not shown. After determining the information for encoding each pixel, the bit stream encoding may be performed immediately, or all pixels may be bit stream encoded after the scanning is completed, and the encoding time may be determined according to actual conditions.
由上述实施例可知,对于采用非调色板模式的像素,判断像素值是否存在于预先 生成的预测信息和已编码图像区域的调色板信息中,根据判断结果来确定进行编码的信息。由此,可以充分利用预测信息以及调色板信息来提高采用非调色板模式的像素的压缩比,进一步减少编码的比特代价。It can be seen from the above embodiment that for pixels adopting the non-palette mode, it is determined whether the pixel value exists in advance. In the generated prediction information and the palette information of the encoded image region, the information to be encoded is determined based on the determination result. Thereby, the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, and the bit cost of encoding can be further reduced.
实施例2Example 2
本发明实施例提供一种图像编码装置,对应于实施例1中的图像编码方法,相同的内容不再赘述。An embodiment of the present invention provides an image encoding apparatus, which corresponds to the image encoding method in Embodiment 1, and the same content is not described herein again.
图6是本发明实施例的图像编码装置的一示意图,如图6所示,所述编码装置600包括:模式确定单元601、编码信息确定单元602和比特流编码单元603;FIG. 6 is a schematic diagram of an image encoding apparatus according to an embodiment of the present invention. As shown in FIG. 6, the encoding apparatus 600 includes: a mode determining unit 601, an encoding information determining unit 602, and a bit stream encoding unit 603;
其中,模式确定单元601对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;编码信息确定单元602对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定所述采用非调色板模式的像素的编码信息;比特流编码单元603将所述采用非调色板模式的像素所对应的编码信息进行比特流编码。Wherein, the mode determining unit 601 determines to adopt a palette mode for a plurality of pixels in the image region to be encoded, and determines to adopt a non-pal palette mode for the other one or more pixels in the image region to be encoded; the encoding information determining unit 602. For a pixel adopting the non-palette mode, determining whether the pixel value of the pixel is in the non-palette mode pixel according to whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region. Encoding information; the bit stream encoding unit 603 performs bit stream encoding on the encoding information corresponding to the pixels in the non-palette mode.
如图6所示,所述装置600还可以包括:调色板确定单元604和索引信息确定单元605。其中,调色板确定单元604确定所述调色板模式所对应的调色板,所述调色板包括多个像素值以及对应的像素索引;索引信息确定单元605对于采用调色板模式的像素,基于所述调色板确定对应的像素索引;以及比特流编码单元603还可以用于:将所述采用调色板模式的像素所对应的像素索引进行比特流编码。As shown in FIG. 6, the apparatus 600 may further include: a palette determining unit 604 and an index information determining unit 605. The palette determining unit 604 determines a palette corresponding to the palette mode, the palette includes a plurality of pixel values and corresponding pixel indexes; and the index information determining unit 605 is configured to adopt a palette mode. And determining, by the pixel, a corresponding pixel index; and the bitstream encoding unit 603 is further configured to: perform bitstream encoding on the pixel index corresponding to the pixel in the palette mode.
在本实施例中,预测信息可以包括多个预测项以及对应的预测索引,其中不同的预测索引对应不同的预测项;已编码图像区域的调色板信息包括多个像素值以及对应的像素索引,其中不同的像素索引对应不同的像素值。In this embodiment, the prediction information may include a plurality of prediction items and corresponding prediction indexes, wherein different prediction indexes correspond to different prediction items; the palette information of the encoded image regions includes a plurality of pixel values and corresponding pixel indexes. Where different pixel indices correspond to different pixel values.
其中,编码信息确定单元602可以用于:在所述像素值存在于所述预测信息中的情况下,将相应的标识位以及所述预测信息中的相应预测项所对应的预测索引作为所述编码信息;在所述像素值不存在于所述预测信息中且存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述已编码图像区域的调色板信息中的相应像素值所对应的像素索引作为所述编码信息;在所述像素值不存在于所述预测信息中且不存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及 所述像素值作为所述编码信息。The encoding information determining unit 602 may be configured to: when the pixel value exists in the prediction information, use a corresponding identifier bit and a prediction index corresponding to a corresponding prediction item in the prediction information as the Encoding information; in the case where the pixel value does not exist in the prediction information and exists in palette information of the encoded image region, the corresponding flag bit and the color of the encoded image region a pixel index corresponding to a corresponding pixel value in the board information as the encoding information; in a case where the pixel value does not exist in the prediction information and is not present in palette information of the encoded image area , the corresponding flag and The pixel value is used as the encoded information.
进一步地,每一预测项可以包括多个颜色分量,每一像素值可以包括多个颜色分量。编码信息确定单元602具体可以用于:在所述像素的每个颜色分量分别与所述预测信息中的某一预测项中相应颜色分量相等的情况下,将表示使用所述预测信息的1比特标识位以及所述预测项所对应的预测索引作为所述编码信息;在所述像素的每个颜色分量分别与所述已编码图像区域的调色板信息中的某一像素值中相应颜色分量相等的情况下,将表示不使用所述预测信息的1比特标识位、表示使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素值所对应的像素索引作为所述编码信息;否则,将表示不使用所述预测信息的1比特标识位、表示不使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素的各颜色分量作为所述编码信息。Further, each prediction term may include a plurality of color components, and each pixel value may include a plurality of color components. The encoding information determining unit 602 may be specifically configured to: when each color component of the pixel is equal to a corresponding color component in a certain prediction item in the prediction information, respectively, to represent 1 bit using the prediction information And a prediction index corresponding to the prediction item as the encoding information; each color component of the pixel and a corresponding color component of a certain pixel value in the palette information of the encoded image region In the case of equality, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating palette information using the encoded image region, and a pixel index corresponding to the pixel value are used as the Encoding information; otherwise, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating that the palette information of the encoded image region is not used, and each color component of the pixel are used as the encoding information.
在本实施例中,颜色分量可以包括:y分量、Cb分量以及Cr分量;或者颜色分量可以包括:R分量、G分量或者B分量。但本发明不限于此,例如还可以使用其他的颜色分量。In the present embodiment, 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.
在本实施例中,如图6所示,所述装置600还可以包括:预测信息生成单元606,生成所述预测信息,并且基于被编码的像素信息更新所述预测信息。In this embodiment, as shown in FIG. 6, the apparatus 600 may further include: a prediction information generating unit 606, generating the prediction information, and updating the prediction information based on the encoded pixel information.
在本实施例中,待编码图像区域可以为当前CU,已编码图像区域可以为当前CU的前一CU。但本发明不限于此。In this embodiment, the image area to be encoded may be the current CU, and the encoded image area may be the previous CU of the current CU. However, the invention is not limited thereto.
由上述实施例可知,对于采用非调色板模式的像素,判断像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,根据判断结果来确定进行编码的信息。由此,可以充分利用预测信息和调色板信息来提高采用非调色板模式的像素的压缩比,进一步减少编码的比特代价。As is apparent from the above embodiment, it is determined whether or not the pixel value exists in the pre-generated prediction information and the palette information of the encoded image region in the pixel in the non-palette mode, and the information to be encoded is determined based on the determination result. Thereby, the prediction information and the palette information can be fully utilized to improve the compression ratio of the pixels in the non-palette mode, further reducing the bit cost of encoding.
实施例3Example 3
本发明实施例提供一种图像处理设备,所述图像处理设备包括:如实施例2所述的图像编码装置。An embodiment of the present invention provides an image processing apparatus, where the image processing apparatus includes the image encoding apparatus according to Embodiment 2.
图7是本发明实施例的图像处理设备的一构成示意图。如图7所示,图像处理设备700可以包括:中央处理器(CPU)100和存储器110;存储器110耦合到中央处理器100。其中该存储器110可存储各种数据;此外还存储信息处理的程序,并且在 中央处理器100的控制下执行该程序。Fig. 7 is a block diagram showing the configuration of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 7, the image processing apparatus 700 may include a central processing unit (CPU) 100 and a memory 110; the memory 110 is coupled to the central processing unit 100. Wherein the memory 110 can store various data; in addition, a program for information processing is stored, and This program is executed under the control of the central processing unit 100.
在一个实施方式中,图像编码装置600的功能可以被集成到中央处理器100中。其中,中央处理器100可以被配置为实现如实施例1所述的图像编码方法。In one embodiment, the functionality of image encoding device 600 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.
在另一个实施方式中,图像编码装置600可以与中央处理器分开配置,例如可以将图像编码装置600配置为与中央处理器100连接的芯片,通过中央处理器的控制来实现图像编码装置600的功能。In another embodiment, the image encoding device 600 may be configured separately from the central processing unit. For example, the image encoding device 600 may be configured as a chip connected to the central processing unit 100, and the image encoding device 600 may be implemented by control of the central processing unit. Features.
此外,如图7所示,图像处理设备700还可以包括:输入输出单元120和显示单元130等;其中,上述部件的功能与现有技术类似,此处不再赘述。值得注意的是,图像处理设备700也并不是必须要包括图7中所示的所有部件;此外,图像处理设备700还可以包括图7中没有示出的部件,可以参考现有技术。In addition, as shown in FIG. 7, the image processing apparatus 700 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 are not described herein again. It is to be noted that the image processing apparatus 700 does not necessarily have to include all of the components shown in FIG. 7; in addition, the image processing apparatus 700 may further include components not shown in FIG. 7, and reference may be made to the related art.
在本实施例中,图像处理设备700还可以包括:图像解码装置,该图像解码装置可以相应地进行解码。图像处理设备700可以如上所述地,通过中央处理器100的控制来实现图像解码装置的功能。In the present embodiment, the image processing apparatus 700 may further include: an image decoding device that can perform decoding correspondingly. The image processing apparatus 700 can implement the functions of the image decoding apparatus by the control of the central processing unit 100 as described above.
本发明实施例还提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行实施例1所述的图像编码方法。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 described in Embodiment 1 in the image processing apparatus.
本发明实施例还提供一种存储有计算机可读程序的存储介质,其中所述计算机可读程序使得计算机在图像处理设备中执行实施例1所述的的图像编码方法。An embodiment of the present invention further provides a storage medium storing a computer readable program, wherein the computer readable program causes a computer to execute the image encoding method described in Embodiment 1 in an image processing apparatus.
本发明以上的装置和方法可以由硬件实现,也可以由硬件结合软件实现。本发明涉及这样的计算机可读程序,当该程序被逻辑部件所执行时,能够使该逻辑部件实现上文所述的装置或构成部件,或使该逻辑部件实现上文所述的各种方法或步骤。本发明还涉及用于存储以上程序的存储介质,如硬盘、磁盘、光盘、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 (20)

  1. 一种图像编码方法,所述图像编码方法包括:An image encoding method, the image encoding method comprising:
    对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;Determining a plurality of pixels in the encoded image region to determine a palette mode, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded;
    对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定所述采用非调色板模式的像素的编码信息;For a pixel adopting the non-palette mode, determining whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region determines the encoding of the pixel in the non-palette mode. information;
    将所述采用非调色板模式的像素所对应的编码信息进行比特流编码。The encoded information corresponding to the pixels in the non-palette mode is bit-stream encoded.
  2. 根据权利要求1所述的图像编码方法,其中,所述方法还包括:The image encoding method according to claim 1, wherein the method further comprises:
    确定所述调色板模式所对应的调色板,所述调色板包括多个像素值以及对应的像素索引;Determining a palette corresponding to the palette mode, the palette comprising a plurality of pixel values and a corresponding pixel index;
    对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及For pixels in the palette mode, a corresponding pixel index is determined based on the palette, and
    将所述采用调色板模式的像素所对应的像素索引进行比特流编码。The pixel index corresponding to the pixel in the palette mode is bit stream encoded.
  3. 根据权利要求1所述的图像编码方法,其中,所述预测信息包括多个预测项以及对应的预测索引,其中不同的预测索引对应不同的预测项;The image encoding method according to claim 1, wherein the prediction information includes a plurality of prediction items and a corresponding prediction index, wherein different prediction indexes correspond to different prediction items;
    所述已编码图像区域的调色板信息包括多个像素值以及对应的像素索引,其中不同的像素索引对应不同的像素值。The palette information of the encoded image region includes a plurality of pixel values and corresponding pixel indices, wherein different pixel indices correspond to different pixel values.
  4. 根据权利要求3所述的图像编码方法,其中,确定所述采用非调色板模式的像素的编码信息包括:The image encoding method according to claim 3, wherein the determining the encoding information of the pixels in the non-palette mode comprises:
    在所述像素值存在于所述预测信息中的情况下,将相应的标识位以及所述预测信息中的相应预测项所对应的预测索引作为所述编码信息;In a case where the pixel value exists in the prediction information, a corresponding index bit and a prediction index corresponding to a corresponding prediction item in the prediction information are used as the encoding information;
    在所述像素值不存在于所述预测信息中且存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述已编码图像区域的调色板信息中的相应像素值所对应的像素索引作为所述编码信息;In the case where the pixel value is not present in the prediction information and exists in the palette information of the encoded image region, the corresponding identification bit and the palette information of the encoded image region are a pixel index corresponding to the corresponding pixel value as the encoded information;
    在所述像素值不存在于所述预测信息中且不存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述像素值作为所述编码信息。In the case where the pixel value does not exist in the prediction information and does not exist in the palette information of the encoded image region, the corresponding flag bit and the pixel value are used as the encoding information.
  5. 根据权利要求3所述的图像编码方法,其中,每一所述预测项包括多个颜色分量,每一所述像素值包括多个颜色分量。 The image encoding method according to claim 3, wherein each of said prediction items includes a plurality of color components, each of said pixel values including a plurality of color components.
  6. 根据权利要求5所述的图像编码方法,其中,确定所述采用非调色板模式的像素的编码信息包括:The image encoding method according to claim 5, wherein the determining the encoding information of the pixels in the non-palette mode comprises:
    在所述像素的每个颜色分量分别与所述预测信息中的某一预测项的相应颜色分量相等的情况下,将表示使用所述预测信息的1比特标识位以及所述预测项所对应的预测索引作为所述编码信息;In a case where each color component of the pixel is respectively equal to a corresponding color component of a certain prediction item in the prediction information, a 1-bit flag indicating use of the prediction information and a corresponding one of the prediction items are indicated Predicting an index as the encoded information;
    在所述像素的每个颜色分量分别与所述已编码图像区域的调色板信息中的某一像素值的相应颜色分量相等的情况下,将表示不使用所述预测信息的1比特标识位、表示使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素值所对应的像素索引作为所述编码信息;In the case where each color component of the pixel is respectively equal to a corresponding color component of a certain pixel value in the palette information of the encoded image region, a 1-bit flag indicating that the prediction information is not used will be indicated a 1-bit flag indicating the palette information of the encoded image region and a pixel index corresponding to the pixel value as the encoding information;
    否则,将表示不使用所述预测信息的1比特标识位、表示不使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素的各颜色分量作为所述编码信息。Otherwise, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating that the palette information of the encoded image region is not used, and each color component of the pixel are used as the encoding information.
  7. 根据权利要求6所述的图像编码方法,其中,所述颜色分量包括:y分量、Cb分量以及Cr分量;The image encoding method according to claim 6, wherein the color component comprises: a y component, a Cb component, and a Cr component;
    或者包括:R分量、G分量或者B分量。Or include: R component, G component, or B component.
  8. 根据权利要求1所述的图像编码方法,其中,所述预测信息被预先生成,并且基于被编码的像素信息被更新。The image encoding method according to claim 1, wherein the prediction information is generated in advance and updated based on the encoded pixel information.
  9. 根据权利要求1所述的图像编码方法,其中,所述待编码图像区域为当前编码单元,所述已编码图像区域为所述当前编码单元的前一编码单元。The image encoding method according to claim 1, wherein the image area to be encoded is a current encoding unit, and the encoded image area is a previous encoding unit of the current encoding unit.
  10. 一种图像编码装置,所述图像编码装置包括:An image encoding device, the image encoding device comprising:
    模式确定单元,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;a mode determining unit, determining, by using a palette mode, a plurality of pixels in the image region to be encoded, and determining to adopt a non-palette mode for the other one or more pixels in the image region to be encoded;
    编码信息确定单元,对于采用非调色板模式的像素,根据所述像素的像素值是否存在于预先生成的预测信息和已编码图像区域的调色板信息中,确定所述采用非调色板模式的像素的编码信息;The encoding information determining unit determines, for the pixel adopting the non-palette mode, whether the pixel value of the pixel exists in the pre-generated prediction information and the palette information of the encoded image region, and determines the adopting the non-palette The encoded information of the pixels of the pattern;
    比特流编码单元,将所述采用非调色板模式的像素所对应的编码信息进行比特流编码。The bit stream encoding unit performs bit stream encoding on the encoding information corresponding to the pixels in the non-palette mode.
  11. 根据权利要求10所述的图像编码装置,其中,所述装置还包括:The image encoding device according to claim 10, wherein the device further comprises:
    调色板确定单元,确定所述调色板模式所对应的调色板,所述调色板包括多个像素值以及对应的像素索引; a palette determining unit, determining a palette corresponding to the palette mode, the palette comprising a plurality of pixel values and a corresponding pixel index;
    索引信息确定单元,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及An index information determining unit, for a pixel adopting a palette mode, determining a corresponding pixel index based on the palette, and
    所述比特流编码单元还用于将所述采用调色板模式的像素所对应的像素索引进行比特流编码。The bitstream encoding unit is further configured to perform bitstream encoding on the pixel index corresponding to the pixel in the palette mode.
  12. 根据权利要求10所述的图像编码装置,其中,所述预测信息包括多个预测项以及对应的预测索引,其中不同的预测索引对应不同的预测项;The image encoding apparatus according to claim 10, wherein the prediction information includes a plurality of prediction items and a corresponding prediction index, wherein different prediction indexes correspond to different prediction items;
    所述已编码图像区域的调色板信息包括多个像素值以及对应的像素索引,其中不同的像素索引对应不同的像素值。The palette information of the encoded image region includes a plurality of pixel values and corresponding pixel indices, wherein different pixel indices correspond to different pixel values.
  13. 根据权利要求12所述的图像编码装置,其中,所述编码信息确定单元用于:The image encoding device according to claim 12, wherein said encoding information determining unit is configured to:
    在所述像素值存在于所述预测信息中的情况下,将相应的标识位以及所述预测信息中的相应预测项所对应的预测索引作为所述编码信息;In a case where the pixel value exists in the prediction information, a corresponding index bit and a prediction index corresponding to a corresponding prediction item in the prediction information are used as the encoding information;
    在所述像素值不存在于所述预测信息中且存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述已编码图像区域的调色板信息中的相应像素值所对应的像素索引作为所述编码信息;In the case where the pixel value is not present in the prediction information and exists in the palette information of the encoded image region, the corresponding identification bit and the palette information of the encoded image region are a pixel index corresponding to the corresponding pixel value as the encoded information;
    在所述像素值不存在于所述预测信息中且不存在于所述已编码图像区域的调色板信息中的情况下,将相应的标识位以及所述像素值作为所述编码信息。In the case where the pixel value does not exist in the prediction information and does not exist in the palette information of the encoded image region, the corresponding flag bit and the pixel value are used as the encoding information.
  14. 根据权利要求12所述的图像编码装置,其中,每一所述预测项包括多个颜色分量,每一所述像素值包括多个颜色分量。The image encoding device according to claim 12, wherein each of said prediction items includes a plurality of color components, each of said pixel values including a plurality of color components.
  15. 根据权利要求14所述的图像编码装置,其中,所述编码信息确定单元用于:The image encoding device according to claim 14, wherein the encoding information determining unit is configured to:
    在所述像素的每个颜色分量分别与所述预测信息中的某一预测项中相应颜色分量相等的情况下,将表示使用所述预测信息的1比特标识位以及所述预测项所对应的预测索引作为所述编码信息;In a case where each color component of the pixel is respectively equal to a corresponding color component in a certain prediction item in the prediction information, a 1-bit flag indicating the use of the prediction information and a corresponding one of the prediction items are indicated Predicting an index as the encoded information;
    在所述像素的每个颜色分量分别与所述已编码图像区域的调色板信息中的某一像素值中相应颜色分量相等的情况下,将表示不使用所述预测信息的1比特标识位、表示使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素值所对应的像素索引作为所述编码信息;In a case where each color component of the pixel is respectively equal to a corresponding color component of a certain pixel value in the palette information of the encoded image region, a 1-bit flag indicating that the prediction information is not used will be indicated a 1-bit flag indicating the palette information of the encoded image region and a pixel index corresponding to the pixel value as the encoding information;
    否则,将表示不使用所述预测信息的1比特标识位、表示不使用所述已编码图像区域的调色板信息的1比特标识位以及所述像素的各颜色分量作为所述编码信息。Otherwise, a 1-bit flag indicating that the prediction information is not used, a 1-bit flag indicating that the palette information of the encoded image region is not used, and each color component of the pixel are used as the encoding information.
  16. 根据权利要求15所述的图像编码装置,其中,所述颜色分量包括:y分量、 Cb分量以及Cr分量;The image encoding device according to claim 15, wherein said color component comprises: a y component, Cb component and Cr component;
    或者包括:R分量、G分量或者B分量。Or include: R component, G component, or B component.
  17. 根据权利要求10所述的图像编码装置,其中,所述装置还包括:The image encoding device according to claim 10, wherein the device further comprises:
    预测信息生成单元,生成所述预测信息,并且基于被编码的像素信息更新所述预测信息。The prediction information generating unit generates the prediction information, and updates the prediction information based on the encoded pixel information.
  18. 根据权利要求10所述的图像编码装置,其中,所述待编码图像区域为当前编码单元,所述已编码图像区域为所述当前编码单元的前一编码单元。The image encoding apparatus according to claim 10, wherein the image area to be encoded is a current encoding unit, and the encoded image area is a previous encoding unit of the current encoding unit.
  19. 一种图像处理设备,所述图像处理设备包括:如权利要求10至18任一项所述的图像编码装置。An image processing apparatus comprising: the image encoding apparatus according to any one of claims 10 to 18.
  20. 根据权利要求19所述的图像处理设备,其中,所述图像处理设备还包括:The image processing device according to claim 19, wherein the image processing device further comprises:
    解码装置,对比特流进行解码以获得图像。 A decoding device that decodes the bitstream to obtain an image.
PCT/CN2014/087503 2014-09-26 2014-09-26 Image coding method and apparatus and image processing device WO2016045077A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/087503 WO2016045077A1 (en) 2014-09-26 2014-09-26 Image coding method and apparatus and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/087503 WO2016045077A1 (en) 2014-09-26 2014-09-26 Image coding method and apparatus and image processing device

Publications (1)

Publication Number Publication Date
WO2016045077A1 true WO2016045077A1 (en) 2016-03-31

Family

ID=55580124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087503 WO2016045077A1 (en) 2014-09-26 2014-09-26 Image coding method and apparatus and image processing device

Country Status (1)

Country Link
WO (1) WO2016045077A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716998A (en) * 2004-06-14 2006-01-04 奥林巴斯株式会社 Picture compressor and picture reproducer
CN101246731A (en) * 2006-10-02 2008-08-20 索尼株式会社 Reproduction apparatus, display control method and display control program
CN101340587A (en) * 2007-07-05 2009-01-07 联发科技股份有限公司 Method for encoding input image, method and apparatus for displaying an encoded image
US20110110416A1 (en) * 2009-11-12 2011-05-12 Bally Gaming, Inc. Video Codec System and Method
CN102523367A (en) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 Real-time image compression and reduction method based on plurality of palettes
CN104012097A (en) * 2011-12-20 2014-08-27 想象技术有限公司 Method and apparatus for compressing and decompressing data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1716998A (en) * 2004-06-14 2006-01-04 奥林巴斯株式会社 Picture compressor and picture reproducer
CN101246731A (en) * 2006-10-02 2008-08-20 索尼株式会社 Reproduction apparatus, display control method and display control program
CN101340587A (en) * 2007-07-05 2009-01-07 联发科技股份有限公司 Method for encoding input image, method and apparatus for displaying an encoded image
US20110110416A1 (en) * 2009-11-12 2011-05-12 Bally Gaming, Inc. Video Codec System and Method
CN104012097A (en) * 2011-12-20 2014-08-27 想象技术有限公司 Method and apparatus for compressing and decompressing data
CN102523367A (en) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 Real-time image compression and reduction method based on plurality of palettes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIN, TONY ET AL.: "Compound Image Compression for Real-Time Computer Screen Image Transmission", IEEE TRANSACTIONS ON IMAGE PROCESSING, vol. 14, no. 8, 1 August 2005 (2005-08-01), XP011136219, DOI: doi:10.1109/TIP.2005.849776 *

Similar Documents

Publication Publication Date Title
JP6703032B2 (en) Backward compatibility extended image format
TW201448571A (en) Adaptive filtering mechanism to remove encoding artifacts in video data
US11302036B2 (en) Color conversion between color spaces using reduced dimension embeddings
JP2014099904A5 (en)
TW201926993A (en) Video decoding apparatus and video decoding method
WO2017063168A1 (en) Image coding method and apparatus, and image processing device
TWI505717B (en) Joint scalar embedded graphics coding for color images
US11051080B2 (en) Method for improving video resolution and video quality, encoder, and decoder
US20220004857A1 (en) Neural network processing apparatus, neural network processing method, and neural network processing program
US9749638B1 (en) Method and apparatus for encoding video with dynamic quality improvement
WO2016045077A1 (en) Image coding method and apparatus and image processing device
WO2016106555A1 (en) Image coding method and apparatus and image processing device
WO2016106554A1 (en) Image coding method and apparatus and image processing device
WO2016192053A1 (en) Copy information coding method and apparatus, and image processing device
WO2016106553A1 (en) Image coding method and apparatus and image processing device
WO2016119196A1 (en) Image coding method, apparatus, and image processing device
WO2016197317A1 (en) Copy information encoding and decoding method and apparatus, and image processing device
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
WO2016197312A1 (en) Method and apparatus for encoding pixel index and image processing device
WO2016029419A1 (en) Image encoding method and device, and image processing device
CN111131857A (en) Image compression method and device and electronic equipment
WO2016033791A1 (en) Generating method and apparatus for palette, and image processing device
WO2015192340A1 (en) Palette-based image coding method, device and image processing device
WO2016029420A1 (en) Palette-based 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: 14902485

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

Country of ref document: EP

Kind code of ref document: A1