WO2020211642A1 - Code block prediction method and apparatus, and code block decoding method and apparatus - Google Patents
Code block prediction method and apparatus, and code block decoding method and apparatus Download PDFInfo
- Publication number
- WO2020211642A1 WO2020211642A1 PCT/CN2020/082689 CN2020082689W WO2020211642A1 WO 2020211642 A1 WO2020211642 A1 WO 2020211642A1 CN 2020082689 W CN2020082689 W CN 2020082689W WO 2020211642 A1 WO2020211642 A1 WO 2020211642A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- block
- prediction
- iterative
- prediction mode
- intra
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 claims description 37
- 238000004590 computer program Methods 0.000 claims description 17
- 238000013139 quantization Methods 0.000 claims description 13
- 238000004364 calculation method Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 5
- 230000002457 bidirectional effect Effects 0.000 description 4
- 230000009466 transformation Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010187 selection method Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- 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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
-
- 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/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- 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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/577—Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
Definitions
- the present disclosure relates to but is not limited to the field of communications.
- Video coding is a video compression technology that achieves the purpose of video compression by eliminating redundant information such as temporal redundancy, spatial redundancy, and coding redundancy in the video sequence.
- Prediction technology is an important part of video coding technology, divided into intra-frame prediction and inter-frame prediction.
- Intra prediction is mainly used to eliminate the spatial redundancy information in the video sequence.
- When performing intra prediction on the current block first obtain the adjacent reconstructed pixels of the current block as reference pixels, and then obtain the reference pixels according to different prediction modes The pixel value of the current block, and the optimal prediction mode is selected by calculating the rate-distortion cost in different prediction modes, and finally the prediction residual block of the current block is transformed, quantized, and entropy-coded and then transmitted to the decoding end.
- the decoding end can obtain the prediction mode used by the encoding end and the corresponding residual block by decoding the code stream, and then obtain the prediction block according to the prediction mode, and further add the residual block to obtain the reconstructed block, and finally reconstruct all the codes Blocks can reconstruct the entire video sequence.
- the intra-frame prediction method in the related art causes inaccurate prediction and large prediction residual due to the limitation of reference pixels.
- a method for predicting a code block which includes: an encoding device divides an intra-predicted encoding block, and selects reference pixels from reconstructed pixels in the divided sub-blocks; The encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; the encoding device compares the intra-frame prediction encoding block with the iteratively predicted encoding block The distortion parameter determines the prediction mode of the coding block and sets the corresponding flag bit; the coding device sends the coding block corresponding to the prediction mode and the flag bit to the decoding device.
- a method for decoding a code block which includes: a decoding device receives a prediction block and a flag sent by an encoding device; and the decoding device compares all data according to the prediction mode carried in the flag.
- the prediction block is decoded, wherein the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- a code block prediction device which is located in the coding device, and includes: a selection module for dividing an intra-frame predicted coding block, from among the divided sub-blocks A reference pixel is selected from the reconstructed pixels; a prediction module is used to perform iterative prediction on each of the sub-blocks using the reference pixels to obtain an iteratively predicted coding block; a determination module is used to compare the coding after the intra-frame prediction Block and the distortion parameters of the coded block after the iterative prediction, determine the prediction mode of the coded block and set the corresponding flag bit; the sending module is used to send the coded block corresponding to the prediction mode and the flag bit to the decoding device .
- a device for decoding code blocks which is characterized in that it includes: a receiving module for receiving prediction blocks and flag bits sent by an encoding device; The prediction mode carried in the bit decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
- an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the foregoing Steps in the method embodiment.
- Fig. 1 is a flowchart of a method for predicting a code block according to an embodiment of the present disclosure
- Fig. 2 is a schematic diagram of dividing a coding block according to an embodiment of the present disclosure
- Fig. 3 is a schematic diagram of a sub-block according to an embodiment of the present disclosure.
- Fig. 4 is a schematic diagram of a bidirectional prediction according to an embodiment of the present disclosure.
- Fig. 5 is a flowchart of a method for decoding code blocks according to an embodiment of the present disclosure
- Fig. 6 is a structural block diagram of a code block prediction apparatus according to an embodiment of the present disclosure.
- Fig. 7 is a structural block diagram of a code block decoding device according to an embodiment of the present disclosure.
- Figure 8 shows an original coding block
- 9A to 9D show the process of traditional prediction and reconstruction
- FIG. 11A shows the coefficient block after transform and quantization of the residual block in the traditional intra mode
- FIG. 11B shows the coefficient block after transform and quantization of the residual block corresponding to the iterative prediction mode.
- a method for predicting code blocks is provided.
- Fig. 1 is a flowchart of a method for predicting code blocks according to an embodiment of the present disclosure. As shown in Fig. 1, the process includes the following steps: Step S102: The coding device divides the code block after intra-frame prediction.
- step S104 the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block
- step S106 the encoding The device compares the distortion parameters of the coding block after intra-frame prediction and the coding block after iterative prediction, determines the prediction mode of the coding block and sets the corresponding flag bit
- step S108 the coding device corresponds the prediction mode The coding block and the flag bit are sent to the decoding device.
- the encoding device when performing intra-frame prediction, uses original reference pixels of the coded block to perform intra-frame prediction and reconstruction of the coded block.
- the division method includes one of the following: no division is performed on the coding block, and N division division is performed on the coding block, where N is a positive integer greater than or equal to 2.
- Fig. 2 is a schematic diagram of dividing a coding block according to an embodiment of the present disclosure. As shown in Figure 2, Figure 2 shows several examples of N-division.
- the encoding device selecting reference pixels from the divided sub-blocks includes: the encoding device selecting boundary pixels in the sub-blocks as the reference pixels.
- Fig. 3 is a schematic diagram of a sub-block according to an embodiment of the present disclosure.
- the pixels at the outermost part of the sub-block are regarded as reference pixels (lattice area) of the sub-block.
- W*H in Fig. 3 take 1 as the width
- W as the length of the upper and lower border pixel sets
- H as the left border of the width
- the set of pixels on the right and right boundary is regarded as the boundary pixels of the sub-block.
- the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block, including: the encoding device uses the reference pixels to perform each of the The internal pixels in the reconstructed pixels in the sub-blocks are iteratively predicted to obtain the predicted value of the internal pixels.
- the reconstructed pixels excluding the aforementioned boundary pixels in the sub-block are all internal pixels.
- the encoding device uses the reference pixels to iteratively predict the internal pixels in each sub-block to obtain the predicted value of the internal pixels, including: the encoding device according to the reference The value of the pixel and the distance between the predicted pixel in the internal pixel and the reference pixel determine the predicted value of the predicted pixel; the encoding device predicts the predicted pixel according to the pixel order of the internal pixel The results are arranged to obtain the predicted value of the internal pixels.
- the first reference pixel is the reference pixel in the upper left corner
- the second reference pixel is the reference pixel in the lower right corner.
- Fig. 4 is a schematic diagram of a bidirectional prediction according to an embodiment of the present disclosure.
- the horizontal line filled area is the predicted pixel
- the white pixel is the unpredicted pixel
- the diagonal line filled area is the reference pixel
- the vertical line filled area is the predicted pixel.
- a method of placing the predicted pixel on the connecting line between the two reference pixels can be considered. In this case, it is only necessary to calculate the vertical or horizontal distance, that is, the distance between the prediction pixel in FIG. 4 and the first reference pixel (pixel value ⁇ ) and the second reference pixel (pixel value ⁇ ).
- the bidirectional prediction used in FIG. 4 is only a method for calculating the predicted value of the predicted pixel in the embodiment of the present disclosure.
- Other prediction methods such as learning through a neural network to achieve prediction, are also within the protection scope of the present disclosure, and will not be repeated here.
- the foregoing embodiment provides a method of using boundary pixels in the reconstructed pixels.
- other ways of selecting some pixels from the reconstructed pixels as reference pixels are also within the protection scope of the present disclosure.
- the sub-blocks are obtained through division. Therefore, there must be adjacent pixels between multiple adjacent sub-blocks.
- select common pixels from these adjacent pixels as reference pixels For example, take the binary division of Figure 2 as an example.
- the lowermost boundary pixel of the upper sub-block can be used as the reference pixel of the lower sub-block.
- the uppermost boundary pixel of the lower sub-block can also be used as the reference pixel of the upper sub-block.
- the time for determining the reference pixels can be saved, thereby improving the calculation efficiency.
- the selected reference pixels in addition to the common pixels are different in each individual sub-block, the position of the other reference pixels can be used to facilitate matching by the encoding device in the subsequent stitching process.
- the method further includes: the encoding device determines that the predicted value of the boundary pixel after iterative prediction is the predicted value of the boundary pixel after intra prediction; the encoding device is based on the sub-block According to the pixel position relationship of, the iterative prediction block of the sub-block is generated through the predicted value of the boundary pixel and the predicted value of the internal pixel.
- the encoding device splices the iterative prediction blocks of the sub-blocks according to the positional relationship between the sub-blocks to obtain the iteratively predicted encoding block.
- the distortion parameter at least includes: a rate-distortion cost, wherein the rate-distortion cost is determined by adding the bit and distortion of the code block after the flag bit is added.
- the rate-distortion cost is only one of the distortion parameters listed in the present disclosure, and other distortion parameters, such as the size of the coding block and the distortion size of the intra-frame prediction mode, are also within the protection scope of the present disclosure.
- calculating the bits of the coding block after the iterative prediction after adding the flag bit includes: the coding device according to the bits required by the coefficient block, the bits required by the flag bit, and the frame The bits required for the coding block after intra-prediction are calculated for the bits corresponding to the coding block after iterative prediction; wherein, the coefficient block is determined according to the uncoded code block and the coding block after the iterative prediction.
- the coefficient block is determined in the following manner: the uncoded code block is subtracted from the coded block after iterative prediction to obtain the residual block.
- a change operation for example, a change mode determined by the coding framework, such as DCT transform
- the transform block is obtained, and then the transform block is quantized, that is, the value in the transform block is divided by the quantization step to obtain the coefficient block.
- the bits required by the coefficient block refer to the bits required for entropy coding of the coefficient block.
- calculating the distortion of the coding block after the iterative prediction after the flag bit is added includes: the coding device performs a calculation on the difference between the code block before coding and the coding block after the iterative prediction. Quantization operation to obtain a distortion residual block; the coding device determines an intermediate reconstruction block according to the distortion residual block and the intra-frame predicted coding block; the coding device iteratively predicts the intermediate reconstruction block to obtain An intermediate prediction block and determine a final reconstruction block with the distortion residual block; the encoding device calculates the distortion between the final reconstruction block and the code block before encoding according to a preset distortion calculation criterion.
- the intermediate reconstruction block may be determined by the sum of the distortion residual block and the coded block after intra-frame prediction.
- the method for determining the intermediate reconstruction block and the final reconstruction block is not limited to the above-mentioned method, and other acquisition methods are also within the protection scope of the present disclosure, and will not be repeated here.
- the preset distortion calculation criterion includes, but is not limited to, the Mean Squared Error (MSE) criterion.
- calculating the distortion of the intra-frame predicted coding block after the flag bit is added includes: the coding device calculates the intra-frame predicted coding block and the intra-frame prediction according to a preset distortion calculation criterion. Distortion between code blocks before encoding.
- the encoding device determines the The prediction mode of the coding block is intra prediction, and the mark position is the value corresponding to the intra prediction; when the coding device determines that the rate distortion cost corresponding to the coding block after intra prediction is greater than the iteration
- the coding device determines that the prediction mode of the coded block is an iterative prediction mode, and sets the flag position to a value corresponding to the iterative prediction mode.
- the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation.
- the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.
- a method for decoding code blocks is provided.
- Fig. 5 is a flowchart of a method for decoding a code block according to an embodiment of the present disclosure. As shown in Fig. 5, the process includes the following steps: step S502, the decoding device receives the prediction block and the flag sent by the encoding device; S504. The decoding device decodes the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- the decoding device decodes the prediction block according to the prediction mode carried in the flag bit, including: the decoding device determines the final reconstruction according to the residual block obtained from the code stream and the prediction mode Block and decode the final reconstructed block.
- the decoding device determines the final reconstructed block according to the residual block obtained from the bitstream and the prediction mode, including: when the prediction mode is the intra prediction mode, the intra prediction mode is used to obtain Prediction block, the decoding device obtains the final reconstructed block according to the residual block obtained from the code stream and the prediction block corresponding to the intra prediction mode.
- the decoding device determines the final reconstruction block according to the residual block obtained from the code stream and the prediction mode, including: when the prediction mode is an iterative prediction mode, the decoding device The residual block obtained in the stream and the prediction block generated by the intra prediction mode are used to obtain the intermediate reconstruction block; the decoding device obtains the intermediate prediction block after iterative prediction on the intermediate reconstruction block; the decoding device obtains the intermediate prediction block according to the intermediate prediction The block and the residual block obtained from the code stream determine the final reconstruction block.
- the iterative prediction of the intermediate reconstruction block by the decoding device includes: the decoding device divides the intermediate reconstruction block and selects reference pixels from the divided sub-blocks; the encoding device uses The reference pixels perform iterative prediction on each of the sub-blocks to obtain a coded block after iterative prediction.
- Figure 8 depicts an original coding block. As shown in Fig. 8, the left and upper pixels in the coding block are used as reference pixels (gray areas). The other areas are the values of the original coding block (white areas).
- Figures 9A to 9D show the process of traditional prediction and reconstruction.
- the value of the original coded block is intra-predicted by the traditional intra-frame 45-degree prediction mode, and the corresponding prediction block is obtained.
- the prediction block after intra prediction is subtracted from the value of the original block to obtain the residual block, as shown in FIG. 9B.
- the residual block is subjected to a series of quantization operations (for example, inverse quantization and inverse transformation after transform and quantization) to obtain the distorted residual block, as shown in FIG. 9C.
- a series of quantization operations for example, inverse quantization and inverse transformation after transform and quantization
- the distorted residual block and the prediction block are added to obtain the reconstructed block after intra-frame prediction, as shown in FIG. 9D.
- Figures 10A to 10H are the iterative prediction and reconstruction process.
- the external pixel prediction value is the same as the traditional intra mode. That is, as shown in FIG. 10A, the parts not shown in FIG. 10A are internal pixels in the subsequent iterative prediction.
- the prediction block after iterative prediction is obtained, as shown in FIG. 10C.
- the value of the original coding block is used to subtract the prediction block after iterative prediction to obtain the residual block, as shown in FIG. 10D.
- the residual block is subjected to a series of quantization operations (for example, inverse quantization and inverse transformation after transform and quantization) to obtain the distorted residual block, as shown in FIG. 10E.
- a series of quantization operations for example, inverse quantization and inverse transformation after transform and quantization
- the distorted residual block needs to be added to the prediction block after intra prediction to obtain an intermediate reconstruction block, as shown in FIG. 10F.
- the external prediction value is still the same as the intra mode, but when the internal prediction is performed, the right and lower reference pixels are from the lower right boundary pixel of the middle reconstruction block, and the final internal prediction value is shown in Figure 10G.
- the distortion and code rate of the intra-frame prediction mode and iterative prediction mode are calculated.
- the distortion of the traditional intra mode is the MSE value of the corresponding pixel block in Figure 9D and Figure 8, which is 60.06
- the distortion of the iterative prediction mode is the MSE value of the corresponding pixel block in Figure 10H and Figure 8, which is 58.00 , It can be seen that the distortion of the iterative prediction mode is smaller.
- the number of bits required for entropy coding of the coefficient block in the scanning order is 12, and a total of 13 bits are required for adding the flag bit.
- the coefficient block after transformation and quantization of the residual block corresponding to the iterative prediction mode is shown in FIG. 11B.
- Entropy coding of the coefficient block requires only 2 bits, and a total of 3 bits are required for adding the flag bit.
- the MSE distortion of iterative prediction is less than that of the traditional mode, and the required bit rate is also less than that of the traditional mode. Therefore, the final rate-distortion cost is also less than the traditional model.
- a device for predicting code blocks is also provided, and the device is used to implement the above-mentioned embodiments and implementations, and those that have been explained will not be repeated.
- the term "module” can implement a combination of software and/or hardware with predetermined functions.
- the devices described in the following embodiments are implemented by software, hardware or a combination of software and hardware is also possible and conceived.
- Fig. 6 is a structural block diagram of a code block prediction device according to an embodiment of the present disclosure.
- the device includes: a selection module 62 configured to divide the code block after intra-frame prediction. Reference pixels are selected from the reconstructed pixels in the sub-blocks; the prediction module 64 is configured to use the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; the determination module 66 is configured to compare all The distortion parameters of the coding block after intra-frame prediction and the coding block after iterative prediction, determining the prediction mode of the coding block and setting the corresponding flag bit; the sending module 68 is configured to configure the coding block corresponding to the prediction mode and The flag bit is sent to the decoding device.
- each of the above modules can be implemented by software or hardware.
- it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
- a device for decoding code blocks is also provided, and the device is used to implement the above-mentioned embodiments and implementations, and those that have been explained will not be repeated.
- the term "module” can implement a combination of software and/or hardware with predetermined functions.
- the devices described in the following embodiments are implemented by software, hardware or a combination of software and hardware is also possible and conceived.
- Fig. 7 is a structural block diagram of a code block decoding device according to an embodiment of the present disclosure. As shown in Fig. 7, the device includes: a receiving module 72 configured to receive a prediction block and a flag bit sent by an encoding device; a decoding module 74. It is configured to decode the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- each of the above modules can be implemented by software or hardware.
- it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
- a storage medium is further provided, and the storage medium stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
- the above-mentioned storage medium may be configured to store a computer program for performing the following steps: Step S1, the encoding device divides the coded block after intra-frame prediction, from the reconstructed pixels in the divided sub-blocks Select reference pixels; step S2, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; step S3, the encoding device compares the intra-frame predicted Distortion parameters of the coding block and the coding block after the iterative prediction, determining the prediction mode of the coding block and setting the corresponding flag bit; step S4, the coding device sends the coding block corresponding to the prediction mode and the flag bit To the decoding device.
- Step S1 the encoding device divides the coded block after intra-frame prediction, from the reconstructed pixels in the divided sub-blocks Select reference pixels
- step S2 uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted en
- the above-mentioned storage medium may be configured to store a computer program for performing the following steps: step S1, the decoding device receives the prediction block and the flag bit sent by the encoding device; step S2, the decoding device according to the The prediction mode carried in the flag bit decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- the above-mentioned storage media may include but are not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), mobile hard disk, magnetic disk or optical disk, etc.
- a medium that can store a computer program may include but are not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), mobile hard disk, magnetic disk or optical disk, etc.
- an electronic device including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the foregoing method embodiments.
- the above electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the above processor, and the input/output device is connected to the above processor.
- the above-mentioned processor may be configured to execute the following steps through a computer program: Step S1, the encoding device divides the coded block after intra-frame prediction, and selects reference pixels from the reconstructed pixels in the divided sub-blocks Step S2, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; Step S3, the encoding device compares the intra-frame predicted encoding block and The distortion parameter of the coding block after the iterative prediction is determined, the prediction mode of the coding block is determined, and the corresponding flag bit is set; step S4, the coding device sends the coding block corresponding to the prediction mode and the flag bit to the decoding device .
- the above-mentioned processor may be configured to execute the following steps through a computer program: step S1, the decoding device receives the prediction block and the flag bit sent by the encoding device; step S2, the decoding device according to the flag bit
- the carried prediction mode decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- an iterative prediction mode is also provided, and the prediction mode selects reference pixels as needed in the part after the current block is divided, instead of adjacent to the current block in the traditional prediction mode
- the reconstructed pixels are used as reference pixels. Therefore, the intra-frame prediction method in the related art can solve the problem of inaccurate prediction and large prediction residual due to the limitation of the reference pixel, and achieve the effect of simple implementation process, low coding complexity, and improved prediction performance.
- modules or steps of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices.
- they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The present application provides a code block prediction method and apparatus, and a code block decoding method and apparatus. The code block prediction method comprises: an encoding means divides coded blocks subjected to intra-frame prediction, selects a reference pixel from reconstructed pixels in the divided subblocks; the encoding means performs iterative prediction on each subblock by using the reference pixel to obtain coded blocks subjected to iterative prediction; the encoding means compares distortion parameters of the coded blocks subjected to intra-frame prediction with distortion parameters of the coded blocks subjected to iterative prediction, determines a prediction mode of the coded blocks, and configures a corresponding flag bit; the encoding means sends the coded blocks corresponding to the prediction mode and the flag bit to a decoding device.
Description
本公开涉及但不限于通信领域。The present disclosure relates to but is not limited to the field of communications.
视频编码是一种视频压缩技术,通过消除视频序列中的时间冗余、空间冗余及编码冗余等冗余信息来达到压缩视频的目的。Video coding is a video compression technology that achieves the purpose of video compression by eliminating redundant information such as temporal redundancy, spatial redundancy, and coding redundancy in the video sequence.
预测技术是视频编码技术的重要组成部分,分为帧内预测和帧间预测。帧内预测主要用来消除视频序列中的空间冗余信息,在对当前块进行帧内预测的时候,首先获取当前块的邻近已重建像素作为参考像素,再根据不同的预测模式由参考像素得到当前块的像素值,并通过计算不同预测模式下的率失真代价选择最优的预测模式,最终将当前块的预测残差块经过变换、量化、熵编码之后传输到解码端。解码端通过对码流解码可以得到编码端采用的预测模式及对应的残差块,再根据预测模式即可获得预测块,进一步加上残差块即可得到重建块,最终通过重建所有的编码块可以重建出整个视频序列。然而相关技术中的帧内预测方法由于参考像素的局限性,导致预测不准确,预测残差较大。Prediction technology is an important part of video coding technology, divided into intra-frame prediction and inter-frame prediction. Intra prediction is mainly used to eliminate the spatial redundancy information in the video sequence. When performing intra prediction on the current block, first obtain the adjacent reconstructed pixels of the current block as reference pixels, and then obtain the reference pixels according to different prediction modes The pixel value of the current block, and the optimal prediction mode is selected by calculating the rate-distortion cost in different prediction modes, and finally the prediction residual block of the current block is transformed, quantized, and entropy-coded and then transmitted to the decoding end. The decoding end can obtain the prediction mode used by the encoding end and the corresponding residual block by decoding the code stream, and then obtain the prediction block according to the prediction mode, and further add the residual block to obtain the reconstructed block, and finally reconstruct all the codes Blocks can reconstruct the entire video sequence. However, the intra-frame prediction method in the related art causes inaccurate prediction and large prediction residual due to the limitation of reference pixels.
发明内容Summary of the invention
根据本公开的一个实施例,提供了一种码块的预测方法,包括:编码装置对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;所述编码装置比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;所述编码装置将所述预测模式对应的编码块以及所述标志位发送至解码设备。According to an embodiment of the present disclosure, a method for predicting a code block is provided, which includes: an encoding device divides an intra-predicted encoding block, and selects reference pixels from reconstructed pixels in the divided sub-blocks; The encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; the encoding device compares the intra-frame prediction encoding block with the iteratively predicted encoding block The distortion parameter determines the prediction mode of the coding block and sets the corresponding flag bit; the coding device sends the coding block corresponding to the prediction mode and the flag bit to the decoding device.
根据本公开的另一个实施例,提供了一种码块的解码方法,包括:解码装置接收编码装置发送的预测块以及标志位;所述解码装置 根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。According to another embodiment of the present disclosure, there is provided a method for decoding a code block, which includes: a decoding device receives a prediction block and a flag sent by an encoding device; and the decoding device compares all data according to the prediction mode carried in the flag. The prediction block is decoded, wherein the prediction mode includes: an intra prediction mode and an iterative prediction mode.
根据本公开的另一个实施例,提供了一种码块的预测装置,位于编码装置中,包括:选取模块,用于对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;预测模块,用于利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;确定模块,用于比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;发送模块,用于将所述预测模式对应的编码块以及所述标志位发送至解码设备。According to another embodiment of the present disclosure, there is provided a code block prediction device, which is located in the coding device, and includes: a selection module for dividing an intra-frame predicted coding block, from among the divided sub-blocks A reference pixel is selected from the reconstructed pixels; a prediction module is used to perform iterative prediction on each of the sub-blocks using the reference pixels to obtain an iteratively predicted coding block; a determination module is used to compare the coding after the intra-frame prediction Block and the distortion parameters of the coded block after the iterative prediction, determine the prediction mode of the coded block and set the corresponding flag bit; the sending module is used to send the coded block corresponding to the prediction mode and the flag bit to the decoding device .
根据本公开的另一个实施例,提供了一种码块的解码装置,其特征在于,包括:接收模块,用于接收编码装置发送的预测块以及标志位;解码模块,用于根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。According to another embodiment of the present disclosure, a device for decoding code blocks is provided, which is characterized in that it includes: a receiving module for receiving prediction blocks and flag bits sent by an encoding device; The prediction mode carried in the bit decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
根据本公开的又一个实施例,还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present disclosure, there is also provided a storage medium in which a computer program is stored, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to another embodiment of the present disclosure, there is also provided an electronic device, including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the foregoing Steps in the method embodiment.
此处所说明的附图用来提供对本公开的进一步理解,构成本申请的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present disclosure and constitute a part of the present application. The exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, and do not constitute an improper limitation of the present disclosure. In the attached picture:
图1是根据本公开实施例的一种码块的预测方法的流程图;Fig. 1 is a flowchart of a method for predicting a code block according to an embodiment of the present disclosure;
图2是根据本公开实施例的一种编码块的划分示意图;Fig. 2 is a schematic diagram of dividing a coding block according to an embodiment of the present disclosure;
图3是根据本公开实施例的一种子块的示意图;Fig. 3 is a schematic diagram of a sub-block according to an embodiment of the present disclosure;
图4是根据本公开实施例的一种双向预测示意图;Fig. 4 is a schematic diagram of a bidirectional prediction according to an embodiment of the present disclosure;
图5是根据本公开实施例的一种码块的解码方法的流程图;Fig. 5 is a flowchart of a method for decoding code blocks according to an embodiment of the present disclosure;
图6是根据本公开实施例的一种码块的预测装置的结构框图;Fig. 6 is a structural block diagram of a code block prediction apparatus according to an embodiment of the present disclosure;
图7是根据本公开实施例的一种码块的解码装置的结构框图;Fig. 7 is a structural block diagram of a code block decoding device according to an embodiment of the present disclosure;
图8示出了一种原始编码块;Figure 8 shows an original coding block;
图9A至图9D示出了进行传统预测和重建的过程;9A to 9D show the process of traditional prediction and reconstruction;
图10A至图10H示出了进行迭代预测和重建过程;10A to 10H show the iterative prediction and reconstruction process;
图11A示出了传统帧内模式的残差块经过变换量化后的系数块;FIG. 11A shows the coefficient block after transform and quantization of the residual block in the traditional intra mode;
图11B示出了迭代预测模式对应的残差块经过变换量化后的系数块。FIG. 11B shows the coefficient block after transform and quantization of the residual block corresponding to the iterative prediction mode.
下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present disclosure will be described in detail with reference to the drawings and in conjunction with embodiments. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other if there is no conflict.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
在一些实施例中,提供了一种码块的预测方法。图1是根据本公开实施例的一种码块的预测方法的流程图,如图1所示,该流程包括如下步骤:步骤S102,编码装置对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;步骤S104,所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;步骤S106,所述编码装置比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;步骤S108,所述编码装置将所述预测模式对应的编码块以及所述标志位发送至解码设备。In some embodiments, a method for predicting code blocks is provided. Fig. 1 is a flowchart of a method for predicting code blocks according to an embodiment of the present disclosure. As shown in Fig. 1, the process includes the following steps: Step S102: The coding device divides the code block after intra-frame prediction. Select reference pixels from the reconstructed pixels in the subsequent sub-blocks; step S104, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; step S106, the encoding The device compares the distortion parameters of the coding block after intra-frame prediction and the coding block after iterative prediction, determines the prediction mode of the coding block and sets the corresponding flag bit; step S108, the coding device corresponds the prediction mode The coding block and the flag bit are sent to the decoding device.
在一个实施例中,在进行帧内预测时,编码装置利用编码块的原始参考像素对该编码块进行帧内预测和重建。In one embodiment, when performing intra-frame prediction, the encoding device uses original reference pixels of the coded block to perform intra-frame prediction and reconstruction of the coded block.
在一个实施例中,所述划分方式包括以下其中之一:不对所述编码块进行划分,对所述编码块进行N叉划分,其中N为大于或者等 于2的正整数。In an embodiment, the division method includes one of the following: no division is performed on the coding block, and N division division is performed on the coding block, where N is a positive integer greater than or equal to 2.
图2是根据本公开实施例的一种编码块的划分示意图。如图2所示,图2给出了几种N叉划分的例子。Fig. 2 is a schematic diagram of dividing a coding block according to an embodiment of the present disclosure. As shown in Figure 2, Figure 2 shows several examples of N-division.
当然,其他划分方式也在本公开的保护范围之内,例如按照非等分的方式、按照某种特殊比例划分、按照某种图形划分,等其他划分方式也在本公开的保护范围之内,在此不做过多赘述。Of course, other division methods are also within the protection scope of the present disclosure, such as non-equal division, division according to a certain special ratio, division according to a certain graph, and other division methods are also within the protection scope of the present disclosure. I won't go into details here.
在一个实施例中,所述编码装置从划分后的子块中选取参考像素,包括:所述编码装置选择所述子块中的边界像素作为所述参考像素。In an embodiment, the encoding device selecting reference pixels from the divided sub-blocks includes: the encoding device selecting boundary pixels in the sub-blocks as the reference pixels.
图3是根据本公开实施例的一种子块的示意图。如图3所示,在子块最外部的像素视为该子块的参考像素(格子区域)。以图3为例,在图3中W*H大小的子块的情况下,以1为宽度,W为长度的上边界和下边界的像素集合,以1为长度,H为宽度的左边界和右边界的像素集合视为该子块的边界像素。Fig. 3 is a schematic diagram of a sub-block according to an embodiment of the present disclosure. As shown in FIG. 3, the pixels at the outermost part of the sub-block are regarded as reference pixels (lattice area) of the sub-block. Take Fig. 3 as an example, in the case of a sub-block of size W*H in Fig. 3, take 1 as the width, W as the length of the upper and lower border pixel sets, take 1 as the length and H as the left border of the width The set of pixels on the right and right boundary is regarded as the boundary pixels of the sub-block.
在一个实施例中,所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块,包括:所述编码装置利用所述参考像素对每个所述子块中的所述重建像素中内部像素进行迭代预测,以获取所述内部像素的预测值。In an embodiment, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block, including: the encoding device uses the reference pixels to perform each of the The internal pixels in the reconstructed pixels in the sub-blocks are iteratively predicted to obtain the predicted value of the internal pixels.
以图3为例,在子块中排除上述边界像素之外的重建像素均为内部像素。Taking FIG. 3 as an example, the reconstructed pixels excluding the aforementioned boundary pixels in the sub-block are all internal pixels.
在一个实施例中,所述编码装置利用所述参考像素对每个所述子块中的内部像素进行迭代预测,以获取所述内部像素的预测值,包括:所述编码装置根据所述参考像素的数值以及所述内部像素中预测像素与所述参考像素之间的距离,确定所述预测像素的预测值;所述编码装置按照所述内部像素的像素顺序,对所述预测像素的预测结果进行排列以获取所述内部像素的预测值。In an embodiment, the encoding device uses the reference pixels to iteratively predict the internal pixels in each sub-block to obtain the predicted value of the internal pixels, including: the encoding device according to the reference The value of the pixel and the distance between the predicted pixel in the internal pixel and the reference pixel determine the predicted value of the predicted pixel; the encoding device predicts the predicted pixel according to the pixel order of the internal pixel The results are arranged to obtain the predicted value of the internal pixels.
在一个实施例中,第一参考像素为左上角的参考像素,第二参考像素为右下角的参考像素。所述预测像素的预测值至少通过如下公式实现:P=(α×d
β+β×d
α)÷(d
α+d
β),其中,α为所述参考像素中第一参考像素的数值,β为所述参考像素中第二参考像素的数值,d
α 为所述预测像素与所述第一参考像素之间的距离,d
β为所述预测像素与所述第二参考像素之间的距离,P为所述预测像素的预测值。
In one embodiment, the first reference pixel is the reference pixel in the upper left corner, and the second reference pixel is the reference pixel in the lower right corner. The predicted value of the predicted pixel is realized by at least the following formula: P=(α×d β +β×d α )÷(d α +d β ), where α is the value of the first reference pixel in the reference pixels , Β is the value of the second reference pixel in the reference pixel, d α is the distance between the predicted pixel and the first reference pixel, d β is the distance between the predicted pixel and the second reference pixel P is the predicted value of the predicted pixel.
图4是根据本公开实施例的一种双向预测示意图。如图4所示,图4中的子块中,横线填充区域为已预测像素,白色的像素为未预测像素,斜线填充区域为参考像素,竖线填充区域为预测像素。为了方便计算,在选取第一参考像素与第二参考像素过程中,可以考虑考虑将预测像素置于两个参考像素之间连线的方式。在这种情况下,只需要计算纵向或者横向上,即图4中预测像素与第一参考像素(像素值为α),第二参考像素(像素值为β)之间的距离即可。此外,以图4为例,在后续计算过程当中,如果计算图4中竖线填充区域右边的白色对应的未预测像素的话,那么,则只需要选择当前第一参考像素(像素值为α)右侧的像素作为新的第一参考像素,然后选择当前第二参考像素(像素值为β)上侧的像素作为新的第二参考像素。然而计算该预测像素在纵向或者横向与新的第一参考像素以及新的第二参考像素的距离即可。其他像素对应的预测计算方式也是类似的,不再赘述。Fig. 4 is a schematic diagram of a bidirectional prediction according to an embodiment of the present disclosure. As shown in FIG. 4, in the sub-block in FIG. 4, the horizontal line filled area is the predicted pixel, the white pixel is the unpredicted pixel, the diagonal line filled area is the reference pixel, and the vertical line filled area is the predicted pixel. In order to facilitate calculations, in the process of selecting the first reference pixel and the second reference pixel, a method of placing the predicted pixel on the connecting line between the two reference pixels can be considered. In this case, it is only necessary to calculate the vertical or horizontal distance, that is, the distance between the prediction pixel in FIG. 4 and the first reference pixel (pixel value α) and the second reference pixel (pixel value β). In addition, taking Figure 4 as an example, in the subsequent calculation process, if the unpredicted pixel corresponding to the white color on the right side of the vertical line filled area in Figure 4 is calculated, then only the current first reference pixel (pixel value α) needs to be selected The pixel on the right is used as the new first reference pixel, and then the pixel above the current second reference pixel (the pixel value is β) is selected as the new second reference pixel. However, the distance between the predicted pixel and the new first reference pixel and the new second reference pixel in the vertical or horizontal direction can be calculated. The prediction calculation methods corresponding to other pixels are also similar, and will not be repeated here.
图4中利用的双向预测仅仅是本公开实施例中一种预测像素的预测值的计算方式。其他预测方式,例如通过神经网络进行学习从而实现预测的方式,也在本公开的保护范围之内,在此不做过多赘述。The bidirectional prediction used in FIG. 4 is only a method for calculating the predicted value of the predicted pixel in the embodiment of the present disclosure. Other prediction methods, such as learning through a neural network to achieve prediction, are also within the protection scope of the present disclosure, and will not be repeated here.
需要说明的是,对于选择参考像素的方式,上述实施例中给出了利用重建像素中的边界像素的方式。当然,其他方式从重建像素中选择部分像素作为参考像素的方式也在本公开的保护范围之内。例如,由于子块是通过划分得出的。因此,在多个相邻子块之间势必具有相邻的像素。从这些相邻的像素选取公共像素作为参考像素也在本公开的保护范围之内。例如,以图2的二叉划分为例。可以利用上子块的最下边界像素作为下子块的参考像素。相反地,也可以利用下子块的最上边界像素作为上子块的参考像素。这样对于整个编码块而言,由于不需要全选取每个子块的边界像素,因此可以节省确定参考像素的时间,从而提高了运算效率。同时,由于每一个子块个体当中,选择的除了公共像素其他参考像素不同,因此可以根据该其他参考像素的 位置,从而在后续拼接过程中,方便编码装置进行匹配。It should be noted that, for the method of selecting reference pixels, the foregoing embodiment provides a method of using boundary pixels in the reconstructed pixels. Of course, other ways of selecting some pixels from the reconstructed pixels as reference pixels are also within the protection scope of the present disclosure. For example, because the sub-blocks are obtained through division. Therefore, there must be adjacent pixels between multiple adjacent sub-blocks. It is also within the protection scope of the present disclosure to select common pixels from these adjacent pixels as reference pixels. For example, take the binary division of Figure 2 as an example. The lowermost boundary pixel of the upper sub-block can be used as the reference pixel of the lower sub-block. Conversely, the uppermost boundary pixel of the lower sub-block can also be used as the reference pixel of the upper sub-block. In this way, for the entire coding block, since it is not necessary to select all the boundary pixels of each sub-block, the time for determining the reference pixels can be saved, thereby improving the calculation efficiency. At the same time, since the selected reference pixels in addition to the common pixels are different in each individual sub-block, the position of the other reference pixels can be used to facilitate matching by the encoding device in the subsequent stitching process.
当然,其他能够克服帧内预测技术中对编码块距离参考像素较远部分预测不准确的缺点的参考像素选取方式也在本公开的保护范围之内,在此不做过多赘述。Of course, other reference pixel selection methods that can overcome the shortcoming of inaccurate prediction of the part of the coding block farther from the reference pixel in the intra prediction technology are also within the protection scope of the present disclosure, and will not be described in detail here.
在一个实施例中,所述方法还包括:所述编码装置确定迭代预测后的所述边界像素的预测值为帧内预测后所述边界像素的预测值;所述编码装置按照所述子块的像素位置关系,通过所述边界像素的预测值与所述内部像素的预测值生成所述子块的迭代预测块。In an embodiment, the method further includes: the encoding device determines that the predicted value of the boundary pixel after iterative prediction is the predicted value of the boundary pixel after intra prediction; the encoding device is based on the sub-block According to the pixel position relationship of, the iterative prediction block of the sub-block is generated through the predicted value of the boundary pixel and the predicted value of the internal pixel.
在一个实施例中,所述编码装置根据所述子块之间的位置关系将所述子块的迭代预测块进行拼接,以获取所述迭代预测后的编码块。In an embodiment, the encoding device splices the iterative prediction blocks of the sub-blocks according to the positional relationship between the sub-blocks to obtain the iteratively predicted encoding block.
在一个实施例中,所述失真参数至少包括:率失真代价,其中,所述率失真代价通过增加所述标志位后的码块的比特和失真确定。In an embodiment, the distortion parameter at least includes: a rate-distortion cost, wherein the rate-distortion cost is determined by adding the bit and distortion of the code block after the flag bit is added.
需要指出的是,率失真代价只是本公开中列举的一种失真参数,其他失真参数,例如,编码块的大小,帧内预测模式的失真大小也在本公开的保护范围之内。It should be pointed out that the rate-distortion cost is only one of the distortion parameters listed in the present disclosure, and other distortion parameters, such as the size of the coding block and the distortion size of the intra-frame prediction mode, are also within the protection scope of the present disclosure.
在一个实施例中,计算增加所述标志位后所述迭代预测后的编码块的比特,包括:所述编码装置根据系数块所需的比特、所述标志位所需的比特以及所述帧内预测后的编码块所需的比特计算所述迭代预测后的编码块对应的比特;其中,所述系数块根据未编码的码块以及所述迭代预测后的编码块确定。In an embodiment, calculating the bits of the coding block after the iterative prediction after adding the flag bit includes: the coding device according to the bits required by the coefficient block, the bits required by the flag bit, and the frame The bits required for the coding block after intra-prediction are calculated for the bits corresponding to the coding block after iterative prediction; wherein, the coefficient block is determined according to the uncoded code block and the coding block after the iterative prediction.
在一个实施例中,系数块通过如下的方式确定:未编码的码块减去迭代预测后的编码块获取残差块。然而对该残差块进行变化操作(例如DCT变换等由编码框架决定的变化方式)得到变换块。得到其变换块,接下来将变换块进行量化操作,即将变换块中的数值除以量化步长,即得到了系数块。需要说明的是,系数块所需的比特是指,该系数块进行熵编码所需的比特。In an embodiment, the coefficient block is determined in the following manner: the uncoded code block is subtracted from the coded block after iterative prediction to obtain the residual block. However, a change operation (for example, a change mode determined by the coding framework, such as DCT transform) on the residual block is performed to obtain a transform block. The transform block is obtained, and then the transform block is quantized, that is, the value in the transform block is divided by the quantization step to obtain the coefficient block. It should be noted that the bits required by the coefficient block refer to the bits required for entropy coding of the coefficient block.
在一个实施例中,计算增加所述标志位后所述迭代预测后的编码块的失真,包括:所述编码装置通过对编码前的码块以及所述迭代预测后的编码块的差值进行量化操作,获取失真残差块;所述编码装置根据所述失真残差块以及所述帧内预测后的编码块确定中间重建 块;所述编码装置对所述中间重建块进行迭代预测以获取中间预测块,并与所述失真残差块确定最终重建块;所述编码装置按照预设失真计算准则计算所述最终重建块与所述编码前的码块之间的失真。In one embodiment, calculating the distortion of the coding block after the iterative prediction after the flag bit is added includes: the coding device performs a calculation on the difference between the code block before coding and the coding block after the iterative prediction. Quantization operation to obtain a distortion residual block; the coding device determines an intermediate reconstruction block according to the distortion residual block and the intra-frame predicted coding block; the coding device iteratively predicts the intermediate reconstruction block to obtain An intermediate prediction block and determine a final reconstruction block with the distortion residual block; the encoding device calculates the distortion between the final reconstruction block and the code block before encoding according to a preset distortion calculation criterion.
在一个实施例中,中间重建块可以通过所述失真残差块以及所述帧内预测后的编码块之和确定。In an embodiment, the intermediate reconstruction block may be determined by the sum of the distortion residual block and the coded block after intra-frame prediction.
需要说明的是,中间重建块,最终重建块的确定方式并不限于上述给出的方式,其他获取方式也在本公开的保护范围之内,在此不做赘述。例如,预设失真计算准则包括但不限于,均方误差(Mean Squared Error,简称MSE)准则。It should be noted that the method for determining the intermediate reconstruction block and the final reconstruction block is not limited to the above-mentioned method, and other acquisition methods are also within the protection scope of the present disclosure, and will not be repeated here. For example, the preset distortion calculation criterion includes, but is not limited to, the Mean Squared Error (MSE) criterion.
在一个实施例中,计算增加所述标志位后所述帧内预测后的编码块的失真,包括:所述编码装置按照预设失真计算准则计算所述帧内预测后的编码块与所述编码前的码块之间的失真。In one embodiment, calculating the distortion of the intra-frame predicted coding block after the flag bit is added includes: the coding device calculates the intra-frame predicted coding block and the intra-frame prediction according to a preset distortion calculation criterion. Distortion between code blocks before encoding.
在一个实施例中,当所述编码装置判断所述帧内预测后的编码块对应的率失真代价不大于所述迭代预测后的编码块对应的率失真代价时,所述编码装置确定所述编码块的预测模式为帧内预测,并将所述标志位置为所述帧内预测对应的数值;当所述编码装置判断所述帧内预测后的编码块对应的率失真代价大于所述迭代预测后的编码块对应的率失真代价时,所述编码装置确定所述编码块的预测模式为迭代预测模式,并将所述标志位置为所述迭代预测模式对应的数值。In an embodiment, when the encoding device determines that the rate-distortion cost corresponding to the encoding block after intra-frame prediction is not greater than the rate-distortion cost corresponding to the encoding block after iterative prediction, the encoding device determines the The prediction mode of the coding block is intra prediction, and the mark position is the value corresponding to the intra prediction; when the coding device determines that the rate distortion cost corresponding to the coding block after intra prediction is greater than the iteration When predicting the rate-distortion cost corresponding to the coded block after prediction, the coding device determines that the prediction mode of the coded block is an iterative prediction mode, and sets the flag position to a value corresponding to the iterative prediction mode.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本公开各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is Better implementation. Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to enable a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the method described in each embodiment of the present disclosure.
在一些实施例中,提供了一种码块的解码方法。图5是根据本公开实施例的一种码块的解码方法的流程图,如图5所示,该流程包 括如下步骤:步骤S502,解码装置接收到编码装置发送的预测块以及标志位;步骤S504,所述解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。In some embodiments, a method for decoding code blocks is provided. Fig. 5 is a flowchart of a method for decoding a code block according to an embodiment of the present disclosure. As shown in Fig. 5, the process includes the following steps: step S502, the decoding device receives the prediction block and the flag sent by the encoding device; S504. The decoding device decodes the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
在一个实施例中,解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,包括:所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,并对所述最终重建块进行解码。In an embodiment, the decoding device decodes the prediction block according to the prediction mode carried in the flag bit, including: the decoding device determines the final reconstruction according to the residual block obtained from the code stream and the prediction mode Block and decode the final reconstructed block.
在一个实施例中,所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,包括:当所述预测模式为帧内预测模式时,使用帧内预测模式获取预测块,所述解码装置根据从码流中获取的残差块以及帧内预测模式对应的预测块获取所述最终重建块。In an embodiment, the decoding device determines the final reconstructed block according to the residual block obtained from the bitstream and the prediction mode, including: when the prediction mode is the intra prediction mode, the intra prediction mode is used to obtain Prediction block, the decoding device obtains the final reconstructed block according to the residual block obtained from the code stream and the prediction block corresponding to the intra prediction mode.
在一个实施例中,所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,包括:当所述预测模式为迭代预测模式时,所述解码装置根据从码流中获取的残差块以及使用帧内预测模式生成的预测块获取中间重建块;所述解码装置对所述中间重建块进行迭代预测后获取中间预测块;所述解码装置根据所述中间预测块以及从码流中获取的残差块确定所述最终重建块。In one embodiment, the decoding device determines the final reconstruction block according to the residual block obtained from the code stream and the prediction mode, including: when the prediction mode is an iterative prediction mode, the decoding device The residual block obtained in the stream and the prediction block generated by the intra prediction mode are used to obtain the intermediate reconstruction block; the decoding device obtains the intermediate prediction block after iterative prediction on the intermediate reconstruction block; the decoding device obtains the intermediate prediction block according to the intermediate prediction The block and the residual block obtained from the code stream determine the final reconstruction block.
在一个实施例中,所述解码装置对所述中间重建块进行迭代预测,包括:所述解码装置对中间重建块进行划分,并从划分后的子块中选取参考像素;所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块。In one embodiment, the iterative prediction of the intermediate reconstruction block by the decoding device includes: the decoding device divides the intermediate reconstruction block and selects reference pixels from the divided sub-blocks; the encoding device uses The reference pixels perform iterative prediction on each of the sub-blocks to obtain a coded block after iterative prediction.
为了更好的理解上述实施例中记载的方案,在本实施例中还提供了如下的场景。需要说明的是,以下场景以长度和宽度均为4,不进行划分,且采用对角预测方式的编码块作为举例。当然其他大小以及采用其他预测方式的编码块也在本实施例的保护范围之内,在此不做过多赘述。In order to better understand the solutions recorded in the foregoing embodiments, the following scenarios are also provided in this embodiment. It should be noted that in the following scenario, the length and width are both 4, no division is performed, and a coding block in a diagonal prediction mode is used as an example. Of course, coding blocks of other sizes and other prediction methods are also within the protection scope of this embodiment, and will not be repeated here.
图8描述了一种原始编码块。如图8所示,以编码块中左边和上边的像素为参考像素(灰色区域)。而其他的区域为原始编码块的值(白色区域)。Figure 8 depicts an original coding block. As shown in Fig. 8, the left and upper pixels in the coding block are used as reference pixels (gray areas). The other areas are the values of the original coding block (white areas).
图9A至图9D是进行传统预测和重建的过程。Figures 9A to 9D show the process of traditional prediction and reconstruction.
首先,如图9A所示,通过传统帧内45度预测模式对原始编码块的值进行帧内预测,获取到对应的预测块。First, as shown in FIG. 9A, the value of the original coded block is intra-predicted by the traditional intra-frame 45-degree prediction mode, and the corresponding prediction block is obtained.
然后,通过原始块的值减去帧内预测后的预测块,以获取残差块,如图9B所示。Then, the prediction block after intra prediction is subtracted from the value of the original block to obtain the residual block, as shown in FIG. 9B.
紧接着对残差块经过一系列的量化操作(例如变换量化后反量化反变换)得到失真残差块,如图9C所示。Then, the residual block is subjected to a series of quantization operations (for example, inverse quantization and inverse transformation after transform and quantization) to obtain the distorted residual block, as shown in FIG. 9C.
最后,通过将失真残差块与预测块相加,以获取帧内预测后的重建块,如图9D所示。Finally, the distorted residual block and the prediction block are added to obtain the reconstructed block after intra-frame prediction, as shown in FIG. 9D.
图10A至图10H是进行迭代预测和重建过程。Figures 10A to 10H are the iterative prediction and reconstruction process.
首先,在获取到帧内预测的预测块和重建块后,接下来需要进行迭代预测。需要指出的是,外部像素预测值与传统帧内模式相同。即如图10A所示,图10A中未示出的部分为后续迭代预测中的内部像素。First, after obtaining the prediction block and reconstruction block for intra prediction, iterative prediction is needed next. It should be pointed out that the external pixel prediction value is the same as the traditional intra mode. That is, as shown in FIG. 10A, the parts not shown in FIG. 10A are internal pixels in the subsequent iterative prediction.
其次,对内部像素进行45度双向预测时,四周参考像素均可用(灰色区域),其中右边和下边的参考像素来自传统帧内模式预测得到的重建像素,中间的部分即为内部预测值,如图10B所示。Secondly, when performing 45-degree bidirectional prediction of internal pixels, all surrounding reference pixels are available (gray area), where the right and bottom reference pixels come from the reconstructed pixels obtained by traditional intra mode prediction, and the middle part is the intra prediction value, such as Shown in Figure 10B.
在将内部像素和外部像素拼接后,得到了迭代预测后的预测块,即如图10C所示。After splicing the inner pixels and outer pixels, the prediction block after iterative prediction is obtained, as shown in FIG. 10C.
在重建过程时,首先,利用原始编码块的值减去迭代预测后的预测块,得到残差块,即如图10D所示。In the reconstruction process, first, the value of the original coding block is used to subtract the prediction block after iterative prediction to obtain the residual block, as shown in FIG. 10D.
紧接着对残差块经过一系列的量化操作(例如变换量化后反量化反变换)得到失真残差块,如图10E所示。Then, the residual block is subjected to a series of quantization operations (for example, inverse quantization and inverse transformation after transform and quantization) to obtain the distorted residual block, as shown in FIG. 10E.
再然后,与帧内预测中的重建不同,在迭代预测过程中,失真残差块需要与帧内预测后的预测块相加,以得到中间重建块,如图10F所示。Then, unlike the reconstruction in intra prediction, in the iterative prediction process, the distorted residual block needs to be added to the prediction block after intra prediction to obtain an intermediate reconstruction block, as shown in FIG. 10F.
然后对中间重建块进行迭代预测。外部预测值仍然与帧内模式相同,但是在对内部进行预测时,右侧和下侧的参考像素则是来自于中间重建块的右下边界像素,最终内部的预测值如图10G所示。Then iteratively predict the intermediate reconstruction block. The external prediction value is still the same as the intra mode, but when the internal prediction is performed, the right and lower reference pixels are from the lower right boundary pixel of the middle reconstruction block, and the final internal prediction value is shown in Figure 10G.
最后,将内部预测值与外部预测值拼接后再与图10E中失真残 差块相加得到了最终重建块,如图10H所示。Finally, the internal prediction value and the external prediction value are spliced and then added to the distortion residual block in Fig. 10E to obtain the final reconstructed block, as shown in Fig. 10H.
在确定选用的测试模式时,通过计算帧内预测模式以及迭代预测模式的失真以及码率。When determining the selected test mode, the distortion and code rate of the intra-frame prediction mode and iterative prediction mode are calculated.
若采用MSE准则,则传统帧内模式的失真为图9D与图8中对应像素块的MSE值,为60.06,迭代预测模式的失真为图10H与图8中对应像素块的MSE值,为58.00,可见迭代预测模式失真更小。If the MSE criterion is adopted, the distortion of the traditional intra mode is the MSE value of the corresponding pixel block in Figure 9D and Figure 8, which is 60.06, and the distortion of the iterative prediction mode is the MSE value of the corresponding pixel block in Figure 10H and Figure 8, which is 58.00 , It can be seen that the distortion of the iterative prediction mode is smaller.
在计算码率时,传统帧内模式的残差块经过变换量化后的系数块如图11A所示。When calculating the code rate, the coefficient block after transform and quantization of the residual block in the traditional intra mode is shown in FIG. 11A.
按扫描顺序对该系数块进行熵编码所需的比特数为12,加上标志位共需13比特。The number of bits required for entropy coding of the coefficient block in the scanning order is 12, and a total of 13 bits are required for adding the flag bit.
而迭代预测模式对应的残差块经过变换量化后的系数块如图11B所示。The coefficient block after transformation and quantization of the residual block corresponding to the iterative prediction mode is shown in FIG. 11B.
对该系数块进行熵编码只需2比特,加上标志位共需3比特。Entropy coding of the coefficient block requires only 2 bits, and a total of 3 bits are required for adding the flag bit.
可见迭代预测的MSE失真小于传统模式,且需要的码率也少于传统模式。因此最终的率失真代价也小于传统模式。It can be seen that the MSE distortion of iterative prediction is less than that of the traditional mode, and the required bit rate is also less than that of the traditional mode. Therefore, the final rate-distortion cost is also less than the traditional model.
在一些实施例中,还提供了一种码块的预测装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In some embodiments, a device for predicting code blocks is also provided, and the device is used to implement the above-mentioned embodiments and implementations, and those that have been explained will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware with predetermined functions. Although the devices described in the following embodiments are implemented by software, hardware or a combination of software and hardware is also possible and conceived.
图6是根据本公开实施例的一种码块的预测装置的结构框图,如图6所示,该装置包括:选取模块62,配置为对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;预测模块64,配置为利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;确定模块66,配置为比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;发送模块68,配置为将所述预测模式对应的编码块以及所述标志位发送至解码设备。Fig. 6 is a structural block diagram of a code block prediction device according to an embodiment of the present disclosure. As shown in Fig. 6, the device includes: a selection module 62 configured to divide the code block after intra-frame prediction. Reference pixels are selected from the reconstructed pixels in the sub-blocks; the prediction module 64 is configured to use the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; the determination module 66 is configured to compare all The distortion parameters of the coding block after intra-frame prediction and the coding block after iterative prediction, determining the prediction mode of the coding block and setting the corresponding flag bit; the sending module 68 is configured to configure the coding block corresponding to the prediction mode and The flag bit is sent to the decoding device.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
在一些实施例中,还提供了一种码块的解码装置,该装置用于实现上述实施例及实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In some embodiments, a device for decoding code blocks is also provided, and the device is used to implement the above-mentioned embodiments and implementations, and those that have been explained will not be repeated. As used below, the term "module" can implement a combination of software and/or hardware with predetermined functions. Although the devices described in the following embodiments are implemented by software, hardware or a combination of software and hardware is also possible and conceived.
图7是根据本公开实施例的一种码块的解码装置的结构框图,如图7所示,该装置包括:接收模块72,配置为接收到编码装置发送的预测块以及标志位;解码模块74,配置为根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。Fig. 7 is a structural block diagram of a code block decoding device according to an embodiment of the present disclosure. As shown in Fig. 7, the device includes: a receiving module 72 configured to receive a prediction block and a flag bit sent by an encoding device; a decoding module 74. It is configured to decode the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that each of the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following manner, but not limited to this: the above modules are all located in the same processor; or, the above modules are combined in any combination The forms are located in different processors.
在一些实施例中,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。In some embodiments, a storage medium is further provided, and the storage medium stores a computer program, wherein the computer program is configured to execute the steps in any one of the foregoing method embodiments when running.
在一个实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:步骤S1,编码装置对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;步骤S2,所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;步骤S3,所述编码装置比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;步骤S4,所述编码装置将所述预测模式对应的编码块以及所述标志位发送至解码设备。In an embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps: Step S1, the encoding device divides the coded block after intra-frame prediction, from the reconstructed pixels in the divided sub-blocks Select reference pixels; step S2, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; step S3, the encoding device compares the intra-frame predicted Distortion parameters of the coding block and the coding block after the iterative prediction, determining the prediction mode of the coding block and setting the corresponding flag bit; step S4, the coding device sends the coding block corresponding to the prediction mode and the flag bit To the decoding device.
在一个实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:步骤S1,解码装置接收到编码装置发送的预测块以及标志位;步骤S2,所述解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。In an embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps: step S1, the decoding device receives the prediction block and the flag bit sent by the encoding device; step S2, the decoding device according to the The prediction mode carried in the flag bit decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。The above-mentioned storage media may include but are not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), mobile hard disk, magnetic disk or optical disk, etc. A medium that can store a computer program.
在一些实施例中,还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被配置为运行计算机程序以执行上述任一项方法实施例中的步骤。In some embodiments, an electronic device is also provided, including a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the foregoing method embodiments.
在一个实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In one embodiment, the above electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the above processor, and the input/output device is connected to the above processor.
在一个实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:步骤S1,编码装置对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;步骤S2,所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;步骤S3,所述编码装置比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;步骤S4,所述编码装置将所述预测模式对应的编码块以及所述标志位发送至解码设备。In an embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program: Step S1, the encoding device divides the coded block after intra-frame prediction, and selects reference pixels from the reconstructed pixels in the divided sub-blocks Step S2, the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an iteratively predicted encoding block; Step S3, the encoding device compares the intra-frame predicted encoding block and The distortion parameter of the coding block after the iterative prediction is determined, the prediction mode of the coding block is determined, and the corresponding flag bit is set; step S4, the coding device sends the coding block corresponding to the prediction mode and the flag bit to the decoding device .
在一个实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:步骤S1,解码装置接收到编码装置发送的预测块以及标志位;步骤S2,所述解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。In one embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program: step S1, the decoding device receives the prediction block and the flag bit sent by the encoding device; step S2, the decoding device according to the flag bit The carried prediction mode decodes the prediction block, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
本实施例中的具体示例可以参考上述实施例及实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the above-mentioned embodiments and implementation manners, and this embodiment will not be repeated here.
通过本公开,由于在传统预测模式的基础之上,还提供了迭代预测模式,而该预测模式对当前块划分后的部分当中根据需要选择参考像素,而非在传统预测模式中当前块的邻近已重建像素作为参考像素。因此,可以解决相关技术中帧内预测方法由于参考像素的局限性,导致预测不准确,预测残差较大的问题,达到了实现流程简单,编码复杂度小,提高了预测性能的效果。Through the present disclosure, on the basis of the traditional prediction mode, an iterative prediction mode is also provided, and the prediction mode selects reference pixels as needed in the part after the current block is divided, instead of adjacent to the current block in the traditional prediction mode The reconstructed pixels are used as reference pixels. Therefore, the intra-frame prediction method in the related art can solve the problem of inaccurate prediction and large prediction residual due to the limitation of the reference pixel, and achieve the effect of simple implementation process, low coding complexity, and improved prediction performance.
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device or distributed in a network composed of multiple computing devices. Above, alternatively, they can be implemented with program codes executable by the computing device, so that they can be stored in the storage device for execution by the computing device, and in some cases, can be executed in a different order than here. Perform the steps shown or described, or fabricate them into individual integrated circuit modules, or fabricate multiple modules or steps of them into a single integrated circuit module to achieve. In this way, the present disclosure is not limited to any specific hardware and software combination.
以上所述仅为本公开的示例性实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above descriptions are only exemplary embodiments of the present disclosure, and are not used to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of the present disclosure shall be included in the protection scope of the present disclosure.
Claims (22)
- 一种码块的预测方法,包括:A method for predicting code blocks, including:编码装置对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;The coding device divides the coding block after intra-frame prediction, and selects reference pixels from the reconstructed pixels in the divided sub-blocks;所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;The encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain a coded block after iterative prediction;所述编码装置比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;The coding device compares the distortion parameters of the coding block after the intra-frame prediction and the coding block after the iterative prediction, determines the prediction mode of the coding block, and sets a corresponding flag bit;所述编码装置将所述预测模式对应的编码块以及所述标志位发送至解码设备。The encoding device sends the encoding block corresponding to the prediction mode and the flag bit to a decoding device.
- 根据权利要求1所述的方法,其中,所述划分的方式包括以下之一:不对所述编码块进行划分,对所述编码块进行N叉划分,其中N为大于或者等于2的正整数。The method according to claim 1, wherein the method of dividing comprises one of the following: not dividing the coding block, and dividing the coding block with N branches, where N is a positive integer greater than or equal to 2.
- 根据权利要求1所述的方法,其中,所述编码装置从划分后的子块中选取参考像素,包括:The method according to claim 1, wherein the encoding device selects reference pixels from the divided sub-blocks, comprising:所述编码装置选择所述子块中的边界像素作为所述参考像素。The encoding device selects boundary pixels in the sub-block as the reference pixels.
- 根据权利要求1所述的方法,其中,所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块,包括:The method according to claim 1, wherein the encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an encoded block after iterative prediction, comprising:所述编码装置利用所述参考像素对每个所述子块中的所述重建像素中内部像素进行迭代预测,以获取所述内部像素的预测值。The encoding device uses the reference pixels to iteratively predict the internal pixels in the reconstructed pixels in each of the sub-blocks to obtain the predicted value of the internal pixels.
- 根据权利要求4所述的方法,其中,所述编码装置利用所述参考像素对每个所述子块中的所述重建像素中内部像素进行迭代预测,以获取所述内部像素的预测值,包括:The method according to claim 4, wherein the encoding device uses the reference pixels to iteratively predict the internal pixels in the reconstructed pixels in each of the sub-blocks to obtain the predicted values of the internal pixels, include:所述编码装置根据所述参考像素的数值以及所述内部像素中预 测像素与所述参考像素之间的距离,确定所述预测像素的预测值;The encoding device determines the predicted value of the predicted pixel according to the value of the reference pixel and the distance between the predicted pixel in the internal pixel and the reference pixel;所述编码装置按照所述内部像素的像素顺序,对所述预测像素的预测结果进行排列以获取所述内部像素的预测值。The encoding device arranges the prediction results of the prediction pixels according to the pixel order of the internal pixels to obtain the prediction values of the internal pixels.
- 根据权利要求5所述的方法,其中,所述预测像素的预测值至少通过如下公式实现:The method according to claim 5, wherein the predicted value of the predicted pixel is realized by at least the following formula:P=(α×d β+β×d α)÷(d α+d β) P=(α×d β +β×d α )÷(d α +d β )其中,α为所述参考像素中第一参考像素的数值,β为所述参考像素中第二参考像素的数值,d α为所述预测像素与所述第一参考像素之间的距离,d β为所述预测像素与所述第二参考像素之间的距离,P为所述预测像素的预测值。 Where α is the value of the first reference pixel in the reference pixel, β is the value of the second reference pixel in the reference pixel, d α is the distance between the predicted pixel and the first reference pixel, d β is the distance between the predicted pixel and the second reference pixel, and P is the predicted value of the predicted pixel.
- 根据权利要求4所述的方法,还包括:The method according to claim 4, further comprising:所述编码装置确定迭代预测后的所述边界像素的预测值为帧内预测后所述边界像素的预测值;Determining, by the encoding device, the predicted value of the boundary pixel after iterative prediction is the predicted value of the boundary pixel after intra prediction;所述编码装置按照所述子块的像素位置关系,通过所述边界像素的预测值与所述内部像素的预测值生成所述子块的迭代预测块。The encoding device generates an iterative prediction block of the sub-block by using the predicted value of the boundary pixel and the predicted value of the internal pixel according to the pixel position relationship of the sub-block.
- 根据权利要求7所述的方法,还包括:The method according to claim 7, further comprising:所述编码装置根据所述子块之间的位置关系将所述子块的迭代预测块进行拼接,以获取所述迭代预测后的编码块。The coding device splices the iterative prediction blocks of the sub-blocks according to the position relationship between the sub-blocks to obtain the coding block after the iterative prediction.
- 根据权利要求1所述的方法,其中,所述失真参数至少包括:率失真代价,其中,所述率失真代价通过增加所述标志位后的码块的比特和失真确定。The method according to claim 1, wherein the distortion parameter includes at least a rate-distortion cost, wherein the rate-distortion cost is determined by adding the bit and distortion of the code block after the flag bit.
- 根据权利要求9所述的方法,其中,计算增加所述标志位后所述迭代预测后的编码块的比特,包括:The method according to claim 9, wherein calculating the bits of the coding block after the iterative prediction after adding the flag bit comprises:所述编码装置根据系数块所需的比特、所述标志位所需的比特以及所述帧内预测后的编码块所需的比特计算所述迭代预测后的编 码块对应的比特;其中,所述系数块根据未编码的码块以及所述迭代预测后的编码块确定。The coding device calculates the bits corresponding to the coding block after iterative prediction according to the bits required by the coefficient block, the bits required by the flag bit, and the bits required by the coding block after the intra-frame prediction; wherein, The coefficient block is determined according to the uncoded code block and the coded block after the iterative prediction.
- 根据权利要求9所述的方法,其中,计算增加所述标志位后所述迭代预测后的编码块的失真,包括:The method according to claim 9, wherein calculating the distortion of the coding block after the iterative prediction after adding the flag bit comprises:所述编码装置通过对编码前的码块以及所述迭代预测后的编码块的差值进行量化操作,获取失真残差块;The encoding device obtains a distorted residual block by performing a quantization operation on the difference between the code block before encoding and the code block after iterative prediction;所述编码装置根据所述失真残差块以及所述帧内预测后的编码块确定中间重建块;The encoding device determines an intermediate reconstruction block according to the distortion residual block and the intra-frame predicted encoding block;所述编码装置对所述中间重建块进行迭代预测以获取中间预测块,并与所述失真残差块确定最终重建块;The encoding device iteratively predicts the intermediate reconstruction block to obtain the intermediate prediction block, and determines a final reconstruction block with the distortion residual block;所述编码装置按照预设失真计算准则计算所述最终重建块与所述编码前的码块之间的失真。The encoding device calculates the distortion between the final reconstructed block and the code block before encoding according to a preset distortion calculation criterion.
- 根据权利要求9所述的方法,其中,计算增加所述标志位后所述帧内预测后的编码块的失真,包括:The method according to claim 9, wherein calculating the distortion of the coding block after the intra-frame prediction after adding the flag bit comprises:所述编码装置按照预设失真计算准则计算所述帧内预测后的编码块与所述编码前的码块之间的失真。The coding device calculates the distortion between the code block after intra-frame prediction and the code block before coding according to a preset distortion calculation criterion.
- 根据权利要求9所述的方法,还包括:The method according to claim 9, further comprising:当所述编码装置判断所述帧内预测后的编码块对应的率失真代价不大于所述迭代预测后的编码块对应的率失真代价时,所述编码装置确定所述编码块的预测模式为帧内预测,并将所述标志位置为所述帧内预测对应的数值;When the encoding device determines that the rate-distortion cost corresponding to the encoding block after intra-frame prediction is not greater than the rate-distortion cost corresponding to the encoding block after iterative prediction, the encoding device determines that the prediction mode of the encoding block is Intra-frame prediction, and setting the mark position to a value corresponding to the intra-frame prediction;当所述编码装置判断所述帧内预测后的编码块对应的率失真代价大于所述迭代预测后的编码块对应的率失真代价时,所述编码装置确定所述编码块的预测模式为迭代预测模式,并将所述标志位置为所述迭代预测模式对应的数值。When the encoding device determines that the rate-distortion cost corresponding to the encoding block after intra-frame prediction is greater than the rate-distortion cost corresponding to the encoding block after iterative prediction, the encoding device determines that the prediction mode of the encoding block is iterative Prediction mode, and the mark position is the value corresponding to the iterative prediction mode.
- 一种码块的解码方法,包括:A method for decoding code blocks includes:解码装置接收编码装置发送的预测块以及标志位;The decoding device receives the prediction block and the flag bit sent by the encoding device;所述解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。The decoding device decodes the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- 根据权利要求14所述的方法,其中,解码装置根据所述标志位中携带的预测模式对所述预测块进行解码,包括:The method according to claim 14, wherein the decoding device decodes the prediction block according to the prediction mode carried in the flag bit, comprising:所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,并对所述最终重建块进行解码。The decoding device determines a final reconstruction block according to the residual block obtained from the code stream and the prediction mode, and decodes the final reconstruction block.
- 根据权利要求15所述的方法,其中,所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,包括:The method according to claim 15, wherein the decoding device determines the final reconstruction block according to the residual block obtained from the code stream and the prediction mode, comprising:当所述预测模式为帧内预测模式时,使用帧内预测模式获取预测块,所述解码装置根据从码流中获取的残差块以及帧内预测模式对应的预测块获取所述最终重建块。When the prediction mode is the intra prediction mode, the intra prediction mode is used to obtain the prediction block, and the decoding device obtains the final reconstructed block according to the residual block obtained from the code stream and the prediction block corresponding to the intra prediction mode .
- 根据权利要求15所述的方法,其中,所述解码装置根据从码流中获取的残差块以及所述预测模式确定最终重建块,包括:The method according to claim 15, wherein the decoding device determines the final reconstruction block according to the residual block obtained from the code stream and the prediction mode, comprising:当所述预测模式为迭代预测模式时,所述解码装置根据从码流中获取的残差块以及使用帧内预测模式生成的预测块获取中间重建块;When the prediction mode is an iterative prediction mode, the decoding device obtains an intermediate reconstruction block according to the residual block obtained from the code stream and the prediction block generated using the intra prediction mode;所述解码装置对所述中间重建块进行迭代预测后获取中间预测块;The decoding device obtains the intermediate prediction block after iteratively predicting the intermediate reconstruction block;所述解码装置根据所述中间预测块以及从码流中获取的残差块确定所述最终重建块。The decoding device determines the final reconstruction block according to the intermediate prediction block and the residual block obtained from the code stream.
- 根据权利要求17所述的方法,其中,所述解码装置对所述中间重建块进行迭代预测,包括:The method according to claim 17, wherein the iterative prediction of the intermediate reconstruction block by the decoding device comprises:所述解码装置对中间重建块进行划分,并从划分后的子块中选取参考像素;The decoding device divides the intermediate reconstruction block, and selects reference pixels from the divided sub-blocks;所述编码装置利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块。The encoding device uses the reference pixels to perform iterative prediction on each of the sub-blocks to obtain an encoded block after iterative prediction.
- 一种码块的预测装置,位于编码装置中,包括:A code block prediction device, located in an encoding device, includes:选取模块,配置为对帧内预测后的编码块进行划分,从划分后的子块中的重建像素中选取参考像素;The selecting module is configured to divide the coded block after intra-frame prediction, and select reference pixels from the reconstructed pixels in the divided sub-blocks;预测模块,配置为利用所述参考像素对每个所述子块进行迭代预测以获取迭代预测后的编码块;A prediction module configured to perform iterative prediction on each of the sub-blocks by using the reference pixels to obtain a coded block after iterative prediction;确定模块,配置为比较所述帧内预测后的编码块和所述迭代预测后的编码块的失真参数,确定编码块的预测模式以及设置对应的标志位;A determining module, configured to compare the distortion parameters of the coded block after intra-frame prediction and the coded block after iterative prediction, determine the prediction mode of the coded block, and set corresponding flag bits;发送模块,配置为将所述预测模式对应的编码块以及所述标志位发送至解码设备。The sending module is configured to send the coding block corresponding to the prediction mode and the flag bit to the decoding device.
- 一种码块的解码装置,包括:A decoding device for code blocks includes:接收模块,配置为接收编码装置发送的预测块以及标志位;A receiving module, configured to receive the prediction block and the flag bit sent by the encoding device;解码模块,配置为根据所述标志位中携带的预测模式对所述预测块进行解码,其中,所述预测模式包括:帧内预测模式以及迭代预测模式。The decoding module is configured to decode the prediction block according to the prediction mode carried in the flag bit, where the prediction mode includes: an intra prediction mode and an iterative prediction mode.
- 一种存储介质,所述存储介质中存储有计算机程序,所述计算机程序被设置为运行时执行所述权利要求1-18任一项中所述的方法。A storage medium in which a computer program is stored, and the computer program is configured to execute the method described in any one of claims 1-18 when running.
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1-18任一项中所述的方法。An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the method described in any one of claims 1-18.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910300253.3A CN111836043A (en) | 2019-04-15 | 2019-04-15 | Code block prediction and decoding method and device |
CN201910300253.3 | 2019-04-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020211642A1 true WO2020211642A1 (en) | 2020-10-22 |
Family
ID=72838066
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/082689 WO2020211642A1 (en) | 2019-04-15 | 2020-04-01 | Code block prediction method and apparatus, and code block decoding method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111836043A (en) |
WO (1) | WO2020211642A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102714721A (en) * | 2009-11-19 | 2012-10-03 | 汤姆森特许公司 | Method for coding and method for reconstruction of a block of an image |
CN103650496A (en) * | 2011-07-12 | 2014-03-19 | 华为技术有限公司 | Pixel-based intra prediction for coding in HEVC |
CN103703773A (en) * | 2011-05-20 | 2014-04-02 | 株式会社Kt | Method and apparatus for intra prediction within display screen |
WO2018070790A1 (en) * | 2016-10-14 | 2018-04-19 | 세종대학교 산학협력단 | Image encoding/decoding method and device |
WO2018141385A1 (en) * | 2017-02-02 | 2018-08-09 | Huawei Technologies Co., Ltd. | Image and video processing apparatuses and methods |
CN109089117A (en) * | 2017-05-11 | 2018-12-25 | 联发科技股份有限公司 | Method and apparatus for encoding or decoding video data |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101458471B1 (en) * | 2008-10-01 | 2014-11-10 | 에스케이텔레콤 주식회사 | Image encoding / decoding method and apparatus |
CN101710990A (en) * | 2009-11-10 | 2010-05-19 | 华为技术有限公司 | Video image encoding and decoding method, device and encoding and decoding system |
FR2969456A1 (en) * | 2010-12-15 | 2012-06-22 | France Telecom | METHODS AND DEVICES FOR ENCODING AND DECODING AT LEAST ONE IMAGE USING A PREDICT PIXEL SELECTION, CORRESPONDING COMPUTER PROGRAM |
KR20130105114A (en) * | 2012-03-16 | 2013-09-25 | 주식회사 아이벡스피티홀딩스 | Method of decoding moving pictures in intra prediction |
TWI536811B (en) * | 2013-12-27 | 2016-06-01 | 財團法人工業技術研究院 | Method and system for image processing, decoding method, encoder and decoder |
CN104754362B (en) * | 2014-01-01 | 2021-11-02 | 上海天荷电子信息有限公司 | Image compression method using finely divided block matching |
CN104363450B (en) * | 2014-11-27 | 2017-10-27 | 北京奇艺世纪科技有限公司 | A kind of intra-frame encoding mode decision-making technique and device |
JP6115968B2 (en) * | 2015-08-04 | 2017-04-19 | 日本電信電話株式会社 | Image encoding device, image decoding device, image encoding method, image decoding method, image encoding program, and image decoding program |
-
2019
- 2019-04-15 CN CN201910300253.3A patent/CN111836043A/en active Pending
-
2020
- 2020-04-01 WO PCT/CN2020/082689 patent/WO2020211642A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102714721A (en) * | 2009-11-19 | 2012-10-03 | 汤姆森特许公司 | Method for coding and method for reconstruction of a block of an image |
CN103703773A (en) * | 2011-05-20 | 2014-04-02 | 株式会社Kt | Method and apparatus for intra prediction within display screen |
CN103650496A (en) * | 2011-07-12 | 2014-03-19 | 华为技术有限公司 | Pixel-based intra prediction for coding in HEVC |
WO2018070790A1 (en) * | 2016-10-14 | 2018-04-19 | 세종대학교 산학협력단 | Image encoding/decoding method and device |
WO2018141385A1 (en) * | 2017-02-02 | 2018-08-09 | Huawei Technologies Co., Ltd. | Image and video processing apparatuses and methods |
CN109089117A (en) * | 2017-05-11 | 2018-12-25 | 联发科技股份有限公司 | Method and apparatus for encoding or decoding video data |
Also Published As
Publication number | Publication date |
---|---|
CN111836043A (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102418957B1 (en) | Video encoding/decoding method and apparatus using prediction based on in-loop filtering | |
US11750809B2 (en) | Encoding and decoding methods and apparatuses with multiple image block division manners | |
JP6537511B2 (en) | Improved palette mode in HEVC | |
US10142628B1 (en) | Hybrid transform in video codecs | |
TW201906406A (en) | Internal filtering applied with transform processing in video write code | |
JP2019505144A (en) | Geometric transformation for filters for video coding | |
US20120275522A1 (en) | Method and apparatus for motion vector encoding/decoding using spatial division, and method and apparatus for image encoding/decoding using same | |
US11245897B2 (en) | Methods and apparatuses for signaling partioning information for picture encoding and decoding | |
US9521412B2 (en) | Method and device for determining residual data for encoding or decoding at least part of an image | |
US12075046B2 (en) | Shape adaptive discrete cosine transform for geometric partitioning with an adaptive number of regions | |
CN111279698B (en) | Asymmetric division apparatus and method for image coding | |
WO2021012942A1 (en) | Residual coding method and device, residual decoding method and device, storage medium, and electronic device | |
WO2020211642A1 (en) | Code block prediction method and apparatus, and code block decoding method and apparatus | |
CN119563317A (en) | Parallel processing based neural network image and video compression method | |
JP2024546895A (en) | Code Prediction for Block-Based Video Coding. | |
CN119366186A (en) | Method, apparatus and medium for visual data processing | |
US10764577B2 (en) | Non-MPM mode coding for intra prediction in video coding | |
WO2019150435A1 (en) | Video encoding device, video encoding method, video decoding device, video decoding method, and video encoding system | |
US11930163B2 (en) | Methods and systems for combined lossless and lossy coding | |
US12355947B1 (en) | Methods and systems for combined lossless and lossy coding | |
CN118555386A (en) | Method, apparatus and medium for encoding and decoding data stream representing image | |
CN107409216A (en) | Image encoding and decoding method, encoding and decoding device, and corresponding computer program | |
US20180309996A1 (en) | Method for encoding and decoding video signal | |
US20180070109A1 (en) | Encoding of images by vector quantization | |
GB2492395A (en) | Entropy encoding and decoding methods using quantized coefficient alphabets restricted based on flag magnitude |
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: 20790426 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02-03-2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20790426 Country of ref document: EP Kind code of ref document: A1 |