Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Omap_ru. Руководство.doc
Скачиваний:
0
Добавлен:
01.07.2025
Размер:
596 Кб
Скачать
☆

Утилиты

Initially Menu “Utilities” contains some useful utilities:

"Orthorectification" – predefined tool for rectification

"Import DEM from XYZ file" – predefined tool for DEM import

"Import DEM from line формат" – predefined tool for DEM import

"Import DEM from one Z on line" – predefined tool for DEM import

You can tune this menu. Menu items may be defined in file ‘tools.ini’ in OrthoMap folder.

You must fill two lines for every menu item:

first line – CaptionXXX – text line which will be shown in menu;

second line – ModuleXXX – program, loaded on click,

where XXX – number of menu line, first line has number 000.

If CaptionXXX=- then there will be only line in the menu (see line Caption001)

And Number must be equal to overall quantity of menu lines

Example of predefined menu:

[Tools]

Number=5

Caption000=Orthorectification

Module000=rectify.exe

Caption001=-

Module001=-

Caption002=Import DEM from XYZ text file

Module002=Xyz2Bin2.exe

Caption003=Import DEM from line формат

Module003=Line2Bin.exe

Caption004=Import DEM from one Z on line

Module004=Asc2Bin.exe

The Coordinate Calculator

Coordinate Calculator may be used for calculation of ground control points in needed projection.

See Coordinate Calculator User’s Guide for detailed description http://vinek.narod.ru/ccalc.html

Reproject Utility

Reproject utility is used to reproject orthoimages and DEM from one coordinate system to another. Input and output coordinate systems are specified in the same way as in Coordinate Calculator (see above section). Specify "Input file" and "Output file" through common "Open file" dialog. It is possible to specify required pixel size in meters for output file (by default it is equal to input file pixel size).

For detailed description see ReProject User’s Guide

Import of DEM from ASCII file

For orthorectification it is necessary to use DEM in OSD формат. For this purpose it is possible to import DEM from ASCII files.

ASCII формат with one height value per a line, lines are separated by <CR>/<LF>. Beginning of output DEM file in OSD формат corresponds to the North-West corner of the area. Therefore, the height values in input ASCII file must start from the North-West corner of the area and be located by lines. The origin point is the North-West corner of DEM. If source ASCII file is recorded starting from the South-West corner, then after import it is possible to use FLIP utility to flip DEM around horizontal axis.

M odule ASC2BIN.

Import of DEM from ASCII file

  • ASCII формат with each line containing all height values of DEM in one line. The values are blank separated, lines are separated by <CR>/<LF>. The order of input lines must corrspond to North-to-South direction. The origin point is the North-West corner of DEM.

M odule Line2BIN.

Import of DEM from ASCII file

* ASCII формат with values X (Easting), Y (Northing), Z (Height) in each line, lines are separated by <CR>/<LF>. X, Y, Z values must be blank separated. X, Y, Z values can be preceded by a point number, in this case it is necessary to specify option "ignore first column". Input file must contain all X, Y, Z values of a regular matrix. Interpolation of missed heights is not performed. If a value is missed, the DEM element is filled with a default value (0).

M odule XYZ2BIN.

Export of DEM to ASCII file

If necessary it is possible to export DEM from the interior формат OSD to ASCII file in one of the following форматs:

* ASCII формат with one height value per a line, lines are separated by <CR>/<LF>. The hight values in output file are located from the North-West corner by lines.

M odule BIN2ASC.

* ASCII формат with each line containing all height values of DEM in one line. The values are blank separated, lines are separated by <CR>/<LF>. The hight values in output file are located from the North-West corner.

M odule BIN2Line.

ASCII формат with values N (point number), X (Easting), Y (Northing), Z (Height) in each line, lines are separated by <CR>/<LF>. N X, Y, Z values are separated by comma and blank. The points in output file are located from the South-West corner by lines.

M odule BIN2XYZ.

Flip

To flip or rotate source image and DEM files around horizontal axis use "Flip" utility from "Utilities" item of Main Menu.

- no flip, can be used for формат conВерсия, e.g. TIFF to BMP;

- flip around vertical axis;

- flip around horizontal axis;

- rotation 1800;

- rotation 900 clockwise;

- rotation 900 counterclockwise;