open an image as matrix

  • Thread starter Cristina e Cris
  • Start date
C

Cristina e Cris

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!
 
I

Ivan Vecerina

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top