CN106550238B - A kind of image processing method and system - Google Patents

A kind of image processing method and system Download PDF

Info

Publication number
CN106550238B
CN106550238B CN201510589185.9A CN201510589185A CN106550238B CN 106550238 B CN106550238 B CN 106550238B CN 201510589185 A CN201510589185 A CN 201510589185A CN 106550238 B CN106550238 B CN 106550238B
Authority
CN
China
Prior art keywords
reference pixel
rank reference
adjacent rank
decoded
central point
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
CN201510589185.9A
Other languages
Chinese (zh)
Other versions
CN106550238A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip Electronics 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201510589185.9A priority Critical patent/CN106550238B/en
Publication of CN106550238A publication Critical patent/CN106550238A/en
Application granted granted Critical
Publication of CN106550238B publication Critical patent/CN106550238B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of image processing method and system, passes through default pixel filling rule;Each root tuber to be decoded is enabled to generate corresponding adjacent rank reference pixel according to the same pixel filling rule, wherein the central point of each adjacent rank reference pixel filling is unified;It enables an interpolation calculation unit according to an identical selection rule, chooses adjacent rank reference pixel corresponding with each described to be decoded piece from each adjacent rank reference pixel;It enables the interpolation calculation unit be calculated according to the selected adjacent rank reference pixel and obtains corresponding prediction block.The selection process for having unified the adjacent rank pixel of interpolation calculation module eliminates the logical code for carrying out pixel selection according to different size of prediction block, reduces the area of interpolation calculation module, reduce the operation power consumption of related hardware module.

Description

