Downlink visualization¶
raw_to_jpg
¶
Batch-convert 512x512 RGB .raw images to .jpg.
Usage:
uv run raw_to_jpg.py <directory>
Converts every .raw file in the given directory to a .jpg alongside it. Intended for MEDIUM images downloaded via FLUSH_MEDIUM_STORAGE, but works with any 512x512x3 RGB .raw file (including HIGH frames).
convert(raw_path)
¶
Convert a single 512x512 RGB .raw file to .jpg.
Source code in ground_segment/raw_to_jpg.py
24 25 26 27 28 29 30 31 32 | |
main()
¶
Convert all .raw files in the given directory to .jpg.
Source code in ground_segment/raw_to_jpg.py
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |