Template Class ImageIO

Class Documentation

template<typename Derived>
class ImageIO

Public Functions

void save(std::string groupName, std::string datasetName, const cv::Mat &img)
void save(HighFive::Group &group, std::string datasetName, const cv::Mat &img)
boost::optional<cv::Mat> load(HighFive::Group &group, std::string datasetName)
boost::optional<cv::Mat> load(std::string groupName, std::string datasetName)
boost::optional<cv::Mat> loadImage(std::string groupName, std::string datasetName)

Protected Functions

template<typename T>
cv::Mat createMat(std::vector<size_t> &dims)

Protected Attributes

Derived *m_file_access = static_cast<Derived*>(this)