Polar axis alignment method for astronomical telescope and computer readable storage medium

The image acquisition device on the equatorial mount captures images, analyzes the coordinates, and calculates the equatorial coordinates, thereby achieving precise adjustment of polar alignment, solving the problems of high equipment cost and complex operation in the existing technology, and improving the accuracy of polar alignment. Accuracy and efficiency.

CN111986093BActive Publication Date: 2024-09-06ZW OPTICAL ZWO
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202010892378.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-31
Publication Date
2024-09-06
Estimated Expiration
2040-08-31

AI Technical Summary

Technical Problem

The existing polar alignment method requires the use of a polar mirror to assist, which increases equipment costs, is complex to operate and has large errors, and the field of view of the polar mirror must be near the celestial pole, making it difficult for users to operate.

Method used

Capture images through the image acquisition device installed on the equatorial mount, analyze the mapping relationship between the image acquisition pixel coordinates and the equatorial coordinates, calculate the equatorial coordinates of the image rotation center, convert the equatorial coordinates into horizon coordinates, and adjust the pointing of the equatorial mount to achieve the polar axis Alignment reduces equipment costs and simplifies operation.

Benefits of technology

It realizes polar alignment without a polar mirror, reduces equipment costs, simplifies the operation process, and improves the accuracy and efficiency of polar alignment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111986093B
    Figure CN111986093B
Patent Text Reader

Abstract

The present invention discloses a polar axis alignment method for an astronomical telescope and a computer-readable storage medium. The horizontal coordinates of the polar axis are obtained by calculating the horizontal coordinates of the image rotation center, and the main lens of the astronomical telescope can be directly used to shoot the image for polar axis alignment, thereby reducing equipment costs. A mapping relationship between image pixel coordinates and equatorial coordinate conversion is established by parsing the acquired coordinate file, and the pixel coordinates and equatorial coordinates of any point in the image can be converted to each other. When performing polar axis alignment, the field of view of the polar axis scope does not have to be limited to the vicinity of the celestial pole. It is only necessary to aim the main lens of the astronomical telescope at any sky area for shooting, and then adjust the direction of the equatorial mount according to prompts, repeat shooting, and then adjust the direction of the equatorial mount to gradually approach the polar axis to the celestial pole. The operation is simple for users. The shooting delay error is also corrected when calculating the pixel coordinates of the image rotation center, and the speed of obtaining the equatorial coordinates of star points is increased through a matching algorithm, thereby improving the accuracy and efficiency of polar axis alignment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of astronomical photography, and in particular to a polar axis alignment method of an astronomical telescope and a computer-readable storage medium. Background Art

[0002] Polar alignment is a very important part of astronomical photography. The quality of polar alignment directly affects the accuracy of the equatorial mount tracking, and then affects the quality of astronomical photography images. Traditionally, people use the optical polar axis scope of the equatorial mount to perform polar alignment. The principle is to install a polar axis graticule in front of the polar axis scope, which marks the optical center of the polar axis scope and the position of the North Star mark. Since the North Star is not exactly on the North Celestial Pole, but is a distance away from the North Celestial Pole, in actual polar axis adjustment, it is necessary to first calculate the position of the North Star in the graticule according to the date, time and the position of the earth where the equatorial mount is located, move the North Star mark in the polar axis scope to this position in the graticule, and then adjust the horizontal axis and elevation angle of the equatorial mount to adjust the actual North Star to coincide with the North Star mark in the polar axis scope. This operation method is more complicated, and the error of polar axis alignment is also relatively large.

[0003] Later, the electronic polar axis scope appeared. It uses a camera to capture images near the North Celestial Pole, identifies the North Star in the image through software, and then moves the North Star to the correct position in the image by adjusting the horizontal axis and elevation angle of the equatorial mount, thereby achieving polar axis alignment. This method does not require the user to calculate the position of the North Star based on the date, time and location on the earth. It is much simpler than an optical polar axis scope, but it requires that the North Star must be included in the captured image, and its use has certain limitations.

[0004] In summary, the existing polar axis alignment method has the following shortcomings:

[0005] 1. A polar axis mirror (optical polar axis mirror or electronic polar axis mirror) coaxially set with the polar axis of the equatorial mount must be used to assist in polar axis alignment, which increases the equipment cost;

[0006] 2. When performing polar axis alignment, the field of view of the polar axis scope must be near the celestial pole, which makes it difficult for users to operate. Summary of the invention

