Connecting Tech Pros Worldwide Help | Site Map

open an image as matrix

  #1  
Old July 23rd, 2005, 04:58 AM
Cristina e Cris
Guest
 
Posts: n/a


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!


  #2  
Old July 23rd, 2005, 04:58 AM
Ivan Vecerina
Guest
 
Posts: n/a

re: open an image as matrix


"Cristina e Cris" <cristian216@supereva.it> wrote in message
news:6Bcee.1332722$35.49746793@news4.tin.it...[color=blue]
> 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![/color]

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
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Brainbench MVP for C++ <> http://www.brainbench.com


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert an Image to 8-bit grayscale platinumhimani@gmail.com answers 8 November 24th, 2006 09:15 AM
Duck typing alows true polymorfisim atbusbook@aol.com answers 15 September 1st, 2006 04:45 PM
class similar to a function object? Jef Driesen answers 17 August 29th, 2006 02:05 PM
Need grayscale image class help. QuasiChameleon answers 6 August 31st, 2005 10:15 PM