superviseddescent  0.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
Functions
cv Namespace Reference

Functions

template<class Archive >
void save (Archive &ar, const cv::Mat &mat)
 
template<class Archive >
void load (Archive &ar, cv::Mat &mat)
 

Detailed Description

Serialisation for OpenCV cv::Mat matrices for the serialisation library cereal (http://uscilab.github.io/cereal/index.html).

Function Documentation

template<class Archive >
void cv::load ( Archive &  ar,
cv::Mat &  mat 
)

De-serialise a cv::Mat using cereal.

Supports all types of matrices as well as non-contiguous ones.

Parameters
[in]arThe archive to deserialise from.
[in]matThe matrix to deserialise into.
template<class Archive >
void cv::save ( Archive &  ar,
const cv::Mat &  mat 
)

Serialise a cv::Mat using cereal.

Supports all types of matrices as well as non-contiguous ones.

Parameters
[in]arThe archive to serialise to.
[in]matThe matrix to serialise.