app nitv

NITF Visualizer

4 releases

0.2.0 Sep 30, 2024
0.1.2 Apr 27, 2024
0.1.1 Apr 23, 2024
0.1.0 Apr 20, 2024

#106 in Geospatial

Download history 13/week @ 2024-06-30 7/week @ 2024-09-22 164/week @ 2024-09-29 8/week @ 2024-10-06

179 downloads per month

MIT license

4.5MB
920 lines

nitv

NITF Visualizer (nitv) is a program which will read a NITF file and attempt to create a png from the image data

For questions, feature requests, or bugs, please open an issue.

Currently assumes that any NITF with multiple image segments is a single image, split along rows (each segment contains all columns).

Usage

First, install from source or directly using cargo...

cargo install nitv

... then provide a NITF file(s)

nitv <path-to-nitf>(s)

There are a handful of options available

--output          Output folder [default: .]
--size            sqrt(num-pixels) e.g., --size 50 -> 50^2 pixel image [default: 256]
--level           Log level [default: info] [possible values: off, error, warn, info, debug, trace]
--nitf-log        Enable logging for nitf reading

Current support (files from Umbra's Open Data)

SIDD / monochrome

SIDD product example

RGB/RGB + LUT

RGB product example

SICD

If the file has SICD metadata, it is used to compute the ground resolution similar to sarpy's get_ground_resolution(). SICD product example

Dependencies

~7–18MB
~198K SLoC