PiNox’s plate solver estimates an image’s celestial centre, orientation and scale from the detected stars. The calculation runs locally. This article covers my first solver, developed for the fixed 25 mm lens. I present two examples using fields containing M31 and M45, with the same solver and two starting conditions: first with no prior celestial position, then with an estimate of right ascension.
Images and computing conditions
The two images, taken on 21 September 2026, measure 4056 × 3040 pixels. The solver uses the stellar centres detected in the image.
The timings from 22 October 2026 were measured on a Raspberry Pi 4 Model B with 2 GB of memory. The solver distributes the work across three threads using OpenMP (Open Multi-Processing). The central processing unit (CPU) runs at a variable frequency of up to 2 GHz. An MJPEG (Motion JPEG) video stream, made up of successive JPEG images, is being viewed during the calculations.
The approximate angular sampling supplied to the solver is 12.602 arcseconds per pixel. The solver uses at most 24 sources. The correction of stellar positions to the observation date, known as JNow, and the horizon filter are enabled.
From catalogue to geometric solution
After measuring stellar centres in the image, PiNox looks for matches in a star catalogue. Catalogue positions are projected onto a plane. The solver then fits a similarity transformation: translation, rotation and a scale factor. Several matches must support the same transformation; fit quality and ambiguity between candidates determine whether a solution is accepted.
The stars retained in the solution, or inliers, are the matches consistent with this fit. Their number differs from both the total number of detected stars and the source limit used to start the search.
The solution gives the right ascension and declination of the image centre, along with its orientation and scale.
Three possible starting points
Blind search
Blind mode has no prior celestial position for the field. It still uses an approximate scale supplied at the start. When location and time are available, the horizon filter restricts the search to visible regions. The search compares possible matches within this part of the sky.
Blind search assisted by right ascension
PolarScope estimates right ascension from the rotation angle of the mount’s right ascension axis, its calibration and sidereal time. The estimate has an uncertainty; declination remains unknown. The solver starts in a right ascension band and requires the same stellar confirmation as in a blind search.
A stale, invalid or uncalibrated hint is ignored. If a usable hint does not lead to a solution, PiNox falls back to the full search within the solver’s limits. The search width is not simply the stated uncertainty: it must also allow the regions corresponding to the image’s field of view to be found.
Regional search
Regional mode starts from a position obtained in a previous solve. It therefore has a reference celestial position, whereas PolarScope assistance provides only an estimate of right ascension here. Regional mode is excluded from the timing comparison.
Timings and number of regions examined
| Field | Blind | Assisted | Blind / assisted ratio |
|---|---|---|---|
| Containing M31 | 762.004 ms | 257.158 ms | 2.96× |
| Containing M45 | 812.509 ms | 258.689 ms | 3.14× |
The ratio between the medians is 2.96 for M31 and 3.14 for M45. The number of regions examined drops from 211 to 45 for M31 and from 213 to 42 for M45. Here, the usable hint reduces the area of sky searched before identification, without requiring a fallback to the full search.
Agreement between solutions and what the residual means
For each image, blind and assisted modes produce the same solution at the precision reported by the software: centre, orientation, scale, retained matches and residual.
| Field | Retained stars | Residual (pixels) | Regions: blind / assisted |
|---|---|---|---|
| Containing M31 | 23 | 1.60664 | 211 / 45 |
| Containing M45 | 22 | 1.24351 | 213 / 42 |
The astrometric residual describes the internal difference between measured positions and those predicted by the fitted model. A smaller residual indicates closer agreement between the model and the measured stars. Absolute accuracy on the sky is checked against an independent reference.
Reducing the computational work
PiNox loads the relevant catalogue once per solve and shares it between the worker threads. If PolarScope’s hint leads to a dead end, regions already examined are reused during the wider search.
Both modes use the same program and acceptance criteria. The comparison therefore measures the effect of PolarScope’s hint on these two images.
Ephemeris: planets in the solved field
Planets move against the background stars. Their positions require an ephemeris calculation for a given time, separate from finding matches in the star catalogue. Ephemeris provides this calculation; the annotation layer then reuses the solver’s projection and geometric transformation to map celestial coordinates to image pixels.
The date and time used are the solve’s reference date and time. The planetary positions used here are apparent geocentric positions: they are expressed for that instant as seen from the centre of the Earth. They are already in the coordinate frame for that date and are projected directly, without applying a second JNow stellar correction. The observing location, obtained from GPS among other sources, is used to relate the field to the local sky and apply the horizon filter.
The layer covers Mercury, Venus, Mars, Jupiter, Saturn, Uranus and Neptune.
In this screenshot, Uranus has an estimated visual magnitude of 5.7, an apparent diameter of about 3.8 arcseconds and a distance of about 18.76 astronomical units. An astronomical unit is approximately the mean distance between the Earth and the Sun. These values come from the ephemeris calculation; the magnitude indicates the expected brightness, independently of the image’s gain and exposure.
I wrote Ephemeris a long time ago. Connecting it to this annotation pipeline worked on the first attempt: the solved field supplies the geometry, and the ephemerides supply the moving objects to place in it.
Uses and limitations of these two examples
The solution is used to place catalogue annotations, locate an object and indicate framing. Neither solving the field nor selecting a target moves the mount.
Too few usable stars, severe blur or a scale incompatible with the initial estimate can prevent a reliable solution. The fitted similarity transformation does not model all optical distortion; a good internal residual does not remove that limitation.
A right ascension hint allows the search to start in a restricted area while retaining verification against the stars. Its usefulness depends on PolarScope’s calibration, the validity of its estimate and its uncertainty.
Towards solving at different focal lengths
I want to extend the solver to work across different focal lengths. The new 5–50 mm lens, at f/2.8, should replace the fixed 25 mm lens. With the same sensor, this range changes the angular sampling by a factor of about ten.
The challenge will be to widen the scale search and handle focal length changes without reusing a calibration that is no longer appropriate. The wide field at 5 mm will also provide an opportunity to examine the effect of optical distortion on the fit.
Further reading
The other reading approach
How PiNox identifies its patch of sky · Discovery version: recognising a field and framing a target.