Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lvr2::hdf5features::ImageIO< Derived > Class Template Reference

#include <ImageIO.hpp>

Public Member Functions

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)
 
void save (std::string groupName, std::string datasetName, const cv::Mat &img)
 
void save (HighFive::Group &group, std::string datasetName, const cv::Mat &img)
 

Protected Member Functions

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

Protected Attributes

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

Detailed Description

template<typename Derived>
class lvr2::hdf5features::ImageIO< Derived >

Definition at line 18 of file hdf5/ImageIO.hpp.

Member Function Documentation

◆ createMat()

template<typename Derived>
template<typename T >
cv::Mat lvr2::hdf5features::ImageIO< Derived >::createMat ( std::vector< size_t > &  dims)
protected

◆ load() [1/2]

template<typename Derived>
boost::optional<cv::Mat> lvr2::hdf5features::ImageIO< Derived >::load ( HighFive::Group group,
std::string  datasetName 
)

◆ load() [2/2]

template<typename Derived>
boost::optional<cv::Mat> lvr2::hdf5features::ImageIO< Derived >::load ( std::string  groupName,
std::string  datasetName 
)

◆ loadImage()

template<typename Derived>
boost::optional<cv::Mat> lvr2::hdf5features::ImageIO< Derived >::loadImage ( std::string  groupName,
std::string  datasetName 
)

◆ save() [1/2]

template<typename Derived>
void lvr2::hdf5features::ImageIO< Derived >::save ( std::string  groupName,
std::string  datasetName,
const cv::Mat &  img 
)

◆ save() [2/2]

template<typename Derived>
void lvr2::hdf5features::ImageIO< Derived >::save ( HighFive::Group group,
std::string  datasetName,
const cv::Mat &  img 
)

Member Data Documentation

◆ m_file_access

template<typename Derived>
Derived* lvr2::hdf5features::ImageIO< Derived >::m_file_access = static_cast<Derived*>(this)
protected

Definition at line 45 of file hdf5/ImageIO.hpp.


The documentation for this class was generated from the following file:


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:12