A kind of image processing method and system
Technical field
The present invention relates to field of image processings, more particularly to a kind of image processing method and system.
Background technique
The size of the intra-frame prediction block of HEVC is respectively 4x4,8x8,16x16,32x32, the reference of every kind of prediction block sizes For pixel arrangement as shown in Figure 1, used number of pixels is 4x nSize+1, nSize numerical value is 4,8,16,32.
If the adjacent rank reference pixel of different size of prediction block is all arranged since position 0, by taking 4x4 and 8x8 as an example, such as Shown in lower Fig. 2, the center pixel of the block of 4x4 size is located at position 8, and as shown in figure 3,8x8 size prediction block center pixel Positioned at position 16.So just thering is the position of 4 kinds of different adjacent rank reference pixels to arrange if there is 4 kinds of different size of prediction blocks Cloth, subsequent interpolation calculation module is when carrying out the pixel selection of different size of prediction block, it is necessary to 4 sets of different ground Location selection unit is used to choose the adjacent rank reference pixel value of corresponding size, this will increase the burden of operation and reduces efficiency.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide a kind of image processing method and it is System, for solving the problems, such as the heavy load and inefficiency of intra-frame prediction block acquisition in the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of image processing method, comprising the following steps: Default pixel filling rule;Each root tuber to be decoded is enabled to generate corresponding adjacent rank reference image according to the same pixel filling rule Element, wherein the central point of each adjacent rank reference pixel filling is unified;An interpolation calculation unit is enabled to be advised according to an identical selection Then, adjacent rank reference pixel corresponding with each described to be decoded piece is chosen from each adjacent rank reference pixel;Enable the interpolation Computing unit calculates according to the selected adjacent rank reference pixel and obtains corresponding prediction block.
Optionally, the central point is obtained according to maximum to be decoded piece.
Optionally, the adjacent rank reference pixel is distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right.
Optionally, the prediction block by the adjacent rank reference pixel be distributed in be decoded piece of the lower-left, a left side, upper left, The combination of pixels of upper and upper right decoded completion forms.
Optionally, when the adjacent rank reference pixel includes 4x4,8x8,16x16,32x32, each adjacent rank reference pixel Central point be 64.
In order to achieve the above objects and other related objects, the present invention also provides a kind of image processing systems, comprising: filling rule Then setup module, for presetting pixel filling rule;Adjacent rank reference pixel generation module, for enabling each root tuber to be decoded according to same The one pixel filling rule generates corresponding adjacent rank reference pixel, wherein the central point of each adjacent rank reference pixel filling It is unified;Adjacent rank reference pixel chooses module, to enable an interpolation calculation unit according to an identical selection rule, from each neighbour Adjacent rank reference pixel corresponding with each described to be decoded piece is chosen in rank reference pixel;Prediction block obtains module, to enable It states interpolation calculation unit and the corresponding prediction block of acquisition is calculated according to the selected adjacent rank reference pixel.
Optionally, the adjacent rank reference pixel obtains module to obtain the central point according to maximum to be decoded piece.
Optionally, the adjacent rank reference pixel is distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right.
Optionally, the prediction block by the adjacent rank reference pixel be distributed in be decoded piece of the lower-left, a left side, upper left, The combination of pixels of upper and upper right decoded completion forms.
Optionally, when the adjacent rank reference pixel includes 4x4,8x8,16x16,32x32, each adjacent rank reference pixel Central point be 64.
As described above, a kind of image processing method of the invention and system, pass through default pixel filling rule;Enable respectively to Decoding block generates corresponding adjacent rank reference pixel according to the same pixel filling rule, wherein each adjacent rank reference pixel The central point of filling is unified;Enable an interpolation calculation unit according to an identical selection rule, from each adjacent rank reference pixel Choose adjacent rank reference pixel corresponding with each described to be decoded piece;Enable the interpolation calculation unit according to the selected neighbour Rank reference pixel, which calculates, obtains corresponding prediction block.The selection process for having unified the adjacent rank pixel of interpolation calculation module, eliminates The logical code that pixel selection is carried out according to different size of prediction block, reduces the area of interpolation calculation module, reduces phase Close the operation power consumption of hardware module.
Detailed description of the invention
Fig. 1 is shown as HEVC intra prediction neighbour rank pixel arrangement schematic diagram in an embodiment.
Fig. 2 is shown as 4x4 intra-frame prediction block neighbour rank pixel arrangement schematic diagram in an embodiment.
Fig. 3 is shown as 8x8 intra-frame prediction block neighbour rank pixel arrangement schematic diagram in an embodiment.
Fig. 4 is shown as the flow diagram of image processing method of the invention in one embodiment.
Fig. 5 is shown as illustrating with intra-frame prediction block neighbour's rank pixel arrangement of image processing method or system of the invention Figure.
Fig. 6 is shown as the module diagram of image processing system of the invention in one embodiment.
Component label instructions
1 image processing system
11 fill rule setup modules
12 adjacent rank reference pixel generation modules
13 adjacent rank reference pixels choose module
14 prediction blocks obtain module
S11~S14 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.It should be noted that in the absence of conflict, following embodiment and implementation Feature in example can be combined with each other.
It should be noted that illustrating the basic structure that only the invention is illustrated in a schematic way provided in following embodiment Think, only shown in diagram then with related component in the present invention rather than component count, shape and size when according to actual implementation Draw, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel It is likely more complexity.
Referring to Fig. 4, being shown as the flow diagram of image processing method of the invention in one embodiment.It is described Image processing method can be operated based on multiple video processing protocols, be based on HEVC agreement below with described image processing method It is specifically described.
It the described method comprises the following steps:
S11: default pixel filling rule;
S12: each root tuber to be decoded is enabled to generate corresponding adjacent rank reference pixel according to the same pixel filling rule, wherein The central point of each adjacent rank reference pixel filling is unified;The i.e. described fill rule is, all will be with no matter to be decoded piece of size Corresponding reference pixel to be decoded is filled into the unified reference pixel array of a central point.Preferably, according to maximum wait solve Code block obtains the central point, i.e., the central point of the adjacent rank reference pixel generated with maximum to be decoded piece is each to be decoded piece and adopted Central point, the central point are the upper left position point of image reference pixel.
S13: enabling an interpolation calculation unit according to an identical selection rule, chosen from each adjacent rank reference pixel with Each described to be decoded piece corresponding adjacent rank reference pixel;Wherein, when described image processing method is based on HEVC agreement, the choosing Taking rule is the arrangement mode of reference pixel specified in HEVC agreement.And correspondingly, in HEVC agreement, neighbour's rank reference image Element is distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right.It is left if lower-left, upper left, on and upper right in Pixel there is no either not yet decode, HEVC agreement defines the rule of filling.Rule is as follows: first checking for the lower left corner most Whether pixel on the lower is effective, if in vain, it is according to this upwards, (backward to upper left point since the pixel of the lower left corner most on the lower It is right) find available point, filling to the point.If all point is all invalid, which fills out 128.After completing the point of the lower left corner most on the lower, Whether (after to upper left point to the right) that reference point is examined successively is effective upwards since the point, if in vain, it will be following, the left side Point filling is to the point, until checking the last one reference image vegetarian refreshments of upper right.
S14: it enables the interpolation calculation unit be calculated according to the selected adjacent rank reference pixel and obtains corresponding prediction Block.The prediction block is distributed in be decoded piece of a lower-left, left side, upper left, upper and upper right by the adjacent rank reference pixel The combination of pixels of decoded completion forms.After generating the prediction block, the residual block come out with decoding is added, and is just weighed Building block, reconstructed blocks are the final image block that user needs.
For example, with reference to Fig. 5, being shown as the intra-frame prediction block with of the invention based on HEVC in a certain embodiment and obtaining Intra-frame prediction block neighbour's rank pixel arrangement schematic diagram of method.It is seen that when the adjacent rank reference pixel include 4x4, When 8x8,16x16,32x32, it is filled according to the same pixel filling rule, and each adjacent rank reference pixel filling Central point is unified in the central point 64 of maximum to be decoded piece of adjacent rank reference pixel.Need subsequent computing module only Fixed point is chosen according to identical rule to be calculated, and the efficiency of calculating can be improved, mitigate the energy consumption of computing module.
Referring to Fig. 6, it is shown as the module diagram of image processing system of the invention in one embodiment, it is described It includes fill rule setup module 11, adjacent rank reference pixel generation module 12, neighbour that intra-frame prediction block based on HEVC, which obtains system 1, Rank reference pixel chooses module 13 and prediction block obtains module 14.Described image processing system 1 can be handled based on multiple videos Agreement is operated, and is based on HEVC agreement below with described image processing system 1 and is specifically described.
The fill rule setup module 11 is for presetting pixel filling rule;The fill rule is, no matter wait solve The size of code block will be all filled into the unified reference pixel array of a central point with corresponding reference pixel to be decoded.
Neighbour's rank reference pixel generation module 12 is for enabling each root tuber to be decoded raw according to the same pixel filling rule At corresponding adjacent rank reference pixel, wherein the central point of each adjacent rank reference pixel filling is unified;Preferably, the adjacent rank Reference pixel generation module 12 obtains the central point, i.e., the neighbour generated with maximum to be decoded piece according to maximum to be decoded piece The central point of rank reference pixel is the central point of each to be decoded piece use, and the central point is the upper left corner position of image reference pixel It sets a little.
Neighbour's rank reference pixel chooses module 13 to enable an interpolation calculation unit according to an identical selection rule, from Adjacent rank reference pixel corresponding with each described to be decoded piece is chosen in each adjacent rank reference pixel;Wherein, the selection rule It is then the arrangement mode of reference pixel specified in HEVC agreement.And specifically, in HEVC agreement, neighbour's rank reference pixel Be distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right, left if lower-left, upper left, on and upper right in For pixel there is no either not yet decoding, HEVC agreement defines the rule of filling.Rule it is as follows: first check for the lower left corner near Under pixel it is whether effective, if in vain, it is according to this upwards, (backward to upper left point since the pixel of the lower left corner most on the lower It is right) find available point, filling to the point.If all point it is all invalid, the point fill out 128. complete the point of the lower left corner most on the lower after, Whether (after to upper left point to the right) that reference point is examined successively is effective upwards since the point, if in vain, it will be following, the left side Point filling is to the point, until checking the last one reference image vegetarian refreshments of upper right.
The prediction block obtains module 14 to enable the interpolation calculation unit according to the selected adjacent rank reference image Element, which calculates, obtains corresponding prediction block, the prediction block by the adjacent rank reference pixel be distributed in be decoded piece of the lower-left, A left side, upper left, upper and upper right decoded completion combination of pixels form.
For example, with reference to Fig. 5, being shown as with image processing method method of the invention in a specific embodiment or being Intra-frame prediction block neighbour's rank pixel arrangement schematic diagram of system.It is seen that when the adjacent rank reference pixel include 4x4,8x8, It when 16x16,32x32, is filled according to the same pixel filling rule, and the center of each adjacent rank reference pixel filling Point is unified in the central point 64 of maximum to be decoded piece of adjacent rank reference pixel.Make so subsequent computing module only need according to Identical rule is chosen fixed point and is calculated, and the efficiency of calculating can be improved, reduce the power consumption of computing module.
In conclusion a kind of image processing method of the invention and system, pass through default pixel filling rule;Enable respectively to Decoding block generates corresponding adjacent rank reference pixel according to the same pixel filling rule, wherein each adjacent rank reference pixel The central point of filling is unified;Enable an interpolation calculation unit according to an identical selection rule, from each adjacent rank reference pixel Choose adjacent rank reference pixel corresponding with each described to be decoded piece;Enable the interpolation calculation unit according to the selected neighbour Rank reference pixel, which calculates, obtains corresponding prediction block.The selection process for having unified the adjacent rank pixel of interpolation calculation module, eliminates The logical code that pixel selection is carried out according to different size of prediction block, reduces the area of interpolation calculation module, reduces phase Close the operation power consumption of hardware module.So the present invention effectively overcomes various shortcoming in the prior art and has high industrial benefit With value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (8)

1. a kind of image processing method, which comprises the following steps:
Default pixel filling rule;Wherein, no matter the size that the fill rule is to be decoded piece, all will to it is to be decoded corresponding Reference pixel be filled into the unified reference pixel array of a central point;What the central point was generated with maximum to be decoded piece The central point of adjacent rank reference pixel is the central point of each to be decoded piece use;
Each root tuber to be decoded is enabled to generate corresponding adjacent rank reference pixel according to the same pixel filling rule, wherein each neighbour The central point of rank reference pixel filling is unified;It is described neighbour rank reference pixel be distributed in be decoded piece of the lower-left, a left side, upper left, Upper and upper right;
Enable an interpolation calculation unit according to an identical selection rule, chosen from each adjacent rank reference pixel with it is each it is described to The corresponding adjacent rank reference pixel of decoding block;
It enables the interpolation calculation unit be calculated according to the selected adjacent rank reference pixel and obtains corresponding prediction block.
2. image processing method according to claim 1, it is characterised in that: obtained in described according to maximum to be decoded piece Heart point.
3. image processing method according to claim 1, it is characterised in that: the prediction block is by the adjacent rank reference pixel Be distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right decoded completion combination of pixels form.
4. image processing method according to claim 1, it is characterised in that: when the block of pixels packet of the adjacent rank reference pixel When including 4x4,8x8,16x16,32x32, the central point of each adjacent rank reference pixel is 64.
5. a kind of image processing system characterized by comprising
Fill rule setup module, for presetting pixel filling rule;Wherein, no matter the fill rule is to be decoded piece Size will be all filled into the unified reference pixel array of a central point with corresponding reference pixel to be decoded;The central point The central point of the adjacent rank reference pixel generated with maximum to be decoded piece is the central point of each to be decoded piece use;
Adjacent rank reference pixel generation module, for enabling each root tuber to be decoded generate corresponding neighbour according to the same pixel filling rule Rank reference pixel, wherein the central point of each adjacent rank reference pixel filling is unified;Neighbour's rank reference pixel is distributed in described To be decoded piece of lower-left, a left side, upper left, upper and upper right;
Adjacent rank reference pixel chooses module, to enable an interpolation calculation unit according to an identical selection rule, from each neighbour Adjacent rank reference pixel corresponding with each described to be decoded piece is chosen in rank reference pixel;
Prediction block obtains module, obtains to enable the interpolation calculation unit be calculated according to the selected adjacent rank reference pixel Corresponding prediction block.
6. image processing system according to claim 5, it is characterised in that: it is described neighbour rank reference pixel generation module to The central point is obtained according to maximum to be decoded piece.
7. image processing system according to claim 5, it is characterised in that: the prediction block is by the adjacent rank reference pixel Be distributed in be decoded piece of the lower-left, a left side, upper left, upper and upper right decoded completion combination of pixels form.
8. image processing system according to claim 5, it is characterised in that: when the block of pixels packet of the adjacent rank reference pixel When including 4x4,8x8,16x16,32x32, the central point of each adjacent rank reference pixel is 64.
CN201510589185.9A 2015-09-16 2015-09-16 A kind of image processing method and system Active CN106550238B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510589185.9A CN106550238B (en) 2015-09-16 2015-09-16 A kind of image processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510589185.9A CN106550238B (en) 2015-09-16 2015-09-16 A kind of image processing method and system

