Commit d10363eedccba07d623aab3c4279b253ca4f7b5b
1 parent
2a61948f
expose some of these functions for third party application use
Showing
1 changed file
with
3 additions
and
3 deletions
openbr/core/opencvutils.h
| ... | ... | @@ -39,9 +39,9 @@ namespace OpenCVUtils |
| 39 | 39 | // To image |
| 40 | 40 | cv::Mat toMat(const QList<float> &src, int rows = -1); |
| 41 | 41 | cv::Mat toMat(const QList< QList<float> > &srcs, int rows = -1); |
| 42 | - cv::Mat toMat(const QList<int> &src, int rows = -1); | |
| 42 | + BR_EXPORT cv::Mat toMat(const QList<int> &src, int rows = -1); | |
| 43 | 43 | |
| 44 | - cv::Mat toMat(const QList<cv::Mat> &src); // Data organized one matrix per row | |
| 44 | + BR_EXPORT cv::Mat toMat(const QList<cv::Mat> &src); // Data organized one matrix per row | |
| 45 | 45 | cv::Mat toMatByRow(const QList<cv::Mat> &src); // Data organized one row per row |
| 46 | 46 | |
| 47 | 47 | // From image |
| ... | ... | @@ -116,7 +116,7 @@ namespace OpenCVUtils |
| 116 | 116 | int getFourcc(); |
| 117 | 117 | } |
| 118 | 118 | |
| 119 | -QDebug operator<<(QDebug dbg, const cv::Mat &m); | |
| 119 | +BR_EXPORT QDebug operator<<(QDebug dbg, const cv::Mat &m); | |
| 120 | 120 | QDebug operator<<(QDebug dbg, const cv::Point &p); |
| 121 | 121 | QDebug operator<<(QDebug dbg, const cv::Rect &r); |
| 122 | 122 | QDataStream &operator<<(QDataStream &stream, const cv::Mat &m); | ... | ... |