CN103096061B - A kind of intra-frame prediction method and device - Google Patents

A kind of intra-frame prediction method and device Download PDF

Info

Publication number
CN103096061B
CN103096061B CN201110351863.XA CN201110351863A CN103096061B CN 103096061 B CN103096061 B CN 103096061B CN 201110351863 A CN201110351863 A CN 201110351863A CN 103096061 B CN103096061 B CN 103096061B
Authority
CN
China
Prior art keywords
pixel
adjacent block
pixel value
block
vegetarian refreshments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110351863.XA
Other languages
Chinese (zh)
Other versions
CN103096061A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110351863.XA priority Critical patent/CN103096061B/en
Priority to PCT/CN2012/084277 priority patent/WO2013067942A1/en
Publication of CN103096061A publication Critical patent/CN103096061A/en
Priority to US14/265,795 priority patent/US9686545B2/en
Application granted granted Critical
Publication of CN103096061B publication Critical patent/CN103096061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of intra-frame prediction method, and for being predicted current block according to the pixel value of upper adjacent block and left adjacent block, it includes according to prediction direction, it is thus achieved that each reference image vegetarian refreshments of upper adjacent block mapping pixel in left adjacent block;Carry out being averaging pixel value by the pixel value of each reference image vegetarian refreshments mapping respective with it pixel of described upper adjacent block;Utilize described average pixel value, according to described prediction direction, the pixel value of the pixel in described current block is predicted.Intra-frame prediction method and device that the present invention provides obtain the pixel value of the reference image vegetarian refreshments for prediction according to the meansigma methods of the upper adjacent block of current block and the reference image vegetarian refreshments of left adjacent block, take into full account the spatial characteristics of pixel, relative to prior art, there is more preferable prediction effect.

Description

