A method for generating forestry basic data based on forest area pictures

By calculating the average distance between the satellite and the forest area, a rendering method is introduced to correct the angle and length of the optical path line in the satellite image, and a grid is formed to express the surface information of the forest area, which solves the problem of insufficient accuracy of satellite measurement forest area data in the existing technology. problem, achieving higher-precision acquisition of forest area surface information and area information.

CN118587266BActive Publication Date: 2024-09-27CHENGDU SENTUO MURAN TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411075471.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-09-27
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Existing technologies lack accuracy when using satellites to measure forest area surface information and area information. In particular, it is difficult to fully capture surface features due to the diversity and complexity of tree crown morphology, and the presence of cliffs leads to inaccurate data, affecting forest area classification data. of loading.

Method used

By calculating the average distance between the satellite and the forest area as a quantitative scale, the rendering method is introduced to compare and disassemble the satellite images, correct the angle and length of the optical path line, improve the accuracy of the optical path line, satellite spatial position and forest area coordinates, and form a grid Express surface information and area information.

Benefits of technology

It improves the accuracy of optical path lines, satellite spatial positions and forest area coordinates, ensures the accuracy of forest area surface information and area information, and can load forest area classification data more accurately, reducing human errors and improving efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587266B
    Figure CN118587266B
Patent Text Reader

Abstract

The present invention provides a method for generating forestry basic data based on forest area pictures, which relates to the field of data processing technology. The average distance between the satellite and the forest area is used as a quantitative scale, introduced into the process of comparing and disassembling the satellite pictures in a rendering manner, and the length of the optical path line is quantified, and then the angle and length of the optical path line are corrected. The spatial position of the satellite and the forest area coordinates are corrected by the optical path line; points with depth values ​​are connected in a continuous area of ​​the forest area to form a grid, and the grid expresses the surface information and area information of the forest area. The spatial position of the optical path line, the satellite and the forest area coordinates are improved; the grid is used to represent the shape of the forest area surface, and the area of ​​the forest area is calculated by integration, and it is allowed to carry a number of classification information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a method for generating forestry basic data based on a forest area picture. Background Art

[0002] The surface information and area information of forest areas are important basic forestry data. At the same time, new forestry information is derived based on the basic data, for example, the classification or grading of forest areas. The correctness of the basic data is very important, which determines the reliability and correctness of the basic data and derived data. In the prior art, the surface information and area information generated by satellite measurement of forest areas cannot meet the accuracy requirements as data information of a scale nature. At the same time, although the tree crowns can reflect the surface coverage of forest areas to a certain extent, due to the diversity and complexity of the crown morphology, it is difficult to fully capture the surface characteristics of forest areas by relying solely on crown information. Cliffs in forest areas will cause inaccurate surface information and area information. The surface information and area information of forest areas cannot be integrated, which is not conducive to loading new forestry data, for example, loading forest classification data.

[0003] In view of this, the prior art needs to be further improved. Summary of the invention

[0004] In view of the above problems existing in the prior art, at least one of the problems is solved, and a method for generating basic forestry data based on forest area pictures is provided. The purpose of the present invention is to quantify the length of the optical path line by introducing the average distance between the satellite and the forest area as a quantitative scale into the process of comparing and disassembling the satellite pictures in a rendering manner, and then correct the angle and length of the optical path line. The spatial position of the satellite and the forest area coordinates are corrected by the optical path line, thereby improving the accuracy of the optical path line, the spatial position of the satellite and the forest area coordinates; connect points with depth values ​​in a continuous area of ​​the forest area to form a grid, and the grid expresses the surface information and area information of the forest area.

[0005] The technical solution to achieve the purpose of the present invention is:

[0006] The present invention provides a method for generating forestry basic data based on a forest area picture, and the specific steps for implementing the method are as follows:

