| Author |
Message |
mo_ya630
Joined: 03 Feb 2008 Posts: 27
|
02 Mar 2008 13:53 reading image data in C or C++ |
|
|
|
hello
i want to read image data in c
please help me and get me c or c++ source code.
my project is image processing with c language and i first need to read gray level image matrix in c .
|
|
| Back to top |
|
 |
echo47
Joined: 07 Apr 2002 Posts: 4209 Helped: 564
|
|
| Back to top |
|
 |
ismailbtk
Joined: 04 Sep 2007 Posts: 9 Helped: 1
|
12 Mar 2008 8:06 reading image data in C or C++ |
|
|
|
| why u r not using matlab.?
|
|
| Back to top |
|
 |
jhbbunch
Joined: 21 Feb 2006 Posts: 192 Helped: 11
|
12 Mar 2008 18:30 reading image data in C or C++ |
|
|
|
would just creating an image object in java or .net and loading the gfx file into it and reading the pixel values help?
in .net it's just:
Image img = new Image("C:\mybitmap.bmp");
for (i = 0; i < img.Width, i++)
for(j = 0; j < img.Height, j++)
d[i][j] = img.GetPointAt(i,j);
Or something close to that.
Anyway, this book may be of help to you:
Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP (ACM Press)
http://rapidshare.com/files/23472861/compimgff.rar.html
|
|
| Back to top |
|
 |
mo_ya630
Joined: 03 Feb 2008 Posts: 27
|
12 Mar 2008 20:06 reading image data in C or C++ |
|
|
|
i should use only with c or c++ because of its speed
matlab is too slow.
|
|
| Back to top |
|
 |
mmelek1
Joined: 20 Apr 2002 Posts: 120 Helped: 3
|
30 Apr 2008 6:52 reading image data in C or C++ |
|
|
|
| Try using openCV
|
|
| Back to top |
|
 |