void cv::Mat::convertTo(OutputArray m, int rtype,double alpha = 1,double beta = 0)const
ParameterDetailsmoutput matrix; if it does not have a proper size or type before the operation, it is reallocatedrtypedesired output matrix type or, rather, the depth since the number of channels are the ...