I need to use class cv::Mat_ from OpenCV library for performing some data processing.
I have a struct type such as this
struct data{short a; short b; short c; }
If I try to create a cv::Mat_ object like this,
cv::Mat_<data>d_cells(10,50);
I get an error in Visual Studio,
'channel_type': is not a member of 'cv::DataType<_Tp>'
I've tried reading documentation and reading other posts regarding the same error, but it didn't solve my problem. I am new to c++.
Could someone help me?