Export Frame And Camera Parameters (Data Management Tools)
Summary
Exports frame and camera parameters from a mosaic dataset that contains frame imagery.
Usage
Images in the input mosaic dataset must use the Frame Camera raster type. This includes digital aerial imagery, imagery acquired by UAV/UAS, and scanned aerial imagery. For more information, see Aerial imagery raster types .
Parameters
Label
Explanation
Data type
Input Mosaic Dataset
The input mosaic dataset.
Mosaic Dataset; Mosaic Layer
Output File
The output file containing the frame and camera parameters. Supported file formats include .csv and .txt.
File
Output Format
(Optional)
Specifies the output file format for the frame and camera parameters.
Esri Frame and Camera Table —The frame and camera parameters will be exported as an Esri Frames and Camera table (.csv file). This is the default.
Pix4D Calibrated Camera Parameters —The frame and camera parameters will be exported using the Pix4D calibrated camera parameters format (.txt file).
String
arcpy.management.ExportFrameAndCameraParameters(input_mosaic_dataset, output_file, {output_format})
Name
Explanation
Data type
input_mosaic_dataset
The input mosaic dataset.
Mosaic Dataset; Mosaic Layer
output_file
The output file containing the frame and camera parameters. Supported file formats include .csv and .txt.
File
output_format
(Optional)
Specifies the output file format for the frame and camera parameters.
ESRI_FRAME_AND_CAMERA_TABLE —The frame and camera parameters will be exported as an Esri Frames and Camera table (.csv file). This is the default.
PIX4D_CALIBRATED_CAMERA_PARAMETERS —The frame and camera parameters will be exported using the Pix4D calibrated camera parameters format (.txt file).
String
Code sample
ExportFrameAndCameraParameters example 1 (Python window)
This is a Python sample for the ExportFrameAndCameraParameters tool.
#ExportFrameAndCameraParameters
import arcpy
arcpy.management.ExportFrameAndCameraParameters("Image Collection",
r"C:\Data\FrameandCameraTable.csv", "ESRI_FRAME_AND_CAMERA_TABLE")
Environments
This tool does not use any geoprocessing environments.
Licensing information
Basic: Yes
Standard: Yes
Advanced: Yes