CN109309837A - Method for estimating, the device of image frame data - Google Patents

Method for estimating, the device of image frame data Download PDF

Info

Publication number
CN109309837A
CN109309837A CN201811270251.6A CN201811270251A CN109309837A CN 109309837 A CN109309837 A CN 109309837A CN 201811270251 A CN201811270251 A CN 201811270251A CN 109309837 A CN109309837 A CN 109309837A
Authority
CN
China
Prior art keywords
pixel point
point
specific pixel
pixel
sub
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
CN201811270251.6A
Other languages
Chinese (zh)
Other versions
CN109309837B (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli 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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201811270251.6A priority Critical patent/CN109309837B/en
Publication of CN109309837A publication Critical patent/CN109309837A/en
Application granted granted Critical
Publication of CN109309837B publication Critical patent/CN109309837B/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • 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/182Methods 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 pixel
    • 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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy

Landscapes

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

Abstract

This application involves a kind of method for estimating of image frame data, device.The described method includes: obtaining image frame data;Determine the best pixel point in described image frame data;The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;Coordinate information according to the specific pixel point determines the type information of the specific pixel point;The color value of the 1/4 sub-pix point is got according to the type information of the specific pixel point and the coordinate information of specific pixel point;Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.Hardware resource can be saved using this method, reduce the processing time, the complexity for extracting 1/4 sub-pix point is greatly reduced, realize the real time codec of HD video.

Description

Method for estimating, the device of image frame data
Technical field
This application involves field of computer technology, more particularly to a kind of method for estimating of image frame data, device, Computer equipment and storage medium.
Background technique
AVC (Advanced Video Coding) is the Video Coding Experts Group and International standardization of International Telecommunication Union What joint video team (JVT, the Joint Video Team) joint that the motion pictures expert of tissue collectively constitutes was released, it is dedicated to Improve the video encoding and decoding standard of compression ratio.
Video encoder based on AVC is mainly made of intra prediction and inter-prediction and other modules.Inter-prediction Mainly utilize the temporal correlation of video, block-based motion compensation technique.Its cardinal principle is for each of present image Block of pixels former frame coded image in find a best matching blocks, make reference value, then carry out the difference of the two Transmission, bandwidth needed for being considerably reduced video transmitting procedure in this way.
The common method for finding best matching blocks has diamond search method, three-step approach and full search etc..Due to nature object The continuity of body movement, therefore the movement of object is not necessarily using whole pixel as basic unit between two adjacent images, It may be 1/2 pixel, 1/4 pixel or 1/8 pixel.1/4 pixel precision has compared to the code efficiency of 1/2 pixel precision It is obviously improved, and 1/8 pixel precision is promoted less compared to 1/4 pixel precision, so AVC standard is all with 1/4 pixel precision Make reference value.After searching out best whole pixel matching block, to carry out six tap filterings and obtain 1/2 pixel of level, vertical 1/2 pixel and diagonal 1/2 pixel, then by averagely obtaining 1/4 sub-pix point.And AVC standard points out the 1/4 of different location Pixel is by different whole pixels, vertical 1/2 pixel, 1/2 pixel of level or diagonal 1/2 pixel, in four What selection two was averagely obtained.It include 256 pixels, the scale of construction since the size of best matching blocks is 16x16 pixel It is very big, expend very much the logical resource of hardware.The interpolation of 1/4 sub-pix point reduces chip processing capabilities due to the above reasons, increases Add the processing time.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can be improved chip processing capabilities, when reducing processing Between image frame data method for estimating, device, computer equipment and storage medium.
A kind of method for estimating of image frame data, which comprises
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
1/4 sub-pix is got according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of point;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
In one of the embodiments, the method also includes:
It is encoded according to the best matching blocks for described image frame data.
Best pixel point in the determining described image frame data in one of the embodiments, comprising:
Described image frame data are scanned for by search window, obtain best pixel point.
The coordinate information according to the 1/4 sub-pix point determines corresponding specific picture in one of the embodiments, The coordinate information of vegetarian refreshments, comprising:
Extract the abscissa information and ordinate information of the coordinate information of the 1/4 sub-pix point;
The abscissa information and ordinate information are respectively converted into binary data;
The coordinate information of the corresponding two specific pixels point of the 1/4 sub-pix point is calculated according to the binary data.
The coordinate information according to the specific pixel point determines the specific pixel point in one of the embodiments, Type information, comprising:
The coordinate information of each specific pixel point is converted to the binary data of the specific pixel point;
The type information of the specific pixel point is determined according to the binary data of the specific pixel point.
The specific pixel point includes whole pixel and 1/2 pixel in one of the embodiments,;1/2 pixel Point includes vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;It is described according to the point of specific pixel described in some Binary data determines the type information of the specific pixel point, comprising:
When the binary data of some specific pixel point meets the first preset condition, which is determined as whole Pixel;
When the binary data of some specific pixel point meets the second preset condition, which is determined as hanging down Straight 1/2 pixel;
When the binary data of some specific pixel point meets third preset condition, which is determined as water Flat 1/2 pixel;
When the binary data of some specific pixel point meets four preset conditions, which is determined as pair 1/2 pixel of angle.
It is described according to the type information of the specific pixel point and the coordinate of specific pixel point in one of the embodiments, Color value of the acquisition of information to the 1/4 sub-pix point, comprising:
The combination of different specific pixel points is determined according to the type information of the specific pixel point;
Obtain the corresponding color value of coordinate information of specific pixel point under the combination;
The color value of 1/4 sub-pix point is calculated by the color value of the specific pixel point.
A kind of movement estimation apparatus of image frame data, described device include:
Image frame data obtains module, for obtaining image frame data;
Best pixel point determining module, for determining the best pixel point in described image frame data;
Coordinate information obtains module, for establishing the coordinate system of corresponding piece of the best pixel point, obtains 1/4 sub-pix point Coordinate information;
Coordinate information determining module, for determining corresponding specific pixel according to the coordinate information of the 1/4 sub-pix point The coordinate information of point;
Type information determining module, for determining the class of the specific pixel point according to the coordinate information of the specific pixel point Type information;
Color value obtains module, the coordinate information for type information and specific pixel point according to the specific pixel point Get the color value of the 1/4 sub-pix point;
Best matching blocks determining module, for determining described image frame data according to the color value of the 1/4 sub-pix point Best matching blocks.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
1/4 sub-pix is got according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of point;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
1/4 sub-pix is got according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of point;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
Method for estimating, device, computer equipment and the storage medium of above-mentioned image frame data, by obtaining picture frame Data;Determine the best pixel point in described image frame data;The coordinate system of corresponding piece of the best pixel point is established, obtains 1/ The coordinate information of 4 sub-pix points;Coordinate information according to the 1/4 sub-pix point determines the coordinate letter of corresponding specific pixel point Breath;Coordinate information according to the specific pixel point determines the type information of the specific pixel point;According to the specific pixel point Type information and the coordinate information of specific pixel point get the color value of the 1/4 sub-pix point;According to described 1/4 sub- picture The color value of vegetarian refreshments determines the best matching blocks of described image frame data;Arbitrary best pixel point bear can be easy, promptly Its 1/4 pixel is obtained, hardware resource is saved, reduces the processing time, greatly reduces the complexity for extracting 1/4 sub-pix point, Realize the real time codec of HD video.
Detailed description of the invention
Fig. 1 is a kind of applied environment figure of the method for estimating of image frame data of one embodiment;
Fig. 2 is a kind of flow diagram of the method for estimating of image frame data of one embodiment;
Fig. 3 is a kind of schematic diagram of the block of 4X4 of one embodiment;
Fig. 4 is a kind of schematic diagram of the block of 4X4 of another embodiment;
Fig. 5 is a kind of structural block diagram of the movement estimation apparatus of image frame data of one embodiment;
Fig. 6 is a kind of internal structure chart of computer equipment of one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
The method for estimating of image frame data provided by the present application can be applied in application environment as shown in Figure 1. Wherein, video encoder 102 is communicated by network with Video Decoder 104.
In one embodiment, as shown in Fig. 2, providing a kind of method for estimating of image frame data, it is applied to Fig. 1 In video encoder 102, comprising the following steps:
Step S201 obtains image frame data;
In the present embodiment, the video encoder is available to arrive a certain image frame data, it should be noted that the video is compiled Code device can get complete video data from video capture device, which may include multiple number of image frames According to;The video encoder can extract each image frame data in the video data.
It include multiple pixels in every image frame data, in AVC standard, each length direction is 4 pixels And it is block that width direction, which is the square area of 4 pixels, is divided in blocks to certain picture frame.
Step S202 determines the best pixel point in described image frame data;
It is further applicable in the present embodiment, which can determine the best pixel in the image frame data Point;It should be noted that in the present embodiment, the best pixel point in the image frame data can be determined in several ways, For example, which can obtain the best pixel point in image frame data by full searching.
Step S203 establishes the coordinate system of corresponding piece of the best pixel point, obtains the coordinate information of 1/4 sub-pix point;
It is further applicable in the present embodiment, which can establish coordinate system based on the best pixel point, have Body, the block of a 4X4 can be marked off, the seat of corresponding piece of the best pixel point is established centered on the best pixel point Mark system, after establishing the coordinate system, can be obtained the coordinate information of each pixel;The pixel may include specific pixel point; The specific pixel point includes whole pixel and 1/2 pixel;1/2 pixel includes vertical 1/2 pixel, level 1/2 Pixel and diagonal 1/2 pixel.
In the coordinate system, the coordinate that can also establish 1/4 sub-pix point, obtains the coordinate information of the 1/4 sub-pix point, It should be noted that the 1/4 sub-pix point is between 1/2 pixel, whole pixel, i.e., in each of the block of the 4X4 1/4 sub-pix point of respective numbers is inserted between capable and each column.
Referring to Fig. 3, a kind of schematic diagram of the block of 4X4 of the present embodiment is provided;As shown in figure 3, black circle indicates whole Pixel, White polygons indicate 1/2 pixel, and the grey circle between whole pixel and 1/2 pixel is 1/4 sub-pix Point, each pixel have corresponding coordinate information, and for example, the coordinate information of the first whole pixel in the upper left corner is 00, i.e. abscissa in the coordinate information of the whole pixel is 0, and ordinate information is also 0;
And the coordinate information of 1/2 pixel adjacent with the whole pixel is 20, i.e., in the coordinate information of 1/2 pixel Abscissa be 2, ordinate information be 0;
For another example, a 1/4 sub-pix point is additionally provided between the whole pixel and 1/2 pixel adjacent thereto, this 1/4 The coordinate information of sub-pix point is 10, i.e., the abscissa in the coordinate information of the 1/4 sub-pix point is 1, and ordinate information is 0.
Further, because the coordinate system is established centered on best pixel point, i.e. the seat of the best pixel point Marking information is 44, abscissa 4, and ordinate information is 4.It should be noted that the pixel that the coordinate information in Fig. 3 is 80-88 The pixel for the block that the pixel that the pixel and coordinate information for the block that point is another 4X4 are 08-88 is another 4X4.
In this way, the available all 1/4 sub-pix points into corresponding piece of the best pixel point of the video encoder Coordinate information.
Step S204, the coordinate information according to the 1/4 sub-pix point determine the coordinate information of corresponding specific pixel point;
It applies in the present embodiment, which can also be true according to the coordinate information of the 1/4 sub-pix point The coordinate information of fixed corresponding specific pixel point;The corresponding specific pixel point refer to can by its pixel value it is average after obtain 1/ The pixel of the pixel value of 4 sub-pix points.
In AVC standard, 1/4 sub-pix point can be calculated average by 1/2 opposite pixel of every two or whole pixel What value obtained, if 1/4 sub-pix point that coordinate information is 10 can be 20 1/2 pixel by coordinate information and coordinate information is 00 whole pixel calculates what average value obtained, i.e., the video encoder can according to the coordinate information of 1/4 sub-pix point according to The coordinate information of its corresponding 1/2 pixel or whole pixel is calculated in presetting rule.
Step S205, the coordinate information according to the specific pixel point determine the type information of the specific pixel point;
Be further applicable in the present embodiment, the video encoder can according to the specific pixel point coordinate information it is true The type information of the fixed specific pixel point;It, can be according to its coordinate information after the coordinate information of the specific pixel point determines Determine the type information of the specific pixel point.
The type information may include whole pixel, vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel Point;That is the type of the specific pixel point may include whole pixel, vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 Pixel in the coordinate system, can be specific by this when the coordinate information of the specific pixel point can meet some preset condition Pixel is determined as the pixel of respective type.
Step S206 is got described according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of 1/4 sub-pix point;
In the specific implementation, the video encoder can be according to the type information of specific pixel point and the coordinate of specific pixel point Color value of the acquisition of information to 1/4 sub-pix point;Specifically, when the type information of the specific pixel point and the seat of specific pixel point When mark information determines, the color value of corresponding two specific pixels point can be read from memory, according to two specific pixels The calculated for pixel values of point goes out the color value of the 1/4 sub-pix point.
Step S207, the color value according to the 1/4 sub-pix point determine the best matching blocks of described image frame data.
It applies in the present embodiment, obtains the corresponding macro block of 1/4 sub-pix point, calculate its macro block with reference frame Between cost, determine the smallest macro block of cost be best matching blocks, find the various the smallest best match of partitioned organization cost Block completes the fortune of the image frame data of video data to obtain motion vector according to the position of best matching blocks and current block Dynamic estimation procedure, the actual value of encoding motion vector and the difference of predicted value, in addition, the video encoder can also carry out other Encoding operation, the data after coding are transmitted to Video Decoder, Video Decoder is directed to the data after the coding and carries out Decoding operate, obtains corresponding video data, this implementation does not limit other coding steps specifically.
According to the method for estimating of image frame data provided in this embodiment, by obtaining image frame data;Determine institute State the best pixel point in image frame data;The coordinate system of corresponding piece of the best pixel point is established, 1/4 sub-pix point is obtained Coordinate information;Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;According to described in The coordinate information of specific pixel point determines the type information of the specific pixel point;According to the specific pixel point type information and The coordinate information of specific pixel point gets the color value of the 1/4 sub-pix point;Color value according to the 1/4 sub-pix point Determine the best matching blocks of described image frame data;Arbitrary best pixel point bear can be easy, quickly get its 1/4 pixel Point saves hardware resource, reduces the processing time, greatly reduces the complexity for extracting 1/4 sub-pix point, realizes HD video Real time codec.
In another embodiment, the method also includes: according to the best matching blocks be directed to described image frame data It is encoded.
Specifically, the video encoder according to best matching blocks and with the position of current block, obtain motion vector, video The actual value of encoder encoding motion vector and the difference of predicted value, then the data after coding are transmitted to Video Decoder, depending on Frequency decoder can restore image frame data by motion vector and motion residuals (pixel value difference of reference block and current block). The best matching blocks ensure that the cost of coding as far as possible it is required that the motion residuals of prediction block and current block are small as far as possible in this way It is small.
In another embodiment, the step S202 includes: to be scanned for by search window to described image frame data, Obtain best pixel point.
It is further applicable in the present embodiment, which searches described image frame data by full searching Rope obtains best pixel point, specifically, establishing the search window limited, searches in search window to described image frame data Rope obtains best pixel point.
In another embodiment, the step S204 includes: the cross for extracting the coordinate information of the 1/4 sub-pix point Coordinate information and ordinate information;The abscissa information and ordinate information are respectively converted into binary data;According to institute State the coordinate information that binary data calculates the corresponding two specific pixels point of the 1/4 sub-pix point.
It is further applicable in the present embodiment, which can extract the coordinate information of the 1/4 sub-pix point Abscissa information and ordinate information;It is respectively converted into binary data again, according still further to presetting rule by the binary system Data calculate the coordinate information of the corresponding two specific pixels point of the 1/4 sub-pix point.
It should be noted that other numeral systems can also be converted respectively for the abscissa information and ordinate information, such as eight into System, hexadecimal etc., the present embodiment does not limit this specifically;In addition, above-mentioned presetting rule may include that can be derived that Any 1/4 sub-pix point is the rule averagely obtained by the pixel value of which two specific pixel point adjacent thereto, i.e., basis should The coordinate information of 1/4 sub-pix point can derive the two specific pixel points of certain adjacent thereto for the combination for meeting AVC standard Coordinate information.
It should be noted that the specific pixel point includes whole pixel and 1/2 pixel;1/2 pixel includes Vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;;Since in AVC standard, the sub- picture in the 1/4 of different location Vegetarian refreshments is selected in four by different whole pixels, vertical 1/2 pixel, 1/2 pixel of level or diagonal 1/2 pixel Select what two average computations obtained.
In another embodiment, the step S205 includes: that the coordinate information of each specific pixel point is converted to this The binary data of specific pixel point;The type letter of the specific pixel point is determined according to the binary data of the specific pixel point Breath.
It is specifically applied in the present embodiment, which can be converted to the coordinate information of each specific pixel point The binary data of the specific pixel point determines that the type of the specific pixel point is believed according to the binary data of the specific pixel point Breath.
It for example, then can be true when which meets some preset condition The type information of the fixed specific pixel point determines that the specific pixel point is whole pixel, vertical 1/2 pixel, 1/2 picture of level Vegetarian refreshments or diagonal 1/2 pixel.
In another embodiment, the specific pixel point may include whole pixel, vertical 1/2 pixel, level 1/2 Pixel and diagonal 1/2 pixel;The binary data according to the specific pixel point determines the class of the specific pixel point Type information, comprising:
When the binary data of some specific pixel point meets the first preset condition, which is determined as whole Pixel;
When the binary data of some specific pixel point meets the second preset condition, which is determined as hanging down Straight 1/2 pixel;
When the binary data of some specific pixel point meets third preset condition, which is determined as water Flat 1/2 pixel;
When the binary data of some specific pixel point meets four preset conditions, which is determined as pair 1/2 pixel of angle.
Specifically, in the present embodiment, the type information of specific pixel point with whether meet corresponding preset condition and have Corresponding relationship e.g. when the binary data of specific pixel point meets the first preset condition, which is determined as whole Pixel;For example, first preset condition may include the 0th of the binary data of transverse and longitudinal coordinate in coordinate information and 1st is all 0, is referred to the coordinate information of whole pixel representated by the black circle in Fig. 3, corresponding binary number According to all meeting the first preset condition, the present embodiment to the first above-mentioned preset condition, the second preset condition, third preset condition and 4th preset condition is with no restriction.
In another embodiment, the step S206 includes: to be determined not according to the type information of the specific pixel point The combination of same specific pixel point;Obtain the corresponding color value of coordinate information of specific pixel point under the combination;It is logical The color value for crossing the specific pixel point calculates the color value of 1/4 sub-pix point.
It applies in the present embodiment, after which determines the type information of the specific pixel point, Ke Yigen The combination of the specific pixel point is determined according to type information, that is, determines that the color value of 1/4 sub-pix point is specific by which two kinds What the color value of pixel averagely obtained, get the corresponding color of coordinate information of specific pixel point under the combination Value;The color value of 1/4 sub-pix point is calculated by the color value of the specific pixel point.
In order to make those skilled in the art more fully understand the present embodiment, it is illustrated below by way of a specific example:
Referring to Fig. 4, the schematic diagram of the block of another 4X4 of the present embodiment is provided;As shown in figure 4, black circle indicates Whole pixel, White polygons indicate the 1/2 pixel (water that vertical 1/2 pixel, the triangle indicated including square indicates Diagonal 1/2 pixel that flat 1/2 pixel and hexagon indicate), and the gray circular between whole pixel and 1/2 pixel is 1/4 sub-pix point, each pixel have corresponding number information, as the black circle of the first row first row indicates whole pixel Point, number information 0, and the gray circular of the first row secondary series indicates 1/4 sub-pix point, number information is similarly 0, and first The gray circular that row the 4th arranges indicates that 1/4 sub-pix point, number information 1, the White polygons that the first row the 7th arranges indicate 1/2 Pixel, number information 1.
As shown in figure 4, being provided according to AVC standard: 1/4 sub-pix point 5 (5 be the number information of the sub-pix point in Fig. 4) Color value be averagely to be obtained by the color value of 1/2 pixel 0 of vertical 1/2 pixel 0 and level;The face of 1/4 sub-pix point 13 Color value is averagely obtained by the color value of vertical 1/2 pixel 0 and diagonal 1/2 pixel 0;The color value of 1/4 sub-pix point 18 It is averagely to be obtained by the color value of 1/2 pixel 2 of vertical 1/2 pixel 0 and level;The color value of 1/4 sub-pix point 26 be by The color value of 1/2 pixel 2 of whole pixel 3 and level averagely obtains;The color value of 1/4 sub-pix point 6 is by 1/2 pixel of level The color value of point 0 and diagonal 1/2 pixel 0 averagely obtains.
In order to reduce the complexity of design, coordinate system as shown in Figure 3 is established, 1 is divided between the coordinate system in Fig. 3, angle Code is respectively X-coordinate and Y coordinate.The coordinate of i.e. best whole pixel can be (4,4), four whole pixels in vertex of coordinate system The coordinate that 0 coordinate is (0,0), the coordinate of whole pixel 2 is (8,0), the coordinate of whole pixel 6 is (0,8), whole pixel 8 For (8,8), therefore any point coordinate in Fig. 3 can indicate X (abscissa) and Y (ordinate) by tetrad The coordinate (X, Y) of composition, from the Fig. 3:
All whole pixel coordinates all meet: the 1st of the binary data of X-coordinate and the 0th are as follows: 00 and Y coordinate The 1st and the 0th of binary data are as follows: the 0th of 00, i.e. X and the 1st is all 0, and the 0th and the 1st of Y is also It is 0;----(1)
The coordinate of all vertical 1/2 pixels all meets: the 1st of the binary data of X-coordinate and the 0th are as follows: 00 And the 1st and the 0th of the binary data of Y coordinate are as follows: the 0th of 10, i.e. X and the 1st is all 0, and the 1st of Y is 1, 0th is 0;----(2)
All 1/2 pixel coordinates of level all meet: the 1st of the binary data of X-coordinate and the 0th are as follows: 10 and Y The 1st of the binary data of coordinate and the 0th are as follows: it is 0 that the 1st of 00, i.e. X, which is the 1, the 0th, and the 0th and the 1st of Y It is all 0;----(3)
All diagonal 1/2 pixel coordinates all meet: the 1st of the binary data of X-coordinate and the 0th are as follows: 10 and Y The 1st of the binary data of coordinate and the 0th are as follows: the 1st of 10, i.e. X and Y is 1, and the 0th of X and Y is 0;----(4)
According to AVC standard, any 1/4 sub-pix point C is different whole pixel, vertical 1/2 pixel, 1/2 picture of level The combination of vegetarian refreshments or diagonal 1/2 pixel is obtained by formula (5), and combination may have: A, B is whole pixel and vertical 1/2 pixel, A, B are 1/2 pixel of whole pixel and level, and A, B are 1/2 pixel of vertical 1/2 pixel and level, A, B For vertical 1/2 pixel and diagonal 1/2 pixel, A, B are 1/2 pixel of level and diagonal 1/2 pixel.Amount to 5 kinds of combinations Mode.1/4 pixel of different location is different combination.
C=(A+B+1)/2---- (5)
1/4 sub-pix point 4 in Fig. 4 can be and be obtained by whole pixel 1 and vertical 1/2 pixel 1 by formula (5).
1/4 sub-pix point 0 in Fig. 4 can be and be obtained by whole pixel 0 and 1/2 pixel 0 of level by formula (5).
1/4 sub-pix point 5 in Fig. 4 can be and be obtained by vertical 1/2 pixel 0 and 1/2 pixel 0 of level by formula (5) It arrives.
1/4 pixel 13 in Fig. 4 can be and be obtained by vertical 1/2 pixel 0 and diagonal 1/2 pixel 0 by formula (5) It arrives.
1/4 pixel 6 in Fig. 4 can be and be obtained by 1/2 pixel 0 of level and diagonal 1/2 pixel 0 by formula (5) It arrives.
......
By coordinate system as shown in Figure 3, can quickly show which two specific picture of point any 1/4 sub-pix point C is by Vegetarian refreshments A (X0, Y0), what specific pixel point B (X1, Y1) was averagely obtained.Wherein (X0, Y0) and (X1, Y1) is by following condition Judgement, (x, y) is the coordinate of 1/4 pixel:
X0=x-a---- (6)
Y0=y-b---- (7)
X1=x+a---- (8)
Y1=y+b---- (9)
C=(x [1]==y [1]) &x [0] ----(10)
A=c? 4 ' hf:(x [0]? 4 ' h1:4 ' h0) ----(11)
B=y [0]? 4 ' h1:4 ' h0---- (12)
It is equal that formula (10) indicates the 1st as the 1st of x and y, and when the 0th of x is 1, c is equal to 1, in the case of other It is all 0;
Formula (11) indicates that a is equal to -1 when c is 1, and when c is 1 equal to the 0th of 0 and x, a is equal to 1, in the case of other It is all 0;
Formula (12) indicates that, when the 0th of y being 1, b is equal to 1, and in the case of other, b is equal to 0;
Therefore, the presetting rule that is made of formula (6) (7) (8) (9) (10) (11) (12) it can be concluded that specific pixel point A The coordinate of (X0, Y0) and specific pixel point B (X1, Y1).
When A meets preset condition (1) (i.e. the first preset condition), A point is exactly whole pixel;When B meets preset condition (1) when (i.e. the first preset condition), B point is exactly whole pixel;
When A meets preset condition (2) (i.e. the second preset condition), A is exactly vertical 1/2 pixel;When B meets default item When part (2) (i.e. the second preset condition), B is exactly vertical 1/2 pixel;
When A meets preset condition (3) (i.e. third preset condition), A is exactly 1/2 pixel of level;When B meets default item When part (3) (i.e. third preset condition), B is exactly 1/2 pixel of level;
When A meets preset condition (4) (i.e. the 4th preset condition), A is exactly diagonal 1/2 pixel;When B meets default item When part (4) (i.e. the 4th preset condition), B is exactly diagonal 1/2 pixel;
After the type information for judging the corresponding pixel of A and B, so that it may read data from memory and be obtained by formula (5) To the color value of 1/4 pixel.
Through this embodiment, arbitrary best pixel point is all to be easy, quickly get its 1/4 pixel.And very Hardware resource is saved, the complexity for extracting 1/4 pixel is greatly reduced, so as to realize the real-time volume solution of more HD video Code.
For example, 1/4 pixel 5 in Fig. 4, the coordinate information in Fig. 3 are (1,1).According to formula (6)~(12) It follows that X0 is 2, Y0 0, X1 2, Y1 2.Coordinate (X0, Y0) meets formula (3), is 1/2 pixel of level.Coordinate (X1, Y1) meets formula (2), is vertical 1/2 pixel, so two pixels for obtaining 1/4 pixel 5 are respectively in Fig. 2 Coordinate information is 1/2 pixel of level of (2,0) and coordinate information is that vertical 1/2 pixel of (0,2) averagely obtains.
1/4 pixel 13 in Fig. 4, the coordinate information in Fig. 3 are (1,2).It can be obtained according to formula (6)~(12) Out: X0 0, Y0 2, X1 2, Y1 0.Coordinate (X0, Y0) meets formula (2), is vertical 1/2 pixel.Coordinate (X1, Y1) Meet formula (4), be diagonal 1/2 pixel, so two pixels for obtaining 1/4 pixel 13 are respectively coordinate letter in Fig. 3 Breath is vertical 1/2 pixel of (0,2) and coordinate information is that diagonal 1/2 pixel of (2,2) averagely obtains.
1/4 pixel 18 in Fig. 4, the coordinate information in Fig. 3 are (1,3).It can be obtained according to formula (6)~(12) Out: X0 0, Y0 2, X1 2, Y1 4.Coordinate (X0, Y0) meets formula (2), is vertical 1/2 pixel.Coordinate (X1, Y1) Meet formula (3), be 1/2 pixel of level, so two 1/2 pixels for obtaining 1/4 pixel 18 are respectively coordinate in Fig. 3 Information is vertical 1/2 pixel of (0,2) and coordinate information is that 1/2 pixel of level of (2,4) averagely obtains.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2 Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 5, providing a kind of movement estimation apparatus of image frame data, comprising: image Frame data obtain module 501, best pixel point determining module 502, coordinate information and obtain module 503, coordinate information determining module 504, type information determining module 505, color value obtain module 506 and best matching blocks determining module 507, in which:
Image frame data obtains module 501, for obtaining image frame data;
Best pixel point determining module 502, for determining the best pixel point in described image frame data;
Coordinate information obtains module 503, for establishing the coordinate system of corresponding piece of the best pixel point, obtains 1/4 sub- picture The coordinate information of vegetarian refreshments;
Coordinate information determining module 504, for determining corresponding specific picture according to the coordinate information of the 1/4 sub-pix point The coordinate information of vegetarian refreshments;
Type information determining module 505, for determining the specific pixel point according to the coordinate information of the specific pixel point Type information;
Color value obtains module 506, the coordinate for type information and specific pixel point according to the specific pixel point Color value of the acquisition of information to the 1/4 sub-pix point;
Best matching blocks determining module 507, for determining described image frame number according to the color value of the 1/4 sub-pix point According to best matching blocks.
In one embodiment, described device further include:
Coding module, for being encoded according to the best matching blocks for described image frame data.
In one embodiment, the best pixel point in the determining described image frame data, comprising:
Best pixel point obtains submodule, for being scanned for by search window to described image frame data, obtains best Pixel.
In one embodiment, the coordinate information determining module includes:
Extracting sub-module, for extracting the abscissa information and ordinate letter of the coordinate information of the 1/4 sub-pix point Breath;
First transform subblock, for the abscissa information and ordinate information to be respectively converted into binary data;
Computational submodule, for calculating the corresponding two specific pictures of the 1/4 sub-pix point according to the binary data The coordinate information of vegetarian refreshments.
In one embodiment, the type information determining module includes:
First transform subblock, for by the coordinate information of each specific pixel point be converted to the two of the specific pixel point into Data processed;
Submodule is determined, for determining that the type of the specific pixel point is believed according to the binary data of the specific pixel point Breath.
In one embodiment, the specific pixel point includes whole pixel and 1/2 pixel;The 1/2 pixel packet Include vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;The determining submodule includes:
First determination unit, for when the binary data of some specific pixel point meets the first preset condition, by this Specific pixel point is determined as whole pixel;
Second determination unit, for when the binary data of some specific pixel point meets the second preset condition, by this Specific pixel point is determined as vertical 1/2 pixel;
Third determination unit, for when the binary data of some specific pixel point meets third preset condition, by this Specific pixel point is determined as 1/2 pixel of level;
4th determination unit, for when the binary data of some specific pixel point meets four preset conditions, by this Specific pixel point is determined as diagonal 1/2 pixel.
In one embodiment, the color value acquisition module includes:
Combination determines submodule, for determining different specific pixels according to the type information of the specific pixel point The combination of point;
Color value acquisition submodule, for obtaining the corresponding color of coordinate information of specific pixel point under the combination Value;
Color value computational submodule, for calculating the face of 1/4 sub-pix point by the color value of the specific pixel point Color value.
The specific restriction of movement estimation apparatus about image frame data may refer to above for image frame data The restriction of method for estimating, details are not described herein.Modules in the movement estimation apparatus of above-mentioned image frame data can be complete Portion or part are realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of calculating In processor in machine equipment, it can also be stored in a software form in the memory in computer equipment, in order to processor It calls and executes the corresponding operation of the above modules.
The movement estimation apparatus of the image frame data of above-mentioned offer can be used for executing the image that above-mentioned any embodiment provides The method for estimating of frame data has corresponding function and beneficial effect.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 6.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of method for estimating of image frame data.The display screen of the computer equipment can be liquid crystal display or electronics Ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, are also possible to computer and set Key, trace ball or the Trackpad being arranged on standby shell, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
1/4 sub-pix is got according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of point;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
In one embodiment, it is also performed the steps of when processor executes computer program
It is encoded according to the best matching blocks for described image frame data.
In one embodiment, it is also performed the steps of through search window to described when processor executes computer program Image frame data scans for, and obtains best pixel point.
In one embodiment, it is also performed the steps of when processor executes computer program and extracts described 1/4 sub- picture The abscissa information and ordinate information of the coordinate information of vegetarian refreshments;
The abscissa information and ordinate information are respectively converted into binary data;
The coordinate information of the corresponding two specific pixels point of the 1/4 sub-pix point is calculated according to the binary data.
In one embodiment, it is also performed the steps of when processor executes computer program
The coordinate information of each specific pixel point is converted to the binary data of the specific pixel point;
The type information of the specific pixel point is determined according to the binary data of the specific pixel point.
In one embodiment, the specific pixel point includes whole pixel and 1/2 pixel;The 1/2 pixel packet Include vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;It is also realized when processor executes computer program following Step:
When the binary data of some specific pixel point meets the first preset condition, which is determined as whole Pixel;
When the binary data of some specific pixel point meets the second preset condition, which is determined as hanging down Straight 1/2 pixel;
When the binary data of some specific pixel point meets third preset condition, which is determined as water Flat 1/2 pixel;
When the binary data of some specific pixel point meets four preset conditions, which is determined as pair 1/2 pixel of angle.
In one embodiment, it is also performed the steps of when processor executes computer program
The combination of different specific pixel points is determined according to the type information of the specific pixel point;
Obtain the corresponding color value of coordinate information of specific pixel point under the combination;
The color value of 1/4 sub-pix point is calculated by the color value of the specific pixel point.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
1/4 sub-pix is got according to the type information of the specific pixel point and the coordinate information of specific pixel point The color value of point;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It is encoded according to the best matching blocks for described image frame data.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Described image frame data are scanned for by search window, obtain best pixel point.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Extract the abscissa information and ordinate information of the coordinate information of the 1/4 sub-pix point;
The abscissa information and ordinate information are respectively converted into binary data;
The coordinate information of the corresponding two specific pixels point of the 1/4 sub-pix point is calculated according to the binary data.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The coordinate information of each specific pixel point is converted to the binary data of the specific pixel point;
The type information of the specific pixel point is determined according to the binary data of the specific pixel point.
In one embodiment, the specific pixel point includes whole pixel and 1/2 pixel;The 1/2 pixel packet Include vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;When computer program is executed by processor also realize with Lower step:
When the binary data of some specific pixel point meets the first preset condition, which is determined as whole Pixel;
When the binary data of some specific pixel point meets the second preset condition, which is determined as hanging down Straight 1/2 pixel;
When the binary data of some specific pixel point meets third preset condition, which is determined as water Flat 1/2 pixel;
When the binary data of some specific pixel point meets four preset conditions, which is determined as pair 1/2 pixel of angle.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The combination of different specific pixel points is determined according to the type information of the specific pixel point;
Obtain the corresponding color value of coordinate information of specific pixel point under the combination;
The color value of 1/4 sub-pix point is calculated by the color value of the specific pixel point.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of method for estimating of image frame data characterized by comprising
Obtain image frame data;
Determine the best pixel point in described image frame data;
The coordinate system of corresponding piece of the best pixel point is established, the coordinate information of 1/4 sub-pix point is obtained;
Coordinate information according to the 1/4 sub-pix point determines the coordinate information of corresponding specific pixel point;
Coordinate information according to the specific pixel point determines the type information of the specific pixel point;
The 1/4 sub-pix point is got according to the type information of the specific pixel point and the coordinate information of specific pixel point Color value;
Color value according to the 1/4 sub-pix point determines the best matching blocks of described image frame data.
2. the method according to claim 1, wherein the method also includes:
It is encoded according to the best matching blocks for described image frame data.
3. method according to claim 1 or 2, which is characterized in that the best picture in the determining described image frame data Vegetarian refreshments, comprising:
Described image frame data are scanned for by search window, obtain best pixel point.
4. the method according to claim 1, wherein the coordinate information according to the 1/4 sub-pix point is true The coordinate information of fixed corresponding specific pixel point, comprising:
Extract the abscissa information and ordinate information of the coordinate information of the 1/4 sub-pix point;
The abscissa information and ordinate information are respectively converted into binary data;
The coordinate information of the corresponding two specific pixels point of the 1/4 sub-pix point is calculated according to the binary data.
5. according to the method described in claim 4, it is characterized in that, the coordinate information according to the specific pixel point determines The type information of the specific pixel point, comprising:
The coordinate information of each specific pixel point is converted to the binary data of the specific pixel point;
The type information of the specific pixel point is determined according to the binary data of the specific pixel point.
6. according to the method described in claim 5, it is characterized in that, specific pixel point includes whole pixel and 1/2 pixel Point;1/2 pixel includes vertical 1/2 pixel, 1/2 pixel of level and diagonal 1/2 pixel;It is described according to some institute The binary data for stating specific pixel point determines the type information of the specific pixel point, comprising:
When the binary data of some specific pixel point meets the first preset condition, which is determined as whole pixel Point;
When the binary data of some specific pixel point meets the second preset condition, which is determined as vertical 1/ 2 pixels;
When the binary data of some specific pixel point meets third preset condition, which is determined as level 1/ 2 pixels;
When the binary data of some specific pixel point meets four preset conditions, which is determined as diagonal 1/ 2 pixels.
7. the method according to claim 1, wherein the type information and spy according to the specific pixel point The coordinate information for determining pixel gets the color value of the 1/4 sub-pix point, comprising:
The combination of different specific pixel points is determined according to the type information of the specific pixel point;
Obtain the corresponding color value of coordinate information of specific pixel point under the combination;
The color value of 1/4 sub-pix point is calculated by the color value of the specific pixel point.
8. a kind of movement estimation apparatus of image frame data characterized by comprising
Image frame data obtains module, for obtaining image frame data;
Best pixel point determining module, for determining the best pixel point in described image frame data;
Coordinate information obtains module, for establishing the coordinate system of corresponding piece of the best pixel point, obtains the seat of 1/4 sub-pix point Mark information;
Coordinate information determining module, for determining corresponding specific pixel point according to the coordinate information of the 1/4 sub-pix point Coordinate information;
Type information determining module, for determining that the type of the specific pixel point is believed according to the coordinate information of the specific pixel point Breath;
Color value obtains module, and the coordinate information for type information and specific pixel point according to the specific pixel point obtains To the color value of the 1/4 sub-pix point;
Best matching blocks determining module, for determining described image frame data most according to the color value of the 1/4 sub-pix point Good match block.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the processor realizes the fortune of image frame data described in any one of claims 1 to 7 when executing the computer program The step of dynamic estimation method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method for estimating of image frame data described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811270251.6A 2018-10-29 2018-10-29 Motion estimation method, device and equipment of image frame data and readable storage medium Active CN109309837B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811270251.6A CN109309837B (en) 2018-10-29 2018-10-29 Motion estimation method, device and equipment of image frame data and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811270251.6A CN109309837B (en) 2018-10-29 2018-10-29 Motion estimation method, device and equipment of image frame data and readable storage medium

Publications (2)

Publication Number Publication Date
CN109309837A true CN109309837A (en) 2019-02-05
CN109309837B CN109309837B (en) 2020-09-01

Family

ID=65222059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811270251.6A Active CN109309837B (en) 2018-10-29 2018-10-29 Motion estimation method, device and equipment of image frame data and readable storage medium

Country Status (1)

Country Link
CN (1) CN109309837B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198063A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Encoding and decoding method and device, image element interpolation processing method and device
CN101299818A (en) * 2008-06-04 2008-11-05 浙江大学 N level sub-pixel search method and apparatus based on whole pixel searching result
CN102611887A (en) * 2011-01-21 2012-07-25 华为技术有限公司 Method and device for rounding coordinate value of non-integer pixel position motion vector
CN103139561A (en) * 2011-12-05 2013-06-05 朱洪波 Interpolation filter for half pixel and quarter sub-pixel
CN106331702A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Sub-pixel interpolation filtering method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198063A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Encoding and decoding method and device, image element interpolation processing method and device
CN101299818A (en) * 2008-06-04 2008-11-05 浙江大学 N level sub-pixel search method and apparatus based on whole pixel searching result
CN102611887A (en) * 2011-01-21 2012-07-25 华为技术有限公司 Method and device for rounding coordinate value of non-integer pixel position motion vector
CN103139561A (en) * 2011-12-05 2013-06-05 朱洪波 Interpolation filter for half pixel and quarter sub-pixel
CN106331702A (en) * 2015-06-30 2017-01-11 阿里巴巴集团控股有限公司 Sub-pixel interpolation filtering method and equipment

Also Published As

Publication number Publication date
CN109309837B (en) 2020-09-01

Similar Documents

Publication Publication Date Title
JP7558352B2 (en) Image prediction method and related device
US10721466B2 (en) Video encoding method, video decoding method, computer device and storage medium
CN110249628B (en) Video encoder and decoder for predictive partitioning
US11019356B2 (en) Motion estimation method and device
US11206405B2 (en) Video encoding method and apparatus, video decoding method and apparatus, computer device, and storage medium
CN109379594B (en) Video coding compression method, device, equipment and medium
WO2009033152A2 (en) Real-time video coding/decoding
WO2020084472A1 (en) Affine mode parameter inheritance or prediction
CN111246212B (en) Geometric partitioning mode prediction method and device based on encoding and decoding end, storage medium and terminal
WO2019184934A1 (en) Intra prediction method and device for chroma
CN111447452B (en) Data coding method and system
CN115996290B (en) Bidirectional optical flow method for decoding video signal, computing device and storage medium
CN110708551A (en) Video encoding method, video encoding device, computer-readable storage medium, and computer apparatus
CN110166770B (en) Video encoding method, video encoding device, computer equipment and storage medium
CN110719467A (en) Prediction method of chrominance block, encoder and storage medium
JP5938424B2 (en) Method for reconstructing and encoding image blocks
KR20010030652A (en) Image encoding system
CN109309837A (en) Method for estimating, the device of image frame data
US20090051679A1 (en) Local motion estimation using four-corner transforms
CN109889851A (en) Block matching method, device, computer equipment and the storage medium of Video coding
WO2019191889A1 (en) Method and device for video processing
CN102300086A (en) Method for extending reference frame boundary and defining motion compensation reference sample position
CN109089116A (en) A kind of determination method, device, equipment and the medium of Skip type of mb
CN110519597B (en) HEVC-based encoding method and device, computing equipment and medium
KR100289054B1 (en) Region segmentation and background mosaic composition

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Patentee after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.