| Computers Forum Index » Computer Languages (Labview) » I have a problem... |
|
Page 1 of 1 |
|
| Author |
Message |
| ... |
Posted: Wed May 20, 2009 6:54 pm |
|
|
|
Guest
|
Hi,
I have a problem and I`ll be really appreciated if you can solve it.
My project is to read 2 Jpeg files (hand writings) and compare them by
using correlation coefficient.
I found out how to read a jpeg file and also I found out that I need
to convert my images to arrays to wire them to correlation block But I
couldn`t find how to convert them to arrays.
Thank you so much
best regards
Parto Yazdani |
|
|
| Back to top |
|
|
|
| dangerousbill at (no spam) gmail.com... |
Posted: Tue May 26, 2009 7:13 pm |
|
|
|
Guest
|
On May 20, 11:54 am, parto.yazd... at (no spam) gmail.com wrote:
Quote: I found out how to read a jpeg file and also I found out that I need
to convert my images to arrays to wire them to correlation block But I
couldn`t find how to convert them to arrays.
I did this years ago for greyscale images by converting jpg to .pgm
(portable gray map) files. The bitmap was dumped to a text file and
imported into Excel.
Some graphics programs will save the pgm as a continuous line of
numerical values, ready to import. Most save it as lines of ten
numbers, which has to be further processed by a custom program in
order to be imported into Excel. The ten-number lines have to be
converted to n-number lines.
DB |
|
|
| Back to top |
|
|
|
|