CN108632622B - Intra-frame prediction method and device and electronic equipment - Google Patents

Intra-frame prediction method and device and electronic equipment Download PDF

Info

Publication number
CN108632622B
CN108632622B CN201810307694.1A CN201810307694A CN108632622B CN 108632622 B CN108632622 B CN 108632622B CN 201810307694 A CN201810307694 A CN 201810307694A CN 108632622 B CN108632622 B CN 108632622B
Authority
CN
China
Prior art keywords
pixel
value
adjacent
coding block
mapping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810307694.1A
Other languages
Chinese (zh)
Other versions
CN108632622A (en
Inventor
朱洪波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201810307694.1A priority Critical patent/CN108632622B/en
Publication of CN108632622A publication Critical patent/CN108632622A/en
Application granted granted Critical
Publication of CN108632622B publication Critical patent/CN108632622B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/182Methods 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 a pixel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/176Methods 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

Abstract

The embodiment of the invention provides an intra-frame prediction method, an intra-frame prediction device and electronic equipment, which are applied to the technical field of video coding, wherein the method comprises the following steps: aiming at each pixel in the current coding block, determining a mapping pixel corresponding to the pixel in the adjacent pixel of the current coding block and a weighting coefficient corresponding to each mapping pixel according to the preset direction of intra-frame prediction; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. The invention can improve the accuracy of intra-frame pixel prediction and the continuity of images.

Description

Intra-frame prediction method and device and electronic equipment
Technical Field
The present invention relates to the field of video coding technologies, and in particular, to an intra prediction method, an intra prediction apparatus, and an electronic device.
Background
In the video coding technology, starting from H264, the intra-frame prediction coding becomes the mainstream technology of video intra-frame block coding, H264 is a new generation digital video compression format following MPEG4 proposed by the international organization for standardization and the international telecommunication union, in the intra-frame prediction coding technology, the prediction of the current coding block is obtained by straight line prediction according to the left adjacent column, the upper adjacent row and the preset direction, as shown in fig. 1, the current coding block is an 8 × 8 coding block, the pixel shown by the triangle is the reference pixel adjacent to the left and the upper adjacent of the current coding block, the intra-frame prediction firstly specifies a preset direction, the value of the pixel in each row or column in the current coding block can be obtained according to the preset direction of the pixel in the left adjacent column or the upper adjacent row, as shown in the sixth row of fig. 1, the pixel position mapped to the upper adjacent row according to the direction shown in fig. 1, as the dot is not in the center position of the pixel in the upper adjacent row, and therefore is not the pixel point in the whole circle point shown in fig. 1, the pixel point is calculated according to the interpolation algorithm.
However, the inventor finds that the prior art has at least the following problems in the process of implementing the invention: when each pixel in the current coding block is predicted, the value of each pixel is obtained by the adjacent pixels of the current coding block, and the continuity between each pixel and the adjacent pixels of the current coding block is low, so that the accuracy of intra-frame prediction is low, and the discontinuity of images is caused.
Disclosure of Invention
Embodiments of the present invention provide an intra prediction method, an intra prediction apparatus, and an electronic device, so as to improve accuracy of pixel value prediction and continuity of an image. The specific technical scheme is as follows:
the embodiment of the invention provides an intra-frame prediction method, which comprises the following steps:
aiming at each pixel in a current coding block, determining a mapping pixel corresponding to the pixel in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel according to a preset direction of intra-frame prediction;
obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel;
after obtaining the values of all the pixels in the current coding block, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction.
Optionally, when an included angle between the preset direction and the horizontal direction is smaller than a preset included angle, the filtering direction of the preset digital filter is a vertical direction, and for each pixel in the current coding block, a pixel adjacent to the pixel is an adjacent pixel in the vertical direction of the pixel;
and when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel of the pixel in the horizontal direction.
Optionally, the filtering, by using a preset digital filter, the pixel according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain the updated value of the pixel includes:
sequentially acquiring each coefficient value in the preset digital filter, and establishing the corresponding relation between each coefficient value and the pixel as well as the adjacent pixel of the pixel according to the arrangement sequence of the pixel and the adjacent pixel of the pixel in the current coding block;
and taking the sum of the product of the value of the pixel adjacent to the pixel and the coefficient value of the pixel adjacent to the pixel in the preset digital filter and the product of the value of the pixel and the coefficient value of the pixel in the preset digital filter as the updated value of the pixel.
Optionally, the intra prediction method according to the embodiment of the present invention further includes:
and regarding the pixel positioned at the edge of the current coding block, if judging that the adjacent pixel with the empty pixel value exists in the adjacent pixels of the pixel, taking the value of the pixel as the value of the adjacent pixel with the empty pixel value.
Optionally, the determining, according to the preset direction of intra prediction, a mapping pixel corresponding to the pixel in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel respectively includes:
determining a mapping position of a pixel point position of the pixel in an adjacent pixel of the current coding block according to a preset direction of intra-frame prediction and the pixel point position of the pixel, wherein a straight line formed by the pixel point position and the mapping position is parallel to the preset direction;
and determining the pixels associated with the mapping positions as mapping pixels, and determining the weighting coefficients corresponding to the mapping pixels according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
An embodiment of the present invention provides an intra prediction apparatus, where the apparatus includes:
the mapping pixel determining module is used for determining a mapping pixel corresponding to each pixel in the current coding block in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel according to the preset direction of intra-frame prediction;
a pixel value determining module, configured to obtain a value of each mapping pixel according to the obtained value of the mapping pixel and a weighting coefficient corresponding to each mapping pixel;
and the pixel value updating module is used for filtering each pixel in the current coding block according to the value of the pixel and the value of the adjacent pixel of the pixel through a preset digital filter after the values of all the pixels in the current coding block are obtained, so as to obtain the updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction.
Optionally, when an included angle between the preset direction and the horizontal direction is smaller than a preset included angle, the filtering direction of the preset digital filter is a vertical direction, and for each pixel in the current coding block, a pixel adjacent to the pixel is an adjacent pixel in the vertical direction of the pixel;
and when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel of the pixel in the horizontal direction.
Optionally, the pixel value updating module is specifically configured to sequentially obtain each coefficient value in the preset digital filter, and establish a corresponding relationship between each coefficient value and the pixel and a pixel adjacent to the pixel according to an arrangement order of the pixel and the pixel adjacent to the pixel in the current coding block;
and taking the sum of the product of the value of the pixel adjacent to the pixel and the coefficient value of the pixel adjacent to the pixel in the preset digital filter and the product of the value of the pixel and the coefficient value of the pixel in the preset digital filter as the updated value of the pixel.
Optionally, the intra prediction apparatus according to the embodiment of the present invention further includes:
and the pixel value edge expanding module is used for aiming at the pixels positioned at the edge of the current coding block, and if judging that the adjacent pixels with empty pixel values exist in the adjacent pixels of the pixels, taking the values of the pixels as the values of the adjacent pixels with empty pixel values.
Optionally, the mapping pixel determining module is specifically configured to determine, according to a preset direction of intra-frame prediction and a pixel position of the pixel, a mapping position of a pixel point position of the pixel in an adjacent pixel of the current coding block, where a straight line formed by the pixel point position and the mapping position is parallel to the preset direction;
and determining the pixels associated with the mapping positions as mapping pixels, and determining the weighting coefficients corresponding to the mapping pixels according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
An embodiment of the present invention provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the steps of any of the above-described intra prediction methods when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to perform the steps of any of the above-described intra prediction methods.
In yet another aspect of the present invention, the present invention also provides a computer program product including instructions, which when run on a computer, causes the computer to perform the steps of any of the above-mentioned intra prediction methods.
According to the intra-frame prediction method, the intra-frame prediction device and the electronic equipment, aiming at each pixel in a current coding block, according to a preset direction of intra-frame prediction, a mapping pixel corresponding to the pixel in a pixel adjacent to the current coding block and a weighting coefficient corresponding to each mapping pixel are determined; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel in the current coding block, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images. Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a block diagram of a coding block for intra prediction in the prior art;
FIG. 2 is a flowchart illustrating an intra prediction method according to an embodiment of the present invention;
FIG. 3 is a block diagram of an intra-coded block according to an embodiment of the present invention;
FIG. 4 is a block diagram of an intra prediction apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
In the existing intra-frame prediction method, the value of each pixel in the current coding block is obtained by the adjacent pixels of the current coding block, and the continuity between each pixel and the adjacent pixels of the current coding block is low. In order to solve the problem, embodiments of the present invention provide an intra prediction method, an intra prediction apparatus, and an electronic device, so as to improve the accuracy of pixel value prediction and the continuity of an image.
First, the intra prediction method provided by the embodiment of the present invention will be described in detail.
Referring to fig. 2, fig. 2 is a flowchart of an intra prediction method according to an embodiment of the present invention, including the following steps:
s201, aiming at each pixel in the current coding block, according to the preset direction of intra-frame prediction, determining the mapping pixel corresponding to the pixel in the adjacent pixel of the current coding block and the weighting coefficient corresponding to each mapping pixel.
Specifically, referring to fig. 1, the current coding block is a coding block of 8 × 8 surrounded by a thick line and includes 64 pixels, in fig. 1, small triangles are included in an upper adjacent row and a left adjacent column of the current coding block, which indicate that values of pixels in the upper adjacent row and the left adjacent column of the current coding block are known and can be directly obtained, and values of pixels in the current coding block are obtained by predicting values of pixels in the upper adjacent row and the left adjacent column.
For example, in the embodiment of the present invention, the central position of each pixel may be determined as a pixel point of the pixel, and then, the pixel 101 in the row 6 and the column 1 of the current coding block in fig. 1 is mapped to the pixel 102 in the adjacent row on the current coding block according to the preset direction, and is specifically mapped to the position of a small triangle in the pixel 102. Obviously, the value of the pixel 101 is related to the pixel 102, and in addition, the value of the pixel 101 may also be related to the left adjacent pixel and the right adjacent pixel of the pixel 102, and the number of the left adjacent pixel and the number of the right adjacent pixel may be 1 or 2 respectively. If the number of the left adjacent pixel and the right adjacent pixel is 1, the mapping pixels corresponding to the pixel 101 are the pixel 102, the pixel 103, and the pixel 104. The weighting coefficient of each mapping pixel can be determined according to the position distance between the mapping pixel point of the pixel 101 (the triangle position in the pixel 102) and each mapping pixel, and the specific determination method will be described in detail below and will not be described in detail here.
S202, obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel.
In the embodiment of the present invention, the pixel value may be a weighted average of the values of the mapped pixels, and therefore, in this step, the product of the value of each mapped pixel and the weighting coefficient corresponding to the mapped pixel is added to obtain the pixel value.
S203, after obtaining the values of all the pixels in the current coding block, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction.
As can be seen from S202, the value of each pixel in the current encoding block is determined according to the neighboring pixels of the current encoding block, and there is no relationship between the pixels in the current encoding block. Generally, there is a certain association relationship between adjacent pixels, so that, after obtaining values of all pixels in the current coding block, the embodiment of the present invention performs digital filtering on each pixel through a preset digital filter according to the positional relationship between each pixel and the adjacent pixels in the current coding block. The preset digital filter performs digital filtering on each pixel, that is, the preset digital filter performs calculation on each pixel according to a pre-programmed program. The preset digital filter in the embodiment of the present invention may include a plurality of coefficient values, and the coefficient values may be determined according to the size of the current coding block. Referring to table one, table one is the correspondence of the coding block size and the digital filter.
Watch 1
Coding block size Digital filter
4×4 {-3,3,32,3,-3}/32
8×8 {-3,8,54,8,-3}/64
16×16 {0,5,22,5,0}/32
32×32 {7,12,26,12,7}/64
It can be seen that the digital filter in table one includes 5 coefficient values, the coding block sizes are different, and the coefficient values in the digital filter are also different. The preset digital filter in the embodiment of the invention can be obtained through tests, so that the filtering accuracy can be improved, and the intra-frame pixel value prediction accuracy can be improved. In addition, the filtering direction of the preset digital filter is determined according to the preset direction, specifically, when the included angle between the preset direction and the horizontal direction is smaller than the preset included angle, the filtering direction of the preset digital filter is the vertical direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel in the vertical direction of the pixel; when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the pixel adjacent pixel is the pixel adjacent to the pixel in the horizontal direction. For example, the preset angle may be 45 °, and for the block diagram of the coding block shown in fig. 3, the preset direction is close to the vertical direction, that is, the angle with the horizontal direction is greater than the preset angle, so that the filtering direction of the digital filter is the horizontal direction, and for each pixel in the current coding block, the pixel adjacent to the pixel is the adjacent pixel in the horizontal direction of the pixel. For example, when the number of coefficient values in the preset digital filter is 5, the adjacent pixels of the pixel B in the current coding block are the pixel G, the pixel a, the pixel C and the pixel D. The pixel B can be filtered according to the values of the pixel G, the pixel A, the pixel B, the pixel C and the pixel D, so that the value of the pixel B is also related to the adjacent pixel G, the pixel A, the pixel C and the pixel D, and the accuracy of pixel value prediction can be improved by utilizing the position adjacent relation.
Of course, the pixel neighboring pixels may further include: the weights of the adjacent pixels in the horizontal direction and the adjacent pixels in the vertical direction of the pixel can be set by presetting an included angle between the direction and the horizontal direction.
In the intra-frame prediction method provided by the embodiment of the invention, for each pixel in a current coding block, according to a preset direction of intra-frame prediction, a mapping pixel corresponding to the pixel in an adjacent pixel of the current coding block and a weighting coefficient corresponding to each mapping pixel are determined; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images. As the accuracy of pixel prediction in the frame is improved, the efficiency of pixel coding is also improved, and experiments show that the code rate can be saved by 0.4% for a 4x4 coding block; for an 8x8 coded block, the code rate can be saved by 0.66%; for a coding block of 16x16, the code rate can be saved by 1.1%; for a coding block of 32x32, the code rate can be saved by 1.6%.
In one implementation manner of the present invention, in embodiment S203 in fig. 2, the method for digitally filtering each pixel in the current coding block includes: sequentially acquiring coefficient values in a preset digital filter, establishing a corresponding relation between the coefficient values and the pixel and the adjacent pixel of the pixel according to the arrangement sequence of the pixel and the adjacent pixel of the pixel in the current coding block, and taking the sum of the product of the value of the adjacent pixel of the pixel and the coefficient value of the adjacent pixel of the pixel in the preset digital filter and the product of the value of the pixel and the coefficient value of the pixel in the preset digital filter as an updated value of the pixel.
In the embodiment of the invention, the preset digital filter comprises a plurality of coefficient values, each pixel in the current coding block is filtered through the preset digital filter, the corresponding relation between the coefficient values and the pixels is firstly established, and then the updating value of the pixels is calculated according to the corresponding relation.
For example, for the pixel B in fig. 3, since the adjacent pixels of the pixel B are horizontally adjacent pixels, specifically including the pixel G, the pixel a, the pixel C, and the pixel D, and the adjacent pixels of the pixel B and the pixel B are arranged in the current coding block in the order of 8 × 8 in the current coding block in fig. 3, see table one, the preset digital filter is { -3,8,54,8, -3}/64, and the values of the coefficients corresponding to the pixel G, the pixel a, the pixel B, the pixel C, and the pixel D are-3/64, 8/64, 54/64, 8/64, and-3/64, respectively, according to the above arrangement order, the method for filtering the pixel B can specifically refer to the following formula:
bb=(-3×g+8×a+54×b+8×c-3×d+32)/64,
where G is the value of pixel G, a is the value of pixel a, B is the value of pixel B, C is the value of pixel C, D is the value of pixel D, and bb is the updated value of pixel B, 32/64 in the above equation indicates that bb is rounded.
In addition, for a pixel located at the edge of the current coding block, if it is determined that there is an adjacent pixel having a pixel value that is null among the adjacent pixels of the pixel, the value of the pixel is set as the value of the adjacent pixel having a pixel value that is null.
In the embodiment of the present invention, the intra prediction is usually from left to right and from top to bottom, that is, the values of the pixels in the adjacent row and the left adjacent column on the current coding block are known and can be directly obtained. However, the values of the pixels in the adjacent row and the adjacent right column below the current coding block are unknown, for example, when filtering the right edge pixel of the current coding block, there will be an adjacent pixel with a pixel value of null in the adjacent pixel of the right edge pixel, and then edge extension is needed, that is, the value of the right edge pixel is taken as the value of the adjacent pixel with a pixel value of null.
For example, for the pixel H in fig. 3, the neighboring pixels of the pixel H include: pixel F, pixel N and two pixels to the right of pixel H, where the two pixels to the right of pixel H are located to the right of the current coding block, and the values of the two pixels to the right of pixel H are unknown, so the value of pixel H can be taken as the value of the two pixels to the right of pixel H. Then, the method for filtering the pixel H can be specifically referred to the following formula:
hh=(-3×f+8×n+54×h+8×h-3×h+32)/64,
where F is the value of pixel F, N is the value of pixel N, H is the value of pixel H, and hh is the updated value of pixel H, 32/64 in the above equation indicates that hh is rounded.
In an implementation manner of the present invention, in the embodiment S201 in fig. 2, determining, according to a preset direction of intra prediction, mapping pixels corresponding to the pixel in adjacent pixels of a current coding block, and a weighting coefficient corresponding to each mapping pixel respectively includes the following steps:
the method comprises the following steps of firstly, determining the mapping position of the pixel point position of a pixel in the adjacent pixel of a current coding block according to the preset direction of intra-frame prediction and the pixel point position of the pixel, wherein the straight line formed by the pixel point position and the mapping position is parallel to the preset direction.
Specifically, the pixel point position of the pixel may be the center position of the pixel, and the mapping position of the pixel point position in the adjacent pixel of the current coding block may be determined along the preset direction, so that a straight line formed by the pixel point position and the mapping position is parallel to the preset direction. For example, as shown in fig. 1, the mapping position of the pixel point position of the pixel S101 in the adjacent pixel of the current coding block is a triangle position in the pixel S102.
And secondly, determining pixels associated with the mapping positions as mapping pixels, and determining a weighting coefficient corresponding to each mapping pixel according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
In the embodiment of the present invention, the mapping position of the pixel point position of the pixel in the adjacent pixel of the current coding block may be obtained from the first step, and then the pixel associated with the pixel may be determined according to the mapping position. For example, the triangle position in the pixel S102 is the mapping position of the pixel point position of the pixel S101 in the current coding block neighboring pixel, and obviously, the value of the pixel S101 is associated with the pixel S102, and the triangle position is adjacent to the left neighboring pixel and the right neighboring pixel of the pixel S102, and the value of the pixel S101 is associated with the left neighboring pixel and the right neighboring pixel of the pixel S102. The number of the left adjacent pixel and the right adjacent pixel of the pixel S102 may be 1 or 2, respectively. If the number of the left adjacent pixel and the right adjacent pixel of the pixel S102 is 1, the mapping pixels of the pixel S101 are the pixel S102, the pixel 103, and the pixel 104. If the distance from the mapping position to the pixel S102 is 1/4 cells, the distance from the mapping position to the pixel S103 is 3/4 cells, and the distance from the mapping position to the pixel S104 is 5/4 cells, the smaller the distance is, the larger the weighting coefficient is; the larger the distance, the smaller the weighting coefficient, and then the weighting coefficients of the pixel S102, the pixel 103, and the pixel 104 may be calculated according to the ratio of the distance, for example: 5/9, 3/9, and 1/9. Of course, the specific calculation method of the weighting coefficients is not unique and belongs to the prior art, and will not be described herein. After the mapping pixels of the pixels in the current coding block and the weighting coefficients corresponding to each mapping pixel are determined through the steps, intra-frame prediction can be performed on the pixels, and therefore the values of the pixels are obtained.
Corresponding to the foregoing method embodiment, an embodiment of the present invention further provides an intra prediction apparatus, referring to fig. 4, where fig. 4 is a structural diagram of the intra prediction apparatus according to the embodiment of the present invention, including:
a mapped pixel determining module 401, configured to determine, for each pixel in the current coding block, a mapped pixel corresponding to the pixel in an adjacent pixel of the current coding block and a weighting coefficient corresponding to each mapped pixel according to a preset direction of intra prediction;
a pixel value determining module 402, configured to obtain a value of each mapping pixel according to the obtained value of the mapping pixel and a weighting coefficient corresponding to each mapping pixel;
a pixel value updating module 403, configured to filter, for each pixel in the current coding block, the pixel according to the value of the pixel and the value of an adjacent pixel of the pixel through a preset digital filter after obtaining the values of all the pixels in the current coding block, so as to obtain an updated value of the pixel, where the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to a preset direction.
The intra-frame prediction device provided by the embodiment of the invention determines the mapping pixel of each pixel in the current coding block and the corresponding weighting coefficient of each mapping pixel in the adjacent pixels of the current coding block according to the preset direction of intra-frame prediction aiming at each pixel in the current coding block; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images.
It should be noted that, the apparatus according to the embodiment of the present invention is an apparatus applying the intra prediction method, and all embodiments of the intra prediction method are applicable to the apparatus and can achieve the same or similar beneficial effects.
In an implementation manner of the present invention, when an included angle between a preset direction and a horizontal direction is smaller than a preset included angle, a filtering direction of a preset digital filter is a vertical direction, and for each pixel in a current coding block, an adjacent pixel of the pixel is an adjacent pixel in the vertical direction of the pixel;
when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the pixel adjacent pixel is the pixel adjacent to the pixel in the horizontal direction.
In an implementation manner of the present invention, the pixel value updating module is specifically configured to sequentially obtain each coefficient value in the preset digital filter, establish a corresponding relationship between each coefficient value and the pixel adjacent to the pixel according to an arrangement order of the pixel and the pixel adjacent to the pixel in the current coding block, and take a sum of a product of a value of the pixel adjacent to the pixel and a coefficient value corresponding to the pixel adjacent to the pixel in the preset digital filter and a sum of a product of a value of the pixel and a coefficient value corresponding to the pixel in the preset digital filter as an updated value of the pixel.
In one implementation manner of the present invention, the intra prediction apparatus further includes:
and the pixel value edge expanding module is used for aiming at the pixels positioned at the edge of the current coding block, and if judging that the adjacent pixels with empty pixel values exist in the adjacent pixels of the pixels, taking the values of the pixels as the values of the adjacent pixels with empty pixel values.
In an implementation manner of the present invention, the mapping pixel determining module is specifically configured to determine, according to a preset direction of intra-frame prediction and a pixel position of the pixel, a mapping position of a pixel point position of the pixel in an adjacent pixel of a current coding block, where a straight line formed by the pixel point position and the mapping position is parallel to the preset direction;
and determining pixels associated with the mapping positions as mapping pixels, and determining the weighting coefficients corresponding to the mapping pixels according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
An embodiment of the present invention further provides an electronic device, referring to fig. 5, where fig. 5 is a structural diagram of the electronic device according to the embodiment of the present invention, including: the system comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are communicated with each other through the communication bus 504;
a memory 503 for storing a computer program;
the processor 501 is configured to implement the steps of any of the intra prediction methods in the above embodiments when executing the program stored in the memory 503.
It should be noted that the communication bus 504 mentioned in the electronic device may be a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry standard architecture) bus, or the like. The communication bus 504 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
The communication interface 502 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 503 may include a RAM (Random Access Memory) and a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The processor 501 may be a general-purpose processor, including: a CPU (Central Processing Unit), an NP (Network Processor), and the like; but also a DSP (Digital signal processing), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In the electronic device of the embodiment of the invention, a processor determines a mapping pixel corresponding to each pixel in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel according to the preset direction of intra-frame prediction aiming at each pixel in the current coding block by executing a program stored in a memory; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to perform the steps of any of the intra prediction methods in the above embodiments.
When an instruction stored in a computer-readable storage medium of an embodiment of the present invention runs on a computer, for each pixel in a current coding block, according to a preset direction of intra-frame prediction, determining a mapping pixel corresponding to the pixel in a pixel adjacent to the current coding block, and a weighting coefficient corresponding to each mapping pixel; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer causes the computer to perform the steps of any of the intra prediction methods described in the above embodiments.
As can be seen, when the computer program product of the embodiment of the present invention runs on a computer, for each pixel in a current coding block, according to a preset direction of intra prediction, determining a mapping pixel corresponding to the pixel in a pixel adjacent to the current coding block, and a weighting coefficient corresponding to each mapping pixel; obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel; after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of the pixel adjacent to the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction. According to the embodiment of the invention, after intra-frame prediction is carried out, each pixel in the current coding block is filtered according to the position adjacent relation of the pixel, so that the obtained value of the pixel is not only related to the adjacent pixel of the current coding block, but also related to the adjacent pixel of the pixel, and the incidence relation between the pixel and the adjacent pixel can be increased, thereby improving the accuracy of intra-frame pixel value prediction and the continuity of images.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (9)

