The application discloses a high-precision moon tracking method based on
image processing, which comprises the following steps: according to local GPS information, the height angle and the
azimuth angle of the moon relative to the local position are calculated by using an astronomical
algorithm and are sent to an execution module for pre-adjustment, so that the moon is preliminarily tracked; the moon target in the gray-scale image is recognized by using a
Hough transform, the position of the moon center in the image and the moon
radius are obtained, the weight of each pixel point in the image to the moon brightness is calculated, the weighted center is obtained, the accurate position of the moon brightness center is obtained, the
azimuth deviation and the
pitch angle deviation of the moon brightness center and the
optical axis are calculated, and if the deviation data exceeds a preset threshold value, the deviation data is sent to the execution module for correction and adjustment. The moon image is collected in real time by using a CCD, the moon center and the
radius are recognized by using an
image processing method, the accurate position of the moon brightness center and the deviation of the moon brightness center and the
optical axis are calculated by using parameters, the high-precision real-time tracking of the moon is realized, and the method has the advantages of high precision,
rapid response and the like.