Functions | |
template<class Archive > | |
void | save (Archive &ar, const cv::Mat &mat) |
template<class Archive > | |
void | load (Archive &ar, cv::Mat &mat) |
Serialisation for OpenCV cv::Mat matrices for the serialisation library cereal (http://uscilab.github.io/cereal/index.html).
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.
[in] | ar | The archive to deserialise from. |
[in] | mat | The matrix to deserialise into. |
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.
[in] | ar | The archive to serialise to. |
[in] | mat | The matrix to serialise. |