1. A method of intra prediction, the method comprising:
aiming at each pixel in a current coding block, determining a mapping pixel corresponding to the pixel in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel according to a preset direction of intra-frame prediction;
obtaining the value of each pixel according to the obtained value of each mapping pixel and the weighting coefficient corresponding to each mapping pixel;
after values of all pixels in the current coding block are obtained, filtering each pixel in the current coding block through a preset digital filter according to the value of the pixel and the value of an adjacent pixel of the pixel to obtain an updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction;
when the included angle between the preset direction and the horizontal direction is smaller than a preset included angle, the filtering direction of the preset digital filter is the vertical direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel in the vertical direction of the pixel;
and when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel of the pixel in the horizontal direction.
2. The method of claim 1, wherein the filtering the pixel according to the value of the pixel and the values of the neighboring pixels of the pixel through a predetermined digital filter to obtain the updated value of the pixel comprises:
sequentially acquiring each coefficient value in the preset digital filter, and establishing the corresponding relation between each coefficient value and the pixel as well as the adjacent pixel of the pixel according to the arrangement sequence of the pixel and the adjacent pixel of the pixel in the current coding block;
and taking the sum of the product of the value of the pixel adjacent to the pixel and the coefficient value of the pixel adjacent to the pixel in the preset digital filter and the product of the value of the pixel and the coefficient value of the pixel in the preset digital filter as the updated value of the pixel.
3. The method of claim 2, further comprising:
and regarding the pixel positioned at the edge of the current coding block, if judging that the adjacent pixel with the empty pixel value exists in the adjacent pixels of the pixel, taking the value of the pixel as the value of the adjacent pixel with the empty pixel value.
4. The method of claim 1, wherein the determining, according to the preset direction of intra prediction, the mapped pixel corresponding to the pixel in the neighboring pixels of the current coding block, and the weighting factor corresponding to each mapped pixel respectively comprises:
determining a mapping position of a pixel point position of the pixel in an adjacent pixel of the current coding block according to a preset direction of intra-frame prediction and the pixel point position of the pixel, wherein a straight line formed by the pixel point position and the mapping position is parallel to the preset direction;
and determining the pixels associated with the mapping positions as mapping pixels, and determining the weighting coefficients corresponding to the mapping pixels according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
5. An apparatus for intra prediction, the apparatus comprising:
the mapping pixel determining module is used for determining a mapping pixel corresponding to each pixel in the current coding block in the adjacent pixels of the current coding block and a weighting coefficient corresponding to each mapping pixel according to the preset direction of intra-frame prediction;
a pixel value determining module, configured to obtain a value of each mapping pixel according to the obtained value of the mapping pixel and a weighting coefficient corresponding to each mapping pixel;
the pixel value updating module is used for filtering each pixel in the current coding block according to the value of the pixel and the value of the adjacent pixel of the pixel through a preset digital filter after the values of all the pixels in the current coding block are obtained, so as to obtain the updated value of the pixel, wherein the preset digital filter is determined according to the size of the current coding block, and the filtering direction of the preset digital filter is determined according to the preset direction;
when the included angle between the preset direction and the horizontal direction is smaller than a preset included angle, the filtering direction of the preset digital filter is the vertical direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel in the vertical direction of the pixel;
and when the included angle between the preset direction and the horizontal direction is not smaller than the preset included angle, the filtering direction of the preset digital filter is the horizontal direction, and for each pixel in the current coding block, the adjacent pixel of the pixel is the adjacent pixel of the pixel in the horizontal direction.
6. The intra-frame prediction apparatus according to claim 5, wherein the pixel value updating module is specifically configured to sequentially obtain each coefficient value in the preset digital filter, and establish a corresponding relationship between each coefficient value and the pixel adjacent to the pixel according to an arrangement order of the pixel and the pixel adjacent to the pixel in the current coding block;
and taking the sum of the product of the value of the pixel adjacent to the pixel and the coefficient value of the pixel adjacent to the pixel in the preset digital filter and the product of the value of the pixel and the coefficient value of the pixel in the preset digital filter as the updated value of the pixel.
7. The apparatus of claim 6, wherein the apparatus further comprises:
and the pixel value edge expanding module is used for aiming at the pixels positioned at the edge of the current coding block, and if judging that the adjacent pixels with empty pixel values exist in the adjacent pixels of the pixels, taking the values of the pixels as the values of the adjacent pixels with empty pixel values.
8. The intra-frame prediction apparatus according to claim 5, wherein the mapped pixel determining module is specifically configured to determine, according to a preset direction of intra-frame prediction and a pixel position of the pixel, a mapped position of a pixel point position of the pixel in the adjacent pixel of the current coding block, where a straight line formed by the pixel point position and the mapped position is parallel to the preset direction;
and determining the pixels associated with the mapping positions as mapping pixels, and determining the weighting coefficients corresponding to the mapping pixels according to the number of the mapping pixels and the distance between the mapping pixels and the mapping positions.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor, when executing the program stored in the memory, implements the steps of the intra prediction method according to any one of claims 1 to 4.
CN201810307694.1A 2018-04-08 2018-04-08 Intra-frame prediction method and device and electronic equipment Active CN108632622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810307694.1A CN108632622B (en) 2018-04-08 2018-04-08 Intra-frame prediction method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810307694.1A CN108632622B (en) 2018-04-08 2018-04-08 Intra-frame prediction method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108632622A CN108632622A (en) 2018-10-09
CN108632622B true CN108632622B (en) 2020-06-26

