CN109040754A - A kind of intra prediction mode of HEVC determines method, equipment, system and medium - Google Patents

A kind of intra prediction mode of HEVC determines method, equipment, system and medium Download PDF

Info

Publication number
CN109040754A
CN109040754A CN201811315124.3A CN201811315124A CN109040754A CN 109040754 A CN109040754 A CN 109040754A CN 201811315124 A CN201811315124 A CN 201811315124A CN 109040754 A CN109040754 A CN 109040754A
Authority
CN
China
Prior art keywords
angle
predicting unit
prediction mode
mode
average
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.)
Pending
Application number
CN201811315124.3A
Other languages
Chinese (zh)
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.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething 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 Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201811315124.3A priority Critical patent/CN109040754A/en
Publication of CN109040754A publication Critical patent/CN109040754A/en
Pending legal-status Critical Current

Links

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/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/103Selection of coding mode or of prediction mode
    • 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/134Methods 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/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses the intra prediction modes of HEVC a kind of to determine method, comprising: determines the image gradient information of each predicting unit of HEVC;It is utilized respectively the image gradient information of each predicting unit, correspondingly determines the average angle for characterizing the overall trend of the image direction of each predicting unit;Using default map information, the corresponding angle prediction mode of each predicting unit is determined;Wherein, the default map information is to be pre-created for characterizing the information of the corresponding relationship between different average angles and different angle prediction modes;The corresponding angle prediction mode of each predicting unit, DC mode and the respective intra-prediction result of planar mode are determined respectively, determine the optimal intra prediction mode of each predicting unit.The invention also discloses a kind of intra prediction modes to determine equipment, system and medium.Calculation amount needed for the present invention can effectively reduce mode decision process.

Description

