| 1 | = orthoigen = |
| 2 | |
| 3 | Orthorectifies an image and is built on top of igen. It is better suited for scripting as many settings can be passed in as parameters and it supports but doesn’t require a keyword list. |
| 4 | For orthoigen you must at a minimum specify an input and an output. This would actually be equivalent to an image copy. |
| 5 | Currently the ouptut writer type is specified by the extension of the filename. In most cases you will also be specifying a |
| 6 | view. |
| 7 | |
| 8 | {{{ |
| 9 | SIMPLE |
| 10 | |
| 11 | orthoigen <input> <output> |
| 12 | |
| 13 | Assume we have input foo.tif and we wish to convert it to foo.jpg: |
| 14 | |
| 15 | orthoigen foo.tif foo.jpg |
| 16 | |
| 17 | |
| 18 | |
| 19 | PROJECTION |
| 20 | |
| 21 | orthoigen --utm <input files> <output> |
| 22 | orthoigen --geo <input files> <output> |
| 23 | orthoigen --geo-scaled <latitude> <input files> <output> |
| 24 | orthoigen --input-proj <input files> <output> |
| 25 | |
| 26 | orthoigen --view-template view_template/utm_8.kwl <input files> <output> |
| 27 | |
| 28 | |
| 29 | TILING_TEMPLATE |
| 30 | |
| 31 | For now we have to enable a view when tiling |
| 32 | |
| 33 | orthoigen --utm --tiling-template <template> <input files> <output> |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | EXAMPLES: |
| 41 | |
| 42 | BLEND thumbnail |
| 43 | |
| 44 | orthoigen /data/sanfran_ccf/foo.ccf /data/sanfran_map/sanfran_map.tif output/blend.jpg --combiner-type ossimBlendMosaic -t 512 --utm |
| 45 | |
| 46 | 1024x1024 tiling |
| 47 | orthoigen --chain-template chain_templates/landsat_projected_321.kwl --tiling-template tiling_templates/1024x1024.kwl --thumbnail 2048 --utm /data/p44r34/l71044034_03420000725_hrf.fst output/ |
| 48 | |
| 49 | SRTM 90 meter tiling |
| 50 | orthoigen --geo --tiling-template tiling_templates/orthoigen_srtm_3arc.kwl /data/ele1/DTED3arc/w100/n40.dt1 output/ |
| 51 | |
| 52 | orthoigen --view-template view_template/utm_8.kwl /data/sanfran_ccf/foo.ccf output/utm8.jpg --thumbnail 1024 |
| 53 | |
| 54 | orthoigen |
| 55 | Usage: |
| 56 | Options: |
| 57 | --chain-template Specify an external file that contains chain informatio |
| 58 | --combiner-template Specify an external file that contains combiner |
| 59 | information |
| 60 | --combiner-type Specify what mosaic to use, ossimImageMosiac or |
| 61 | ossimFeatherMosaic or osimBlendMosaic ... etc |
| 62 | --disable-elev Will disable the elevation |
| 63 | --disable-notify Takes an argument. Arguments are ALL, WARN, NOTICE, INF |
| 64 | FATAL, DEBUG. If you want multiple disables then just |
| 65 | multiple --disable-notify on the command line. All |
| 66 | argument are case insensitive. Default is all are |
| 67 | enabled. |
| 68 | --geo Defaults to a geographic image chain with GSD = to the |
| 69 | input. Origin of latitude is on the equator. |
| 70 | --geo-scaled Takes a latitude as an argument for purpose of scaling. |
| 71 | Specifies that no spec file was defined. Defaults to a |
| 72 | scaled geographic image chain with GSD = to the input. |
| 73 | --input-proj Makes the view equal to the input. If more than one fi |
| 74 | then the first is taken |
| 75 | --meters Specifies an override for the meters per pixel |
| 76 | --ossim-logfile takes a logfile as an argument. All output messages ar |
| 77 | redirected to the specified log file. By default there |
| 78 | is no log file and all messages are enabled. |
| 79 | --resample-type Specify what resampler to use, nearest neighbor, |
| 80 | bilinear, bicubic |
| 81 | --slave-buffers number of slave tile buffers for mpi processing (defaul |
| 82 | = 2) |
| 83 | --tiling-template Specify an external file that contains tiling informati |
| 84 | --utm Defaults to a utm image chain with GSD = to the input |
| 85 | --view-template Specify an external file that contains view information |
| 86 | --writer-template Specify an external file that contains tiling informati |
| 87 | -K specify individual keywords to add to the preferences |
| 88 | keyword list: name=value |
| 89 | -P specify a preference file to load |
| 90 | -T specify the classes to trace, ex: ossimInit|ossimImage. |
| 91 | will trace ossimInit and all ossimImage classes |
| 92 | -h or --help Display this information |
| 93 | -t or --thumbnail thumbnail resolution |
| 94 | }}} |