[0007] The object of the present invention is to provide a polar axis alignment method for an astronomical telescope and a computer-readable storage medium.

[0008] In order to achieve one of the above-mentioned invention objects, the present invention adopts the following technical solution:

[0009] A polar axis alignment method for an astronomical telescope comprises the following steps:

[0010] S1, taking a first image by an image acquisition device installed on the equatorial mount, parsing the first image to obtain a first coordinate file, and establishing a mapping relationship between the pixel coordinates of the first image and the equatorial coordinates through the first coordinate file;

[0011] S2, rotating the image acquisition device around the polar axis by an angle to acquire a second image, parsing the second image to acquire a second coordinate file, and establishing a mapping relationship between the pixel coordinates of the second image and the equatorial coordinates through the second coordinate file;

[0012] S3, calculating the pixel coordinates of the image rotation center according to the first coordinate file and the second coordinate file;

[0013] S4, converting the pixel coordinates of the image rotation center into equatorial coordinates;

[0014] S5, converting the equatorial coordinates of the image rotation center into horizontal coordinates;

[0015] S6. Calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than a preset first threshold value. If the difference is lower than the preset first threshold value, end the polar axis alignment. If the difference is higher than the preset first threshold value, adjust the direction of the equatorial mount according to the difference, and take the nth image through the image acquisition device, calculate the horizontal coordinates of the image rotation center, calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than the preset first threshold value.

[0016] Pixel coordinates are coordinates in the pixel coordinate system, see Figure 1 As shown in Figure 1, the pixel coordinate system is a coordinate system used to describe the position relationship of pixels in an image. Usually, the upper left corner of the image is taken as the origin, the right is the positive direction of the x-axis, and the downward is the positive direction of the y-axis.

[0017] Equatorial coordinates are coordinates in the equatorial coordinate system, and horizontal coordinates are coordinates in the horizontal coordinate system. Both the equatorial coordinate system and the horizontal coordinate system are commonly used celestial coordinate systems, which are spherical coordinate systems used to determine the positions of celestial bodies on the celestial sphere (an imaginary sphere with the observer as the center and an arbitrary length as the radius is called the celestial sphere).

[0018] See also Figure 2 As shown in the figure, the equatorial coordinate system takes the celestial equator as the basic circle and the vernal equinox γ as the origin. The arc γT is the first coordinate of the celestial body X in the equatorial coordinate system, called the right ascension, recorded as α. The right ascension of the celestial body is measured from the vernal equinox in a counterclockwise direction, from 0h to 24h (or 0° to 360°).

[0019] Arc XT is the second coordinate of celestial body X in the equatorial coordinate system, called declination, denoted by δ.

[0020] Because the vernal equinox moves with the celestial bodies, the right ascension α and declination δ of any celestial body in the equatorial coordinate system will not change due to observations made by observers in different locations or at different times. Therefore, the equatorial coordinate system is widely used in celestial measurement.

[0021] See also Figure 3 As shown, the horizontal coordinate system is the most intuitive and simplest celestial coordinate system for observers. The horizontal coordinate system takes the horizon as the basic circle, the zenith Z as the basic point, and the south point S (or north point N) as the origin. All great circles that pass through the zenith and the nadir and are perpendicular to the horizon are collectively called horizontal meridians, and all circles parallel to the horizon are called horizontal latitudes. Suppose there is a celestial body X, and a horizontal meridian is drawn through X and intersects the horizon at M. The great circle arc SM is the first coordinate of the celestial body X, called the horizontal longitude or azimuth, denoted by A, and the great circle arc XM is the second coordinate of the celestial body X, called the horizontal latitude or altitude, denoted by h. The horizontal latitude is measured from the horizon toward the zenith, ranging from 0° to 90°, and measured toward the nadir, ranging from 0° to -90°. For celestial bodies closer to the zenith, the great circle arc ZX is also used to replace the horizontal latitude, which is called the zenith distance, denoted by z. The zenith distance is measured from zenith to nadir, ranging from 0° to 180°. Obviously, z = 90°-h.

