what contains cv::Mat data
Hi,
Actually, I handle CV_8UC1
and CV_32FC1
.
For example, I have :
cv::Mat img32bit = cv::imread(path, 2) ;
The type of img32bit
is CV_32FC1
. The type of img32bit.data
is uchar*
, and not float*. What is img32bit.data
exaclty ?
I ask because I transfer 32 bit images through socket. The client runs on windows, and we can only send/receive uchar*
with windows.
It works well, I can transfer 32-bit images without lose informations, but I need to understand how img32bit.data
is encoded.
Thank you for your help !