e57FileReader
Description
An e57FileReader
object stores the metadata present in an E57
file as read-only properties. Use these properties with the readPointCloud
object function to read point cloud data from the file.
The E57 file format, specified by the American Society for Testing and Materials (ASTM),
stores data in a hierarchical tree structure based on XML data format. You can store multiple
point clouds and images along with the metadata of the associated sensors. Each E57 file
contains a Data3D
element that stores the point cloud data and an
Images2D
element that stores images. For more information on the file
format, see E57 File Format.
Creation
Description
creates an e57Reader
= e57FileReader(fileName
)e57FileReader
object that reads point cloud data from an E57
file. The fileName
argument, which specifies the absolute or
relative path to the E57 file, sets the FileName
object property.
You specify fileName
as character vector or string scalar.
Properties
Object Functions
readPointCloud | Read point cloud data from E57 file |
hasCRSData | Check if E57 file has CRS data |
readCRS | Read coordinate reference system data from E57 file |
Examples
Algorithms
The E57 file format is a general purpose, open standard format that stores point cloud data from lidar sensors, 3-D scanners, and stereo vision systems, as well as stores 2-D image data produced by cameras. The format can also store the core metadata associated with the sensors that captured its data. This file format is flexible and easy to interpret.
Each E57 file has a hierarchical tree structure based on the XML format. An E57 file has a header, a binary section, and an XML section.
Header — Contains information such as the file version number and the location of the XML section.
Binary section — Contains the actual data of the point clouds and images.
XML section — Contains a hierarchical tree that references the data stored in the binary section.
This figure shows the typical structure of the XML section.
The
E57Root
element is the root node of the XML hierarchy. It stores point clouds and images in a common file coordinate system. The structure also contains additional file information, such as file creation date and time.Data3D
element stores each point cloud as an individual structure. Each structure stores the pose information and individual point attributes of the point cloud.Images2D
element stores images as individual structures, similar to theData3D
element.For more information on the E57 file format, see the standard specification on the ASTM INTERNATIONAL website.
Version History
Introduced in R2023a