Skip to content

Colorize

István Kovács edited this page Jan 27, 2025 · 2 revisions

Making Calibrated Color Image

Creates a color JPEG image from calibrated images.

Command-line options

Command-line switches can be viewed with the ppl-colorize --help command.

ppl-colorize, version 1.2.0 
Make color jpeg image from calibrated FITS images.

Usage: ppl-colorize [OPTIONS]... [BASE_FOLDER]

Mandatory arguments to long options are mandatory for short options too.
-m,  --method arg   scaling method, available values are: linear, sqrt, log, asinh
-c,  --color arg    use selected color for all channel ; it results monochrome image
     --scale value  scaling constant
     --plot arg     plot objects on image ; v - variables, c - comp stars, t - tranzients, f - field stars
-h,  --help         print this page

Functionality and Use Cases:

This tool can be used if calibration has been performed for all three color channels (-c all option), and three Combined-*.fits images have been generated in the Sequence folder.

If all three color channels are not available, the --color option can be used to select the available channel, creating a grayscale image.

The resulting JPEG image is saved in the base directory and is named after the directory, with a .jpg extension.

Command-line Option Details:

  • -m, --method – Specifies the scaling method for the images. Possible values: linear, sqrt, log, asinh.
  • -c, --color – Selects the color channel to be used for the image. Creates a greyscale image. Possible values: Gi, Bi, Ri.
  • --scale – Sets the brightness scaling factor for the original image. Values below 1.0 reduce brightness.
  • --plot – Marks objects on the image based on data from reference catalogs, photometric result lists, or transient result lists. The argument specifies the types of objects to be plotted, using single-character codes:
    • v – Variable stars.
    • c – Comparison stars.
    • f – Field stars (from the reference catalog).
    • d – Deep-sky objects (e.g., galaxies).
    • p – Photometric stars.
    • t – Transients.
    • m – Moving objects.

Marked objects appear on a separate image file with the suffix -ann.

  • -h, --help – Displays help and version information.

Notes on the --plot Option:

The --plot option can only be used after photometry, as it requires astrometric results.

Clone this wiki locally