A photogrammetry station layout planning method based on improved grey wolf algorithm

The improved gray wolf algorithm and K-means clustering algorithm are used to optimize the camera station layout, which solves the problems of low measurement accuracy and redundancy caused by the reliance on manual experience in photogrammetry, and achieves efficient and stable measurement results, suitable for large-scale and component measurements of complex structures.

CN116822357BActive Publication Date: 2024-09-10CHENGDU AIRCRAFT INDUSTRY GROUP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310748723.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2024-09-10
Estimated Expiration
2043-06-25

AI Technical Summary

Technical Problem

In existing photogrammetry technology, the layout of camera positions and postures relies on manual experience, which is blind, resulting in low measurement accuracy and redundant image data. It is especially difficult to ensure optimal results when measuring large-sized components and complex structures.

Method used

Using the improved gray wolf algorithm combined with the K-means clustering algorithm, the initial camera station layout position is generated by establishing a photogrammetry uncertainty evaluation function, and is used as the target optimization function of the gray wolf algorithm to optimize the camera station pose combination. Improve measurement accuracy and efficiency.

Benefits of technology

It achieves higher measurement accuracy and stability, reduces image data redundancy, and can efficiently handle all measurement tasks with only one plan for multiple sorties of the same type of objects, improving measurement efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116822357B
    Figure CN116822357B
Patent Text Reader

Abstract

The present invention relates to the field of photogrammetry technology, and in particular to a photogrammetry station layout planning method based on an improved grey wolf algorithm. The method first establishes a photogrammetry uncertainty evaluation function. Then, an initial photogrammetry station layout position is generated according to a K-means clustering algorithm. Finally, the photogrammetry uncertainty evaluation function is used as a target optimization function of the grey wolf algorithm to obtain an optimal photogrammetry station layout. On the basis of a traditional grey wolf algorithm, a kmeans clustering algorithm is used to generate initial photogrammetry stations, which are used as individuals of an initial population. The grey wolf algorithm is improved to adapt to photogrammetry station planning, and the search speed of the optimal station layout is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of photogrammetry, and in particular to a photogrammetry station layout planning method based on an improved grey wolf algorithm. Background Art

[0002] Due to its advantages of high accuracy, large measurement range, portability, and ability to measure multiple targets simultaneously, photogrammetry technology is widely used in the assembly process of aircraft parts. When performing photogrammetry on large-sized parts, the measurement accuracy is greatly affected by the position and posture of the camera, and the camera station posture layout will affect the performance of the measurement system. In the actual operation process, the position and number of cameras are usually controlled by the operator based on experience, which is somewhat blind. When the parts to be measured are large in volume, complex in structure, and have many constraints, relying on manual experience cannot guarantee the optimal measurement accuracy, or in order to ensure the overlap of photos, the number of photos is greatly increased, resulting in serious image data redundancy. Therefore, studying the camera station layout planning method to realize the camera posture combination solution and eliminate the blindness of camera layout based on manual experience is of great significance to improving measurement accuracy and reliability. Faced with multiple flights of the same type of objects to be measured, implementing a single planning can efficiently cope with all measurement tasks.

[0003] Chen Jiayi et al. (Research on planning methods of photogrammetric network for large trough concentrator surface shape. Renewable Energy, 2016(3):7.) designed a photogrammetric station layout planning method based on genetic algorithm, which effectively improved the measurement accuracy of surface shape. However, when using genetic algorithm for global optimization, the randomly initialized population may have data unevenness problems, and the algorithm has poor parallelism, and the global search capability needs to be improved. Summary of the invention

[0004] Aiming at the problems of data inhomogeneity, poor initial individual quality and low search starting point in the randomly initialized population in the existing intelligent optimization algorithm, the present invention proposes a photogrammetric station layout planning method based on the improved grey wolf algorithm. Firstly, a photogrammetric uncertainty evaluation function is established; then, the initial photogrammetric station layout positions are generated according to the K-means clustering algorithm; finally, the photogrammetric uncertainty evaluation function is used as the target optimization function of the grey wolf algorithm to obtain the optimal photogrammetric station layout. By determining the optimal station position combination, higher-precision station layout planning is achieved, thereby improving measurement efficiency.

[0005] The specific implementation contents of the present invention are as follows:

