oty frameΒΆ
oty frame uses interior and exterior parameter files to specify frame camera models. Here we orthorectify NGI aerial images using the associated DEM, Orthority format interior parameters, and CSV format exterior parameters. Ortho images are placed in the current directory:
oty frame --dem ngi/dem.tif --int-param io/ngi_int_param.yaml --ext-param io/ngi_xyz_opk.csv ngi/*RGB.tif
In order of priority, the world / ortho CRS is read from:
--crsoption, if supplied.- Exterior parameters, if in:
OpenDroneMap / OpenSfM
reconstruction.jsonformat.CSV format with
x,y&zfields and a.prjsidecar file.CSV format with
latitude,longitude,altitude,roll,pitch&yawfields.
Source image CRS metadata, if any.
In the first example, the world / ortho CRS is read from exterior parameters in CSV format with x, y & z fields and a .prj sidecar file.
In the next example, exterior parameters are in CSV format with x, y & z fields, but no .prj sidecar file. The world / ortho CRS cannot be read from the input files, so it must be specified with --crs:
oty frame --dem odm/odm_dem/dsm.tif --int-param odm/opensfm/reconstruction.json --ext-param io/odm_xyz_opk.csv --crs EPSG:32651 odm/images/*.tif
Note
See the file format documentation for supported frame camera parameter formats.