CN100479527C - Method for selecting predicting mode within frame - Google Patents

Method for selecting predicting mode within frame Download PDF

Info

Publication number
CN100479527C
CN100479527C CN 200410006340 CN200410006340A CN100479527C CN 100479527 C CN100479527 C CN 100479527C CN 200410006340 CN200410006340 CN 200410006340 CN 200410006340 A CN200410006340 A CN 200410006340A CN 100479527 C CN100479527 C CN 100479527C
Authority
CN
China
Prior art keywords
image
block
prediction mode
value
texture
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.)
Expired - Fee Related
Application number
CN 200410006340
Other languages
Chinese (zh)
Other versions
CN1662066A (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.)
UNITED XINYUAN DIGITAL AUDIO V
Original Assignee
National Source Coding Center Digital Audio And Video Frequency Technology (beijing) 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 National Source Coding Center Digital Audio And Video Frequency Technology (beijing) Co Ltd filed Critical National Source Coding Center Digital Audio And Video Frequency Technology (beijing) Co Ltd
Priority to CN 200410006340 priority Critical patent/CN100479527C/en
Publication of CN1662066A publication Critical patent/CN1662066A/en
Application granted granted Critical
Publication of CN100479527C publication Critical patent/CN100479527C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The method includes following steps: partitioning image to be decoded; analyzing texture feature of blocks of image to be decoded, especially analyzing regional directional feature of texture in image; selecting prediction mode in frame, where the predicted direction is nearest to ideal prediction direction, is as optimal prediction mode in the block. Advantages are: without need of carrying out inverse calculation for each probability, selecting optimal prediction mode quickly, reducing amount of calculation and in favor of realizing real time video compress system.

Description