A kind of intra prediction mode of HEVC determines method, equipment, system and medium
Technical field
The present invention relates to video technique fields more particularly to a kind of intra prediction mode of HEVC to determine method, equipment, is System and medium.
Background technique
Intra prediction is the core technology of HEVC (i.e. High Efficiency Video Coding) video encoding standard One of, refer to the correlation using sdi video domain, using the encoded pixel prediction current pixel of present image, to reach Except the purpose of sdi video redundancy.The intra prediction mode of the PU (i.e. Prediction Unit, predicting unit) of HEVC is up to 35 Kind, respectively include DC mode, planar mode and 33 kinds of angle prediction modes as shown in Figure 1.In Fig. 1, each arrow refers to The direction shown represents a kind of angle prediction direction of angle prediction mode, and slave pattern 2 arrives mode 34, and 33 kinds of angles predict mould altogether Formula.
Therefore the intra prediction mode of predicting unit is large number of, according to traditional mode adjudging mode, needs Above-mentioned 35 kinds of intra prediction modes are successively traversed in HEVC cataloged procedure, this process, which needs to consume, greatly to be calculated Amount.
Summary of the invention
The main purpose of the present invention is to provide the intra prediction modes of HEVC a kind of to determine method, equipment, system and Jie Matter, it is intended to solve mode decision process existing in the prior art and need the technical issues of consuming excessive calculation amount.
To achieve the above object, the intra prediction mode of HEVC provided by the invention a kind of determines method, the method packet It includes:
Determine the image gradient information of each predicting unit of HEVC;
It is utilized respectively the image gradient information of each predicting unit, is correspondingly determined for characterizing each prediction The average angle of the overall trend of the image direction of unit;
Using default map information, angle associated with average angle corresponding to each predicting unit is determined Prediction mode obtains the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is to create in advance That builds is used to characterize the information of the corresponding relationship between different average angles and different angle prediction modes;
The corresponding angle prediction mode of each predicting unit, DC mode and the respective frame of planar mode are determined respectively Interior prediction is as a result, and determine the optimal intra prediction mode of each predicting unit according to the intra-prediction result.
Optionally, the image gradient information for being utilized respectively each predicting unit is correspondingly determined for characterizing The average angle of the overall trend of the image direction of each predicting unit, comprising:
Be utilized respectively the image gradient information of each predicting unit, correspondingly calculate in image with it is each described pre- Survey the corresponding all deflections of unit;
The average value for determining the corresponding all deflections of each predicting unit is obtained for characterizing each prediction The average angle of the overall trend of the image direction of unit.
Optionally, the method also includes:
Described using default map information, determine associated with average angle corresponding to each predicting unit Angle prediction mode before, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark Reference pattern is counted again after the corresponding angle prediction direction of 33 kinds of angle prediction modes is then re-started normalization Corresponding angle value is calculated, to form first angle section corresponding with the angled prediction direction of institute;
Initial angle section corresponding to average angle is added 135 °, and the angle greater than 180 ° is carried out modulus fortune It calculates, obtains second angle corresponding with average angle section;
According to the first angle section and the second angle section, the default map information is created.
Optionally, described using default map information, it determines and average angle corresponding to each predicting unit Associated angle prediction mode obtains the corresponding angle prediction mode of each predicting unit, comprising:
Using default map information, angle corresponding with average angle corresponding to each predicting unit is determined Prediction mode obtains the corresponding first object angle prediction mode of each predicting unit;
First object angle corresponding with each predicting unit is selected from 33 kinds of angle prediction modes of HEVC The adjacent N number of angle prediction mode of prediction mode, obtains the corresponding second target angle prediction mode of each predicting unit; Wherein, the N is positive integer;
The corresponding first object angle prediction mode of each predicting unit and the second target angle prediction mode is true It is set to the corresponding angle prediction mode of each predicting unit.
Optionally, the N is 2.
Optionally, corresponding with each predicting unit is selected in 33 kinds of angle prediction modes from HEVC The adjacent N number of angle prediction mode of one target angle prediction mode, obtains corresponding second target angle of each predicting unit Spend prediction mode, comprising:
First object angle corresponding positioned at each predicting unit is selected from 33 kinds of angle prediction modes of HEVC The adjacent each angle prediction mode in the front and back of prediction mode is spent, corresponding second target angle of each predicting unit is obtained Spend prediction mode.
Optionally, described using default map information, it determines and average angle corresponding to each predicting unit Associated angle prediction mode obtains the corresponding angle prediction mode of each predicting unit, comprising:
Using default map information, angle corresponding with average angle corresponding to each predicting unit is determined Prediction mode obtains the corresponding angle prediction mode of each predicting unit.
To achieve the above object, the present invention further provides the intra prediction modes of HEVC a kind of to determine equipment, described to set Standby includes memory and processor, and the intra prediction mode that be stored on the memory to run on the processor determines Program, the intra prediction mode, which determines, realizes aforementioned disclosed method when program is executed by the processor.
To achieve the above object, the present invention further provides the intra prediction modes of HEVC a kind of to determine system, the system System includes:
Gradient determination unit, the image gradient information of each predicting unit for determining HEVC;
Angle determination unit is correspondingly determined and is used for being utilized respectively the image gradient information of each predicting unit In the average angle of the overall trend for the image direction for characterizing each predicting unit;
Pattern determining unit, for determining to put down with corresponding to each predicting unit using default map information The associated angle prediction mode of equal angle, obtains the corresponding angle prediction mode of each predicting unit;Wherein, described pre- If map information is to be pre-created for characterizing the corresponding pass between different average angles and different angle prediction modes The information of system;
Mode decision unit, for determine respectively the corresponding angle prediction mode of each predicting unit, DC mode and The respective intra-prediction result of planar mode, and each predicting unit is determined most according to the intra-prediction result Good intra prediction mode.
To achieve the above object, the present invention further provides a kind of computer readable storage mediums, described computer-readable It is stored with intra prediction mode on storage medium and determines program, the intra prediction mode determines that program can be by one or more It manages device to execute, to realize that aforementioned disclosed intra prediction mode determines method.
To achieve the above object, the present invention further provides a kind of computer program products, including computer instruction, work as institute When stating computer instruction and running on computers, allows the computer to execute aforementioned disclosed intra prediction mode and determine Method.
As it can be seen that image gradient information of the present invention first with predicting unit, determining, which can be used in, characterizes predicting unit The average angle of the overall trend of image direction, then using be pre-created for characterize different average angle from it is different The information of corresponding relationship between angle prediction mode determines angle associated with average angle corresponding to predicting unit Prediction mode only selects and average angle corresponding to predicting unit from 33 kinds of angle prediction modes of HEVC to be equivalent to Associated angle prediction mode is spent, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned selection Further confirmed in angle prediction mode out and DC mode, planar mode, without to all 35 kinds Intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and thus also improves mould Formula adjudicates efficiency.
Detailed description of the invention
Fig. 1 is the angle prediction direction schematic diagram of 33 kinds of angle prediction modes of HEVC;
Fig. 2 is the flow diagram of one embodiment of the invention;
Fig. 3 is that the gradient calculating process on the X and Y-direction based on Roberts operator that one embodiment of the invention discloses is shown It is intended to;
Fig. 4 is the flow diagram of another embodiment of the present invention;
Fig. 5 is the flow diagram of another embodiment of the present invention;
Fig. 6 is the schematic diagram of internal structure that the intra prediction mode that one embodiment of the invention discloses determines equipment;
Fig. 7 is the structural schematic diagram that the intra prediction mode that one embodiment of the invention discloses determines system.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
The description and claims of this application and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that Cover it is non-exclusive include, for example, containing the process, method, system, product or equipment of a series of steps or units need not limit In step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, produce The other step or units of product or equipment inherently.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is used for description purposes only, and cannot It is interpreted as its relative importance of indication or suggestion or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In addition, the skill between each embodiment Art scheme can be combined with each other, but must be based on can be realized by those of ordinary skill in the art, when technical solution Will be understood that the combination of this technical solution is not present in conjunction with there is conflicting or cannot achieve when, also not the present invention claims Protection scope within.
In HEVC technology, large number of, up to 35 kinds of intra prediction modes of the intra prediction mode of predicting unit.It presses According to traditional mode adjudging mode, need successively to traverse above-mentioned 35 kinds of intra prediction modes in HEVC cataloged procedure, This process needs to consume great calculation amount.For this purpose, the present invention provides a kind of for determining the intra prediction mode of HEVC Technical solution, be able to solve mode decision process existing in the prior art and need the technical issues of consuming excessive calculation amount.
The intra prediction mode that the present invention provides a kind of HEVC determines method.
It is the flow diagram of one embodiment of the invention referring to Fig. 2, Fig. 2.
In one embodiment, this method comprises:
S10 determines the image gradient information of each predicting unit of HEVC.
It is understood that image function f (x, y) is the vector with size and Orientation in the gradient of point (x, y), It is set as GxAnd Gy, successively indicate the gradient of X-direction and Y-direction.It is understood that the vector of the gradient of image function f (x, y) It can indicate are as follows:
Wherein, the amplitude of above-mentioned vector specifically:
In addition, the deflection of above-mentioned vector specifically:
For different types of image, the calculation of above-mentioned image gradient information can difference.Such as:
For digital picture f (x, y), asks its gradient to be equivalent to and gradient, specific calculating process is asked to two-dimensional discrete function are as follows: Gx=f (x, y)-f (x-1, y), Gy=f (x, y)-f (x, y-1).
For two-dimensional digital picture f (x, y), need to acquire ladder by carrying out partial differential in the x-direction and the z-direction Degree, specific calculating process are as follows:
Indicate gradient.
For discrete picture, the mathematical expression of first differential is equivalent to the difference of two adjacent pixels, according to the ladder of selection It is different to spend operator, effect may be different, but basic principle will not change.The most common gradient operator is Roberts calculation Son, wherein Fig. 3 is the calculating process schematic diagram of the gradient on X and Y-direction based on Roberts operator, in Fig. 3, pixel A5, A6, A8 and A9 pass through f (x, y), f (x+1, y), f (x, y+1) and f (x+1, y+1) to indicate, then for aforementioned four respectively Pixel, the gradient in the X-direction based on Roberts operator are Gx=A5-A9, the ladder in the Y-direction based on Roberts operator Degree is Gy=A6-A8, deflection corresponding with above-mentioned gradient are θ=arctan (Gy/Gx), wherein θ ∈ (- pi/2, pi/2).It is other Common gradient operator further includes Sobel, the operators such as Prewitt.
S20 is utilized respectively the image gradient information of each predicting unit, correspondingly determines each described for characterizing The average angle of the overall trend of the image direction of predicting unit.
In the present embodiment, after obtaining the image gradient information of some predicting unit, the predicting unit can use Image gradient information determines the average angle corresponding with the predicting unit, also, any predicting unit is corresponding described Average angle can characterize the overall trend of the image direction of the predicting unit.
S30 is determined associated with average angle corresponding to each predicting unit using default map information Angle prediction mode obtains the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is pre- What is first created is used to characterize the information of the corresponding relationship between different average angles and different angle prediction modes.
In the present embodiment, above-mentioned default map information is pre-created, and can characterize different average angle with not Corresponding relationship between same angle prediction mode.The corresponding average angle of any predicting unit is obtained in S20 through the above steps After degree, above-mentioned default mapping relations can be utilized, determine angle prediction mode associated with the average angle, thus Obtain the corresponding angle prediction mode of the predicting unit.
S40 determines the corresponding angle prediction mode of each predicting unit, DC mode and planar mode respectively respectively Intra-prediction result, and determine according to the intra-prediction result the optimal intra prediction mould of each predicting unit Formula.
It is understood that smoothly completing for entire intra-prediction process, is determining that each predicting unit is best Intra prediction mode while, it is also necessary to auxiliary information needed for encoding the intra prediction mode.Additionally need, it is noted that The prediction mode of HEVC be defined on the basis of predicting unit PU, and specifically predict process realization be then with TU (i.e. Transform Unit, converter unit) it is unit, the intra-prediction process of HEVC mainly includes following three step:
Step 1: judging whether current TU adjacent pixel is available and does corresponding processing;
Step 2: being filtered to reference pixel;
Step 3: calculating the predicted pixel values of current TU according to filtered reference pixel.
Wherein, it needs to determine method using intra prediction mode disclosed in the present embodiment in the third step each to determine The optimal intra prediction mode of predicting unit PU.
In the present embodiment, intra prediction mode determination process is to be directed to each predicting unit PU of HEVC and be unfolded, That is, the technical solution provided through this embodiment, can determine the corresponding optimal intra prediction of each predicting unit Mode.It is understood that the present embodiment can be selected from all also untreated predicting units of HEVC every time One predicting unit is handled, and to determine the optimal intra prediction mode of the predicting unit, is then successively traversed, directly To determining the corresponding optimal intra prediction mode of all predicting units.
As it can be seen that image gradient information of the present embodiment first with predicting unit, determining, which can be used in, characterizes predicting unit Image direction overall trend average angle, then using be pre-created for characterize different average angle from it is different Angle prediction mode between corresponding relationship information, determine angle associated with average angle corresponding to predicting unit Prediction mode is spent, is averaged to be equivalent to and only be selected from 33 kinds of angle prediction modes of HEVC with corresponding to predicting unit The associated angle prediction mode of angle, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned choosing Further confirmed in the angle prediction mode and DC mode of taking-up, planar mode, without to all 35 Kind intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and is thus also improved Mode adjudging efficiency.
On the basis of previous embodiment, the present embodiment is further detailed and optimizes to technical solution.Specifically such as Under:
In previous embodiment step S20, the image gradient information for being utilized respectively each predicting unit, correspondingly It determines the average angle for characterizing the overall trend of the image direction of each predicting unit, can specifically include:
Be utilized respectively the image gradient information of each predicting unit, correspondingly calculate in image with it is each described pre- The corresponding all deflections of unit are surveyed, thus namely obtain the angle information of the corresponding image texture of each predicting unit; The average value for determining the corresponding all deflections of each predicting unit obtains the figure for characterizing each predicting unit Image space to overall trend average angle.
It can be seen that above discussion discloses a kind of for determining the detailed process of the average angle, according to the process, It can determine the corresponding average angle of each predicting unit.Further it will be understood that obtaining any prediction Some image gradient information (G of unitx,Gy) after, it can be calculated by following formula and the image gradient information (Gx,Gy) Corresponding deflection: θ=arctan (Gy/Gx), θ indicates deflection.
It is further noted that according to the corresponding angle prediction side of 33 kinds of angle prediction modes shown in fig. 1 To it is found that mode 26 and mode 10 respectively indicate vertical direction V and horizontal direction H, and the angle of remaining angle prediction mode is pre- It surveys direction and can regard as and made certain offset in vertical direction V or horizontal direction H, the size of corresponding deviation angle can be with It is obtained by corresponding numerical calculation in table one:
Table one
MODE NUMBER 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Deviant 32 26 21 17 13 9 5 2 0 -2 -5 -9 -13 -17 -21 -26
MODE NUMBER 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Deviant -32 -26 -21 -17 -13 -9 -5 -2 0 2 5 9 13 17 21 26 32
Such as, it is assumed that the corresponding deviant of some vertical class angle prediction mode is V+x, then with the angle prediction mode pair The deviation angle answered are as follows: θ=arctan (x/32);Wherein, it when θ is that regular representation prediction direction deviates to the left, when θ is negative, indicates Prediction direction deviates to the right.Similar, for horizontal class angle prediction mode, when θ is that regular representation prediction direction is upward Offset indicates that prediction direction is offset downward when θ is negative.It is understood that above-mentioned vertical class angle prediction mode includes hanging down Histogram is to corresponding angle prediction mode and compared to horizontal direction, closer to the angle prediction mode of vertical direction;Similarly, Above-mentioned horizontal class angle prediction mode includes the corresponding angle prediction mode of horizontal direction and compared to vertical direction, closer to The angle prediction mode of horizontal direction.
In the present embodiment, the intra prediction mode determines method, can also specifically include:
Described using default map information, determine associated with average angle corresponding to each predicting unit Angle prediction mode before, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark Reference pattern is counted again after the corresponding angle prediction direction of 33 kinds of angle prediction modes is then re-started normalization Corresponding angle value is calculated, to form first angle section corresponding with the angled prediction direction of institute;It will be corresponding to average angle Initial angle section adds 135 °, and the angle greater than 180 ° is carried out modulo operation, obtains corresponding with average angle second Angular interval;According to the first angle section and the second angle section, the default map information is created.
It can be seen that the detailed process that above discussion discloses a kind of specific for creating the default map information, By the above process, available interval range is respectively positioned on the first angle section and second angle section of (0 °, 180 °), then According to above-mentioned first angle section and second angle section, can create for characterizing different average angle and different angles The information of corresponding relationship between prediction mode, to obtain the default map information.It is understood that above-mentioned first Angle prediction mode that is to say the mode 2 in 33 kinds of angle prediction modes shown in fig. 1.In addition, corresponding to average angle just Beginning angular interval is specifically (- 90 °, 90 °).
It is the flow diagram of another embodiment referring to Fig. 4, Fig. 4, the method in the embodiment includes:
S11 determines the image gradient information of each predicting unit of HEVC.
S21 is utilized respectively the image gradient information of each predicting unit, correspondingly determines each described for characterizing The average angle of the overall trend of the image direction of predicting unit.
Wherein, the detailed process about above-mentioned steps S11 and S21 can refer in corresponding disclosed in previous embodiment Hold, is no longer repeated herein.
S31 is determined corresponding with average angle corresponding to each predicting unit using default map information Angle prediction mode obtains the corresponding first object angle prediction mode of each predicting unit.
S41 selects first object corresponding with each predicting unit from 33 kinds of angle prediction modes of HEVC The adjacent N number of angle prediction mode of angle prediction mode obtains the corresponding second target angle prediction of each predicting unit Mode;Wherein, the N is positive integer.
The corresponding first object angle prediction mode of each predicting unit and the second target angle are predicted mould by S51 Formula is determined as the corresponding angle prediction mode of each predicting unit.
It can be seen that the present embodiment reduces mode adjudging and misses to reduce a possibility that omitting best intra prediction mode Difference after determining an angle prediction mode corresponding with average angle using default map information, namely is obtaining After the corresponding first object angle prediction mode of predicting unit, the present embodiment is also further by first object angle prediction mode Adjacent N number of angle prediction mode selects as the second target angle prediction mode, then predicts first object angle Mode and the second target angle prediction mode are as angle prediction mode associated with average angle.
It is understood that while reducing mode adjudging error, in order to avoid increasing mode decision process too much Required calculation amount, the value of N should not be too large in the present embodiment, it is preferred that the N in the present embodiment can take 2.
Specifically, selecting corresponding with each predicting unit in 33 kinds of angle prediction modes from HEVC The adjacent N number of angle prediction mode of one target angle prediction mode, obtains corresponding second target angle of each predicting unit Prediction mode is spent, may include:
First object angle corresponding positioned at each predicting unit is selected from 33 kinds of angle prediction modes of HEVC The adjacent each angle prediction mode in the front and back of prediction mode is spent, corresponding second target angle of each predicting unit is obtained Spend prediction mode.
It is understood that adjacent each angle is predicted with 2 front and back of mode in above-mentioned 33 kinds of angle prediction modes Mode is respectively mode 3 and mode 34, and similarly, adjacent each angle prediction mode is respectively mode 33 with 34 front and back of mode With mode 2.
S61 determines the corresponding angle prediction mode of each predicting unit, DC mode and planar mode respectively respectively Intra-prediction result, and determine according to the intra-prediction result the optimal intra prediction mould of each predicting unit Formula.
It wherein, can be with reference to corresponding contents disclosed in previous embodiment, herein about the detailed process of above-mentioned steps S61 No longer repeated.
It is the flow diagram of another embodiment referring to Fig. 5, Fig. 5, the method in the embodiment includes:
S12 determines the image gradient information of each predicting unit of HEVC.
S22 is utilized respectively the image gradient information of each predicting unit, correspondingly determines each described for characterizing The average angle of the overall trend of the image direction of predicting unit.
Wherein, the detailed process about above-mentioned steps S12 and S22 can refer in corresponding disclosed in previous embodiment Hold, is no longer repeated herein.
S32 is determined corresponding with average angle corresponding to each predicting unit using default map information Angle prediction mode obtains the corresponding angle prediction mode of each predicting unit.
It can be seen that the present embodiment be will directly be obtained using the default map information it is corresponding with average angle Angle prediction mode is as the corresponding angle prediction mode of corresponding predicting unit, although it is quasi- to sacrifice certain mode adjudging in this way Exactness, but calculation amount needed for capable of being further reduced mode decision process, accelerate mode adjudging speed.
S42 determines the corresponding angle prediction mode of each predicting unit, DC mode and planar mode respectively respectively Intra-prediction result, and determine according to the intra-prediction result the optimal intra prediction mould of each predicting unit Formula.
It wherein, can be with reference to corresponding contents disclosed in previous embodiment, herein about the detailed process of above-mentioned steps S42 No longer repeated.
Further, the intra prediction mode that the present embodiment also discloses a kind of HEVC determines equipment.
Referring to Fig. 6, Fig. 6 is the internal structure signal that the intra prediction mode that one embodiment of the invention discloses determines equipment Figure.In Fig. 6, intra prediction mode determines that equipment 1 includes memory 11 and processor 12, and being stored on the memory 11 can be The intra prediction mode run on the processor 12 determines program, and the intra prediction mode determines program by the processor 12 realize following method when executing:
Determine the image gradient information of each predicting unit of HEVC;It is utilized respectively the image ladder of each predicting unit Information is spent, correspondingly determines the average angle for characterizing the overall trend of the image direction of each predicting unit;It utilizes Default map information, determines angle prediction mode associated with average angle corresponding to each predicting unit, obtains To the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is to be pre-created for table Levy the information of the corresponding relationship between different average angles and different angle prediction modes;Each prediction is determined respectively The corresponding angle prediction mode of unit, DC mode and the respective intra-prediction result of planar mode, and according to pre- in the frame Survey the optimal intra prediction mode that result judgement goes out each predicting unit.
As it can be seen that image gradient information of the present embodiment first with predicting unit, determining, which can be used in, characterizes predicting unit Image direction overall trend average angle, then using be pre-created for characterize different average angle from it is different Angle prediction mode between corresponding relationship information, determine angle associated with average angle corresponding to predicting unit Prediction mode is spent, is averaged to be equivalent to and only be selected from 33 kinds of angle prediction modes of HEVC with corresponding to predicting unit The associated angle prediction mode of angle, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned choosing Further confirmed in the angle prediction mode and DC mode of taking-up, planar mode, without to all 35 Kind intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and is thus also improved Mode adjudging efficiency.
It when the intra prediction mode determines that program is executed by the processor 12, specifically may be implemented: being utilized respectively every The image gradient information of a predicting unit correspondingly calculates all sides corresponding with each predicting unit in image To angle;The average value for determining the corresponding all deflections of each predicting unit obtains single for characterizing each prediction The average angle of the overall trend of the image direction of member.It can be seen that above discussion discloses one kind for determine it is described average The concrete scheme of angle can determine the corresponding average angle of each predicting unit according to the program.
It when the intra prediction mode determines that program is executed by the processor 12, can also realize: described using pre- If map information, before determining angle prediction mode associated with average angle corresponding to each predicting unit, First angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark reference pattern, it then will be described The corresponding angle prediction direction of 33 kinds of angle prediction modes calculates corresponding angle value after re-starting normalization again, with shape At first angle section corresponding with the angled prediction direction of institute;Initial angle section corresponding to average angle is added 135 °, and the angle greater than 180 ° is carried out modulo operation, obtain second angle corresponding with average angle section;According to described in First angle section and the second angle section create the default map information.It can be seen that above discussion discloses one Plant the concrete scheme specific for creating the default map information, through the above scheme, the available equal position of interval range In the first angle section and second angle section of (0 °, 180 °), then according to above-mentioned first angle section and second angle area Between, the information for characterizing the corresponding relationship between different average angles and different angle prediction modes can be created, from And obtain the default map information.
It when the intra prediction mode determines that program is executed by the processor 12, specifically may be implemented: being reflected using default Information is penetrated, angle prediction mode corresponding with average angle corresponding to each predicting unit is determined, obtains each The corresponding first object angle prediction mode of the predicting unit;Selected from 33 kinds of angle prediction modes of HEVC with each The adjacent N number of angle prediction mode of the corresponding first object angle prediction mode of the predicting unit, obtains each prediction The corresponding second target angle prediction mode of unit;Wherein, the N is positive integer;By each predicting unit corresponding One target angle prediction mode and the second target angle prediction mode are determined as the corresponding angle prediction of each predicting unit Mode.Through the above scheme, it can reduce a possibility that omitting best intra prediction mode, reduce mode adjudging error.
It when the intra prediction mode determines that program is executed by the processor 12, specifically may be implemented: from the 33 of HEVC The front and back phase positioned at the corresponding first object angle prediction mode of each predicting unit is selected in kind of angle prediction mode Adjacent each angle prediction mode, obtains the corresponding second target angle prediction mode of each predicting unit.
It when the intra prediction mode determines that program is executed by the processor 12, specifically may be implemented: being reflected using default Information is penetrated, angle prediction mode corresponding with average angle corresponding to each predicting unit is determined, obtains each The corresponding angle prediction mode of the predicting unit.Although above scheme sacrifices certain mode adjudging accuracy, but energy Calculation amount needed for being enough further reduced mode decision process accelerates mode adjudging speed.
In the present embodiment, the intra prediction mode determines that equipment 1 can be PC (Personal Computer, individual Computer), it is also possible to smart phone, tablet computer, palm PC, portable computer.
Further, referring to Fig. 6, the intra prediction mode determines that equipment 1 can also include bus 13, wherein described Memory 11 and the processor 12 are connected by the bus 13.
Wherein, memory 11 include at least a type of readable storage medium storing program for executing, the readable storage medium storing program for executing include flash memory, Hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), magnetic storage, disk, CD etc..Memory 11 It can be the internal storage unit that intra prediction mode determines equipment 1 in some embodiments, such as the intra prediction mode is true The hard disk of locking equipment 1.Memory 11 is also possible to the external storage that intra prediction mode determines equipment 1 in further embodiments Equipment, such as intra prediction mode determine the plug-in type hard disk being equipped in equipment 1, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, memory 11 may be used also Both to include that intra prediction mode determines the internal storage unit of equipment 1 or including External memory equipment.Memory 11 not only may be used It is installed on application software and Various types of data that intra prediction mode determines equipment 1 for storage, such as intra prediction mode is true The code etc. for determining program can be also used for temporarily storing the data that has exported or will export.
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit, CPU), controller, microcontroller, microprocessor or other data processing chips, the program for being stored in run memory 11 Code or processing data, such as execute intra prediction mode and determine program etc..
Bus 13 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) bus or expanding the industrial standard structure (extended industry standard architecture, abbreviation EISA) Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..For convenient for indicating, in Fig. 6 only with one slightly Line indicates, it is not intended that an only bus or a type of bus.
Further, intra prediction mode determines that equipment 1 can also include network interface 14, and network interface 14 optionally may be used To include wireline interface and/or wireless interface (such as WI-FI interface, blue tooth interface), commonly used in the intra prediction mode It determines and establishes communication connection between equipment 1 and other electronic equipments.
Optionally, which determines that equipment 1 can also include user interface 15, and user interface 15 may include Display (Display), input unit such as keyboard (Keyboard), optional user interface can also include the wired of standard Interface, wireless interface.Optionally, in some embodiments, display can be light-emitting diode display, liquid crystal display, touch liquid Crystal display and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..Wherein, it shows Show that device appropriate can also be known as display screen or display unit, determines for being shown in intra prediction mode and handle in equipment 1 Information and for showing visual user interface.
Fig. 6 illustrates only the intra prediction mode with component 11-15 and determines equipment 1, and those skilled in the art can manage Solution, the structure shown in Fig. 6 do not constitute the restriction that equipment 1 is determined to intra prediction mode, may include less than illustrating Perhaps more components perhaps combine certain components or different component layouts.
Further, the intra prediction mode that the present embodiment also discloses a kind of HEVC determines system.
Referring to Fig. 7, Fig. 7 is that the intra prediction mode that one embodiment of the invention discloses determines system structure diagram.Fig. 7 In, the intra prediction mode determines system, comprising:
Gradient determination unit 21, the image gradient information of each predicting unit for determining HEVC;
Angle determination unit 22 is correspondingly determined for being utilized respectively the image gradient information of each predicting unit For characterizing the average angle of the overall trend of the image direction of each predicting unit;
Pattern determining unit 23, for using default map information, determine with corresponding to each predicting unit The associated angle prediction mode of average angle obtains the corresponding angle prediction mode of each predicting unit;Wherein, described Default map information is to be pre-created for characterizing the correspondence between different average angles and different angle prediction modes The information of relationship;
Mode decision unit 24, for determining the corresponding angle prediction mode of each predicting unit, DC mode respectively With the respective intra-prediction result of planar mode, and each predicting unit is determined according to the intra-prediction result Optimal intra prediction mode.
As it can be seen that image gradient information of the present embodiment first with predicting unit, determining, which can be used in, characterizes predicting unit Image direction overall trend average angle, then using be pre-created for characterize different average angle from it is different Angle prediction mode between corresponding relationship information, determine angle associated with average angle corresponding to predicting unit Prediction mode is spent, is averaged to be equivalent to and only be selected from 33 kinds of angle prediction modes of HEVC with corresponding to predicting unit The associated angle prediction mode of angle, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned choosing Further confirmed in the angle prediction mode and DC mode of taking-up, planar mode, without to all 35 Kind intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and is thus also improved Mode adjudging efficiency.
In the present embodiment, the angle determination unit 22 specifically can be used for being utilized respectively each predicting unit Image gradient information correspondingly calculates all deflections corresponding with each predicting unit in image;Determine each institute The average value for stating the corresponding all deflections of predicting unit obtains the whole of the image direction for characterizing each predicting unit The average angle of body trend.It can be seen that above discussion discloses a kind of for determining the concrete scheme of the average angle, root According to the program, the corresponding average angle of each predicting unit can be determined.
Further, the intra prediction mode determines system, can also include: first angle interval determination unit, uses In utilizing default map information described, angle associated with average angle corresponding to each predicting unit is determined Before prediction mode, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark referring to mould Formula calculates accordingly again after the corresponding angle prediction direction of 33 kinds of angle prediction modes is then re-started normalization Angle value, with formed with the corresponding first angle section of angled prediction direction;Second angle interval determination unit, is used for By initial angle section corresponding to average angle add 135 °, and greater than 180 ° angle carry out modulo operation, obtain with The corresponding second angle section of average angle;Map information creating unit, for according to the first angle section and described the Two angular intervals create the default map information.It can be seen that above discussion discloses one kind specific for described in creation The concrete scheme of default map information, through the above scheme, available interval range is respectively positioned on the first angle of (0 °, 180 °) Section and second angle section can create then according to above-mentioned first angle section and second angle section for characterizing not The information of corresponding relationship between same average angle and different angle prediction modes, to obtain the default mapping letter Breath.
In the present embodiment, the pattern determining unit 23, can specifically include: first mode determines subelement, for benefit With default map information, angle prediction mode corresponding with average angle corresponding to each predicting unit is determined, Obtain the corresponding first object angle prediction mode of each predicting unit;Second mode determines subelement, is used for from HEVC 33 kinds of angle prediction modes in select the adjacent N of first object angle prediction mode corresponding with each predicting unit A angle prediction mode obtains the corresponding second target angle prediction mode of each predicting unit;Wherein, the N is positive Integer;The third mode determines subelement, for by the corresponding first object angle prediction mode of each predicting unit and the Two target angle prediction modes are determined as the corresponding angle prediction mode of each predicting unit.Through the above scheme, can A possibility that omitting best intra prediction mode is reduced, mode adjudging error is reduced.
In the present embodiment, the second mode determines subelement, specifically for from 33 kinds of angle prediction modes of HEVC Select be located at the corresponding first object angle prediction mode of each predicting unit front and back it is adjacent each angle it is pre- Survey mode obtains the corresponding second target angle prediction mode of each predicting unit.
In the present embodiment, the pattern determining unit 23, can specifically include: fourth mode determines subelement, for benefit With default map information, angle prediction mode corresponding with average angle corresponding to each predicting unit is determined, Obtain the corresponding angle prediction mode of each predicting unit.Although above scheme sacrifices certain mode adjudging accurate Degree, but calculation amount needed for capable of being further reduced mode decision process, accelerate mode adjudging speed.
Further, the present embodiment also discloses a kind of computer readable storage medium, the computer-readable storage medium It is stored with intra prediction mode in matter and determines program, the intra prediction mode determines that program can be held by one or more processors Row, to realize following method:
Determine the image gradient information of each predicting unit of HEVC;It is utilized respectively the image ladder of each predicting unit Information is spent, correspondingly determines the average angle for characterizing the overall trend of the image direction of each predicting unit;It utilizes Default map information, determines angle prediction mode associated with average angle corresponding to each predicting unit, obtains To the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is to be pre-created for table Levy the information of the corresponding relationship between different average angles and different angle prediction modes;Each prediction is determined respectively The corresponding angle prediction mode of unit, DC mode and the respective intra-prediction result of planar mode, and according to pre- in the frame Survey the optimal intra prediction mode that result judgement goes out each predicting unit.
As it can be seen that image gradient information of the present embodiment first with predicting unit, determining, which can be used in, characterizes predicting unit Image direction overall trend average angle, then using be pre-created for characterize different average angle from it is different Angle prediction mode between corresponding relationship information, determine angle associated with average angle corresponding to predicting unit Prediction mode is spent, is averaged to be equivalent to and only be selected from 33 kinds of angle prediction modes of HEVC with corresponding to predicting unit The associated angle prediction mode of angle, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned choosing Further confirmed in the angle prediction mode and DC mode of taking-up, planar mode, without to all 35 Kind intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and is thus also improved Mode adjudging efficiency.
It when the intra prediction mode determines that program is executed by one or more processors, specifically may be implemented: benefit respectively With the image gradient information of each predicting unit, institute corresponding with each predicting unit in image is correspondingly calculated There is deflection;The average value for determining the corresponding all deflections of each predicting unit obtains each described pre- for characterizing Survey the average angle of the overall trend of the image direction of unit.It can be seen that above discussion discloses one kind for described in determination The concrete scheme of average angle can determine the corresponding average angle of each predicting unit according to the program.
It when the intra prediction mode determines that program is executed by one or more processors, can also realize: in the benefit With default map information, determine angle prediction mode associated with average angle corresponding to each predicting unit it Before, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark reference pattern, then will The corresponding angle prediction direction of 33 kinds of angle prediction modes calculates corresponding angle value after re-starting normalization again, To form first angle section corresponding with the angled prediction direction of institute;Initial angle section corresponding to average angle is added 135 °, and the angle greater than 180 ° is carried out modulo operation, obtain second angle corresponding with average angle section;According to described in First angle section and the second angle section create the default map information.It can be seen that above discussion discloses one Plant the concrete scheme specific for creating the default map information, through the above scheme, the available equal position of interval range In the first angle section and second angle section of (0 °, 180 °), then according to above-mentioned first angle section and second angle area Between, the information for characterizing the corresponding relationship between different average angles and different angle prediction modes can be created, from And obtain the default map information.
It when the intra prediction mode determines that program is executed by one or more processors, specifically may be implemented: using in advance If map information, determines angle prediction mode corresponding with average angle corresponding to each predicting unit, obtain The corresponding first object angle prediction mode of each predicting unit;Selected from 33 kinds of angle prediction modes of HEVC with The adjacent N number of angle prediction mode of the corresponding first object angle prediction mode of each predicting unit obtains each described The corresponding second target angle prediction mode of predicting unit;Wherein, the N is positive integer;Each predicting unit is corresponding First object angle prediction mode and the second target angle prediction mode be determined as the corresponding angle of each predicting unit Prediction mode.Through the above scheme, it can reduce a possibility that omitting best intra prediction mode, reduce mode adjudging error.
It when the intra prediction mode determines that program is executed by one or more processors, specifically may be implemented: from HEVC 33 kinds of angle prediction modes in select before the corresponding first object angle prediction mode of each predicting unit Adjacent each angle prediction mode afterwards, obtains the corresponding second target angle prediction mode of each predicting unit.
It when the intra prediction mode determines that program is executed by one or more processors, specifically may be implemented: using in advance If map information, determines angle prediction mode corresponding with average angle corresponding to each predicting unit, obtain The corresponding angle prediction mode of each predicting unit.Although above scheme sacrifices certain mode adjudging accuracy, but It is calculation amount needed for capable of being further reduced mode decision process, accelerates mode adjudging speed.
Further, the present invention also provides a kind of computer program products, including computer instruction, when the computer refers to When order is run on computers, the computer is allowed to execute following methods step:
Determine the image gradient information of each predicting unit of HEVC;It is utilized respectively the image ladder of each predicting unit Information is spent, correspondingly determines the average angle for characterizing the overall trend of the image direction of each predicting unit;It utilizes Default map information, determines angle prediction mode associated with average angle corresponding to each predicting unit, obtains To the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is to be pre-created for table Levy the information of the corresponding relationship between different average angles and different angle prediction modes;Each prediction is determined respectively The corresponding angle prediction mode of unit, DC mode and the respective intra-prediction result of planar mode, and according to pre- in the frame Survey the optimal intra prediction mode that result judgement goes out each predicting unit.
As it can be seen that image gradient information of the present embodiment first with predicting unit, determining, which can be used in, characterizes predicting unit Image direction overall trend average angle, then using be pre-created for characterize different average angle from it is different Angle prediction mode between corresponding relationship information, determine angle associated with average angle corresponding to predicting unit Prediction mode is spent, is averaged to be equivalent to and only be selected from 33 kinds of angle prediction modes of HEVC with corresponding to predicting unit The associated angle prediction mode of angle, and other incoherent angle prediction modes are excluded, subsequent need to be from above-mentioned choosing Further confirmed in the angle prediction mode and DC mode of taking-up, planar mode, without to all 35 Kind intra prediction mode is traversed, calculation amount needed for mode decision process is thus greatly reduced, and is thus also improved Mode adjudging efficiency.
In the present embodiment, when the computer instruction is run on computers, so that the computer can specifically be held Row following steps: being utilized respectively the image gradient information of each predicting unit, correspondingly calculate in image with each institute State the corresponding all deflections of predicting unit;The average value for determining the corresponding all deflections of each predicting unit, obtains For characterizing the average angle of the overall trend of the image direction of each predicting unit.It can be seen that above content discloses It is a kind of for determining the concrete scheme of the average angle, according to the program, it can determine each predicting unit pair The average angle answered.
In the present embodiment, when the computer instruction is run on computers, allow the computer further It executes following steps: described using default map information, determining and average angle corresponding to each predicting unit Before associated angle prediction mode, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC and is made For benchmark reference pattern, the corresponding angle prediction direction of 33 kinds of angle prediction modes is then re-started into normalization Corresponding angle value is calculated, again afterwards to form first angle section corresponding with the angled prediction direction of institute;By average angle institute Corresponding initial angle section adds 135 °, and the angle greater than 180 ° is carried out modulo operation, obtains corresponding with average angle Second angle section;According to the first angle section and the second angle section, the default map information is created.By This passes through above-mentioned side as it can be seen that the concrete scheme that above discussion discloses a kind of specific for creating the default map information Case, available interval range are respectively positioned on the first angle section and second angle section of (0 °, 180 °), then according to above-mentioned One angular interval and second angle section, can create for characterize different average angle and different angle prediction modes it Between corresponding relationship information, to obtain the default map information.
In the present embodiment, when the computer instruction is run on computers, so that the computer can specifically be held Row following steps: it using default map information, determines corresponding with average angle corresponding to each predicting unit Angle prediction mode obtains the corresponding first object angle prediction mode of each predicting unit;From 33 kinds of angles of HEVC The adjacent N number of angle of first object angle prediction mode corresponding with each predicting unit is selected in prediction mode to predict Mode obtains the corresponding second target angle prediction mode of each predicting unit;Wherein, the N is positive integer;It will be each The corresponding first object angle prediction mode of the predicting unit and the second target angle prediction mode are determined as each described pre- Survey the corresponding angle prediction mode of unit.Through the above scheme, it can reduce a possibility that omitting best intra prediction mode, subtract Few mode adjudging error.
In the present embodiment, when the computer instruction is run on computers, so that the computer can specifically be held Row following steps: first object corresponding positioned at each predicting unit is selected from 33 kinds of angle prediction modes of HEVC The adjacent each angle prediction mode in the front and back of angle prediction mode, obtains corresponding second target of each predicting unit Angle prediction mode.
In the present embodiment, when the computer instruction is run on computers, so that the computer can specifically be held Row following steps: it using default map information, determines corresponding with average angle corresponding to each predicting unit Angle prediction mode obtains the corresponding angle prediction mode of each predicting unit.Although above scheme sacrifices certain Mode adjudging accuracy, but calculation amount needed for capable of being further reduced mode decision process, accelerate mode adjudging speed.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.
The computer program product includes one or more computer instructions.Load and execute on computers the meter When calculation machine program instruction, entirely or partly generate according to process or function described in the embodiment of the present invention.The computer can To be general purpose computer, special purpose computer, computer network or other programmable devices.The computer instruction can be deposited Storage in a computer-readable storage medium, or from a computer readable storage medium to another computer readable storage medium Transmission, for example, the computer instruction can pass through wired (example from a web-site, computer, server or data center Such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave) mode to another website Website, computer, server or data center are transmitted.The computer readable storage medium can be computer and can deposit Any usable medium of storage either includes that the data storages such as one or more usable mediums integrated server, data center are set It is standby.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or partly lead Body medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey The medium of sequence code.
It should be noted that the serial number of the above embodiments of the invention is only for description, do not represent the advantages or disadvantages of the embodiments.And The terms "include", "comprise" herein or any other variant thereof is intended to cover non-exclusive inclusion, so that packet Process, device, article or the method for including a series of elements not only include those elements, but also including being not explicitly listed Other element, or further include for this process, device, article or the intrinsic element of method.Do not limiting more In the case where, the element that is limited by sentence "including a ...", it is not excluded that including process, device, the article of the element Or there is also other identical elements in method.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of intra prediction mode of HEVC determines method, which is characterized in that the described method includes:
Determine the image gradient information of each predicting unit of HEVC;
It is utilized respectively the image gradient information of each predicting unit, is correspondingly determined for characterizing each predicting unit Image direction overall trend average angle;
Using default map information, angle prediction associated with average angle corresponding to each predicting unit is determined Mode obtains the corresponding angle prediction mode of each predicting unit;Wherein, the default map information is pre-created For characterizing the information of the corresponding relationship between different average angles and different angle prediction modes;
It determines respectively pre- in the corresponding angle prediction mode of each predicting unit, DC mode and the respective frame of planar mode It surveys as a result, and determining the optimal intra prediction mode of each predicting unit according to the intra-prediction result.
2. the method as described in claim 1, which is characterized in that the image gradient for being utilized respectively each predicting unit Information correspondingly determines the average angle for characterizing the overall trend of the image direction of each predicting unit, comprising:
It is utilized respectively the image gradient information of each predicting unit, is correspondingly calculated single with each prediction in image The corresponding all deflections of member;
The average value for determining the corresponding all deflections of each predicting unit is obtained for characterizing each predicting unit Image direction overall trend average angle.
3. the method as described in claim 1, which is characterized in that the method also includes:
Described using default map information, angle associated with average angle corresponding to each predicting unit is determined It spends before prediction mode, first angle prediction mode is selected from 33 kinds of angle prediction modes of HEVC as benchmark reference Mode calculates phase after the corresponding angle prediction direction of 33 kinds of angle prediction modes is then re-started normalization again The angle value answered, to form first angle section corresponding with the angled prediction direction of institute;
Initial angle section corresponding to average angle is added 135 °, and the angle greater than 180 ° is carried out modulo operation, is obtained To second angle corresponding with average angle section;
According to the first angle section and the second angle section, the default map information is created.
4. method as described in any one of claims 1 to 3, which is characterized in that it is described using default map information, determine with It is corresponding to obtain each predicting unit for the associated angle prediction mode of average angle corresponding to each predicting unit Angle prediction mode, comprising:
Using default map information, angle prediction corresponding with average angle corresponding to each predicting unit is determined Mode obtains the corresponding first object angle prediction mode of each predicting unit;
First object angle corresponding with each predicting unit is selected from 33 kinds of angle prediction modes of HEVC to predict The adjacent N number of angle prediction mode of mode, obtains the corresponding second target angle prediction mode of each predicting unit;Its In, the N is positive integer;
The corresponding first object angle prediction mode of each predicting unit and the second target angle prediction mode are determined as The corresponding angle prediction mode of each predicting unit.
5. method as claimed in claim 4, which is characterized in that the N is 2.
6. method as claimed in claim 5, which is characterized in that selected in 33 kinds of angle prediction modes from HEVC with The adjacent N number of angle prediction mode of the corresponding first object angle prediction mode of each predicting unit obtains each described The corresponding second target angle prediction mode of predicting unit, comprising:
It is selected from 33 kinds of angle prediction modes of HEVC pre- positioned at the corresponding first object angle of each predicting unit The adjacent each angle prediction mode in the front and back of survey mode, it is pre- to obtain corresponding second target angle of each predicting unit Survey mode.
7. method as described in any one of claims 1 to 3, which is characterized in that it is described using default map information, determine with It is corresponding to obtain each predicting unit for the associated angle prediction mode of average angle corresponding to each predicting unit Angle prediction mode, comprising:
Using default map information, angle prediction corresponding with average angle corresponding to each predicting unit is determined Mode obtains the corresponding angle prediction mode of each predicting unit.
8. a kind of intra prediction mode of HEVC determines equipment, which is characterized in that the equipment includes memory and processor, institute It states the intra prediction mode for being stored with and being run on memory on the processor and determines program, the intra prediction mode is true Determine to realize method as described in any one of claim 1 to 7 when program is executed by the processor.
9. a kind of intra prediction mode of HEVC determines system, which is characterized in that the system comprises:
Gradient determination unit, the image gradient information of each predicting unit for determining HEVC;
Angle determination unit correspondingly determines for being utilized respectively the image gradient information of each predicting unit and is used for table Levy the average angle of the overall trend of the image direction of each predicting unit;
Pattern determining unit, for determining and average angle corresponding to each predicting unit using default map information Associated angle prediction mode is spent, the corresponding angle prediction mode of each predicting unit is obtained;Wherein, described preset is reflected Penetrating information is to be pre-created for characterizing the corresponding relationship between different average angles and different angle prediction modes Information;
Mode decision unit, for determine respectively the corresponding angle prediction mode of each predicting unit, DC mode and The respective intra-prediction result of planar mode, and each predicting unit is determined most according to the intra-prediction result Good intra prediction mode.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium in frame pre- Mode determination process is surveyed, the intra prediction mode determines that program can be executed by one or more processors, to realize such as right It is required that 1 to 7 described in any item intra prediction modes determine method.
CN201811315124.3A 2018-11-06 2018-11-06 A kind of intra prediction mode of HEVC determines method, equipment, system and medium Pending CN109040754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811315124.3A CN109040754A (en) 2018-11-06 2018-11-06 A kind of intra prediction mode of HEVC determines method, equipment, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811315124.3A CN109040754A (en) 2018-11-06 2018-11-06 A kind of intra prediction mode of HEVC determines method, equipment, system and medium