[0006] A photogrammetric station layout planning method based on an improved grey wolf algorithm comprises the following steps: firstly, the reconstruction uncertainty of the feature points of the target to be measured is determined according to the diagonal element matrix of the reconstructed covariance matrix of the feature points of the target to be measured, and a photogrammetric uncertainty evaluation function is established according to the reconstruction uncertainty; then, the initial photogrammetric station layout positions are generated according to the K-means clustering algorithm; finally, the photogrammetric uncertainty evaluation function is used as the target optimization function of the grey wolf algorithm, and the K-means clustering algorithm is used on the basis of the traditional grey wolf algorithm to generate the initial photogrammetric station positions, which are used as individuals of the initial population, and the grey wolf algorithm is improved to adapt to the photogrammetric station planning, so that the optimal station layout can be searched out more quickly.

[0007] In order to better implement the present invention, further, the photogrammetry station layout planning method based on the improved grey wolf algorithm specifically includes the following steps:

[0008] Step 1: According to the coordinate information of the feature point of the target to be measured, a collinear equation group is established, the maximum value of the reconstructed covariance matrix of the feature point of the target to be measured is calculated, and the maximum value is used as the reconstruction uncertainty of the feature point of the target to be measured;

[0009] Step 2: taking the average value of the reconstruction uncertainty of the feature points of the target to be measured as the spatial reconstruction uncertainty of the current photogrammetry camera station layout position, and establishing a measurement uncertainty evaluation function;

[0010] Step 3: Classify the feature points according to the K-means clustering algorithm, calculate the distances from the feature points to the cluster centers respectively, offset the set distance in the normal direction of the cluster center corresponding to the shortest distance, and calculate the initial photogrammetry camera station layout position;

[0011] Step 4: Use the uncertainty evaluation function as the objective optimization function of the Grey Wolf Algorithm, calculate the objective function value, and use the target position with the maximum objective function value as the optimal photogrammetry station position.

[0012] In order to better implement the present invention, further, the step 3 specifically includes the following steps:

[0013] Step 31: Determine the number of clusters K, and randomly select K feature points from the feature point set as initial cluster centers;

[0014] Step 32: Cluster the feature points into groups, and calculate the distances from the feature points to the K cluster centers respectively. i The distance between the cluster centers is the shortest, then the current feature point is divided into the Kth i Cluster groups and calculate new cluster centers;

[0015] Step 33: Repeat step 32 until the position of the cluster center remains unchanged, and obtain the final cluster center. The final cluster center is offset in the normal direction by a set distance to calculate the initial photogrammetry camera station layout position.

[0016] In order to better implement the present invention, further, the camera posture of the initial photogrammetry camera station layout points to the final cluster center.

[0017] In order to better implement the present invention, further, the step 4 specifically includes the following steps:

[0018] Step 41: Set the initial parameters of the gray wolf algorithm;

[0019] Step 42: randomly generate N-1 individuals as the initial population of the grey wolf algorithm, and put the initial photogrammetry camera station layout positions as individuals into the initial population;

[0020] Step 43: using the measurement uncertainty evaluation function as the target optimization function of the gray wolf algorithm, calculating the target function value of the individuals in the initial population, and selecting the solution with the best current target function value as α wolf, the second best as β wolf, the third best as δ wolf, and the remaining solutions as ordinary wolves;

[0021] Step 44: setting the position vector of the prey, the position vector of the gray wolf and the random vector, and updating the position information of the α wolf, the β wolf and the δ wolf;

[0022] Step 45: setting a control vector to control the walking direction of the gray wolf and setting a walking step length, selecting N / 4 individuals from the common wolves to perform random walking, calculating the objective function value of the individuals, retaining the first n individuals with the largest objective function value, and updating the positions of the α wolf, the β wolf, and the δ wolf;

[0023] Step 46: Determine whether the iteration termination condition is met. If so, take the positions of the α wolf, the β wolf and the δ wolf as the optimal camera station posture combination to obtain the optimal photogrammetry camera station position; if not, return to step 44.

[0024] In order to better implement the present invention, further, the step 44 specifically includes the following steps:

[0025] Step 441: Keep the positions of the α wolf, the β wolf and the δ wolf unchanged, set the position vector of the prey, the position vector of the gray wolf and the random vector, and calculate the distance between the gray wolf individual and the α wolf, the β wolf and the δ wolf in combination with the current positions of the α wolf, the β wolf and the δ wolf;

