Changes between Version 10 and Version 11 of Procedures/DeliveryCreation/Hyperspectral
- Timestamp:
- Oct 22, 2010, 2:37:32 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Procedures/DeliveryCreation/Hyperspectral
v10 v11 4 4 5 5 1. Create quicklook jpgs. 6 1. Create a directory called 'jpgs' to hold the images that will be created (This is where make_delivery_folder.sh will look for them). 7 1. Use make_mosaic.sh script 6 - Create a directory called 'jpgs' to hold the images that will be created (This is where make_delivery_folder.sh will look for them). 7 There are several ways to create the jpegs: 8 - Use make_mosaic.sh script 8 9 1. Open a terminal window in the lev3 directory under the project workspace 9 10 1. Ensure the only geotiffs in the lev3 directory are ones you want to convert to jpgs - either delete unwanted ones or move them to a subdirectory … … 11 12 1. Usage `make_mosaic.sh -d <tif-directory> -s <sensor-flag> -o <output-directory> [-v <vector-directory>] [-z <UTMZONE>]` 12 13 1. Example from within lev3 dir to create eagle images: `make_mosaic.sh -d ./ -s e -o ../jpgs/ -v ~arsf/vectors/from_os/EX01_01/` 13 1. Otherwise (or if that fails) you may be able to use `convert`14 - Use `convert`: 14 15 1. {{{for filename in `ls`; do convert $filename `echo $filename | sed 's/.tif/.jpg/'`; done}}} 15 16 1. Use ENVI to create mosaics manually. 16 1.Convert doesn't always produce images that are scaled sensibly. If so, use the old scripted method.17 - Convert doesn't always produce images that are scaled sensibly. If so, use the old scripted method. 17 18 1. Open a terminal window in the lev3 directory under the project workspace 18 19 1. Ensure the only geotiffs in the lev3 directory are ones you want to convert to jpgs - either delete unwanted ones or move them to a subdirectory 19 20 1. Run `gtiff2jpg.py -d ./ -a` - If this runs out of memory try again without the -a. You can also run on individual files instead of on a directory by using -s <filename> instead of -d ./ 20 21 1. Create mosaics separately using ENVI (or whatever other method). 21 1.If all else fails, open tifs in ENVI and manually take screenshots and crop them using gimp. Envi also has mosaicking abilities.22 - If all else fails, open tifs in ENVI and manually take screenshots and crop them using gimp. Envi also has mosaicking abilities. 22 23 1. Create the delivery directory: run make_delivery_folder.sh. Check it's created everything you expect correctly. If it fails, you can create the directory manually as follows: 23 24 1. In the project directory in the workspace, create a directory called "delivery". Within this create a directory named after the date as YYYYMMDD, and within this create one named after the project code.