TinyMAT
a library to write Matlab MAT-files
|
Functions | |
template<> | |
void | TinyMATWriter_writeContainerAsRow (TinyMATWriterFile *mat, const char *name, const std::vector< cv::Point2d > &data_vec) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file | |
template<> | |
void | TinyMATWriter_writeContainerAsRow (TinyMATWriterFile *mat, const char *name, const std::vector< cv::Point2f > &data_vec) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file | |
template<> | |
void | TinyMATWriter_writeContainerAsRow (TinyMATWriterFile *mat, const char *name, const std::vector< cv::Point2i > &data_vec) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file | |
template<> | |
void | TinyMATWriter_writeContainerAsRow (TinyMATWriterFile *mat, const char *name, const std::vector< cv::Point2l > &data_vec) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVMat (TinyMATWriterFile *mat, const char *name, const cv::Mat &img) |
write an OpenCV cv::Mat into a MAT-file as a matrix | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVPoint3AsColumn (TinyMATWriterFile *mat, const char *name, const cv::Point3_< T > &p) |
write a cv::Point3_<T> as column-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVPoint3AsRow (TinyMATWriterFile *mat, const char *name, const cv::Point3_< T > &p) |
write a cv::Point3_<T> as row-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVPointAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Point_< T > &p) |
write a cv::Point_<T> as column-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVPointAsRow (TinyMATWriterFile *mat, const char *name, const cv::Point_< T > &p) |
write a cv::Point_<T> as row-vector | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVRangeAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Range &p) |
write a cv::Range as column-vector | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVRangeAsRow (TinyMATWriterFile *mat, const char *name, const cv::Range &p) |
write a cv::Range as row-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVRectAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Rect_< T > &p) |
write a cv::Rect_<T> as column-vector [x;y;width;height] | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVRectAsRow (TinyMATWriterFile *mat, const char *name, const cv::Rect_< T > &p) |
write a cv::Rect_<T> as row-vector [x,y,width,height] | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVScalarAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Scalar_< T > &p) |
write a cv::Scalar_<T> as column-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVScalarAsRow (TinyMATWriterFile *mat, const char *name, const cv::Scalar_< T > &p) |
write a cv::Scalar_<T> as row-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVSizeAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Size_< T > &p) |
write a cv::Size_<T> as column-vector | |
template<typename T > | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVSizeAsRow (TinyMATWriterFile *mat, const char *name, const cv::Size_< T > &p) |
write a cv::Size_<T> as row-vector | |
template<typename T , int cn> | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVVecAsColumn (TinyMATWriterFile *mat, const char *name, const cv::Vec< T, cn > &vec) |
write a cv::Vec into a MAT-file as a column vector | |
template<typename T , int cn> | |
TINYMAT_EXPORT void | TinyMATWriter_writeCVVecAsRow (TinyMATWriterFile *mat, const char *name, const cv::Vec< T, cn > &vec) |
write a cv::Vec into a MAT-file as a row vector | |
Functions in this group allow to directly store OpenCV-datatypes into MAT-files.
void TinyMATWriter_writeContainerAsRow | ( | TinyMATWriterFile * | mat, |
const char * | name, | ||
const std::vector< cv::Point2d > & | data_vec | ||
) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file
This is a performance-optimized specialization.
mat | the MAT-file to write into |
name | variable name for the new array |
data_vec | the array to write. This container has to implement the function size() and an iterator with tool-functions begin() and end() |
void TinyMATWriter_writeContainerAsRow | ( | TinyMATWriterFile * | mat, |
const char * | name, | ||
const std::vector< cv::Point2f > & | data_vec | ||
) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file
This is a performance-optimized specialization.
mat | the MAT-file to write into |
name | variable name for the new array |
data_vec | the array to write. This container has to implement the function size() and an iterator with tool-functions begin() and end() |
void TinyMATWriter_writeContainerAsRow | ( | TinyMATWriterFile * | mat, |
const char * | name, | ||
const std::vector< cv::Point2i > & | data_vec | ||
) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file
This is a performance-optimized specialization.
mat | the MAT-file to write into |
name | variable name for the new array |
data_vec | the array to write. This container has to implement the function size() and an iterator with tool-functions begin() and end() |
void TinyMATWriter_writeContainerAsRow | ( | TinyMATWriterFile * | mat, |
const char * | name, | ||
const std::vector< cv::Point2l > & | data_vec | ||
) |
write a 1-dimensional std::vector of values as a row-vector into a MAT-file
This is a performance-optimized specialization.
mat | the MAT-file to write into |
name | variable name for the new array |
data_vec | the array to write. This container has to implement the function size() and an iterator with tool-functions begin() and end() |
TINYMAT_EXPORT void TinyMATWriter_writeCVMat | ( | TinyMATWriterFile * | mat, |
const char * | name, | ||
const cv::Mat & | img | ||
) |
write an OpenCV cv::Mat into a MAT-file as a matrix
mat | the MAT-file to write into |
name | variable name for the new array |
img | the cv::Mat to write |
|
inline |
write a cv::Point3_<T> as column-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the point to write |
|
inline |
write a cv::Point3_<T> as row-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the point to write |
|
inline |
write a cv::Point_<T> as column-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the point to write |
|
inline |
write a cv::Point_<T> as row-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the point to write |
|
inline |
write a cv::Range as column-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the rectangle-object to write |
|
inline |
write a cv::Range as row-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the Range-object to write |
|
inline |
write a cv::Rect_<T> as column-vector [x;y;width;height]
mat | the MAT-file to write into |
name | variable name for the new array |
p | the rectangle-object to write |
|
inline |
write a cv::Rect_<T> as row-vector [x,y,width,height]
mat | the MAT-file to write into |
name | variable name for the new array |
p | the rectangle-object to write |
|
inline |
write a cv::Scalar_<T> as column-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the cv::Scalar_<T> to write |
|
inline |
write a cv::Scalar_<T> as row-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the cv::Scalar_<T> to write |
|
inline |
write a cv::Size_<T> as column-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the size-object to write |
|
inline |
write a cv::Size_<T> as row-vector
mat | the MAT-file to write into |
name | variable name for the new array |
p | the size-object to write |
|
inline |
write a cv::Vec into a MAT-file as a column vector
mat | the MAT-file to write into |
name | variable name for the new array |
vec | the cv::Vec to write |
|
inline |
write a cv::Vec into a MAT-file as a row vector
mat | the MAT-file to write into |
name | variable name for the new array |
vec | the cv::Vec to write |