[0007] The first step is to calculate the average distance between the satellite and the forest area. For the same forest area, at least two satellite images taken at different locations are used to compare and disassemble the satellite images in a rendering manner, thereby determining the optical path line, the spatial position of the satellite and the coordinates of the forest area, and correcting the angle and length of the optical path line with the average distance; at least two of the optical path lines are used to determine the intersection point in an intersecting manner, and the intersection point is located on the outer surface of the forest area; the optical path line connects the spatial position and the intersection point to form a triangle, and based on the uniqueness of the common points and / or common lines of the triangle, common point and / or common line adjustments are first performed, and then the triangle is determined and the angle and length of the optical path line are corrected. The average distance, the optical path line, the spatial position and the intersection point are used to obtain the depth value of the point set on the outer surface of the forest area; it should be noted that in the prior art, the distance between the satellite and the forest area is obtained by calculation, and the distance is an estimated value. Although it meets the accuracy requirements in general industries or application scenarios, as basic data of measurement properties, the error of the estimated value cannot meet the accuracy requirements. The average distance between the satellite and the forest area is obtained by calculation, and the average distance is also an estimated value; the optical path line is determined by rendering, and the angle and length of the optical path line cannot be accurately determined. The reason is that the rendered The optical path line disassembly method lacks quantitative factors, and its disassembly is based on similar comparison, and its quantitative comparison ability is poor. The present invention takes the average distance between the satellite and the forest area as a quantitative scale, and introduces it into the process of comparing and disassembling the satellite image in a rendering manner, in order to solve the problem that the angle and length of the optical path line cannot be accurately determined in rendering, quantify the length of the optical path line, and then correct the angle and length of the optical path line. The spatial position of the satellite and the forest coordinates are corrected by the optical path line. Although there is an error in the average distance, the length of the optical path line has been quantified with high precision. In the satellite image, the optical path line is dimensionless. The length of the optical path is limited within the error range. For example, taking a low earth orbit (LEO) satellite as an example, its altitude range is 160 to 2000 kilometers, its typical altitude is 400 to 700 kilometers, and its error range is usually within a few kilometers; taking a medium earth orbit (MEO) satellite as an example, its altitude range is 2000 to 35786 kilometers, its typical altitude is about 20000 kilometers, and its error range is 10 to 100 kilometers; taking a geostationary orbit (GEO) satellite as an example, its altitude is about 35786 kilometers, and its error range is usually within tens of kilometers; thereby improving the accuracy of the optical path, the spatial position of the satellite and the coordinates of the forest area;The optical path line is used to connect the spatial position and the intersection point to form a triangle. Since there are errors in the optical path line, the spatial position and the intersection point in space, the errors include spatial position, angle or length. The errors cause several triangles that should have common points to not have common points (meaning they share a vertex), and the errors cause several triangles that should be collinear to not have common lines (meaning they share a side, that is, they share an optical path line), for example, 30 triangles or 60 triangles. Based on the uniqueness of the common points and / or collinearity of the triangles, the spatial position or the intersection point is adjusted for common points. Specifically, several spatial positions with common point attributes are adjusted to have unique correct spatial positions. For example, the spatial positions with common point attributes among 30 triangles or 60 triangles are adjusted to have unique correct spatial positions. The plurality of intersection points with point attributes are adjusted to have a unique correct intersection point, for example, the intersection points with common point attributes in 30 triangles or 60 triangles are adjusted to have a unique correct intersection point; the optical path lines are adjusted to be collinear, specifically, the plurality of optical path lines with collinear attributes are adjusted to have a unique correct optical path line, for example, the angles and lengths of 30 groups of optical path lines are adjusted to have a unique correct angle and length of the optical path line; the co-point and / or co-linear adjustment is performed in order to accurately correct the optical path lines, the spatial positions and the intersection points; the co-point and / or co-linear adjustment is performed first, and then the triangles are determined, thereby reducing the calculation links and the amount of calculation; and then the optical path lines, the spatial positions and the intersection points are corrected, and the average distance is corrected, so as to obtain the depth value of the point set on the outer surface of the forest area;

[0008] Preferably, after correcting the average distance, an iterative calculation is performed, that is, the first step is repeated; it should be noted that it is helpful to verify whether the depth value of the surface point set outside the forest area is correct;

[0009] In the second step, the convex area and the concave area of ​​the forest area are averaged, and then the depth value is corrected. According to the difference in the depth values, whether there is a cliff in the forest area is estimated, so as to determine the margin of the continuous area of ​​the forest area. It should be noted that the convex area and the concave area of ​​the forest area are averaged to make the outer surface of the forest area closer to the curved surface of the ground; at the same time, the influence of the cliff in the forest area on the actual forest area is reduced, and the accuracy of the grid in expressing the actual forest area is improved.

