CN102736911A - Method and device for date fitting - Google Patents

Method and device for date fitting Download PDF

Info

Publication number
CN102736911A
CN102736911A CN201110250128XA CN201110250128A CN102736911A CN 102736911 A CN102736911 A CN 102736911A CN 201110250128X A CN201110250128X A CN 201110250128XA CN 201110250128 A CN201110250128 A CN 201110250128A CN 102736911 A CN102736911 A CN 102736911A
Authority
CN
China
Prior art keywords
coordinate
fitting function
particular point
aim curve
fitting
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.)
Pending
Application number
CN201110250128XA
Other languages
Chinese (zh)
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN201110250128XA priority Critical patent/CN102736911A/en
Publication of CN102736911A publication Critical patent/CN102736911A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The invention discloses a method for data fitting. The method comprises the following steps of obtaining all coordinate values of all sample points to be fit; carrying out difference operation on each coordinate value of each sample point; generating a fitting function according to a result of the difference operation; and obtaining a special point passed by a target curve, carrying out integral on the fitting function, and obtaining a target curve according to an integral formula and the coordinate value of the special point. According to the method, the fit curve passes the point accurately measured, all the other sample points are distributed uniformly at the places at the curve or close to two sides of the curve to the greatest extent, and the treatment result has a good noise resisting effect.

Description

A kind of method and apparatus of data fitting
Technical field
The present invention relates to data processing technique, particularly a kind of method and apparatus of data fitting.
Background technology
In the data processing of reality; Usually to carry out process of fitting treatment to a series of data of measuring;, and the data and curves can enough mathematical formulae described (or curved surface, or hypersurface) smooth to obtain. in practical application, tend to run in a series of data; Certain special key value is accurately to measure (such as initial value) through specific process, and other data obtain the situation of approximate value through other rapid assay methods.Like this, just produced following requirement to fitting result:
1, just require match curve (or curved surface, or hypersurface) must through accurately measure a bit;
2, other each sample points are evenly distributed on curve (or curved surface, or hypersurface) nearer position, both sides as far as possible.
In disposal route in the past, directly be difficult to satisfy simultaneously the condition that requires in above-mentioned 1,2 with the mathematical formulae match.
Summary of the invention
The present invention provides a kind of method and apparatus of data fitting.Through using the present invention, make match curve through accurately measure a bit, and make other each sample points be evenly distributed on the nearer place of curve or curved surface both sides as far as possible; And process result has good noise proofness.
For achieving the above object, the present invention provides a kind of method of data fitting, comprising: the coordinate figure that obtains each sample point of treating match;
Coordinate figure to said each sample point carries out calculus of differences;
Generate fitting function according to said calculus of differences result;
Obtain the particular point of aim curve process, said fitting function is carried out integration, obtain aim curve according to the coordinate figure of integral formula and said particular point.
On the other hand, the present invention also provides a kind of device of data fitting, comprising:
First acquiring unit is used to obtain the coordinate figure of each sample point of treating match;
The calculus of differences unit is used for the coordinate figure of said each sample point is carried out calculus of differences;
Generation unit is used for generating fitting function according to said calculus of differences result;
Second acquisition unit is used to obtain the particular point of aim curve process, and said fitting function is carried out integration, obtains aim curve according to the coordinate figure of integral formula and said particular point.
Compared with prior art, the present invention has the following advantages:
1, make the curve of match pass through a bit that accurately measure;
2 and make other each sample points be evenly distributed on the nearer place of curve or curved surface both sides as far as possible;
3, process result has good noise proofness.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; The accompanying drawing that will use in will describing embodiment is below done to introduce simply; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method flow diagram of a kind of data fitting that Fig. 1 provides for the embodiment of the invention;
The device synoptic diagram of a kind of data fitting that Fig. 2 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention will be carried out clear, intactly description, it is pointed out that described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention provides a kind of method of data fitting, and is as shown in Figure 1, comprising:
Step S101, obtain the coordinate figure of each sample point of treating match.
Obtain the coordinate figure of each point of raw measurement data, be respectively: (x 1, y 1), (x 2, y 2), K, (x i, y i), K
Wherein, horizontal ordinate x iBe the parameter value of condition determination, concrete form can be a value or a vector, ordinate y iBe measurement result.
Step S102, the coordinate figure of said each sample point is carried out calculus of differences;
To raw data (x 1, y 1), (x 2, y 2), K, (x i, y i), K carries out difference processing, and the form of difference processing does not limit.Obtain differential data (x 1, dy 1), (x 2, dy 2), K, (x i, dy i), K wherein, dy iThe expression difference value.
Step S103, generate fitting function according to said calculus of differences result.
Use rational in the art mathematical formulae to (x 1, dy 1), (x 2, dy 2), K, (x i, dy i), K carries out match, obtains the curve y=f (x) after the match.
Step S104, obtain the particular point of aim curve process, said fitting function is carried out integration, obtain aim curve according to the coordinate figure of integral formula and said particular point.
If a particular point of accurately measuring is (x k, y k), (k=1,2,3, K), and the indefinite integral of note f (x)
Figure BDA0000086882590000031
In do not contain constant term part be g (x), by formula y=g (x)+y k-g (x k) provide aim curve.
Through using the present invention, make match curve through accurately measure a bit, and make other each sample points be evenly distributed on the nearer place of curve or curved surface both sides as far as possible; And process result has good noise proofness.
The embodiment of the invention also provides a kind of device of data fitting, and is as shown in Figure 2, comprising:
First acquiring unit 201 is used to obtain the coordinate figure of each sample point of treating match;
Calculus of differences unit 202 is used for the coordinate figure of said each sample point is carried out calculus of differences;
Generation unit 203 is used for generating fitting function according to said calculus of differences result;
Second acquisition unit 204 is used to obtain the particular point of aim curve process, and said fitting function is carried out integration, obtains aim curve according to the coordinate figure of integral formula and said particular point.
Wherein, said second acquisition unit 204 also comprises:
Operator unit 2041 is used to obtain particular point (x k, y k) (k=1,2,3, K), and the indefinite integral of note fitting function f (x)
Figure BDA0000086882590000032
In do not contain constant term part be g (x), by formula y=g (x)+y k-g (x k) provide aim curve.
Through using the present invention, make match curve through accurately measure a bit, and make other each sample points be evenly distributed on the nearer place of curve or curved surface both sides as far as possible; And process result has good noise proofness.
The present invention includes but be not limited to the embodiment of above description, any those skilled in the art need not pay that creative work just can think of variation all should fall into protection scope of the present invention.