[0026] Step 442: Calculate the distance of the common wolf moving toward the α wolf, the β wolf and the δ wolf according to the distance between the gray wolf individual and the α wolf, the β wolf and the δ wolf, and calculate the final position after the movement;

[0027] Step 443: updating the position information of the α wolf, the β wolf and the δ wolf according to the final position after the movement.

[0028] In order to better implement the present invention, further, the initial parameters in step 41 include the population size N, the maximum number of iterations ε max , solve the spatial scope.

[0029] In order to better implement the present invention, further, the iteration termination condition in step 46 is to determine whether the set maximum number of iterations ε is reached. max .

[0030] The present invention has the following beneficial effects:

[0031] (1) The present invention uses the K-means clustering method for initial station planning and optimizes the camera station posture combination through the improved grey wolf algorithm, thereby improving the measurement stability and test accuracy.

[0032] (2) The present invention completes all measurement tasks while keeping the camera station layout unchanged. When faced with multiple batches of the same type of objects to be measured, all measurement tasks can be efficiently handled by implementing a single plan. Compared with the traditional method of manually deploying cameras, the present invention has higher measurement efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The present invention provides a flow chart of the method for photogrammetry station layout planning based on the improved grey wolf algorithm.

[0034] Figure 2 A schematic diagram of the position update of an ordinary wolf in the process of surrounding prey in the gray wolf algorithm provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. It should be understood that the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and therefore should not be regarded as limiting the scope of protection. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technical personnel in this field without making creative work are within the scope of protection of the present invention.

[0036] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "disposed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0037] Embodiment 1:

[0038] This embodiment proposes a photogrammetric station layout planning method based on an improved grey wolf algorithm. First, the reconstruction uncertainty of the feature points of the target to be measured is determined according to the diagonal element matrix of the reconstructed covariance matrix of the feature points of the target to be measured, and a photogrammetric uncertainty evaluation function is established according to the reconstruction uncertainty; then, an initial photogrammetric station layout position is generated according to the K-means clustering algorithm; finally, the photogrammetric uncertainty evaluation function is used as the target optimization function of the grey wolf algorithm to optimize the initial photogrammetric station layout position and obtain the optimal photogrammetric station layout position.

[0039] Working principle: In this embodiment, a photogrammetry uncertainty evaluation function is first established; then the initial photogrammetry station layout position is generated according to the K-means clustering algorithm; finally, the photogrammetry uncertainty evaluation function is used as the target optimization function of the Grey Wolf Algorithm to obtain the optimal photogrammetry station layout position. By determining the optimal combination of station positions, a more accurate station layout planning is achieved, thereby improving the measurement efficiency.

[0040] Embodiment 2:

[0041] This embodiment is described in the form of steps based on the above-mentioned embodiment 1.

[0042] Step 1: According to the coordinate information of the feature point of the target to be measured, a collinear equation group is established, the maximum value of the reconstructed covariance matrix of the feature point of the target to be measured is calculated, and the maximum value is used as the reconstruction uncertainty of the feature point of the target to be measured;

[0043] Step 2: taking the average value of the reconstruction uncertainty of the feature points of the target to be measured as the spatial reconstruction uncertainty of the current photogrammetry camera station layout, and establishing a measurement uncertainty evaluation function;

[0044] Step 3: Classify the feature points according to the K-means clustering algorithm, calculate the distances from the feature points to the cluster centers respectively, offset the set distance in the normal direction of the cluster center corresponding to the shortest distance, and calculate the initial photogrammetry camera station layout position.

[0045] Furthermore, the step 3 specifically includes the following steps:

[0046] Step 31: Determine the number of clusters K, and randomly select K feature points from the feature point set as initial cluster centers;

[0047] Step 32: Cluster the feature points into groups, and calculate the distances from the feature points to the K cluster centers respectively. i The distance between the cluster centers is the shortest, then the current feature point is divided into the Kth i Cluster groups and calculate new cluster centers;

[0048] Step 33: Repeat step 32 until the position of the cluster center remains unchanged, and obtain the final cluster center. The final cluster center is offset in the normal direction by a set distance to calculate the initial photogrammetry camera station layout position.

[0049] Furthermore, the camera posture of the initial photogrammetry camera station layout position points to the final cluster center.

[0050] Step 4: Use the uncertainty evaluation function as the objective optimization function of the Grey Wolf Algorithm, calculate the objective function value, and use the target position with the maximum objective function value as the optimal photogrammetry station position.

[0051] Furthermore, the step 4 specifically includes the following steps:

[0052] Step 41: Set the initial parameters of the gray wolf algorithm;

[0053] Step 42: randomly generate N-1 individuals as the initial population of the grey wolf algorithm, and put the initial photogrammetry camera station layout positions as individuals into the initial population;

[0054] Step 43: using the measurement uncertainty evaluation function as the target optimization function of the gray wolf algorithm, calculating the target function value of the individuals in the initial population, and selecting the solution with the best current target function value as α wolf, the second best as β wolf, the third best as δ wolf, and the remaining solutions as ordinary wolves;

[0055] Step 44: setting the position vector of the prey, the position vector of the gray wolf and the random vector, and updating the position information of the α wolf, the β wolf and the δ wolf;

[0056] Step 45: setting a control vector to control the walking direction of the gray wolf and setting a walking step length, selecting N / 4 individuals from the common wolves to perform random walking, calculating the objective function value of the individuals, retaining the first n individuals with the largest objective function value, and updating the positions of the α wolf, the β wolf, and the δ wolf;

[0057] Step 46: Determine whether the iteration termination condition is met. If so, take the positions of the α wolf, the β wolf and the δ wolf as the optimal camera station posture combination to obtain the optimal photogrammetry camera station position; if not, return to step 44.

[0058] Furthermore, the step 44 specifically includes the following steps:

[0059] Step 441: Keep the positions of the α wolf, the β wolf and the δ wolf unchanged, set the position vector of the prey, the position vector of the gray wolf and the random vector, and calculate the distance between the gray wolf individual and the α wolf, the β wolf and the δ wolf in combination with the current positions of the α wolf, the β wolf and the δ wolf;

[0060] Step 442: Calculate the distance of the common wolf moving toward the α wolf, the β wolf and the δ wolf according to the distance between the gray wolf individual and the α wolf, the β wolf and the δ wolf, and calculate the final position after the movement;

[0061] Step 443: updating the position information of the α wolf, the β wolf and the δ wolf according to the final position after the movement.

[0062] In order to better implement the present invention, further, the initial parameters in step 41 include the population size N, the maximum number of iterations ε max , solve the spatial scope.

[0063] In order to better implement the present invention, further, the iteration termination condition in step 46 is to determine whether the set maximum number of iterations ε is reached. max .

[0064] Working principle: This embodiment adopts the kmeans clustering algorithm to generate initial photogrammetry stations based on the traditional gray wolf algorithm, and uses it as individuals of the initial population. The gray wolf algorithm is improved to adapt to photogrammetry station planning, and the optimal station layout can be searched more quickly.

[0065] The other parts of this embodiment are the same as those of the above-mentioned embodiment 1, and thus will not be described in detail.

[0066] Embodiment 3:

[0067] This embodiment is based on any one of the above embodiments 1 to 2. Figure 1 , Figure 2 As shown, a specific embodiment is described in detail.

[0068] This embodiment mainly includes the following steps:

[0069] Step S1: Establish measurement uncertainty evaluation function: According to the coordinate information of the characteristic points of the target to be measured, establish the collinear equation group, calculate the maximum value of the diagonal elements of the reconstruction covariance matrix of the m target points to be measured as the reconstruction uncertainty σ of point i i Under this camera station layout, the spatial reconstruction uncertainty of the layout is expressed by the average value of the reconstruction uncertainty of each target point.

[0070] Perform normalization processing and establish the measurement uncertainty evaluation function:

[0071]

[0072] Where σ lim The measurement uncertainty of a spatial point required for the measurement task.

[0073] Step S2: Generate the initial camera station layout through the K-means clustering algorithm.

[0074] The specific operation of step S2 is as follows: first determine the number of clusters K, randomly select K feature points from the feature point set as the initial cluster centers. Then cluster all feature points and calculate the distance from each feature point to the K cluster centers. i The distance between the cluster centers is the shortest, then the feature point is divided into the Kth i Cluster groups are formed, and new cluster centers are calculated after all clusters are grouped. Finally, the "update cluster center-group" operation is repeated, and the iterative calculation is performed until the position of the cluster center no longer changes. The camera station position is calculated by offsetting the cluster center by a certain distance in the normal direction, and the camera posture points to each cluster center.

[0075] Step S3: Solve the optimal layout of photogrammetry stations by improving the Grey Wolf Algorithm.

