Changes between Initial Version and Version 1 of Processing/MatchTwoLinesByBoresight


Ignore:
Timestamp:
Apr 30, 2009, 10:22:42 AM (16 years ago)
Author:
mark1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/MatchTwoLinesByBoresight

    v1 v1  
     1= Matching two flight lines by applying Boresight corrections =
     2
     3This page summarises how to match two flight lines together if they do not line up, by using boresight corrections.
     4------
     5== Usage ==
     6
     7The IDL script `getboresight.pro` will take 2 images and utilise either a feature match or area-based match to generate tie-points, or will use tie-points given in a separate file. When IDL is started, at the prompt type:
     8
     9`envi, /restore_base_save_files`
     10
     11This will setup the ENVI functionality. Then (if the getboresight.pro script is not in your current directory include the path to the file) type:
     12
     13`.compile getboresight.pro`
     14
     15to compile the script. To run the script type the following command, replacing the $words with their respective values:
     16
     17`getboresight, '$basefilename' ,'$warpfilename','$matchtype','$height','$HORIZONTAL','$headdir','$outputdirectory'`
     18
     19where
     20 * $basefilename is the master/base file (tif image you want to match to)
     21 * $warpfilename is the slave/warp file (tif you want to match to the basefile)
     22 * $matchtype is either 'feature', 'area' or '<filename>' where filename is GCP file in ENVI format
     23 * $height is the height of the aircraft when the warpimage was acquired
     24 * $HORIZONTAL is either 'horiz' or 'nothoriz' depending on the heading of the aircraft. Suggest 'horiz' if heading is in ranges 355-005, 085-095, 175-185 or 265-275.
     25 * $headdir depends on heading direction: '+' if heading 0->179 else '-'
     26 * $outputdirectory is the name of a directory to spit out jpgs and txt files