WO2017063168A1 - Image coding method and apparatus, and image processing device - Google Patents
Image coding method and apparatus, and image processing device Download PDFInfo
- Publication number
- WO2017063168A1 WO2017063168A1 PCT/CN2015/091989 CN2015091989W WO2017063168A1 WO 2017063168 A1 WO2017063168 A1 WO 2017063168A1 CN 2015091989 W CN2015091989 W CN 2015091989W WO 2017063168 A1 WO2017063168 A1 WO 2017063168A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- color component
- number information
- image
- bit
- encoding
- 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
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
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.
- one stream or multiple streams can be image-encoded, and each stream can have a sequence parameter set (SPS).
- SPS Sequence Parameter Set
- SPS can be placed in the header area of the stream.
- Each stream may correspond to one or more image frames, each image frame having a Picture Parameter Set (PPS), for example, the PPS may be placed in the header file area of the image frame.
- PPS Picture Parameter Set
- Image coding can use a Palette Predictor.
- the number information of the color component when the palette is predicted ie, how many color components are there, for example, only the luminance component when the color is monochromatic, the color component has only one; when the plurality of colors can include the luminance component and the chrominance component, the color
- the components are, for example, three) can be defined in the chroma_format_idc of the SPS, and the bit number information used by the color component (which can be called bit-depth, for example, each bit of the color component is represented by several bits) can be defined in the seq_parameter_set_rbsp() of the SPS. .
- the number information of the color component may also be defined in pps_scc_extension() of the PPS, for example, defined as monochrome_palette_flag; and the bit number information used by the color component may also be defined in the pps_scc_extension() of the PPS, for example, defined as luma_bit_depth_entry_minus8 And chroma_bit_depth_entry_minus8.
- both the SPS and the PPS contain the number information of the color components and the bit number information used for the color components, that is, the color components, due to the consistency requirement of the bit stream.
- the number information and the number of bits used by the color components appear redundant during encoding and decoding.
- Embodiments of the present invention provide an image encoding method, apparatus, and image processing apparatus.
- the purpose is to reduce the number of pieces of color components and the redundancy of the bit number information used by the color components, thereby reducing the bit cost of encoding and optimizing the syntax structure of HEVC.
- an image encoding method including:
- the bit number information used by the color component is not encoded to the picture parameter set corresponding to the image frame when encoding the parameters of the image frame.
- an image encoding apparatus including:
- An information determining unit that determines the number information of the color component and the bit number information used by the color component
- a coding unit that does not encode the bit number information used by the color component to a picture parameter set corresponding to the image frame when encoding the parameters of the image frame.
- an image processing apparatus including:
- An image encoder that determines number information of a color component and bit number information used by the color component; and does not encode bit number information used by the color component to the image frame when encoding parameters of the image frame Corresponding picture parameter set; and/or
- an image decoder that determines bit number information used by the color component according to a sequence parameter set corresponding to the stream in which the image frame is located, and decodes the image frame.
- 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 and/or corresponding image decoding 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 and/or a corresponding one in an image processing device Image decoding method.
- An advantageous effect of the embodiment of the present invention is that the bit number information used by the color component is not encoded into the PPS corresponding to the image frame when encoding the image frame. This not only reduces redundant information, further reduces the bit cost of encoding, but also optimizes the syntax structure of HEVC.
- FIG. 1 is a schematic diagram of an image encoding method according to Embodiment 1 of the present invention.
- FIG. 2 is another schematic diagram of an image encoding method according to Embodiment 1 of the present invention.
- FIG. 3 is another schematic diagram of an image encoding method according to Embodiment 1 of the present invention.
- FIG. 4 is a schematic diagram of an image coding apparatus according to Embodiment 2 of the present invention.
- Figure 5 is a block diagram showing the structure of an image encoder according to a second embodiment of the present invention.
- Figure 6 is a diagram showing an image processing apparatus according to a third embodiment of the present invention.
- the palette initialization portion in the SPS of Screen Content Coding defines the number information of the color component and the bit number information used by the color component.
- Table 1 shows a part of the syntax of the SPS.
- the number information of the color component initialized by the palette prediction can be obtained from the chroma_format_idc in the SPS. Further, the bit number information used for the color component is obtained by adding a bit syntax element obtained by decoding in the SPS by 8, such as the syntax elements bit_depth_luma_minus8 and bit_depth_chroma_minus8 in Table 2 below.
- Table 2 shows another part of the syntax of the SPS.
- the palette initialization portion of the PPS of the SCC also defines the number information of the color components and the number of bits used for the color components.
- Table 3 shows a part of the syntax of the PPS.
- the number information of the color component initialized by the palette prediction can be obtained from the monochrome_palette_flag in the PPS. Further, the bit number information used for the color component can be obtained from luma_bit_depth_entry_minus8 and chroma_bit_depth_entry_minus8 in the PPS.
- the chroma_format_idc in the SPS should be 0; when the monochrome_palette_flag in the PPS is equal to 0, the chroma_format_idc in the SPS should be a value greater than 0 (for example, 1, 2) Or 3).
- the number information of the color component and the bit number information used for the color component are encoded not only in the SPS portion but also in the PPS portion.
- monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 in the PPS can be obtained from related information in the SPS.
- the current coding method not only leads to redundant information, but also the grammatical structure is not clear enough.
- FIG. 1 is a schematic diagram of an image encoding method according to an embodiment of the present invention. As shown in FIG. 1, the image encoding method includes:
- Step 101 determining number information of a color component and bit number information used by the color component
- Step 102 When encoding the parameters of the image frame, the bit number information used by the color component is not encoded into the PPS corresponding to the image frame.
- the video image may be encoded into one or more streams, each stream having an SPS and may contain one or more image frames; each image frame having a PPS.
- the number information of the color component and the bit number information used for the color component may be predetermined before encoding the image frame, and any existing method may be employed.
- the SPS of the stream corresponding to the image frame may have been encoded; in this case, the bit number information used by the color component may not be encoded into the PPS corresponding to the image frame. In the middle, according to SPS can get this information.
- FIG. 2 is another schematic diagram of an image encoding method according to an embodiment of the present invention, showing an embodiment of the present invention. As shown in FIG. 2, the image encoding method includes:
- Step 201 Determine the number information of the color component and the bit number information used by the color component when encoding the parameter of the stream;
- bit_depth_luma_minus8 and bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be determined; specifically, as described in the existing standard.
- Step 202 Encode the number information of the color component and the number of bits used by the color component into the SPS corresponding to the stream when encoding the parameter of the stream;
- bit_depth_luma_minus8 and the bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be bit-stream encoded; as described in the existing standard.
- Step 203 Determine, when encoding the parameters of the image frame, the number information of the color component and the bit number information used by the color component;
- the monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 of the PPS may be determined; specifically, as described in the existing standard.
- Step 204 When encoding the parameters of the image frame, encode the number information of the color component to the PPS corresponding to the image frame, and not encode the bit number information used by the color component to the PPS corresponding to the image frame.
- the encoding of the SPS parameters may remain unchanged, and the encoding of the PPS parameters may delete the bit number information used by the color components.
- Table 4 schematically shows a part of the syntax of the PPS of the present embodiment. For example, the bit-depth related information is deleted in the PPS.
- SPS corresponds to N PPS. If the existing standard is adopted, it is assumed that SPS requires SPS_org bits in encoding, and N PPS requires PPS_org1, PPS_org2, ... PPS_orgN bits respectively; the bit-depth of luminance component and chrominance component is 8bit.
- SPS and PPS require the following number of bits to encode:
- Total_org SPS_org+PPS_org1+PPS_org2+...+PPS_orgN.
- SPS and PPS require the following number of bits to encode:
- the embodiment of the present invention can not only reduce redundant information, further reduce the bit cost of encoding, but also optimize the syntax structure of HEVC.
- FIG. 2 only schematically shows the case of the present embodiment, but the present invention is not limited thereto.
- step 201 and step 203 may be combined, or step 203 may be omitted.
- the order of execution of each step may be changed according to actual conditions, or other steps may be added, or one or more of the steps may be omitted or merged.
- the number information of the color components may not be encoded into the PPS corresponding to the image frame in step 203; that is, the monochrome_palette_flag in Table 4 may also be deleted.
- FIG. 3 is another schematic diagram of an image encoding method according to an embodiment of the present invention, showing another embodiment of the present invention. As shown in FIG. 3, the image encoding method includes:
- Step 301 Determine the number information of the color component and the bit number information used by the color component when encoding the parameter of the stream;
- bit_depth_luma_minus8 and bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be determined; specifically, as described in the existing standard.
- Step 302 when encoding the parameter of the stream, encoding the number information of the color component and the number of bits used by the color component into the SPS corresponding to the stream;
- bit_depth_luma_minus8 and the bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be bit-stream encoded; specifically, as described in the existing standard.
- monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 can also be encoded into the SPS.
- Table 5 schematically shows a part of the syntax of the SPS of the present embodiment. For example, the number information of the color component and the information about the bit-depth are added to the SPS.
- Step 303 When encoding the parameters of the image frame, the number information of the color component is not encoded into the PPS corresponding to the image frame, and the bit number information used by the color component is not encoded into the PPS corresponding to the image frame.
- Table 6 schematically shows a part of the syntax of the PPS of the present embodiment. For example, the number information of the color component and the related information of the bit-depth are deleted in the PPS.
- SPS corresponds to N PPS. If the existing standard is adopted, it is assumed that SPS requires SPS_org bits in encoding, and N PPS requires PPS_org1, PPS_org2, ... PPS_orgN bits respectively; the bit-depth of luminance component and chrominance component is 8bit.
- SPS and PPS require the following number of bits to encode:
- Total_org SPS_org+PPS_org1+PPS_org2+...+PPS_orgN.
- SPS and PPS require the following number of bits to encode:
- the embodiment of the present invention can not only reduce redundant information, further reduce the bit cost of encoding, but also optimize the syntax structure of HEVC.
- FIG. 3 only schematically shows the case of the present embodiment, but the present invention is not limited thereto.
- the order of execution of each step may be changed according to actual conditions, or other steps may be added, or one or more of the steps may be omitted or merged.
- the bit number information used by the color component may not be encoded into the PPS corresponding to the image frame when encoding the image frame; further, the number information of the color component may not be encoded into the image frame. Corresponding to the PPS. This not only reduces redundant information, further reduces the bit cost of encoding, but also optimizes the syntax structure of HEVC.
- 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.
- the image encoding apparatus 400 includes:
- the information determining unit 401 determines the number information of the color component and the bit number information used by the color component;
- the encoding unit 402 does not encode the bit number information used by the color component to the PPS corresponding to the image frame when encoding the parameters of the image frame.
- FIG. 4 only schematically shows a part of the image encoding apparatus related to the embodiment of the present invention. Unit, but the invention is not limited thereto.
- a unit for determining a color palette, etc. for example, a unit for determining a color palette, etc.
- the encoding unit 402 is further configured to: not encode the number information of the color component to the PPS corresponding to the image frame.
- the encoding unit 402 is further configured to: when the parameter of the stream in which the image frame is located, encode the number information of the color component and the bit number information used by the color component to the stream Corresponding SPS.
- the encoding unit 402 is further configured to: encode the number information of the color component to the PPS corresponding to the image frame.
- the number information of the color component may be represented as monochrome_palette_flag
- the bit number information used by the color component may be expressed as luma_bit_depth_entry_minus8; in the case where the color component includes a luminance component and a chrominance component, the bit number information used by the color component may be expressed as luma_bit_depth_entry_minus8 and Chroma_bit_depth_entry_minus8.
- An embodiment of the present invention also provides an image encoder comprising the image encoding device 400 as described above.
- FIG. 5 is a schematic diagram showing the structure of an image encoder according to an embodiment of the present invention.
- image encoder 500 can include a central processing unit (CPU) 100 and memory 110; memory 110 is coupled to central processor 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 400 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 400 can be configured separately from the central processing unit.
- the image encoding device 400 can be configured as a chip connected to the central processing unit 100, and the image encoding device 400 can be implemented by control of the central processing unit.
- the image encoder 500 may further include: an input and output unit 120, a display unit 130, and the like; wherein the functions of the above components are similar to those of the prior art, and details are not described herein again. It should be noted that the image encoder 500 does not necessarily have to include all of the components shown in FIG. 5; in addition, the image encoder 500 may also include components not shown in FIG. 5, and reference may be made to the prior art.
- the number of bits used for the color component may not be used when encoding the image frame.
- the information is encoded into the PPS corresponding to the image frame; further, the number information of the color component may not be encoded into the PPS corresponding to the image frame.
- the redundant information can be reduced, the bit cost of the encoding is further reduced, and the syntax structure of the HEVC can be optimized.
- An embodiment of the present invention provides an image processing apparatus, where the image processing apparatus includes the image encoder as described in Embodiment 2, and further includes a corresponding image decoder.
- the same content of the embodiment of the present invention and the first and second embodiments will not be described again.
- FIG. 6 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the image processing apparatus 600 includes:
- the image encoder 601 determines the number information of the color component and the bit number information used by the color component; and encodes the bit number information used by the color component to the image frame when encoding the parameter of the image frame Corresponding PPS; and/or
- the image decoder 602 determines the bit number information used by the color component according to the SPS corresponding to the stream in which the image frame is located, and decodes the image frame.
- the image encoder 601 may not encode the number information of the color component to the PPS corresponding to the image frame; and the image decoder 602 may determine the color component according to the SPS corresponding to the stream in which the image frame is located. Number of information.
- the image encoder 601 may encode the number information of the color component and the bit number information used by the color component to the SPS corresponding to the stream when encoding the parameter of the stream in which the image frame is located. .
- the image encoder 601 may also encode the number information of the color components to the PPS corresponding to the image frame.
- the configuration of the image encoder 601 and/or the image decoder 602 can be referred to FIG. 5; that is, the architecture of the CPU plus Memory can be implemented.
- the image encoder 601 can implement the image encoding method described in Embodiment 1, and the image decoder 602 can implement the image decoding method corresponding to the image encoding method of Embodiment 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 as described in Embodiment 1 in the image processing apparatus and / or the corresponding image decoding method.
- Embodiments of the present invention also provide a storage medium storing a computer readable program, wherein the computer readable program causes a computer to perform an image encoding method and/or corresponding image decoding as described in Embodiment 1 in an image processing apparatus method.
- 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
本发明涉及图形图像技术领域,特别涉及一种图像编码方法、装置以及图像处理设备。The present invention relates to the field of graphic image technology, and in particular, to an image encoding method, apparatus, and image processing apparatus.
在目前的高效视频编码(HEVC,High Efficiency Video Coding)标准JCTVC-U1005中,可以对一个流或多个流(也可称为序列)进行图像编码,每个流可以具有一个序列参数集(SPS,Sequence Parameter Set),例如SPS可以放在流的头文件(header)区域。每个流可以对应于一个或多个图像帧,每个图像帧具有一个图片参数集(PPS,Picture Parameter Set),例如PPS可以放在图像帧的头文件区域。In the current High Efficiency Video Coding (HEVC) standard JCTVC-U1005, one stream or multiple streams (also called sequences) can be image-encoded, and each stream can have a sequence parameter set (SPS). , Sequence Parameter Set), for example, SPS can be placed in the header area of the stream. Each stream may correspond to one or more image frames, each image frame having a Picture Parameter Set (PPS), for example, the PPS may be placed in the header file area of the image frame.
图像编码可以使用调色板预测器(Palette Predictor)。进行调色板预测时的颜色分量的个数信息(即具有多少个颜色分量,例如单色时只有亮度分量,则颜色分量只有一个;多个颜色时可以包括亮度分量和色度分量,则颜色分量例如为三个)可以在SPS的chroma_format_idc被定义,而颜色分量所使用的比特数信息(可称为bit-depth,例如每个颜色分量采用几比特表示)可以在SPS的seq_parameter_set_rbsp()被定义。Image coding can use a Palette Predictor. The number information of the color component when the palette is predicted (ie, how many color components are there, for example, only the luminance component when the color is monochromatic, the color component has only one; when the plurality of colors can include the luminance component and the chrominance component, the color The components are, for example, three) can be defined in the chroma_format_idc of the SPS, and the bit number information used by the color component (which can be called bit-depth, for example, each bit of the color component is represented by several bits) can be defined in the seq_parameter_set_rbsp() of the SPS. .
此外,颜色分量的个数信息还可以在PPS的pps_scc_extension()被定义,例如被定义为monochrome_palette_flag;而颜色分量所使用的比特数信息也可以在PPS的pps_scc_extension()被定义,例如被定义为luma_bit_depth_entry_minus8和chroma_bit_depth_entry_minus8。In addition, the number information of the color component may also be defined in pps_scc_extension() of the PPS, for example, defined as monochrome_palette_flag; and the bit number information used by the color component may also be defined in the pps_scc_extension() of the PPS, for example, defined as luma_bit_depth_entry_minus8 And chroma_bit_depth_entry_minus8.
应该注意,上面对技术背景的介绍只是为了方便对本发明的技术方案进行清楚、完整的说明,并方便本领域技术人员的理解而阐述的。不能仅仅因为这些方案在本发明的背景技术部分进行了阐述而认为上述技术方案为本领域技术人员所公知。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
但是,发明人发现,对于一个SPS对应多个PPS的情况,由于比特流的一致性要求而使得SPS和PPS均包含了颜色分量的个数信息以及颜色分量所使用的比特数信息,即颜色分量的个数信息以及颜色分量所使用的比特数信息在编解码时出现了冗 余。However, the inventors have found that for the case where one SPS corresponds to a plurality of PPSs, both the SPS and the PPS contain the number information of the color components and the bit number information used for the color components, that is, the color components, due to the consistency requirement of the bit stream. The number information and the number of bits used by the color components appear redundant during encoding and decoding. I.
本发明实施例提供一种图像编码方法、装置以及图像处理设备。目的在于降低颜色分量的个数信息以及颜色分量所使用的比特数信息的冗余,从而降低编码的比特代价,并且优化HEVC的语法结构。Embodiments of the present invention provide an image encoding method, apparatus, and image processing apparatus. The purpose is to reduce the number of pieces of color components and the redundancy of the bit number information used by the color components, thereby reducing the bit cost of encoding and optimizing the syntax structure of HEVC.
根据本发明实施例的第一个方面,提供一种图像编码方法,包括:According to a first aspect of the embodiments of the present invention, an image encoding method is provided, including:
确定颜色分量的个数信息和颜色分量所使用的比特数信息;以及Determining the number information of the color component and the number of bits used by the color component;
在对图像帧的参数进行编码时不将所述颜色分量所使用的比特数信息编码到所述图像帧所对应的图片参数集。The bit number information used by the color component is not encoded to the picture parameter set corresponding to the image frame when encoding the parameters of the image frame.
根据本发明实施例的第二个方面,提供一种图像编码装置,包括:According to a second aspect of the embodiments of the present invention, an image encoding apparatus is provided, including:
信息确定单元,其确定颜色分量的个数信息和颜色分量所使用的比特数信息;An information determining unit that determines the number information of the color component and the bit number information used by the color component;
编码单元,其在对图像帧的参数进行编码时不将所述颜色分量所使用的比特数信息编码到所述图像帧所对应的图片参数集。And a coding unit that does not encode the bit number information used by the color component to a picture parameter set corresponding to the image frame when encoding the parameters of the image frame.
根据本发明实施例的第三个方面,提供一种图像处理设备,包括:According to a third aspect of the embodiments of the present invention, an image processing apparatus is provided, including:
图像编码器,其确定颜色分量的个数信息以及颜色分量所使用的比特数信息;以及在对图像帧的参数进行编码时不将所述颜色分量所使用的比特数信息编码到所述图像帧所对应的图片参数集;和/或An image encoder that determines number information of a color component and bit number information used by the color component; and does not encode bit number information used by the color component to the image frame when encoding parameters of the image frame Corresponding picture parameter set; and/or
图像解码器,其根据所述图像帧所在的流所对应的序列参数集确定所述颜色分量所使用的比特数信息,以及对所述图像帧进行解码。And an image decoder that determines bit number information used by the color component according to a sequence parameter set corresponding to the stream in which the image frame is located, and decodes the image frame.
根据本发明实施例的又一个方面,提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如上所述的图像编码方法和/或相应的图像解码方法。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 and/or corresponding image decoding 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 and/or a corresponding one in an image processing device Image decoding method.
本发明实施例的有益效果在于,在对图像帧进行编码时不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS中。由此不但可以减少冗余信息,进一步降低编码的比特代价,而且可以优化HEVC的语法结构。An advantageous effect of the embodiment of the present invention is that the bit number information used by the color component is not encoded into the PPS corresponding to the image frame when encoding the image frame. This not only reduces redundant information, further reduces the bit cost of encoding, but also optimizes the syntax structure of HEVC.
参照后文的说明和附图,详细公开了本发明的特定实施方式,指明了本发明的原理可以被采用的方式。应该理解,本发明的实施方式在范围上并不因而受到限制。在 所附权利要求的精神和条款的范围内,本发明的实施方式包括许多改变、修改和等同。Specific embodiments of the present invention are disclosed in detail with reference to the following description and the drawings, in which <RTIgt; It should be understood that the embodiments of the invention are not limited in scope. In The embodiments of the present invention include many variations, modifications, and equivalents within the scope of the spirit and 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"
参照以下的附图可以更好地理解本发明的很多方面。附图中的部件不是成比例绘制的,而只是为了示出本发明的原理。为了便于示出和描述本发明的一些部分,附图中对应部分可能被放大或缩小。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的图像编码方法的一示意图;1 is a schematic diagram of an image encoding method according to Embodiment 1 of the present invention;
图2是本发明实施例1的图像编码方法的另一示意图;2 is another schematic diagram of an image encoding method according to Embodiment 1 of the present invention;
图3是本发明实施例1的图像编码方法的另一示意图;3 is another schematic diagram of an image encoding method according to Embodiment 1 of the present invention;
图4是本发明实施例2的图像编码装置的一示意图;4 is a schematic diagram of an image coding apparatus according to Embodiment 2 of the present invention;
图5是本发明实施例2的图像编码器的一构成示意图;Figure 5 is a block diagram showing the structure of an image encoder according to a second embodiment of the present invention;
图6是本发明实施例3的图像处理设备的一示意图。Figure 6 is a diagram showing an image processing apparatus according to a third embodiment of the present invention.
参照附图,通过下面的说明书,本发明的前述以及其它特征将变得明显。在说明书和附图中,具体公开了本发明的特定实施方式,其表明了其中可以采用本发明的原则的部分实施方式,应了解的是,本发明不限于所描述的实施方式,相反,本发明包括落入所附权利要求的范围内的全部修改、变型以及等同物。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.
在JCTVC-U1005中,屏幕内容编码(SCC,Screen Content Coding)的SPS中调色板初始化部分定义了颜色分量的个数信息以及颜色分量所使用的比特数信息。In JCTVC-U1005, the palette initialization portion in the SPS of Screen Content Coding (SCC) defines the number information of the color component and the bit number information used by the color component.
表1示出了SPS的一部分语法。 Table 1 shows a part of the syntax of the SPS.
表1Table 1
如表1所示,调色板预测初始化的颜色分量的个数信息可以根据SPS中chroma_format_idc得到。此外,颜色分量所使用的比特数信息由SPS中解码得到的比特语法元素加8得到,如下面表2中语法元素bit_depth_luma_minus8和bit_depth_chroma_minus8。As shown in Table 1, the number information of the color component initialized by the palette prediction can be obtained from the chroma_format_idc in the SPS. Further, the bit number information used for the color component is obtained by adding a bit syntax element obtained by decoding in the SPS by 8, such as the syntax elements bit_depth_luma_minus8 and bit_depth_chroma_minus8 in Table 2 below.
表2示出了SPS的另一部分语法。Table 2 shows another part of the syntax of the SPS.
表2Table 2
在JCTVC-U1005中,SCC的PPS中调色板初始化部分也定义了颜色分量的个数信息以及颜色分量所使用的比特数信息。In JCTVC-U1005, the palette initialization portion of the PPS of the SCC also defines the number information of the color components and the number of bits used for the color components.
表3示出了PPS的一部分语法。Table 3 shows a part of the syntax of the PPS.
表3table 3
如表3所示,调色板预测初始化的颜色分量的个数信息可根据PPS中monochrome_palette_flag得到。此外,颜色分量所使用的比特数信息可以根据PPS中的luma_bit_depth_entry_minus8和chroma_bit_depth_entry_minus8得到。As shown in Table 3, the number information of the color component initialized by the palette prediction can be obtained from the monochrome_palette_flag in the PPS. Further, the bit number information used for the color component can be obtained from luma_bit_depth_entry_minus8 and chroma_bit_depth_entry_minus8 in the PPS.
由于比特流编码的一致性要求,当PPS中的monochrome_palette_flag等于1时,SPS中的chroma_format_idc应该为0;当PPS中的monochrome_palette_flag等于0时,SPS中的chroma_format_idc应该为大于0的值(例如1,2或3)。Due to the consistency requirement of bitstream encoding, when the monochrome_palette_flag in the PPS is equal to 1, the chroma_format_idc in the SPS should be 0; when the monochrome_palette_flag in the PPS is equal to 0, the chroma_format_idc in the SPS should be a value greater than 0 (for example, 1, 2) Or 3).
此外,PPS中亮度分量的与bit-depth相关的信息BitDepthEntryY(其中,BitDepthEntryY=8+luma_bit_depth_entry_minus8)应该等于SPS中亮度分量的与bit-depth相关的信息BitDepthY;PPS中色度分量的bit-depth相关信息BitDepthEntryC (其中,BitDepthEntryC=8+chroma_bit_depth_entry_minus8)应该等于SPS中亮度分量的与bit-depth相关的信息BitDepthC。In addition, the bit-depth related information BitDepthEntryY (where BitDepthEntryY=8+luma_bit_depth_entry_minus8) of the luminance component in the PPS should be equal to the bit-depth related information BitDepthY of the luminance component in the SPS; the bit-depth correlation of the chroma component in the PPS Information BitDepthEntryC (where BitDepthEntryC=8+chroma_bit_depth_entry_minus8) should be equal to the bit-depth related information BitDepthC of the luminance component in the SPS.
因此,颜色分量的个数信息以及颜色分量所使用的比特数信息不仅在SPS部分进行了编码,而且在PPS部分也进行了编码。例如PPS中的monochrome_palette_flag,luma_bit_depth_entry_minus8,chroma_bit_depth_entry_minus8能够从SPS中的相关信息获得。目前的编码方式不但导致了冗余信息,而且语法结构不够清晰。Therefore, the number information of the color component and the bit number information used for the color component are encoded not only in the SPS portion but also in the PPS portion. For example, monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 in the PPS can be obtained from related information in the SPS. The current coding method not only leads to redundant information, but also the grammatical structure is not clear enough.
以下对本发明实施例进行详细说明。The embodiments of the present invention are described in detail below.
实施例1Example 1
本发明实施例提供一种图像编码方法。图1是本发明实施例的图像编码方法的一示意图,如图1所示,所述图像编码方法包括:Embodiments of the present invention provide an image encoding method. FIG. 1 is a schematic diagram of an image encoding method according to an embodiment of the present invention. As shown in FIG. 1, the image encoding method includes:
步骤101,确定颜色分量的个数信息以及颜色分量所使用的比特数信息;以及
步骤102,在对图像帧的参数进行编码时,不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS。Step 102: When encoding the parameters of the image frame, the bit number information used by the color component is not encoded into the PPS corresponding to the image frame.
在本实施例中,视频图像可以分为一个或多个流进行编码,每个流具有SPS并且可以包含一个或多个图像帧;每一图像帧具有PPS。此外,颜色分量的个数信息以及颜色分量所使用的比特数信息可以在对图像帧进行编码前预先确定,可以采用现有的任意方式。In this embodiment, the video image may be encoded into one or more streams, each stream having an SPS and may contain one or more image frames; each image frame having a PPS. Further, the number information of the color component and the bit number information used for the color component may be predetermined before encoding the image frame, and any existing method may be employed.
在对某一图像帧进行编码时,可能该图像帧所对应的流的SPS已经被编码;在这种情况下,可以不将颜色分量所使用的比特数信息编码到该图像帧所对应的PPS中,而根据SPS即可获得这些信息。When encoding an image frame, the SPS of the stream corresponding to the image frame may have been encoded; in this case, the bit number information used by the color component may not be encoded into the PPS corresponding to the image frame. In the middle, according to SPS can get this information.
图2是本发明实施例的图像编码方法的另一示意图,示出了本发明的一个实施方式。如图2所示,所述图像编码方法包括:2 is another schematic diagram of an image encoding method according to an embodiment of the present invention, showing an embodiment of the present invention. As shown in FIG. 2, the image encoding method includes:
步骤201,在对流的参数进行编码时确定颜色分量的个数信息以及颜色分量所使用的比特数信息;Step 201: Determine the number information of the color component and the bit number information used by the color component when encoding the parameter of the stream;
在本实施方式中,可确定SPS的chroma_format_idc和seq_parameter_set_rbsp()中的bit_depth_luma_minus8和bit_depth_chroma_minus8;具体可如现有标准所述。In the present embodiment, bit_depth_luma_minus8 and bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be determined; specifically, as described in the existing standard.
步骤202,在对流的参数进行编码时将颜色分量的个数信息以及颜色分量所使用的比特数信息编码到流对应的SPS中; Step 202: Encode the number information of the color component and the number of bits used by the color component into the SPS corresponding to the stream when encoding the parameter of the stream;
在本实施方式中,可以将SPS的chroma_format_idc和seq_parameter_set_rbsp()中的bit_depth_luma_minus8和bit_depth_chroma_minus8进行比特流编码;具体可如现有标准所述。In this embodiment, the bit_depth_luma_minus8 and the bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be bit-stream encoded; as described in the existing standard.
步骤203,在对图像帧的参数进行编码时确定颜色分量的个数信息以及颜色分量所使用的比特数信息;Step 203: Determine, when encoding the parameters of the image frame, the number information of the color component and the bit number information used by the color component;
在本实施方式中,可确定PPS的monochrome_palette_flag,luma_bit_depth_entry_minus8,chroma_bit_depth_entry_minus8;具体可如现有标准所述。In this embodiment, the monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 of the PPS may be determined; specifically, as described in the existing standard.
步骤204,在对图像帧的参数进行编码时将颜色分量的个数信息编码到图像帧所对应的PPS,以及不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS。Step 204: When encoding the parameters of the image frame, encode the number information of the color component to the PPS corresponding to the image frame, and not encode the bit number information used by the color component to the PPS corresponding to the image frame.
在本实施方式中,对于SPS参数的编码可以保持不变,而对于PPS参数的编码可以删除颜色分量所使用的比特数信息。In the present embodiment, the encoding of the SPS parameters may remain unchanged, and the encoding of the PPS parameters may delete the bit number information used by the color components.
表4示意性示出了本实施方式的PPS的一部分语法。例如在PPS中删除了bit-depth的相关信息。Table 4 schematically shows a part of the syntax of the PPS of the present embodiment. For example, the bit-depth related information is deleted in the PPS.
表4Table 4
假定一个SPS对应N个PPS,如果采用现有标准的话,在编码时假设SPS需要SPS_org个比特,N个PPS分别需要PPS_org1,PPS_org2,…PPS_orgN个比特;亮度分量和色度分量的bit-depth为8bit。Assume that one SPS corresponds to N PPS. If the existing standard is adopted, it is assumed that SPS requires SPS_org bits in encoding, and N PPS requires PPS_org1, PPS_org2, ... PPS_orgN bits respectively; the bit-depth of luminance component and chrominance component is 8bit.
以使用最短比特序列为例,SPS和PPS共需要如下数量的比特进行编码: Taking the shortest bit sequence as an example, SPS and PPS require the following number of bits to encode:
Total_org=SPS_org+PPS_org1+PPS_org2+…+PPS_orgN。Total_org=SPS_org+PPS_org1+PPS_org2+...+PPS_orgN.
而采用如表4所示的编码方式之后,SPS和PPS共需要如下数量的比特进行编码:After adopting the coding method shown in Table 4, SPS and PPS require the following number of bits to encode:
Total_new=SPS_org+PPS_org1-2+PPS_org2-2+…+PPS_orgN-2=Total_org–2*N。Total_new=SPS_org+PPS_org1-2+PPS_org2-2+...+PPS_orgN-2=Total_org–2*N.
由此,本发明实施例不但可以减少冗余信息,进一步降低编码的比特代价,而且可以优化HEVC的语法结构。Thus, the embodiment of the present invention can not only reduce redundant information, further reduce the bit cost of encoding, but also optimize the syntax structure of HEVC.
值得注意的是,图2仅示意性示出了本实施方式的情况,但本发明不限于此。例如步骤201和步骤203可以被合并进行,或者步骤203可以被省略。可以根据实际情况改变各步骤的执行顺序,也可以增加其他的步骤,或者省略或合并其中的一个或多个步骤。此外,关于具体如何进行比特流编码等内容,可以参考相关技术。It is to be noted that FIG. 2 only schematically shows the case of the present embodiment, but the present invention is not limited thereto. For example,
在其他实施方式中,步骤203中也可以不将颜色分量的个数信息编码到图像帧所对应的PPS;即表4中的monochrome_palette_flag也可以被删除。In other embodiments, the number information of the color components may not be encoded into the PPS corresponding to the image frame in
图3是本发明实施例的图像编码方法的另一示意图,示出了本发明的另一个实施方式。如图3所示,所述图像编码方法包括:3 is another schematic diagram of an image encoding method according to an embodiment of the present invention, showing another embodiment of the present invention. As shown in FIG. 3, the image encoding method includes:
步骤301,在对流的参数进行编码时确定颜色分量的个数信息以及颜色分量所使用的比特数信息;Step 301: Determine the number information of the color component and the bit number information used by the color component when encoding the parameter of the stream;
在本实施方式中,可确定SPS的chroma_format_idc和seq_parameter_set_rbsp()中的bit_depth_luma_minus8和bit_depth_chroma_minus8;具体可如现有标准所述。此外,还可以在对流的参数进行编码时确定monochrome_palette_flag,luma_bit_depth_entry_minus8,chroma_bit_depth_entry_minus8。In the present embodiment, bit_depth_luma_minus8 and bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be determined; specifically, as described in the existing standard. In addition, it is also possible to determine monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 when encoding the parameters of the stream.
步骤302,在对流的参数进行编码时将颜色分量的个数信息以及颜色分量所使用的比特数信息编码到流对应的SPS中;
在本实施方式中,可将SPS的chroma_format_idc和seq_parameter_set_rbsp()中的bit_depth_luma_minus8和bit_depth_chroma_minus8进行比特流编码;具体可如现有标准所述。此外,还可以将monochrome_palette_flag,luma_bit_depth_entry_minus8,chroma_bit_depth_entry_minus8编码到SPS中。In this embodiment, the bit_depth_luma_minus8 and the bit_depth_chroma_minus8 in the chroma_format_idc and seq_parameter_set_rbsp() of the SPS may be bit-stream encoded; specifically, as described in the existing standard. In addition, monochrome_palette_flag, luma_bit_depth_entry_minus8, chroma_bit_depth_entry_minus8 can also be encoded into the SPS.
表5示意性示出了本实施方式的SPS的一部分语法。例如在SPS中增加了颜色分量的个数信息以及bit-depth的相关信息。 Table 5 schematically shows a part of the syntax of the SPS of the present embodiment. For example, the number information of the color component and the information about the bit-depth are added to the SPS.
表5table 5
步骤303,在对图像帧的参数进行编码时不将颜色分量的个数信息编码到图像帧所对应的PPS,以及不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS。Step 303: When encoding the parameters of the image frame, the number information of the color component is not encoded into the PPS corresponding to the image frame, and the bit number information used by the color component is not encoded into the PPS corresponding to the image frame.
表6示意性示出了本实施方式的PPS的一部分语法。例如在PPS中删除了颜色分量的个数信息以及bit-depth的相关信息。Table 6 schematically shows a part of the syntax of the PPS of the present embodiment. For example, the number information of the color component and the related information of the bit-depth are deleted in the PPS.
表6Table 6
假定一个SPS对应N个PPS,如果采用现有标准的话,在编码时假设SPS需要SPS_org个比特,N个PPS分别需要PPS_org1,PPS_org2,…PPS_orgN个比特;亮度分量和色度分量的bit-depth为8bit。Assume that one SPS corresponds to N PPS. If the existing standard is adopted, it is assumed that SPS requires SPS_org bits in encoding, and N PPS requires PPS_org1, PPS_org2, ... PPS_orgN bits respectively; the bit-depth of luminance component and chrominance component is 8bit.
以使用最短比特序列为例,SPS和PPS共需要如下数量的比特进行编码:Taking the shortest bit sequence as an example, SPS and PPS require the following number of bits to encode:
Total_org=SPS_org+PPS_org1+PPS_org2+…+PPS_orgN。Total_org=SPS_org+PPS_org1+PPS_org2+...+PPS_orgN.
而采用如表5和表6所示的编码方式之后,SPS和PPS共需要如下数量的比特进行编码:After adopting the coding methods as shown in Table 5 and Table 6, SPS and PPS require the following number of bits to encode:
Total_new=SPS_org+3+PPS_org1-3+PPS_org2-3+…+PPS_orgN-3=Total_org+3-3*N。Total_new=SPS_org+3+PPS_org1-3+PPS_org2-3+...+PPS_orgN-3=Total_org+3-3*N.
由此,本发明实施例不但可以减少冗余信息,进一步降低编码的比特代价,而且可以优化HEVC的语法结构。Thus, the embodiment of the present invention can not only reduce redundant information, further reduce the bit cost of encoding, but also optimize the syntax structure of HEVC.
值得注意的是,图3仅示意性示出了本实施方式的情况,但本发明不限于此。可以根据实际情况改变各步骤的执行顺序,也可以增加其他的步骤,或者省略或合并其中的一个或多个步骤。此外,关于具体如何进行比特流编码等内容,可以参考相关技术。It is to be noted that FIG. 3 only schematically shows the case of the present embodiment, but the present invention is not limited thereto. The order of execution of each step may be changed according to actual conditions, or other steps may be added, or one or more of the steps may be omitted or merged. In addition, regarding the specific content of how to perform bit stream encoding, etc., reference may be made to related art.
由上述实施例可知,在对图像帧进行编码时可以不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS中;进一步地,可以不将颜色分量的个数信息编码到图像帧所对应的PPS中。由此不但可以减少冗余信息,进一步降低编码的比特代价,而且可以优化HEVC的语法结构。It can be seen from the foregoing embodiment that the bit number information used by the color component may not be encoded into the PPS corresponding to the image frame when encoding the image frame; further, the number information of the color component may not be encoded into the image frame. Corresponding to the PPS. This not only reduces redundant information, further reduces the bit cost of encoding, but also optimizes the syntax structure of HEVC.
实施例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.
图4是本发明实施例的图像编码装置的一示意图,如图4所示,图像编码装置400包括:4 is a schematic diagram of an image encoding apparatus according to an embodiment of the present invention. As shown in FIG. 4, the
信息确定单元401,确定颜色分量的个数信息以及颜色分量所使用的比特数信息;The
编码单元402,其在对图像帧的参数进行编码时不将颜色分量所使用的比特数信息编码到图像帧所对应的PPS。The
值得注意的是,图4仅示意性示出了图像编码装置中与本发明实施例相关的部分 单元,但本发明不限于此。关于图像编码的其他单元(例如确定调色板的单元等)可以参考现有技术,此处不再赘述。It is to be noted that FIG. 4 only schematically shows a part of the image encoding apparatus related to the embodiment of the present invention. Unit, but the invention is not limited thereto. For other units of image coding (for example, a unit for determining a color palette, etc.), reference may be made to the prior art, and details are not described herein again.
在一个实施方式中,编码单元402还可以用于:不将颜色分量的个数信息编码到所述图像帧所对应的PPS。In an embodiment, the
在另一个实施方式中,编码单元402还可以用于:在对图像帧所在的流的参数进行编码时,将颜色分量的个数信息以及颜色分量所使用的比特数信息编码到所述流所对应的SPS。In another embodiment, the
在另一个实施方式中,编码单元402还可以用于:将颜色分量的个数信息编码到图像帧所对应的PPS。In another embodiment, the
在本实施例中,颜色分量的个数信息可以表示为monochrome_palette_flag;In this embodiment, the number information of the color component may be represented as monochrome_palette_flag;
在颜色分量为亮度分量的情况下,颜色分量所使用的比特数信息可以表示为luma_bit_depth_entry_minus8;在颜色分量包括亮度分量和色度分量的情况下,颜色分量所使用的比特数信息可以表示为luma_bit_depth_entry_minus8以及chroma_bit_depth_entry_minus8。In the case where the color component is a luminance component, the bit number information used by the color component may be expressed as luma_bit_depth_entry_minus8; in the case where the color component includes a luminance component and a chrominance component, the bit number information used by the color component may be expressed as luma_bit_depth_entry_minus8 and Chroma_bit_depth_entry_minus8.
本发明实施例还提供一种图像编码器,包括如上所述的图像编码装置400。An embodiment of the present invention also provides an image encoder comprising the
图5是本发明实施例的图像编码器的一构成示意图。如图5所示,图像编码器500可以包括:中央处理器(CPU)100和存储器110;存储器110耦合到中央处理器100。其中该存储器110可存储各种数据;此外还存储信息处理的程序,并且在中央处理器100的控制下执行该程序。FIG. 5 is a schematic diagram showing the structure of an image encoder according to an embodiment of the present invention. As shown in FIG. 5,
在一个实施方式中,图像编码装置400的功能可以被集成到中央处理器100中。其中,中央处理器100可以被配置为实现如实施例1所述的图像编码方法。In one embodiment, the functionality of
在另一个实施方式中,图像编码装置400可以与中央处理器分开配置,例如可以将图像编码装置400配置为与中央处理器100连接的芯片,通过中央处理器的控制来实现图像编码装置400的功能。In another embodiment, the
此外,如图5所示,图像编码器500还可以包括:输入输出单元120和显示单元130等;其中,上述部件的功能与现有技术类似,此处不再赘述。值得注意的是,图像编码器500也并不是必须要包括图5中所示的所有部件;此外,图像编码器500还可以包括图5中没有示出的部件,可以参考现有技术。In addition, as shown in FIG. 5, the
由上述实施例可知,在对图像帧进行编码时可以不将颜色分量所使用的比特数信 息编码到图像帧所对应的PPS中;进一步地,可以不将颜色分量的个数信息编码到图像帧所对应的PPS中。由此,不但可以减少冗余信息,进一步降低编码的比特代价,而且可以优化HEVC的语法结构。It can be seen from the above embodiment that the number of bits used for the color component may not be used when encoding the image frame. The information is encoded into the PPS corresponding to the image frame; further, the number information of the color component may not be encoded into the PPS corresponding to the image frame. Thereby, not only the redundant information can be reduced, the bit cost of the encoding is further reduced, and the syntax structure of the HEVC can be optimized.
实施例3Example 3
本发明实施例提供一种图像处理设备,所述图像处理设备包括:如实施例2所述的图像编码器,此外还可以包括相应的图像解码器。本发明实施例与实施例1和2相同的内容不再赘述。An embodiment of the present invention provides an image processing apparatus, where the image processing apparatus includes the image encoder as described in Embodiment 2, and further includes a corresponding image decoder. The same content of the embodiment of the present invention and the first and second embodiments will not be described again.
图6是本发明实施例的图像处理设备的一示意图,如图6所示,图像处理设备600包括:FIG. 6 is a schematic diagram of an image processing apparatus according to an embodiment of the present invention. As shown in FIG. 6, the
图像编码器601,其确定颜色分量的个数信息以及颜色分量所使用的比特数信息;以及在对图像帧的参数进行编码时不将颜色分量所使用的比特数信息编码到所述图像帧所对应的PPS;和/或The
图像解码器602,其根据所述图像帧所在的流所对应的SPS确定颜色分量所使用的比特数信息,以及对所述图像帧进行解码。The
在一个实施方式中,图像编码器601还可以不将颜色分量的个数信息编码到所述图像帧所对应的PPS;以及图像解码器602可以根据图像帧所在的流所对应的SPS确定颜色分量的个数信息。In an embodiment, the
在另一个实施方式中,图像编码器601可以在对图像帧所在的流的参数进行编码时,将颜色分量的个数信息以及颜色分量所使用的比特数信息编码到所述流所对应的SPS。In another embodiment, the
在另一个实施方式中,图像编码器601还可以将颜色分量的个数信息编码到所述图像帧所对应的PPS。In another embodiment, the
在本实施例中,图像编码器601和/或图像解码器602的构成可以参考图5;即可以采用CPU加Memory的架构实现。图像编码器601可以实现实施例1所述的图像编码方法,图像解码器602可以实现与实施例1的图像编码方法相应的图像解码方法。In this embodiment, the configuration of the
本发明实施例还提供一种计算机可读程序,其中当在图像处理设备中执行所述程序时,所述程序使得计算机在所述图像处理设备中执行如实施例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 as described in Embodiment 1 in the image processing apparatus and / or the corresponding image decoding method.
本发明实施例还提供一种存储有计算机可读程序的存储介质,其中所述计算机可读程序使得计算机在图像处理设备中执行如实施例1所述的图像编码方法和/或相应的图像解码方法。Embodiments of the present invention also provide a storage medium storing a computer readable program, wherein the computer readable program causes a computer to perform an image encoding method and/or corresponding image decoding as described in Embodiment 1 in an image processing apparatus method.
本发明以上的装置和方法可以由硬件实现,也可以由硬件结合软件实现。本发明涉及这样的计算机可读程序,当该程序被逻辑部件所执行时,能够使该逻辑部件实现上文所述的装置或构成部件,或使该逻辑部件实现上文所述的各种方法或步骤。本发明还涉及用于存储以上程序的存储介质,如硬盘、磁盘、光盘、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 (14)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/091989 WO2017063168A1 (en) | 2015-10-15 | 2015-10-15 | Image coding method and apparatus, and image processing device |
| CN201580080762.XA CN107710760A (en) | 2015-10-15 | 2015-10-15 | Image coding method, device and image processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/091989 WO2017063168A1 (en) | 2015-10-15 | 2015-10-15 | Image coding method and apparatus, and image processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017063168A1 true WO2017063168A1 (en) | 2017-04-20 |
Family
ID=58517009
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/091989 Ceased WO2017063168A1 (en) | 2015-10-15 | 2015-10-15 | Image coding method and apparatus, and image processing device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN107710760A (en) |
| WO (1) | WO2017063168A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| SG11202108938TA (en) | 2019-02-24 | 2021-09-29 | Beijing Bytedance Network Technology Co Ltd | Independent coding of palette mode usage indication |
| WO2020169104A1 (en) | 2019-02-24 | 2020-08-27 | Beijing Bytedance Network Technology Co., Ltd. | Joint coding of palette mode usage indication |
| WO2020207421A1 (en) * | 2019-04-09 | 2020-10-15 | Beijing Bytedance Network Technology Co., Ltd. | Entry construction for palette mode coding |
| CN114175662B (en) | 2019-07-20 | 2023-11-24 | 北京字节跳动网络技术有限公司 | Palette mode uses the indicated condition-dependent codec |
| CN114145013B (en) | 2019-07-23 | 2023-11-14 | 北京字节跳动网络技术有限公司 | Mode determination for palette mode coding and decoding |
| EP3991411A4 (en) | 2019-07-29 | 2022-08-24 | Beijing Bytedance Network Technology Co., Ltd. | CODING IN PALETTE MODE IN A PREDICTION PROCESS |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101395922A (en) * | 2006-11-17 | 2009-03-25 | Lg电子株式会社 | Method and apparatus for decoding/encoding video signal |
| US20130170548A1 (en) * | 2010-08-03 | 2013-07-04 | Nec Corporation | Video encoding device, video decoding device, video encoding method, video decoding method and program |
| CN103535035A (en) * | 2011-05-16 | 2014-01-22 | 联发科技股份有限公司 | Method and apparatus for sample adaptive offset of luma and chroma components |
| CN104871539A (en) * | 2012-12-18 | 2015-08-26 | 索尼公司 | Image processing device and image processing method |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10291827B2 (en) * | 2013-11-22 | 2019-05-14 | Futurewei Technologies, Inc. | Advanced screen content coding solution |
-
2015
- 2015-10-15 CN CN201580080762.XA patent/CN107710760A/en active Pending
- 2015-10-15 WO PCT/CN2015/091989 patent/WO2017063168A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101395922A (en) * | 2006-11-17 | 2009-03-25 | Lg电子株式会社 | Method and apparatus for decoding/encoding video signal |
| US20130170548A1 (en) * | 2010-08-03 | 2013-07-04 | Nec Corporation | Video encoding device, video decoding device, video encoding method, video decoding method and program |
| CN103535035A (en) * | 2011-05-16 | 2014-01-22 | 联发科技股份有限公司 | Method and apparatus for sample adaptive offset of luma and chroma components |
| CN104871539A (en) * | 2012-12-18 | 2015-08-26 | 索尼公司 | Image processing device and image processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107710760A (en) | 2018-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11012489B2 (en) | Picture file processing method, picture file processing device, and storage medium | |
| CN104041036B (en) | Video encoding method, video decoding method, encoder, decoder and system | |
| TWI677232B (en) | Picture file processing method, device, and storage medium | |
| WO2017063168A1 (en) | Image coding method and apparatus, and image processing device | |
| US10419778B2 (en) | JCTVC-L0227: VPS_extension with updates of profile-tier-level syntax structure | |
| BR112021000379A2 (en) | METHOD AND APPARATUS FOR CHROMA QUANTIZATION PARAMETER MAPPING FUNCTION SIGNALING | |
| TWI707309B (en) | Method, system and storage medium for processing image file | |
| CN107431826A (en) | Method and apparatus for initializing palette predictor for palette coding in video image compression | |
| TW201926993A (en) | Video decoding apparatus and video decoding method | |
| CN111669597B (en) | Palette decoding apparatus and method | |
| WO2018184464A1 (en) | Picture file processing method and device, and storage medium | |
| CN111131654B (en) | Watermark embedding method and device and coder-decoder | |
| WO2016197334A1 (en) | Image encoding/decoding method and apparatus | |
| CN114827611B (en) | Video image encoding and decoding method, apparatus and medium | |
| CN113163212A (en) | Video decoding method and apparatus, video encoding method and apparatus, medium, and device | |
| CN113099232B (en) | Video decoding the method is a device(s) electronic device and computing machine storage medium | |
| WO2016119196A1 (en) | Image coding method, apparatus, and image processing device | |
| WO2015192340A1 (en) | Palette-based image coding method, device and image processing device | |
| WO2025061535A1 (en) | Methods and apparatus for associating attributes at different levels of a hierarchical mesh codec | |
| CN116112679A (en) | Image encoding and decoding method, device, electronic device and storage medium | |
| CN111699681A (en) | Video image processing method, device and storage medium | |
| BR112021004124A2 (en) | video decoding method and video decoder | |
| HK1251970B (en) | Decoder and method for generating high dynamic range images, and storage medium | |
| WO2017063169A1 (en) | Image coding method and apparatus, and image processing device | |
| BR112019017670A2 (en) | METHOD AND DEVICE FOR REBUILDING AN HDR IMAGE |
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: 15906053 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: 15906053 Country of ref document: EP Kind code of ref document: A1 |