CN110166775A - Intra-frame prediction method, encoder and storage device - Google Patents

Intra-frame prediction method, encoder and storage device Download PDF

Info

Publication number
CN110166775A
CN110166775A CN201910556689.9A CN201910556689A CN110166775A CN 110166775 A CN110166775 A CN 110166775A CN 201910556689 A CN201910556689 A CN 201910556689A CN 110166775 A CN110166775 A CN 110166775A
Authority
CN
China
Prior art keywords
prediction mode
present encoding
encoding block
block
associated prediction
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
Application number
CN201910556689.9A
Other languages
Chinese (zh)
Other versions
CN110166775B (en
Inventor
曾飞洋
江东
林聚财
殷俊
方诚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua 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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN201910556689.9A priority Critical patent/CN110166775B/en
Publication of CN110166775A publication Critical patent/CN110166775A/en
Application granted granted Critical
Publication of CN110166775B publication Critical patent/CN110166775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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

Landscapes

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

Abstract

The invention discloses a kind of intra-frame prediction method, encoder and storage devices.The intra-frame prediction method includes: the independent prediction mode that present encoding block is selected from multiple candidate intra prediction modes;If present encoding block meets associated prediction condition, it is determined that the associated prediction mode of present encoding block, associated prediction mode include the intra prediction mode of at least one coded block;If associated prediction mode meets preset condition, select associated prediction mode as the intra prediction mode of present encoding block.By the above-mentioned means, the present invention can be improved the accuracy of intra prediction.

Description

Intra-frame prediction method, encoder and storage device
Technical field
This application involves field of video encoding, more particularly to a kind of intra-frame prediction method, encoder and storage device.
Background technique
Since video image data amount is bigger, it usually needs after carrying out coding compression to it, then is transmitted or stored, Data after coding are referred to as video code flow.It is limited by hardware and other conditions, as limited storage space, transmission bandwidth are limited Deng encoder always wants to that video code flow can be allowed small as far as possible.
Video coding mainly includes video acquisition, prediction, change quantization and entropy coding several major, wherein prediction is divided into frame Interior prediction and inter-prediction two parts are respectively used to removal Spatial redundancies and redundancy of time.
Intra prediction is exactly, according to the pixel value of reference pixel encoded around current pixel, to come in a frame image Predict the pixel value of current pixel.Intra prediction mode includes DC, Planar and multiple angles mode at present.For in some frame Prediction mode finds the corresponding reference pixel of pixel in present encoding block according to the direction of intra prediction mode meaning, according to The calculated for pixel values of corresponding reference pixel goes out the prediction cost of the intra prediction mode, repeats for multiple intra prediction modes The process of stating obtains the prediction cost of multiple intra prediction modes, finally selects the prediction the smallest intra prediction mode of cost and is used as and works as The intra prediction mode of preceding encoding block.Single intra prediction mode is taken into consideration only in intra-prediction process, Spatial redundancies are gone Except effect is limited.
Summary of the invention
The application provides a kind of intra-frame prediction method, encoder and storage device, is able to solve in frame in the related technology pre- The limited problem of the removal effect of Spatial redundancies during survey.
In order to solve the above technical problems, the technical solution that the application uses is: from multiple candidate intra prediction modes In select the independent prediction mode of present encoding block;If present encoding block meets associated prediction condition, it is determined that present encoding block Associated prediction mode, associated prediction mode includes the intra prediction mode of at least one coded block;If associated prediction mode Meet preset condition, then selects associated prediction mode as the intra prediction mode of present encoding block.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of encoder, the coding Device includes processor, and processor is for executing instruction to realize intra-frame prediction method above-mentioned.
In order to solve the above technical problems, another technical solution that the application uses is: providing a kind of storage device, store There is instruction, instruction, which is performed, realizes intra-frame prediction method above-mentioned.
The beneficial effect of the application is: by selecting the independent pre- of present encoding block from multiple candidate intra prediction modes Survey mode;If present encoding block meets associated prediction condition, it is determined that the associated prediction mode of present encoding block, associated prediction mould Formula includes the independent prediction mode of present encoding block and the intra prediction mode of at least one coded block;If associated prediction mode Meet preset condition, then selects associated prediction mode as the intra prediction mode of present encoding block, in intra-prediction process Associated prediction mode is introduced, single intra prediction mode is no longer limited to, improves and present encoding block is carried out more accurately A possibility that intra prediction, improves the removal effect of Spatial redundancies.
Detailed description of the invention
Fig. 1 is the flow diagram of intra-frame prediction method first embodiment of the present invention;
Fig. 2 is that associated prediction mode computation associated prediction cost is utilized in one specific embodiment of intra-frame prediction method of the present invention Flow diagram;
Fig. 3 is the flow diagram of intra-frame prediction method second embodiment of the present invention;
Fig. 4 be in the selection mode of first group of associated prediction mode and a concrete application example of associated prediction condition when Preceding piece and adjacent coded block L and A of schematic diagram;
Fig. 5 be in the selection mode of second group of associated prediction mode and a concrete application example of associated prediction condition when The coded block of previous frame and the schematic diagram of current block;
Fig. 6 is the structural schematic diagram of one embodiment of inventive encoder;
Fig. 7 is the structural schematic diagram of one embodiment of inventive memory device.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is only a part of the embodiment of the application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Term " first ", " second ", " third " in the application are used for description purposes only, and should not be understood as instruction or dark Show relative importance or implicitly indicates the quantity of indicated technical characteristic." first ", " second ", " are defined as a result, Three " feature can explicitly or implicitly include at least one of the features.In the description of the present application, the meaning of " plurality " is extremely It is two few, such as two, three etc., unless otherwise specifically defined.The directional instruction of institute is (all in the embodiment of the present application Such as up, down, left, right, before and after ...) it is only used for explaining in the phase under a certain particular pose (as shown in the picture) between each component To positional relationship, motion conditions etc., if the particular pose changes, directionality instruction also correspondingly changes therewith Become.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as comprising The process, method, system, product or equipment of a series of steps or units are not limited to listed step or unit, and It is optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, product or equipment Intrinsic other step or units.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, in the absence of conflict, embodiment described herein can be combined with other embodiments.
Fig. 1 is the flow diagram of intra-frame prediction method first embodiment of the present invention.It is noted that if having substantial phase With as a result, the present embodiment is not limited with process shown in FIG. 1 sequence.As shown in Figure 1, the present embodiment includes:
S1: the independent prediction mode of present encoding block is selected from multiple candidate intra prediction modes.
Present encoding block refers to the block that currently encoded, is briefly termed as current block.In certain occasions, coding Block can be referred to as coding unit (codingunit, CU).It is compiled according to the coding mode of brightness and color-separated, such as YUV Code, present encoding block can be luminance block or chrominance block.
The prediction cost of each candidate intra prediction mode, the smallest candidate intra prediction of selection prediction cost can be calculated Mode is as independent prediction mode.Candidate intra prediction mode includes DC, Planar and the part or complete in multiple angles mode Portion.The prediction cost of a certain intra prediction mode, which can refer to, carries out in frame in advance present encoding block using the intra prediction mode The cost of survey, can be using rate distortion costs etc. as prediction cost.
S2: if present encoding block meets associated prediction condition, it is determined that the associated prediction mode of present encoding block.
In a specific embodiment of the invention, associated prediction condition may include at least one of following three conditions:
(1) there is the coded block adjacent with present encoding block, and adjacent coded block uses intra prediction.
(2) intra prediction mode of at least partly adjacent coded block is different from independent prediction mode.
(3) present encoding block is not first encoding block of present frame.
Optionally, associated prediction condition may further include: the size of present encoding block is in the first range and/or phase The size of adjacent coded block is in the second range.
First/second range can be to be limited by single threshold value, and the range of the other side is unlimited, such as first/second model It encloses and may be greater than some preset threshold or less than some preset threshold.First/second range can be to be limited by two threshold values Fixed, whether the size and threshold value itself of threshold value include that can determine according to actual needs within the scope of first/second.
If present encoding block meets associated prediction condition, present encoding block can be determined using preset selection mode Associated prediction mode, associated prediction mode includes the intra prediction mode of at least one coded block.In the present embodiment Encoding block belongs to present frame, i.e., belongs to same frame with present encoding block.The selection mode of associated prediction mode can with combine Predicted condition matches.
In a specific embodiment of the invention, associated prediction mode may include N number of volume adjacent with present encoding block The intra prediction mode of code block, N are positive integer.The position of adjacent coded block can be fixed.
In another specific embodiment of the present invention, associated prediction mode may include the intra prediction mode of N number of match block, N number of match block is the smallest N number of candidate coded block of the variance rate in multiple candidate coded blocks between present encoding block.It waits Selecting coded block includes some or all of coded block of present frame.
Variance rate can be based on the pixel difference and/or texture paging between candidate coded block and present encoding block It obtains.Specifically, can using the pixel difference index between candidate coded block and present encoding block as variance rate, or It regard the texture paging measurement between candidate coded block and present encoding block as variance rate, or utilizes pixel difference index With texture paging metric calculation variance rate.
The size for calculating pixel difference index request candidate's coded block is identical as the size of present encoding block.Specifically, The pixel value error that each pixel in candidate coded block and present encoding block can be calculated, is then based on the pixel of all pixels Be worth error calculation pixel difference index, pixel difference index can for all pixels pixel value error absolute difference and (SAD), mean square error (MSE), absolute error mean value (MAD), threshold value distinct count (NTD) etc..Pixel difference index is smaller, waits Select the pixel difference between coded block and present encoding block smaller, similarity is higher.
The similarity measurement between the textural characteristics of candidate coded block and the textural characteristics of present encoding block can be calculated It is measured as texture paging.Similarity measurement can be euclidean distance metric, Mahalanobis measurement etc..Texture paging Measure smaller, the texture similarity degree between candidate coded block and present encoding block is higher.Calculate texture paging measurement not It is required that the size of candidate coded block is identical as the size of present encoding block.
S3: it if associated prediction mode meets preset condition, selects in frame of the associated prediction mode as present encoding block Prediction mode.
It can be based on associated prediction cost to determine whether selecting associated prediction mode as pre- in the frame of present encoding block Survey mode.Associated prediction cost is the prediction cost predicted using associated prediction mode present encoding block.
Specifically, the preset condition may include that associated prediction cost is less than independent prediction cost and/or the joint Predict that cost is less than preset threshold.In addition, preset condition may further include independent prediction cost greater than specified threshold etc..
If associated prediction mode is unsatisfactory for preset condition, frame of the independent prediction mode as present encoding block can choose Inner estimation mode.
After the intra prediction mode that present encoding block has been determined, present encoding block can be encoded and currently be compiled The code stream of code block.It may include associated prediction label in the code stream of present encoding block, associated prediction is marked for indicating currently to compile Whether the intra prediction mode of code block is associated prediction mode.It, can be first using independent pre- before determining associated prediction label Survey mode encodes present encoding block.
The optional expression way of associated prediction label includes but is not limited to three kinds following:
(i) associated prediction label includes associated prediction syntax elements, and the value of associated prediction syntax elements is worked as indicating Whether the intra prediction mode of preceding encoding block is associated prediction mode.
For example, the syntax elements COMBINE_PRED of a newly-increased 1bit is marked as associated prediction.COMBINE_PRED It indicates to use associated prediction mode for TRUE, COMBINE_PRED is that FALSE indicates not use associated prediction mode.
(ii) associated prediction label includes associated prediction syntax elements, and is in the intra prediction mode of present encoding block In the case where associated prediction mode, associated prediction label further comprises associated prediction mode.
For example, the syntax elements COMBINE_PRED of a newly-increased 1bit is marked as associated prediction.COMBINE_PRED It indicates to use associated prediction mode for TRUE, COMBINE_PRED is that FALSE indicates not use associated prediction mode. In the case that COMBINE_PRED is TRUE, while by associated prediction mode Mcom1, Mcom2..., McomNIt is encoded.
(iii) associated prediction label includes the intra prediction mode serial number of present encoding block, wherein the frame of present encoding block It is pre- in the intra prediction mode serial number and all candidate frames of present encoding block in the case that inner estimation mode is associated prediction mode The serial number of survey mode is all different.It is newly-increased that associated prediction marks corresponding intra prediction mode serial number can be.For example, existing The serial number 0-70 of intra prediction mode (including DC, Planar, multiple angles mode) then increases serial number 71 and 72 newly as joint Predictive marker, 71 indicate to use associated prediction mode, and 72 indicate not use associated prediction mode.
Before judging whether associated prediction mode meets preset condition, it can combine first with associated prediction mode computation Predict cost.As shown in Fig. 2, in a specific embodiment of the invention, it can using associated prediction mode computation associated prediction cost To include:
S31: the associated prediction value of associated prediction mode computation present encoding block is utilized.
The associated prediction value of each pixel is the weighted average of multiple predicted values of the pixel in present encoding block.If plus The weight of power pass through normalized, i.e., all weights and be 1, then associated prediction value is also considered multiple predicted values Weighted sum.Multiple predicted values include the predicted value predicted using independent prediction mode pixel.Optionally, multiple Predicted value may further include the predicted value predicted using independent prediction mode pixel.
For example, using independent prediction mode M0The predicted value that pixel a in present encoding block is predicted For Pred0.Associated prediction mode includes the intra prediction mode of N number of coded block, is indicated are as follows: Mcom1, Mcom2..., McomN.It adopts It include: Pred to the pixel a predicted value predicted with associated prediction mode1, Pred2,…,PredN.The joint of pixel a Predicted value PredcomAre as follows:
Predcom=α * Pred01*Pred12*Pred2+…+βN*PredN
Wherein, α Pred0Weight, βNFor PredNWeight.0≤α≤1,0≤βN≤ 1, alpha+beta1+…+βN=1. α and βNIt can be determine according to actual needs.
S32: associated prediction cost is calculated using the associated prediction value of present encoding block.
The associated prediction value that the pixel value of present encoding block is subtracted to present encoding block, it is corresponding to obtain associated prediction mode Residual error, then based on the corresponding residual computations prediction cost of associated prediction mode as associated prediction cost.
By the implementation of the present embodiment, associated prediction mode is introduced in intra-prediction process, is no longer limited to single Intra prediction mode improves a possibility that carrying out more accurate intra prediction to present encoding block, improves Spatial redundancies Removal effect.
The complete intra-prediction process based on associated prediction is illustrated with reference to the accompanying drawing.
Intra-frame prediction method second embodiment of the present invention is to the further of intra-frame prediction method first embodiment of the present invention Extension, same part repeats no more.As shown in figure 3, intra-frame prediction method second embodiment of the present invention includes:
S11: the reference pixel of present encoding block is obtained.
S12: reference pixel is filtered.
In some cases, S12 can be removed.
S13: the independent prediction mode of present encoding block is selected from multiple candidate intra prediction modes, and based on independent pre- Survey mode computation independent prediction cost.
Candidate intra prediction mode can be according to information such as the type (luminance block or chrominance block) of present encoding block, sizes It determines.
S14: judge whether present encoding block meets associated prediction condition.
If present encoding block meets associated prediction condition, S15 is jumped to;Otherwise S19 is jumped to.
S15: the associated prediction mode of present encoding block is determined.
The selection mode of associated prediction mode can be associated with associated prediction condition.Two groups of joints are exemplified below Predicted condition and selection mode.
First group:
A. there is the coded block adjacent with present encoding block, and adjacent coded block uses intra prediction;
B. the intra prediction mode of at least partly adjacent coded block is different from independent prediction mode;
C. the size of present encoding block is in the first range.
D. the size of adjacent coded block is in the second range.
Associated prediction condition must include a and b, if can be decided according to the actual requirements including c or d.
The selection mode of corresponding associated prediction mode is in the frame for select N number of coded block adjacent with present encoding block Prediction mode is as associated prediction mode.
Illustrate first group of a concrete application example.If the adjacent coded block L in the left side of current block exists, L is same Sample uses intra prediction, the prediction mode M of LLNot equal to the independent prediction mode M of current block0, and meet following size condition In the case of, select the prediction mode M of LLWith the prediction mode M of AAAs associated prediction mode.
When current block is luminance block, size condition is that the wide and high of current block is both greater than or is equal to 32, and the width and height of L Both greater than or equal to 16.When current block is chrominance block, size condition is the wide and high both greater than or equal to 16, L's of current block It is wide and high both greater than or equal to 8.
The position of L and A is as shown in Figure 4.L is encoding block belonging to the left side neighbor pixel of current block lower-left point BL, and A is Encoding block belonging to the upside neighbor pixel of current block upper right point TR.
Second group:
E. present encoding block is not first encoding block of present frame.
F. the size of present encoding block is in the first range.
Associated prediction condition must include e, if can be decided according to the actual requirements including f.
The selection mode of corresponding associated prediction mode is to filter out N number of match block in multiple candidate coded blocks, by N The intra prediction mode of a match block is as associated prediction mode.
Illustrate second group of a concrete application example.If current block is not first encoding block of present frame, and In the case where meeting following size condition, using the SAD of pixel difference, as variance rate match block, (this process can also be claimed To search for match block according to SAD minimum criteria), using the intra prediction mode of match block as associated prediction mode.
When current block is luminance block, size condition is the wide and high both greater than or equal to 16 of current block.When current block is When chrominance block, size condition is the wide and high both greater than or equal to 8 of current block.
It illustrates how to search for match block according to SAD minimum criteria.As shown in figure 5, the coded block of present frame is located at The left side and upside of current block, serial number 1-15.Due to requiring the size of candidate coded block and current block using pixel difference Identical, available candidate's coded block is 8,11 and 13.The calculation formula of SAD is as follows:
Wherein k indicates the serial number of candidate coded block, and s and c respectively indicate the pixel value of candidate coded block and current block, X and y indicates the abscissa and ordinate of corresponding position in candidate coded block and current block.
SAD the smallest 2 are selected in coded block 8,11 and 13 as match block, using the intra prediction mode of match block As associated prediction mode Mcom1And Mcom2
S16: associated prediction mode computation associated prediction cost is utilized.
S17: judge whether associated prediction cost is less than independent prediction cost.
In the present embodiment, preset condition is that associated prediction cost is less than independent prediction cost.If associated prediction cost is small In independent prediction cost, then S18 is jumped to;Otherwise S19 is jumped to.
S18: select associated prediction mode as the intra prediction mode of present encoding block.
S19: select independent prediction mode as the intra prediction mode of present encoding block.
S20: present encoding block is encoded to obtain the code stream of current block.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of one embodiment of inventive encoder.As shown in fig. 6, the encoder 30 Including processor 31.
Processor 31 can also be known as CPU (Central Processing Unit, central processing unit).Processor 31 It may be a kind of IC chip, the processing capacity with signal.Processor 31 can also be general processor, digital signal Processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device, Discrete gate or transistor logic, discrete hardware components.General processor can be microprocessor or the processor It can be any conventional processor etc..
Encoder may further include memory (not shown), and required instruction is run for storage processor 31 And data.
Processor 31 is for executing instruction to realize aforementioned present invention intra-frame prediction method any embodiment and not rush arbitrarily Method provided by prominent combination.
It is the structural schematic diagram of one embodiment of inventive memory device refering to Fig. 7, Fig. 7.The storage of the embodiment of the present invention fills It sets 40 and is stored with instruction, which, which is performed, realizes intra-frame prediction method any embodiment of the present invention and any do not conflict Method provided by combining.Wherein, which can form program file and be stored in above-mentioned storage dress in the form of software products In setting, so that a computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) all or part of the steps of each embodiment method of the application is executed.And storage device above-mentioned includes: U Disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program coding such as magnetic or disk or computer, server, mobile phone, flat The terminal devices such as plate.
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 division of unit, Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be with In conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit or Communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into 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.The above is only the application's Embodiment is not intended to limit the scope of the patents of the application, all using made by present specification and accompanying drawing content etc. Structure or equivalent process transformation are imitated, is applied directly or indirectly in other relevant technical fields, and is similarly included in the application Scope of patent protection in.

