I am new to to OpenCV and C++ programming. I recently installed and configure OpenCV 3.0 with Visual Studio 2013 through this link: http://opencv-srf.blogspot.com/2013/05/installing-configuring-opencv-with-vs.html
i am getting an error : 'CV_LOAD_IMAGE_UNCHANGED' : undeclared identifier i have included all d headerfiles as prescribed in the link. how can i debug this error
In OpenCV 3.0+ the flag names changed: http://docs.opencv.org/3.0.0/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56
(check cv::ImreadModes)
The flag CV_LOAD_IMAGE_UNCHANGED is replaced by IMREAD_UNCHANGED
From version 4.0.0, CV_LOAD_IMAGE_UNCHANGED has been changed to:
IMREAD_UNCHANGED
https://docs.opencv.org/4.0.0/d4/da8/group__imgcodecs.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With