[0010] The third step is to connect points with depth values ​​in a continuous area of ​​the forest area to form a grid, and use the grid to construct the curved surface shape of the forest surface; calculate the area of ​​each grid according to the pixel and the actual scale, and then calculate the forest area of ​​the area; the grid carries some classification information of the trees, and calculates the total area of ​​each category and its proportion in the entire forest area according to the classification information; it should be noted that the grid is used to represent the shape of the forest surface, and the area of ​​the forest area is calculated by integration, and it is allowed to carry some classification information, for example, some classification information includes density or color, and the density is divided into 3 or 6 levels, and there are 10 or 15 colors.

[0011] Compared with the prior art, the beneficial effects of the present invention include:

[0012] (1) The average distance between the satellite and the forest area is used as a quantitative scale and introduced into the process of comparing and disassembling the satellite images in a rendering manner, the length of the optical path line is quantified, and then the angle and length of the optical path line are corrected. The spatial position of the satellite and the forest area coordinates are corrected by the optical path line, and the accuracy of the optical path line, the spatial position of the satellite and the forest area coordinates are improved; the spatial position and the intersection point are connected by the optical path line to form a triangle; based on the uniqueness of the common points and / or common lines of the triangle, the spatial position or the intersection point is adjusted; and several of the said having common point attributes are adjusted. The intersection point is adjusted to have a unique correct intersection point; the optical path line is adjusted to be collinear; it is adjusted according to the relationship between the sides, angles and vertices of the triangle; based on the uniqueness of the common points and / or collinearity of the triangle, the optical path line, the spatial position and the intersection point form a networked triangle based on the common points and / or collinearity, and the optical path line, the spatial position and the intersection point are all associated, mutually adjusted and mutually confirmed to have correct information; then the optical path line, the spatial position and the intersection point are corrected, and the average distance is corrected, and then the depth value of the surface point set outside the forest area is obtained;

[0013] (2) The corrected satellite image is compared with the original satellite image in binary form, providing a very accurate comparison result. Even small changes can be accurately detected. Bit-by-bit comparison ensures that all pixels of the entire image are taken into account, fully reflecting its comprehensiveness without omissions. By quantitatively analyzing the differences, the effect of the correction can be evaluated more objectively. The problem area can be quickly located to facilitate further analysis and correction. The process can be automated to improve efficiency and reduce human errors.

[0014] (3) The grid is used to represent the shape of the forest surface, calculate the area of ​​the forest by integration, and allow it to carry a number of classification information. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0016] Figure 1 It is a schematic diagram of the adjustment of a method for generating forestry basic data based on forest area pictures. DETAILED DESCRIPTION

[0017] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them.

[0018] Therefore, the following detailed description of the embodiments of the present invention is not intended to limit the scope of the invention claimed for protection, but merely represents some embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0019] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features and technical solutions in the embodiments may be combined with each other.

[0020] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0021] The present invention is further described in detail below with reference to the embodiments.

[0022] Example:

[0023] like Figure 1 As shown, the present invention provides a method for generating forestry basic data based on forest area pictures, and the specific steps for implementing the method are as follows:

[0024] The first step is to calculate the average distance between the satellite and the forest area. For the same forest area, at least two satellite images taken at different shooting positions are used to compare and disassemble the satellite images in a rendering manner, so as to determine the optical path line, the spatial position of the satellite and the coordinates of the forest area, and the angle and length of the optical path line are corrected by the average distance; at least two of the optical path lines are used to determine the intersection point in an intersecting manner, and the intersection point is located in the outer surface of the forest area; the optical path line connects the spatial position and the intersection point to form a triangle, and based on the uniqueness of the common points and / or co-lines of the triangle, the triangle is first determined, and then the common points and / or co-lines are adjusted to correct the average distance, the optical path line, the spatial position and the intersection point, so as to obtain the depth value of the point set on the outer surface of the forest area; it should be noted that the distance between the satellite and the forest area is calculated based on the orbit of the satellite and the geographical location of the forest area. Although the average distance between the satellite and the forest area is not accurate, it limits a distance range, that is, it fluctuates up and down based on the average distance between the satellite and the forest area. The optical path line is the line connecting the spatial position of the satellite image and the point on the outer surface of the forest area. The effective optical path line is the line between the spatial position of the satellite image and the intersection point. The satellite image is compared and disassembled in a rendering manner to determine the optical path line, the spatial position of the satellite and the coordinates of the forest area; the average distance is used as a ruler to limit the length range of the optical path line, and the length of the optical path line is corrected by the average distance; the outer surface of the forest area is a curved surface, and the intersection point of the optical path line is in the curved surface, not above or below the curved surface; first determine the triangle, and then perform co-point and / or co-linear adjustments, add the shape verification mechanism of the triangle, and improve the length, angle or coordinate accuracy of the optical path line, the spatial position and the intersection point.