Publications (2)

Publication Number Publication Date
CN106550238A CN106550238A (en) 2017-03-29
CN106550238B true CN106550238B (en) 2019-09-13

Family

ID=58361543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510589185.9A Active CN106550238B (en) 2015-09-16 2015-09-16 A kind of image processing method and system

Country Status (1)

Country Link
CN (1) CN106550238B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7050432B2 (en) * 2017-07-05 2022-04-08 ソニーセミコンダクタソリューションズ株式会社 Imaging device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610417A (en) * 2009-07-09 2009-12-23 华为技术有限公司 A kind of image filling method, device and equipment
CN104363459A (en) * 2014-10-29 2015-02-18 复旦大学 Hardware filling method applicable to infra-frame prediction reference pixels in HEVC (high efficiency video coding) standard
CN104602009A (en) * 2010-07-31 2015-05-06 M&K控股株式会社 Intra prediction decoding apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222604B (en) * 2007-04-04 2010-06-09 晨星半导体股份有限公司 Operation mobile estimation value and method for estimating mobile vector of image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101610417A (en) * 2009-07-09 2009-12-23 华为技术有限公司 A kind of image filling method, device and equipment
CN104602009A (en) * 2010-07-31 2015-05-06 M&K控股株式会社 Intra prediction decoding apparatus
CN104363459A (en) * 2014-10-29 2015-02-18 复旦大学 Hardware filling method applicable to infra-frame prediction reference pixels in HEVC (high efficiency video coding) standard

