PlanetarySystemStacker command not found

In this troubleshooting guide we learn how to fix PlanetarySystemStacker command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

PlanetarySystemStacker: command not found

or when using sudo you get the following error message

sudo: PlanetarySystemStacker: command not found

Solutions to PlanetarySystemStacker: command not found

How To Fix PlanetarySystemStacker: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu PlanetarySystemStacker is provided by planetary-system-stacker package.

planetary-system-stacker is:

This package contrains software to 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.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install planetary-system-stacker

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install planetary-system-stacker.

sudo apt -y install planetary-system-stacker

Or if you have aptitude installed you can use the following command.

sudo aptitude install planetary-system-stacker

Summary

In this tutorial we learn how to fix PlanetarySystemStacker command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.