Ask Your Question

Revision history [back]

Have you insert waitKey after imshow ?

Have you insert waitKey after imshow ?

lut.at<uchar>(i) = 255 - 1; do you mean 255-i?

Have you insert waitKey after imshow ?

lut.at<uchar>(i) = 255 - 1; do you mean 255-i?

lut.at<uchar>(i) = 255 - 1;
std::cout << lut.at<char>(i) << "\n";

please uchar or char ? check your code