Claims (16)

1. a kind of intra-frame prediction method characterized by comprising
The independent prediction mode of present encoding block is selected from multiple candidate intra prediction modes;
If the present encoding block meets associated prediction condition, it is determined that the associated prediction mode of the present encoding block, it is described Associated prediction mode includes the intra prediction mode of at least one coded block;
If the associated prediction mode meets preset condition, select the associated prediction mode as the present encoding block Intra prediction mode.
2. the method according to claim 1, wherein
The associated prediction condition includes at least one of following three conditions:
In the presence of the coded block adjacent with the present encoding block, and the adjacent coded block uses intra prediction;
The intra prediction mode of at least partly described adjacent coded block is different from the independent prediction mode;
The present encoding block is not first encoding block of present frame.
3. according to the method described in claim 2, it is characterized in that,
The associated prediction condition further comprises: the size of the present encoding block is in the first range and/or described adjacent Coded block size in the second range.
4. the method according to claim 1, wherein
The associated prediction mode includes the intra prediction mode of N number of coded block adjacent with the present encoding block, and N is positive Integer.
5. the method according to claim 1, wherein
The associated prediction mode includes the intra prediction mode of N number of match block, and N number of match block is that multiple candidates are encoded The smallest N number of candidate coded block of variance rate in block between the present encoding block, N is positive integer.
6. according to the method described in claim 5, it is characterized in that,
The variance rate is based on the pixel difference and/or texture phase between the candidate coded block and the present encoding block It is obtained like property.
7. according to the method described in claim 6, it is characterized in that,
If calculating parameter used in the variance rate includes the pixel difference, it is described candidate coded block size with it is described The size of present encoding block is identical.
8. according to the method described in claim 5, it is characterized in that,
Candidate's coded block includes some or all of coded block of present frame.
9. the method according to claim 1, wherein
The preset condition includes that associated prediction cost is less than independent prediction cost and/or the associated prediction cost less than default Threshold value, wherein the associated prediction cost is the prediction predicted using the associated prediction mode the present encoding block Cost, the independent prediction cost are the prediction generation predicted using the independent prediction mode the present encoding block Valence.
10. according to the method described in claim 9, it is characterized in that,
If the associated prediction mode meets preset condition, select the associated prediction mode as the present encoding Further comprise before the intra prediction mode of block:
Utilize associated prediction cost described in the associated prediction mode computation.
11. according to the method described in claim 10, it is characterized in that,
It is described to include: using associated prediction cost described in the associated prediction mode computation
Using the associated prediction value of present encoding block described in the associated prediction mode computation, each picture in the present encoding block The associated prediction value of element is the weighted average of multiple predicted values of the pixel, and the multiple predicted value includes using described Close the predicted value that prediction mode predicts the pixel;
The associated prediction cost is calculated using the associated prediction value of the present encoding block.
12. according to the method for claim 11, which is characterized in that the multiple predicted value further comprises using described only The predicted value that vertical prediction mode predicts the pixel.
13. the method according to claim 1, wherein further comprising:
The present encoding block is encoded to obtain the code stream of the present encoding block, is wrapped in the code stream of the present encoding block Associated prediction label is included, whether intra prediction mode of the associated prediction label for indicating the present encoding block is described Associated prediction mode.
14. according to the method for claim 13, which is characterized in that
The associated prediction label includes associated prediction syntax elements, and the value of the associated prediction syntax elements is for indicating institute Whether the intra prediction mode for stating present encoding block is the associated prediction mode;Or
The associated prediction label includes the associated prediction syntax elements, and in the intra prediction mould of the present encoding block In the case that formula is the associated prediction mode, the associated prediction label further comprises the associated prediction mode;Or
The associated prediction label includes the intra prediction mode serial number of the present encoding block, wherein the present encoding block In the case that intra prediction mode is the associated prediction mode, the intra prediction mode serial number of the present encoding block and all The serial number of candidate intra prediction mode is all different.
15. a kind of encoder, which is characterized in that the encoder includes processor,
The processor is used to execute instruction to realize the method as described in any one of claim 1-14.
16. a kind of storage device is stored with instruction, which is characterized in that described instruction is performed realization such as claim 1-14 Any one of described in method.
CN201910556689.9A 2019-06-25 2019-06-25 Intra-frame prediction method, encoder and storage device Active CN110166775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910556689.9A CN110166775B (en) 2019-06-25 2019-06-25 Intra-frame prediction method, encoder and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910556689.9A CN110166775B (en) 2019-06-25 2019-06-25 Intra-frame prediction method, encoder and storage device

Publications (2)

Publication Number Publication Date
CN110166775A true CN110166775A (en) 2019-08-23
CN110166775B CN110166775B (en) 2021-05-11

Family

ID=67627030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910556689.9A Active CN110166775B (en) 2019-06-25 2019-06-25 Intra-frame prediction method, encoder and storage device

Country Status (1)

Country Link
CN (1) CN110166775B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741299A (en) * 2020-07-09 2020-10-02 腾讯科技(深圳)有限公司 Method, device and equipment for selecting intra-frame prediction mode and storage medium
CN111950587A (en) * 2020-07-02 2020-11-17 北京大学深圳研究生院 Intra-frame coding block dividing processing method and hardware device
CN114938449A (en) * 2022-07-20 2022-08-23 浙江大华技术股份有限公司 Intra-frame prediction method, image encoding method, image decoding method and device
WO2023050370A1 (en) * 2021-09-30 2023-04-06 Oppo广东移动通信有限公司 Intra-frame prediction method, decoder, coder, and coding/decoding system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547257A (en) * 2010-12-10 2012-07-04 联芯科技有限公司 Method for obtaining optimal prediction mode and device
CN102685474A (en) * 2011-03-10 2012-09-19 华为技术有限公司 Encoding and decoding method of prediction modes, encoding and decoding device and network system
CN103220506A (en) * 2012-01-19 2013-07-24 华为技术有限公司 Method and equipment of coding and decoding
US20130230104A1 (en) * 2010-09-07 2013-09-05 Sk Telecom Co., Ltd. Method and apparatus for encoding/decoding images using the effective selection of an intra-prediction mode group
CN109889827A (en) * 2019-04-11 2019-06-14 腾讯科技(深圳)有限公司 Intra-frame predictive encoding method, device, electronic equipment and computer storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130230104A1 (en) * 2010-09-07 2013-09-05 Sk Telecom Co., Ltd. Method and apparatus for encoding/decoding images using the effective selection of an intra-prediction mode group
CN102547257A (en) * 2010-12-10 2012-07-04 联芯科技有限公司 Method for obtaining optimal prediction mode and device
CN102685474A (en) * 2011-03-10 2012-09-19 华为技术有限公司 Encoding and decoding method of prediction modes, encoding and decoding device and network system
CN103220506A (en) * 2012-01-19 2013-07-24 华为技术有限公司 Method and equipment of coding and decoding
CN109889827A (en) * 2019-04-11 2019-06-14 腾讯科技(深圳)有限公司 Intra-frame predictive encoding method, device, electronic equipment and computer storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950587A (en) * 2020-07-02 2020-11-17 北京大学深圳研究生院 Intra-frame coding block dividing processing method and hardware device
CN111950587B (en) * 2020-07-02 2024-04-16 北京大学深圳研究生院 Intra-frame coding block dividing processing method and hardware device
CN111741299A (en) * 2020-07-09 2020-10-02 腾讯科技(深圳)有限公司 Method, device and equipment for selecting intra-frame prediction mode and storage medium
WO2023050370A1 (en) * 2021-09-30 2023-04-06 Oppo广东移动通信有限公司 Intra-frame prediction method, decoder, coder, and coding/decoding system
CN114938449A (en) * 2022-07-20 2022-08-23 浙江大华技术股份有限公司 Intra-frame prediction method, image encoding method, image decoding method and device
CN114938449B (en) * 2022-07-20 2023-10-27 浙江大华技术股份有限公司 Intra-frame prediction method, image encoding method, image decoding method and device

