WO2016106554A1 - 图像编码方法、装置以及图像处理设备 - Google Patents

图像编码方法、装置以及图像处理设备 Download PDF

Info

Publication number
WO2016106554A1
WO2016106554A1 PCT/CN2014/095547 CN2014095547W WO2016106554A1 WO 2016106554 A1 WO2016106554 A1 WO 2016106554A1 CN 2014095547 W CN2014095547 W CN 2014095547W WO 2016106554 A1 WO2016106554 A1 WO 2016106554A1
Authority
WO
WIPO (PCT)
Prior art keywords
pixel
palette mode
palette
information
pixels
Prior art date
Application number
PCT/CN2014/095547
Other languages
English (en)
French (fr)
Inventor
叶姜莉
付轩
朱建清
王争
徐张磊
Original Assignee
富士通株式会社
叶姜莉
付轩
朱建清
王争
徐张磊
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 富士通株式会社, 叶姜莉, 付轩, 朱建清, 王争, 徐张磊 filed Critical 富士通株式会社
Priority to PCT/CN2014/095547 priority Critical patent/WO2016106554A1/zh
Publication of WO2016106554A1 publication Critical patent/WO2016106554A1/zh

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.
  • a scheme using a non-palette mode for example, an escape mode
  • the pixel value of the pixel may be directly used for encoding; or the pixel may be further predicted, and the pixel is not toned.
  • the prediction index in the board prediction table (which may be called an escape predictor table) and the corresponding flag are encoded.
  • Embodiments of the present invention provide an image encoding method, apparatus, and image processing apparatus.
  • the compression ratio is further increased to reduce the bit cost of encoding.
  • an image encoding method including:
  • the reuse identifier bit information, and the positional information of the pixels in the non-palette mode that can be predicted using the non-palette mode are bit-stream encoded.
  • an image encoding apparatus including:
  • the encoding mode determining unit determines that a palette mode is adopted for the plurality of pixels in the image region to be encoded, and determines that the non-pal palette mode is adopted for the other one or more pixels in the image region to be encoded;
  • Reusing the information determining unit determining, according to whether the pixel value of the pixel adopting the non-palette mode exists in the non-pal palette prediction information, determining the reuse identifier bit information of the pixel adopting the non-palette mode;
  • a position information determining unit for a pixel adopting a non-palette mode, determining a position of the pixel in the image to be encoded that can be predicted using the non-palette mode in the pixel in the non-palette mode information;
  • the bitstream encoding unit performs bitstream encoding on the reused identification bit information and the positional information in the non-palette mode pixel in the non-palette mode pixel that can be predicted.
  • 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 an embodiment of the present invention is that reusable flag information of pixels adopting a non-palette mode, and pixels that can be predicted to adopt a non-palette mode are used in the pixels adopting the non-palette mode
  • the position information is encoded; thus, even in the case where the non-palette prediction table is relatively large, pixels in the non-palette mode can be encoded using fewer bits, 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 showing an example of a coding unit according to an embodiment of the present invention, showing a case of a coding unit (CU).
  • the coding unit has 8 ⁇ 8 pixels; pixels having the same pixel value use the same symbol to represent pixel values, such as C0, C1, ..., C8.
  • C6, C7, and C8 in FIG. 1 can be considered to adopt a non-palette mode (which can also be called 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.
  • pixels in a non-palette mode can be predicted. If a pixel value of a non-palette mode pixel is in a pre-generated non-palette prediction table, the pixel can be used.
  • the bitstream encoding is performed on the index in the non-pal palette prediction table and the corresponding flag bit; if not in the non-palette prediction table, the pixel value and the corresponding flag bit may be encoded.
  • each index that can be predicted to be encoded using non-palette mode pixels requires 6 bits, which is cost in some scenarios. bigger.
  • the embodiments of the present invention are described in detail below.
  • 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 Determine, according to whether the pixel value of the pixel adopting the non-palette mode exists in the non-palette prediction information, determining the reuse identifier information of the pixel adopting the non-palette mode;
  • Step 303 determining, for pixels adopting the non-palette mode, position information of the pixels in the non-palette mode that can be predicted in the image region to be encoded in the pixels in the non-palette mode;
  • Step 304 Perform bitstream encoding on the reuse identifier bit information and the position information in the non-palette mode pixel in the non-palette mode pixel that can be predicted.
  • the to-be-coded image area may be a current coding unit (CU) or a current maximum coding unit (LCU).
  • CU current coding unit
  • LCU current maximum coding unit
  • the pre-generated non-palette prediction information may be used to predict pixels in a non-palette mode, where the prediction information includes a pixel index and a corresponding pixel value, wherein different pixel indexes correspond to different ones. Pixel values. Whether or not the pixel adopting the non-palette mode can be predicted can be determined according to whether or not the pixel value of the pixel in the non-palette mode in the CU to be encoded appears in the prediction information.
  • 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.
  • 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 prediction information may also be palette information of the encoded image area, such as a palette of the previous CU of the current 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.
  • the above is only a schematic representation of the non-palette prediction information of the present invention, 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.
  • sample information (which may be referred to as an escape sample) may be formed according to all pixels in the CU that adopt the non-palette mode.
  • Table 3 shows an information table of pixels in a certain CU that adopt a non-palette mode.
  • the reuse identifier information of the pixel adopting the non-palette mode may be determined according to whether the pixel value of the pixel adopting the non-palette mode exists in the non-palette prediction information; and the reuse identifier is used.
  • the bit information is bit stream encoded.
  • the reuse flag information of the pixel using the non-palette mode is the first value
  • the reuse flag information of the pixel in the non-palette mode is the second value.
  • the first value may be 1, and the second value may be 0.
  • the present invention is not limited thereto, and for example, the first value may also be 0, and accordingly the second value may be 1.
  • the first value is 1 and the second value is 0 as an example.
  • the reused identifier bit information may be bitstream encoded.
  • the encoding of the reused identification bit information may be performed before encoding the prediction flag and/or the prediction index value of the pixel adopting the non-palette mode; and the part of the information may be the same as the identification bit information of the palette.
  • the encoding is done in such a way that the identification bit information of the palette can be reused. Therefore, in terms of hardware implementation, no additional computing circuitry is required.
  • position information of pixels in the non-palette mode that can be predicted in all of the pixels in the non-palette mode can be determined;
  • the pixels in the non-palette mode that can be predicted are subjected to bit stream encoding in the position information in the pixels in the non-palette mode.
  • the index of the non-palette mode pixel that can be predicted in the sample information may be used as the pixel that can be predicted to adopt a non-palette mode.
  • Position information in the pixels in the non-palette mode may be used as shown in Table 3.
  • the indexes of the pixels in the non-palette mode that can be predicted in Table 3 are 1, 2, and 15, respectively, and the 1, 2, 15 instead of the index can be 1,
  • the information of 2, 63 is bit stream encoded.
  • the reused identification bit information, and the positional information in the pixels in the non-palette mode in all of the CUs that can be predicted using the non-palette mode can be bitstream encoded.
  • For pixels that can be predicted to use the non-palette mode only information 1, 2, 15 in Table 5 (which can use 4 bits respectively) instead of the index in Table 2 (using 6 bits) can be used. Encoding, whereby the cost of bit coding can be further reduced.
  • the identifiers that identify the pixels in the non-palette mode can be predicted (eg, using 1 to be predicted), and/or the non-palette mode will be identified.
  • the pixel cannot be predicted by the identified bit (eg, using 0 to indicate that it cannot be predicted) for bitstream encoding.
  • the pixel values can be directly bitstream encoded.
  • a palette corresponding to the palette mode may be determined; for a pixel adopting a palette mode, a corresponding pixel index is determined based on the palette, and the adoption is performed
  • the pixel index corresponding to the pixels of the palette mode is bit stream encoded.
  • any one of the related methods can be adopted.
  • FIG. 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 determining a color palette corresponding to the palette mode.
  • Step 403 Determine, according to whether the pixel value of the pixel adopting the non-palette mode exists in the non-palette prediction information, the reuse identifier information of the pixel adopting the non-palette mode; and use the reuse identifier bit Information Perform bitstream encoding.
  • Step 404 For pixels adopting the palette mode, determine a corresponding pixel index based on the palette, and perform bit stream encoding on the pixel index.
  • the specific content can refer to the related technology.
  • Step 405 For pixels adopting the non-palette mode, bit coding is performed on the coding information corresponding to the pixels in the non-palette mode.
  • the pixels in the non-palette mode are bit-stream encoded in the position information in all pixels in the CU that adopt the non-palette mode; If the pixels of the palette mode cannot be predicted, the pixel values of the pixels in the non-palette mode are bit-stream encoded.
  • a 1-bit flag eg, 1 indicating that it can be predicted
  • the pixel values (using 3*8 bits, that is, including three components, each of which is represented by 8 bits) are directly subjected to bit stream encoding.
  • a 1-bit flag (eg, 0, indicating that it cannot be predicted) can also be bitstream encoded.
  • location information 1, 2, 15 can be jointly coded by using 3 bits, 4 bits and 4 bits, that is, 1 bit can be reduced for the first information.
  • the present invention is not limited thereto, and a specific number of bits may be determined according to actual conditions in a specific implementation.
  • 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 501 Determine a mode of each pixel in the CU and a palette of the CU.
  • Step 502 Determine reuse identifier information of pixels in the non-palette mode.
  • step 503 it is judged 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 504 is performed.
  • Step 504 Determine whether the pixel value of the current pixel is in the non-palette prediction information, if yes, execute step 505, otherwise perform step 506.
  • Step 505 the position information of the pixel in all pixels adopting the non-palette mode is used as the encoding information; in addition, the corresponding identification bit may be bit-stream encoded, which may be determined according to actual needs.
  • Step 506 the pixel value of the pixel is used as the encoding information; in addition, the corresponding identifier bit may be bit-stream encoded, which may be determined according to actual needs.
  • Step 507 determining a corresponding pixel index based on the color palette, and using the pixel index as the encoding information.
  • step 508 it is determined whether there are other pixels, and if so, step 503 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 reused identifier information of the pixels in the non-palette mode and the positional information in the pixels in the non-palette mode that can be predicted using the non-palette mode are encoded;
  • the non-palette prediction table is relatively large, pixels in the non-palette mode can be encoded using fewer bits, further reducing the bit cost of encoding.
  • 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. As shown in FIG. 6, the encoding apparatus 600 includes:
  • the encoding mode determining unit 601 determines that a palette mode is adopted for a plurality of pixels in the image region to be encoded, and determines that a non-pal palette mode is adopted for the other one or more pixels in the image region to be encoded;
  • the reuse information determining unit 602 determines, according to whether the pixel value of the pixel adopting the non-palette mode exists in the non-palette prediction information, the reuse identifier information of the pixel adopting the non-palette mode;
  • the location information determining unit 603 determines the image area to be encoded for pixels adopting the non-palette mode. Position information of pixels in the domain that can be predicted to adopt a non-palette mode in the pixels in the non-palette mode;
  • the bitstream encoding unit 604 performs bitstream encoding on the reused identification bit information and the positional information in the pixels in the non-palette mode that can be predicted using the non-palette mode.
  • the image encoding device 600 may further include:
  • the sample information determining unit 605 is configured to form sample information by using pixels in the non-palette mode in the image to be encoded region;
  • the location information determining unit 603 may be specifically configured to: use, as the predictable pixel in the non-palette mode, the index of the pixel that can be predicted in the non-palette mode in the sample information. Position information in the pixels in the non-palette mode.
  • the bitstream encoding unit 604 may be further configured to: identify an identifier of a pixel in a non-palette mode that can be predicted, and/or use a non-toner to identify the identifier that cannot be predicted.
  • the bit of the pixel of the board mode is bit stream encoded.
  • the reuse information determining unit 602 may be specifically configured to: if the pixel value of the pixel adopting the non-palette mode exists in the non-pal palette prediction information, The reused identification bit information of the pixels of the palette mode is determined to be the first value; in the case where the pixel value of the pixel adopting the non-palette mode is not present in the non-palette prediction information, the adoption is not The reuse flag information of the pixels of the palette mode is determined to be the second value.
  • the first value may be 1, and the second value may be 0, but the invention is not limited thereto.
  • bitstream encoding unit 604 is further configured to: perform bitstream encoding on pixel values of pixels that are not predictable and adopt non-palette mode.
  • the image encoding apparatus 600 may further include:
  • a palette determining unit 606 determining a palette corresponding to the palette mode
  • a pixel index determining unit 607 for a pixel adopting a palette mode, determining a corresponding pixel index based on the color palette, and
  • the bitstream encoding unit 604 is further configured to: perform bitstream encoding on a pixel index corresponding to the pixel in the palette mode.
  • the non-palette prediction information may be generated in advance and updated based on the encoded pixel information.
  • the reused identifier information of the pixels in the non-palette mode and the positional information in the pixels in the non-palette mode that can be predicted using the non-palette mode are encoded;
  • the non-palette prediction table is relatively large, pixels in the non-palette mode can be encoded using fewer bits, 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 the 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

一种图像编码方法、装置以及图像处理设备。所述图像编码方法包括:对待编码图像区域中的多个像素确定采用调色板模式,以及对其他一个或多个像素确定采用非调色板模式;根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;对于采用非调色板模式的像素,确定能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;将所述重用标识位信息以及所述位置信息进行比特流编码。可以使用较少的比特对采用非调色板模式的像素进行编码,进一步减少编码的比特代价。

Description

图像编码方法、装置以及图像处理设备 技术领域
本发明涉及一种图形图像技术领域,特别涉及一种图像编码方法、装置以及图像处理设备。
背景技术
基于调色板(Palette-based)的编码在图形图像技术(尤其是视频编码技术)中得到了广泛应用。在编码过程中,对于待编码图像区域,例如一个编码单元(CU,coding Unit),包含多个具有色彩值(例如采用RGB模式,具有24比特的真彩色)的像素;为了减少用于存储位图图像的存储容量,通常可以将像素指向调色板的数据索引。在译码过程中,每一输出像素的色彩值可以通过查找具有相应数据索引的调色板来决定。
其中,调色板为一系列像素值(pixel value)的集合,对于像素值位于调色板中的像素,仅需使用该像素值在调色板中对应的像素索引(pixel index)。由此可以仅将调色板以及编码单元中的像素所对应的索引进行比特流编码,可以减少编码的比特代价(bit cost)。
应该注意,上面对技术背景的介绍只是为了方便对本发明的技术方案进行清楚、完整的说明,并方便本领域技术人员的理解而阐述的。不能仅仅因为这些方案在本发明的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。
发明内容
目前,为了进一步提高压缩比,出现了采用非调色板模式(例如escape mode)的方案。其中对于待编码图像区域(例如CU)中的采用非调色板模式的某一像素,可以直接使用该像素的像素值进行编码;或者可以进一步对该像素进行预测,将该像素在非调色板预测表(可称为escape predictor table)中的预测索引以及相应标识位(flag)进行编码。
但是,发明人发现,对于采用非调色板模式的像素,在非调色板预测表比较大的情况下,需要采用较多的比特进行编码,不能进一步减少编码的比特代价。
本发明实施例提供一种图像编码方法、装置以及图像处理设备。对于采用非调色板模式的像素,进一步提高压缩比来减少编码的比特代价。
根据本发明实施例的第一个方面,提供一种图像编码方法,包括:
对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
对于采用非调色板模式的像素,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
根据本发明实施例的第二个方面,提供一种图像编码装置,包括:
编码模式确定单元,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
重用信息确定单元,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
位置信息确定单元,对于采用非调色板模式的像素,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
比特流编码单元,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
根据本发明实施例的第三个方面,提供一种图像处理设备,包括如上所述的图像编码装置。
根据本发明实施例的又一个方面,提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如上所述的图像编码方法。
根据本发明实施例的又一个方面,提供一种存储有计算机可读程序的存储介质,其中所述计算机可读程序使得计算机在图像处理设备中执行如上所述的图像编码方法。
本发明实施例的有益效果在于,将采用非调色板模式的像素的重用标识位信息,以及能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行编码;由此,即使在非调色板预测表比较大的情况下,也可以使用较少的比特对采用非调色板模式的像素进行编码,进一步减少编码的比特代价。
参照后文的说明和附图,详细公开了本发明的特定实施方式,指明了本发明的原理可以被采用的方式。应该理解,本发明的实施方式在范围上并不因而受到限制。在所附权利要求的精神和条款的范围内,本发明的实施方式包括许多改变、修改和等同。
针对一种实施方式描述和/或示出的特征可以以相同或类似的方式在一个或更多个其它实施方式中使用,与其它实施方式中的特征相组合,或替代其它实施方式中的特征。
应该强调,术语“包括/包含”在本文使用时指特征、整件、步骤或组件的存在,但并不排除一个或更多个其它特征、整件、步骤或组件的存在或附加。
附图说明
参照以下的附图可以更好地理解本发明的很多方面。附图中的部件不是成比例绘制的,而只是为了示出本发明的原理。为了便于示出和描述本发明的一些部分,附图中对应部分可能被放大或缩小。
在本发明的一个附图或一种实施方式中描述的元素和特征可以与一个或更多个其它附图或实施方式中示出的元素和特征相结合。此外,在附图中,类似的标号表示几个附图中对应的部件,并可用于指示多于一种实施方式中使用的对应部件。
图1是本发明实施例的编码单元的一实例示意图;
图2是本发明实施例的编码单元的另一实例示意图;
图3是本发明实施例的图像编码方法的一流程示意图;
图4是本发明实施例的图像编码方法的另一流程示意图;
图5是本发明实施例的图像编码方法的另一流程示意图;
图6是本发明实施例的图像编码装置的一示意图;
图7是本发明实施例的图像处理设备的一构成示意图。
具体实施方式
参照附图,通过下面的说明书,本发明的前述以及其它特征将变得明显。在说明书和附图中,具体公开了本发明的特定实施方式,其表明了其中可以采用本发明的原则的部分实施方式,应了解的是,本发明不限于所描述的实施方式,相反,本发明包括落入所附权利要求的范围内的全部修改、变型以及等同物。
图1是本发明实施例的编码单元的一实例示意图,示出了一个编码单元(CU)的情况。如图1所示,该编码单元具有8×8个像素;其中具有相同像素值的像素采用同一符号来表示像素值,例如C0、C1、……、C8。
如果采用基于调色板的编码方法,则图1中的C6、C7和C8可以被认定为采用非调色板模式(也可以称为escape mode)。以图1中的C6、C7和C8采用非调色板模式,其他像素采用调色板模式为例进行说明。此时调色板Palette={C0、C1、C2、C3、C4、C5},该调色板中具有6个元素,因此像素索引可以使用3个比特表示。
图2是本发明实施例的编码单元的另一实例示意图,示出了图1的编码单元采用Palette后的索引情况。如图2所示,像素值C0在调色板中的索引为0,像素值C1在调色板中的索引为1,像素值C2在调色板中的索引为2,像素值C3在调色板中的索引为3,像素值C4在调色板中的索引为4,像素值C5在调色板中的索引为5。对于C6、C7和C8没有相应的索引值。
在某些场景下,可以对采用非调色板模式的像素进行预测,如果某一采用非调色板模式的像素的像素值在预先生成的非调色板预测表中,则可以将该像素在非调色板预测表中的索引以及相应标识位进行比特流编码;如果不在该非调色板预测表中,则可以将该像素值以及相应标识位进行编码。
但是,如果非调色板预测表比较大(例如具有64个像素值),则每个能够被预测的采用非调色板模式的像素进行编码的索引需要6个比特,在某些场景下代价比较大。以下对本发明实施例进行详细说明。
实施例1
本发明实施例提供一种图像编码方法,图3是本发明实施例的图像编码方法的一流程示意图。如图3所示,所述编码方法包括:
步骤301,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
步骤302,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
步骤303,对于采用非调色板模式的像素,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
步骤304,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
在本实施例中,所述待编码图像区域可以为一当前编码单元(CU)或当前最大编码单元(LCU,Largest Coding Unit),以下以CU为例进行说明。关于如何确定采用调色板模式的像素,以及如何确定采用非调色板模式的像素,可以参考相关的任意方法。
其中,可以采用预先生成的非调色板预测信息(例如escape predictor table)对采用非调色板模式的像素进行预测,该预测信息包括像素索引以及对应的像素值,其中不同像素索引对应不同的像素值。可以根据待编码的CU中采用非调色板模式的像素的像素值是否出现在该预测信息中,确定该采用非调色板模式的像素能否被预测。
表1示出了本发明实施例的一预测表。如表1所示,该预测表例如可以具有8个预测项,每一预测项通过一个预测索引(例如,0,1,……,7;每个预测索引可以采用3比特表示)标识,并且每一个预测项表示一个像素值。
表1
预测索引 0 1 2 3 4 …… …… 7
像素值 C9 C6 C0 C12 C8 …… …… C14
在本实施例中,每一预测项可以包括多个颜色分量。例如,颜色分量可以包括:y分量、Cb分量以及Cr分量;或者颜色分量可以包括:R分量、G分量或者B分量。但本发明不限于此,例如还可以使用其他的颜色分量。
以下以yCbCr为例进行说明。
表2是本发明实施例的预测表的一个实际例子,示出了本发明实施例的预测信息。如表2所示,该预测表例如可以具有64个预测项,每一预测项通过一个预测索引(例如,0,1,……,63;每个可以采用6比特表示)标识,并且每一个预测项表示一个像素值,该像素值包括多个颜色分量(例如yCbCr)。
表2
预测索引 0 1 2 3 4 …… …… 63
y 118 120 122 112 218 …… …… 222
Cb 50 50 78 117 118 …… …… 133
Cr 58 59 63 78 125 …… …… 124
在本实施例中,预测信息可以被预先生成,例如根据经验值在编码设备侧预先定义;并且在解码设备侧也预先定义。由此,编码侧和解码侧均可以预先获知该预测信息,无需通过比特流对该预测信息进行编码。并且,该预测信息还可以基于被编码的像素信息被更新。例如,在编码侧判断出一像素采用非调色板模式后,将该像素的信息加入预测表中;并且在解码侧也可以进行同样的操作从而生成与编码侧相同的预测信息,同样无需通过比特流对该预测信息进行编码。
此外,该预测信息还可以是已编码图像区域的调色板信息,例如可以是当前CU的前一CU的调色板。该调色板通过比特流被编码,因此在对待编码图像区域(例如当前CU)进行编码或者解码时,编码侧或解码侧均可以预先获知该已编码图像区域(例如前一CU)的调色板信息。
值得注意的是,以上仅示意性示出了本发明的非调色板预测信息,但本发明不限于此,还可以根据实际情况确定具体的实施方式。例如可以根据需要确定预测信息的大小以及具体内容。
在本实施中,对于采用非调色板模式的像素,可以根据CU中的所有采用非调色板模式的像素形成样本信息(可以称为escape sample)。表3示出了某一CU中采用非调色板模式的像素的信息表。
表3
索引 0 1 2 3 4 …… …… 15
y 119 120 122 115 218 …… …… 222
Cb 50 50 78 160 119 …… …… 133
Cr 59 59 63 78 124 …… …… 124
其中,表3中的第2个像素(index=1)、第3个像素(index=2)以及第16个像 素(index=15)能够被表2所示的非调色板预测信息所预测。
在本实施例中,可以根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定采用非调色板模式的像素的重用标识位信息;并将该重用标识位信息进行比特流编码。
例如,在采用非调色板模式的像素的像素值存在于非调色板预测信息中的情况下,采用非调色板模式的像素的重用标识位信息为第一值;在采用非调色板模式的像素的像素值不存在于非调色板预测信息中的情况下,采用非调色板模式的像素的重用标识位信息为第二值。其中,所述第一值可以为1,所述第二值可以为0。但本发明不限于此,例如第一值也可以为0,相应地第二值可以为1。
以下仅以第一值是1,第二值是0为例进行说明。
表4示出了根据表3和表2所确定的采用非调色板模式的像素的重用标识位信息(也可称为ReusedFlag of escape predictor table)。如表4所示,表2中index=1,2,63的三个像素在重用标识位信息中的ReuseFlag为1,其余采用非调色板模式的像素在重用标识位信息中的ReuseFlag为0。
表4
索引 0 1 2 3 4 …… …… 63
ReuseFlag 0 1 1 0 0 …… …… 1
在本实施例中,可以将该重用标识位信息进行比特流编码。关于该重用标识位信息的编码,可以在对采用非调色板模式的像素的预测标志和/或预测索引值进行编码之前进行;并且这部分信息可以采用与调色板的标识位信息相同的方式进行编码,即可以重用调色板的标识位信息。因此,就硬件实现来说,不需要额外的计算电路。
在本实施例中,对于采用非调色板模式的像素,可以确定能够被预测的采用非调色板模式的像素在所有所述采用非调色板模式的像素中的位置信息;以及将所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
具体地,可以将所述能够被预测的采用非调色板模式的像素在所述样本信息(例如如表3所示)中的索引作为所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息。
表5示出了根据表3和表2所确定的能够被预测的采用非调色板模式的像素(例如3个像素能够被预测)在该CU中所有所述采用非调色板模式的像素(例如共有16个像素采用非调色板模式)中的位置信息。
表5
预测索引 1 2 15
如表5所示,表3中能够被预测的采用非调色板模式的像素在表3中的索引分别为1,2,15,则可以将该1,2,15而不是index为1,2,63的信息进行比特流编码。
由此,可以将重用标识位信息,以及能够被预测的采用非调色板模式的像素在CU中所有采用非调色板模式的像素中的位置信息进行比特流编码。对于能够被预测的采用非调色板模式的像素而言,可以仅采用例如表5中的信息1,2,15(可以分别使用4比特)而不是表2中的索引(使用6比特)进行编码,由此可以进一步减少比特编码的代价。
在本实施例中,还可以将标识所述采用非调色板模式的像素能够被预测的标识位(例如使用1表示能够被预测),和/或将标识所述采用非调色板模式的像素不能够被预测的标识位(例如使用0表示不能被预测)进行比特流编码。
此外,对于不能够被预测的采用非调色板模式的像素,可以直接将像素值进行比特流编码。对于采用调色板模式的像素,可以确定所述调色板模式所对应的调色板;对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及将所述采用调色板模式的像素所对应的像素索引进行比特流编码。在具体实施时,可以采用相关的任意一种方法。
图4是本发明实施例的图像编码方法的另一流程示意图,示出了对采用非调色板模式的像素以及采用调色板模式的像素共同进行处理的情况。
如图4所示,所述编码方法包括:
步骤401,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式。
步骤402,确定所述调色板模式所对应的调色板。
步骤403,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;并将所述重用标识位信息 进行比特流编码。
步骤404,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,并将像素索引进行比特流编码。
关于如何确定调色板模式或非调色板模式,如何确定调色板以及如何处理采用调色板模式的像素,具体内容可以参考相关技术。
步骤405,对于采用非调色板模式的像素,将采用非调色板模式的像素所对应的编码信息进行比特流编码。
其中,如果采用非调色板模式的像素能够被预测,则将该采用非调色板模式的像素在CU中所有采用非调色板模式的像素中的位置信息进行比特流编码;如果采用非调色板模式的像素不能够被预测,则将该采用非调色板模式的像素的像素值进行比特流编码。
例如,对于如表3所示的index=1的像素,可以将位置信息1(可以采用3比特表示)进行比特流编码;对于如表3所示的index=2的像素,可以将位置信息2(采用4比特表示)进行比特流编码;对于如表3所示的index=15的像素,可以将位置信息15(采用4比特表示)进行比特流编码。此外,对于每个能够被预测的像素,还可以将1比特标识位(例如1,表示能够被预测)进行比特流编码。
对于如表3所示的其他13个像素,直接将像素值(采用3*8个比特,即包括三个分量,每个分量采用8比特表示)进行比特流编码。此外,对于每个不能够被预测的像素,还可以将1比特标识位(例如0,表示不能够被预测)进行比特流编码。
值得注意的是,对于以上的位置信息1,2,15由于可以联合进行编码,可以分别采用3比特、4比特和4比特进行编码,即对于第一个信息可以减少1比特。但本发明不限于此,在具体实施时可以根据实际情况确定具体的比特数。
在本实施例中,还可以将当前CU的调色板信息等编入比特流中,具体可以参考相关技术。此外,图4仅示意性地进行了说明,但本发明不限于此,例如还可以根据实际情况改变各个步骤的执行顺序。
在本实施例中,对于一个编码单元中的各个像素,可以在进行扫描时确定各自进行编码的信息。图5是本发明实施例的图像编码方法的另一流程示意图,如图5所示,所述图像编码方法包括:
步骤501,确定CU中各像素的模式以及该CU的调色板。
步骤502,确定采用非调色板模式的像素的重用标识位信息。
步骤503,判断当前像素是否采用非调色板模式;在采用调色板模式的情况下执行步骤507,在采用非调色板模式的情况下执行步骤504。
步骤504,判断当前像素的像素值是否在非调色板预测信息中,如果是则执行步骤505,否则执行步骤506。
步骤505,将该像素在所有采用非调色板模式的像素中的位置信息作为编码信息;此外,还可以将相应标识位进行比特流编码,可以根据实际需要确定。
步骤506,将该像素的像素值作为编码信息;此外,还可以将相应标识位进行比特流编码,可以根据实际需要确定。
步骤507,基于调色板确定对应的像素索引,并将该像素索引作为编码信息。
步骤508,判断是否还有其他像素,如果是则对于下一像素执行步骤503。
为简单起见,图5中仅示出了确定各像素的编码信息的内容,而没有示出比特流编码等其他内容。在确定各像素的编码信息之后,可以立即进行比特流编码,也可以在扫描完成后对所有像素进行比特流编码,可以根据实际情况确定编码的时间。
由上述实施例可知,将采用非调色板模式的像素的重用标识位信息,以及能够被预测的采用非调色板模式的像素在采用非调色板模式的像素中的位置信息进行编码;由此,即使在非调色板预测表比较大的情况下,也可以使用较少的比特对采用非调色板模式的像素进行编码,进一步减少编码的比特代价。
实施例2
本发明实施例提供一种图像编码装置,对应于实施例1中的图像编码方法,相同的内容不再赘述。
图6是本发明实施例的图像编码装置的一示意图,如图6所示,所述编码装置600包括:
编码模式确定单元601,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
重用信息确定单元602,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
位置信息确定单元603,对于采用非调色板模式的像素,确定所述待编码图像区 域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
比特流编码单元604,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
在本实施例中,所述图像编码装置600还可以包括:
样本信息确定单元605,将所述所述待编码图像区域中的采用非调色板模式的像素形成样本信息;
所述位置信息确定单元603具体可以用于:将所述能够被预测的采用非调色板模式的像素在所述样本信息中的索引作为所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息。
在本实施例中,所述比特流编码单元604还可以用于:将标识能够被预测的采用非调色板模式的像素的标识位,和/或将标识不能够被预测的采用非调色板模式的像素的标识位进行比特流编码。
在本实施例中,所述重用信息确定单元602具体可以用于:在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第一值;在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第二值。
其中,第一值可以为1,第二值可以为0,但本发明不限于此。
在本实施例中,所述比特流编码单元604还可以用于:将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
如图6所示,所述图像编码装置600还可以包括:
调色板确定单元606,确定所述调色板模式所对应的调色板;
像素索引确定单元607,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及
所述比特流编码单元604还可以用于:将所述采用调色板模式的像素所对应的像素索引进行比特流编码。
在本实施例中,所述非调色板预测信息可以被预先生成,并且基于被编码的像素信息被更新。
由上述实施例可知,将采用非调色板模式的像素的重用标识位信息,以及能够被预测的采用非调色板模式的像素在采用非调色板模式的像素中的位置信息进行编码;由此,即使在非调色板预测表比较大的情况下,也可以使用较少的比特对采用非调色板模式的像素进行编码,进一步减少编码的比特代价。
实施例3
本发明实施例提供一种图像处理设备,所述图像处理设备包括:如实施例2所述的图像编码装置。
图7是本发明实施例的图像处理设备的一构成示意图。如图7所示,图像处理设备700可以包括:中央处理器(CPU)100和存储器110;存储器110耦合到中央处理器100。其中该存储器110可存储各种数据;此外还存储信息处理的程序,并且在中央处理器100的控制下执行该程序。
在一个实施方式中,图像编码装置600的功能可以被集成到中央处理器100中。其中,中央处理器100可以被配置为实现如实施例1所述的图像编码方法。
在另一个实施方式中,图像编码装置600可以与中央处理器分开配置,例如可以将图像编码装置600配置为与中央处理器100连接的芯片,通过中央处理器的控制来实现图像编码装置600的功能。
此外,如图7所示,图像处理设备700还可以包括:输入输出单元120和显示单元130等;其中,上述部件的功能与现有技术类似,此处不再赘述。值得注意的是,图像处理设备700也并不是必须要包括图7中所示的所有部件;此外,图像处理设备700还可以包括图7中没有示出的部件,可以参考现有技术。
在本实施例中,图像处理设备700还可以包括:图像解码装置,该图像解码装置可以相应地进行解码。图像处理设备700可以如上所述地,通过中央处理器100的控制来实现图像解码装置的功能。
本发明实施例还提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行实施例1所述的图像编码方法。
本发明实施例还提供一种存储有计算机可读程序的存储介质,其中所述计算机可读程序使得计算机在图像处理设备中执行实施例1所述的的图像编码方法。
本发明以上的装置和方法可以由硬件实现,也可以由硬件结合软件实现。本发明涉及这样的计算机可读程序,当该程序被逻辑部件所执行时,能够使该逻辑部件实现上文所述的装置或构成部件,或使该逻辑部件实现上文所述的各种方法或步骤。本发明还涉及用于存储以上程序的存储介质,如硬盘、磁盘、光盘、DVD、flash存储器等。
针对附图中描述的功能方框中的一个或多个和/或功能方框的一个或多个组合,可以实现为用于执行本申请所描述功能的通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件或者其任意适当组合。针对附图描述的功能方框中的一个或多个和/或功能方框的一个或多个组合,还可以实现为计算设备的组合,例如,DSP和微处理器的组合、多个微处理器、与DSP通信结合的一个或多个微处理器或者任何其它这种配置。
以上结合具体的实施方式对本发明进行了描述,但本领域技术人员应该清楚,这些描述都是示例性的,并不是对本发明保护范围的限制。本领域技术人员可以根据本发明的精神和原理对本发明做出各种变型和修改,这些变型和修改也在本发明的范围内。

Claims (17)

  1. 一种图像编码方法,所述图像编码方法包括:
    对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
    根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
    对于采用非调色板模式的像素,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
    将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
  2. 根据权利要求1所述的图像编码方法,其中,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息包括:
    将所述所述待编码图像区域中的采用非调色板模式的像素形成样本信息;
    将所述能够被预测的采用非调色板模式的像素在所述样本信息中的索引作为所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息。
  3. 根据权利要求1所述的图像编码方法,其中,所述方法还包括:将标识能够被预测的采用非调色板模式的像素的标识位,和/或将标识不能够被预测的采用非调色板模式的像素的标识位进行比特流编码。
  4. 根据权利要求1所述的图像编码方法,其中,在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,所述采用非调色板模式的像素的重用标识位信息为第一值,在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,所述采用非调色板模式的像素的重用标识位信息为第二值。
  5. 根据权利要求4所述的图像编码方法,其中,所述第一值为1,所述第二值为0。
  6. 根据权利要求1所述的图像编码方法,其中,所述方法还包括:
    将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
  7. 根据权利要求1所述的图像编码方法,其中,所述方法还包括:
    确定所述调色板模式所对应的调色板;
    对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及
    将所述采用调色板模式的像素所对应的像素索引进行比特流编码。
  8. 根据权利要求1所述的图像编码方法,其中,所述非调色板预测信息被预先生成,并且基于被编码的像素信息被更新。
  9. 一种图像编码装置,所述图像编码装置包括:
    编码模式确定单元,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
    重用信息确定单元,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
    位置信息确定单元,对于采用非调色板模式的像素,确定所述待编码图像区域中的能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息;
    比特流编码单元,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息进行比特流编码。
  10. 根据权利要求9所述的图像编码装置,其中,所述图像编码装置还包括:
    样本信息确定单元,将所述所述待编码图像区域中的采用非调色板模式的像素形成样本信息;
    所述位置信息确定单元用于:将所述能够被预测的采用非调色板模式的像素在所述样本信息中的索引作为所述能够被预测的采用非调色板模式的像素在所述采用非调色板模式的像素中的位置信息。
  11. 根据权利要求9所述的图像编码装置,其中,所述比特流编码单元还用于:将标识能够被预测的采用非调色板模式的像素的标识位,和/或将标识不能够被预测的采用非调色板模式的像素的标识位进行比特流编码。
  12. 根据权利要求9所述的图像编码装置,其中,所述重用信息确定单元用于:在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第一值;在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式 的像素的重用标识位信息确定为第二值。
  13. 根据权利要求9所述的图像编码装置,其中,所述比特流编码单元还用于:将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
  14. 根据权利要求9所述的图像编码装置,其中,所述装置还包括:
    调色板确定单元,确定所述调色板模式所对应的调色板;
    像素索引确定单元,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及
    所述比特流编码单元还用于:将所述采用调色板模式的像素所对应的像素索引进行比特流编码。
  15. 根据权利要求9所述的图像编码装置,其中,所述非调色板预测信息被预先生成,并且基于被编码的像素信息被更新。
  16. 一种图像处理设备,所述图像处理设备包括:如权利要求9所述的图像编码装置。
  17. 根据权利要求16所述的图像处理设备,其中,所述图像处理设备还包括:
    解码装置,对比特流进行解码以获得图像。
PCT/CN2014/095547 2014-12-30 2014-12-30 图像编码方法、装置以及图像处理设备 WO2016106554A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095547 WO2016106554A1 (zh) 2014-12-30 2014-12-30 图像编码方法、装置以及图像处理设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/095547 WO2016106554A1 (zh) 2014-12-30 2014-12-30 图像编码方法、装置以及图像处理设备

Publications (1)

Publication Number Publication Date
WO2016106554A1 true WO2016106554A1 (zh) 2016-07-07

Family

ID=56283838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095547 WO2016106554A1 (zh) 2014-12-30 2014-12-30 图像编码方法、装置以及图像处理设备

Country Status (1)

Country Link
WO (1) WO2016106554A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452397A (zh) * 2002-04-19 2003-10-29 精工爱普生株式会社 利用基数近似或利用差分码和转义码的帧压缩
CN101141637A (zh) * 2006-09-08 2008-03-12 上海尚茂电子技术有限公司 移动设备用静态影像压缩方法
CN102075752A (zh) * 2011-01-11 2011-05-25 北京北纬点易信息技术有限公司 嵌入式系统的图像编码、解码方法和装置
CN102523367A (zh) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 基于多调色板的实时图像压缩和还原方法
US8599214B1 (en) * 2009-03-20 2013-12-03 Teradici Corporation Image compression method using dynamic color index
CN104023235A (zh) * 2013-02-28 2014-09-03 美国博通公司 图像编码中的索引颜色历史

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452397A (zh) * 2002-04-19 2003-10-29 精工爱普生株式会社 利用基数近似或利用差分码和转义码的帧压缩
CN101141637A (zh) * 2006-09-08 2008-03-12 上海尚茂电子技术有限公司 移动设备用静态影像压缩方法
US8599214B1 (en) * 2009-03-20 2013-12-03 Teradici Corporation Image compression method using dynamic color index
CN102075752A (zh) * 2011-01-11 2011-05-25 北京北纬点易信息技术有限公司 嵌入式系统的图像编码、解码方法和装置
CN102523367A (zh) * 2011-12-29 2012-06-27 北京创想空间商务通信服务有限公司 基于多调色板的实时图像压缩和还原方法
CN104023235A (zh) * 2013-02-28 2014-09-03 美国博通公司 图像编码中的索引颜色历史

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
XIU, XIAOYU ET AL.: "Description of screen content coding technology proposal by InterDigital", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP3 AND ISO/IEC JTC1/SC29/WG11, 4 April 2014 (2014-04-04) *

Similar Documents

Publication Publication Date Title
JP6149076B2 (ja) イメージ、および、ビデオ符号化のパレットインデックスシグナリングの方法および装置
JP2016521043A5 (zh)
US9807402B2 (en) Method of color palette coding applicable to electronic device and electronic device using the same
JP2016076924A (ja) ビデオ符号化のパルス符号変調、および、パレット符号化の方法
US11302036B2 (en) Color conversion between color spaces using reduced dimension embeddings
JP2014099904A5 (zh)
WO2017063168A1 (zh) 图像编码方法、装置以及图像处理设备
TW201926993A (zh) 視訊解碼裝置及視訊解碼方法
JP2015154363A (ja) 画像処理装置、画像処理方法及び画像形成装置
JP7067655B2 (ja) 画像コーディング装置、画像デコーディング装置、及び画像処理機器
WO2016106554A1 (zh) 图像编码方法、装置以及图像处理设备
US20220004857A1 (en) Neural network processing apparatus, neural network processing method, and neural network processing program
WO2016106555A1 (zh) 图像编码方法、装置以及图像处理设备
WO2016049843A1 (zh) 调色板的编码方法、装置以及图像处理设备
WO2016045077A1 (zh) 图像编码方法、装置以及图像处理设备
WO2016106553A1 (zh) 图像编码方法、装置以及图像处理设备
WO2016119196A1 (zh) 图像编码方法、装置以及图像处理设备
WO2016192055A1 (zh) 使用预测信息的图像编码方法、装置以及图像处理设备
WO2015188342A1 (zh) 基于三维调色板的图像编码方法、装置以及图像处理设备
WO2016192054A1 (zh) 使用预测信息的图像编码方法、装置以及图像处理设备
WO2015192340A1 (zh) 基于调色板的图像编码方法、装置以及图像处理设备
KR20180070593A (ko) 정보 데이터의 공통 세트에 의해 구동되는 후보 프로세스들의 세트로부터 비디오 데이터에 적용될 프로세스를 선택하기 위한 방법 및 디바이스
WO2016197317A1 (zh) 拷贝信息的编解码方法、装置以及图像处理设备
WO2016029419A1 (zh) 图像编码方法、装置以及图像处理设备
WO2016197312A1 (zh) 像素索引的编码方法、装置以及图像处理设备

Legal Events

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

Ref document number: 14909366

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

Country of ref document: EP

Kind code of ref document: A1