[0025] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, the distance between the satellite and the center of the earth is determined, using the orbital altitude of the satellite plus the average radius of the earth (about 6371 kilometers). The relative position of the satellite and the forest area is calculated, and the geocentric angle of the satellite relative to the forest area is calculated according to the orbit of the satellite and the geographical location of the forest area. The distance is calculated using trigonometric functions, and the straight-line distance between the satellite and the forest area is calculated using trigonometric functions in combination with the geocentric distance and the geocentric angle. The satellite orbit includes: orbital altitude, orbital period, orbital shape, ascending node right ascension and the current position of the satellite. Orbital altitude (Altitude): The altitude of the satellite from the surface of the earth. Orbital altitude (Inclination): The angle of the orbital plane relative to the equatorial plane of the earth. Orbital period (Orbital Period): The time required for a satellite to orbit the earth. Orbital shape (Orbital Shape): Usually described by the eccentricity of the orbit, describing the flatness of the orbit. Right Ascension of the Ascending Node (RAAN): The geographical longitude of the ascending node where the orbital plane intersects the equatorial plane of the earth. Current position of the satellite: The current position of the satellite in orbit, usually described by the True Anomaly or the orbital angle. The geographical location of the forest area includes: latitude, longitude and altitude. Latitude: The latitude position of the forest area on the earth, usually expressed in degrees. Longitude: The longitude position of the forest area on the earth, usually expressed in degrees. Elevation: The height of the forest area relative to sea level. The following is an overview of calculating the distance between the satellite and the forest area, and the satellite's orbital altitude determines the satellite's geocentric distance. The average radius of the earth is about 6371 kilometers. The satellite's geocentric distance can be calculated by adding the earth's radius to its orbital altitude. Determine the geocentric distance of the forest area: The geocentric distance of the forest area can be calculated by its latitude and the radius of the earth. This is an approximation, because the earth is not a perfect sphere, so the approximation is usually obtained by estimation. Calculate the relative position of the satellite and the forest area: We need to know the current position of the satellite, which is usually expressed in the True Anomaly or the orbital angle. Combined with the satellite's orbit (such as orbital inclination and ascending node right ascension), we can determine the satellite's projection point on the earth. Calculate the angular distance between the satellite and the forest area: Use the satellite's and the forest's geographic locations (latitude and longitude) to calculate the angular distance between the satellite and the forest area, and use spherical trigonometry to calculate it. Calculate the straight-line distance between the satellite and the forest area: Use the satellite's geocentric distance, the forest's geocentric distance, and the angular distance between the satellite and the forest area to calculate the straight-line distance between the satellite and the forest area through spherical trigonometry.

[0026] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, the purpose of the co-point adjustment is to ensure that the vertices of the triangle accurately correspond to their proper positions in space, so as to ensure that all vertices accurately correspond to the actual spatial positions; the purpose of the co-linear adjustment is to ensure that the sides or angles of the triangle meet a specific geometric relationship, such as two sides are parallel or one angle is fixed, which helps to improve the consistency and accuracy of the measurement; determine the triangle: after the co-point and co-linear adjustments, the shape and size of the triangle can be accurately determined, which provides a basis for subsequent calculations and analysis. Combined Figure 1In a two-dimensional plane, an example is given. The satellite takes pictures at two positions. The spatial positions taken by the satellite in real time are the first spatial position A1 and the second spatial position A2. Three intersection points are randomly selected in the picture, namely the first intersection point B1, the second intersection point B2 and the third intersection point B3. The first optical path line L1 is used to connect the first spatial position A1 and the first intersection point B1; the second optical path line L2 is used to connect the first spatial position A1 and the second intersection point B2; the third optical path line L3 is used to connect the first spatial position A1 and the third intersection point B3; the fourth optical path line L4 is used to connect the second spatial position A2 and the first intersection point B1; the fifth optical path line L5 is used to connect the second spatial position A2 and the second intersection point B2; the sixth optical path line L6 is used to connect the second spatial position A2 and the third intersection point B3. In a two-dimensional coordinate system, the first spatial position A1, the second spatial position A2, the first intersection point B1, the second intersection point B2 and the third intersection point B3 can be adjusted in the two-dimensional coordinate system, that is, they can be adjusted up, down, left and right. Similarly, in a three-dimensional coordinate system, the first spatial position A1, the second spatial position A2, the first intersection point B1, the second intersection point B2 and the third intersection point B3 can be adjusted in the three-dimensional coordinate system. Take the formation of a triangle as an example, for example, the first spatial position A1, the first intersection point B1 and the second intersection point B2 form a triangle, whose sides include the first optical path line L1, the second optical path line L2 and the line between the first intersection point B1 and the second intersection point B2. Adjusting the spatial position of the first spatial position A1, and then adjusting the angle and length of the first optical path line L1 and the second optical path line L2, can adjust or not adjust the position of the first intersection point B1 and the second intersection point B2; adjusting the angle and length of the first optical path line L1, and then adjusting the position of the first spatial position A1 and / or the first intersection point B1, and then adjusting the angle and length of the second optical path line L2, can adjust or not adjust the position of the second intersection point B2; adjusting according to the relationship between the sides, angles and vertices of the triangle. Based on the uniqueness of the common points and / or co-lines of the triangle, the optical path lines, the spatial positions and the intersection points form a networked triangle based on the common points and / or co-lines, and the optical path lines, the spatial positions and the intersection points are all associated, mutually adjusted and mutually confirmed to confirm the correct length, angle and position information. Improve measurement accuracy: Through precise common point and co-line adjustment, the measurement error caused by equipment error or environmental factors can be reduced, thereby improving the accuracy of the measurement results. Enhance the reliability of the model: Accurate triangles help to build a more reliable three-dimensional model. Optimize the calculation process: Accurate triangles can simplify subsequent calculation processes. For example, when calculating depth values, the number of iterations can be reduced and the calculation efficiency can be improved. Enhance data consistency: When conducting large-scale measurements or modeling, common point and co-line adjustments help maintain data consistency, which is very important for data integration and analysis.Adapt to complex environments: Accurate co-point and co-linear adjustments can improve the adaptability of measurement technology to environmental changes and ensure reliable measurement results under different conditions. Support automation and intelligence: In automated and intelligent measurement systems, co-point and co-linear adjustments can be used as pre-processing steps to provide accurate input data for subsequent automated analysis and decision-making.

[0027] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, a triangulated calculation method is adopted, and the outer surface of the forest area is constructed by the difference in depth values. The distance between the satellite and the ground surface is much larger than the difference in depth values ​​of the outer surface of the forest area. Therefore, the construction accuracy of the shape and value of the outer surface of the forest area can be improved.

[0028] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, the three-dimensional structure of the scene is inferred from the observed image. The purpose of using reverse rendering technology in photos taken by satellites is to restore the information of the three-dimensional scene from the two-dimensional image. Simulate the propagation of light: In reverse rendering, the rendering light path line refers to the path of the light emitted from the light source through the space propagation and finally reaching the camera sensor. This path not only includes linear propagation, but also may include reflection, refraction and other phenomena. Calculate the path of light: By tracing the propagation path of the light in reverse, the position and direction of the light in three-dimensional space can be determined. Scene reconstruction: Reverse rendering infers the three-dimensional structure of the scene by analyzing how the light in the image interacts with the objects in the scene. The light path line is a key factor in this process because it determines how the light intersects with the objects in the scene. Lighting and shadows: Reverse rendering can also simulate lighting and shadow effects by analyzing light path lines. By calculating the intersection of light and objects in the scene, the distribution of light on the surface of the object and the possible shadows can be predicted. Improve realism: By accurately simulating light path lines, reverse rendering can generate more realistic images. Satellite image analysis: In satellite image analysis, inverse rendering can help extract 3D terrain information from 2D images. By analyzing the optical path lines, the ups and downs and features of the terrain can be simulated more accurately. Virtual reality: In virtual reality, inverse rendering can be used to generate 3D models from scenes captured in the real world.

[0029] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, for the same intersection point, a triangle superposition verification method is used, which is conducive to improving the accuracy of the depth value, and is an adjustment method from point to surface. Specifically, the angle and length of the entire ray beam are fine-tuned by one point to improve the accuracy of the angle and length of the disassembled optical path line. Its essence is to adjust the spatial position of the shooting point. The forward and reverse methods are used for mutual comparison and adjustment. It should be noted that a number of triangles are used to correct the position of the same intersection point, and then the angle and length of the optical path line are reversely corrected, and finally the altitude is corrected.

[0030] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, in the neural network system, in a supervised learning manner, first determine the range, and then make fine adjustments, and adjust and disassemble the optical path line in an infinite approaching manner. It should be noted that its essence is to correct the angle and position of the optical path line, specifically including divergent rays or convergent rays, in order to solve the disassembly learning and adjustment of the disassembly optical path line, establish a correction mechanism for the depth value, improve the accuracy, and enhance the correctness of the disassembly optical path line.

[0031] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, a neural network is used to render and reversely render satellite images. Data collection and preprocessing: Collect satellite image data, including images under different angles and lighting conditions. Preprocess the images, such as denoising, contrast enhancement, etc., to improve the training efficiency of the neural network. Neural network selection and design: Select a suitable neural network architecture, such as convolutional neural network (CNN) or neural radiance field (NeRF), for image rendering and reverse rendering. Design the network structure, including encoder, decoder, and possible attention mechanism, etc. Training and optimization: Use the collected image data to train the neural network and adjust the network to minimize the rendering error. Use the back propagation algorithm and appropriate loss function to optimize the network. Rendering and reverse rendering implementation: Use the trained neural network to render new satellite images to generate realistic three-dimensional views. Implement reverse rendering to restore the original two-dimensional satellite image from a given three-dimensional view. Result evaluation and application: Evaluate the results of rendering and reverse rendering to ensure their accuracy and realism. Improve rendering quality: Neural networks can learn complex image features and improve the realism and quality of rendered images. Enhance reverse rendering capabilities: Through reverse rendering technology, 2D images can be accurately restored from 3D views to provide support for image analysis. Improve automation: Automated rendering and reverse rendering processes reduce manual intervention and improve work efficiency.

[0032] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, after correcting the average distance, the optical path line, the spatial position and the intersection point, a corrected satellite image is generated by reverse rendering, and the corrected satellite image and the original satellite image are compared for consistency using binary numbers. It should be noted that the original satellite image refers to a satellite image taken by a satellite; the corrected satellite image refers to a satellite image generated by reverse rendering after correcting the average distance, the optical path line, the spatial position and the intersection point on the basis of the original satellite image; this is to verify whether the corrected average distance, the optical path line, the spatial position and the intersection point are correct.

[0033] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, further, the corrected satellite image is compared with the original satellite image in binary form, and the specific steps of the comparison are as follows:

[0034] Step S1, data preprocessing: First, the original satellite images and the corrected satellite images need to be preprocessed, including denoising, correction, registration, etc., to ensure that the two are compared under the same conditions;

[0035] Step S2, binary conversion: convert the preprocessed image data into binary format. This is because binary is the closest way to represent data inside a computer, and can perform precise bit operations and comparisons;

[0036] Step S3, bit-by-bit comparison: At the binary level, the pixel values ​​of corresponding positions of the two images are compared bit by bit; this can be achieved through bit operations, for example, using exclusive OR (XOR) operations to find the differences;

[0037] Step S4, difference analysis: analyze the comparison results to determine the type and distribution of differences; differences may include small changes in pixel values, structural changes, etc.;

[0038] Step S5, consistency assessment: Based on the comparison results, the consistency of the two images is assessed; a threshold can be set to determine what degree of difference is acceptable;

[0039] The corrected satellite images are compared with the original satellite images in binary form, providing very accurate comparison results. Even small changes can be accurately detected. Bit-by-bit comparison ensures that all pixels of the entire image are taken into account, fully reflecting its comprehensiveness without omissions. By quantitatively analyzing the differences, the effect of the correction can be evaluated more objectively. Problem areas can be quickly located to facilitate further analysis and correction. The process can be automated to improve efficiency and reduce human errors.

[0040] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the first step, preferably, at least three of the optical path lines are intersected at one point, and the spatial position relationship is constructed in a body manner to improve the accuracy of the position relationship.

[0041] In the second step, the convex area and concave area of ​​the forest area are averaged, and then the depth value is corrected. According to the difference in the depth value, whether there is a cliff in the forest area is inferred, so as to determine the margin of the continuous area of ​​the forest area. It should be noted that this is to ensure the accuracy of the shape. Region segmentation: Use the image segmentation algorithm to segment the forest area image into convex areas and concave areas. Commonly used image segmentation algorithms include threshold segmentation, region-based segmentation (such as region growing algorithm), edge-based segmentation (such as Canny edge detection algorithm), etc. The segmentation of convex areas and concave areas can use morphological erosion and dilation operations. Erosion and dilation of images are two basic morphological operations, which are mainly used to find the minimum and maximum areas in the image. Erosion operation can reduce the convex area, and dilation operation can expand the convex area. Through the combination of erosion and dilation operations, the segmentation results of convex areas and concave areas can be obtained. Regional feature extraction: For each convex area and concave area obtained by segmentation, the corresponding features are extracted, such as area, perimeter, grayscale value, etc. These features can be extracted using image processing libraries or custom algorithms. Mean calculation: The mean of the features of each convex area and concave area is calculated. For example, for the area feature, the area of ​​all convex areas can be added and divided by the number of convex areas to get the average area of ​​the convex areas. Cliff detection: Cliffs are detected by comparing the difference in elevation values ​​between adjacent areas. Generally speaking, the elevation of cliffs varies greatly. A threshold can be set to determine whether the elevation value difference exceeds the threshold. If it exceeds, it is determined to be a cliff. Calculation of the boundary of continuous areas in forest areas: The margin of continuous areas in the forest area is determined based on the location and height difference of the cliff. At the same time, geographic information system (GIS) tools such as spatial analysis or raster operations can be used to identify the boundary between cliffs and vegetation. Combined with the height information of trees, areas with lower heights (below the cliff) and areas with higher heights (above the cliff) can be distinguished. Calculating the mean of convex and concave areas in the forest area is conducive to obtaining surface information and area information of the forest area that is close to the real one.

[0042] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the second step, the continuous area and the discontinuous area of ​​the forest area are further divided by the cliff as the dividing line. It should be noted that the edge area is between the continuous area and the discontinuous area, and the edge area uses the edge line as the edge of the grid, that is, the dividing line; the problem to be solved is to eliminate interference information. The first function is to solve the problem of depth value difference caused by the cliff, improve the accuracy of shape and area calculation, and improve the shape accuracy and area calculation accuracy of edge area selection; the second function is to solve the problem that the spatial outer surface of the forest area cannot reflect the surface information well; the third function is to improve the accuracy of classification.

[0043] The third step is to connect points with depth values ​​in a continuous area of ​​the forest area to form a grid, and use the grid to construct the curved surface shape of the forest area; calculate the area of ​​each grid according to the pixel and the actual scale, and then calculate the forest area of ​​the area; the grid carries some classification information of trees, and calculates the total area of ​​each category and its proportion in the entire forest area according to the classification information. It should be noted that converting the depth value into an elevation value only transforms the reference surface. Grid generation: First, an initial grid needs to be generated to represent the shape of the surface. Common grid generation algorithms such as triangulation or quadrilateral grid generation algorithms can be used. The initial grid is generated according to the input terrain data or geometric shape. Data interpolation: According to the depth value, data interpolation can be performed on the vertices in the initial grid. Interpolation technology can calculate the elevation value of the current vertex according to the depth values ​​of the surrounding vertices. Common interpolation methods include linear interpolation, quadratic interpolation, or spline-based interpolation methods. Grid refinement: Once the initial grid and elevation data are available, the surface shape can be refined by refining the grid. There are many ways to refine the mesh, one of the common methods is to use subdivision surface technology, such as subdividing triangles or subdividing quadrilaterals. These methods can generate more subdivision vertices based on the topological structure and elevation data of the current mesh, and update the corresponding mesh topological connections. Smoothing: During the refinement process, the new vertices generated may cause discontinuities or sharp edges in the surface shape. In order to make the surface shape smoother, a smoothing algorithm such as mean smoothing can be applied. The position of the current vertex is adjusted according to the position and elevation values ​​of the surrounding vertices to smooth the surface shape. The mesh carries some classification information of the trees, for example, some classification information includes the density of the trees and the size of the trees.

[0044] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the third step, further, according to the pixel and the actual scale, the area of ​​each grid is calculated, and then the forest area of ​​the region is calculated. The specific calculation method is as follows:

[0045] Determine the pixel resolution of the image: Get the width and height of the image in pixels; for example, suppose the image is W pixels wide and H pixels high;

[0046] Determine the actual scale: Know the scale of the actual area represented by the image; this can be obtained by referencing known lengths in the image or using Geographic Information System (GIS) data;

[0047] Calculate the pixel area of ​​each grid: According to the pixel resolution of the image, each grid is regarded as a rectangular area. Assuming that the width of each grid is Gw pixels and the height is Gh pixels, the pixel area of ​​each grid can be calculated as: Gw*Gh, * means multiplication;

