WO2016106555A1 - 图像编码方法、装置以及图像处理设备 - Google Patents
图像编码方法、装置以及图像处理设备 Download PDFInfo
- Publication number
- WO2016106555A1 WO2016106555A1 PCT/CN2014/095548 CN2014095548W WO2016106555A1 WO 2016106555 A1 WO2016106555 A1 WO 2016106555A1 CN 2014095548 W CN2014095548 W CN 2014095548W WO 2016106555 A1 WO2016106555 A1 WO 2016106555A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- pixel
- palette
- palette mode
- pixels
- information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/41—Bandwidth or redundancy reduction
- H04N1/411—Bandwidth or redundancy reduction for the transmission or storage or reproduction of two-tone pictures, e.g. black and white pictures
- H04N1/413—Systems or arrangements allowing the picture to be reproduced without loss or modification of picture-information
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 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 comprising:
- the pixel prediction pixels in the image region to be encoded that can be predicted to form the sample prediction information are formed;
- the reuse identifier bit information, and the index of the non-palette mode pixels that can be predicted in the sample prediction information are bit-stream encoded.
- an image encoding apparatus comprising:
- 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 sample prediction determining unit for pixels adopting a non-palette mode, forming prediction information of pixels in the image to be encoded that can be predicted using a non-palette mode
- the bitstream encoding unit performs bitstream encoding on the reused identification bit information and the index of the non-palette mode pixel that can be predicted in the sample prediction information.
- 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 execute an image encoding side as described above in an image processing apparatus law.
- An advantageous effect of the embodiment of the present invention is that the reused identification bit information of the pixel in the non-palette mode and the index of the pixel in the non-palette mode that can be predicted in the sample prediction information are encoded; Even in the case where the non-palette prediction table is large, the 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.
- the above description is directed to the palette mode and the non-palette mode.
- the embodiment of the present invention is mainly directed to pixels in a non-palette mode, and how to perform encoding.
- For how to encode pixels in the palette mode reference may be made to the present. Any way.
- 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 For pixels adopting a non-palette mode, form prediction information of pixels in the image to be encoded that can be predicted using a non-palette mode;
- Step 304 Perform bitstream encoding on the reuse identifier bit information and the index of the non-palette mode pixel in the sample prediction information 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 reuse flag information may be performed prior to encoding the prediction flag and/or the prediction index value of the pixel in the non-palette mode. And this part of the information can be encoded in the same way as the identification bit information of the palette, that is, the identification bit information of the palette can be reused. Therefore, in terms of hardware implementation, no additional computing circuitry is required.
- the pixel prediction pixels that can be predicted in the non-palette mode can be formed into sample prediction information; and the non-palette mode that can be predicted is adopted.
- the bit of the pixel in the sample prediction information is bit stream encoded.
- Table 5 shows sample prediction information (also referred to as predicted escape sample) of pixels that can be predicted using non-palette mode determined according to Tables 3 and 2.
- the information of index 0, 1, 2 can be bit stream encoded instead of the information whose index is 1, 2, 63.
- the reuse flag information and the index of the pixels in the non-palette mode that can be predicted in the sample prediction information can be bit-stream encoded.
- encoding can be performed using only the index in Table 5 (using 2 bits) instead of the index in Table 2 (using 6 bits), thereby further reducing The cost of bit coding.
- 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
- the information is bitstream encoded.
- Step 404 Form the sample prediction information into the non-palette mode pixels that can be predicted in the image region to be encoded.
- Step 405 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 406 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 index of the pixel in the non-palette mode in the sample prediction information and the corresponding identification bit are bit-stream encoded; if a non-palette is adopted The pixels of the pattern cannot be predicted, and the pixel values of the pixels in the non-palette mode and the corresponding identification bits are bit-stream encoded.
- a 1-bit flag eg, 1 indicating that it can be predicted
- an index 0 indicated by 2 bits
- 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.
- bit stream encoding for each pixel, it is also necessary to perform bit stream encoding by using a 1-bit flag (for example, 0, indicating that it cannot be predicted).
- 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 color palette of the CU.
- Step 502 Determine reuse identifier information of pixels in the non-palette mode.
- Step 503 the sample prediction information is formed by pixels that can be predicted to adopt the non-palette mode.
- Step 504 it is determined whether the current pixel adopts the non-palette mode; in the case of adopting the palette mode, step 508 is performed, and in the case of adopting the non-palette mode, step 505 is performed;
- Step 505 it is determined whether the pixel value of the current pixel is in the non-palette prediction information, if yes, step 506 is performed, otherwise step 507 is performed;
- Step 506 using the corresponding identifier bit and an index of the pixel in the sample prediction information as the encoding information
- Step 507 the corresponding identification bit and the pixel value of the pixel are used as encoding information
- Step 508 Determine a corresponding pixel index based on the color palette, and use the pixel index as the encoding information.
- step 509 it is determined whether there are other pixels, and if so, step 504 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 identification bit information of the pixels in the non-palette mode and the index of the pixels in the non-palette mode that can be predicted in the sample prediction information are encoded; thus, even in the non- In the case where the palette prediction table is relatively large, it is also possible to encode pixels in the non-palette mode 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 whether the pixel value of the pixel adopting the non-palette mode exists in the non-tune In the swatch prediction information, determining the reuse identifier information of the pixel adopting the non-palette mode;
- the bitstream encoding unit 604 performs bitstream encoding on the reused identification bit information and the index of the pixel in the non-palette mode that can be predicted in the sample prediction information.
- the bitstream encoding unit 604 may be further configured to: identify an identifier bit that is capable of being predicted by the pixel in the non-palette mode, and/or identify the adopted non-palette mode The pixels cannot be bitstream encoded by the predicted flag.
- 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, and 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 pixel index determining unit 606 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 identification bit information of the pixels in the non-palette mode and the index of the pixels in the non-palette mode that can be predicted in the sample prediction information are encoded; thus, even in the non- In the case where the palette prediction table is relatively large, it is also possible to encode pixels in the non-palette mode 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.
- a general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor for performing the functions described herein can be implemented.
- 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)
- Compression Of Band Width Or Redundancy In Fax (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 |
在本实施例中,可以将该重用标识位信息进行比特流编码。关于该重用标识位信息的编码,可以在对采用非调色板模式的像素的预测标志和/或预测索引值进行编码之前进行。并且这部分信息可以采用与调色板的标识位信息相同的方式进行编码,即可以重用调色板的标识位信息。因此,就硬件实现来说,不需要额外的计算电路。
在本实施例中,对于采用非调色板模式的像素,可以将CU中的能够被预测的采用非调色板模式的像素形成样本预测信息;以及将能够被预测的采用非调色板模式的像素在样本预测信息中的索引进行比特流编码。
表5示出了根据表3和表2所确定的能够被预测的采用非调色板模式的像素的样本预测信息(也可称为predicted escape sample)。
表5
| 索引 | 0 | 1 | 2 |
| y | 120 | 122 | 222 |
| Cb | 50 | 78 | 133 |
| Cr | 59 | 63 | 124 |
如表5所示,表2中index=1,2,63的三个像素在该表5中的index分别为0,1,2。可以分别采用2比特表示。可以将index为0,1,2的信息而不是index为1,2,63的信息进行比特流编码。
由此,可以将重用标识位信息,以及能够被预测的采用非调色板模式的像素在样本预测信息中的索引进行比特流编码。对于能够被预测的采用非调色板模式的像素而言,可以仅采用例如表5中的索引(使用2比特)而不是表2中的索引(使用6比特)进行编码,由此可以进一步减少比特编码的代价。
在本实施例中,还可以将标识所述采用非调色板模式的像素能够被预测的标识位(例如使用1表示能够被预测),和/或将标识所述采用非调色板模式的像素不能够被预测的标识位(例如使用0表示不能被预测)进行比特流编码。
此外,对于不能够被预测的采用非调色板模式的像素,可以直接将像素值进行比特流编码。对于采用调色板模式的像素,可以确定所述调色板模式所对应的调色板;对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及将所述采用调色板模式的像素所对应的像素索引进行比特流编码。在具体实施时,可以采用相关的任意一种方法。
图4是本发明实施例的图像编码方法的另一流程示意图,示出了对采用非调色板模式的像素以及采用调色板模式的像素共同进行处理的情况。
如图4所示,所述编码方法包括:
步骤401,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式。
步骤402,确定所述调色板模式所对应的调色板。
步骤403,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;并将所述重用标识位信息进行比特流编码。
步骤404,将所述待编码图像区域中的能够被预测的采用非调色板模式的像素形成样本预测信息。
步骤405,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,并将像素索引进行比特流编码。
关于如何确定调色板模式或非调色板模式,如何确定调色板以及如何处理采用调色板模式的像素,具体内容可以参考相关技术。
步骤406,对于采用非调色板模式的像素,将采用非调色板模式的像素所对应的编码信息进行比特流编码。
其中,如果采用非调色板模式的像素能够被预测,则将该采用非调色板模式的像素在所述样本预测信息中的索引以及相应标识位进行比特流编码;如果采用非调色板模式的像素不能够被预测,则将该采用非调色板模式的像素的像素值以及相应标识位进行比特流编码。
例如,对于如表3所示的index=1的像素,可以将1比特标识位(例如1,表示能够被预测)以及在表5中的索引0(采用2比特表示)进行比特流编码;对于如表3所示的index=2的像素,可以将1比特标识位(例如1,表示能够被预测)以及在表5中的索引1(采用2比特表示)进行比特流编码;对于如表3所示的index=15的像素,可以将1比特标识位(例如1,表示能够被预测)以及在表5中的索引2(采用2比特表示)进行比特流编码。
对于如表3所示的其他13个像素,直接将像素值(采用3*8个比特,即包括三个分量,每个分量采用8比特表示)进行比特流编码。此外,对于每个像素,还需要将1比特标识位(例如0,表示不能够被预测)进行比特流编码。
在本实施例中,还可以将当前CU的调色板信息等编入比特流中,具体可以参考相关技术。此外,图4仅示意性地进行了说明,但本发明不限于此,例如还可以根据实际情况改变各个步骤的执行顺序。
在本实施例中,对于一个编码单元中的各个像素,可以在进行扫描时确定各自进行编码的信息。图5是本发明实施例的图像编码方法的另一流程示意图,如图5所示,
所述图像编码方法包括:
步骤501,确定CU中各像素的模式以及该CU的调色板;
步骤502,确定采用非调色板模式的像素的重用标识位信息。
步骤503,将能够被预测的采用非调色板模式的像素形成样本预测信息。
步骤504,判断当前像素是否采用非调色板模式;在采用调色板模式的情况下执行步骤508,在采用非调色板模式的情况下执行步骤505;
步骤505,判断当前像素的像素值是否在非调色板预测信息中,如果是则执行步骤506,否则执行步骤507;
步骤506,将相应的标识位以及该像素在样本预测信息中的索引作为编码信息;
步骤507,将相应的标识位以及该像素的像素值作为编码信息;
步骤508,基于调色板确定对应的像素索引,并将该像素索引作为编码信息;
步骤509,判断是否还有其他像素,如果是则对于下一像素执行步骤504。
为简单起见,图5中仅示出了确定各像素进行编码的信息的内容,而没有示出比特流编码等其他内容。在确定各像素进行编码的信息之后,可以立即进行比特流编码,也可以在扫描完成后对所有像素进行比特流编码,可以根据实际情况确定编码的时间。
由上述实施例可知,将采用非调色板模式的像素的重用标识位信息,以及能够被预测的采用非调色板模式的像素在样本预测信息中的索引进行编码;由此,即使在非调色板预测表比较大的情况下,也可以使用较少的比特对采用非调色板模式的像素进行编码,进一步减少编码的比特代价。
实施例2
本发明实施例提供一种图像编码装置,对应于实施例1中的图像编码方法,相同的内容不再赘述。
图6是本发明实施例的图像编码装置的一示意图,如图6所示,所述编码装置600包括:
编码模式确定单元601,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;
重用信息确定单元602,根据采用非调色板模式的像素的像素值是否存在于非调
色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;
样本预测确定单元603,对于采用非调色板模式的像素,将所述待编码图像区域中的能够被预测的采用非调色板模式的像素形成样本预测信息;
比特流编码单元604,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述样本预测信息中的索引进行比特流编码。
在本实施例中,所述比特流编码单元604还可以用于:将标识所述采用非调色板模式的像素能够被预测的标识位,和/或将标识所述采用非调色板模式的像素不能够被预测的标识位进行比特流编码。
在本实施例中,所述重用信息确定单元602具体可以用于:在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第一值,在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第二值。
其中,第一值可以为1,第二值可以为0,但本发明不限于此。
在本实施例中,所述比特流编码单元604还可以用于:将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
如图6所示,所述图像编码装置600还可以包括:
调色板确定单元605,确定所述调色板模式所对应的调色板;
像素索引确定单元606,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及
所述比特流编码单元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 (15)
- 一种图像编码方法,所述图像编码方法包括:对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;对于采用非调色板模式的像素,将所述待编码图像区域中的能够被预测的采用非调色板模式的像素形成样本预测信息;将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述样本预测信息中的索引进行比特流编码。
- 根据权利要求1所述的图像编码方法,其中,所述方法还包括:将标识所述采用非调色板模式的像素能够被预测的标识位,和/或将标识所述采用非调色板模式的像素不能够被预测的标识位进行比特流编码。
- 根据权利要求1所述的图像编码方法,其中,在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,所述采用非调色板模式的像素的重用标识位信息为第一值,在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,所述采用非调色板模式的像素的重用标识位信息为第二值。
- 根据权利要求3所述的图像编码方法,其中,所述第一值为1,所述第二值为0。
- 根据权利要求1所述的图像编码方法,其中,所述方法还包括:将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
- 根据权利要求1所述的图像编码方法,其中,所述方法还包括:确定所述调色板模式所对应的调色板;对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及将所述采用调色板模式的像素所对应的像素索引进行比特流编码。
- 根据权利要求1所述的图像编码方法,其中,所述非调色板预测信息被预先生成,并且基于被编码的像素信息被更新。
- 一种图像编码装置,所述图像编码装置包括:编码模式确定单元,对待编码图像区域中的多个像素确定采用调色板模式,以及对所述待编码图像区域中的其他一个或多个像素确定采用非调色板模式;重用信息确定单元,根据采用非调色板模式的像素的像素值是否存在于非调色板预测信息中,确定所述采用非调色板模式的像素的重用标识位信息;样本预测确定单元,对于采用非调色板模式的像素,将所述待编码图像区域中的能够被预测的采用非调色板模式的像素形成样本预测信息;比特流编码单元,将所述重用标识位信息,以及所述能够被预测的采用非调色板模式的像素在所述样本预测信息中的索引进行比特流编码。
- 根据权利要求8所述的图像编码装置,其中,所述比特流编码单元还用于:将标识所述采用非调色板模式的像素能够被预测的标识位,和/或将标识所述采用非调色板模式的像素不能够被预测的标识位进行比特流编码。
- 根据权利要求8所述的图像编码装置,其中,所述重用信息确定单元用于:在采用非调色板模式的像素的像素值存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第一值,在采用非调色板模式的像素的像素值不存在于所述非调色板预测信息中的情况下,将所述采用非调色板模式的像素的重用标识位信息确定为第二值。
- 根据权利要求8所述的图像编码装置,其中,所述比特流编码单元还用于:将不能够被预测的采用非调色板模式的像素的像素值进行比特流编码。
- 根据权利要求8所述的图像编码装置,其中,所述装置还包括:调色板确定单元,确定所述调色板模式所对应的调色板;像素索引确定单元,对于采用调色板模式的像素,基于所述调色板确定对应的像素索引,以及所述比特流编码单元还用于:将所述采用调色板模式的像素所对应的像素索引进行比特流编码。
- 根据权利要求8所述的图像编码装置,其中,所述非调色板预测信息被预先生成,并且基于被编码的像素信息被更新。
- 一种图像处理设备,包括:如权利要求8所述的图像编码装置。
- 根据权利要求14所述的图像处理设备,其中,所述图像处理设备还包括:解码装置,对比特流进行解码以获得图像。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2014/095548 WO2016106555A1 (zh) | 2014-12-30 | 2014-12-30 | 图像编码方法、装置以及图像处理设备 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2014/095548 WO2016106555A1 (zh) | 2014-12-30 | 2014-12-30 | 图像编码方法、装置以及图像处理设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016106555A1 true WO2016106555A1 (zh) | 2016-07-07 |
Family
ID=56283839
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/095548 Ceased WO2016106555A1 (zh) | 2014-12-30 | 2014-12-30 | 图像编码方法、装置以及图像处理设备 |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2016106555A1 (zh) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1713719A (zh) * | 2004-06-15 | 2005-12-28 | 奥林巴斯株式会社 | 图像处理方法 |
| CN1716998A (zh) * | 2004-06-14 | 2006-01-04 | 奥林巴斯株式会社 | 图像压缩装置及图像还原装置 |
| US7162077B2 (en) * | 2001-10-19 | 2007-01-09 | Sharp Laboratories Of America, Inc. | Palette-based image compression method, system and data file |
| CN101340587A (zh) * | 2007-07-05 | 2009-01-07 | 联发科技股份有限公司 | 编码输入图像的方法以及播放已编码图像的方法及装置 |
| US20140055484A1 (en) * | 2012-08-24 | 2014-02-27 | Samsung Electronics Co., Ltd. | Electronic device displaying an image by using image included in content and a method of displaying the image on the electronic device |
| CN104247410A (zh) * | 2012-03-30 | 2014-12-24 | 富士通株式会社 | 彩色图表检测装置、彩色图表检测方法以及彩色图表检测用计算机程序 |
-
2014
- 2014-12-30 WO PCT/CN2014/095548 patent/WO2016106555A1/zh not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7162077B2 (en) * | 2001-10-19 | 2007-01-09 | Sharp Laboratories Of America, Inc. | Palette-based image compression method, system and data file |
| CN1716998A (zh) * | 2004-06-14 | 2006-01-04 | 奥林巴斯株式会社 | 图像压缩装置及图像还原装置 |
| CN1713719A (zh) * | 2004-06-15 | 2005-12-28 | 奥林巴斯株式会社 | 图像处理方法 |
| CN101340587A (zh) * | 2007-07-05 | 2009-01-07 | 联发科技股份有限公司 | 编码输入图像的方法以及播放已编码图像的方法及装置 |
| CN104247410A (zh) * | 2012-03-30 | 2014-12-24 | 富士通株式会社 | 彩色图表检测装置、彩色图表检测方法以及彩色图表检测用计算机程序 |
| US20140055484A1 (en) * | 2012-08-24 | 2014-02-27 | Samsung Electronics Co., Ltd. | Electronic device displaying an image by using image included in content and a method of displaying the image on the electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6149076B2 (ja) | イメージ、および、ビデオ符号化のパレットインデックスシグナリングの方法および装置 | |
| US12412314B2 (en) | Color conversion between color spaces using reduced dimension embeddings | |
| CN103813169B (zh) | 视频编解码器中可伸缩的对象表示方法和装置 | |
| CN107077827B (zh) | 对视频信号进行色彩映射的方法、对应设备以及存储介质 | |
| CN105516540A (zh) | 二值图像的压缩方法及装置 | |
| WO2017063168A1 (zh) | 图像编码方法、装置以及图像处理设备 | |
| US20220004857A1 (en) | Neural network processing apparatus, neural network processing method, and neural network processing program | |
| CN113330740A (zh) | 用于视频压缩系统的调色板模式中的调色板大小约束 | |
| JP7067655B2 (ja) | 画像コーディング装置、画像デコーディング装置、及び画像処理機器 | |
| CN112449201B (zh) | 解码方法、编码方法、相应的装置、电子设备及存储介质 | |
| WO2016106555A1 (zh) | 图像编码方法、装置以及图像处理设备 | |
| WO2016106554A1 (zh) | 图像编码方法、装置以及图像处理设备 | |
| WO2016049843A1 (zh) | 调色板的编码方法、装置以及图像处理设备 | |
| WO2016045077A1 (zh) | 图像编码方法、装置以及图像处理设备 | |
| WO2016106553A1 (zh) | 图像编码方法、装置以及图像处理设备 | |
| WO2016192053A1 (zh) | 拷贝信息的编码方法、装置以及图像处理设备 | |
| CN112449186B (zh) | 编码方法、解码方法、相应的装置、电子设备及存储介质 | |
| CN106688236A (zh) | 图像编码方法、装置以及图像处理设备 | |
| WO2016192055A1 (zh) | 使用预测信息的图像编码方法、装置以及图像处理设备 | |
| WO2015192340A1 (zh) | 基于调色板的图像编码方法、装置以及图像处理设备 | |
| WO2016192054A1 (zh) | 使用预测信息的图像编码方法、装置以及图像处理设备 | |
| CN105637861B (zh) | 基于调色板的编码装置、方法以及图像处理设备 | |
| CN106303531B (zh) | 拷贝信息的编码方法、装置以及图像处理设备 | |
| WO2016197317A1 (zh) | 拷贝信息的编解码方法、装置以及图像处理设备 | |
| WO2016029419A1 (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: 14909367 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: 14909367 Country of ref document: EP Kind code of ref document: A1 |