A kind of intra-frame prediction method and device
Technical field
The present embodiments relate to image processing field, more particularly, to a kind of intra-frame prediction method and Device.
Background technology
Infra-prediction techniques in video encoding standard, utilizes the dependency of adjacent block, uses multi-direction pre- Survey, improve precision of prediction.Such as, H.264 in the prediction of luminance component is had 9 kinds of prediction direction.HEVC Infra-prediction techniques in draft standard, similar with the infra-prediction techniques used in H.264, but HEVC has further expanded block classified types and prediction direction number, it was predicted that direction at most allows 33 Direction.Prediction direction distribution is as shown below.Thick box indicating current block, each bar black line represents prediction side To, it is illustrated that give the reference pixel utilizing current block top and the left side pixel to current block inferior horn Prediction can be carried out along 33 kinds of directions.These directions can be divided into following two classes: 1) from left to bottom right Direction, be defined as negative angle prediction direction;2) direction from upper right to lower-left, or from lower-left to the right side On direction, be defined as positive-angle prediction direction.During prediction, first selected one prediction mould Formula, then obtains reference image vegetarian refreshments according to the sensing of the prediction direction representated by predictive mode, the most such as Really the prediction direction of predictive mode is directed to from the 90 of current pixel point degree of directions, then according to described prediction side To using the borderline directed pixel of the upper adjacent block of described current block as the ginseng of current pixel point Examine pixel, be then predicted according to the pixel value of described reference image vegetarian refreshments., this is a kind of single To Predicting Technique, it is predicted merely with the reference pixel of prediction direction side, it was predicted that precision is difficult to protect Card.
Summary of the invention
The present invention provides a kind of intra-frame prediction method, for according to upper adjacent block and the pixel value of left adjacent block Being predicted current block, it includes according to prediction direction, it is thus achieved that each reference image vegetarian refreshments of upper adjacent block Mapping pixel in left adjacent block;By respective with it for each reference image vegetarian refreshments of described upper adjacent block The pixel value mapping pixel carries out being averaging pixel value;Utilize described average pixel value, according to described pre- Survey direction, the pixel value of the pixel in described current block is predicted.
The present invention also provides for a kind of infra-frame prediction device, including: mapping block, it is used for according to prediction direction, Each reference image vegetarian refreshments of adjacent block mapping pixel in left adjacent block in acquisition;Prediction pixel obtains Module, for the pixel by each reference image vegetarian refreshments mapping respective with it pixel of described upper adjacent block Value carries out being averaging pixel value;Prediction module, is used for utilizing described average pixel value, according to described prediction Direction, is predicted the pixel value of the pixel in described current block.
Intra-frame prediction method that the present invention provides and device are according to the upper adjacent block of current block and left adjacent block The meansigma methods of reference image vegetarian refreshments obtains the pixel value of the reference image vegetarian refreshments for prediction, has taken into full account pixel Spatial characteristics, relative to prior art, there is more preferable prediction effect.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment or existing skill In art description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creation On the premise of property is laborious, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 show the schematic diagram of the intra-frame prediction method that the embodiment of the present invention provides.
Fig. 2 show the application diagram of the intra-frame prediction method that the embodiment of the present invention provides.
Fig. 3 show the schematic diagram of the infra-frame prediction device that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, embodiments provide a kind of intra-frame prediction method, comprising:
Step 101: according to prediction direction, it is thus achieved that each reference image vegetarian refreshments of upper adjacent block is at left adjacent block In mapping pixel;
Step 102: by each reference image vegetarian refreshments mapping respective with it pixel of described upper adjacent block Pixel value carries out being averaging pixel value;
Step 103: utilize described average pixel value, according to described prediction direction, in described current block The pixel value of pixel be predicted.
In embodiments of the present invention, utilize described average pixel value, according to described prediction direction, to described The pixel value of the pixel in current block is predicted including:
Described meansigma methods is packed into respectively in each reference image vegetarian refreshments described;
According to described prediction direction and the average pixel value of described each reference image vegetarian refreshments, in described current block The pixel value of pixel be predicted.
In embodiments of the present invention, the method for asking of average pixel value is pixel value and the mapping of reference image vegetarian refreshments The meansigma methods of the pixel value of pixel.
Please with reference to Fig. 2, in embodiments of the present invention, the reference image vegetarian refreshments of described upper adjacent block is institute State the borderline pixel of close described current block in adjacent block, the reference image of described left adjacent block Vegetarian refreshments is the borderline pixel of the close described current block in described left adjacent block.The upper phase of current block Adjacent block includes the adjacent block being in above described current block and is in the adjacent block of described current block upper right, The left adjacent block of described current block includes the adjacent block being in described current block left, and is in described working as The adjacent block of front piece of lower-left.Being predicted when, first according to the forward in current predictive direction or Reversely find the reference image vegetarian refreshments being in adjacent block, and joining with each under current predictive direction Examine the mapping pixel being in left adjacent block that pixel is corresponding.Ask in adjacent block reference image vegetarian refreshments and The average pixel value mapping pixel of its correspondence, is packed into the reference image of upper adjacent block by average pixel value In vegetarian refreshments.After each reference image vegetarian refreshments of upper adjacent block is all packed into average pixel value, can basis The pixel value after filling in each reference image vegetarian refreshments, according to described current predictive direction, to current block In pixel be predicted.
It should be noted that the prediction direction shown in Fig. 2 can be to point to left adjacent block from upper adjacent block, It can also be adjacent block from left adjacent block points to.
Although it should be noted that in embodiments of the present invention, the upper adjacent block of current block includes being in and works as The adjacent block of the top of front piece, and it is in the adjacent block of the upper right of current block.But this dividing mode It is based on current encoding and decoding from left to right, encoding and decoding order from top to bottom, and by various standards The optional mode of the prediction direction of regulation is affected.If encoding and decoding order changes, or add new Prediction direction, the composition of the upper adjacent block of that current block also can change accordingly, such as comprises place Adjacent block in current block upper left.In like manner, the composition of the left adjacent block of current block can also be according to volume Decoding order or the change of prediction direction and change, such as include the adjacent block being in current block upper left.
It is also to be noted that when prediction direction be 45 degree (pointing to upper rights from lower-left) or when 225 degree (from the right side Upper sensing lower-left) time, the reference pixel of each upper adjacent block mapping pixel in left adjacent block is whole Pixel, the most just can be directly by the forward of prediction direction or the left adjacent block of reversely sensing The pixel value of reference image vegetarian refreshments is as the pixel value mapping pixel.And when prediction direction is not 45 degree, When obtaining mapping pixel according to prediction direction, it may occur that " prediction direction refers to partially ", map pixel Point is not exactly on the whole location of pixels of adjacent block, say, that mapping pixel is sub-pix point, At this time can be obtained by interpolation according to the pixel value of the whole pixel of described mapping pixel portion Obtain the pixel value of described mapping pixel.
In the intra-frame prediction method that the embodiment of the present invention provides, for the pixel of the reference image vegetarian refreshments of prediction Value is that the meansigma methods of the reference image vegetarian refreshments of the upper adjacent block according to current block and left adjacent block obtains, fully Consider the spatial characteristics of pixel, relative to prior art, there is more preferable prediction effect.
Refer to Fig. 3, Fig. 3 show the embodiment of the present invention provide for performing embodiment of the present invention institute The schematic diagram of the infra-frame prediction device of the intra-frame prediction method provided.Described infra-frame prediction prediction means includes:
Mapping block 301, for according to prediction direction, it is thus achieved that each reference image vegetarian refreshments of upper adjacent block exists Mapping pixel in left adjacent block;
Prediction pixel obtains module 302, for by each with it for each reference image vegetarian refreshments of described upper adjacent block From map pixel pixel value carry out being averaging pixel value;
Prediction module 303, is used for utilizing described average pixel value, according to described prediction direction, to described The pixel value of the pixel in current block is predicted.
In embodiments of the present invention, it was predicted that described meansigma methods is packed into each ginseng described by module 303 respectively Examine in pixel, then according to described prediction direction and the average pixel value of described each reference image vegetarian refreshments, right The pixel value of the pixel in described current block is predicted.
Concrete, described prediction module includes:
Fill submodule, for described meansigma methods being packed into respectively in each reference image vegetarian refreshments described;
Prediction submodule, is used for according to described prediction direction and the average pixel value of described each reference image vegetarian refreshments, The pixel value of the pixel in described current block is predicted.
In embodiments of the present invention, the method for asking of average pixel value is pixel value and the mapping of reference image vegetarian refreshments The meansigma methods of the pixel value of pixel.
Those of ordinary skill in the art are it is to be appreciated that combine each of the embodiments described herein description The unit of example and algorithm steps, it is possible to come real with electronic hardware, computer software or the combination of the two Existing, in order to clearly demonstrate the interchangeability of hardware and software, the most according to function one As property describe composition and the step of each example.These functions are held with hardware or software mode actually OK, application-specific and the design constraint of technical scheme are depended on.Professional and technical personnel can be to each Specifically should be used for using different methods to realize described function, but this realization is it is not considered that surpass Go out the scope of the present invention.
Those skilled in the art is it can be understood that arrive, and for convenience and simplicity of description, above-mentioned retouches The specific works process of system, device and the unit stated, is referred to the correspondence in preceding method embodiment Process, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed system, device and Method, can realize by another way.Such as, device embodiment described above is only shown Meaning property, such as, the division of described unit, be only a kind of logic function and divide, actual can when realizing There to be other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another System, or some features can ignore, or do not perform.Another point, shown or discussed each other Coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit Or communication connection, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees The parts shown for unit can be or may not be physical location, i.e. may be located at a place, Or can also be distributed on multiple NE.Can select according to the actual needs part therein or The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme Completely or partially can embody with the form of software product, this computer software product is stored in one In storage medium, including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or light The various medium that can store program code such as dish.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to In this, any those familiar with the art, can be easily in the technical scope that the invention discloses Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention Scope should described be as the criterion with scope of the claims.

