1 | initial version |
desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input.
In your program CV_32FC1 becomes CV_32F
If you need a channel use split and if you need a grayscale image use cvtColor