CN115511947B - Real-time accurate acre measurement and correction method for land parcels - Google Patents
Real-time accurate acre measurement and correction method for land parcels Download PDFInfo
- Publication number
- CN115511947B CN115511947B CN202211229682.4A CN202211229682A CN115511947B CN 115511947 B CN115511947 B CN 115511947B CN 202211229682 A CN202211229682 A CN 202211229682A CN 115511947 B CN115511947 B CN 115511947B
- Authority
- CN
- China
- Prior art keywords
- value
- acre
- convex polygon
- virtual
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/62—Analysis of geometric attributes of area, perimeter, diameter or volume
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
- G06T7/64—Analysis of geometric attributes of convexity or concavity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30181—Earth observation
- G06T2207/30188—Vegetation; Agriculture
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Geometry (AREA)
- Computational Mathematics (AREA)
- Mathematical Physics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Probability & Statistics with Applications (AREA)
- Operations Research (AREA)
- Algebra (AREA)
- Evolutionary Biology (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a land parcel real-time accurate mu measurement and correction method, and belongs to the technical field of measurement. The invention is obtained byValue and areaThe mapping relation between the two land parcel measuring models can be quickly solved based on the mapping relationThen by polygonal for each virtual spaceCorresponding area prediction valueSumming and taking the sum valueTo verify the first land parcel survey pattern to obtainThe value being obtained by solving independent variablesThe value isBy the verification mode, the accuracy of mu measurement of the convex polygon area is greatly improved. Moreover, only the mu measurement result of the convex polygon area needs to be obtained when the mu measurement result is predictedValue sumThe value is enough, and the calculation speed is greatly improved. And the expansion or contraction of the convex polygon area can be dependent through the calculation of the vertex deviation, so that the regularity of the shape of the expanded or contracted area is ensured.
Description
Technical Field
The invention relates to the technical field of measurement, in particular to a real-time accurate acre measurement and correction method for land parcels.
Background
In the scenes of farmland division, land measurement and the like, whether a certain area or a plurality of areas on the land reach a mu or not needs to be determined, in the existing method, a manual mu measuring mode is generally adopted, namely, personnel measure mu along the boundary of the areas in a tape pulling mode, the manual mode is time-consuming and labor-consuming to operate, and when the number of areas needing to be measured is large, the defect is more prominent. Moreover, the area of the area to be measured is usually in an irregular shape, which may be a rectangle, a pentagon, a hexagon, etc., after the length of each boundary of the area to be measured with an irregular shape is measured by a tape, when the area is calculated, the area to be measured is also required to be correspondingly divided, such as a combination of a regular rectangle and a triangle, or a combination of a trapezoid or a triangle, etc., then the area of each regular shape is calculated and summed to obtain the area of the area to be measured, but the artificial division of the area to be measured into the combination of regular shapes takes longer time, the artificial area calculation is performed on each regular shape after measuring the boundary length of each regular shape one by one, which is very complex and troublesome.
Moreover, if the measured area of the mu to be measured does not reach the area of one mu or exceeds the area of one mu to be measured and needs to be contracted, the area of the mu to be measured with irregular shape is usually expected to be as regular as possible after the area of one mu to be measured is expanded or contracted, and the influence on the other areas outside the area of mu to be measured is reduced as much as possible, but a measurer on site does not have a high-altitude visual angle, so that irregular points or boundaries in the area of mu to be measured cannot be rapidly judged, the point or boundaries from which to start to be expanded or contracted are not known, and whether the point or boundaries in the area of mu to be measured lack scientific judgment basis is not regular or not, so that the area of mu to be measured after the area of mu to be measured is artificially expanded or contracted by a tape is difficult to reach the expected value of ' regular ' shape ' of people.
Disclosure of Invention
The invention aims to simplify the acre measurement calculation and area correction process, improve acre measurement precision and acre measurement and area correction automation degree, and provides a land block real-time accurate acre measurement and correction method.
To achieve the purpose, the invention adopts the following technical scheme:
the method for accurately measuring acre and correcting land parcels in real time comprises the following steps:
S1, drawing a corresponding virtual convex polygon of a convex polygon area determined on a land block to be measured;
S3, calculatingDifference from one mu of areaAnd calculates the differenceIs expressed as the absolute value of;
If yes, the area expansion flow is switched to;
if not, turning to an area contraction flow;
the area expansion flow comprises the following steps:
m1, calculating the virtual convex polygonEach vertex onDegree of deviation of (2)The calculation method is expressed by the following formula (15):
in the formula (15) of the present invention,representing verticesTo the virtual convex polygonOther vertices onA linear distance therebetween;
m2, select the degree of deviationThe vertex with the smallest value is taken as the extension initial vertexAnd will be connected withThe vertex with relatively small deviation degree of two adjacent vertexes is used as an extension initial vertexThen obtain、The coordinates of the vertices are respectively noted as、,
M3 according to the coordinates、Computing connectionsAndthe length of the first line of the vertex is recorded as;
M4, according to absolute value、Calculating the respective slave、The vertexes being connected at right angles toAndthe height of two extension lines extending in the direction of the first straight line between the vertexes So thatVertex, slaveTermination point of vertex extensionFrom theTermination point of vertex extension、The area of the rectangle formed by enclosing between 4 points of the vertex is equal to the absolute value solved in the step S3The method comprises the steps of carrying out a first treatment on the surface of the The area contraction flow comprises the following steps:
n1, calculating the virtual convex polygonEach vertex onDegree of deviation of (2)The calculation is expressed by the following formula (16):
in the formula (16) of the present invention,representing verticesTo the virtual convex polygonThe apex onA linear distance therebetween;
n2, select degree of deviationMaximum valueVertex pointAs a first initial vertex of area contraction, and selecting the virtual convex polygonAny one of a first adjacent vertex and a second adjacent vertex adjacent to the first initial vertex is taken as a second initial vertex with area shrinkage;
n3, obtaining the coordinates of the first initial vertex and the second initial vertex, calculating the length of a second straight line connected between the first initial vertex and the second initial vertex according to the obtained coordinates of the first initial vertex and the second initial vertex, and marking asThe second straight line is used as the waist of an isosceles triangle to be contracted;
N4, at the absolute valueAs the area of the isosceles triangle to be contracted, and according to the length of the second straight lineAnd the coordinates of the first initial vertex and the second initial vertex calculate the base length of the isosceles triangle to be contracted;
N5, shrinking the first initial vertex toward another adjacent vertex which is not used as the second initial vertex and is adjacent to the first initial vertexDistance, obtain the contraction point;
N6, the first initial vertex, the second initial vertex and the contraction pointRemoving the enclosed isosceles triangle; s5, expanding or contracting the area of the virtual convex polygonMapping to the convex polygon area after area expansion or contraction under the physical space.
Preferably, in step S2, the virtual convex polygon is calculated by the following method stepsArea of (2):
L1, for the virtual convex polygonPerforming similarity matching with each virtual convex polygon in the virtual convex polygon database,
if the matching is successful, the step L2 is carried out;
if the matching fails, terminating the mu measuring flow of the convex polygon area;
l2, the virtual convex polygonDiscrete into a plurality of the virtual space polygons Then the virtual convex polygon is obtainedCorresponding toData pairs and acquisition of each of the virtual space polygonsCorresponding toThe data pair is used to determine the data pair,、respectively represent the virtual convex polygonIs the central site of (2)The distance average value and the number of the vertexes;representing each of the virtual space polygons separatelyIs the central site of (2)The distance average value and the number of the vertexes;
l3, willInput toIn the corresponding first land block mu measuring model, the model outputs the correspondingThe value is recorded asThe method comprises the steps of carrying out a first treatment on the surface of the Will beInput toIn the corresponding second land block acre measuring model, the model outputs the correspondingThe value is recorded as;
L4, the pair is opposite to the virtual convex polygonEach of the virtual space polygons having a discrete relationshipCorresponding area prediction valueSumming to obtain a sum value;
L5, judging the sum valueAnd (3) withWhether the absolute value of the difference is smaller than a preset first difference threshold,
if not, formData pair addition toCorresponding first fitting point set and formData pair addition toAnd a corresponding second fitting point set.
Preferably, in step L2, the virtual convex polygon is obtained Corresponding saidThe method steps of the data pair comprise:
a1, respectively installing a distance sensor at each vertex of the convex polygon area, and recording that each installation position is atThe coordinates in the axis coordinate system are respectively marked as,Representing the number of vertices of the convex polygon area, and then drawing the virtual convex polygon corresponding to the convex polygon area on a computer according to the recorded coordinates;
A2, according to the virtual convex polygonCalculating the coordinates of each vertex of the virtual convex polygonIs defined by the central site of (2)At the position ofThe coordinates in the axis coordinate system are noted asThe central site is then calculatedAnd the virtual convex polygon where the virtual convex polygon is locatedThe average value of the distance between each vertex is recorded asThereby obtaining the describedAnd (3) data pairs.
Preferably, each of the virtual space polygons is acquiredCorresponding saidThe method of the data pair further comprises the following steps on the basis of the steps A1-A2:
a3, for the virtual convex polygonIs equally divided and each equally divided point is calculatedAt the position ofCoordinates in an axial coordinate system, and dividing each of the equal pointsAnd the central siteAfter connecting the lines, the virtual convex polygonDiscrete into a plurality of the virtual space polygons ,;
A4, calculating each virtual space polygonEach vertex coordinate on the model is respectively marked as,Representing the virtual space polygonIs the number of vertices of (a);
a5, according to the virtual space polygonCoordinates of each vertex on the virtual space polygon are calculatedIs defined by the central site of (2)At the position ofThe coordinates in the axis coordinate system are noted asThe central site is then calculatedAnd the virtual space polygon where it isThe average value of the distance between each vertex is recorded asThereby obtaining an association of each of the virtual space polygonsIs described in (2)And (3) data pairs.
Preferably, in step L3, the method steps of constructing the first land parcel measuring model and the second land parcel measuring model include:
c1, obtaining virtual convex polygons which are respectively corresponding to a plurality of convex polygon areas with different shapes and are determined on a land block with measured acreAssociated withA data pair, wherein,representing the virtual convex polygonIs a part of the area of (2);
c2, each virtual convex polygonDiscrete into a plurality of the virtual space polygonsThen, obtaining and each virtual convex polygonEach of the virtual space polygons having a discrete relationshipCorresponding to The data pair is used to determine the data pair,representing the virtual space polygonIs a part of the area of (2);
C3,the first land block mu measuring model and the second land block mu measuring model respectively correspond to each otherLand block acre measurement model;
c4, in several formsIn data pairsAs an argument, in a data pairSolving the first land block acre measurement model for the dependent variable to obtain a first parameter value of a first acre measurement parameter; using severalIn data pairsAs an argument, in a data pairSolving the second land block acre measurement model for the dependent variable to obtain a first parameter value of a second acre measurement parameter;
c5, substituting the first parameter values of the first acre measuring parameters and the second acre measuring parameters into the first land block acre measuring model and the second land block acre measuring model respectively, and substituting each virtual convex polygon into the first land block acre measuring model and the second land block acre measuring modelCorresponding toThe value is input into the first land parcel measuring model, and the corresponding model is outputThe value is recorded asAnd each of the virtual pairsQuasi-space polygonCorresponding toThe value is input into the second land parcel measuring model, and the model outputs correspondingThe value is recorded as;
C6, judging eachThe value corresponds to the true valueWhether the absolute value of the difference is smaller than a preset second difference threshold,
if yes, the input and output data pair of the first land parcel measuring model in the step C5 is stored Adding the first fitting point set as a fitting point;
Simultaneously judging each of theThe value corresponds to the true valueWhether the absolute value of the difference is smaller than a preset third difference threshold,
if so, save the step C5Input/output data pair of second land block acre measurement modelAdded as fitting points to the second set of fitting points,
C7, opposite to the virtual convex polygonEach of the virtual space polygons having a discrete relationshipCorresponding model predictive valueSumming to obtain a sum value;
C8, judging the sum valueWith said virtual convex polygon having a discrete relationship therewithTrue value of area of (2)Whether the absolute value of the difference is smaller than a preset fourth difference threshold,
if yes, go to step C9,
if not, filtering the virtual convex polygon from the first fitting point setThe input/output data pair with association relationAnd filtering the virtual convex polygon from the second fitting point setThe input/output data pair with association relation;
C9, fitting each fitting point in the first fitting point set and the second fitting point set respectively through an interpolation method of a Lagrangian interpolation polynomial to obtain a first fitting curve corresponding to the first fitting point set and a second fitting curve corresponding to the second fitting point set;
C10, solving second parameter values of the first acre measuring parameters of the first land parcel acre measuring model according to the first fitting curve, and solving second parameter values of the second acre measuring parameters of the second land parcel acre measuring model according to the second fitting curve;
and C11, updating and correcting second parameter values of the first acre measurement parameters and the second acre measurement parameters, and substituting the updated second parameter values into the corresponding first land parcel acre measurement model or the second land parcel acre measurement model to complete the construction of the first land parcel acre measurement model and the second land parcel acre measurement model.
Preferably, the following steps are continued after step A5 to solve the virtual space polygonArea of (2):
A6, for the virtual convex polygonTwo of said bisecting points on adjacent sides of (a)After direct connection, each virtual space polygon is obtainedFurther discretizing into a plurality of virtual triangles, denoted as;
A7, according to each virtual triangleCalculating the area of the vertex coordinates of (a)And for each of said virtual space polygonsEach of the virtual triangles having a discrete relationshipArea of (2)Summing, the sum value is taken as the corresponding virtual space polygon Area of (2)。
Preferably, the following steps are continued after step A7 to solve the virtual convex polygonArea of (2):
A8, for each virtual space polygonArea of (2)Summing, the sum value is taken as the virtual convex polygonArea of (2)。
Preferably, in step C3, whenAt the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (1):
when (when)At the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (2):
when (when)At the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (3):
in the formulas (1) to (3),、、、、、、、、、、、solving each first acre measuring parameter for the parameter value to be calculated;
acquired, acquiredThe corresponding second land parcel acre measurement model is expressed by the following formula (4):
in the formula (4) of the present invention,、、、and solving each second acre measuring parameter for the parameter value to be calculated.
Preferably, in step C9, the method of fitting the first fitted curve or the second fitted curve by using the interpolation method of the lagrangian interpolation polynomial is expressed by the following formula (5):
in the formula (5) of the present invention,representing the first fitting point set or the second fitting point set Fitting points;
representing the number of fitting points in the first fitting point set or the second fitting point set;
representing the first land block acre measuring model or the second land block acre measuring model according to the input first land block acre measuring modelPredictive output of individual fitting pointsA value;
、representing the first fitting point set or the second fitting point set, respectivelyFitting pointAnd (d)Fitting points ofThe value isValue orValues.
Preferably, in step C11, the method for updating and correcting the second parameter value of each of the first acre measurement parameters includes the steps of:
d1, calculating parameter solving errorThe calculation method is expressed by the following formula (7):
in the formula (7) of the present invention,c4, a first parameter value of the first acre measurement parameter obtained by solving in the step is represented;
d2, predicted for step C5Calculating prediction errorThe calculation method is implemented byThe following formula (8) expresses:
if yes, correcting a second parameter value of the first mu measuring parameter by the following formula (9):
If not, correcting the second parameter value of the first acre measurement parameter by the following formula (10):
in the formulas (9) to (10),a second parameter value representing the corrected first acre measurement parameter;
in step C11, the method for updating and correcting the second parameter value of each second acre measurement parameter includes the steps of:
f1, calculating parameter solving errorThe calculation method is expressed by the following formula (11):
in the formula (11), the color of the sample is,c4, representing the first parameter value of the second mu measuring parameter obtained by solving in the step;
f2, for each of the predictions calculated in step C5Calculating a prediction error meanThe calculation method is expressed by the following formula (12):
in the formula (12) of the present invention,representing the virtual convex polygonMiddle (f)Each of the virtual space polygonsIs a prediction error of the area of (2);
if yes, correcting a second parameter value of the second acre measurement parameter by the following formula (13):
if not, correcting a second parameter value of the second acre measurement parameter by the following formula (14):
in the formulas (13) to (14), A second parameter value representing the corrected second acre measurement parameter.
The invention has the following beneficial effects:
1. the corresponding virtual convex polygon is drawn for the convex polygon area under the physical space, so that the acre measurement work under the real scene is transferred to the computer space, and the automatic acre measurement is possible;
2. the virtual convex polygon is scattered into a plurality of virtual space polygons to serve as acre measuring units, the acre measuring units are thinned, the area of each acre measuring unit is calculated and summed, the obtained sum value serves as the area of the virtual convex polygon, the error of the acre measuring result is reduced, and the acre measuring precision is improved;
3. finding the center site of the virtual convex polygon by constructing a first land block acre measurement modelAverage value of distance from each vertex thereofMu measurement result of the virtual convex polygonThe mapping relation between the two areas is that the convex polygon area determined on the land block to be measured is obtainedThe value can be used for quickly solving the mu measurement result corresponding to the convex polygon areaThe method solves the problems that the method for manually dividing an irregular area into a plurality of areas with regular shapes and carrying out area calculation and summation on each regular area is too time-consuming and too complex and the mu measurement error is larger;
4. Finding out the central site of the polygon in the virtual space by constructing a second land block mu measuring modelAverage value of distance from each vertex thereofMu measurement result of polygon in virtual spaceMapping relation among the virtual space polygons is obtained only by obtaining the corresponding virtual space polygonsThe value can be used for quickly solving the mu measurement result corresponding to the polygon in the virtual spaceThen, the mu measurement result of each virtual space polygon related to the same virtual convex polygonSumming and according to the sum and the valueThe difference value of the first land block acre measurement model can be used for judging whether the acre measurement result output by the first land block acre measurement model is correct or not, and the second verification of the acre measurement result output by the first land block acre measurement model is realized through the second land block acre measurement model.
5. By setting the first difference threshold, in step S4, when determining the sum valueAnd (3) withIf the absolute value of the difference is greater than or equal to the preset first difference threshold valueData pairThe data pairs are added into the corresponding first fitting point set and second fitting point set respectively, so that the number of fitting points is increased, a first fitting curve or a second fitting curve obtained by fitting by a Lagrangian interpolation polynomial interpolation method is smoother, and the obtained second parameter values of each first measured mu parameter or each second measured parameter are more accurate, so that the accuracy of a measured mu result is improved;
6. By setting a second difference threshold, a third difference threshold and a fourth difference threshold to find noise fitting points in the first fitting point set and the second fitting point set, the accuracy of second parameter values corresponding to each first mu measuring parameter and each second mu measuring parameter obtained by reversely pushing a first fitting curve and a second fitting curve obtained by fitting by a subsequent interpolation method using a Lagrange interpolation polynomial is further improved;
7. by searching forAnd (3) with、Andthe parameter correction relation between the two is used for correcting the second parameter value of each first acre measurement parameter or each second acre measurement parameter according to the parameter correction relation, so that the parameter correction accuracy is improved, and the acre measurement accuracy of the convex polygon area is further improved;
8. by calculating virtual convex polygonsDegree of deviation of each vertex on the tableDetermining the virtual convex polygon according to the magnitude of the deviation valueThe initial vertexes of expansion or contraction are carried out, so that the shape of the convex polygon area in the land block to be measured after the area expansion or contraction is as regular as possible;
9. area predicted by land block acre measurement modelAbsolute value of difference from area of one mu For the area to be expanded or contracted, after the initial vertex of expansion or contraction is determined, the expansion is carried out by using a parallelogram, and the contraction is carried out by using an isosceles triangle, so that the calculation complexity of the expansion and contraction of the area is considered, the calculation speed is improved, and the virtual convex polygon after the expansion or contraction of the area is ensured as much as possibleIs a degree of regularity of (2);
10. for virtual convex polygon in computerAfter the area expansion or contraction, the virtual convex polygon is formedThe coordinates of (2) are converted from a virtual space coordinate system to a physical space coordinate system, and the extension termination point position can be obtained、Shrinkage pointIn the position coordinates in the real physical space, the measuring personnel can rapidly realize the expansion or contraction of the area of the convex polygon area by only finding the two extension termination points or the contraction points on site.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is a step diagram of implementing a method for accurately measuring acre and correcting land parcels in real time according to an embodiment of the present invention;
fig. 2 is a schematic diagram after performing virtual space polygon dispersion on a virtual convex quadrilateral which is drawn correspondingly to a convex quadrilateral region determined on a land parcel to be measured and performing secondary dispersion on each virtual space polygon;
fig. 3 is a schematic diagram after performing virtual space multi-deformation dispersion on a virtual convex pentagon which is drawn corresponding to a convex pentagon region determined on a land area to be measured and performing secondary dispersion on each virtual space multi-deformation;
fig. 4 is a schematic diagram after performing virtual space polygon discretization on a virtual hexagon drawn corresponding to a convex hexagon area determined on a land area to be measured and performing secondary discretization on each virtual space polygon;
fig. 5 is a flowchart of the calculation of the virtual convex polygon area according to the present embodiment.
Detailed Description
The technical scheme of the invention is further described below by the specific embodiments with reference to the accompanying drawings.
Wherein the drawings are for illustrative purposes only and are shown in schematic, non-physical, and not intended to be limiting of the present patent; for the purpose of better illustrating embodiments of the invention, certain elements of the drawings may be omitted, enlarged or reduced and do not represent the size of the actual product; it will be appreciated by those skilled in the art that certain well-known structures in the drawings and descriptions thereof may be omitted.
The same or similar reference numbers in the drawings of embodiments of the invention correspond to the same or similar components; in the description of the present invention, it should be understood that, if the terms "upper", "lower", "left", "right", "inner", "outer", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, only for convenience in describing the present invention and simplifying the description, rather than indicating or implying that the apparatus or elements being referred to must have a specific orientation, be constructed and operated in a specific orientation, so that the terms describing the positional relationships in the drawings are merely for exemplary illustration and should not be construed as limiting the present patent, and that the specific meaning of the terms described above may be understood by those of ordinary skill in the art according to specific circumstances.
In the description of the present invention, unless explicitly stated and limited otherwise, the term "coupled" or the like should be interpreted broadly, as it may be fixedly coupled, detachably coupled, or integrally formed, as indicating the relationship of components; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between the two parts or interaction relationship between the two parts. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
The method for accurately measuring acre and correcting land parcels in real time provided by the embodiment of the invention, as shown in fig. 1, comprises the following steps:
s1, drawing a corresponding virtual convex polygon of a convex polygon area determined on a land block to be measured;
S3, calculatingDifference from one mu of areaAnd calculate the differenceIs expressed as the absolute value of;
if yes, the area expansion flow is switched to;
if not, turning to an area contraction flow;
s5, expanding or contracting the area of the virtual convex polygonMapping to the area-expanded or contracted convex polygon region under physical space (by virtual convex polygonThe coordinate conversion of each vertex in the virtual space is realized by converting the coordinate in the physical space, and the specific conversion process applies the existing coordinate conversion method, so that the specific description is not made.
In this embodiment, the key point of real-time accurate acre measurement and correction is to ensureThe speed and accuracy of calculation are calculated, so before the specific technical scheme of the accurate acre measurement and correction method for land parcels is introduced, the method for representing the land parcels is constructedValue and value of(True values of (a) mapping relationship between land parcel survey models and constructing a first land parcel survey model for characterization Value and value ofThe method of the second land parcel acre measurement model of the mapping relation is explained.
In this embodiment, the method steps of constructing the first land parcel measuring model and the second land parcel measuring model include:
c1, obtain under testVirtual convex polygons respectively corresponding to a plurality of convex polygon areas with different shapes determined on each mu of land parcelsAssociated withA data pair, wherein,、respectively represent virtual convex polygonsIs the central site of (2)The mean value of the distance from each vertex, the number of vertices and the area;
a1, respectively installing a distance sensor at each vertex of the convex polygon area, and recording each installation position inThe coordinates in the axis coordinate system are respectively marked as,Representing the number of vertexes of the convex polygon area, and then drawing the virtual convex polygon corresponding to the convex polygon area on a computer according to the recorded coordinatesThe method comprises the steps of carrying out a first treatment on the surface of the When (when)When the virtual convex polygon is drawnAs shown in fig. 2, 3 and 4, respectively;
a2, according to the virtual convex polygonCalculating virtual convex polygons by coordinates of each vertex of (3)Is the central site of (2)At the position ofThe coordinates in the axis coordinate system are noted asThen calculate the central siteAnd the virtual convex polygon where the same is located The average value of the distance between each vertex is recorded asThereby obtainingAnd (3) data pairs. Here, the virtual convex polygon is described asAfter each vertex coordinate of (2) is determined, a conventional mathematical algorithm can be applied to calculate the central locusThe specific calculation process is not described here.The calculation process of (2) will be described below and is not yet repeated here.
Obtaining each virtual convex polygonCorresponding toAfter the data pair, the steps are carried out:
c2, each virtual convex polygonDiscretizing into a plurality of virtual space polygonsThen obtain and each virtual convex polygonEach virtual space polygon having a discrete relationshipCorresponding toThe data pair is used to determine the data pair,the representation represents each virtual space polygon separatelyIs the central site of (2)The mean value of the distance from each vertex, the number of vertices and the area;
the data pair acquisition method further comprises the following steps on the basis of the steps A1-A2:
a3, for the virtual convex polygonIs equally divided and each equally divided point is calculatedAt the position ofCoordinates in the axial coordinate system (each bisecting pointThe coordinates of (2) can be calculated from the coordinates of the two vertices on the bisector segment by using conventional mathematical algorithms, not illustrated herein, and dividing each of the bisectors With a central siteAfter connecting the lines, the virtual convex polygonDiscretizing into a plurality of virtual space polygons,;
A4, calculating each virtual space polygonEach vertex coordinate on the model is respectively marked as(As such, these vertex coordinates may be based on the isocenter coordinates, the center locusCoordinates and virtual convex polygonsThe coordinates of each vertex are calculated by a conventional mathematical algorithm, so the detailed calculation process is not described),representing virtual space polygonsIs the number of vertices of (a); virtual space polygonsRefer to FIG. 2 for an example
A5, according to the virtual space polygonComputing virtual space polygons from coordinates of each vertex on the polygonIs the central site of (2)At the position ofThe coordinates in the axis coordinate system are noted as(based on the virtual space polygonThe 4 vertex coordinates of (1) are calculated by a conventional mathematical algorithm, the specific calculation process is not described), and then the central position is calculatedAnd the virtual space polygon where it isThe average value of the distance between each vertex is recorded asThereby obtaining the associated each virtual space polygonIs described in (2)And (3) data pairs.
Solving virtual space polygonsArea of (2)The method of (a) is that after the step A5, the following steps are continuously executed:
A6, for the virtual convex polygonTwo bisecting points on adjacent edges of (a)After direct connection (indicated by a broken line in the direct connection diagram 2), each virtual space polygon is formedFurther discretizing into a plurality of virtual triangles, denoted as;
A7, according to each virtual triangleCalculating the area of the vertex coordinates of (a)And for each virtual space polygonEach virtual triangle with discrete relationshipArea of (2)Summing, and taking the obtained sum value as a corresponding virtual space polygonArea of (2)。
Solving for virtual convex polygonsShape of a Chinese characterArea of (2)The method of (a) is that after step A7, the steps are continuously executed:
a8, for each virtual space polygonArea of (2)Summing, the sum is taken as a virtual convex polygonArea of (2)。
Acquisition ofData pairAfter the data pair, the method for constructing the first land parcel measuring model and the second land parcel measuring model is transferred to the steps:
c3, obtainThe first land block mu measuring model and the second land block mu measuring model which correspond respectively, namelyWhen the values of the land areas are different, the land area measurement models are respectively corresponding to the land area measurement models; as shown for example in figure 3 of the drawings, 、The method comprises the steps of carrying out a first treatment on the surface of the And in FIG. 4、。The larger the number of the convex polygon area determined on the mu area to be measured is, the more complex the shape of the convex polygon area is, the more the number of virtual space polygons which need to be scattered and the more the number of virtual triangles which need to be further scattered for each virtual space polygon is, the more the number of the discrete virtual space polygons and the number of the virtual triangles is, the higher the complexity of area block calculation on the convex polygon area is represented, the more calculation errors are easy to occur, and in order to balance the area calculation errors and the calculation speed, the embodiment adopts different land block measurement mu models to calculate the areas of the corresponding areas respectively for the virtual convex polygon with different vertexes and the virtual space polygons. In order to ensure the accuracy of area solution, the embodiment correlates the order of the high-order equation with the number of vertices of the virtual convex polygon and the virtual space polygon to obtain the number of vertices of the virtual convex polygonThe orders of the first higher-order square equation serving as the first land parcel measuring model are respectively corresponding to the numbers of the vertexes of the virtual space polygonsThe order of the second higher-order equation serving as the corresponding second land parcel measuring mu model is determined.
The expression of the first higher-order equation as the first plot acre model is as follows:
When (when)At the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (1):
when (when)At the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (2):
when (when)At the time of acquisition ofThe corresponding first land parcel acre measurement model is expressed by the following formula (3):
in the formulas (1) to (3),、、、、、、、、、、、and solving each first mu measuring parameter for the parameter value to be calculated.
It should be noted here that,the values of (2) are not limited to 4, 5, 6, but may be other values, where 4, 5, 6 are defined for convenience of expressionCorresponding first placeA block-measuring mu model is adopted,when the corresponding first land measurement mu model is provided in the expression provided in the formula (1)And then add,At the time ofAfter addingAnd so on, no further description is given.
The expression of the second higher-order equation as the second plot acre model is as follows:
acquired, acquiredThe corresponding second plot acre measurement model is expressed by the following formula (4):
in the formula (4) of the present invention,、、、and solving each second mu measuring parameter for the parameter value to be calculated.
Likewise, the number of the cells to be processed,not limited to the case of =4,when=5, the expression is formula (2),when=6, the expression is formula (1), and so on, and will not be described again.
Obtained is obtained After the corresponding models are respectively constructed, the method steps of constructing a first land parcel measuring model and a second land parcel measuring model are transferred to the steps of:
c4, in several formsIn data pairsAs an argument, in a data pairSolving a first land block acre measurement model for the dependent variable to obtain a first parameter value of a first acre measurement parameter; using severalIn data pairsAs an argument, in a data pairSolving a second land block acre measurement model for the dependent variable to obtain a first parameter value of a second acre measurement parameter;
for example, for the first land parcel measuring model expressed by formulas (1) - (3), as long asThe number of the data pairs is enough, so that first parameter values corresponding to the first acre measurement parameters in the formula can be solved, and the solving process is a conventional mathematical algorithm, so that no exchange is carried out in the specific calculating process.
C5, substituting the first parameter values of the first acre measuring parameters and the second acre measuring parameters into the first land block acre measuring model and the second land block acre measuring model respectively, and substituting each virtual convex polygonCorresponding toThe value is input into a first land block mu measuring model, and the model outputs corresponding dataThe value is recorded asAnd polygonal each virtual spaceCorresponding toThe value is input into a second land block mu measuring model, and the model outputs corresponding data The value is recorded as;
C6, judging eachThe value corresponds to the true valueWhether the absolute value of the difference is smaller than a preset second difference threshold,
if yes, the input and output data pair of the first land parcel measuring model in the step C5 is savedAdding the first fitting point set as a fitting point;
Simultaneously judging eachThe value corresponds to the true valueWhether the absolute value of the difference is smaller than a preset third difference threshold,
if yes, the input and output data pair of the second land parcel measuring model in the step C5 is storedAdded as fitting points to the second set of fitting points,
C7, pairing with virtual convex polygonEach virtual space polygon having discrete relationshipCorresponding model predictive valueSumming to obtain a sum value;
C8, judging the sum valueWith virtual convex polygons having discrete relationships therewithTrue value of area of (2)Whether the absolute value of the difference is smaller than a preset fourth difference threshold,
if yes, go to step C9,
if not, filtering out the virtual convex polygon from the first fitting point setInput/output data pair with association relationAnd filtering out the virtual convex polygon from the second fitting point set Input/output data pair with association relation;
C9, fitting each fitting point in the first fitting point set and the second fitting point set respectively through an interpolation method of a Lagrangian interpolation polynomial to obtain a first fitting curve corresponding to the first fitting point set and a second fitting curve corresponding to the second fitting point set;
specifically, the method for fitting the first fitted curve or the second fitted curve by using the interpolation method of the lagrangian interpolation polynomial is expressed by the following formula (5):
in the formula (5) of the present invention,representing the first fitting point set or the second fitting point setFitting points;
representing the number of fitting points in the first fitting point set or the second fitting point set;
representing the first land block acre measuring model or the second land block acre measuring model according to the input first land block acre measuring modelPredictive output of individual fitting pointsA value;
、representing the first fitting point set or the second fitting point set, respectivelyIndividual fitting points and the thFitting points ofThe value isValue (if)、The fitting points in the first fitting point set are) Or (b)Value (if)、The fitting points in the second fitting point set are)。
It should be noted that, the fitting data in the first fitting point set or the second fitting point set is substituted into the expression (6) and the expression (5), so as to obtain a corresponding fitting curve, and specific data substitution process is not described here.
After the first fitting curve and the second fitting curve are obtained, the method for constructing the first land parcel measuring model and the second land parcel measuring model is transferred to the steps:
c10, reversely solving second parameter values of all the first acre measuring parameters of the first land parcel acre measuring model according to the first fitting curve, reversely solving second parameter values of all the second acre measuring parameters of the second land parcel acre measuring model according to the second fitting curve;
here, the method of solving the term coefficients (parameters) of the higher-order equation by the inverse of the fitted curve is a conventional mathematical operation method, for example, for a unitary primary equation given a value having the term coefficients, a straight line may be obtained in the XY axis coordinate system, and the term coefficients of the respective terms of the unitary primary equation may be obtained by the inverse of the given straight line in the XY axis coordinate system. Different from the above, in this embodiment, the higher-order equation is used as the first land parcel measuring model and the second land parcel measuring model, when the number of fitting points is insufficient, the curve is not smooth enough, the term coefficient (the second parameter) obtained by back-pushing has a larger error with the first parameter of the same parameter obtained by solving in the step C4, and when the number of fitting points is sufficient, the curve is smoother, and at this time, the term coefficient obtained by back-pushing may be more accurate than the first parameter of the same parameter obtained by solving in the step C4.
However, each parameter in the first land parcel measuring model and the second land parcel measuring model is based on the first parameter value calculated in the step C4 or based on the second parameter value reversely calculated in the step C10, and needs to be supported by a corresponding theoretical basis. Therefore, after step C10, a process for calibrating the model parameters is also required, namely the steps of:
and C11, updating and correcting second parameter values of the first acre measuring parameters and the second acre measuring parameters, and substituting the updated second parameter values into the corresponding first land parcel acre measuring model or second land parcel acre measuring model to complete the construction of the first land parcel acre measuring model and the second land parcel acre measuring model.
In the invention, we find through repeated experimental summary that, whether the first measured mu parameter in the first land parcel measured mu model or the second measured mu parameter in the second land parcel measured mu model, for the first parameter value calculated in the step C4 and the second parameter value reversely obtained in the step C10 of the same parameter, the parameter solving error of the first parameter value and the second parameter value has a corresponding relation on trend with the model prediction error, the corresponding relation on the trend is utilized to correct the second parameter value of each parameter, and finally the corrected model is predicted to output The value is more similar to the true value. The correction scheme of the present embodiment for each parameter is specifically as follows:
in step C11, the method for updating and correcting the second parameter value of each first mu measuring parameter includes the steps of:
d1, calculating parameter solving errorThe calculation method is expressed by the following formula (7):
in the formula (7) of the present invention,c4, a first parameter value of a first acre measurement parameter obtained by solving is represented;
representing the second parameter value of the same first mu measuring parameter obtained in the step C10 in a back-pushing way;
D2, predicted for step C5Calculating prediction errorThe calculation method is expressed by the following formula (8):
if yes, correcting the second parameter value of the first mu measuring parameter by the following formula (9):
if not, correcting the second parameter value of the first acre measurement parameter by the following formula (10):
in the formulas (9) to (10),a second parameter value representing the corrected first acre measurement parameter.
The method for updating and correcting the second parameter value of each second acre measuring parameter comprises the following steps:
f1, calculating parameter solving errorThe calculation method is expressed by the following formula (11):
in the formula (11), the color of the sample is,c4, a first parameter value of a second mu measuring parameter obtained by solving is represented;
f2, for each of the predictions calculated in step C5Calculating a prediction error meanThe calculation method is expressed by the following formula (12):
in the formula (12) of the present invention,representing a pair of virtual convex polygonsMiddle (f)Multiple virtual space polygonsIs a face of (2)Integrating the prediction error;
if yes, correcting a second parameter value of the second mu measuring parameter by the following formula (13):
if not, correcting the second parameter value of the second acre measurement parameter by the following formula (14):
in the formulas (13) to (14),a second parameter value representing the corrected second acre measurement parameter.
By integrating the scheme, the invention completes the construction of the first land parcel measuring model and the second land parcel measuring model, and for the convex polygon area determined on the land parcel to be measured, the measuring result of the convex polygon area can be quickly and automatically solved by applying the two models. The method for accurately measuring acre in real time for the land according to the embodiment of the invention, as shown in fig. 5, comprises the following steps:
l1, for virtual convex polygonPerforming similarity matching with each virtual convex polygon in the virtual convex polygon database,
If the matching is successful, the step L2 is carried out;
if the matching fails, terminating the mu measuring flow of the convex polygon area;
it should be noted that there are many existing methods for matching the regional similarity, so the specific matching process of the regional similarity matching method adopted in the present application is not described here.
L2, the virtual convex polygonDiscrete into a plurality of the virtual space polygonsThen the virtual convex polygon is obtainedCorresponding toData pairs and acquisition of each of the virtual space polygonsCorresponding toThe data pair is used to determine the data pair,、respectively represent the virtual convex polygonIs the central site of (2)Distance average value and vertex number of each vertex;representing each of said virtual representationsQuasi-space polygonIs the central site of (2)An average of the distances from each of its vertices;
it should be noted here how to obtainData pairThe data pairs have been described in detail in constructing the first land parcel measuring pattern and the second land parcel measuring pattern, and are not described in detail herein.
L3, willInput toIn the corresponding first land block mu measuring model, the model outputs the correspondingThe value is recorded asThe method comprises the steps of carrying out a first treatment on the surface of the Will beInput toIn the corresponding second land block acre measuring model, the model outputs the corresponding The value is recorded as;
L4, pairing with virtual convex polygonEach virtual space polygon having discrete relationshipCorresponding area prediction valueSumming to obtain a sum value;
L5, judge the sum valueAnd (3) withWhether the absolute value of the difference is smaller than a preset first difference threshold,
if not, formData pair addition toCorresponding first fitting point set and formData pair addition toAnd a corresponding second fitting point set.
In addition, the center site is found、There are many existing methods of (a) such as to make a certain point inside the convex polygon area as close to the distance of each vertex as possible, and this point can be determined as a central point.
By the scheme, the model rapidly calculates the area of the convex polygon areaWhen step S4 determines the differenceWhen negative, the descriptionIf a customer needs to expand the area to one mu and the shape of the area after expansion is expected to be as regular as possible, the embodiment provides the following area expansion scheme, and the method comprises the following steps:
m1, calculating a virtual convex polygonEach vertex onDegree of deviation of (2)The calculation method is expressed by the following formula (15):
In the formula (15) of the present invention,representing verticesTo a virtual convex polygonOther vertices onA linear distance therebetween;
m2, select the degree of deviationThe vertex with the smallest value is taken as the extension initial vertexAnd will be connected withThe vertex with relatively small deviation degree of two adjacent vertexes is used as an extension initial vertexThen obtain、The coordinates of the vertices are respectively noted as、,
M3 according to the coordinates、Computing connectionsAndthe length of the first line of the vertex is recorded as;
M4, according to absolute value、Calculating the respective slave、The vertexes being connected at right angles toAndhigh of two extension lines extending in the direction of the first straight line between the vertexesSo thatVertex, slaveTermination point of vertex extensionFrom theTermination point of vertex extension、The area of the rectangle formed by enclosing between 4 points of the vertex is equal to the absolute value solved in the step S3。
It should be noted here that the area of the rectangle to be expanded is known, the length of the long side (i.e. the first straight line) is known, the heightNamely, isAnd (3) withFrom which the slave is determined by dividing the value of (a)、The length of the extension line from which the apex extends.
And when step S4 determines the differenceTo be positive, explainIf the area is required to be shrunk to one mu and the shape of the area after shrinkage is expected to be as regular as possible, the embodiment provides the following area shrinkage scheme, and the method comprises the following steps:
N1, calculating a virtual convex polygonEach vertex onDegree of deviation of (2)The calculation method is expressed by the following formula (15):
in the formula (16) of the present invention,representing verticesTo a virtual convex polygonThe apex onA linear distance therebetween;
n2, select degree of deviationVertex with maximum valueAs a first initial vertex of area contraction, and selecting a virtual convex polygonAny one of a first adjacent vertex and a second adjacent vertex adjacent to the first initial vertex is taken as a second initial vertex with area shrinkage;
n3, obtaining the coordinates of the first initial vertex and the second initial vertex, calculating the length of a second straight line connected between the first initial vertex and the second initial vertex according to the obtained coordinates of the first initial vertex and the second initial vertex, and marking asThe second straight line is used as the waist of the isosceles triangle to be contracted;
n4, in absolute valueAs an isosceles triangle to be contracted and according to the length of the second straight lineAnd coordinates of the first initial vertex and the second initial vertex, calculating a base length of the isosceles triangle to be contracted;Is of the meter(s)The calculation is simple mathematical operation, and the specific calculation process is not described;
N5, shrinking the first initial vertex toward another adjacent vertex adjacent to the second initial vertexDistance, obtain the contraction point;
N6, the first initial vertex, the second initial vertex and the contraction pointThe enclosed isosceles triangle is removed.
In conclusion, the invention is achieved byValue and areaThe mapping relation between the two land parcel measuring models can be quickly solved based on the mapping relationThen by polygonal for each virtual spaceCorresponding area prediction valueSumming and taking the sum valueTo verify the first land parcel survey pattern to obtainThe value being obtained by solving independent variablesThe value isBy the verification mode, the accuracy of mu measurement of the convex polygon area is greatly improved. Moreover, only the mu measurement result of the convex polygon area needs to be obtained when the mu measurement result is predictedValue sumAnd the value is achieved, the area division of the convex polygon areas is not needed, the area calculation and summation are respectively carried out on each divided area, the calculation speed is greatly improved, and the method is particularly suitable for scenes in which the prediction of measuring mu is carried out on a plurality of convex polygon areas with different shapes at the same time.
It should be understood that the above description is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be apparent to those skilled in the art that various modifications, equivalents, variations, and the like can be made to the present invention. However, such modifications are intended to fall within the scope of the present invention without departing from the spirit of the present invention. In addition, some terms used in the specification and claims of the present application are not limiting, but are merely for convenience of description.
Claims (10)
1. The real-time accurate land area mu measurement and correction method is characterized by comprising the following steps:
s1, drawing a corresponding virtual convex polygon of a convex polygon area determined on a land block to be measured
S3, calculatingCalculating the difference DV between the two areas of one mu, and calculating the absolute value of the difference DV, and recording the absolute value as AVD;
s4, judging whether the difference DV is negative,
if yes, the area expansion flow is switched to;
if not, turning to an area contraction flow;
the area expansion flow comprises the following steps:
m1, calculating the virtual convex polygonEach vertex p on k Deviation of->The calculation method is expressed by the following formula (15): />
In the formula (15), L k-r Representing vertex p k To the virtual convex polygonOther vertices p on r A linear distance therebetween;
m2, select the degree of deviationThe vertex with the smallest value is taken as an extension initial vertex p k1 And will be in contact with p k1 The vertex with relatively small deviation degree of two adjacent vertexes serves as an extension initial vertex p k2 Then obtain p k1 、p k2 The coordinates of the vertices are marked +.>
M3 according to the coordinatesCalculating the connection p k1 And p k2 The length of the first line of the apex, denoted L k ;
M4, according to absolute values AVD, L k Calculating the values from p k1 、p k2 The apex being connected at p perpendicularly to k1 And p k2 The height h of two extension lines extending in the direction of the first straight line between the vertexes 1 So that p k1 Vertex, slave p k1 Termination point p of vertex extension k1 ' from p k2 Termination point p of vertex extension k2 '、p k2 The area of a rectangle formed by enclosing between 4 points of the vertex is equal to the absolute value AVD solved in the step S3; the area contraction flow comprises the following steps:
n1, calculating the virtual convex polygonEach vertex p on k Deviation of->The calculation is expressed by the following formula (16): />
In the formula (16), L k-r Representing vertex p k To the virtual convex polygonThe upper vertex p r A linear distance therebetween;
n2, select degree of deviationThe vertex p with the greatest value k As a first initial vertex of area contraction, and selecting said virtual convex polygon ++>Any one of a first adjacent vertex and a second adjacent vertex adjacent to the first initial vertex is taken as a second initial vertex with area shrinkage;
n3, obtaining the coordinates of the first initial vertex and the second initial vertex, calculating the length of a second straight line connected between the first initial vertex and the second initial vertex according to the obtained coordinates of the first initial vertex and the second initial vertex, and marking as L R The second straight line is used as the waist of an isosceles triangle to be contracted;
n4, taking the absolute value AVD as the area of the isosceles triangle to be contracted, and according to the length L of the second straight line R The coordinates of the first initial vertex and the second initial vertex calculate the bottom length w of the isosceles triangle to be contracted;
n5, shrinking the first initial vertex by w distance to the direction of another adjacent vertex which is not used as the second initial vertex and is adjacent to the first initial vertex, and obtaining a shrinking point p Shrinkage of ;
N6, the first initial vertex, the second initial vertex and the contraction point p Shrinkage of Removing the enclosed isosceles triangle; s5, expanding the areaThe virtual convex polygon after expansion or contractionMapping to the convex polygon area after area expansion or contraction under the physical space.
2. The method for real-time accurate acre measurement and correction of land parcels according to claim 1, wherein in step S2, the virtual convex polygon is calculated by the following method stepsArea of->
L1, for the virtual convex polygonPerforming similarity matching with each virtual convex polygon in the virtual convex polygon database,
if the matching is successful, the step L2 is carried out;
If the matching fails, terminating the mu measuring flow of the convex polygon area;
l2, the virtual convex polygonDiscretized into a plurality of virtual space polygons>Then the virtual convex polygon is obtained +.>Corresponding L 1 -n data pairs and obtaining each of said virtual space polygons +.>Corresponding L 2 -m data pairs, L 1 N respectively represent the virtual convex polygon +.>Central site O of (2) 1 The distance average value and the number of the vertexes; l (L) 2 M represents each of said virtual space polygons +.>Central site O of (2) 2 The distance average value and the number of the vertexes;
l3, L 1 Inputting the data into a first land block mu measuring model corresponding to n, outputting a corresponding y value by the model, and recording the y value asWill L 2 Inputting the measured area model into a second land block corresponding to m, outputting a corresponding y value by the model, and marking the y value as +.>
L4, the pair is opposite to the virtual convex polygonEach of said virtual space polygons having a discrete relationship +.>Corresponding area prediction value +.>Summing to obtain a sum +.>
L5, judging the sum valueAnd->Whether the absolute value of the difference is smaller than a preset first difference threshold,
3. The method for real-time accurate acre measurement and correction of land parcels according to claim 2, wherein in step L2, the virtual convex polygon is obtainedCorresponding to the L 1 The method steps of the n data pairs include:
a1, respectively installing a distance sensor at each vertex of the convex polygon area, and recording the coordinates of each installation position under an XY axis coordinate system, which are respectively marked as (x) 1 ,y 1 ),(x 2 ,y 2 ),…,(x n ,y n ) N represents the number of vertices of the convex polygon area, and then the corresponding points of the convex polygon area are drawn on a computer according to the recorded coordinatesThe virtual convex polygon
A2, according to the virtual convex polygonCalculating the coordinates of each vertex of the virtual convex polygon ++>Is defined by the central site O of (2) 1 The coordinates in the XY-axis coordinate system are denoted as (x o1 ,y o1 ) Then calculate the central site O 1 And the virtual convex polygon where it is located ≡>The average value of the distance between each vertex is denoted as L 1 Thereby obtaining the L 1 -n data pairs.
4. The method for real-time accurate acre measurement and correction of land parcels according to claim 3, wherein each virtual space polygon is obtained Corresponding to the L 2 The method of m data pairs further comprises, on the basis of steps A1-A2:
a3, for the virtual convex polygonEqually dividing each side of (2) and calculating each equally dividing point +.>Coordinates in the XY-axis coordinate system, and +.>And the central site O 1 After connecting the lines, the virtual convex polygonDiscretized into a plurality of virtual space polygons>
A4, calculating each virtual space polygonEach vertex coordinate on the model is respectively marked asm represents the virtual space polygon +.>Is the number of vertices of (a);
a5, according to the virtual space polygonCoordinates of each vertex on the virtual space polygon are calculatedIs defined by the central site O of (2) 2 The coordinates in the XY-axis coordinate system are denoted as (x o2 ,y o2 ) Then calculate the central site O 2 And the virtual space polygon where it is located +.>The average value of the distance between each vertex is denoted as L 2 Thereby obtaining the association of each of said virtual space polygons +.>Is not less than the L 2 -m data pairs.
5. The method for real-time accurate land parcel measurement and correction according to claim 4, wherein in step L3, the method steps of constructing the first land parcel measurement model and the second land parcel measurement model include:
C1, obtaining virtual convex polygons which are respectively corresponding to a plurality of convex polygon areas with different shapes and are determined on a land block with measured acreAssociated +.>Data pair, wherein->Representing the virtual convex polygonIs a real area of (2);
c2, each virtual convex polygonDiscretized into a plurality of virtual space polygons>Then obtaining +/for each said virtual convex polygon>Each of said virtual space polygons having a discrete relationship +.>Corresponding toData pair (s)/(s)>Representing the virtual space polygon ++>Is a real area of (2);
c3, acquiring the first land block acre measurement model and the second land block acre measurement model which correspond to n and m respectively;
c4, in several formsL in data pair 1 As an argument +.>Solving the first land block acre measurement model for the dependent variable to obtain a first parameter value of a first acre measurement parameter; by several-> L in data pair 2 As an argument +.>Solving the second land block acre measurement model for the dependent variable to obtain a first parameter value of a second acre measurement parameter;
c5, substituting the first parameter values of the first acre measuring parameters and the second acre measuring parameters into the first land block acre measuring parameters respectivelyIn the model and the second land parcel measuring model, each virtual convex polygon is obtained Corresponding L 1 The value is input into the first land parcel measuring model, the model outputs a corresponding y value which is recorded as +.>And each of said virtual space polygons +.>Corresponding L 2 The value is input into the second land parcel acre measuring model, the model outputs a corresponding y value which is recorded as/>
C6, judging eachThe value corresponds to the true value +.>Whether the absolute value of the difference is smaller than a preset second difference threshold,
if yes, the input-output data pair L of the first land parcel measuring model in the step C5 is stored 1 -Adding the first fitting point set as a fitting point;
Simultaneously judging each of theThe value corresponds to the true value +.>Whether the absolute value of the difference is smaller than a preset third difference threshold,
if yes, the input and output data pair of the second land parcel measuring model in the step C5 is stored Added as fitting points to the second set of fitting points,
C7, opposite to the virtual convex polygonEach of said virtual space polygons having a discrete relationship +.>Corresponding model predictive value +.>Summing to obtain a sum +.>
C8, judging the sum valueSaid virtual convex polygon having a discrete relationship therewith ++ >Area true value +.>Whether the absolute value of the difference is smaller than a preset fourth difference threshold,
if yes, go to step C9,
if not, filtering the virtual convex polygon from the first fitting point setSaid input/output data pair having an association relationship +.>And filtering the virtual convex polygon from the second fitting point setSaid input/output data pair having an association relationship +.>
C9, fitting each fitting point in the first fitting point set and the second fitting point set respectively through an interpolation method of a Lagrangian interpolation polynomial to obtain a first fitting curve corresponding to the first fitting point set and a second fitting curve corresponding to the second fitting point set;
c10, solving second parameter values of the first acre measuring parameters of the first land parcel acre measuring model according to the first fitting curve, and solving second parameter values of the second acre measuring parameters of the second land parcel acre measuring model according to the second fitting curve;
and C11, updating and correcting second parameter values of the first acre measurement parameters and the second acre measurement parameters, and substituting the updated second parameter values into the corresponding first land parcel acre measurement model or the second land parcel acre measurement model to complete the construction of the first land parcel acre measurement model and the second land parcel acre measurement model.
6. The method for real-time accurate acre measurement and correction of land parcels according to claim 5, wherein the following steps are continuously performed after the step A5 to solve the virtual space polygonArea of->
A6, for the virtual convex polygonTwo of said bisection points +.>After direct connection, each virtual space polygon is +.>Further discretizing into several virtual triangles, denoted +.>/>
7. The method for real-time accurate acre measurement and correction of land parcels of claim 6, wherein the following steps are continued after step A7 to solve for the virtual convex polygonArea of->
8. The method for real-time accurate measurement and correction of land parcels according to claim 5, wherein in step C3, when n=6, the obtained first land parcels measurement model corresponding to n is expressed by the following formula (1):
y=a 1 x n +b 1 x n-1 +c 1 x n-2 +d 1 x n-3 +e 1 x n-4 +f 1 x n-5 +K 1 Formula (1)
When n=5, the obtained first land parcel measuring model corresponding to n is expressed by the following formula (2):
y=a 2 x n +b 2 x n-1 +c 2 x n-2 +d 2 x n-3 +e 2 x n-4 +K 2 formula (2)
When n=4, the obtained first land parcel measuring model corresponding to n is expressed by the following formula (3):
y=a 3 x n +b 3 x n-1 +c 3 x n-2 +d 3 x n-3 +K 3 formula (3)
In the formulas (1) - (3), a 1 、b 1 、c 1 、d 1 、e 1 、f 1 、K 1 、a 2 、b 2 、c 2 、d 2 、e 2 、K 2 、a 3 、b 3 、c 3 、d 3 、K 3 Solving each first acre measuring parameter for the parameter value to be calculated;
m=4, and the obtained second land parcel acre measurement model corresponding to m is expressed by the following formula (4):
y=a 4 x m +b 4 x m-1 +c 4 x m-2 +d 4 x m-3 +K 4 formula (4)
In the formula (4), a 4 、b 4 、c 4 、d 4 、K 4 Solving for the parameter values to be madeAnd the second acre measurement parameter.
9. The method for real-time accurate land parcel measurement and correction according to claim 5, wherein in step C9, the method for fitting the first fitting curve or the second fitting curve by using the interpolation method of the lagrangian interpolation polynomial is expressed by the following formula (5):
in formula (5), q represents the q-th fitting point in the first fitting point set or the second fitting point set;
q represents the number of fitting points in the first fitting point set or the second fitting point set;
y q the y value which is predicted and output by the first land parcel measuring model or the second land parcel measuring model according to the input q fitting point is represented;
l q (x represents a lagrangian basis function expressed by the following expression (6):
x q 、x p the L value of the q-th fitting point and the p-th fitting point in the first fitting point set or the second fitting point set is L 1 Value or L 2 Values.
10. The method for real-time accurate measurement and correction of land parcels according to claim 5, wherein in step C11, the method for updating and correcting the second parameter value of each of the first measurement parameters comprises the steps of:
d1, calculating parameter solving error E 1 The calculation method is expressed by the following formula (7):
in the formula (7), par 1 C4, a first parameter value of the first acre measurement parameter obtained by solving in the step is represented;
Par 2 c10, obtaining a second parameter value of the same first mu measuring parameter by solving;
d2, predicted for step C5Calculating a prediction error E 2 The calculation method is expressed by the following formula (8):
d3, judge E 1 Whether or not to follow E 2 Is increased by the increase of (a),
if yes, correcting a second parameter value of the first mu measuring parameter by the following formula (9):
Par 2 '=(1-E 1 )Par 2 formula (9)
If not, correcting the second parameter value of the first acre measurement parameter by the following formula (10):
Par 2 '=(1+E 1 )Par 2 formula (10)
In formulas (9) - (10), par 2 ' a second parameter value representing the corrected first acre measurement parameter;
In step C11, the method for updating and correcting the second parameter value of each second acre measurement parameter includes the steps of:
f1, calculating parameter solving error E 3 The calculation method is expressed by the following formula (11):
in the formula (11), par 3 C4, representing the first parameter value of the second mu measuring parameter obtained by solving in the step;
Par 4 c10, obtaining a second parameter value of the same second mu measuring parameter by solving;
f2, for each of the predictions calculated in step C5Calculating a prediction error mean mv, wherein the calculation method is expressed by the following formula (12):
in the formula (12), E i Representing the virtual convex polygonI th said virtual space polygon +.>Is a prediction error of the area of (2);
f3, judge E 3 Whether or not to increase with increasing mv,
if yes, correcting a second parameter value of the second acre measurement parameter by the following formula (13):
Par 4 '=(1-E 3 )Par 4 formula (13)
If not, correcting a second parameter value of the second acre measurement parameter by the following formula (14):
Par 4 '=(1+E 3 )Par 4 formula (14)
Par in formulas (13) - (14) 4 ' represents a second parameter value of the corrected second acre measurement parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211229682.4A CN115511947B (en) | 2022-10-09 | 2022-10-09 | Real-time accurate acre measurement and correction method for land parcels |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211229682.4A CN115511947B (en) | 2022-10-09 | 2022-10-09 | Real-time accurate acre measurement and correction method for land parcels |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115511947A CN115511947A (en) | 2022-12-23 |
CN115511947B true CN115511947B (en) | 2023-06-09 |
Family
ID=84508809
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211229682.4A Active CN115511947B (en) | 2022-10-09 | 2022-10-09 | Real-time accurate acre measurement and correction method for land parcels |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115511947B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109883320A (en) * | 2019-01-22 | 2019-06-14 | 湖南土流信息有限公司 | A kind of Land area measure method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002298146A (en) * | 2001-04-02 | 2002-10-11 | Fujitsu General Ltd | Polygonal area calculating method |
JP4501479B2 (en) * | 2004-03-18 | 2010-07-14 | カシオ計算機株式会社 | Polygon model simplification method, image processing apparatus, image drawing apparatus, and program |
US8508533B2 (en) * | 2011-09-28 | 2013-08-13 | Palantir Technologies, Inc. | Simplifying a polygon |
CN106127820A (en) * | 2016-06-30 | 2016-11-16 | 北京合众思壮科技股份有限公司 | The area of a kind of irregular terrain profiles determines method and device |
CN106568412A (en) * | 2016-11-09 | 2017-04-19 | 无锡汉和航空技术有限公司 | Area measurement method for irregularly-shaped plot |
CN108332652B (en) * | 2018-01-15 | 2019-11-05 | 中国农业大学 | A kind of farmland working area metering method and device |
-
2022
- 2022-10-09 CN CN202211229682.4A patent/CN115511947B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109883320A (en) * | 2019-01-22 | 2019-06-14 | 湖南土流信息有限公司 | A kind of Land area measure method and system |
Also Published As
Publication number | Publication date |
---|---|
CN115511947A (en) | 2022-12-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106204557A (en) | A kind of extracting method of the non-complete data symmetrical feature estimated with M based on extension Gaussian sphere | |
CN106709943B (en) | A kind of point cloud registration method based on optimal transmission | |
CN110838145B (en) | Visual positioning and mapping method for indoor dynamic scene | |
CN111369607A (en) | Prefabricated part assembling and matching method based on picture analysis | |
CN113777931B (en) | Icing wing type pneumatic model construction method, device, equipment and medium | |
Rouhani et al. | Implicit polynomial representation through a fast fitting error estimation | |
CN113468706A (en) | Laser point cloud power transmission line lead fitting method for distribution network live working robot | |
CN112033338A (en) | Blade curved surface contact type scanning measurement probe radius surface compensation method | |
CN113570722A (en) | Surrounding rock crack information extraction and integrity coefficient rapid determination method | |
CN115511947B (en) | Real-time accurate acre measurement and correction method for land parcels | |
CN114323536A (en) | Interpolation method for improving measurement precision of five-hole probe | |
CN109446614A (en) | A kind of discrimination method and device of static reactive model parameter | |
CN114937184A (en) | Training method and device for cardiac coronary vessel naming model and electronic equipment | |
CN112153564B (en) | Efficient multi-hop positioning method based on combination of centralized and distributed computing | |
CN115235439B (en) | Land parcel mu measuring method based on grid division and data correction | |
CN110046412B (en) | Circular grating angle measurement error correction method based on optimized BP neural network | |
CN106695796A (en) | Portable laser scanning measuring arm hand-eye calibration method based on RANSAC | |
CN112991300B (en) | Single wood skeleton extraction and visualization method based on neighborhood characteristics | |
Al-Anssari et al. | Three-dimensional laplacian spatial filter of a field of vectors for geometrical edges magnitude and direction detection in point cloud surfaces | |
CN113393507A (en) | Unmanned aerial vehicle point cloud and ground three-dimensional laser scanner point cloud registration method | |
CN111765889A (en) | Pose positioning method of mobile robot in production workshop based on multi-cell-ellipsoid dual-filtering | |
CN113029049A (en) | Complex workpiece optical measurement method based on weighted positive and negative margin variance minimization algorithm | |
CN111210877A (en) | Method and device for deducing physical property parameters | |
CN116309641B (en) | Image area acquisition system | |
CN106570864A (en) | Quadratic curve fitting method based on geometric error optimization in image |
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 |