Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Wierd and creepy, all I did, change getchar() for waitKey() and it worrks!. So main goes this way...

int main() { Mat left = imread("C:\Users\Fcastro\source\repos\pose\cbimages\0_degrees.pgm"); imshow("Left Image View", left); waitKey(); }

click to hide/show revision 2
No.2 Revision

Wierd and creepy, all I did, change getchar() for waitKey() and it worrks!. So main goes this way...

int main()
{
    Mat left = imread("C:\Users\Fcastro\source\repos\pose\cbimages\0_degrees.pgm");
imread("C:\\Users\\Fcastro\\source\\repos\\pose\\cbimages\\0_degrees.pgm");
    imshow("Left Image View", left);
    waitKey();
}

}