StandardCyborg uses a specific PLY (Polygon File Format) header structure to store point cloud data, fusion versions, and metadata. The header includes custom comment fields for versioning and metadata, and supports additional elements like gravity alongside standard vertex and face elements.
Key Header Components:
comment StandardCyborgFusionVersion <version>: Specifies the fusion version used.comment StandardCyborgFusionMetadata <JSON>: Contains a JSON string of metadata (e.g., {"color_space": "sRGB"}).element vertex <count>: Defines the number of vertices.element gravity <count>: Defines gravity vector elements.
Compatibility Note:
Some software, such as MeshLab, may impose limits on the length of comment lines. When using StandardCyborgFusionMetadata, ensure the JSON payload is not so large that it exceeds the comment length limits of your intended parser.
ply
format ascii 1.0
comment StandardCyborgFusionVersion 1.2.0
comment StandardCyborgFusionMetadata { "color_space": "sRGB" }
element vertex 30135
property float x
property float y
property float z
property float nx
property float ny
property float nz
property uchar red
property uchar green
property uchar blue
property float surfel_radius
element face 0
property list uchar int vertex_indices
element gravity 1
property float gravity_x
property float gravity_y
property float gravity_z
end_header