When using this command:
Mat im_gray = imread("C:\\Users\\USER\\Documents\\Blue.jpg", CV_LOAD_IMAGE_GRAYSCALE);
the image is not only loaded but its shape is changed.
This is the original image:
This is the resultant image when loading it :
How can the image be loaded, while maintaining the same shape ?