User:Tubas/PlanetarySystemStacker

PlanetarySystemStacker
Developer(s)Rolf Hempel
Written inPython, Qt
Operating systemWindows, Linux, MacOS
Available inEnglish, German
TypeAstronomy software
LicenseGPL
Websitegithub.com/Rolf-Hempel/PlanetarySystemStacker

PlanetarySystemStacker (PSS) is a free astronomy program under GNU General Public License for amateur astronomy image optimisation taken from Moon, Sun and planets like Mars, Jupiter or Saturn.

Typical photo of an observation series, here of the lunar crater Gassendi.
Optimized photo, after processing an observation video with PSS.

The program enhances photographs using anvanced shift-and-add methods. It takes many images from observation series and computes an optimized image.

Features and operation edit

From videos in formats like SER[1], AVI or MP4 PSS extracts frames. The frames may be collections of photographs taken in formats like TIFF, PNG or FITS as well. Artifacts may pretend a good image sharpness and selected image sequences can also be evaluated manually.

The memory management of the program handles image sequences of many GBytes in size, much bigger than the available computer memory.

The stacking process reduces the image noise by averaging the frames. Atmospheric disturbances not only change the image sharpness but also distort the geometry of the frames. Before averaging they must be non-linearly rectified.

[[Datei:Guipss.png|mini|links|GUI, here evaluation of image quality]]

The program automatically orders the frames by sharpness in decreasing order (see image). Individual frames may be manually excluded from further processing if required.

During the image stabilization step the program shifts all frames in respect to the sharpest frame. Because of the different distortion of the frames, this cannot be done perfectly.

Since all frames are more or less distorted, none of them serve as an absolute reference for alignment. Therefore a (selectable) percentage of the sharpest frames is averaged as a reference. Since the distortions are statistical in nature, the result is somewhat blurred but undistorted.

The crucial step is to determine the distortions of all frames compared to the reference. The program covers the image with up to several thousand alignment points and determines the local shifts. In a small square area around each anchor point the displacement is corrected. These patches are combined into an overall image by smooth superposition.

Optionally, post-processing follows the stacking. The program aligns the RGB-channels against each other with subpixel accuracy, automatically or manually . Image details can be worked out with a hierarchy of sharpening filters like unsharp masking, Gaussian filters or bilateral filters and their superposition.

Software edit

Amateur photograpyh of moon, processed with PSS and camera controled with MPM.


The software is developed in Python and GUI toolkit Qt. The source code and documentation [2], including the algorithms[3], are available on Github. Under Python environment PSS can be installed with pip. For installation on Windows systems without Python, an installer is available on Github.

The first stable version was published to public in 2020.[4][5][6]

History edit

Amateur astronomer [[Rolf Hempel] developed the MoonPanoramaMaker (MPM) program to perfect his lunar images. To improve the tiling of the panorama image, he developed PlanetarySystemStacker as a free alternative to other proprietary programs. [7] The currently most popular proprietary stacking program AutoStakkert!3 does not offer post-processing. Many users still resort to the proprietary program Registax for this purpose, which has not been further developed for ten years.

See also edit

References edit

  1. ^ Hempel, Rolf (2021-01-28). "SER input format" (PDF). PSS. Retrieved 2021-01-28.
  2. ^ Hempel, Rolf (2021). "User Guide" (PDF). PSS. Retrieved 28 January 2021.
  3. ^ Hempel, Rolf (2021). "PSS Algorithms" (PDF). PSS. Retrieved 28 January 2021.
  4. ^ Hempel, Rolf (May 2020). "PLANETARY SYSTEM STACKER". Lunar Section of the British Astronomical Association: Lunar Section Circular. 57 (05): 8.
  5. ^ Hombach, Paul (2020). "Scharfe Mond- und Planetenbilder mit dem Planetarysystemstacker". Astronomie -- Das Magazin. 2020 (12).
  6. ^ Sternwarte Hof (Germany) (2020). Planetary System Stacker (Video) (in German). https://www.youtube.com. Retrieved 2020-01-29. {{cite AV media}}: External link in |location= (help)
  7. ^ Fritz, L (2020). "A Lunar Addiction, interview with Rolf Hempel". Das Magazin der internationalen Photoszene Köln. 2020 (6): 26. Retrieved 2020-01-29.

External links edit


Category:Astronomy software Category:Science education software Category:Python (programming language) Category:Qt (software)