CN-121999026-A - Polygonal interest area measurement method based on airborne photoelectric image
Abstract
The invention provides a polygon area of interest measuring method based on an airborne photoelectric image, which comprises the steps of selecting a polygon area of interest in a real-time image according to user operation, collecting the direction of an optical axis output by an airborne photoelectric detection device to the earth azimuth and the pitch angle, resolving the earth azimuth and the pitch angle corresponding to each vertex in the polygon area of interest by using a camera model and control coordinate conversion, calculating the linear distance from an airplane to each vertex, meshing the polygon area of interest with a polygon triangle, calculating the area of a single triangle by using a sea-borne formula, and then summing to obtain the total area. The ground azimuth and the pitch angle are output through the airborne photoelectric detection equipment, and the total area is calculated after triangle gridding, so that the technical problem that an airborne photoelectric detection and image measurement method is lacked in the prior art is solved.
Inventors
- XU PEI
- JIANG HUIFENG
- HONG ZHAN
- LI ZHIQIANG
- ZHANG QIJIE
Assignees
- 华中光电技术研究所(中国船舶集团有限公司第七一七研究所)
Dates
- Publication Date
- 20260508
- Application Date
- 20251224
Claims (10)
- 1. The polygon area of interest measuring method based on the airborne photoelectric image is characterized by comprising the following steps of: Selecting a polygonal interest area in the real-time image according to user operation; Collecting the orientation and pitch angle of an optical axis output by an airborne photoelectric detection device, and then converting and resolving the orientation and pitch angle of the earth corresponding to each vertex in the polygonal interest area by using a camera model and a control coordinate; After the height information output by the recording equipment is collected, calculating the linear distance from the aircraft to each vertex by utilizing a trigonometric function relation based on the height information and the ground azimuth and pitch angle of the vertex; and (3) meshing the polygonal interest area by adopting a polygonal triangle, calculating the area of a single triangle by adopting a sea-land formula, and then summing to obtain the total area.
- 2. The method for measuring the polygonal area of interest based on the airborne photoelectric image according to claim 1, wherein the step of meshing the polygonal area of interest with a polygonal triangle, calculating the area of a single triangle by using a halen formula, and summing the calculated areas to obtain a total area comprises: Dividing the polygonal interest area into a plurality of triangles which are not overlapped with each other by adopting a polygonal triangulation algorithm, ensuring that the vertexes of all the triangles are positioned at the vertexes of the polygon, and covering all the areas of the polygon by all the triangles; For each divided triangle side, based on the linear distance, resolving the vector from the plane to two vertexes under the geodetic coordinate system by utilizing space coordinate transformation, and then resolving the triangle side length by using a vector formula; And calculating the area of a single triangle by adopting a sea-borne formula according to the side length, and then summarizing the areas of all the divided triangles to obtain the total area of the polygonal interest area.
- 3. The method of measuring polygonal areas of interest based on-board photo-electric images according to claim 2, wherein the real-time images are acquired from an on-board photo-detection device.
- 4. The method for measuring the polygon area of interest based on the on-board photoelectric image according to claim 3, wherein the selecting the polygon area of interest in the real-time image according to the user operation is receiving the user input through the man-machine interface, selecting the polygon area of interest with measurement in the real-time image, and recording all vertex coordinates of the polygon area of interest.
- 5. The method according to claim 4, wherein the recording of all vertex coordinates of the polygon region of interest is based on a pixel coordinate system of the real-time image, wherein the pixel coordinates (Xn, yn) of each vertex are recorded with an upper left corner of the image as an origin, a horizontal x-axis and a vertical y-axis, where n is a vertex number, and n is equal to or greater than 3.
- 6. The method of claim 5, wherein the linear distance calculation formula is l=h/cos θ, where L is a linear distance from the aircraft to the vertex, H is an aircraft height, θ is a pitch angle corresponding to the vertex, and θ+.90°.
- 7. The method for measuring the polygonal area of interest based on the airborne photoelectric image according to claim 6, wherein the polygonal triangulation algorithm is an ear-cut method, and the ear points are cut off to form triangles by iteratively identifying the ear points of the polygon until the polygon is completely segmented.
- 8. The method for measuring the polygonal area of interest based on the airborne photoelectric image according to claim 7, wherein the method is based on an airborne photoelectric detection system in combination with flight parameters of an aircraft.
- 9. The method for measuring the polygonal area of interest based on the onboard photoelectric image according to claim 8, wherein the ear cutting method is characterized in that an inner angle formed by two adjacent sides is smaller than 180 degrees, and no other vertexes exist in the inner angle.
- 10. The method for measuring the polygonal area of interest based on the airborne photoelectric image according to claim 9, wherein the man-machine interaction interface is a time-based display control terminal.
Description
Polygonal interest area measurement method based on airborne photoelectric image Technical field: the invention relates to the technical field of airborne photoelectric detection and image measurement, in particular to a polygonal interest area measurement method based on an airborne photoelectric image. The background technology is as follows: In the fields of aviation reconnaissance, geographical mapping, marine law enforcement and the like, area measurement and calculation are often required to be performed on specific regions of interest (such as target buildings, oil spilling regions, large vehicles and the like) in images acquired by airborne photoelectric detection equipment. The traditional measurement method mainly relies on the following two types, namely, the special equipment such as a laser radar and a synthetic aperture radar is carried in one type, the three-dimensional coordinates of a target area are directly obtained and then the area calculation is carried out, but the special equipment has high cost and large volume and can increase the load of an airplane, and the area is estimated based on the proportion of image pixels in the other type, but the method has great influence on image distortion and shooting angle and poor precision, and particularly, under the airborne dynamic shooting scene, the error is obviously amplified. There is an urgent need for a polygon area of interest measurement method based on an onboard photoelectric image, which is helpful to solve the technical problem in the prior art that an onboard photoelectric detection and image measurement method is lacking. The invention comprises the following steps: in an embodiment, the invention provides a polygon interest area measurement method based on an airborne photoelectric image, which outputs a ground azimuth and a pitch angle through an airborne photoelectric detection device, calculates the total area through triangle gridding, and is helpful for solving the technical problem that the prior art lacks a method for measuring through airborne photoelectric detection and images. The polygon interest area measuring method based on the airborne photoelectric image comprises the following steps: Selecting a polygonal interest area in the real-time image according to user operation; Collecting the orientation and pitch angle of an optical axis output by an airborne photoelectric detection device, and then converting and resolving the orientation and pitch angle of the earth corresponding to each vertex in the polygonal interest area by using a camera model and a control coordinate; After the height information output by the recording equipment is collected, calculating the linear distance from the aircraft to each vertex by utilizing a trigonometric function relation based on the height information and the ground azimuth and pitch angle of the vertex; and (3) meshing the polygonal interest area by adopting a polygonal triangle, calculating the area of a single triangle by adopting a sea-land formula, and then summing to obtain the total area. In an embodiment, the step of meshing the polygonal interest area with a polygonal triangle, calculating the area of the single triangle by using a halen formula, and summing the calculated areas to obtain a total area includes: Dividing the polygonal interest area into a plurality of triangles which are not overlapped with each other by adopting a polygonal triangulation algorithm, ensuring that the vertexes of all the triangles are positioned at the vertexes of the polygon, and covering all the areas of the polygon by all the triangles; For each divided triangle side, based on the linear distance, resolving the vector from the plane to two vertexes under the geodetic coordinate system by utilizing space coordinate transformation, and then resolving the triangle side length by using a vector formula; And calculating the area of a single triangle by adopting a sea-borne formula according to the side length, and then summarizing the areas of all the divided triangles to obtain the total area of the polygonal interest area. In one embodiment, the real-time image is acquired from an on-board photo-detection device. In an embodiment, the selecting the polygon area of interest in the real-time image according to the user operation is receiving the user input through the man-machine interaction interface, selecting the polygon area of interest with measurement in the real-time image, and recording all vertex coordinates of the polygon area of interest. In an embodiment, the recording of all vertex coordinates of the polygon region of interest is based on a pixel coordinate system of the real-time image, wherein n is a vertex number, and n is equal to or greater than 3, and the pixel coordinates (Xn, yn) of each vertex are recorded with an upper left corner of the image as an origin, a horizontal direction as an x-axis, and a vertical direction as a y-axis. In an embodiment, the linear dista