[0022] In the present invention, the coordinate conversion from the pixel coordinate system to the equatorial coordinate system is realized by a software program (reference: https: / / fits.gsfc.nasa.gov / fits_wcs.html) containing the WCS algorithm (the WCS algorithm is an algorithm for converting between image pixel coordinates and celestial coordinates proposed by EW Creisen and MR Calabretta in 2002, and different coordinate conversion functions are constructed according to different projection methods from the sphere to the plane). The coordinate conversion from the pixel coordinate system to the equatorial coordinate system can be divided into two steps, the first step is to convert from the pixel coordinate system to the world coordinate system, and the second step is to convert from the world coordinate system to the equatorial coordinate system.

[0023] The world coordinate system is the intermediate coordinate system used when the pixel coordinate system and the celestial coordinate system (equatorial coordinate system) are converted to each other. Its purpose is to establish the connection between the pixel coordinate system and the celestial coordinate system. The coordinate file obtained by analyzing the image records the world coordinate system conversion parameters of the WCS algorithm. These parameters are the coefficients when the pixel coordinate system and the celestial coordinate system are converted to each other. By using these parameters, the coordinate conversion between the pixel coordinate system and the celestial coordinate system can be realized.

[0024] A software program containing the WCS algorithm can calculate the world coordinate system conversion parameters of the WCS algorithm based on the pixel coordinates and equatorial coordinates of the image center point. However, in the process of parsing and obtaining the equatorial coordinates of the image center point, the amount of redundant calculations is large and the matching speed is slow. The present invention improves the speed of obtaining the equatorial coordinates corresponding to the image center point through a matching algorithm.

[0025] As a further improved technical solution of the present invention, the image acquisition device is a main lens of an astronomical telescope.

[0026] As a further improved technical solution of the present invention, in step S2, the image acquisition device acquires the second image after rotating 60 to 180 degrees around the polar axis.

[0027] As a further improved technical solution of the present invention, in step S6, calculating the horizontal coordinates of the image rotation center includes the following steps: parsing the nth image to obtain the nth coordinate file, establishing a mapping relationship between the nth image pixel coordinates and the equatorial coordinates through the nth coordinate file, and converting the pixel coordinates of the image rotation center into equatorial coordinates, and converting the equatorial coordinates of the image rotation center into horizontal coordinates.

[0028] As a further improved technical solution of the present invention, parsing the first / second / n images to obtain the first / second / n coordinate files includes the following steps:

[0029] Step A1, constructing a pixel coordinate system to obtain pixel coordinates of the first / second / nth image;

[0030] Step A2, obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm;

[0031] Step A3: Calculate the world coordinate system conversion parameters of the WCS algorithm according to the pixel coordinates and equatorial coordinates of the center point of the first / second / n image, and save the world coordinate system conversion parameters of the WCS algorithm in the first / second / n coordinate file accordingly.

[0032] As a further improved technical solution of the present invention, the step S3 calculates the pixel coordinates of the image rotation center according to the first coordinate file and the second coordinate file, comprising the following steps:

[0033] Step B1, converting the pixel coordinates of any point in the first image into equatorial coordinates through the first coordinate file;

[0034] Step B3, converting the equatorial coordinates of the arbitrary point into pixel coordinates in the second image through the second coordinate file;

[0035] Step B4, calculating the difference between the pixel coordinates of the arbitrary point in the first and second images, and taking the pixel coordinates of the point with the minimum difference in the second image as the pixel coordinates of the image rotation center.

[0036] As a further improved technical solution of the present invention, step B2 is also included between step B1 and step B3. In step B2, the right ascension value of the equatorial coordinates of any point in step B1 is added to the earth's rotation angle during the interval between the first and second image shooting times to correct the delay error of the equatorial coordinates in step B3.

[0037] As a further improved technical solution of the present invention, the step A2 of obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm comprises the following steps:

[0038] Step C1, randomly selecting two stars from the image acquired by the image acquisition device, then constructing a circular area with the line connecting the two selected stars as the diameter, selecting another two stars in the circular area to form a first four-star combination, and calculating the first geometric hash codes corresponding to all the first four-star combinations;

[0039] Step C2, dividing the reference star catalog into grids, and selecting a number of stars ranked high in brightness from each grid, grouping the selected stars into groups of four to form a second four-star combination, and calculating a second geometric hash code corresponding to each second four-star combination;

[0040] Step C3, the first four-star combination and the second four-star combination whose difference between the first geometric hash code and the second geometric hash code is within the preset second threshold are successfully matched. When the number of successful matches between the second four-star combination and the first four-star combination in a certain grid exceeds the preset third threshold, it is determined that the image is within the sky area corresponding to the grid, and the equatorial coordinates corresponding to the center point of the image are obtained through the correspondence between the successfully matched first four-star combination and the second four-star combination.

