1 | initial version |
Hello, Your image is on 32-bit while the imshow is working on 8-bits. so you should use
Mat imgOriginal = imread(imgName,0); istead of Mat imgOriginal = imread(imgName);
you need also to add cv::waitKey(0) always after calling imshow for having the time to see the image.
2 | No.2 Revision |
Hello, Your image is on 32-bit while the imshow is working on 8-bits. so you should use
Mat imgOriginal = imread(imgName,0); istead //instead of Mat imgOriginal = imread(imgName);
you need also to add cv::waitKey(0) always after calling imshow for having the time to see the image.
3 | No.3 Revision |
Hello, Your image is on 32-bit while the imshow is working on 8-bits. so you should use
Mat imgOriginal = imread(imgName,0); //instead of Mat imgOriginal = imread(imgName);
you need also to add cv::waitKey(0) cv::waitKey(0);
always after calling imshow imshow
for having the time to see the image.