Also Published As

Publication number Publication date
CN110166775B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN110166775A (en) Intra-frame prediction method, encoder and storage device
CN103891290B (en) Motion vector processing
US20220210436A1 (en) Method for acquiring motion vectors, prediction method and device
CN110446044B (en) Linear model prediction method, device, encoder and storage device
CN110313180A (en) Method and apparatus for coding and decoding motion information
US9066099B2 (en) Methods for efficient implementation of skip/direct modes in digital video compression algorithms
CN104768011A (en) Image encoding and decoding method and related device
CN101827269B (en) Video coding method and device
CN110213588B (en) Spatial domain candidate motion information acquisition method and device, coder-decoder and storage device
US11711543B2 (en) Method and apparatus for low-complexity bidirectional intra prediction in video encoding and decoding
CN109862353B (en) Chroma block prediction mode acquisition method and device, coder-decoder and storage device
CN104904206B (en) Spatial motion vector prediction derivation method and device
CN110519600A (en) Unified prediction, device, codec and storage device between intra frame
CN103596004A (en) Intra-frame prediction method and device based on mathematical statistics and classification training in HEVC
CN103168470A (en) Video encoding method, video decoding method, video encoding device, video decoding device, and programs for same
TWI790662B (en) Encoding and decoding method, apparatus and device thereof
CN110087083A (en) The selection method of prediction mode for chroma, image processing equipment and storage equipment in frame
CN110719467B (en) Prediction method of chrominance block, encoder and storage medium
CN100435587C (en) Method and apparatus for determining reference data unit for predictive video data coding
CN110290383A (en) Method for choosing frame inner forecast mode, encoder and storage device
CN101931739A (en) Absolute error sum estimation system and method
CN100385957C (en) Kinematic vector predicting method
WO2021056215A1 (en) Motion estimation method and system, and storage medium
CN101977317B (en) Intra-frame prediction method and device
CN112565769B (en) Block division method, inter-frame prediction method, video coding method and related device

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