[0041] In order to achieve the above another invention object, the present invention adopts the following technical solution:

[0042] A computer-readable storage medium stores one or more programs, which, when executed by a computer, are used to implement the above-mentioned polar axis alignment method of an astronomical telescope.

[0043] Compared with the prior art, the technical effects of the present invention are:

[0044] 1. The horizontal coordinates of the polar axis are obtained by calculating the horizontal coordinates of the image rotation center (the horizontal coordinates of the polar axis are equal to the horizontal coordinates of the image rotation center). The main lens of the astronomical telescope can be used to directly shoot the image for polar axis alignment, without the need for a separate polar axis mirror, thus reducing equipment costs;

[0045] 2. By analyzing the coordinate file obtained, the mapping relationship between the image pixel coordinates and the equatorial coordinates can be established. The pixel coordinates and equatorial coordinates of any point in the image can be converted to each other. When performing polar axis alignment, the field of view of the polar axis scope does not have to be limited to the vicinity of the celestial pole. You only need to aim the main lens of the astronomical telescope at any celestial area to shoot, and then adjust the direction of the equatorial mount according to the prompts, repeat the shooting, and then adjust the direction of the equatorial mount to gradually bring the polar axis closer to the celestial pole. The operation is simple for users;

[0046] 3. When calculating the pixel coordinates of the image rotation center (i.e., the polar axis pixel coordinates), the right ascension value of the equatorial coordinates of any point in step B1 is added to the earth's rotation angle during the interval between the first and second image shooting times to correct the delay error of the equatorial coordinates in step B3, thereby improving the accuracy of the image rotation center pixel coordinate calculation, which is beneficial to improving the polar axis alignment accuracy;

[0047] 4. The matching algorithm is used to improve the speed of obtaining the equatorial coordinates corresponding to the center point of the image, which is beneficial to improving the efficiency of polar axis alignment. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a schematic diagram of the composition of the pixel coordinate system;

[0049] Figure 2 It is a schematic diagram of the composition of the equatorial coordinate system;

[0050] Figure 3 It is a schematic diagram of the composition of the horizontal coordinate system;

[0051] Figure 4 is a schematic flow chart of a polar axis alignment method for an astronomical telescope in an embodiment of the present invention;

[0052] Figure 5 is a schematic diagram of capturing a first image by an image acquisition device installed on an equatorial mount in an embodiment of the present invention;

[0053] Figure 6 is a schematic diagram of acquiring a second image after rotating the image acquisition device around the polar axis by an angle in an embodiment of the present invention;

[0054] Figure 7 is a schematic diagram of a first image, a second image and an image rotation center in an embodiment of the present invention;

[0055] Figure 8 It is a schematic diagram of the principle of the geometric hash code corresponding to the four-star combination in the embodiment of the present invention;

[0056] Fig. 9 Schematic diagram of a reference star catalog in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0058] See also Figure 4 , a polar axis alignment method for an astronomical telescope, comprising the following steps:

[0059] S1, first adjust the equatorial mount to the zero position, and capture the first image (such as Figure 5 ), parsing the first image to obtain a first coordinate file, and establishing a mapping relationship between the first image pixel coordinates and the equatorial coordinate conversion through the first coordinate file;

[0060] S2, rotating the image acquisition device around the polar axis by an angle to acquire a second image (such as Figure 6 ), parsing the second image to obtain a second coordinate file, and establishing a mapping relationship between the second image pixel coordinates and the equatorial coordinate conversion through the second coordinate file;