Family

ID=63704837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810307694.1A Active CN108632622B (en) 2018-04-08 2018-04-08 Intra-frame prediction method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108632622B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600116A (en) * 2009-03-11 2009-12-09 北京中星微电子有限公司 A kind of intra-frame prediction method and device
CN104380730A (en) * 2012-01-19 2015-02-25 华为技术有限公司 Simplification of mode dependent intra smoothing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600116A (en) * 2009-03-11 2009-12-09 北京中星微电子有限公司 A kind of intra-frame prediction method and device
CN104380730A (en) * 2012-01-19 2015-02-25 华为技术有限公司 Simplification of mode dependent intra smoothing

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CE13: Mode Dependent Hybrid Intra Smoothing(JCTVC-D282);Yunfei Zheng等;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 4th Meeting: Daegu, KR, 20-28 January, 2011》;20110116;全文 *
HM7: High Efficiency Video Coding (HEVC) Test Model 8 Encoder Description(JCTVC-J1002);Il-Koo Kim;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 10th Meeting: Stockholm, SE, 11–20 July 2012》;20121009;第10-12页 *
LUT-based adaptive filtering on intra prediction samples(JCTVC-D109);Kazuo Sugimoto等;《Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO/IEC JTC1/SC29/WG11 4th Meeting: Daegu, KR, 20-28 January, 2011》;20110114;第1-4页 *

