CN115164766B - Intelligent measuring device and measuring method for irregular patterns in gardens - Google Patents
Intelligent measuring device and measuring method for irregular patterns in gardens Download PDFInfo
- Publication number
- CN115164766B CN115164766B CN202210671596.2A CN202210671596A CN115164766B CN 115164766 B CN115164766 B CN 115164766B CN 202210671596 A CN202210671596 A CN 202210671596A CN 115164766 B CN115164766 B CN 115164766B
- Authority
- CN
- China
- Prior art keywords
- area
- control unit
- central control
- irregular
- contour
- 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
- 230000001788 irregular Effects 0.000 title claims abstract description 126
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004364 calculation method Methods 0.000 claims abstract description 30
- 238000005259 measurement Methods 0.000 claims abstract description 26
- 238000000691 measurement method Methods 0.000 claims abstract description 4
- 239000000284 extract Substances 0.000 claims description 3
- 238000010413 gardening Methods 0.000 claims 2
- 238000010276 construction Methods 0.000 abstract description 23
- 238000012423 maintenance Methods 0.000 abstract description 21
- 238000012545 processing Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/24—Measuring arrangements characterised by the use of optical techniques for measuring contours or curvatures
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Image Analysis (AREA)
Abstract
The invention relates to the technical field of intelligent measurement of irregular figures in gardens, in particular to an intelligent measurement device and a measurement method thereof for irregular figures in gardens, wherein an image acquisition unit, a central control unit and a storage unit are arranged in the device; the central control unit controls the image acquisition unit to acquire the graphics of the garden to be measured and intelligently divide the whole and part of the garden according to the acquired images, and performs secondary region division and region merging if necessary, so that the problem of low manual measurement efficiency is effectively solved, and the measurement time is saved; the central control unit performs regular division and area calculation on each area of the garden to be measured and controls the storage unit to store related information, so that the problems that follow-up calculation is inaccurate and calculation data are inconsistent with actual data due to large measurement errors in the past can be effectively solved, the use efficiency of the garden measuring device in the garden construction or maintenance process is effectively improved, and the greening quality of the garden is further improved.
Description
Technical Field
The invention relates to the technical field of intelligent measurement of irregular figures in gardens, in particular to an intelligent measurement device and a measurement method for irregular figures in gardens.
Background
Afforestation measurement is closely related to life of people, plays an important role in building and garden design, and occupies an important position in garden engineering construction from planning design to completion acceptance, and penetrates through the whole construction process and the using process of subsequent gardens. With the development of socioeconomic performance, the continuous improvement of the technology level accelerates the progress of engineering measurement.
The basic principle of measurement is that 'from whole to local, control is firstly carried out on the part after crushing', and the quality of landscaping is directly influenced by the height and accuracy of measurement precision, so that the improvement of measurement accuracy is that of the landscaping.
The existing measurement mode is to measure by using a related measurement tool manually, so that the measurement mode is influenced by weather, geographical environment and human factors to cause large measurement errors, the measurement efficiency is low, and data provided for subsequent calculation is not accurate enough to cause that the data of the subsequent calculation is inconsistent with actual data.
Disclosure of Invention
Therefore, the invention provides an intelligent measuring device for a garden irregular pattern and a measuring method thereof, which are used for solving the problem of low measuring accuracy in the prior art.
In order to achieve the above purpose, the invention provides a garden irregular figure intelligent measuring tool and a measuring method thereof, comprising the following steps of;
Step s1, a central control unit controls an image acquisition unit to acquire image information of a garden area to be detected, and after the acquisition is completed, the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas;
step s2, the central control unit sequentially determines the outline characteristics of each region and extracts the object characteristics in each region respectively to determine whether the corresponding region can be further divided;
Step s3, the central control unit respectively measures the overall size of each region when the division of each region is completed, and the overall size of each region comprises the overall length and the overall width; the central control unit detects whether an irregular contour exists in a single area when the measurement of the whole size of the single area is completed, and measures the specific size of the contour when the irregular contour exists in the area;
step s4, the central control unit calculates the area of each area in turn, and for a single area, the central control unit directly calculates the area of the area when the area contour is a regular contour, divides the area into a plurality of secondary areas with regular contours when the area contour is an irregular contour, and calculates the area of each secondary area in turn to calculate the area of the area;
And step s5, when the central control unit finishes measuring the size of each area and calculating the area of each area in the park area, the central control unit transmits the measured data and the calculated data to the storage unit.
Further, in the step s1, when the central control unit divides the garden area to be measured, the central control unit detects whether a boundary feature exists in the image information of the garden area, if so, the central control unit divides the garden area to be measured in the image information into a plurality of areas according to the boundary feature and sequentially determines whether to further divide each area according to the object feature in each area; for a single area, if a plurality of item characteristic information exists in the area and the item characteristic information is connected in sequence, the central control unit can divide the area further according to the item characteristic information;
If the boundary features do not exist, the central control unit collects article feature information in the image information and divides a garden area to be measured in the image information into a plurality of areas according to the article feature information.
Further, in the step s3, when the central control unit measures the overall size of each area, the central control unit controls the image acquisition unit to measure the overall length and width of the garden area and the length and width of each area, respectively, and the central control unit counts the data and transmits the data to the storage unit; when the central control unit measures the size of a single area, the central control unit detects the boundary contour of the area and divides the contour into a plurality of contour groups, and if the single contour group exists, the contour in the contour group is an irregular contour, and the central control unit measures the specific size of the contour in the contour group.
Further, when the central control unit divides the contour of the single region boundary into a plurality of contour groups, the central control unit sequentially determines whether each contour group is a regular contour group, and for a single contour group,
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are irregular patterns, the central control unit primarily judges that the profile group is an irregular profile group, marks the profile group and secondarily judges whether the profile group is an irregular profile group or not;
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are regular patterns, the central control unit judges that the profile group is a regular profile group;
And when the central control unit finishes the judgment of each contour group in a single region, the central control unit counts the number of the irregular contour groups in the region and marks each irregular contour group.
Further, when the central control unit preliminarily determines that a single contour group is an irregular contour group, the central control unit controls the image acquisition unit to measure whether the inner contour of the contour group contains curves,
If the profile group does not contain curves, the central control unit judges that the profile group is a regular profile group;
If the profile group contains curves, the central control unit controls the image acquisition unit to divide the curves into a plurality of curve sections and sequentially measure and count the diameters of circles where the circular arcs in the curve sections are located, and if the diameters of the circles where the circular arcs in the curve sections are located are the same, the central control unit judges that the profile group is a regular profile group; if the diameters of the circles where the circular arcs in the sections in the profile group are located are different, the central control unit judges that the profile group is an irregular profile group.
Further, when the central control unit calculates the area of each region of the garden, if each profile group in the region is a regular profile group, the central control unit directly calculates the area of the region according to the specific data recorded in the storage unit and the area formula of the shape selected by the central control unit, wherein the specific data is the specific data of the region and the shape is the specific data;
if the irregular contour group exists in the area, the central control unit regularly divides the area to form a plurality of secondary areas, and the central control unit calculates the area of each secondary area in sequence after division is completed to obtain the total area of the area.
Further, when the central control unit regularly divides a single region to form a plurality of secondary regions,
If the outline of each secondary area is a regular outline, the central control unit controls the image acquisition unit to measure specific data of the outline of each secondary area and store the specific data into the storage unit, and the central control unit directly calculates the area of each secondary area according to the specific data of the area recorded in the storage unit and the area formula of the shape selected by the shape of each secondary area so as to obtain the total area of the area;
If the outline of the single secondary area is an irregular outline, the central control unit judges the outline as an irregular secondary area, calculates the proportion B of the number of the irregular secondary areas in the area to the total number of the secondary areas in the area when the regularization division is finished, selects a corresponding calculation method according to the B to obtain the total area of the area, a first preset number duty ratio B1 and a second preset number duty ratio B2 are also arranged in the central control unit,
If B is less than or equal to B1, the central control unit complements each irregular secondary region and sequentially calculates the total area of the complemented region and the area required by the complemented region to obtain the actual area S of the region, and s=sb-Sa is set, wherein Sb is the total area of the complemented region, and Sa is the area used for complementing the region;
If B1 is more than B and less than or equal to B2, the central control unit complements each irregular secondary region, calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary region and the area of the region, and redetermines the calculation mode of the area of the region according to the Bs;
if B > B2, the central control unit cannot divide the area into two-level areas with a plurality of regular outlines, the central control unit cannot calculate the area of the area, and the area and the adjacent area are combined to determine whether a regular merging area can be formed.
Further, when B1 is smaller than B and smaller than or equal to B2, the central control unit complements each irregular secondary area and calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary area and the area of the area, a first preset area occupation ratio Bs1 and a second preset area occupation ratio Bs2 are also arranged in the central control unit,
If Bs is less than or equal to Bs1, the central control unit sequentially calculates the total area of the region after completion and the area required by the region after completion to obtain the actual area S of the region;
If Bs1 is more than or equal to Bs2, the central control unit sequentially combines each irregular secondary region with the secondary regions adjacent to the irregular secondary region to judge whether a regular secondary combined region can be formed or not;
If Bs > Bs2, the central control unit cannot determine the area of the region by dividing the region into a plurality of secondary regions of regular outline, and combine the region with the regions adjacent thereto to determine whether a regular combined region can be formed.
Further, when the central control unit judges whether the two-level merging area after two-level merging is a regular two-level merging area or not according to the irregular two-level area and the two-level area adjacent to the irregular two-level area or whether the merging area after merging is a regular merging area or not according to the irregular area and the two-level area adjacent to the irregular two-level area,
If the contour of the merging area or the secondary merging area is a regular contour, the central control unit judges that the irregular area and the adjacent area can be merged into a regular merging area or the irregular secondary area and the adjacent secondary area can be merged into a regular secondary merging area, and calculates specific contour data of the merging area or the secondary merging area and selects a corresponding area formula according to the contour shape of the merging area or the secondary merging area to directly calculate the area of the merging area or the secondary merging area;
if the areas cannot be combined into the regular combined areas, the central control unit establishes a rectangular coordinate system for the areas, and the areas of the irregular areas are calculated by using integral.
Further, the intelligent measuring device for the irregular figure of the garden in the intelligent measuring method for the irregular figure of the garden comprises the following components:
The image acquisition unit is used for measuring the whole length and width and the local length and width of the garden area to be measured and is connected with the central control unit;
The central control unit is used for receiving the garden image information, the whole garden size and the whole area size measured by the image acquisition unit; the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas and sequentially determines whether the outline of each area is a regular outline, and after the judgment is finished, whether each area is divided into a plurality of secondary areas with regular outlines is selected according to the judgment result and the area of each secondary area is sequentially calculated to calculate the area of the area; the central control unit is connected with the image acquisition unit and the storage unit;
And the storage unit is used for storing the image information and the size data of each region measured by the image acquisition unit and making backup for the data required by calculating the whole area or the region area.
Compared with the prior art, the intelligent measuring method for the irregular figure of the garden has the beneficial effects that by using the intelligent measuring method for the irregular figure of the garden, the image information of the garden area to be measured is collected by the image collecting unit controlled by the central control unit, and the corresponding characteristic points in the whole garden are divided into a plurality of areas by the image information, so that the whole garden and the part of the garden can be intelligently divided, the problem of low manual measuring efficiency is effectively solved, and the measuring time is saved; meanwhile, the invention uses the central control unit to regularly divide each area of the garden to be measured and calculate the area and control the storage unit to store the related information, so that the problems of inaccurate subsequent calculation and inconsistent calculation data and actual data caused by large measurement errors in the past can be effectively solved, and the use efficiency of the garden measuring device in the garden construction or maintenance process is effectively improved, thereby further improving the greening quality of the garden.
Furthermore, the central control unit detects whether the image information of the garden area to be detected has boundary characteristics or object characteristics and divides the whole garden into areas according to the boundary characteristics or the object, so that the whole garden can be rapidly and accurately regionalized, the condition of low manual measurement efficiency is effectively avoided, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Further, when the central control unit measures the length and the width of each area, the central control unit detects the outline of each area, divides the outline into a plurality of outline groups and detects whether a single outline group exists to judge whether the outline group is a regular outline group, so that the whole garden can be rapidly and accurately regionalized, the condition of low manual measurement efficiency is effectively avoided, sufficient data information is provided for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Furthermore, the central control unit judges whether the contour of each contour group is a regular pattern or not and selects a corresponding processing mode according to a judging result, the contour pattern of the contour group is accurately judged in a targeted manner, accurate data information can be provided for a subsequent calculation area, the use efficiency of the garden measuring device in a garden construction or maintenance process is improved, and meanwhile, the greening quality of a garden is further improved.
Furthermore, the central control unit judges whether the corresponding profile group is a regular profile group according to the comparison of the diameters according to whether the profile of each profile group contains a curve and measures the diameter of the circle where the circular arc is located in the curve section, the profiles of the profile groups are accurately measured in a targeted manner, the intelligent comparison can provide accurate data information for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Further, after the central control unit judges whether the contour of each contour group is a regular contour group or not, if so, the area of the contour can be directly calculated, and if so, the contour group is further divided, and corresponding processing modes are selected for each type of contour group in a targeted manner, so that accurate data information can be provided for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Further, the central control unit divides the irregular contour group into a plurality of secondary areas, the area is directly calculated aiming at the regular contour of the secondary areas, the ratio of the number of the irregular secondary areas existing in the area to the total number of the secondary areas in the area is calculated aiming at the irregular contour of the secondary areas, and the ratio of the total number of the irregular secondary areas to the ratio of the total number of the secondary areas in the area is preset, and the corresponding processing mode is selected according to the range of the B, so that accurate data information can be provided for the follow-up calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of gardens is further improved.
Further, when B1 is smaller than B and smaller than or equal to B2, the central control unit complements each irregular secondary area, calculates the occupied area of each complemented irregular secondary area, compares the occupied area of each complemented irregular secondary area with the occupied area of the area with the preset area occupied ratio arranged in the central control unit, selects a corresponding processing mode according to the range of Bs, can provide accurate data information for the follow-up calculated area, improves the use efficiency of the garden measuring device in the garden construction or maintenance process, and further improves the greening quality of gardens.
Further, when the central control unit judges that the area is required to be combined with the adjacent area or the adjacent secondary area according to the scope of the Bs, the corresponding area calculation mode is selected according to whether the areas can be combined, so that sufficient preparation work can be provided for calculating the areas, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Further, the intelligent measuring device for the irregular figure of the garden, which is provided by the invention, comprises an image acquisition unit, a central control unit and a storage unit; the central control unit controls the image acquisition unit to acquire image information of the whole garden to be detected, and stores acquired information and data into the storage unit, so that backup is made for the data of the area and the whole area of the subsequent calculation area, sufficient preparation work can be provided for the calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Drawings
FIG. 1 is a flow chart of a garden irregular figure intelligent measuring device and a measuring method thereof according to the invention;
fig. 2 is a block diagram of the intelligent measuring device and the measuring method for the irregular figure in gardens.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Please refer to fig. 1, which is a flow chart of a garden irregular pattern intelligent measuring device and a measuring method thereof.
Step s1, a central control unit controls an image acquisition unit to acquire image information of a garden area to be detected, and after the acquisition is completed, the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas;
step s2, the central control unit sequentially determines the outline characteristics of each region and extracts the object characteristics in each region respectively to determine whether the corresponding region can be further divided;
Step s3, the central control unit respectively measures the overall size of each region when the division of each region is completed, and the overall size of each region comprises the overall length and the overall width; the central control unit detects whether an irregular contour exists in a single area when the measurement of the whole size of the single area is completed, and measures the specific size of the contour when the irregular contour exists in the area;
step s4, the central control unit calculates the area of each area in turn, and for a single area, the central control unit directly calculates the area of the area when the area contour is a regular contour, divides the area into a plurality of secondary areas with regular contours when the area contour is an irregular contour, and calculates the area of each secondary area in turn to calculate the area of the area;
And step s5, when the central control unit finishes measuring the size of each area and calculating the area of each area in the park area, the central control unit transmits the measured data and the calculated data to the storage unit.
Compared with the prior art, the intelligent measuring method for the irregular figure of the garden has the beneficial effects that by using the intelligent measuring method for the irregular figure of the garden, the image information of the garden area to be measured is collected by the image collecting unit controlled by the central control unit, and the corresponding characteristic points in the whole garden are divided into a plurality of areas by the image information, so that the whole garden and the part of the garden can be intelligently divided, the problem of low manual measuring efficiency is effectively solved, and the measuring time is saved; meanwhile, the invention uses the central control unit to regularly divide each area of the garden to be measured and calculate the area and control the storage unit to store the related information, so that the problems of inaccurate subsequent calculation and inconsistent calculation data and actual data caused by large measurement errors in the past can be effectively solved, and the use efficiency of the garden measuring device in the garden construction or maintenance process is effectively improved, thereby further improving the greening quality of the garden.
Specifically, in the step s1, when the central control unit divides the garden area to be measured, the central control unit detects whether or not there is a boundary feature in the image information of the garden area,
If the boundary features exist, the central control unit divides the garden area to be measured in the image information into a plurality of areas according to the boundary features and sequentially judges whether to further divide each area according to the object features in each area; for a single area, if a plurality of item characteristic information exists in the area and the item characteristic information is connected in sequence, the central control unit can divide the area further according to the item characteristic information;
If the boundary features do not exist, the central control unit collects article feature information in the image information and divides a garden area to be measured in the image information into a plurality of areas according to the article feature information.
The central control unit detects whether the image information of the garden area to be detected has boundary characteristics or object characteristics and divides the whole garden into areas according to the boundary characteristics or the object, so that the whole garden can be rapidly and accurately regionalized, the situation of low manual measurement efficiency is effectively avoided, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Specifically, in the step s3, when the central control unit measures the overall size of each area, the central control unit controls the image acquisition unit to measure the overall length and width of the garden area and the length and width of each area, respectively, and the central control unit counts the data and transmits the data to the storage unit; when the central control unit measures the size of a single area, the central control unit detects the boundary contour of the area and divides the contour into a plurality of contour groups, and if the single contour group exists, the contour in the contour group is an irregular contour, and the central control unit measures the specific size of the contour in the contour group.
When the central control unit measures the length and the width of each area, the central control unit detects the outline of each area, divides the outline into a plurality of outline groups and detects whether a single outline group exists to judge whether the outline group is a regular outline group, so that the whole garden can be rapidly and accurately regionalized, the condition of low manual measurement efficiency is effectively avoided, sufficient data information is provided for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Specifically, when the central control unit divides the contour of a single region boundary into a plurality of contour groups, the central control unit sequentially determines whether each contour group is a regular contour group, and for a single contour group,
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are irregular patterns, the central control unit primarily judges that the profile group is an irregular profile group, marks the profile group and secondarily judges whether the profile group is an irregular profile group or not;
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are regular patterns, the central control unit judges that the profile group is a regular profile group;
And when the central control unit finishes the judgment of each contour group in a single region, the central control unit counts the number of the irregular contour groups in the region and marks each irregular contour group.
The central control unit judges whether the contour of each contour group is a regular pattern or not and selects a corresponding processing mode according to the judging result, and the contour pattern of the contour group is accurately judged in a targeted manner, so that accurate data information can be provided for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Specifically, when the central control unit preliminarily determines that a single contour group is an irregular contour group, the central control unit controls the image acquisition unit to measure whether the inner contour of the contour group contains curves,
If the profile group does not contain curves, the central control unit judges that the profile group is a regular profile group;
If the profile group contains curves, the central control unit controls the image acquisition unit to divide the curves into a plurality of curve sections and sequentially measure and count the diameters of circles where the circular arcs in the curve sections are located, and if the diameters of the circles where the circular arcs in the curve sections are located are the same, the central control unit judges that the profile group is a regular profile group; if the diameters of the circles where the circular arcs in the sections in the profile group are located are different, the central control unit judges that the profile group is an irregular profile group.
According to the invention, the central control unit judges whether the corresponding profile group is a regular profile group according to the comparison of the diameters according to whether the profile of each profile group contains a curve and measures the diameter of the circle where the circular arc is located in the curve section, the profiles of the profile groups are accurately measured in a targeted manner, the intelligent comparison can provide accurate data information for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Specifically, when the central control unit calculates the area of each region of the garden, if each contour group in the region is a regular contour group, the central control unit directly calculates the area of the region according to an area formula of a corresponding shape selected by the specific data of the region recorded in the storage unit and the shape of the region;
if the irregular contour group exists in the area, the central control unit regularly divides the area to form a plurality of secondary areas, and the central control unit calculates the area of each secondary area in sequence after division is completed to obtain the total area of the area.
After the central control unit judges whether the contour of each contour group is a regular contour group or not, if the contour is the regular contour group, the area of the contour can be directly calculated, if the contour is the irregular contour group, the contour is further divided, corresponding processing modes are selected for various contour groups in a targeted manner, accurate data information can be provided for the subsequent calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of gardens is further improved.
In particular, when the central control unit regularly divides a single region to form a plurality of secondary regions,
If the outline of each secondary area is a regular outline, the central control unit controls the image acquisition unit to measure specific data of the outline of each secondary area and store the specific data into the storage unit, and the central control unit directly calculates the area of each secondary area according to the specific data of the area recorded in the storage unit and the area formula of the shape selected by the shape of each secondary area so as to obtain the total area of the area;
If the outline of the single secondary area is an irregular outline, the central control unit judges the outline as an irregular secondary area, calculates the proportion B of the number of the irregular secondary areas in the area to the total number of the secondary areas in the area when the regularization division is finished, selects a corresponding calculation method according to the B to obtain the total area of the area, a first preset number duty ratio B1 and a second preset number duty ratio B2 are also arranged in the central control unit,
If B is less than or equal to B1, the central control unit complements each irregular secondary region and sequentially calculates the total area of the complemented region and the area required by the complemented region to obtain the actual area S of the region, and s=sb-Sa is set, wherein Sb is the total area of the complemented region, and Sa is the area used for complementing the region;
If B1 is more than B and less than or equal to B2, the central control unit complements each irregular secondary region, calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary region and the area of the region, and redetermines the calculation mode of the area of the region according to the Bs;
if B > B2, the central control unit cannot divide the area into two-level areas with a plurality of regular outlines, the central control unit cannot calculate the area of the area, and the area and the adjacent area are combined to determine whether a regular merging area can be formed.
According to the invention, the central control unit divides the irregular contour group into a plurality of secondary areas, the area is directly calculated aiming at the regular contour of the secondary areas, the ratio of the number of the irregular secondary areas existing in the area to the total number of the secondary areas in the area is calculated aiming at the irregular contour of the secondary areas, and the ratio of the number of the irregular secondary areas to the preset ratio of the number of the secondary areas in the central control unit is compared, and the corresponding processing mode is selected according to the range of the B, so that accurate data information can be provided for the follow-up calculated area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of gardens is further improved.
Specifically, when B1 is smaller than B and smaller than or equal to B2, the central control unit complements each irregular secondary area and calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary area and the area of the area, a first preset area occupation ratio Bs1 and a second preset area occupation ratio Bs2 are also arranged in the central control unit,
If Bs is less than or equal to Bs1, the central control unit sequentially calculates the total area of the region after completion and the area required by the region after completion to obtain the actual area S of the region;
If Bs1 is more than or equal to Bs2, the central control unit sequentially combines each irregular secondary region with the secondary regions adjacent to the irregular secondary region to judge whether a regular secondary combined region can be formed or not;
If Bs > Bs2, the central control unit cannot determine the area of the region by dividing the region into a plurality of secondary regions of regular outline, and combine the region with the regions adjacent thereto to determine whether a regular combined region can be formed.
When B1 is smaller than B and smaller than or equal to B2, the central control unit complements each irregular secondary area, calculates the occupied area of each complemented irregular secondary area, compares the occupied area of each complemented irregular secondary area with the occupied area of the area with the preset area occupied ratio arranged in the central control unit, selects a corresponding processing mode according to the scope of Bs, can provide accurate data information for the follow-up calculated area, improves the use efficiency of the garden measuring device in the garden construction or maintenance process, and further improves the greening quality of gardens.
Specifically, when the central control unit determines whether the two-stage merging area obtained by performing two-stage merging on the irregular two-stage area and the two-stage area adjacent to the irregular two-stage area is a regular two-stage merging area or whether the merging area obtained by merging on the irregular area and the two-stage area adjacent to the irregular two-stage area is a regular merging area,
If the contour of the merging area or the secondary merging area is a regular contour, the central control unit judges that the irregular area and the adjacent area can be merged into a regular merging area or the irregular secondary area and the adjacent secondary area can be merged into a regular secondary merging area, and calculates specific contour data of the merging area or the secondary merging area and selects a corresponding area formula according to the contour shape of the merging area or the secondary merging area to directly calculate the area of the merging area or the secondary merging area;
if the areas cannot be combined into the regular combined areas, the central control unit establishes a rectangular coordinate system for the areas, and the areas of the irregular areas are calculated by using integral.
When the central control unit judges that the areas where the Bs are located are required to be combined with the adjacent areas or the adjacent secondary areas, the corresponding area calculation mode is selected according to the combination possibility, so that sufficient preparation work can be provided for calculating the areas, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Fig. 2 is a block diagram showing the intelligent measuring apparatus and the measuring method for irregular figures in gardens. The intelligent measuring device for the irregular figure in gardens comprises:
The image acquisition unit is used for measuring the whole length and width and the local length and width of the garden area to be measured and is connected with the central control unit;
The central control unit is used for receiving the garden image information, the whole garden size and the whole area size measured by the image acquisition unit; the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas and sequentially determines whether the outline of each area is a regular outline, and after the judgment is finished, whether each area is divided into a plurality of secondary areas with regular outlines is selected according to the judgment result and the area of each secondary area is sequentially calculated to calculate the area of the area; the central control unit is connected with the image acquisition unit and the storage unit;
And the storage unit is used for storing the image information and the size data of each region measured by the image acquisition unit and making backup for the data required by calculating the whole area or the region area.
With continued reference to fig. 2, the intelligent measuring device for the irregular figure in the garden, which is provided by the invention, comprises an image acquisition unit, a central control unit and a storage unit; the central control unit controls the image acquisition unit to acquire image information of the whole garden to be detected, and stores acquired information and data into the storage unit, so that backup is made for the data of the area and the whole area of the subsequent calculation area, sufficient preparation work can be provided for the calculation area, the use efficiency of the garden measuring device in the garden construction or maintenance process is improved, and meanwhile, the greening quality of the garden is further improved.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the invention; various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (6)
1. The intelligent measuring method for the irregular figure in the garden is characterized by comprising the following steps of:
Step s1, a central control unit controls an image acquisition unit to acquire image information of a garden area to be detected, and after the acquisition is completed, the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas;
step s2, the central control unit sequentially determines the outline characteristics of each region and extracts the object characteristics in each region respectively to determine whether the corresponding region can be further divided;
Step s3, the central control unit respectively measures the overall size of each region when the division of each region is completed, and the overall size of each region comprises the overall length and the overall width; the central control unit detects whether an irregular contour exists in a single area when the measurement of the whole size of the single area is completed, and measures the specific size of the contour when the irregular contour exists in the area;
step s4, the central control unit calculates the area of each area in turn, and for a single area, the central control unit directly calculates the area of the area when the area contour is a regular contour, divides the area into a plurality of secondary areas with regular contours when the area contour is an irregular contour, and calculates the area of each secondary area in turn to calculate the area of the area;
Step s5, when the central control unit finishes measuring the size of each area and calculating the area of each area in the park area, the central control unit transmits the measured data and the calculated data to the storage unit;
When the central control unit calculates the area of each region of the garden,
If each contour group in the area is a regular contour group, the central control unit directly calculates the area of the area according to the specific data recorded in the storage unit and the area formula of the corresponding shape selected by the shape of the area;
If the irregular contour group exists in the area, the central control unit regularly divides the area to form a plurality of secondary areas, and the central control unit calculates the area of each secondary area in sequence after dividing to obtain the total area of the area;
when the central control unit regularly divides a single region to form a plurality of secondary regions,
If the outline of each secondary area is a regular outline, the central control unit controls the image acquisition unit to measure specific data of the outline of each secondary area and store the specific data into the storage unit, and the central control unit directly calculates the area of each secondary area according to the specific data of the area recorded in the storage unit and the area formula of the shape selected by the shape of each secondary area so as to obtain the total area of the area;
If the outline of the single secondary area is an irregular outline, the central control unit judges the outline as an irregular secondary area, calculates the proportion B of the number of the irregular secondary areas in the area to the total number of the secondary areas in the area when the regularization division is finished, selects a corresponding calculation method according to the B to obtain the total area of the area, a first preset number duty ratio B1 and a second preset number duty ratio B2 are also arranged in the central control unit,
If B is less than or equal to B1, the central control unit complements each irregular secondary region and sequentially calculates the total area of the complemented region and the area required by the complemented region to obtain the actual area S of the region, and s=sb-Sa is set, wherein Sb is the total area of the complemented region, and Sa is the area used for complementing the region;
If B1 is more than B and less than or equal to B2, the central control unit complements each irregular secondary region, calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary region and the area of the region, and redetermines the calculation mode of the area of the region according to the Bs;
If B is more than B2, the central control unit cannot divide the area into a plurality of secondary areas with regular outlines, the central control unit cannot calculate the area of the area, and the area is combined with the adjacent areas to judge whether a regular combined area can be formed;
When B1 is more than or equal to B2, the central control unit complements each irregular secondary area and calculates the occupation ratio Bs of the occupation area of each complemented irregular secondary area and the area of the area, a first preset area occupation ratio Bs1 and a second preset area occupation ratio Bs2 are also arranged in the central control unit,
If Bs is less than or equal to Bs1, the central control unit sequentially calculates the total area of the region after completion and the area required by the region after completion to obtain the actual area S of the region;
If Bs1 is more than or equal to Bs2, the central control unit sequentially combines each irregular secondary region with the secondary regions adjacent to the irregular secondary region to judge whether a regular secondary combined region can be formed or not;
if Bs > Bs2, the central control unit cannot obtain the area of the area by dividing the area into a plurality of secondary areas with regular outlines, and combine the area with the adjacent areas to determine whether a regular combined area can be formed;
When the central control unit judges whether the two-level merging area after the two-level merging is performed on the irregular two-level area and the two-level area adjacent to the irregular two-level area is a regular two-level merging area or whether the merging area after the two-level merging is performed on the irregular area and the two-level area adjacent to the irregular two-level area is a regular merging area,
If the contour of the merging area or the secondary merging area is a regular contour, the central control unit judges that the irregular area and the adjacent area can be merged into a regular merging area or the irregular secondary area and the adjacent secondary area can be merged into a regular secondary merging area, and calculates specific contour data of the merging area or the secondary merging area and selects a corresponding area formula according to the contour shape of the merging area or the secondary merging area to directly calculate the area of the merging area or the secondary merging area;
if the areas cannot be combined into the regular combined areas, the central control unit establishes a rectangular coordinate system for the areas, and calculates the areas of the irregular areas by using integral.
2. The intelligent measuring method for a garden irregularity pattern according to claim 1, wherein in the step s1, when the central control unit divides a garden area to be measured, the central control unit detects whether or not a boundary feature exists in image information of the garden area,
If the boundary features exist, the central control unit divides the garden area to be measured in the image information into a plurality of areas according to the boundary features and sequentially judges whether to further divide each area according to the object features in each area; for a single area, if a plurality of item characteristic information exists in the area and the item characteristic information is connected in sequence, the central control unit can divide the area further according to the item characteristic information;
If the boundary features do not exist, the central control unit collects article feature information in the image information and divides a garden area to be measured in the image information into a plurality of areas according to the article feature information.
3. The intelligent measurement method of irregular figures in gardens according to claim 2, wherein in step s3, when the central control unit measures the overall dimensions of each of the areas, the central control unit controls the image acquisition unit to measure the overall length and width of each of the areas and the length and width of each of the areas, respectively, and the central control unit counts the data and transmits the data to the storage unit; when the central control unit measures the size of a single area, the central control unit detects the boundary contour of the area and divides the contour into a plurality of contour groups, and if the single contour group exists, the contour in the contour group is an irregular contour, and the central control unit measures the specific size of the contour in the contour group.
4. A garden irregular pattern intelligent measuring method according to claim 3, wherein when the central control unit divides the outline of the single area boundary into a plurality of outline groups, the central control unit sequentially determines whether each outline group is a regular outline group, for a single outline group,
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are irregular patterns, the central control unit primarily judges that the profile group is an irregular profile group, marks the profile group and secondarily judges whether the profile group is an irregular profile group or not;
If the profile of the profile group and the pattern formed by the connecting line of the starting point and the end point of the profile group are regular patterns, the central control unit judges that the profile group is a regular profile group;
And when the central control unit finishes the judgment of each contour group in a single region, the central control unit counts the number of the irregular contour groups in the region and marks each irregular contour group.
5. The intelligent measurement method according to claim 4, wherein when the central control unit preliminarily determines that a single profile group is an irregular profile group, the central control unit controls the image acquisition unit to measure whether the profile in the profile group contains curves,
If the profile group does not contain curves, the central control unit judges that the profile group is a regular profile group;
If the profile group contains curves, the central control unit controls the image acquisition unit to divide the curves into a plurality of curve sections and sequentially measure and count the diameters of circles where the circular arcs in the curve sections are located, and if the diameters of the circles where the circular arcs in the curve sections are located are the same, the central control unit judges that the profile group is a regular profile group; if the diameters of the circles where the circular arcs in the sections in the profile group are located are different, the central control unit judges that the profile group is an irregular profile group.
6. A gardening irregularity pattern intelligent measuring apparatus capable of using the gardening irregularity pattern intelligent measuring method as claimed in any one of claims 1 to 5, characterized by comprising:
The image acquisition unit is used for measuring the whole length and width and the local length and width of the garden area to be measured and is connected with the central control unit;
The central control unit is used for receiving the garden image information, the whole garden size and the whole area size measured by the image acquisition unit; the central control unit identifies corresponding characteristic points in the image information to divide the image information into a plurality of areas and sequentially determines whether the outline of each area is a regular outline, and after the judgment is finished, whether each area is divided into a plurality of secondary areas with regular outlines is selected according to the judgment result and the area of each secondary area is sequentially calculated to calculate the area of the area; the central control unit is connected with the image acquisition unit and the storage unit;
And the storage unit is used for storing the image information and the size data of each region measured by the image acquisition unit and making backup for the data required by calculating the whole area or the region area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210671596.2A CN115164766B (en) | 2022-06-14 | 2022-06-14 | Intelligent measuring device and measuring method for irregular patterns in gardens |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210671596.2A CN115164766B (en) | 2022-06-14 | 2022-06-14 | Intelligent measuring device and measuring method for irregular patterns in gardens |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115164766A CN115164766A (en) | 2022-10-11 |
CN115164766B true CN115164766B (en) | 2024-04-26 |
Family
ID=83484594
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210671596.2A Active CN115164766B (en) | 2022-06-14 | 2022-06-14 | Intelligent measuring device and measuring method for irregular patterns in gardens |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115164766B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5319720A (en) * | 1991-07-17 | 1994-06-07 | Matsushita Electric Industrial Co., Ltd. | Appearance inspecting method |
CN103759672A (en) * | 2014-01-15 | 2014-04-30 | 陈涛 | Vision measurement method for ice cream stick plane contour dimensions |
CN108362232A (en) * | 2018-03-01 | 2018-08-03 | 杭州富阳新远新能源有限公司 | A kind of ball seat for automobile ball-joint head is tinted area and its Subarea detecting method |
CN110097526A (en) * | 2018-01-30 | 2019-08-06 | 发那科株式会社 | Workpiece image generating means |
CN112013921A (en) * | 2019-05-30 | 2020-12-01 | 杭州海康威视数字技术股份有限公司 | Method, device and system for acquiring water level information based on water level gauge measurement image |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5372680B2 (en) * | 2009-09-24 | 2013-12-18 | 日立オートモティブシステムズ株式会社 | Obstacle detection device |
-
2022
- 2022-06-14 CN CN202210671596.2A patent/CN115164766B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5319720A (en) * | 1991-07-17 | 1994-06-07 | Matsushita Electric Industrial Co., Ltd. | Appearance inspecting method |
CN103759672A (en) * | 2014-01-15 | 2014-04-30 | 陈涛 | Vision measurement method for ice cream stick plane contour dimensions |
CN110097526A (en) * | 2018-01-30 | 2019-08-06 | 发那科株式会社 | Workpiece image generating means |
CN108362232A (en) * | 2018-03-01 | 2018-08-03 | 杭州富阳新远新能源有限公司 | A kind of ball seat for automobile ball-joint head is tinted area and its Subarea detecting method |
CN112013921A (en) * | 2019-05-30 | 2020-12-01 | 杭州海康威视数字技术股份有限公司 | Method, device and system for acquiring water level information based on water level gauge measurement image |
Non-Patent Citations (1)
Title |
---|
宜居城市园林绿地***布局最优规划方法仿真;徐超等;《计算机仿真》;20181215;第35卷(第12期);第416-420页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115164766A (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105137390B (en) | A kind of indoor orientation method based on adjustable transmission power AP | |
CN104469676A (en) | Method and system for locating mobile terminal | |
CN108918526A (en) | A kind of chips defect detection method of flexibility IC package base plate line | |
CN104507050B (en) | Probabilistic type finger print matching method in a kind of WiFi indoor positionings | |
CN108801171A (en) | A kind of tunnel cross-section deformation analytical method and device | |
CN108307301A (en) | Indoor orientation method based on RSSI rangings and track similitude | |
CN102565810B (en) | Method for extracting land utilization landmark boundary outline on remote sensing image | |
CN108375754A (en) | Node positioning method based on mobile node original state and mobile status in WSN | |
CN105277917B (en) | A kind of dynamic fingerprint storehouse indoor orientation method based on feedback mechanism | |
CN112282847A (en) | Coal mine underground roadway deformation monitoring system and monitoring method thereof | |
CN109511085A (en) | A kind of UWB fingerprint positioning method based on MeanShift and weighting k nearest neighbor algorithm | |
CN112967189A (en) | Point cloud splicing method, device, equipment and storage medium | |
CN115164766B (en) | Intelligent measuring device and measuring method for irregular patterns in gardens | |
CN108917711B (en) | Tunnel engineering three-dimensional laser scanning sectional measurement method and system | |
CN111829486A (en) | Shield construction ground settlement automatic monitoring method and system | |
CN103458502A (en) | Method for positioning error estimation based on position fingerprints | |
CN115841484A (en) | Steel structure welding quality detection system based on three-dimensional laser scanning | |
CN101801001A (en) | Method and device for planning neighbouring areas | |
US9910131B2 (en) | Method and device for positioning terminal location | |
CN106441269A (en) | Section locating method used for electronic voice guide in scenic spot | |
CN106125044B (en) | Offline localization method based on gradient decline | |
CN104732089B (en) | A kind of historical data construction method of trans-regional alignment system filtering algorithm | |
CN110493853A (en) | A kind of sort method of high-speed rail private network base station | |
CN104656059B (en) | A kind of improved DF and location method | |
CN116400648A (en) | Speed planning method for uncertain interval |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Liu Yuan Inventor after: Li Qing Inventor after: Yu Jie Inventor after: Hou Limei Inventor after: Han Bo Inventor after: Lu Xue Inventor before: Liu Yuan Inventor before: Li Qing Inventor before: Yu Jie Inventor before: Ha Xinying Inventor before: Han Bo |
|
GR01 | Patent grant | ||
GR01 | Patent grant |