[0076] Step S3 specifically includes the following steps:

[0077] Step S3.1: Set parameters. Set the population size N, the maximum number of iterations ε max , the scope of the solution space.

[0078] Step S3.2: Initialize the population. Randomly generate N-1 individuals as the initial population, and put the camera station layout generated by clustering in step S2 as an individual into the initial population.

[0079] Step S3.3: Selection of α, β, and δ wolves. The measurement uncertainty evaluation function in step S1 is used as the evaluation standard for the quality of individual wolves in the optimization process of the gray wolf algorithm, that is, the target optimization function. The target function value of each wolf individual in the initial population is calculated, and the three individual positions with the largest function values ​​are selected as the α, β, and δ wolf positions, respectively, and the remaining wolves are used as ordinary wolf individuals.

[0080] Step S3.4: Surround the prey. Keep the positions of α, β, and δ wolves unchanged and use and Represent the position vector of the prey and the position vector of the gray wolf respectively, and Represent the current positions of α, β, and δ respectively; is a random vector, the distance between the gray wolf individual and α, β, δ wolves They are:

[0081]

[0082] The direction and distance of the ordinary wolf's movement toward the α, β, and δ wolves are:

[0083]

[0084] Where A i (where i = 1, 2, 3) is the coefficient vector, and the calculation formula is a i is the convergence coefficient, is a random number between [0,1];

[0085] The final position after the move is: t represents the number of iterations.

[0086] Calculate the objective function value of the individual wolves and update the position information of α, β, and δ wolves.

[0087] Figure 2 In the figure, R represents the convergence radius and Move represents the moving direction.

[0088] Step S3.5: Use vector It is used to control the wandering direction of the gray wolf. Step represents the walking step length. Both variables are random. N / 4 individuals are selected from the ordinary wolf ω according to the formula: Random walk occurs and the individual positions of the wolves are updated, where X(t) represents the position of the wolf before the walk and X′(t) represents the position of the wolf after the walk.

[0089] Calculate the objective function values ​​of all individuals, retain the top N individuals with the largest function values, and update the positions of α, β, and δ wolves.

[0090] Step S3.6: Determine the iteration termination condition. Determine whether the maximum number of iterations ε is reached max If it is reached, output the current optimal solution, otherwise go to step S3.4.

[0091] Working principle: This embodiment uses the measurement uncertainty evaluation function as the basis for judging the quality of the camera station layout. Aiming at the problems of data unevenness, poor initial individual quality and low search starting point in the randomly initialized population in the intelligent optimization algorithm, the K-means clustering method is used for initial station planning. The improved gray wolf algorithm is used to optimize the camera station posture combination to achieve the most accurate camera station layout planning.

[0092] This embodiment has the characteristic of high measurement accuracy. By using this embodiment to plan the layout of photogrammetric camera stations, the theoretically optimal camera station layout can be obtained. Compared with the traditional manual station layout based on experience or random station layout, it has higher measurement accuracy. This embodiment has the characteristic of high measurement stability. For the same measurement object, the camera station layout planned by this embodiment can complete all measurement tasks, and the camera station layout remains unchanged. Compared with traditional methods, manual measurement cannot guarantee that the station positions are the same each time. This application has higher measurement stability. This embodiment has the characteristic of high measurement efficiency. When facing multiple flights of the same model of objects to be measured, one planning can efficiently cope with all measurement tasks. Compared with the traditional method of manually deploying cameras, this application has higher measurement efficiency.

[0093] The other parts of this embodiment are the same as any one of the above-mentioned embodiments 1-2, so they will not be repeated here.

[0094] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification or equivalent change made to the above embodiment based on the technical essence of the present invention shall fall within the protection scope of the present invention.

Claims