Also Published As

Publication number Publication date
CN108632622A (en) 2018-10-09

Similar Documents

Publication Publication Date Title
EP3509305B1 (en) Intra-prediction video coding method and device
CN110839155B (en) Method and device for motion estimation, electronic equipment and computer-readable storage medium
CN110072112B (en) Intra-frame prediction method, encoder and storage device
CN111988607B (en) Encoding unit processing method and device, electronic equipment and storage medium
US10791326B2 (en) Video coding processing method and apparatus, and storage medium
JP2015526020A (en) Limited intra-deblocking filtering for video coding
WO2019085942A1 (en) Sao mode decision-making method, apparatus, electronic device and readable storage medium
KR20210041603A (en) Method and apparatus for predicting video image elements, and computer storage medium
US10715820B2 (en) Interframe predictive coding method and device
CN110956594A (en) Image filtering method and device, electronic equipment and storage medium
CN110278443B (en) Context modeling method and device for dividing zone bits
CN108632622B (en) Intra-frame prediction method and device and electronic equipment
CN108810543B (en) Video coding compensation method and device and electronic equipment
CN109660806B (en) Encoding method and device and electronic equipment
CN108668166B (en) Coding method, device and terminal equipment
CN113422956B (en) Image coding method and device, electronic equipment and storage medium
CN110769255B (en) Image coding method and device
CN110879948B (en) Image processing method, device and storage medium
CN109618152B (en) Depth division coding method and device and electronic equipment
CN109168004B (en) Interpolation method and device for motion compensation
WO2021129627A1 (en) Affine prediction method and related devices
CN113115034B (en) Video processing method and device, electronic equipment and storage medium
CN115546066A (en) Image data processing method, device, equipment and storage medium
CN115460405A (en) Video encoding method, video encoding device, electronic equipment and computer-readable storage medium
CN116485671A (en) Pixel information processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant