martinber / apt_color

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 are two seperate scripts - channelcropper seperates channels from a raw APT image, and makeRGB uses the channels to create the final composite (output image is in color.png).

python channelcropper.py input.png cha.png chb.png
python makeRGB.py -ir (do ir blend) -boost (boost the land color on very blue images) cha.png chb.png

Image Gallery

image image image image

About

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

License:MIT License


Languages

Language:Python 100.0%