Claims (5)

1. the method for a data fitting is characterized in that, may further comprise the steps:
Obtain the coordinate figure of each sample point of treating match;
Coordinate figure to said each sample point carries out calculus of differences;
Generate fitting function according to said calculus of differences result;
Obtain the particular point of aim curve process, said fitting function is carried out integration, obtain aim curve according to the coordinate figure of integral formula and said particular point.
2. the method for claim 1 is characterized in that, said coordinate figure comprises horizontal ordinate and ordinate, and said horizontal ordinate is the parameter value of condition determination, and parameter value is value or vector; Said ordinate is for measuring the result.
3. the method for claim 1 is characterized in that, obtains the particular point of aim curve process, and said fitting function is carried out integration, obtains aim curve according to the coordinate figure of integral formula and said particular point, is specially:
Obtain particular point (x k, y k), (k=1,2,3, K), and the indefinite integral of note fitting function f (x)
Figure FDA0000086882580000011
In do not contain constant term part be g (x), by formula y=g (x)+y k-g (x k) provide aim curve.
4. the device of a data fitting is characterized in that, comprising:
First acquiring unit is used to obtain the coordinate figure of each sample point of treating match;
The calculus of differences unit is used for the coordinate figure of said each sample point is carried out calculus of differences;
Generation unit is used for generating fitting function according to said calculus of differences result;
Second acquisition unit is used to obtain the particular point of aim curve process, and said fitting function is carried out integration, obtains aim curve according to the coordinate figure of integral formula and said particular point.
5. the device described in claim 4 is characterized in that, said second acquisition unit also comprises:
The operator unit is used to obtain particular point (x k, y k) (k=1,2,3, K), and the indefinite integral of note fitting function f (x)
Figure FDA0000086882580000012
In do not contain constant term part be g (x), by formula y=g (x)+y k-g (x k) provide aim curve.
CN201110250128XA 2011-08-29 2011-08-29 Method and device for date fitting Pending CN102736911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110250128XA CN102736911A (en) 2011-08-29 2011-08-29 Method and device for date fitting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110250128XA CN102736911A (en) 2011-08-29 2011-08-29 Method and device for date fitting

