I need to turn .tiff images into an arrays. I am interested in how this is done for any image time. I have read into discrete transforms, but how would this be coded?
Thanks in advance.
-Chris
Printable View
I need to turn .tiff images into an arrays. I am interested in how this is done for any image time. I have read into discrete transforms, but how would this be coded?
Thanks in advance.
-Chris
Use an image manipulation library which removes you from having to deal with file formats.
If you tell us your compiler, we might be able to suggest a compatible library.
Or check out http://en.wikipedia.org/wiki/Tagged_Image_File_Format
Read the specs to find out what each byte does.
You can check out libTIFF at http://www.remotesensing.org/libtiff. Depending on your platform, it may already be installed.
--
Computer Programming: An Introduction for the Scientifically Inclined
G++ compiler