I have a Mat object of type CV_32FC1 of size 300x300 ....
I tried :
B=Mat::ones(rows,cols,CV_32FC1)*100;
...process B...
Mat res_B=Mat::zeros(480,640,CV_32FC1);
resize(B, res_B, Size(640,480), 0, 0, INTER_CUBIC);
How to resize it to size 640x480 ?? When I used the resize() function in OpenCV it doesnt seem to work...Any suggestions??