A kind of intra prediction mode choosing method
Technical field
The present invention relates to a kind of video-frequency compression method, relate in particular to the method for using method of intra-prediction that single-frame images is compressed.
Background technology
At present, some video compression standard is introduced intra-frame prediction method to eliminate the spatial redundancy information in the single-frame images, as video compression standard H.264, this method is a frame sign that the image division of M * N is piece (P, Q=4,8 of a plurality of P * Q earlier, 16 ...), as shown in Figure 1, carry out conversion to first earlier in order then, quantize, inverse quantization, inverse transformation obtains first reconstructed block, when second piece encoded, predict according to first reconstructed block earlier, as shown in Figure 2, carry out the horizontal direction prediction, and then the residual block of original picture block and predicted picture piece is encoded; For the most several piece in the two field picture, doping this piece image according to neighbor has a variety of predictive modes, and its difference is the prediction direction difference, as shown in Figure 3, the value of x11-x44 pixel can be according to this image block neighbor A-I in the image block, and O-V predicts out.Best predictive mode can make prediction piece and original block similarity degree maximum, thereby makes residual block coding back data volume minimum.
In the prior art, the general method that adopts of infra-frame prediction may further comprise the steps:
A) for piece to be encoded, according to piece encoded and that rebuild, which pixel is available around judging, thereby which predictive mode decision has available;
B) to a kind of predictive mode, predict, obtain predicting piece;
C) the residual image piece of calculating original picture block and predicted picture piece is preserved;
E) according to all pixel absolute values in the residual image piece and (SAD), from all predictive modes, the predictive mode of choosing its SAD minimum is an optimum prediction mode;
This method need be calculated each predictive mode, and required amount of calculation is big, is unsuitable for the real-time coding system.
Summary of the invention
The technical problem to be solved in the present invention is to overcome existent method need calculate each possible predictive mode, and the defective that the amount of calculation of bringing is big and calculating is loaded down with trivial details, in order to help the realization of real-time video compressibility, thereby provide a kind of the need each possible predictive mode to be calculated the intra prediction mode choosing method.
In order to solve the problems of the technologies described above, the invention provides a kind of intra prediction mode choosing method, may further comprise the steps:
A) treat coded image and carry out piecemeal, by the coded picture block compositing area of cutting apart;
B) each regional grain direction feature in textural characteristics, the especially image of analysis image block to be encoded is come out these direction characters mark in image; Wherein, ganmma controller gradient analysis method and Fourier Time-frequency Spectrum Analysis method are adopted in the analysis of described image texture characteristic;
C) for certain image block to be encoded, according to the grain direction of region, determine the prediction direction that it is desirable, this desirable prediction direction is exactly the grain direction of image block to be encoded region;
D) according to compression algorithm, calculate the direction value direc[d of all predictive mode correspondences]; From the direction value of all predictive modes, choose value bestdirec near this image texture direction; The pairing predictive mode of the value bestdirec of this image texture direction is the optimum prediction mode of this image block.
In such scheme, according to video-frequency compression method image is carried out piecemeal in the step a).
In such scheme, in the described step b), when the data of a data block are carried out texture analysis, obtain the grain direction value of this data block.
In such scheme, step c) may further comprise the steps:
C1) data of a data block are carried out texture analysis, obtain the grain direction value of this data block;
C2) according to compression algorithm, calculate the direction value direc[d of all predictive mode correspondences].
In such scheme, step d) may further comprise the steps:
D1) from the direction value of all predictive modes, choose value bestdirec near this image texture direction;
D2) the pairing predictive mode of bestdirec is the optimum prediction mode of this image block.
The invention has the advantages that: intra prediction mode choosing method provided by the invention, do not need each possible predictive mode is calculated, optimum prediction mode that can fast selecting I picture piece has reduced amount of calculation widely, helps the realization of real-time video compressibility.
Description of drawings
Fig. 1 is a prior art image division code pattern of the present invention;
Fig. 2 is horizontal direction prognostic chart in the prior art of the present invention;
Fig. 3 selects figure for predictive mode in the prior art of the present invention;
Fig. 4 is the inventive method flow chart;
Fig. 5 is an embodiment of the invention image texture characteristic directional diagram;
Fig. 6 is the method flow diagram of the embodiment of the invention.
Embodiment
Describe technical scheme of the present invention in detail below in conjunction with attached Figure 4 and 5.
Fig. 4 is a method flow diagram of the present invention, shows a kind of method flow of directly choosing optimum prediction mode in certain image block frame according to image texture features.
As shown in Figure 5, image texture features, particularly its direction character have reflected the similitude of image on this grain direction.
As shown in Figure 4, a kind of fast frame inner estimation mode choosing method may further comprise the steps:
Step 100 according to the requirement of video compression algorithm, is treated coded image and is carried out piecemeal, and for example the MPEG-4 algorithm requires to be divided into 8 * 8 block of pixels;
Step 110 is analyzed each regional grain direction feature in textural characteristics, the especially image of image block to be encoded, these direction characters mark in image is come out, as shown in Figure 5; The analysis of image texture characteristic can be according to the ripe algorithm of present image processing, as gradient of image and gray scale analytic approach, Fourier spectrum analytic approach etc.;
Step 120 for certain image block to be encoded, according to the grain direction of region, is determined desirable prediction direction; As 6 image blocks in the upper left corner among Fig. 5, the grain direction of region is horizontal direction, and its perfect forecast direction is exactly a horizontal direction so;
Step 130 is chosen its prediction direction near the intra prediction mode of the perfect forecast direction optimal prediction modes as this piece, is horizontal forecast pattern 1 as 6 image block optimum prediction modes in the upper left corner among Fig. 5.
As shown in Figure 6, implementing a kind of fast frame inner estimation mode choosing method may further comprise the steps:
Step 200 is handled beginning;
Step 210 is read in data from a pending two field picture, and it is required to be divided into little image block according to algorithm, and for example 8*8 is kept at data set block[B] [8] [8], in this step, algorithm can be the MPEG-4 algorithm;
Step 220 reads the data ONE BLOCK[8 of a data block in order] [8];
Step 230 is carried out texture analysis to the data of a data block, obtains the grain direction value of this data block;
Step 240 according to compression algorithm, is calculated the direction value direc[d of all predictive mode correspondences];
Step 250 is chosen the value bestdirec near this image texture direction from the direction value of all predictive modes;
Step 260, the pairing predictive mode of bestdirec is the optimum prediction mode of this image block;
Is step 270 handled all image blocks? if carry out next step; Be not worth execution in step 220;
Step 280, processing finishes.
In sum, intra prediction mode choosing method provided by the invention does not need each possible predictive mode is calculated, and optimum prediction mode that can fast selecting I picture piece reduces amount of calculation, helps the realization of real-time video compressibility.