[0061] S3, calculate the image rotation center according to the first coordinate file and the second coordinate file (such as Figure 7 Pixel coordinates of the

[0062] S4, converting the pixel coordinates of the image rotation center into equatorial coordinates;

[0063] S5, converting the equatorial coordinates of the image rotation center into horizontal coordinates;

[0064] S6. Calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than a preset first threshold value. If the difference is lower than the preset first threshold value, end the polar axis alignment. If the difference is higher than the preset first threshold value, adjust the direction of the equatorial mount according to the difference, and take the nth image through the image acquisition device, calculate the horizontal coordinates of the image rotation center, calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than the preset first threshold value.

[0065] It should be noted that the pixel coordinates of the image rotation center corresponding to the rotation of the image acquisition device around the polar axis in step S2 are the pixel coordinates of the polar axis of the equatorial mount, and the pixel coordinates of the polar axis are fixed in a number of images taken by the image acquisition device, and will not change as the image acquisition device rotates around the polar axis or adjusts the orientation of the equatorial mount. After the pixel coordinates of the image rotation center are calculated in step S3, when the nth image is subsequently taken, it is only necessary to parse the nth image and establish a mapping relationship between the pixel coordinates of the nth image and the equatorial coordinate conversion, so that the pixel coordinates of the polar axis can be converted into the equatorial coordinates, and then converted into the horizontal coordinates, and the relative orientation of the current orientation of the polar axis and the celestial pole can be determined.

[0066] The conversion between equatorial coordinates and horizontal coordinates is achieved through the existing coordinate conversion function.

[0067] Furthermore, in this embodiment, the image acquisition device is a main lens of an astronomical telescope.

[0068] Furthermore, in step S2 of the present embodiment, the image acquisition device acquires the second image after rotating 60 degrees around the polar axis.

[0069] In other embodiments, the image acquisition device in step S2 may acquire the second image after rotating around the polar axis by any angle in the range of 60 to 180 degrees, including 60 to 180 degrees clockwise and 60 to 180 degrees counterclockwise.

[0070] Furthermore, in step S6, calculating the horizontal coordinates of the image rotation center includes the following steps: parsing the nth image to obtain the nth coordinate file, establishing a mapping relationship between the pixel coordinates of the nth image and the equatorial coordinates through the nth coordinate file, and converting the pixel coordinates of the image rotation center into equatorial coordinates, and converting the equatorial coordinates of the image rotation center into horizontal coordinates.

[0071] Further, parsing the first / second / n images to obtain the first / second / n coordinate files includes the following steps:

[0072] Step A1, constructing a pixel coordinate system to obtain pixel coordinates of the first / second / nth image;

[0073] Step A2, obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm;

[0074] Step A3: Calculate the world coordinate system conversion parameters of the WCS algorithm according to the pixel coordinates and equatorial coordinates of the center point of the first / second / n image, and save the world coordinate system conversion parameters of the WCS algorithm in the first / second / n coordinate file accordingly.

[0075] Furthermore, the step S3 of calculating the pixel coordinates of the image rotation center according to the first coordinate file and the second coordinate file includes the following steps:

[0076] Step B1, converting the pixel coordinates of any point in the first image into equatorial coordinates through the first coordinate file;

[0077] Step B3, converting the equatorial coordinates of the arbitrary point into pixel coordinates in the second image through the second coordinate file;

[0078] Step B4, calculating the difference between the pixel coordinates of the arbitrary point in the first and second images, and taking the pixel coordinates of the point with the minimum difference in the second image as the pixel coordinates of the image rotation center.

[0079] First, the pixel coordinates of a point in the first image are converted to equatorial coordinates, and then the pixel coordinates of the same equatorial coordinate point are found in the second image. Because the image acquisition device is rotated around the polar axis before taking the second image, the pixel coordinates corresponding to the polar axis in the first and second images are the same. The point with the same equatorial coordinates and the smallest difference in pixel coordinates in the two images is the pixel coordinate of the polar axis.

[0080] In this embodiment, it is preferred to use a quasi-Newton algorithm to calculate the point with the smallest pixel coordinate difference between the two images.

[0081] During the interval between the first and second images, the Earth is rotating, so the second image contains not only the movement of the image acquisition device rotating around the polar axis, but also the movement caused by the Earth's rotation. That is, a point in the first image will be displaced around the celestial pole in the second image, and the longer the interval between the first and second images, the greater the displacement, and the calculated pixel coordinates of the image rotation center will have errors.

[0082] Furthermore, in this embodiment, step B2 is also included between step B1 and step B3. In step B2, the right ascension value of the equatorial coordinate of any point in step B1 is added to the earth's rotation angle during the interval between the first and second image shooting times to correct the delay error of the equatorial coordinate in step B3.

[0083] Furthermore, in this embodiment, a continuous geometric hashing method is used to match the center point of the image with a reference star table in a database (the equatorial coordinates of the center point of the reference star table are known coordinates), so as to quickly calculate the equatorial coordinates of the center point of the image.

[0084] Specifically, the step A2, obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm, includes the following steps:

[0085] Step C1: Figure 8 As shown, two stars are randomly selected from the image acquired by the image acquisition device and are marked as A and B. The coordinates of star A are marked as (0,0), and the coordinates of star B are marked as (1,1). Then, a circular area is constructed with AB as the diameter. Two other stars are selected from the circular area and are marked as C and D. The coordinates of star C and star D are recorded as (x c ,y c ) and (x d ,y d ), ABCD constitutes the first four-star combination, and the first geometric hash code corresponding to all the first four-star combinations is calculated. The geometric hash code refers to the four-dimensional vector (x c ,y c , x d ,y d), which describes the relative positions of the four stars. This geometric hash code is invariant to image translation, scaling, and rotation. To prevent C and D from having symmetry, we let x c <x d , x c +x d ≤1 to break this symmetry.

[0086] Step C2: Fig. 9 As shown, in order to prevent all star points in the reference star catalog from being involved in the matching and generating too much computation, the reference star catalog is divided into grids, and several stars with the highest brightness ranking (preferably the first 10 stars) are selected from each grid, and the selected stars are grouped into four to form a second four-star combination, and the second geometric hash code corresponding to each second four-star combination is calculated. The method for calculating the second geometric hash code is the same as in step C1.

[0087] Step C3, the first four-star combination and the second four-star combination whose difference between the first geometric hash code and the second geometric hash code is within the preset second threshold are successfully matched. When the number of successful matches between the second four-star combination and the first four-star combination in a certain grid exceeds the preset third threshold, it is determined that the image is within the sky area corresponding to the grid, and the equatorial coordinates corresponding to the center point of the image are obtained through the correspondence between the successfully matched first four-star combination and the second four-star combination.

[0088] In addition, the present invention also discloses a computer-readable storage medium on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0089] The program product for implementing the polar axis alignment method of the astronomical telescope according to an embodiment of the present invention may adopt a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.

