Changes between Version 1 and Version 2 of Processing/MatchTwoLinesByBoresight


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/MatchTwoLinesByBoresight

    v1 v2  
    2525 * $headdir depends on heading direction: '+' if heading 0->179 else '-'
    2626 * $outputdirectory is the name of a directory to spit out jpgs and txt files
     27
     28The pitch, roll and yaw angles to use are reported at the end of the terminal output. The quality of these can be checked first by viewing the produced image. If the blue-green tiepoints appear to have random offsets or there are very few of them then the quality may not be very good.  Reprocess the warp image using the new boresight adjustment values and view it together with the base image to determine its quality. Further iterations may be required.
     29
     30== Important Notes ==
     31
     32The warp and base images used should be as straight as possible, no wobbles or bends in the data. Only short parts of the flight lines are required, usually 2000 lines will suffice. Prior to running the script you should view the 2 images to check they overlap with each other.  Use `azexhdf -h <lev1filename>` to get the height and heading of the flight line
     33
     34This method does not always produce suitable results and the following may help if the results are not good:
     35 * try changing the matching type if the number of tie points attained was small or bad quality
     36 * you may have to tie point manually in ENVI - slow and more effort but results usually good (if your tie points are)
     37 * check you are using the correct height for the part of the line you are matching against
     38
     39== More automated approach ==
     40There are another 2 scripts which can be used for a more automated approach but there are some known issues with these.
     41
     42 * `getboresightvalues.sh` can be used as a more simple way to run the IDL script from a bash terminal. It assumes you also have the script `startidl.sh` in the same directory and is run as: `getboresightvalues.sh $warplev1file $basefilename $warpfilename '$matchtype' '$outputdirectory'` replacing the $words