Python tool for cross-sensor calibration (This tool development is part of the NSF Award #DEB 2017889)
To convert neon data to envi format.
To generate config files for topo and brdf corr.
Which will load the config file and perform corrections
This file load config file and perfrom corrections and visualizes plots for before and after correction.
-
Convert neon data to envi.
- CMD:
python neon2envi2.py <path-to-dataset_name> <path-to-output_folder> -anc
- Example: python neon2envi.py neon.h5 output/ -anc
- Make sure output folder exists from the level at which the conversion code is being called.
- You can change the name of the folder according to your preference.
- CMD:
-
Generate config json
- Edit the config_generator.py according what correction is to be performed.
- This script has all the options required.
- Run the script as
python config_generator.py
- This will create the config_.json in the folder specified in the config file.
-
Perform Correction
- Run the image_correct.py file with the config file as the cmd args
- CMD:
python image_correct.py <path-to-config-file>
- Example:
python image_correct.py output/config_01.json