Claims (3)

1, a kind of intra prediction mode choosing method is characterized in that may further comprise the steps:
A). treat coded image and carry out piecemeal, by the coded picture block compositing area of cutting apart;
B). analyze the textural characteristics of image block to be encoded, comprise each regional grain direction feature in the image, these direction characters mark in image is come out; Wherein, ganmma controller gradient analysis method or fourier spectrum analytic approach are adopted in the analysis of described image texture characteristic;
C). for certain image block to be encoded, according to the grain direction of region, determine the prediction direction that it is desirable, this desirable prediction direction is exactly the grain direction of image block to be encoded region;
D). according to compression algorithm, calculate the direction value direc[d of all predictive mode correspondences]; From the direction value of all predictive modes, choose value bestdirec near this image texture direction; The pairing predictive mode of the value bestdirec of this image texture direction is the optimum prediction mode of this image block.
2, a kind of intra prediction mode choosing method as claimed in claim 1 is characterized in that, according to video-frequency compression method image is carried out piecemeal in the described step a).
3, a kind of intra prediction mode choosing method as claimed in claim 1 is characterized in that, in the described step b), when the data of a data block are carried out texture analysis, obtains the grain direction value of this data block.
CN 200410006340 2004-02-26 2004-02-26 Method for selecting predicting mode within frame Expired - Fee Related CN100479527C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410006340 CN100479527C (en) 2004-02-26 2004-02-26 Method for selecting predicting mode within frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410006340 CN100479527C (en) 2004-02-26 2004-02-26 Method for selecting predicting mode within frame

Publications (2)

Publication Number Publication Date
CN1662066A CN1662066A (en) 2005-08-31
CN100479527C true CN100479527C (en) 2009-04-15

Family

ID=35011101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410006340 Expired - Fee Related CN100479527C (en) 2004-02-26 2004-02-26 Method for selecting predicting mode within frame

Country Status (1)