Publications (1)

Publication Number Publication Date
CN109040754A true CN109040754A (en) 2018-12-18

Family

ID=64614436

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811315124.3A Pending CN109040754A (en) 2018-11-06 2018-11-06 A kind of intra prediction mode of HEVC determines method, equipment, system and medium

Country Status (1)

Country Link
CN (1) CN109040754A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640087A (en) * 2018-12-30 2019-04-16 深圳市网心科技有限公司 A kind of intra prediction mode decision method, device and equipment
CN109640098A (en) * 2018-12-21 2019-04-16 深圳市网心科技有限公司 A kind of intra-frame prediction method based on AVS2, system and electronic equipment and storage medium
WO2020140217A1 (en) * 2019-01-02 2020-07-09 Oppo广东移动通信有限公司 Intra-frame prediction method and device and computer-readable storage medium
CN113709459A (en) * 2019-01-02 2021-11-26 Oppo广东移动通信有限公司 Intra-frame prediction method, device and computer storage medium
CN114007074A (en) * 2021-11-04 2022-02-01 翱捷科技股份有限公司 Method and device for screening intra-frame prediction modes of video frames

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662066A (en) * 2004-02-26 2005-08-31 中国科学院计算技术研究所 Method for selecting predicting mode within frame
CN102186081A (en) * 2011-05-11 2011-09-14 北京航空航天大学 H.264 intra-frame mode selection method based on gradient vector
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)
CN102843559A (en) * 2012-09-12 2012-12-26 清华大学 Method and device for quickly selecting HEVC intra prediction mode on basis of texture characteristics
US20140286394A1 (en) * 2009-08-17 2014-09-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
CN105187826A (en) * 2015-07-31 2015-12-23 郑州轻工业学院 Rapid intra-frame mode decision method specific to high efficiency video coding standard
CN105847794A (en) * 2015-11-18 2016-08-10 西安邮电大学 HEVC intra-frame prediction mode rapid selection method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662066A (en) * 2004-02-26 2005-08-31 中国科学院计算技术研究所 Method for selecting predicting mode within frame
US20140286394A1 (en) * 2009-08-17 2014-09-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
CN102186081A (en) * 2011-05-11 2011-09-14 北京航空航天大学 H.264 intra-frame mode selection method based on gradient vector
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)
CN102843559A (en) * 2012-09-12 2012-12-26 清华大学 Method and device for quickly selecting HEVC intra prediction mode on basis of texture characteristics
CN105187826A (en) * 2015-07-31 2015-12-23 郑州轻工业学院 Rapid intra-frame mode decision method specific to high efficiency video coding standard
CN105847794A (en) * 2015-11-18 2016-08-10 西安邮电大学 HEVC intra-frame prediction mode rapid selection method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640098A (en) * 2018-12-21 2019-04-16 深圳市网心科技有限公司 A kind of intra-frame prediction method based on AVS2, system and electronic equipment and storage medium
CN109640087A (en) * 2018-12-30 2019-04-16 深圳市网心科技有限公司 A kind of intra prediction mode decision method, device and equipment
US11805276B2 (en) 2019-01-02 2023-10-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and device and computer-readable storage medium
CN113709459A (en) * 2019-01-02 2021-11-26 Oppo广东移动通信有限公司 Intra-frame prediction method, device and computer storage medium
US11330299B2 (en) 2019-01-02 2022-05-10 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and device and computer-readable storage medium
CN113709459B (en) * 2019-01-02 2023-06-23 Oppo广东移动通信有限公司 Intra-frame prediction method, device and computer storage medium
WO2020140217A1 (en) * 2019-01-02 2020-07-09 Oppo广东移动通信有限公司 Intra-frame prediction method and device and computer-readable storage medium
US11812057B2 (en) 2019-01-02 2023-11-07 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and device, and computer storage medium
US11856153B2 (en) 2019-01-02 2023-12-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and device and computer-readable storage medium
US11962802B2 (en) 2019-01-02 2024-04-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Intra prediction method and device and computer-readable storage medium
CN114007074A (en) * 2021-11-04 2022-02-01 翱捷科技股份有限公司 Method and device for screening intra-frame prediction modes of video frames
WO2023078015A1 (en) * 2021-11-04 2023-05-11 翱捷科技股份有限公司 Intra-prediction mode screening method and apparatus for video frame
CN114007074B (en) * 2021-11-04 2023-09-15 翱捷科技股份有限公司 Method and device for screening intra-frame prediction modes of video frames

