the truth I just started with opencv and I have a problem is that when I send an image print send me an error in imshow ("image", image); and says this "Unhandled exception in 0x00007FFEBEE3A388 in PhotosOpenCV.exe: Microsoft C ++ exception: cv :: Exception in memory location 0x00000081A098F3B0." and it only shows a gray sale and it can not be closed if someone else happened to it could guide me a bit I'll leave the code anyway since it's small
#include "stdafx.h"
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
using namespace std;
using namespace cv;
int main(){
Mat imagen = imread("C:\Users\Jose Ramirez\Documents\Visual Studio 2017\Backup Files\FotosOpenCV\Lenna.png");
namedWindow("imagen", WINDOW_AUTOSIZE);
imshow("imagen", imagen);
waitKey(0);
return 0;
}