Changes between Version 10 and Version 11 of Procedures/DeliveryCreation/Hyperspectral


Ignore:
Timestamp:
Oct 22, 2010, 2:37:32 PM (13 years ago)
Author:
knpa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Procedures/DeliveryCreation/Hyperspectral

    v10 v11  
    44
    55 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
    89     1. Open a terminal window in the lev3 directory under the project workspace
    910     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
     
    1112     1. Usage `make_mosaic.sh -d <tif-directory> -s <sensor-flag> -o <output-directory> [-v <vector-directory>] [-z <UTMZONE>]`
    1213     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`:
    1415     1. {{{for filename in `ls`; do convert $filename `echo $filename | sed 's/.tif/.jpg/'`; done}}}
    1516     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.
    1718     1. Open a terminal window in the lev3 directory under the project workspace
    1819     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
    1920     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 ./
    2021     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.
    2223 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:
    2324   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.