[0048] Calculate the actual area of ​​each grid: convert the pixel area of ​​each grid into the actual area, and perform scaling calculation according to the actual scale; assuming that the actual width of each grid is Gw' unit and the actual height is Gh' unit, the actual area of ​​each grid can be calculated as: Gw' *Gh';

[0049] Calculate the forest area of ​​the entire region: Add up the actual areas of all grids to get the forest area of ​​the entire region.

[0050] In order to better achieve the purpose of the present invention, in some embodiments of the present invention, in the third step, further, the grid uses colors to classify the trees in the forest area, and calculates their area according to the classification of the grades; the grades of the trees in the forest area include density and size. It should be noted that it is assumed that the following colors and corresponding grade classifications are used:

[0051] Green: high density, large trees

[0052] Yellow: medium density, medium-sized trees

[0053] Orange: low density, small trees

[0054] Red: No trees

[0055] To calculate the area of ​​each level, each grid cell is assigned a corresponding level and color. Then, the total area of ​​each level is calculated based on the number of grid cells and the area of ​​each cell.

[0056] It should be noted that the technical solution of the present invention is applicable to both forest areas and grasslands.

[0057] It should be noted that for technical features that are not fully explained, conventional technical means are used.

[0058] The above embodiments are only used to illustrate the present invention and are not intended to limit the technical solutions described in the present invention. Although the present invention has been described in detail with reference to the above embodiments, the present invention is not limited to the above specific implementation methods. Therefore, any modification or equivalent replacement of the present invention; and all technical solutions and improvements thereof that do not depart from the spirit and scope of the invention are included in the scope of the claims of the present invention.

Claims

1. A method for generating forestry basic data based on forest area pictures, characterized in that: The specific steps to implement the method are as follows: The first step is to calculate the average distance between the satellite and the forest area. For the same forest area, at least two satellite images taken at different locations are used to compare and disassemble the satellite images in a rendering manner, thereby determining the optical path line, the spatial position of the satellite and the coordinates of the forest area, and correcting the angle and length of the optical path line with the average distance. At least two of the optical path lines are intersected to determine an intersection point, and the intersection point is located in the outer surface of the forest area; The optical path line connects the spatial position and the intersection point to form a triangle, and based on the uniqueness of the common points and / or common lines of the triangle, the average distance, the optical path line, the spatial position and the intersection point are corrected to obtain the depth value of the surface point set outside the forest area; In the second step, the convex area and the concave area of ​​the forest area are averaged, and then the depth value is corrected, and according to the difference in the depth values, it is estimated whether there is a cliff in the forest area, so as to determine the margin of the continuous area of ​​the forest area; The third step is to connect the points with depth values ​​in the continuous area of ​​the forest area to form a grid, and use the grid to construct the curved surface shape of the forest area surface; The area of ​​each grid is calculated according to the pixels and the actual scale, and then the forest area of ​​the region is calculated; the grid carries a number of classification information of trees, and the total area of ​​each category and its proportion in the entire forest area are calculated according to the classification information.

2. The method for generating forestry basic data based on forest area pictures according to claim 1, characterized in that: In the first step, the average distance between the satellite and the forest area is used as a quantitative scale and introduced into the process of comparing and disassembling the satellite images in a rendering manner.

3. The method for generating forestry basic data based on forest area pictures according to claim 2, characterized in that: In a first step, the length of the optical path line is quantified.

4. The method for generating forestry basic data based on forest area pictures according to claim 1, characterized in that: In the first step, a neural network is used to render and inversely render satellite images.

5. The method for generating forestry basic data based on forest area pictures according to claim 1, characterized in that: In the first step, after correcting the average distance, the optical path line, the spatial position and the intersection point, a corrected satellite image is generated by reverse rendering, and the corrected satellite image is compared with the original satellite image using binary numbers for consistency.

6. The method for generating forestry basic data based on forest area pictures according to claim 5, characterized in that: In the first step, the corrected satellite image is compared with the original satellite image in binary form. The specific steps of the comparison are as follows: Step S1, data preprocessing; Step S2, binary conversion; Step S3, bit-by-bit comparison; Step S4, differential analysis; Step S5: consistency assessment.

7. The method for generating forestry basic data based on forest area pictures according to claim 6, characterized in that: In step S3 of the first step, it is implemented by bit operation.

8. The method for generating forestry basic data based on forest area pictures according to claim 1, characterized in that: In the second step, the forest area was divided into continuous and discontinuous areas using the cliff as the boundary.