Representating 2-D array of doubles by putting in Mat and displaying.
I've a got a 2-D array of double values.
I want to put them in Mat and display.
In other words, I want to represent my 2-D array of doubles in color.
Should I scale these double values somehow before I put them in Mat?
Or what? I can't manage to represent all the values vividly to see the differences between them.
just as a reminder, opencv wants consecutive memory, so it won't work if your 2d array is an array of pointers
Yes, I remember. Thanks. But I initialize Mat in a loop explicitly using Mat::at<double>(). The actual question is about information loss when display Mat CV_64F with imshow().