X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



5931 Rate this article:
1.0

Supporting custom frame cameras in the ENVI Orthorectification Module

The ENVI Orthorectification Module supports digital aerial image files from the UltraCam, DMC, and Applanix frame-central cameras. It also supports data from the Leica ADS40 line-scanner camera. You can add support for other frame cameras by creating an exterior/interior orientation description of your frame camera in the form of an XML file. This help article demonstrates how to do this.

The data directory containing the aerial image files (typically .TIF files) should contain one XML file per image file. The root names of the image file and corresponding XML file should be the same. Users should first open the aerial image file in ENVI. Then select the Rigorous Orthorectification tool. In the first step, click the + button in the Input Images section to select the aerial image file for input. Upon clicking Next in the Wizard, ENVI will look for, and parse, the corresponding XML file, in order to read the camera data.

Please refer to the following document for additional information:

Spacemetric, 2013. Keystone Image File Formats User Manual

 

DMC Aerial Frame Camera example:

A sample XML file for the DMC aerial sensor can be downloaded here.

Below is a short explanation about the information in the XML file:

The first section describes the camera and contains information from the camera calibration. Since  DMC images are processed to be "distortion free", only the focal length and an affine transformation are needed:

<CameraData>
   <CameraId>DMC</CameraId>
   <FocalLength>0.12</FocalLength>
   <FocalPlaneAffine>
       <X0>-0.04608</X0>
       <X1>1.2E-5</X1>
       <X2>0.0</X2>
       <Y0>0.082944</Y0>
       <Y1>0.0</Y1>
       <Y2>-1.2E-5</Y2>
   </FocalPlaneAffine>
</CameraData>

The camera Id could in this case be DMC01-0025

The focal length and the parameters in the FocalPlaneAffine are given in meters. They could also be given in the unit pixels instead. In that case it would look like this (with a more compressed layout):

  <FocalLength>10000</FocalLength>
   <FocalPlaneAffine><X0>-3840</X0><X1>1</X1><X2>0.0</X2><Y0>6912</Y0><Y1>0.0</Y1><Y2>-1</Y2></FocalPlaneAffine>

The next section, CameraMount, is not mandatory and does not contain any information in this case.

    <CameraMount>
        <Omega>0.0</Omega>
        <Phi>0.0</Phi>
        <Kappa>0.0</Kappa>
    </CameraMount>

The last part contains the information of one, or many, images.

    <ImageData>
       <FileName>ImageFileName_5.tif</FileName>
        <ImageId>ImageID_5</ImageId>
        <Crs>3006</Crs>
        <X>643745.55939</X>
        <Y>5014812.66043</Y>
        <Z>3029.51311</Z>
       <Omega>-0.11083663779880237</Omega>
       <Phi>-0.2596184743006365</Phi>
       <Kappa>90.44067376952215</Kappa>
    </ImageData>

The filename is the file path relative to the xml file.

The ImageId is the ID of the image that will be used in Keystone.

Crs is the EPSG code of the map projection used.

X,Y,Z describe the position given in the unit of the map projection.

Omega, Phi, Kappa are attitudes in degrees.

Reviewed 9/26/2014 MM

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »