cout << "Hand written function times passed in seconds: " << t << endl;
imshow("Output", J);
- waitKey();
+ waitKey(0);
Mat kern = (Mat_<char>(3,3) << 0, -1, 0,
-1, 5, -1,
imshow("Output", K);
- waitKey();
+ waitKey(0);
return 0;
}
void Sharpen(const Mat& myImage,Mat& Result)