Similar Documents

Publication Publication Date Title
CN109040754A (en) A kind of intra prediction mode of HEVC determines method, equipment, system and medium
JP7072054B2 (en) Methods and equipment for sorting cargo
US9135040B2 (en) Selecting provisioning targets for new virtual machine instances
CN108230346B (en) Method and device for segmenting semantic features of image and electronic equipment
CN109491784A (en) Reduce method, apparatus, the electronic equipment, readable storage medium storing program for executing of EMS memory occupation amount
US9323990B2 (en) Full-automatic detection method and system for static characteristic information in dynamic image
US20190080444A1 (en) Object detection
US20110103712A1 (en) Structured grids and graph traversal for image processing
CN108241853A (en) A kind of video frequency monitoring method, system and terminal device
CN104937550B (en) Switch by the virtual machine of target of function
CN103365796A (en) Volume rendering on shared memory systems with multiple processors by optimizing cache reuse
CN105303084A (en) Privilege management system and method
CN110020093A (en) Video retrieval method, edge device, video frequency searching device and storage medium
US20210125094A1 (en) Trivalent lattice scheme to identify flag qubit outcomes
CN103999121A (en) Image stream pipeline controller for deploying image primitives to a computation fabric
CN106020752A (en) Method and system for self-adaptation display
US9875528B2 (en) Multi-frame patch correspondence identification in video
CN109462758B (en) Intra-frame prediction mode determination method, electronic device, system and storage medium
CN109640087B (en) Intra-frame prediction mode judgment method, device and equipment
Stanisavljevic et al. A fast and scalable pipeline for stain normalization of whole-slide images in histopathology
US9626107B2 (en) Memory-aware matrix factorization
CN110147328A (en) A kind of database performance measurement method, system, electronic equipment and storage medium
CN109640098A (en) A kind of intra-frame prediction method based on AVS2, system and electronic equipment and storage medium
CN109271981A (en) A kind of image processing method, device and terminal device
CN110495133A (en) For generating the method for being used for the prime number of cipher application

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218