PlanetarySystemStacker
Project description
PlanetarySystemStacker (PSS)
Produce a sharp image of a planetary system object (moon, sun, planets) from many seeing-affected frames using the "lucky imaging" technique.
The program is mainly targeted at extended objects (moon, sun), but it works as well for planets. Results obtained in many tests show at least the same image quality as with the established software AutoStakkert!3.
The software is written in Python 3. The program uses array operations (OpenCV, numpy) wherever possible to speed up execution. A modern graphical user interface (implemented using the QT5 toolkit) and good usability were high priorities in designing the software. PSS is platform-independent and can be used where Python 3 is available. The software has been tested successfully on Windows, various Linux distributions, and MacOS. Starting with version 0.8.0, PSS can be used either in GUI mode or from the command line, e.g. as part of a large automatic workflow.
Input to the program can be either video files or directories containing still images. The following algorithmic steps are performed:
- First, all frames are ranked by their overall image quality.
- On the best frame, a rectangular patch with the most pronounced structure in x and y is identified automatically. (Alternatively, the user can select the patch manually as well.)
- Using this patch, all frames are aligned globally with each other.
- A mean image is computed by averaging the best frames.
- An alignment point mesh covering the object is constructed automatically. Points, where the image is too dim, or has too little contrast or structure, are discarded. The user can modify the alignment points, or set them all by hand as well.
- For each alignment point, all frames are ranked by their local contrast in a surrounding image patch.
- The best frames up to a given number are selected for stacking. Note that this list can be different for different points.
- For all frames, local shifts are computed at all alignment points.
- Using those shifts, the alignment point patches of all contributing frames are stacked into a single average image patch.
- Finally, all stacked patches are blended into a global image, using the background image in places without alignment points.
- After stacking is completed, the stacked image can be postprocessed (sharpened) either in a final step of the stacking workflow, or in a separate postprocessing job.
Program execution is most efficient if the image data and all intermediate results can be keept in memory. This, however, requires much RAM space. Therefore, the level of buffering can be selected in the configuration dialog, ranging from 0 (no buffering) to 4 (maximum buffering).
There are three ways to install the program:
- For Windows users there is an self-contained installer. It installs the complete software and creates a starter on the user's desktop.
- The user installs Python 3 (including pip3), and then calls pip3 to install PSS with all its dependencies automatically. This is the preferred way to install PSS in a platform-independent way. Details can be found in the User Guide.
- Experienced users can install the Python 3 environment and all packets needed by PSS manually, and then clone the PSS source code from Github. Again, the details are found in the Appendix of the User Guide document.
The way to start the program depends on how it was installed:
- If the Windows installer was used, the program is started via the desktop icon.
- If PSS was installed with PIP, it can be started from the command line by entering "PlanetarySystemStacker".
- The program can be started in the Python 3 interpreter by executing the main program in module "planetary_system_stacker.py" .
A discussion platform for all issues concerning this software project has been created in the context of the German amateur astronomy forum Astronomie.de. Currently this forum is in German language only, but an English branch is in preparation. Additionally, an extensive discussion on the subject can be found on the Cloudy Nights forum.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for planetary_system_stacker-0.8.14-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 739f42decb6e7b612698808d8c256104ab974f6be17b0e3cf0866b07b818f37a |
|
MD5 | 900ab59025ef6473f954cedd088aec92 |
|
BLAKE2b-256 | aac646fc6dff612780430980fe4670ad437045b63a735e78eafeaa8582a345d9 |
Hashes for planetary_system_stacker-0.8.14-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908db783f822f1ffddb63200d4d0ba1b8546118399f0f43f96d75de24b42f298 |
|
MD5 | d99a1b6e45f4f0bbbb996cfc3f82bfe4 |
|
BLAKE2b-256 | caa61388eab18f41c4828fef3c0b34051190b37f4bea342901b2e1db362a6303 |
Hashes for planetary_system_stacker-0.8.14-py3-none-macosx_10_6_intel.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 160fdfab4ba08c9d85319ad2ffe46d1d352a314c71871caf4c40624bb3b778d5 |
|
MD5 | a338bcdb4ec2e0b181586b5f60673b58 |
|
BLAKE2b-256 | 5c7d9d82c86af43a31af7dd86c9bcc313bd2dee2b6bf5f1a6a3be008d482ada6 |