ok, let's replace ```CV_8UC1``` by ```CV_32FC1```