Publications (1)

Publication Number Publication Date
CN102736911A true CN102736911A (en) 2012-10-17

Family

ID=46992473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110250128XA Pending CN102736911A (en) 2011-08-29 2011-08-29 Method and device for date fitting

Country Status (1)

Country Link
CN (1) CN102736911A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021187A (en) * 2016-06-03 2016-10-12 深圳市永兴元科技有限公司 Data fitting method and device
CN108629107A (en) * 2018-04-28 2018-10-09 中国水利水电科学研究院 A kind of method and device calculating degree/day

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106021187A (en) * 2016-06-03 2016-10-12 深圳市永兴元科技有限公司 Data fitting method and device
CN108629107A (en) * 2018-04-28 2018-10-09 中国水利水电科学研究院 A kind of method and device calculating degree/day

Similar Documents

Publication Publication Date Title
MY177335A (en) Sensor systems for measuring an interface level in a multi-phase fluid composition
SG154442A1 (en) Method and apparatus for finding anomalies in finished parts and/or assemblies
WO2015073548A3 (en) Point-to-point measurements using a handheld device
MX2011011598A (en) Method of correcting resistivity measurements for toll bending effects.
EP3736578A3 (en) Current measurement
NZ586691A (en) Method for estimating time required for a data processing job based on job parameters and known times for similar jobs
WO2013087989A3 (en) Method and apparatus for providing information collection using template-based user tasks
EP2557586A3 (en) Charged-particle microscopy imaging method
ATE513377T1 (en) METHOD FOR CRYPTOGRAPHIC DATA PROCESSING, IN PARTICULAR USING AN S BOX AND RELATED EQUIPMENT AND SOFTWARE
EP2287997A3 (en) Information processing apparatus, program, and information processing system
WO2009077539A3 (en) Method for processing a three-dimensional image of the surface of a tyre so that it can be used to inspect the said surface
EP2486964A3 (en) Information processing system, information processing program, information processing apparatus, input device, and information processing method
MX2019000748A (en) Method for determining a maximum allowable volume of water that can be removed over time from an underground water source.
GB2532940A8 (en) Method of and apparatus for providing an output surface in a data processing system
EP2063284A3 (en) Method and device for predicting GNSS satellite trajectory extension data used in mobile apparatus
MX2017010769A (en) Flowmeter measurement confidence determination devices and methods.
EP4235306A3 (en) Method for determining a sampling scheme, a semiconductor substrate measurement apparatus, a lithographic apparatus
WO2008084288A3 (en) Method, system, mobile device, apparatus and computer program product for validating rights objects
CN102736911A (en) Method and device for date fitting
CN104182615B (en) A kind of method that any condition the amount of inclusions is represented in ternary phase diagrams
CA2638949A1 (en) Methods of and apparatus for determining the viscosity of heavy oil
GB201004376D0 (en) detecting at least one community in a network
SG11201806275VA (en) Light-spot distribution structure, surface shape measurement method, and method for calculating exposure field-of-view control value
GB201212545D0 (en) Data entry
ATE501614T1 (en) METHOD AND DEVICE FOR GENERATING AN IP ADDRESS FOR USE BY THE MOBILE HOST IN A PROXY MOBILE IP COMMUNICATIONS NETWORK

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121017