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
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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