Why won't this work; opencv Mat_<float>
- by user1371674
I can't seem to get this to work. I'm trying to get the pixel value of an image but first need to change the color of the image, but since I cannot use int or just Mat because the values are not whole numbers, I have to use and because of that errors pop up when I try to run this on the cmd.
int main(int argc, char **argv)
{
Mat img =…