Also Published As

Publication number Publication date
CN106550238A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN104683805B (en) Image coding, coding/decoding method and device
Khan et al. Hardware-software collaborative complexity reduction scheme for the emerging HEVC intra encoder
CN102665078A (en) Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)
CN105052141B (en) Bandwidth conservation framework for scalable video spatial model
Nalluri et al. High speed SAD architectures for variable block size motion estimation in HEVC video coding
CN103702122B (en) Coding mode selection method, device and encoder
Jiang et al. Block-Based Parallel Intra Prediction Scheme for HEVC.
CN104469488B (en) Video encoding/decoding method and system
CN102572430B (en) Method for implementing H.264 deblocking filter algorithm based on reconfigurable technique
CN101115207B (en) Method and device for implementing interframe forecast based on relativity between future positions
CN101790093B (en) Device and method for implementation of AVS video decoding by using SOPC
CN104521234B (en) Merge the method for processing video frequency and device for going block processes and sampling adaptive migration processing
CN106550238B (en) A kind of image processing method and system
US9153017B1 (en) System and method for optimized chroma subsampling
CN103985083A (en) Reconfigurable one-dimensional convolution processor
CN105100799A (en) Method for reducing intraframe coding time delay in HEVC encoder
WO2016014200A1 (en) Techniques for performing a forward transformation by a video encoder using a forward transform matrix
Ozcan et al. A computation and energy reduction technique for HEVC intra mode decision
CN101256668B (en) Method for implementing video filtering to working balanced multiple nucleus
CN106231307B (en) A kind of compression of images intra-coding prediction method and its hardware realization
CN102223537B (en) Multi-view distributed video coding-decoding system and method based on compressed sensing
Jiang et al. A unified and pipelined hardware architecture for implementing intra prediction in HEVC
CN105227959A (en) For odd encoder point shuffling flowing water method and the device thereof of Video coding
CN103581685A (en) Method and device for selecting H.264 reference frames
CN104363459A (en) Hardware filling method applicable to infra-frame prediction reference pixels in HEVC (high efficiency video coding) standard

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 350000 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.