1 | initial version |
You need to be carefull when switching in between 2.4 versions and 3.0 version, since variables all got different names. Namely looking at image = imread("C:\\Desktop\\Lighthouse.jpg", IMREAD_COLOR);
you should be aware that:
image = imread("C:\\Desktop\\Lighthouse.jpg", CV_IMREAD_COLOR);
with the CV prefix. This did change around 2.4.10 or 2.4.11 where the newer variables where introduced.image = imread("C:\\Desktop\\Lighthouse.jpg", IMREAD_COLOR);
Can you see if this works?