CN110248194A - Angle prediction technique and equipment in a kind of frame - Google Patents
Angle prediction technique and equipment in a kind of frame Download PDFInfo
- Publication number
- CN110248194A CN110248194A CN201910580343.2A CN201910580343A CN110248194A CN 110248194 A CN110248194 A CN 110248194A CN 201910580343 A CN201910580343 A CN 201910580343A CN 110248194 A CN110248194 A CN 110248194A
- Authority
- CN
- China
- Prior art keywords
- prediction mode
- block
- angle
- current block
- sub
- 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.)
- Granted
Links
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/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/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/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
Abstract
The present invention provides angle prediction techniques in a kind of frame, by the first prediction mode for obtaining prediction current block, when the first prediction mode is angle prediction mode, and when there is second angle prediction mode corresponding with the contrary second angle of the first angle of first prediction mode, according to the minimum distance of the left side block of the current block and the size relation between the minimum distance of the top block of the current block, the current block is divided into the first sub-block and the second sub-block, and first sub-block and second sub-block are predicted respectively using first prediction mode and second angle prediction mode, so that the first sub-block and the second sub-block can usually obtain predicted value according to the reference image being closer, improve prediction accuracy, to reduce residual values, improve compression ratio.
Description
Technical field
The present invention relates to block of pixels electric powder predictions, and in particular to angle prediction technique and equipment in a kind of frame.
Background technique
Intra prediction is the correlation using sdi video domain, is worked as using encoded pixel prediction neighbouring in same frame image
Preceding pixel, to achieve the purpose that effectively remove video spatial redundancy.It H.266 is after the new Video coding H.265 formulated afterwards
Standard, which employs MPM (most probable modes, i.e. most probable mode) coding methods, i.e., according to a left side for current block
Side block, lower-left block, upper right block and top block choose optimum prediction mode, including 65 kinds of angle prediction modes and Planar mould
Formula, DC mode.
However existing angle prediction mode is predicted only with a kind of angle prediction mode single pixel block,
And when block of pixels size to be predicted is larger, the prediction accuracy of the farther away pixel to be predicted of distance reference pixel is not high,
Cause residual values larger, compression ratio is relatively low.
Summary of the invention
In view of this, the embodiment of the present invention is dedicated to providing angle prediction technique and equipment in a kind of frame, pass through two kinds of angles
It spends prediction mode and realizes that the pixel in block of pixels can refer to closer reference pixel, it is accurate to solve existing pixel prediction
Spend the problem not high, residual values are larger, compression ratio is relatively low.
According to an aspect of the present invention, angle prediction technique in a kind of frame that one embodiment of the invention provides, comprising: obtain
The first prediction mode for predicting current block, wherein the current block includes multiple pixels;Judge first prediction mode
It whether is angle prediction mode;When it is angle prediction mode that judging result, which is first prediction mode, judge whether there is
Second angle prediction mode, wherein first jiao of the second angle of the second angle prediction mode and first prediction mode
It spends contrary;When judging result is there are when second angle prediction mode, most according to the left side block with the current block
Closely and the size relation between the minimum distance of the top block of the current block, the current block is divided into the
One sub-block and the second sub-block;And described is predicted respectively using first prediction mode and second angle prediction mode
One sub-block and second sub-block.
In one embodiment, the minimum distance of the basis and the left side block of the current block and with the current block
Top block minimum distance between size relation, the current block is divided into the first sub-block and the second sub-block packet
It includes: being divided to first sub-district with the pixel of the minimum distance of the top block for being equal to the minimum distance of the left side block
Block.
In one embodiment, first prediction mode for obtaining prediction current block includes: by rate-distortion optimization side
Formula obtains first prediction mode.
In one embodiment, it includes: that traversal is all that the percent of pass distortion optimal fashion, which obtains first prediction mode,
Intra prediction mode, obtain rate distortion costs value of the current block under every kind of intra prediction mode;And choose institute
Having the corresponding intra prediction mode of minimum rate distortion costs value in rate distortion costs value is first prediction mode.
In one embodiment, described in being predicted respectively in the utilization first prediction mode and second angle prediction mode
After first sub-block and second sub-block, further includes: calculate the current block in the first prediction mode and second jiao
Spend the combination rate distortion costs value under prediction mode;And determine that the combination rate distortion costs value and the minimum rate are distorted generation
Prediction knot of the result that prediction mode corresponding to lesser rate distortion costs value is predicted in value as the current block
Fruit.
According to another aspect of the present invention, angle predicts equipment in a kind of frame that one embodiment of the invention provides, comprising: obtains
Modulus block, for obtaining the first prediction mode of prediction current block, wherein the current block includes multiple pixels;First sentences
Disconnected module, for judging whether first prediction mode is angle prediction mode;Second judgment module, for working as judging result
When for first prediction mode being angle prediction mode, second angle prediction mode is judged whether there is, wherein described second
The second angle of angle prediction mode is contrary with the first angle of first prediction mode;Division module is sentenced for working as
Disconnected result is to work as there are when second angle prediction mode according to the minimum distance of the left side block with the current block and with described
The current block is divided into the first sub-block and the second son by the size relation between the minimum distance of the top block of preceding block
Block;And prediction module, for predicting described first respectively using first prediction mode and second angle prediction mode
Sub-block and second sub-block.
In one embodiment, the division module be configured that by with the minimum distance of the left side block be equal to it is described on
The pixel of the minimum distance of side block is divided to first sub-block.
In one embodiment, the acquisition module is configured that percent of pass distortion optimal fashion obtains the first prediction mould
Formula.
In one embodiment, the acquisition module includes: traversal submodule, for traversing all intra prediction modes,
Obtain rate distortion costs value of the current block under every kind of intra prediction mode;And submodule is chosen, for choosing
Having the corresponding intra prediction mode of minimum rate distortion costs value in rate distortion costs value is first prediction mode.
In one embodiment, the equipment further include: computing module predicts mould first for calculating the current block
Combination rate distortion costs value under formula and second angle prediction mode;And determining module, for determining the combination rate distortion
The result that prediction mode corresponding to lesser rate distortion costs value is predicted in cost value and the minimum rate distortion costs value
Prediction result as the current block.
Angle prediction technique and equipment in frame provided in an embodiment of the present invention, it is pre- by obtain prediction current block first
Survey mode judges whether the first prediction mode is angle prediction mode, when the first prediction mode is angle prediction mode, judgement
With the presence or absence of second angle prediction mode corresponding with the contrary second angle of the first angle of first prediction mode,
When there are second angle prediction mode, according to the minimum distance of the left side block with the current block and with the current block
Top block minimum distance between size relation, the current block is divided into the first sub-block and the second sub-block,
And first sub-block and second son are predicted respectively using first prediction mode and second angle prediction mode
Block;The first sub-block and the second sub-block are predicted respectively using the first prediction mode and second angle prediction mode, so that the
One sub-block and the second sub-block can usually obtain predicted value according to the reference image being closer, and improve prediction accuracy,
To reduce residual values, improve compression ratio.
Detailed description of the invention
Fig. 1 show the flow chart of angle prediction technique in a kind of frame of one embodiment of the application offer.
Fig. 2 show an exemplary construction schematic diagram of one embodiment of the application offer.
Fig. 3 show a kind of flow chart of the first prediction mode method of acquisition of one embodiment of the application offer.
Fig. 4 show the flow chart of angle prediction technique in a kind of frame that another embodiment of the application provides.
Fig. 5 show the structural schematic diagram of angle prediction equipment in a kind of frame of one embodiment of the application offer.
Fig. 6 show a kind of structural schematic diagram of acquisition module of one embodiment of the application offer.
Fig. 7 show the structural schematic diagram of angle prediction equipment in a kind of frame that another embodiment of the application provides.
Fig. 8 show the block diagram of the electronic equipment of one embodiment of the application offer.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
In addition, in the exemplary embodiment because identical reference marker indicate to have mutually isostructural same parts or
The same steps of same procedure, if being illustratively described an embodiment, in other exemplary embodiments only description with
The different structure or method of described embodiment.
In the whole instruction and claims, when a component representation be ' attach ' to another component, a portion
Part " can be directly connected to " to another component, or arrive another component by third member " electrical connection ".In addition, unless clearly
Opposite description is carried out, term " includes " and its corresponding term should only be interpreted as including the component, and the row of should not be construed
Except any other component.
Fig. 1 show the flow chart of angle prediction technique in a kind of frame of one embodiment of the application offer.As shown in Figure 1,
Angle prediction technique includes the following steps: in the frame
Step 110: obtaining the first prediction mode of prediction current block, wherein current block includes multiple pixels.
By choosing a kind of the first prediction mode as prediction current block in intra prediction mode, selected first is pre-
Survey mode is the prediction mode of optimal prediction current block, wherein rate-distortion optimization can be passed through by choosing first prediction mode
Etc. modes obtain.
Step 120: judging whether the first prediction mode is angle prediction mode, if so, going to step 130.
Since intra prediction mode includes 65 kinds of angle prediction modes and Planar mode, DC mode, if choose first
Prediction mode is one of Planar mode, DC mode, then there is no angles.Therefore, in one embodiment, when first is pre-
When survey mode is not angle prediction mode, the first prediction mode can be directly used, current block is predicted.
Step 130: judge whether there is second angle prediction mode, wherein the second angle of second angle prediction mode with
The first angle of first prediction mode is contrary, and if it exists, then goes to step 130.
After obtaining the first prediction mode, judge whether there is contrary with the first angle of the first prediction mode
The corresponding second angle prediction mode of second angle checks whether exist and first angle side in 65 kinds of angle prediction modes
To opposite second angle.In one embodiment, when judging result be there is no when second angle prediction mode (there is no with
The contrary second angle of first angle), it can directly be predicted to obtain the predicted value of current block by the first prediction mode.
Step 140: the most low coverage according to the minimum distance of the left side block with current block and with the top block of current block
Current block is divided into the first sub-block and the second sub-block by the size relation between.
When judgement has the second angle contrary with first angle, according to the pixel in current block and work as proparea
Size relation (i.e. picture between the minimum distance of the top block of the minimum distance of the left side block of block and the pixel and current block
The size relation of distance and the distance of the pixel to upside on the left of element to current block), current block is divided into the first son
Block and the second sub-block.I.e. according to the distance on the left of pixel distance in current block and apart from the closer apart from which of upside,
To which current block is divided into two closer sub-blocks of the closer and top block apart from upside of the left side block apart from left side.
Step 150: predicting the first sub-block and the second son respectively using the first prediction mode and second angle prediction mode
Block.
The reference pixel block as used by contrary two angles corresponding angle prediction mode is respectively current
Therefore the left side block and top block of block utilize closer first prediction mode of the first sub-block of distance and the second sub-district of distance
The closer second angle prediction mode of block goes the first sub-block of prediction and the second sub-block respectively, can be improved each in current block
The prediction accuracy of pixel.
By obtaining the first prediction mode of prediction current block, first jiao with the first prediction mode is judged whether there is
Spend the corresponding second angle prediction mode of contrary second angle, when there are second angle prediction mode, according to institute
The minimum distance for stating the left side block of current block and the size relation between the minimum distance of the top block of the current block,
The current block is divided into the first sub-block and the second sub-block, and utilizes first prediction mode and second angle
Prediction mode predicts first sub-block and second sub-block respectively;It is predicted using the first prediction mode and second angle
Mode predicts the first sub-block and the second sub-block respectively, so that the first sub-block and the second sub-block can be according to being closer
Reference image usually obtain predicted value, prediction accuracy is improved, to reduce residual values, improve compression ratio.
The concrete methods of realizing of application scheme is illustrated with one below, Fig. 2 show the offer of one embodiment of the application
An exemplary construction schematic diagram.As shown in Fig. 2, horizontal direction is X-axis, vertically using the upper left corner of current block as coordinate origin
Direction is Y-axis, wherein current block can be 4 × 4 block of pixels, a, b, c, d be current block in four pixels, A, B, C,
D, E, F, G, H, I, J are the reference pixel obtained.Such as the first angle of acquisition is 45 degree (upper right i.e. in figure),
The then existing method by a kind of angle prediction mode prediction pixel a, b, c, d are as follows: a=f (A, B, C), b=f (B, C, D), c
=f (B, C, D), d=f (C, D, E).Due between the pixel that is closer brightness and chromatic value often relatively, by
Usually forecasting accuracy is higher for the reference image being closer, therefore, pixel b in Fig. 2 obviously with the top block of current block
Pixel (F, G, H, I, J) is more close.For the accuracy for improving prediction, the embodiment of the present application is obtaining first angle (45 degree)
Afterwards, by there is the prediction mode contrary with first angle (45 degree) in judgment frame in angle prediction mode, (- 135 degree are pre-
Survey mode, i.e. lower left in figure), then according to the minimum distance of pixel to be predicted and left side block and with the most low coverage of top block
Size relation between by current block be divided into the first sub-block (wherein the coordinate of pixel meets Y >=X, such as pixel c) and
(wherein the coordinate of pixel meets X > Y to second sub-block, such as pixel b), then by the first prediction mode (45 degree of angle prediction modes)
It predicts the first sub-block, i.e., the pixel (such as A, B, C, D, E) of the left side block of current block is usually predicted into picture as reference image
Plain c, by second angle prediction mode (- 135 degree angle prediction mode) the second sub-block of prediction, i.e., by the top block of current block
Pixel (such as F, G, H, I, J) surveys pixel c as reference pixel prediction.
In one embodiment, it can be divided being equal to the minimum distance of left side block with the pixel of the minimum distance of top block
To the first sub-block.I.e. by pixel (such as pixel on the line of demarcation (dotted line in such as Fig. 2) of the first sub-block and the second sub-block
A, d) it is divided to the first sub-block.By the first prediction mode of acquisition be usually prediction optimal in angled prediction mode
Therefore mode can preferentially choose the picture on line of demarcation of first prediction mode to predict the first sub-block and the second sub-block
Element.It is understood that the pixel on the line of demarcation can be divided into the first sub-district according to actual needs by the embodiment of the present application
Block or the second sub-block, such as the pixel on the line of demarcation is predicted by the first prediction mode and second angle prediction mode respectively,
Then it is chosen by comparison preferably as a result, the embodiment of the present application is on the line of demarcation of the first sub-block and the second sub-block
The specific division mode of pixel is without limitation.
Fig. 3 show a kind of flow chart of the first prediction mode method of acquisition of one embodiment of the application offer.Such as Fig. 3 institute
Show, which may include following sub-step:
Sub-step 111: traversing all intra prediction modes, obtains rate of the current block under every kind of intra prediction mode
Distortion cost value.
Intra prediction is the correlation using sdi video domain, is worked as using encoded pixel prediction neighbouring in same frame image
Preceding pixel, to achieve the purpose that effectively remove video spatial redundancy, thus, the predicted value for the pixel predicted and the pixel
True value between can have a residual error, which can be used for calculating rate distortion costs value, and wherein the rate of block of pixels is distorted generation
Value is equal to the sum of the rate distortion costs value of its all pixels for being included, such as the rate distortion costs value of block of pixels can be by block
The residuals squares and/or residual absolute value and substitution rate distortion costs formula of middle all pixels obtain.Traverse all intra predictions
Mode is predicted to obtain the predicted value of current block by all intra prediction modes, every kind of prediction mould is then calculated
The rate distortion costs value of current block under formula.
Sub-step 112: the corresponding intra prediction mode of minimum rate distortion costs value in all rate distortion costs values is chosen
For the first prediction mode.
Compare the rate distortion costs value obtained under all intra prediction modes, chooses corresponding to the smallest rate distortion costs value
Intra prediction mode be the first prediction mode, that is, choose optimal intra prediction mode be the first prediction mode.
By calculating the rate distortion costs value for the current block predicted under every kind of intra prediction mode, the distortion of selection rate
The smallest intra prediction mode of cost value is the nearest prediction mode (i.e. the first prediction mode) for predicting current block, to obtain
Closest to the prediction result of the true value of current block, the accuracy of prediction is also further improved.
Fig. 4 show the flow chart of angle prediction technique in a kind of frame that another embodiment of the application provides.Such as Fig. 4 institute
Show, after step 150, this method can also include:
Step 160: calculating combination rate of the current block under the first prediction mode and second angle prediction mode and be distorted generation
Value.
After predicting the first sub-block and the second sub-block respectively using the first prediction mode and second angle prediction mode,
Calculate the true value of the prediction result and current block that are obtained by the first prediction mode and second angle prediction mode combined prediction
Between combination rate distortion costs value, and the accuracy that rate distortion costs value carrys out evaluation and foreca is combined with this.
Step 170: determining lesser rate distortion costs value institute in combination rate distortion costs value and minimum rate distortion costs value
Prediction result of the result that corresponding prediction mode is predicted as current block.
By comparing by the first prediction mode individually predict corresponding minimum rate distortion costs value and by the first prediction mode,
It is corresponding to choose wherein lesser rate distortion costs value for the corresponding combination rate distortion costs value of second angle prediction mode combined prediction
Prediction mode be the final prediction mode for predicting current block, and the prediction result for choosing the final prediction mode is current
The final prediction result of block.By the comparison of final rate distortion costs value, the optimum prediction for being most suitable for current block is selected
Mode, to realize the prediction accuracy highest of current block.
Fig. 5 show the structural schematic diagram of angle prediction equipment in a kind of frame of one embodiment of the application offer.Such as Fig. 5 institute
Show, which includes: to obtain module 51, and for obtaining the first prediction mode of prediction current block, wherein current block includes
Multiple pixels;First judgment module 52, for judging whether the first prediction mode is angle prediction mode;Second judgment module
53, for when it is angle prediction mode that judging result, which is first prediction mode, judging whether there is second angle prediction
Mode, wherein the second angle of second angle prediction mode is contrary with the first angle of the first prediction mode;Division module
54, for when judging result be there are when second angle prediction mode, according to the minimum distance of the left side block with current block and
Current block is divided into the first sub-block and the second son by the size relation between the minimum distance of the top block of current block
Block;And prediction module 55, for predicting the first sub-block respectively using the first prediction mode and second angle prediction mode
With the second sub-block.
By obtaining the first prediction mode of prediction current block, judge whether the first prediction mode is angle prediction mould
Formula judges whether there is the first angle side with first prediction mode when the first prediction mode is angle prediction mode
Work as when there are second angle prediction mode according to described to the opposite corresponding second angle prediction mode of second angle
The minimum distance of the left side block of preceding block and the size relation between the minimum distance of the top block of the current block, by institute
It states current block and is divided into the first sub-block and the second sub-block, and predicted using first prediction mode and second angle
Mode predicts first sub-block and second sub-block respectively;Utilize the first prediction mode and second angle prediction mode
The first sub-block and the second sub-block are predicted respectively, so that the first sub-block and the second sub-block can be according to the ginsengs being closer
Pixel is examined to obtain predicted value, improves prediction accuracy, to reduce residual values, improve compression ratio.
In one embodiment, division module 54 can be configured to: will be equal to top block most with the minimum distance of left side block
The pixel of short distance is divided to the first sub-block.
In one embodiment, obtaining module 51 can be configured to: percent of pass distortion optimal fashion obtains the first prediction mode.
Fig. 6 show a kind of structural schematic diagram of acquisition module of one embodiment of the application offer.As shown in fig. 6, obtaining
Module 51 can include: traversal submodule 511 obtains current block in every kind of frame for traversing all intra prediction modes
Rate distortion costs value under prediction mode;And submodule 512 is chosen, for choosing the minimum rate in all rate distortion costs values
The corresponding intra prediction mode of distortion cost value is the first prediction mode.
By calculating the rate distortion costs value for the current block predicted under every kind of intra prediction mode, the distortion of selection rate
The smallest intra prediction mode of cost value is the nearest prediction mode (i.e. the first prediction mode) for predicting current block, to obtain
Closest to the prediction result of the true value of current block, the accuracy of prediction is also further improved.
Fig. 7 show the structural schematic diagram of angle prediction equipment in a kind of frame that another embodiment of the application provides.Such as Fig. 7
Shown, which may also include that computing module 56, for calculating current block in the first prediction mode and second angle prediction mould
Combination rate distortion costs value under formula;And determining module 57, for determining that combination rate distortion costs value and minimum rate are distorted generation
Prediction result of the result that prediction mode corresponding to lesser rate distortion costs value is predicted in value as current block.
By comparing by the first prediction mode individually predict corresponding minimum rate distortion costs value and by the first prediction mode,
It is corresponding to choose wherein lesser rate distortion costs value for the corresponding combination rate distortion costs value of second angle prediction mode combined prediction
Prediction mode be the final prediction mode for predicting current block, and the prediction result for choosing the final prediction mode is current
The final prediction result of block.By the comparison of final rate distortion costs value, the optimum prediction for being most suitable for current block is selected
Mode, to realize the prediction accuracy highest of current block.
In the following, being described with reference to Figure 8 the electronic equipment according to the embodiment of the present application.The electronic equipment can be the first equipment
With any of the second equipment or both or with their independent stand-alone devices, the stand-alone device can with the first equipment and
Second equipment is communicated, to receive the collected input signal of institute from them.
Fig. 8 illustrates the block diagram of the electronic equipment according to the embodiment of the present application.
As shown in figure 8, electronic equipment 10 includes one or more processors 11 and memory 12.
Processor 11 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution capability
Other forms processing unit, and can control the other assemblies in electronic equipment 10 to execute desired function.
Memory 12 may include one or more computer program products, and the computer program product may include each
The computer readable storage medium of kind form, such as volatile memory and/or nonvolatile memory.The volatile storage
Device for example may include random access memory (RAM) and/or cache memory (cache) etc..It is described non-volatile to deposit
Reservoir for example may include read-only memory (ROM), hard disk, flash memory etc..It can be deposited on the computer readable storage medium
One or more computer program instructions are stored up, processor 11 can run described program instruction, to realize this Shen described above
Angle prediction technique and/or other desired functions in the frame of each embodiment please.In the computer-readable storage
The various contents such as input signal, signal component, noise component(s) can also be stored in medium.
In one example, electronic equipment 10 can also include: input unit 13 and output device 14, these components pass through
The interconnection of bindiny mechanism's (not shown) of bus system and/or other forms.
For example, the input unit 13 can be communication network company when the electronic equipment is the first equipment or the second equipment
Device is connect, for receiving input signal collected from the first equipment and the second equipment.
In addition, the input equipment 13 can also include such as keyboard, mouse etc..
The output device 14 can be output to the outside various information, including range information, the directional information etc. determined.It should
Output equipment 14 may include that such as display, loudspeaker, printer and communication network and its long-range output connected are set
It is standby etc..
Certainly, to put it more simply, illustrated only in Fig. 8 it is some in component related with the application in the electronic equipment 10,
The component of such as bus, input/output interface etc. is omitted.In addition to this, according to concrete application situation, electronic equipment 10 is also
It may include any other component appropriate.
Other than the above method and equipment, embodiments herein can also be computer program product comprising meter
Calculation machine program instruction, it is above-mentioned that the computer program instructions make the processor execute this specification when being run by processor
According to the step in angle prediction technique in the frame of the various embodiments of the application described in " illustrative methods " part.
The computer program product can be write with any combination of one or more programming languages for holding
The program code of row the embodiment of the present application operation, described program design language includes object oriented program language, such as
Java, C++ etc. further include conventional procedural programming language, such as " C " language or similar programming language.Journey
Sequence code can be executed fully on the user computing device, partly execute on a user device, be independent soft as one
Part packet executes, part executes on a remote computing or completely in remote computing device on the user computing device for part
Or it is executed on server.
In addition, embodiments herein can also be computer readable storage medium, it is stored thereon with computer program and refers to
It enables, the computer program instructions make the processor execute above-mentioned " the exemplary side of this specification when being run by processor
According to the step in angle prediction technique in the frame of the various embodiments of the application described in method " part.
The computer readable storage medium can be using any combination of one or more readable mediums.Readable medium can
To be readable signal medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can include but is not limited to electricity, magnetic, light, electricity
Magnetic, the system of infrared ray or semiconductor, device or device, or any above combination.Readable storage medium storing program for executing it is more specific
Example (non exhaustive list) includes: the electrical connection with one or more conducting wires, portable disc, hard disk, random access memory
Device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The basic principle of the application is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in this application
The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the application
Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand
With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the application,.
It may also be noted that each component or each step are can to decompose in the device of the application, device and method
And/or reconfigure.These decompose and/or reconfigure the equivalent scheme that should be regarded as the application.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this
Application.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein
General Principle can be applied to other aspect without departing from scope of the present application.Therefore, the application is not intended to be limited to
Aspect shown in this, but according to principle disclosed herein and the consistent widest range of novel feature.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, made any modification, equivalent replacement etc. be should all be included in the protection scope of the present invention.
Claims (10)
1. angle prediction technique in a kind of frame characterized by comprising
The first prediction mode for obtaining prediction current block, wherein the current block includes multiple pixels;
Judge whether first prediction mode is angle prediction mode;
When it is angle prediction mode that judging result, which is first prediction mode, second angle prediction mould is judged whether there is
Formula, wherein the second angle of the second angle prediction mode is contrary with the first angle of first prediction mode;
When judging result be there are when second angle prediction mode, according to the minimum distance of the left side block with the current block and
The current block is divided into the first sub-block by the size relation between the minimum distance of the top block of the current block
With the second sub-block;And
First sub-block and second son are predicted respectively using first prediction mode and second angle prediction mode
Block.
2. the method according to claim 1, wherein the basis and the left side block of the current block is nearest
Distance and the size relation between the minimum distance of the top block of the current block, are divided into first for the current block
Sub-block and the second sub-block include:
First son is divided to the pixel of the minimum distance of the top block by being equal to the minimum distance of the left side block
Block.
3. the method according to claim 1, wherein the first prediction mode packet for obtaining prediction current block
It includes:
Percent of pass distortion optimal fashion obtains first prediction mode.
4. the method according to claim 1, wherein the percent of pass distortion optimal fashion obtains described first in advance
Survey mode includes:
All intra prediction modes are traversed, rate distortion costs of the current block under every kind of intra prediction mode are obtained
Value;And
Choosing the corresponding intra prediction mode of minimum rate distortion costs value in all rate distortion costs values is first prediction
Mode.
5. according to the method described in claim 4, it is characterized in that, utilizing first prediction mode and second angle described
Prediction mode is predicted respectively after first sub-block and second sub-block, further includes:
Calculate combination rate distortion costs value of the current block under the first prediction mode and second angle prediction mode;And
It determines in the combination rate distortion costs value and the minimum rate distortion costs value corresponding to lesser rate distortion costs value
Prediction result of the result predicted of prediction mode as the current block.
6. angle predicts equipment in a kind of frame characterized by comprising
Module is obtained, for obtaining the first prediction mode of prediction current block, wherein the current block includes multiple pixels;
First judgment module, for judging whether first prediction mode is angle prediction mode;
Second judgment module, for judging whether to deposit when it is angle prediction mode that judging result, which is first prediction mode,
In second angle prediction mode, wherein the first of the second angle of the second angle prediction mode and first prediction mode
Angle direction is opposite;
Division module, for when judging result is there are when second angle prediction mode, according to the left side with the current block
The minimum distance of block and the size relation between the minimum distance of the top block of the current block draw the current block
It is divided into the first sub-block and the second sub-block;And
Prediction module, for predicting first sub-block respectively using first prediction mode and second angle prediction mode
With second sub-block.
7. equipment according to claim 6, which is characterized in that the division module is configured that
First son is divided to the pixel of the minimum distance of the top block by being equal to the minimum distance of the left side block
Block.
8. equipment according to claim 6, which is characterized in that the acquisition module is configured that
Percent of pass distortion optimal fashion obtains first prediction mode.
9. equipment according to claim 6, which is characterized in that the acquisition module includes:
It traverses submodule and obtains the current block in every kind of intra prediction mode for traversing all intra prediction modes
Under rate distortion costs value;And
Submodule is chosen, for choosing the corresponding intra prediction mode of minimum rate distortion costs value in all rate distortion costs values
For first prediction mode.
10. equipment according to claim 9, which is characterized in that the equipment further include:
Computing module loses for calculating combination rate of the current block under the first prediction mode and second angle prediction mode
True cost value;And
Determining module, for determining lesser rate distortion in the combination rate distortion costs value and the minimum rate distortion costs value
Prediction result of the result that angle prediction mode is predicted corresponding to cost value as the current block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580343.2A CN110248194B (en) | 2019-06-28 | 2019-06-28 | Intra-frame angle prediction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910580343.2A CN110248194B (en) | 2019-06-28 | 2019-06-28 | Intra-frame angle prediction method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110248194A true CN110248194A (en) | 2019-09-17 |
CN110248194B CN110248194B (en) | 2022-07-29 |
Family
ID=67890425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910580343.2A Active CN110248194B (en) | 2019-06-28 | 2019-06-28 | Intra-frame angle prediction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110248194B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217669A (en) * | 2008-01-15 | 2008-07-09 | 北京中星微电子有限公司 | An intra-frame predictor method and device |
CN106231302A (en) * | 2016-07-28 | 2016-12-14 | 同观科技(深圳)有限公司 | A kind of determination method and system of optimal frames inner estimation mode |
WO2018010492A1 (en) * | 2016-07-12 | 2018-01-18 | 北京大学深圳研究生院 | Rapid decision making method for intra-frame prediction mode in video coding |
KR20180128955A (en) * | 2016-03-28 | 2018-12-04 | 엘지전자 주식회사 | Image processing method based on inter prediction mode and apparatus therefor |
US20190068976A1 (en) * | 2017-08-23 | 2019-02-28 | Fujitsu Limited | Image encoding device, image decoding device, and image processing method |
-
2019
- 2019-06-28 CN CN201910580343.2A patent/CN110248194B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217669A (en) * | 2008-01-15 | 2008-07-09 | 北京中星微电子有限公司 | An intra-frame predictor method and device |
KR20180128955A (en) * | 2016-03-28 | 2018-12-04 | 엘지전자 주식회사 | Image processing method based on inter prediction mode and apparatus therefor |
WO2018010492A1 (en) * | 2016-07-12 | 2018-01-18 | 北京大学深圳研究生院 | Rapid decision making method for intra-frame prediction mode in video coding |
CN106231302A (en) * | 2016-07-28 | 2016-12-14 | 同观科技(深圳)有限公司 | A kind of determination method and system of optimal frames inner estimation mode |
US20190068976A1 (en) * | 2017-08-23 | 2019-02-28 | Fujitsu Limited | Image encoding device, image decoding device, and image processing method |
Also Published As
Publication number | Publication date |
---|---|
CN110248194B (en) | 2022-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106060547B (en) | The method and apparatus of decoding high resolution image | |
JP6903095B2 (en) | Adaptive filtering method applied to intra-prediction of multiple reference lines in video content coding, video coding device and video decoding device using it | |
TWI586155B (en) | A motion picture decoding apparatus, a motion picture decoding method, and a recording medium | |
JP2022515507A (en) | Video encoding and decoding | |
CN109792520A (en) | For the method and apparatus using omnidirectional's video coding of most probable mode in adaptive frame | |
JP2019530350A (en) | Method and apparatus for omnidirectional video encoding and decoding with adaptive intra prediction | |
US8670614B2 (en) | Method and system for providing tile map service using image fusion | |
CN102833540A (en) | Motion prediction method | |
CN103477635A (en) | Picture coding supporting block partitioning and block merging | |
CN106027849B (en) | High in the clouds high-definition image processing platform | |
US11445173B2 (en) | Method and apparatus for Intra prediction fusion in image and video coding | |
CN102131094A (en) | Motion prediction method | |
CN110472599A (en) | Number of objects determines method, apparatus, storage medium and electronic equipment | |
CN109379608A (en) | A kind of recommended method and relevant device of direct broadcasting room | |
EP3509303B1 (en) | Interframe bi-predictive coding method and device | |
US20210072725A1 (en) | Three dimensional printing vehicle-based auto-correction in a structure | |
CN101232573A (en) | Image processing apparatus and method thereof | |
CN110248194A (en) | Angle prediction technique and equipment in a kind of frame | |
CN107566834B (en) | Intraprediction unit division methods, device and electronic equipment | |
KR20140005232A (en) | Methods and devices for forming a prediction value | |
CN111684799B (en) | Video processing method and device | |
EP4072135A1 (en) | Attribute information prediction method, encoder, decoder and storage medium | |
US11575918B2 (en) | Cross component intra prediction mode | |
EP4032264A1 (en) | String matching with a single value from reference locations | |
CN111970512A (en) | Coding method, coding equipment and device with storage function |
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 |