Resize Image
I want to resize my image into half but the output is wrong as it is just showing a part of the image; it doesn't resize the whole image into half. The code used is below-
Mat src;
src = imread( "cameraman.tif" );
Mat img_resize;
resize(src,img_resize,Size(src.rows/2,src.cols/2)) ;
Original Image and Output-Image