1. A photogrammetry station layout planning method based on an improved grey wolf algorithm, characterized in that: Firstly, the reconstruction uncertainty of the feature points of the target to be measured is determined according to the diagonal element matrix of the reconstruction covariance matrix of the feature points of the target to be measured, and a measurement uncertainty evaluation function is established according to the reconstruction uncertainty; then, the initial photogrammetric camera station layout position is generated according to the K-means clustering algorithm; finally, the photogrammetric uncertainty evaluation function is used as the target optimization function of the grey wolf algorithm to optimize the initial photogrammetric camera station layout position and obtain the optimal photogrammetric camera station layout position; The specific steps include: Step 1: According to the coordinate information of the feature point of the target to be measured, a collinear equation group is established, the maximum value of the reconstructed covariance matrix of the feature point of the target to be measured is calculated, and the maximum value is used as the reconstruction uncertainty of the feature point of the target to be measured; Step 2: taking the average value of the reconstruction uncertainty of the feature points of the target to be measured as the spatial reconstruction uncertainty of the current photogrammetry camera station layout, and establishing a measurement uncertainty evaluation function; Step 3: Classify the feature points according to the K-means clustering algorithm, calculate the distances from the feature points to the cluster centers respectively, offset the set distances in the normal direction of the cluster center corresponding to the shortest distance, and generate the initial photogrammetry camera station layout positions; Step 4: Using the uncertainty evaluation function as the target optimization function of the grey wolf algorithm, calculating the target function value, and determining the optimal camera station posture combination according to the target function value, and using it as the optimal photogrammetry camera station layout position; The step 4 specifically comprises the following steps: Step 41: Set the initial parameters of the gray wolf algorithm; Step 42: randomly generate N-1 individuals as the initial population of the grey wolf algorithm, and put the initial photogrammetry camera station layout positions as individuals into the initial population; Step 43: using the measurement uncertainty evaluation function as the target optimization function of the gray wolf algorithm, calculating the target function value of the individuals in the initial population, and selecting the solution with the best current target function value as α wolf, the second best as β wolf, the third best as δ wolf, and the remaining solutions as ordinary wolves; Step 44: setting the position vector of the prey, the position vector of the gray wolf and the random vector, and updating the position information of the α wolf, the β wolf and the δ wolf; Step 45: Set the control vector to control the walking direction of the gray wolf and set the walking step length. Select N / 4 individuals from the common wolves to perform random walking. Calculate the objective function value of the individual, retain the first n individuals with the largest objective function value, and update the positions of the α wolf, the β wolf, and the δ wolf; where X(t) represents the position of the wolf before wandering, and X′(t) represents the position of the wolf after wandering. represents the control vector that controls the gray wolf's wandering direction, and step represents the wandering step length; Step 46: Determine whether the iteration termination condition is met. If so, take the positions of the α wolf, the β wolf and the δ wolf as the optimal camera station posture combination to obtain the optimal photogrammetry camera station layout position; if not, return to step 44.

2. According to the method for planning the layout of photogrammetric stations based on the improved grey wolf algorithm of claim 1, it is characterized in that: The step 3 specifically includes the following steps: Step 31: Determine the number of clusters K, and randomly select K feature points from the feature point set as initial cluster centers; Step 32: Cluster the feature points into groups, and calculate the distances from the feature points to the K cluster centers respectively. i The distance between the cluster centers is the shortest, then the current feature point is divided into the Kth i Cluster groups and calculate new cluster centers; Step 33: Repeat step 32 until the position of the cluster center remains unchanged, and obtain the final cluster center. The final cluster center is offset by a set distance in the normal direction, and the initial photogrammetry camera station layout position is calculated.

3. The photogrammetry station layout planning method based on the improved grey wolf algorithm according to claim 2 is characterized in that: The camera posture of the initial photogrammetry camera station layout position points to the final cluster center.

4. The photogrammetry station layout planning method based on the improved grey wolf algorithm according to claim 1 is characterized in that: The step 44 specifically includes the following steps: Step 441: Keeping the positions of the α wolf, the β wolf and the δ wolf unchanged, setting the position vector of the prey, the position vector of the gray wolf and the random vector, and combining the current positions of the α wolf, the β wolf and the δ wolf, respectively calculating the distances between the gray wolf individual and the α wolf, the β wolf and the δ wolf; Step 442: Calculate the distance of the common wolf moving toward the α wolf, the β wolf and the δ wolf according to the distance between the gray wolf individual and the α wolf, the β wolf and the δ wolf, and calculate the final position after the movement; Step 443: updating the position information of the α wolf, the β wolf and the δ wolf according to the final position after the movement.

5. The photogrammetry station layout planning method based on the improved grey wolf algorithm according to claim 1 is characterized in that: The initial parameters in step 41 include the population size N, the maximum number of iterations ε max , solve the spatial scope.

6. The photogrammetry station layout planning method based on the improved grey wolf algorithm according to claim 1 is characterized in that: The iteration termination condition in step 46 is to determine whether the set maximum number of iterations ε is reached. max .