/apt-color

Turn APT images into HRPT-like composites with no overlays, maps, or anything else.

Primary LanguagePythonMIT LicenseMIT

apt_color_header

apt_color

Turn APT images into HRPT-like composites. No overlays like WXtoIMG, no weird underlays, or requiring where the satellite was when the image was taken. As an example to the power of this tool, take a look at the header or the gallery below.

Neat, huh? Anyways, here's how to use it :)

Motivation

After seeing too many black and white ugly images. Moving on.

Get. Rid. Of. The. Yellow. Tinge.

Coming soon! It is quite complex, though, so it may take a while. While you wait, get an HRPT setup.

Why does it happen, though?

Essentially, the visible channel gets too bright. When making an HRPT composite, standard 221 is used, and the channel 2 increases along with the channel 1. But on APT, there is no channel 1, so channel 4 is used, however, it becomes ugly in terms of brightness. Essentially, a good idea is to try to get NOAA-18 APT, or try not to get too much varying brightness in channel 2.

How to run it

There is a single script that seperates channels from a raw APT image, and uses the channels to create the final composite. Both the two channels and the colored image are available in the out/ directory.

$ python ./src/makeRGB.py --help
usage: makeRGB.py [-h] [-m MODE] [-b] src

APT Colorizer CLI

positional arguments:
src                   The raw APT image taken from the satellite

options:
-h, --help            show this help message and exit
-m MODE, --mode MODE  The mode. It can be "ir", "ir_night", "sunset", or "noir" (default: noir)
-b, --boost           Boost the land color on very blue images (default: False)
python ./makeRGB.py input.png --boost --mode noir

Image Gallery

image image image image