Country Link
CN (1) CN100479527C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11412220B2 (en) 2017-12-14 2022-08-09 Interdigital Vc Holdings, Inc. Texture-based partitioning decisions for video compression

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5089878B2 (en) * 2005-10-28 2012-12-05 パナソニック株式会社 Image encoding device
KR100750145B1 (en) 2005-12-12 2007-08-21 삼성전자주식회사 Method and apparatus for intra prediction of image
RU2407221C1 (en) * 2006-10-10 2010-12-20 Ниппон Телеграф Энд Телефон Корпорейшн Method and device for control of coding with internal prediction, program for them and memory medium for program storage
US8406299B2 (en) 2007-04-17 2013-03-26 Qualcomm Incorporated Directional transforms for intra-coding
CN102413330B (en) * 2007-06-12 2014-05-14 浙江大学 Texture-adaptive video coding/decoding system
EP2351373B1 (en) * 2008-10-14 2018-07-04 Orange Encoding and decoding with elimination of one or more predetermined predictors
CN102036060B (en) * 2009-09-24 2013-07-17 财团法人工业技术研究院 Image compression system and method
CN102281435B (en) * 2010-06-11 2013-10-02 华为技术有限公司 Encoding method, decoding method, encoding device, decoding device and encoding/decoding system
EP3678373A1 (en) 2011-06-20 2020-07-08 HFI Innovation Inc. Method and apparatus of directional intra prediction
TWI685251B (en) * 2011-06-28 2020-02-11 南韓商三星電子股份有限公司 Apparatus and encoding apparatus of intra predicting image and non-transitory computer-readable recording medium comprising bitstream
CN102427530B (en) * 2011-10-11 2013-10-23 北京工业大学 Intra prediction method
CN103517069B (en) * 2013-09-25 2016-10-26 北京航空航天大学 A kind of HEVC intra-frame prediction quick mode selection method based on texture analysis
US10306229B2 (en) 2015-01-26 2019-05-28 Qualcomm Incorporated Enhanced multiple transforms for prediction residual
US10623774B2 (en) 2016-03-22 2020-04-14 Qualcomm Incorporated Constrained block-level optimization and signaling for video coding tools
CN108156461B (en) * 2017-12-28 2021-12-10 上海通途半导体科技有限公司 Bayer image compression method and device
CN109040754A (en) * 2018-11-06 2018-12-18 深圳市网心科技有限公司 A kind of intra prediction mode of HEVC determines method, equipment, system and medium
US11323748B2 (en) 2018-12-19 2022-05-03 Qualcomm Incorporated Tree-based transform unit (TU) partition for video coding
CN111163316A (en) * 2020-01-08 2020-05-15 东电创新(北京)科技发展股份有限公司 High-definition video transmission method and system based on low code stream

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11412220B2 (en) 2017-12-14 2022-08-09 Interdigital Vc Holdings, Inc. Texture-based partitioning decisions for video compression

Also Published As

Publication number Publication date
CN1662066A (en) 2005-08-31

Similar Documents

Publication Publication Date Title
CN100479527C (en) Method for selecting predicting mode within frame
US11277622B2 (en) Image encoder and decoder using unidirectional prediction
JP5782169B2 (en) Moving picture coding apparatus and moving picture coding method
CN103118253B (en) Dynamic image encoding device and dynamic image decoding device
US20150208091A1 (en) Methods and apparatuses for encoding/decoding high resolution images
US9083947B2 (en) Video encoder, video decoder, method for video encoding and method for video decoding, separately for each colour plane
US20060088103A1 (en) Image encoder and method thereof, computer program of image encoder, and mobile terminal
JP5984984B2 (en) Moving picture encoding apparatus, moving picture encoding method, moving picture decoding apparatus, moving picture decoding method, and moving picture encoded data
WO2014168097A1 (en) Deriving candidate geometric partitioning modes from intra-prediction direction
CN102210151A (en) Image encoding device and image decoding device
US11882292B2 (en) Image encoder and decoder using unidirectional prediction
CN112291562A (en) Fast CU partition and intra mode decision method for H.266/VVC
US20080253670A1 (en) Image Signal Re-Encoding Apparatus And Image Signal Re-Encoding Method
JP2013098715A (en) Moving image encoder, moving image decoder, moving image encoding method and moving image decoding method
KR20060008527A (en) Transcoder for determining intra prediction direction based on dct coefficients and transcoding method of the same
CN118590653A (en) Video data compression method and device based on intra-frame prediction algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: UNITED XINYUAN DIGITAL AUDIO-VIDEO TECHNOLOGY (BE

Free format text: FORMER OWNER: INST. OF COMPUTING TECHN. ACADEMIA SINICA

Effective date: 20080321

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20080321

Address after: Beijing city Haidian District East Road No. 1 Yingchuang power building block A room 701 post encoding: 100080

Applicant after: UNITED XINYUAN DIGITAL AUDIO V

Address before: Postal code 6, South Road, Zhongguancun Academy of Sciences, Beijing, Haidian District: 100080

Applicant before: Institute of Computing Technology, Chinese Academy of Sciences

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090415