Improve conversion to OpenCv Mat with more than 8 bits

This commit is contained in:
jfmcarreira committed 2019-04-12 03:35:42 +01:00
1 parent 0989810e1f
commit 68faafc9ed
3 files changed
+31 -25

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ public:
/**
* interface with OpenCV lib
*/
bool toMat( cv::Mat& cvMat, bool convertToGray = false, unsigned channel = 0 );
bool toMat( cv::Mat& cvMat, bool convertToGray = false, bool scale = true, unsigned channel = 0 );
bool fromMat( cv::Mat& cvMat, int iChannel = -1 );
/**