Method 1.Rename to IMREAD_UNCHANGED
Method 2.Keep use CV_LOAD_IMAGE_UNCHANGED,but add this header file:
#include "opencv2/imgcodecs/legacy/constants_c.h"
Method 1.Rename to IMREAD_UNCHANGED
Method 2.Keep use CV_LOAD_IMAGE_UNCHANGED,but add this header file:
#include "opencv2/imgcodecs/legacy/constants_c.h"