MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / get_frames

Method get_frames

example/util/tum_rgbd_util.cc:80–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::vector<tum_rgbd_sequence::frame> tum_rgbd_sequence::get_frames() const
81{
82 std::vector<frame> frames;
83 assert(timestamps_.size() == rgb_img_file_paths_.size());
84 assert(timestamps_.size() == depth_img_file_paths_.size());
85 assert(rgb_img_file_paths_.size() == depth_img_file_paths_.size());
86 for (unsigned int i = 0; i < timestamps_.size(); ++i)
87 {
88 frames.emplace_back(frame{rgb_img_file_paths_.at(i), depth_img_file_paths_.at(i), timestamps_.at(i)});
89 }
90 return frames;
91}
92
93std::vector<tum_rgbd_sequence::img_info> tum_rgbd_sequence::acquire_image_information(const std::string &seq_dir_path,
94 const std::string &timestamp_file_path) const

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected