10#ifndef __READER_RAW_HPP
11#define __READER_RAW_HPP
37 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
40 std::ifstream raw_fs_;
41 size_t depth_image_total_;
42 size_t colour_image_total_;
43 size_t depth_data_size_;
44 size_t colour_data_size_;
45 size_t depth_total_size_;
46 size_t colour_total_size_;
48 static constexpr size_t depth_pixel_size_ =
sizeof(
uint16_t);
50 static constexpr size_t colour_pixel_size_ = 3 *
sizeof(
uint8_t);
52 static constexpr size_t res_size_ = 2 *
sizeof(
uint32_t);
54 bool readResolution(std::ifstream&
fs, Eigen::Vector2i& res);
Reader for SLAMBench 1.0 .raw files.
Definition reader_raw.hpp:20
RAWReader(const Config &c)
Construct a RAWReader from a Config.
void restart()
Restart reading from the beginning.
std::string name() const
The name of the reader.
Base abstract class for dataset readers.
Definition reader_base.hpp:79
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
ReaderStatus
The result of trying to read a depth/RGB image or a pose.
Definition reader_base.hpp:45
Definition reader_base.hpp:81