You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A compilation error due to updated opencv4 compared to opencv2.
slideNormalize.cpp:40:40: error: use of undeclared identifier 'CV_BGR2Lab'
40 | cv::cvtColor(bgr_image, lab_image, CV_BGR2Lab);
| ^
slideNormalize.cpp:66:41: error: use of undeclared identifier 'CV_Lab2BGR'
66 | cv::cvtColor(lab_image, image_clahe, CV_Lab2BGR);
| ^
slideNormalize.cpp:73:42: error: use of undeclared identifier 'CV_WINDOW_NORMAL'; did you mean 'cv::WINDOW_NORMAL'?
73 | cv::namedWindow("Original image", CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
| cv::WINDOW_NORMAL
/usr/local/opt/opencv/include/opencv4/opencv2/highgui.hpp:143:8: note: 'cv::WINDOW_NORMAL' declared here
143 | WINDOW_NORMAL = 0x00000000, //!< the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size.
| ^
slideNormalize.cpp:77:52: error: use of undeclared identifier 'CV_WINDOW_NORMAL'; did you mean 'cv::WINDOW_NORMAL'?
77 | cv::namedWindow("Normalized (CLAHE) image", CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
| cv::WINDOW_NORMAL
/usr/local/opt/opencv/include/opencv4/opencv2/highgui.hpp:143:8: note: 'cv::WINDOW_NORMAL' declared here
143 | WINDOW_NORMAL = 0x00000000, //!< the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size.
| ^
4 errors generated.
slideNormalize.cpp:40:40: error: use of undeclared identifier 'CV_BGR2Lab'
40 | cv::cvtColor(bgr_image, lab_image, CV_BGR2Lab);
| ^
slideNormalize.cpp:66:41: error: use of undeclared identifier 'CV_Lab2BGR'
66 | cv::cvtColor(lab_image, image_clahe, CV_Lab2BGR);
| ^
slideNormalize.cpp:73:42: error: use of undeclared identifier 'CV_WINDOW_NORMAL'; did you mean 'cv::WINDOW_NORMAL'?
73 | cv::namedWindow("Original image", CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
| cv::WINDOW_NORMAL
/usr/local/opt/opencv/include/opencv4/opencv2/highgui.hpp:143:8: note: 'cv::WINDOW_NORMAL' declared here
143 | WINDOW_NORMAL = 0x00000000, //!< the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size.
| ^
slideNormalize.cpp:77:52: error: use of undeclared identifier 'CV_WINDOW_NORMAL'; did you mean 'cv::WINDOW_NORMAL'?
77 | cv::namedWindow("Normalized (CLAHE) image", CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
| cv::WINDOW_NORMAL
/usr/local/opt/opencv/include/opencv4/opencv2/highgui.hpp:143:8: note: 'cv::WINDOW_NORMAL' declared here
143 | WINDOW_NORMAL = 0x00000000, //!< the user can resize the window (no constraint) / also use to switch a fullscreen window to a normal size.
| ^
4 errors generated.
The text was updated successfully, but these errors were encountered:
A compilation error due to updated
opencv4
compared toopencv2
.The text was updated successfully, but these errors were encountered: