Built-in Data Types
PoSDK provides the following built-in DataIO data types for managing storage and serialization of common SfM data:
Built-in Data Type |
Core Data Type |
Save/Load Supported Formats |
Supports Auto Evaluation |
|---|---|---|---|
|
folder |
✗ |
|
|
.pb |
✗ |
|
|
.pb |
✗ |
|
|
.pb |
✗ |
|
|
.pb |
✗ |
|
|
.pb |
✗ |
|
|
.pb,.tracks |
✗ |
|
|
- |
✗ |
|
|
.g2o, .pb |
✓ |
|
|
.rot |
✗ |
|
|
- |
✗ |
|
|
.po, .g2o, .rot |
✓ |
|
|
.txt, .ply (+.ids) |
✗ |
Note
Save/Load Supported Formats:
.pb- Protobuf binary format (high performance, cross-platform).txt- Text format (human-readable).ply- PLY point cloud format (only for 3D point data)+.ids- PLY format usage status auxiliary file
Auto Evaluation: Data types marked with ✓ have overloaded
Evaluate()function, supporting automatic comparison evaluation with ground truth dataCore Data Type Detailed Description: Please refer to Appendix A: PoSDK Core Data Types
Common SfM Data Types
PoSDK’s type system adopts modular design, distributing common SfM data types across multiple header files for easier maintenance. These types include:
Basic Types: Identifiers, matrix vectors, smart pointers, etc.
Camera System: Camera models, intrinsics, distortion parameters
Feature System: Feature points, descriptors, image feature management
Match System: Feature matching, viewing vectors
Track System: Observation information, track management
Pose System: Relative poses, global poses, pose formats
3D Point Cloud: World coordinate points, point cloud management
Detailed Description: For complete definitions, member variables, available methods, and usage examples of all common SfM data types, please refer to Appendix A: PoSDK Core Data Types.