Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to understand Mat_<float>

I have such code

Mat srcImage = imread("1.jpg", 0);
Mat planes[] = {Mat_<float>(srcImage), Mat::zeros(srcImage.size(), CV_32F)};
Mat complexI;
merge(planes, 2, complexI);

How to understand this Mat_<float>(srcImage)? I cannot search any information about it. Could help a little?

How to understand Mat_<float>

I have such code

Mat srcImage = imread("1.jpg", 0);
Mat planes[] = {Mat_<float>(srcImage), Mat::zeros(srcImage.size(), CV_32F)};
Mat complexI;
merge(planes, 2, complexI);

How to understand this Mat_<float>(srcImage)? I cannot search any useful information about it. Could help a little?to understand it?