11 #include <unordered_map>
70 Dataset(
const std::string& prefix,
const std::string& data_root =
"");
113 const std::string& md5,
114 const std::string& extract_in_subdir =
"")
123 const std::string& md5,
124 const std::string& extract_in_subdir =
"")
126 std::vector<
std::string>{url}, md5, extract_in_subdir) {}
151 const std::string& data_root =
"");
154 const std::vector<DataDescriptor>& data_descriptors,
155 const std::string& data_root =
"");
216 std::vector<std::string> color_paths_;
218 std::vector<std::string> depth_paths_;
221 std::string trajectory_log_path_;
223 std::string reconstruction_path_;
231 BunnyMesh(
const std::string& data_root =
"");
249 CrateModel(
const std::string& data_root =
"");
253 std::string
GetPath(
const std::string filename =
"crate_model")
const {
254 return map_filename_to_path_.at(filename);
259 std::unordered_map<std::string, std::string>
GetPathMap()
const {
260 return map_filename_to_path_;
265 std::unordered_map<std::string, std::string> map_filename_to_path_;
293 std::vector<std::string>
GetPaths()
const {
return paths_; }
296 std::string
GetPaths(
size_t index)
const;
300 std::vector<std::string> paths_;
319 std::string point_cloud_path_;
321 std::string cropped_json_path_;
341 std::string point_cloud_path_;
342 std::string camera_trajectory_path_;
343 std::string render_option_path_;
357 return point_cloud_paths_;
362 return fpfh_feature_paths_;
367 return l32d_feature_paths_;
372 std::vector<std::string> point_cloud_paths_;
375 std::vector<std::string> fpfh_feature_paths_;
378 std::vector<std::string> l32d_feature_paths_;
390 std::vector<std::string>
GetPaths()
const {
return paths_; }
393 std::string
GetPaths(
size_t index)
const;
397 return transformation_log_path_;
402 std::vector<std::string> paths_;
403 std::string transformation_log_path_;
416 return pose_graph_fragment_path_;
420 return pose_graph_global_path_;
425 std::string pose_graph_fragment_path_;
427 std::string pose_graph_global_path_;
458 std::string
GetPath(
const std::string filename =
"flight_helmet")
const {
459 return map_filename_to_path_.at(filename);
464 std::unordered_map<std::string, std::string>
GetPathMap()
const {
465 return map_filename_to_path_;
470 std::unordered_map<std::string, std::string> map_filename_to_path_;
506 KnotMesh(
const std::string& data_root =
"");
525 std::vector<std::string>
GetPaths()
const {
return paths_; }
529 std::string
GetPaths(
size_t index)
const;
533 std::vector<std::string> paths_;
557 std::vector<std::string> color_paths_;
559 std::vector<std::string> depth_paths_;
562 std::string trajectory_log_path_;
564 std::string reconstruction_path_;
575 return map_filename_to_path_.at(
"albedo");
579 return map_filename_to_path_.at(
"normal");
583 return map_filename_to_path_.at(
"roughness");
587 return map_filename_to_path_.at(
"metallic");
591 std::unordered_map<std::string, std::string>
GetPathMap()
const {
592 return map_filename_to_path_;
597 std::unordered_map<std::string, std::string> map_filename_to_path_;
612 std::string
GetPath(
const std::string filename =
"monkey_model")
const {
613 return map_filename_to_path_.at(filename);
618 std::unordered_map<std::string, std::string>
GetPathMap()
const {
619 return map_filename_to_path_;
624 std::unordered_map<std::string, std::string> map_filename_to_path_;
636 std::vector<std::string>
GetPaths()
const {
return paths_; }
640 std::string
GetPaths(
size_t index)
const;
644 std::vector<std::string> paths_;
700 return map_filename_to_path_.at(
"albedo");
704 return map_filename_to_path_.at(
"normal");
708 return map_filename_to_path_.at(
"roughness");
712 std::unordered_map<std::string, std::string>
GetPathMap()
const {
713 return map_filename_to_path_;
718 std::unordered_map<std::string, std::string> map_filename_to_path_;
758 return noisy_depth_paths_;
768 std::string point_cloud_path_;
769 std::vector<std::string> color_paths_;
770 std::vector<std::string> depth_paths_;
771 std::vector<std::string> noisy_depth_paths_;
772 std::string oni_path_;
773 std::string trajectory_path_;
774 std::string noise_model_path_;
814 return noisy_depth_paths_;
824 std::string point_cloud_path_;
825 std::vector<std::string> color_paths_;
826 std::vector<std::string> depth_paths_;
827 std::vector<std::string> noisy_depth_paths_;
828 std::string oni_path_;
829 std::string trajectory_path_;
830 std::string noise_model_path_;
870 return noisy_depth_paths_;
880 std::string point_cloud_path_;
881 std::vector<std::string> color_paths_;
882 std::vector<std::string> depth_paths_;
883 std::vector<std::string> noisy_depth_paths_;
884 std::string oni_path_;
885 std::string trajectory_path_;
886 std::string noise_model_path_;
926 return noisy_depth_paths_;
936 std::string point_cloud_path_;
937 std::vector<std::string> color_paths_;
938 std::vector<std::string> depth_paths_;
939 std::vector<std::string> noisy_depth_paths_;
940 std::string oni_path_;
941 std::string trajectory_path_;
942 std::string noise_model_path_;
958 return keyframe_poses_log_path_;
964 std::vector<std::string> color_paths_;
965 std::vector<std::string> depth_paths_;
966 std::string keyframe_poses_log_path_;
967 std::string reconstruction_path_;
999 std::string color_path_;
1001 std::string depth_path_;
1028 return camera_intrinsic_path_;
1033 std::vector<std::string> color_paths_;
1035 std::vector<std::string> depth_paths_;
1038 std::string trajectory_log_path_;
1040 std::string odometry_log_path_;
1042 std::string rgbd_match_path_;
1044 std::string reconstruction_path_;
1046 std::string camera_intrinsic_path_;
1064 std::string color_path_;
1066 std::string depth_path_;
1084 std::string color_path_;
1086 std::string depth_path_;
1097 SwordModel(
const std::string& data_root =
"");
1102 std::string
GetPath(
const std::string filename =
"sword_model")
const {
1103 return map_filename_to_path_.at(filename);
1108 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1109 return map_filename_to_path_;
1114 std::unordered_map<std::string, std::string> map_filename_to_path_;
1125 return map_filename_to_path_.at(
"albedo");
1129 return map_filename_to_path_.at(
"normal");
1133 return map_filename_to_path_.at(
"roughness");
1137 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1138 return map_filename_to_path_;
1143 std::unordered_map<std::string, std::string> map_filename_to_path_;
1154 return map_filename_to_path_.at(
"albedo");
1158 return map_filename_to_path_.at(
"normal");
1162 return map_filename_to_path_.at(
"roughness");
1166 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1167 return map_filename_to_path_;
1172 std::unordered_map<std::string, std::string> map_filename_to_path_;
1183 return map_filename_to_path_.at(
"albedo");
1187 return map_filename_to_path_.at(
"normal");
1191 return map_filename_to_path_.at(
"roughness");
1195 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1196 return map_filename_to_path_;
1201 std::unordered_map<std::string, std::string> map_filename_to_path_;
1212 return map_filename_to_path_.at(
"albedo");
1216 return map_filename_to_path_.at(
"normal");
1220 return map_filename_to_path_.at(
"roughness");
1224 std::unordered_map<std::string, std::string>
GetPathMap()
const {
1225 return map_filename_to_path_;
1230 std::unordered_map<std::string, std::string> map_filename_to_path_;
Data class for ArmadilloMesh contains the ArmadilloMesh.ply from the Stanford 3D Scanning Repository.
Definition: Dataset.h:168
ArmadilloMesh(const std::string &data_root="")
Definition: ArmadilloMesh.cpp:21
std::string GetPath() const
Path to the ArmadilloMesh.ply file.
Definition: Dataset.h:173
Data class for AvocadoModel contains a avocado model file, along with material and PNG format embedde...
Definition: Dataset.h:183
AvocadoModel(const std::string &data_root="")
Definition: AvocadoModel.cpp:21
std::string GetPath() const
Path to the GLB format avocado model.
Definition: Dataset.h:188
Data class for BedroomRGBDImages contains a sample set of 21931 color and depth images from Redwood R...
Definition: Dataset.h:199
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 21931.
Definition: Dataset.h:206
BedroomRGBDImages(const std::string &data_root="")
Definition: BedroomRGBDImages.cpp:30
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 21931.
Definition: Dataset.h:204
std::string GetReconstructionPath() const
Path to mesh reconstruction bedroom.ply.
Definition: Dataset.h:212
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
Definition: Dataset.h:210
Data class for BunnyMesh contains the BunnyMesh.ply from the Stanford 3D Scanning Repository.
Definition: Dataset.h:229
std::string GetPath() const
Path to the BunnyMesh.ply file.
Definition: Dataset.h:234
BunnyMesh(const std::string &data_root="")
Definition: BunnyMesh.cpp:21
Data class for CrateModel contains a sword model file, along with material and various other texture ...
Definition: Dataset.h:247
std::string GetPath(const std::string filename="crate_model") const
Path to the filename. By default it returns the path to crate.obj file. Refer documentation page for ...
Definition: Dataset.h:253
CrateModel(const std::string &data_root="")
Definition: CrateModel.cpp:21
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:259
Data class for DamagedHelmetModel contains a damaged helmet model file, along with material and JPG f...
Definition: Dataset.h:271
DamagedHelmetModel(const std::string &data_root="")
Definition: DamagedHelmetModel.cpp:21
std::string GetPath() const
Path to the GLB format damaged helmet model.
Definition: Dataset.h:276
Base Open3D dataset class.
Definition: Dataset.h:56
std::string prefix_
Dataset prefix.
Definition: Dataset.h:98
virtual ~Dataset()
Definition: Dataset.h:72
const std::string GetExtractDir() const
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}.
Definition: Dataset.h:89
Dataset(const std::string &prefix, const std::string &data_root="")
Parameterized Constructor.
Definition: Dataset.cpp:35
void CheckPathsExist(const std::vector< std::string > &paths) const
Check if the paths exists after extraction.
Definition: Dataset.cpp:47
std::string data_root_
Open3D data root.
Definition: Dataset.h:95
const std::string GetPrefix() const
Get prefix for the dataset.
Definition: Dataset.h:79
const std::string GetDownloadDir() const
Get absolute path to download directory. i.e. ${data_root}/download/${prefix}.
Definition: Dataset.h:83
const std::string GetDataRoot() const
Get data root directory. The data root is set at construction time or automatically determined.
Definition: Dataset.h:76
Data class for DemoColoredICPPointClouds contains 2 point clouds of PLY format. This data is used in ...
Definition: Dataset.h:288
DemoColoredICPPointClouds(const std::string &data_root="")
Definition: DemoColoredICPPointClouds.cpp:21
std::vector< std::string > GetPaths() const
Returns list of list of 2 point cloud paths.
Definition: Dataset.h:293
Data class for DemoCropPointCloud contains a point cloud, and cropped.json (a saved selected polygon ...
Definition: Dataset.h:308
DemoCropPointCloud(const std::string &data_root="")
Definition: DemoCropPointCloud.cpp:21
std::string GetPointCloudPath() const
Path to example point cloud.
Definition: Dataset.h:313
std::string GetCroppedJSONPath() const
Path to saved selected polygon volume file.
Definition: Dataset.h:315
Data class for DemoCustomVisualization contains an example point-cloud, camera trajectory (json file)...
Definition: Dataset.h:329
std::string GetTrajectoryPath() const
Path to the camera_trajectory.json.
Definition: Dataset.h:336
std::string GetPointCloudPath() const
Path to the point cloud (ply).
Definition: Dataset.h:334
DemoCustomVisualization(const std::string &data_root="")
Definition: DemoCustomVisualization.cpp:21
std::string GetRenderOptionPath() const
Path to the renderoption.json.
Definition: Dataset.h:338
Data class for DemoFeatureMatchingPointClouds contains 2 point cloud fragments and their respective F...
Definition: Dataset.h:351
DemoFeatureMatchingPointClouds(const std::string &data_root="")
Definition: DemoFeatureMatchingPointClouds.cpp:22
std::vector< std::string > GetL32DFeaturePaths() const
Returns list of paths to saved L32D features binary for point clouds, respectively,...
Definition: Dataset.h:366
std::vector< std::string > GetPointCloudPaths() const
Returns list of paths to point clouds, of size 2.
Definition: Dataset.h:356
std::vector< std::string > GetFPFHFeaturePaths() const
Returns list of paths to saved FPFH features binary for point clouds, respectively,...
Definition: Dataset.h:361
Data class for DemoICPPointClouds contains 3 point clouds of binary PCD format. This data is used in ...
Definition: Dataset.h:385
std::string GetTransformationLogPath() const
Path to the transformation metadata log file, containing transformation between frame 0 and 1,...
Definition: Dataset.h:396
DemoICPPointClouds(const std::string &data_root="")
Definition: DemoICPPointClouds.cpp:21
std::vector< std::string > GetPaths() const
Returns list of 3 point cloud paths.
Definition: Dataset.h:390
Data class for DemoPoseGraphOptimization contains an example fragment pose graph, and global pose gra...
Definition: Dataset.h:410
std::string GetPoseGraphFragmentPath() const
Path to example global pose graph (json).
Definition: Dataset.h:415
std::string GetPoseGraphGlobalPath() const
Path to example fragment pose graph (json).
Definition: Dataset.h:419
DemoPoseGraphOptimization(const std::string &data_root="")
Definition: DemoPoseGraphOptimization.cpp:21
Dataset class with one or more downloaded file.
Definition: Dataset.h:147
DownloadDataset(const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="")
Definition: Dataset.cpp:65
bool HasDownloaded(const DataDescriptor &data_descriptor) const
Check if all files are downloaded and MD5 checksums are valid.
Definition: Dataset.cpp:119
virtual ~DownloadDataset()
Definition: Dataset.h:157
std::vector< DataDescriptor > data_descriptors_
Definition: Dataset.h:162
Data class for EaglePointCloud contains the EaglePointCloud.ply file.
Definition: Dataset.h:433
std::string GetPath() const
Path to the EaglePointCloud.ply file.
Definition: Dataset.h:438
EaglePointCloud(const std::string &data_root="")
Definition: EaglePointCloud.cpp:21
Data class for FlightHelmetModel contains a flight helmet model file, along with material and various...
Definition: Dataset.h:451
FlightHelmetModel(const std::string &data_root="")
Definition: FlightHelmetModel.cpp:21
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:464
std::string GetPath(const std::string filename="flight_helmet") const
Path to the filename. By default it returns the path to FlightHelmet.gltf file. Refer documentation p...
Definition: Dataset.h:458
Data class for JackJackL515Bag contains the RealSense L515 JackJackL515Bag.bag file.
Definition: Dataset.h:476
std::string GetPath() const
Path to the JackJackL515Bag.bag file.
Definition: Dataset.h:481
JackJackL515Bag(const std::string &data_root="")
Definition: JackJackL515Bag.cpp:20
Data class for JuneauImage contains the JuneauImage.jpg file.
Definition: Dataset.h:490
std::string GetPath() const
Path to the JuneauImage.jgp file.
Definition: Dataset.h:495
JuneauImage(const std::string &data_root="")
Definition: JuneauImage.cpp:21
Data class for KnotMesh contains the KnotMesh.ply file.
Definition: Dataset.h:504
KnotMesh(const std::string &data_root="")
Definition: KnotMesh.cpp:21
std::string GetPath() const
Path to the KnotMesh.ply file.
Definition: Dataset.h:509
Dataset class for LivingRoomPointClouds contains 57 point clouds of binary PLY format.
Definition: Dataset.h:520
LivingRoomPointClouds(const std::string &data_root="")
Definition: LivingRoomPointClouds.cpp:21
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 57.
Definition: Dataset.h:525
Data class for LoungeRGBDImages contains a sample set of 3000 color and depth images from Stanford Lo...
Definition: Dataset.h:540
std::string GetReconstructionPath() const
Path to mesh reconstruction lounge.ply.
Definition: Dataset.h:553
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 3000.
Definition: Dataset.h:547
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file lounge_trajectory.log.
Definition: Dataset.h:551
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 3000.
Definition: Dataset.h:545
LoungeRGBDImages(const std::string &data_root="")
Definition: LoungeRGBDImages.cpp:21
Data class for MetalTexture contains albedo, normal, roughness and metallic texture files for metal b...
Definition: Dataset.h:570
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:578
MetalTexture(const std::string &data_root="")
Definition: MetalTexture.cpp:21
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:582
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:591
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:574
std::string GetMetallicTexturePath() const
Returns the path to metallic texture image.
Definition: Dataset.h:586
Data class for MonkeyModel contains a monkey model file, along with material and various other textur...
Definition: Dataset.h:606
std::string GetPath(const std::string filename="monkey_model") const
Path to the filename. By default it returns the path to mokey.obj file. Refer documentation page for ...
Definition: Dataset.h:612
MonkeyModel(const std::string &data_root="")
Definition: MonkeyModel.cpp:21
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:618
Dataset class for OfficePointClouds contains 53 point clouds of binary PLY format.
Definition: Dataset.h:631
std::vector< std::string > GetPaths() const
Returns list of paths to ply point-cloud fragments of size 52.
Definition: Dataset.h:636
OfficePointClouds(const std::string &data_root="")
Definition: OfficePointClouds.cpp:21
Data class for PCDPointCloud contains the fragment.pcd point cloud mesh from the Redwood Living Room ...
Definition: Dataset.h:650
PCDPointCloud(const std::string &data_root="")
Definition: PCDPointCloud.cpp:21
std::string GetPath() const
Path to the pcd format point cloud.
Definition: Dataset.h:655
Data class for PLYPointCloud contains the fragment.ply point cloud mesh from the Redwood Living Room ...
Definition: Dataset.h:665
PLYPointCloud(const std::string &data_root="")
Definition: PLYPointCloud.cpp:21
std::string GetPath() const
Path to the PLY format point cloud.
Definition: Dataset.h:670
Data class for PTSPointCloud contains a sample point-cloud of PTS format.
Definition: Dataset.h:680
PTSPointCloud(const std::string &data_root="")
Definition: PTSPointCloud.cpp:21
std::string GetPath() const
Path to the PTS format point cloud.
Definition: Dataset.h:685
Data class for PaintedPlasterTexture contains albedo, normal and roughness texture files for painted ...
Definition: Dataset.h:695
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:707
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:703
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:699
PaintedPlasterTexture(const std::string &data_root="")
Definition: PaintedPlasterTexture.cpp:21
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:712
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:746
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:751
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:753
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:761
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:765
RedwoodIndoorLivingRoom1(const std::string &data_root="")
Definition: RedwoodIndoorLivingRoom1.cpp:37
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:755
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:757
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:763
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:802
RedwoodIndoorLivingRoom2(const std::string &data_root="")
Definition: RedwoodIndoorLivingRoom2.cpp:36
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:809
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:807
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:817
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:819
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:813
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:811
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:821
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:858
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:875
RedwoodIndoorOffice1(const std::string &data_root="")
Definition: RedwoodIndoorOffice1.cpp:35
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:869
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:865
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:867
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:863
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:873
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:877
Data class for RedwoodIndoorLivingRoom1, containing dense point cloud, rgb sequence,...
Definition: Dataset.h:914
std::string GetNoiseModelPath() const
Path to the noise model.
Definition: Dataset.h:933
std::string GetPointCloudPath() const
Path to the point cloud.
Definition: Dataset.h:919
std::vector< std::string > GetDepthPaths() const
Paths to the clean depth images.
Definition: Dataset.h:923
std::vector< std::string > GetNoisyDepthPaths() const
Paths to the noisy depth images.
Definition: Dataset.h:925
std::vector< std::string > GetColorPaths() const
Paths to the color images.
Definition: Dataset.h:921
RedwoodIndoorOffice2(const std::string &data_root="")
Definition: RedwoodIndoorOffice2.cpp:35
std::string GetONIPath() const
Paths to the ONI sequence.
Definition: Dataset.h:929
std::string GetTrajectoryPath() const
Path to the ground-truth camera trajectory.
Definition: Dataset.h:931
Data class for SampleFountainRGBDImages contains a sample set of 33 color and depth images from the F...
Definition: Dataset.h:948
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 33.
Definition: Dataset.h:955
std::string GetKeyframePosesLogPath() const
Path to camera poses at key frames log file key.log.
Definition: Dataset.h:957
SampleFountainRGBDImages(const std::string &data_root="")
Definition: SampleFountainRGBDImages.cpp:21
std::string GetReconstructionPath() const
Path to mesh reconstruction.
Definition: Dataset.h:961
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 33.
Definition: Dataset.h:953
Data class for SampleL515Bag contains the SampleL515Bag.bag file.
Definition: Dataset.h:972
SampleL515Bag(const std::string &data_root="")
Definition: SampleL515Bag.cpp:21
std::string GetPath() const
Path to the SampleL515Bag.bag file.
Definition: Dataset.h:977
Data class for SampleNYURGBDImage contains a color image NYU_color.ppm and a depth image NYU_depth....
Definition: Dataset.h:988
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:995
SampleNYURGBDImage(const std::string &data_root="")
Definition: SampleNYURGBDImage.cpp:21
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:993
Data class for SampleRedwoodRGBDImages contains a sample set of 5 color and depth images from Redwood...
Definition: Dataset.h:1009
std::string GetOdometryLogPath() const
Path to camera trajectory log file odometry.log.
Definition: Dataset.h:1021
std::vector< std::string > GetColorPaths() const
Returns List of paths to color image samples of size 5.
Definition: Dataset.h:1014
std::vector< std::string > GetDepthPaths() const
Returns List of paths to depth image samples of size 5.
Definition: Dataset.h:1016
std::string GetTrajectoryLogPath() const
Path to camera trajectory log file trajectory.log.
Definition: Dataset.h:1019
SampleRedwoodRGBDImages(const std::string &data_root="")
Definition: SampleRedwoodRGBDImages.cpp:21
std::string GetReconstructionPath() const
Path to point cloud reconstruction from TSDF.
Definition: Dataset.h:1025
std::string GetCameraIntrinsicPath() const
Path to pinhole camera intrinsic (json).
Definition: Dataset.h:1027
std::string GetRGBDMatchPath() const
Path to color and depth image match file rgbd.match.
Definition: Dataset.h:1023
Data class for SampleSUNRGBDImage contains a color image SUN_color.jpg and a depth image SUN_depth....
Definition: Dataset.h:1053
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:1060
SampleSUNRGBDImage(const std::string &data_root="")
Definition: SampleSUNRGBDImage.cpp:21
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:1058
Data class for SampleTUMRGBDImage contains a color image TUM_color.png and a depth image TUM_depth....
Definition: Dataset.h:1073
std::string GetDepthPath() const
Path to depth image sample.
Definition: Dataset.h:1080
std::string GetColorPath() const
Path to color image sample.
Definition: Dataset.h:1078
SampleTUMRGBDImage(const std::string &data_root="")
Definition: SampleTUMRGBDImage.cpp:21
Data class for SwordModel contains a sword model file, along with material and various other texture ...
Definition: Dataset.h:1095
std::string GetPath(const std::string filename="sword_model") const
Path to the filename. By default it returns the path to sword.obj file. Refer documentation page for ...
Definition: Dataset.h:1102
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1108
SwordModel(const std::string &data_root="")
Definition: SwordModel.cpp:21
Data class for TerrazzoTexture contains albedo, normal and roughness texture files for terrazzo based...
Definition: Dataset.h:1120
TerrazzoTexture(const std::string &data_root="")
Definition: TerrazzoTexture.cpp:21
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1132
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1137
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1124
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1128
Data class for TilesTexture contains albedo, normal and roughness texture files for tiles based mater...
Definition: Dataset.h:1149
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1153
TilesTexture(const std::string &data_root="")
Definition: TilesTexture.cpp:21
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1157
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1161
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1166
Data class for WoodFloorTexture contains albedo, normal and roughness texture files for wooden floor ...
Definition: Dataset.h:1178
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1186
WoodFloorTexture(const std::string &data_root="")
Definition: WoodFloorTexture.cpp:21
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1190
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1182
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1195
Data class for WoodTexture contains albedo, normal and roughness texture files for wood based materia...
Definition: Dataset.h:1207
WoodTexture(const std::string &data_root="")
Definition: WoodTexture.cpp:21
std::unordered_map< std::string, std::string > GetPathMap() const
Returns the map of filename to path. Refer documentation page for available options.
Definition: Dataset.h:1224
std::string GetNormalTexturePath() const
Returns the path to normal texture image.
Definition: Dataset.h:1215
std::string GetRoughnessTexturePath() const
Returns the path to roughness texture image.
Definition: Dataset.h:1219
std::string GetAlbedoTexturePath() const
Returns the path to albedo color texture image.
Definition: Dataset.h:1211
std::string Open3DDownloadsPrefix()
Definition: Dataset.cpp:31
std::string LocateDataRoot()
Definition: Dataset.cpp:20
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:269
Definition: PinholeCameraIntrinsic.cpp:16
Infomation about a file to be downloaded.
Definition: Dataset.h:106
std::vector< std::string > urls_
List of URL mirrors.
Definition: Dataset.h:129
std::string md5_
MD5 checksum of the downloaded file.
Definition: Dataset.h:132
DataDescriptor(const std::string &url, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a download url.
Definition: Dataset.h:122
DataDescriptor(const std::vector< std::string > &urls, const std::string &md5, const std::string &extract_in_subdir="")
Constructor a list of url mirrors.
Definition: Dataset.h:112
std::string extract_in_subdir_
Definition: Dataset.h:136