Data Structures¶
This section provides an overview of all data structures in the MIMIC Data API.
Core Classes¶
Scene¶
The top-level container for all scene data.
Attribute |
Description |
|---|---|
|
The recording/autonomous vehicle with sensors and trajectory |
|
List of all other objects in the scene |
See Scene Module for full documentation.
EgoVehicle¶
Represents the ego (recording) vehicle.
Attribute |
Description |
|---|---|
|
Time-series of ego poses in world coordinates |
|
Collection of mounted sensors (cameras, lidars, radars) |
Sensors¶
Container for all sensor data.
Attribute |
Description |
|---|---|
|
List of camera sensors (required) |
|
List of LiDAR sensors (optional) |
|
List of radar sensors (optional) |
Trajectory¶
WorldTrajectory¶
Time-indexed sequence of poses in world coordinates.
Attribute |
Description |
|---|---|
|
1D array of N timestamps in seconds |
|
(N, 4, 4) array of transformation matrices |
|
Optional (N, 3) array of velocities in m/s |
|
Optional (N, 3) array of angular velocities in rad/s |
See Trajectory Module for full documentation.
Camera Structures¶
Camera¶
Complete camera sensor representation.
Attribute |
Description |
|---|---|
|
Unique identifier |
|
Human-readable name (e.g., “front_camera”) |
|
Projection model type (pinhole, opencv, fisheye, etc.) |
|
Internal parameters (focal length, principal point) |
|
Lens distortion coefficients |
|
Sensor-to-vehicle transformation matrix |
|
Camera poses over time |
|
List of captured images |
CameraIntrinsics¶
Internal camera calibration parameters.
Attribute |
Description |
|---|---|
|
Focal lengths in pixels |
|
Principal point coordinates |
|
Skew coefficient (usually 0) |
|
Image dimensions in pixels |
DistortionParameters¶
Lens distortion coefficients supporting multiple camera models.
Attribute |
Description |
|---|---|
|
Radial distortion coefficients |
|
Tangential distortion coefficients |
|
Extended radial coefficients (optional) |
|
Thin prism coefficients (optional) |
ImageData¶
Metadata for a single captured image.
Attribute |
Description |
|---|---|
|
Path to image file (PNG or JPEG) |
|
Capture time in seconds |
|
Whether distortion has been removed |
|
Rolling shutter parameters |
See Camera Module for full documentation.
LiDAR Structures¶
Lidar¶
Complete LiDAR sensor representation.
Attribute |
Description |
|---|---|
|
Unique identifier |
|
Human-readable name (e.g., “top_lidar”) |
|
Sensor parameters (FOV, resolution, range) |
|
Sensor-to-vehicle transformation |
|
LiDAR poses over time |
|
List of point cloud captures |
|
Ego vehicle filter threshold |
LidarIntrinsics¶
Internal LiDAR parameters.
Attribute |
Description |
|---|---|
|
“rotating” or “solid-state” |
|
“clockwise” or “counter-clockwise” |
|
Vertical field of view in radians |
|
Horizontal field of view in radians |
|
Radians per point (angular step between azimuth samples), e.g. |
|
Vertical resolution specification |
|
Detection range limits in meters |
VerticalResolution¶
Vertical angular resolution specification.
Attribute |
Description |
|---|---|
|
Uniform resolution in radians per point (angular step), not points/radian |
|
Per-channel angle mapping (alternative) |
Note: Exactly one of these must be provided.
LidarPointCloudData¶
Metadata for a single LiDAR scan.
Attribute |
Description |
|---|---|
|
Path to PLY file |
|
Mid-scan timestamp in seconds |
|
Whether motion compensation applied |
|
Whether invalid points exist |
See LiDAR Module for full documentation.
Radar Structures¶
Radar¶
Complete radar sensor representation.
Attribute |
Description |
|---|---|
|
Unique identifier |
|
Human-readable name |
|
Sensor parameters |
|
Sensor-to-vehicle transformation |
|
Radar poses over time |
|
List of radar detections |
RadarIntrinsics¶
Internal radar parameters.
Attribute |
Description |
|---|---|
|
Maximum detection range in meters |
|
Horizontal FOV in radians |
|
Vertical FOV in radians |
|
Angle-dependent horizontal resolution |
|
Vertical resolution (imaging radars) |
|
Minimum Doppler velocity (m/s) |
|
Maximum Doppler velocity (m/s) |
See Radar Module for full documentation.
Actor Structures¶
Actor¶
Representation of scene objects (vehicles, pedestrians, etc.).
Attribute |
Description |
|---|---|
|
Unique identifier |
|
Optional human-readable name |
|
Physical bounding box size |
|
Category: “vehicle”, “pedestrian”, “bicycle”, “sign”, “unknown” |
|
Original dataset label (optional) |
|
True if moving, False if static |
|
Actor poses over time |
|
Optional free-text description |
ActorDimensions¶
Physical dimensions of an actor.
Attribute |
Description |
|---|---|
|
Length in meters (forward axis) |
|
Width in meters (lateral axis) |
|
Height in meters (vertical axis) |
See Actor Module for full documentation.
Type Aliases¶
SensorExtrinsic¶
A 4x4 NumPy array representing the sensor-to-vehicle transformation matrix:
SensorExtrinsic = NDArray[Shape["4 x, 4 y"], float]
Camera Models¶
Supported camera projection models:
CameraModels = Literal[
"simple_pinhole",
"pinhole",
"simple_radial",
"radial",
"opencv",
"opencv_fisheye",
"equirectangular",
"omnidirectionalstereo_l",
"omnidirectionalstereo_r",
"vr180_l",
"vr180_r",
"orthophoto",
"fisheye624",
]
These models are aligned with COLMAP conventions.