Claims (13)

1. an intra-frame prediction method, is used for the pixel value according to upper adjacent block and left adjacent block to current block It is predicted, it is characterised in that including:
According to prediction direction, it is thus achieved that each reference image vegetarian refreshments of upper adjacent block mapping picture in left adjacent block Vegetarian refreshments;
The pixel value of each reference image vegetarian refreshments mapping respective with it pixel of described upper adjacent block is carried out It is averaging pixel value;
Described average pixel value is packed into respectively in each reference image vegetarian refreshments described;
According to described prediction direction and the average pixel value of described each reference image vegetarian refreshments, in described current block The pixel value of pixel be predicted.
2. intra-frame prediction method as claimed in claim 1, it is characterised in that described prediction direction is just To or reversely, point to the mapping picture described left adjacent block from each reference image vegetarian refreshments of described upper adjacent block Vegetarian refreshments.
3. intra-frame prediction method as claimed in claim 1 or 2, it is characterised in that when described adjacent After all reference image vegetarian refreshments of block are all packed into respective average pixel value, just perform step " according to institute State prediction direction and the average pixel value of described each reference image vegetarian refreshments, to the pixel in described current block Pixel value is predicted ".
4. intra-frame prediction method as claimed in claim 1, it is characterised in that the upper phase of described current block Adjacent block includes the adjacent block being in above described current block and is in the adjacent block of described current block upper right, The left adjacent block of described current block includes the adjacent block being in described current block left, and is in described working as The adjacent block of front piece of lower-left.
5. intra-frame prediction method as claimed in claim 1, it is characterised in that the ginseng of described upper adjacent block Examine the borderline pixel that pixel is the close described current block in described upper adjacent block, described left phase The borderline pixel that reference image vegetarian refreshments is the close described current block in described left adjacent block of adjacent block.
6. intra-frame prediction method as claimed in claim 1, it is characterised in that when described mapping pixel During for sub-pix point, described method also includes:
The pixel value of the whole pixel according to described mapping pixel portion, obtains described by interpolation Map the pixel value of pixel.
7. an infra-frame prediction device, it is characterised in that including:
Mapping block, for according to prediction direction, it is thus achieved that each reference pixel of the upper adjacent block of current block Point mapping pixel in left adjacent block;
Prediction pixel obtains module, for by respective with it for each reference image vegetarian refreshments of described upper adjacent block The pixel value mapping pixel carries out being averaging pixel value;
Fill submodule, for being packed into respectively by described average pixel value in each reference image vegetarian refreshments described;
Prediction submodule, is used for according to described prediction direction and the average pixel value of described each reference image vegetarian refreshments, The pixel value of the pixel in described current block is predicted.
8. infra-frame prediction device as claimed in claim 7, it is characterised in that described prediction direction is just To or reversely, point to the mapping picture described left adjacent block from each reference image vegetarian refreshments of described upper adjacent block Vegetarian refreshments.
9. infra-frame prediction device as claimed in claim 7, it is characterised in that at described filling submodule After all reference image vegetarian refreshments of upper adjacent block are all packed into respective average pixel value, described prediction The pixel value of the pixel in described current block is just predicted by module.
10. infra-frame prediction device as claimed in claim 8, it is characterised in that described current block upper Adjacent block includes the adjacent block being in above described current block and is in the adjacent of described current block upper right Block, the left adjacent block of described current block includes the adjacent block being in described current block left, and is in institute State the adjacent block of current block lower-left.
11. infra-frame prediction devices as claimed in claim 8, it is characterised in that in described prediction pixel Acquisition module has tried to achieve all reference image vegetarian refreshments of the upper adjacent block of described current block and corresponding mapping pixel After the average pixel value of point, described prediction submodule just utilizes described average pixel value, according to described pre- Survey direction, the pixel value of the pixel in described current block is predicted.
12. infra-frame prediction devices as claimed in claim 8, it is characterised in that described upper adjacent block Reference image vegetarian refreshments is the borderline pixel of the close described current block in described upper adjacent block, a described left side The reference image vegetarian refreshments of adjacent block is the borderline pixel of the close described current block in described left adjacent block Point.
13. infra-frame prediction devices as claimed in claim 8, it is characterised in that when described mapping pixel When point is for sub-pix point,
The pixel value of the whole pixel according to described mapping pixel portion, obtains described by interpolation Map the pixel value of pixel.
CN201110351863.XA 2011-11-08 2011-11-08 A kind of intra-frame prediction method and device Active CN103096061B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201110351863.XA CN103096061B (en) 2011-11-08 A kind of intra-frame prediction method and device
PCT/CN2012/084277 WO2013067942A1 (en) 2011-11-08 2012-11-08 Intra-frame prediction method and device
US14/265,795 US9686545B2 (en) 2011-11-08 2014-04-30 Method and apparatus for intra-prediction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110351863.XA CN103096061B (en) 2011-11-08 A kind of intra-frame prediction method and device

Publications (2)

Publication Number Publication Date
CN103096061A CN103096061A (en) 2013-05-08
CN103096061B true CN103096061B (en) 2016-12-14

Family

ID=

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101385356A (en) * 2006-02-17 2009-03-11 汤姆森许可贸易公司 Process for coding images using intra prediction mode
CN101827270A (en) * 2009-12-16 2010-09-08 香港应用科技研究院有限公司 Obtain the method for pixel predictors in a kind of infra-frame prediction
WO2011021838A2 (en) * 2009-08-17 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
WO2011021839A2 (en) * 2009-08-17 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101385356A (en) * 2006-02-17 2009-03-11 汤姆森许可贸易公司 Process for coding images using intra prediction mode
WO2011021838A2 (en) * 2009-08-17 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
WO2011021839A2 (en) * 2009-08-17 2011-02-24 Samsung Electronics Co., Ltd. Method and apparatus for encoding video, and method and apparatus for decoding video
CN101827270A (en) * 2009-12-16 2010-09-08 香港应用科技研究院有限公司 Obtain the method for pixel predictors in a kind of infra-frame prediction

Similar Documents

Publication Publication Date Title
US11920934B2 (en) Path planning using sparse volumetric data
JP7057453B2 (en) Point cloud coding method, point cloud decoding method, encoder, and decoder
CN104662896B (en) Apparatus and method for image procossing
CN102033728B (en) Graphic system
CA2911522A1 (en) Estimating depth from a single image
CN103198473B (en) A kind of degree of depth drawing generating method and device
WO2013130630A3 (en) Listing data objects using a hierarchical dispersed storage index
US10230953B2 (en) Method for dividing prediction block, encoding device, and decoding device
CN104717510A (en) Method and device for processing image
CN102439862A (en) Ray tracing device and method
CN108701374A (en) The method and apparatus rebuild for three-dimensional point cloud
CN111373441B (en) Time gaze point rendering using motion estimation
CN104333760A (en) Three-dimensional image coding method, three-dimensional image decoding method and related devices
CN106055294A (en) Layer composition optimization method and apparatus
CN110070616A (en) Memory, statistical data rendering method, device and equipment based on GIS platform
CN105975627A (en) Room choosing method and device
CN109845267A (en) The efficient LUT that LUMA is adjusted is realized
US20150296219A1 (en) Method and device for generating predicted pictures
CN105787986A (en) Three-dimensional graph rendering method and device
CN104182356A (en) Memory management method and device and terminal device
CN102821293A (en) Image processing method and apparatus
CN107566834B (en) Intraprediction unit division methods, device and electronic equipment
CN103096061B (en) A kind of intra-frame prediction method and device
CN103139588A (en) Supplementary information coding apparatus and method for 3D video
Gehrig et al. A flexible high-resolution real-time low-power stereo vision engine

Legal Events

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