Cristina e Cris said:
Hi! How can i open an image in a specific format and using the image like
a matrix?? That is: I want open an image in format like matrix as well as
i do in Matlab (imshow(image)). I'm sorry but i'm new in C++...
thank u!
Your question is not specific enough. Loading an image depends on the format
of the source file - there are a number of free libraries that can do it.
In C++, a matrix can be represented in a number of different ways, and
you may also want to use an existing linear algebra library.
The choice will depend on your performance/flexibility/complexity
requirements.
Most linear algebra libraries are supported by an active community
of users, and if you describe what you want to achieve, I'm sure
they will be able to help (better than the more diverse community
of C++ users here).
See links on:
http://www.oonumerics.org/oon/
I hope this helps,
Ivan