Crates.io | nitv |
lib.rs | nitv |
version | 0.2.0 |
source | src |
created_at | 2024-04-20 17:41:15.697526 |
updated_at | 2024-09-30 16:26:25.072976 |
description | NITF Visualizer |
homepage | |
repository | https://github.com/holmesv3/nitf-viz |
max_upload_size | |
id | 1214746 |
size | 6,741,098 |
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).
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
If the file has SICD metadata, it is used to compute the ground resolution similar to sarpy's get_ground_resolution()
.