[0090] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0091] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0092] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0093] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0094] Compared with the prior art, the technical effects of the present invention are:

[0095] By calculating the horizontal coordinates of the image rotation center to obtain the horizontal coordinates of the polar axis (the horizontal coordinates of the polar axis are equal to the horizontal coordinates of the image rotation center), the main lens of the astronomical telescope can be used to directly shoot the image for polar axis alignment, without the need to equip a polar axis mirror separately, thus reducing equipment costs;

[0096] By analyzing the coordinate file obtained, a mapping relationship between the image pixel coordinates and the equatorial coordinates is established. The pixel coordinates and equatorial coordinates of any point in the image can be converted to each other. When performing polar axis alignment, the field of view of the polar axis scope does not have to be limited to the vicinity of the celestial pole. It is only necessary to aim the main lens of the astronomical telescope at any celestial region to shoot, and then adjust the direction of the equatorial mount according to the prompts, repeat the shooting, and then adjust the direction of the equatorial mount to gradually bring the polar axis closer to the celestial pole. The operation is simple for users.

[0097] When calculating the pixel coordinates of the image rotation center (i.e., the polar axis pixel coordinates), the right ascension value of the equatorial coordinates of any point in step B1 is added to the earth's rotation angle during the interval between the first and second image shooting times to correct the delay error of the equatorial coordinates in step B3, thereby improving the accuracy of the image rotation center pixel coordinate calculation, which is beneficial to improving the polar axis alignment accuracy;

[0098] Improving the speed of obtaining the equatorial coordinates corresponding to the center point of the image through the matching algorithm is beneficial to improving the efficiency of polar axis alignment.

[0099] Finally, it should be noted that the above implementation modes are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned implementation modes, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned implementation modes, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various implementation modes of the present invention.

Claims

1. A polar axis alignment method for an astronomical telescope, characterized in that: The following steps are involved: S1. Capturing a first image through a main lens of an astronomical telescope mounted on an equatorial mount, parsing the first image to obtain a first coordinate file, and establishing a mapping relationship between pixel coordinates of the first image and equatorial coordinates through the first coordinate file; S2, rotating the main lens of the astronomical telescope around the polar axis by an angle to obtain a second image, analyzing the second image to obtain a second coordinate file, and establishing a mapping relationship between the pixel coordinates of the second image and the equatorial coordinates through the second coordinate file; S3, calculating the pixel coordinates of the image rotation center according to the first coordinate file and the second coordinate file; S4, converting the pixel coordinates of the image rotation center into equatorial coordinates; S5, converting the equatorial coordinates of the image rotation center into horizontal coordinates; S6. Calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than a preset first threshold value. If the difference is lower than the preset first threshold value, terminate the polar axis alignment. If the difference is higher than the preset first threshold value, adjust the direction of the equatorial mount according to the difference, and take the nth image through the main lens of the astronomical telescope, calculate the horizontal coordinates of the image rotation center, calculate the difference between the horizontal coordinates of the image rotation center and the horizontal coordinates of the celestial pole, and determine whether the difference is lower than the preset first threshold value.

2. The polar axis alignment method of an astronomical telescope according to claim 1, characterized in that: In step S2, the main lens of the astronomical telescope is rotated 60 to 180 degrees around the polar axis to obtain the second image.

3. The polar axis alignment method of an astronomical telescope according to claim 1, characterized in that: In step S6, calculating the horizontal coordinates of the image rotation center includes the following steps: parsing the nth image to obtain the nth coordinate file, establishing a mapping relationship between the pixel coordinates of the nth image and the equatorial coordinates through the nth coordinate file, and converting the pixel coordinates of the image rotation center into equatorial coordinates, and converting the equatorial coordinates of the image rotation center into horizontal coordinates.

4. The polar axis alignment method of an astronomical telescope according to claim 1 or 3, characterized in that: Parsing the first / second / n images to obtain the first / second / n coordinate files includes the following steps: Step A1, constructing a pixel coordinate system to obtain pixel coordinates of the first / second / nth image; Step A2, obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm; Step A3: Calculate the world coordinate system conversion parameters of the WCS algorithm according to the pixel coordinates and equatorial coordinates of the center point of the first / second / n image, and save the world coordinate system conversion parameters of the WCS algorithm in the first / second / n coordinate file accordingly.

5. The polar axis alignment method of an astronomical telescope according to claim 1, characterized in that: The step S3 calculates the pixel coordinates of the image rotation center according to the first coordinate file and the second coordinate file, comprising the following steps: Step B1, converting the pixel coordinates of any point in the first image into equatorial coordinates through the first coordinate file; Step B3, converting the equatorial coordinates of the arbitrary point into pixel coordinates in the second image through the second coordinate file; Step B4, calculating the difference between the pixel coordinates of the arbitrary point in the first and second images, and taking the pixel coordinates of the point with the minimum difference in the second image as the pixel coordinates of the image rotation center.

6. The polar axis alignment method of an astronomical telescope according to claim 5, characterized in that: The step B2 is also included between step B1 and step B3. In step B2, the right ascension value of the equatorial coordinate of any point in step B1 is added with the earth's rotation angle during the interval between the first and second image shooting times to correct the delay error of the equatorial coordinate in step B3.

7. The polar axis alignment method of an astronomical telescope according to claim 4, characterized in that: The step A2, obtaining the equatorial coordinates of the center point of the first / second / nth image by a matching algorithm, comprises the following steps: Step C1, randomly selecting two stars in the image acquired by the main lens of the astronomical telescope, then constructing a circular area with the line connecting the two selected stars as the diameter, selecting another two stars in the circular area to form a first four-star combination, and calculating the first geometric hash codes corresponding to all the first four-star combinations; Step C2, dividing the reference star catalog into grids, and selecting a number of stars ranked high in brightness from each grid, grouping the selected stars into groups of four to form a second four-star combination, and calculating a second geometric hash code corresponding to each second four-star combination; Step C3, the first four-star combination and the second four-star combination whose difference between the first geometric hash code and the second geometric hash code is within the preset second threshold are successfully matched. When the number of successful matches between the second four-star combination and the first four-star combination in a certain grid exceeds the preset third threshold, it is determined that the image is within the sky area corresponding to the grid, and the equatorial coordinates corresponding to the center point of the image are obtained through the correspondence between the successfully matched first four-star combination and the second four-star combination.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a computer, they are used to implement the polar axis alignment method of the astronomical telescope according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method for obtaining sky area target image and astronomical photography equipment

    CN112019745A

  • Rotary pedestal

    JP2014137308A

  • Polar Axis Calibration System, Electronic Polar Scope, Polar Axis Calibration Control Device, and Equatorial Instrument and Telescope Comprising the Same

    US20180210062A1

  • Electronic polar alignment for astronomical instrument

    US20200233055A1

  • Techniques for optimizing an autonomous star tracker

    US5745869A