Problems with using objects of Mat
I'm trying to run the attached code, and I'm getting errors about the objects of the class Mat. I tried adding the file Mat.hpp to the code and it didn't help. though the code itself isn't problematic- other pepole on that forum used it and it worked. so I guess something's wrong with how I'm using the class or with how I'm using openCV in general. If someone can guide me I'll be very happy. Thank you very much!!!
please forget that link immediately, it's horribly outdated, and code like that should no more be used.
instead, please have a look at the tutorials
you can use :