|
|
|
|
|
|
|
|
|
ReadTIFFpackage: A TIFF Grayscale Image File Reader
|
|
|
|
|
|
Organization: | Hewlett-Packard Ltd (CPB) |
|
|
|
|
|
|
0208-561
|
|
|
|
|
|
1995-04-04
|
|
|
|
|
|
This package defines a function, ReadTIFFg, that can read a grayscale image stored in the TIFF file format and return a 2-D matrix (i.e., a List of Lists) representing the image's bitmap. A MathLink routine is used to read the binary files so a large image (>100K) can be read-in in under 10 seconds. The ReadTIFFg function can currently (v1.1) handle only bilevel (TIFF Class B) and grayscale (TIFF Class G) images that are saved to the file WITHOUT INTERNAL DATA COMPRESSION. With this exception, ReadTIFFg satisfies the requirements of a format compliant 'baseline' TIFF Class G file reader, and has been tested on files created by many applications. ReadTIFFg may also, in many cases, successfully read files that violate the TIFF standard. ReadTIFFpackage` needs access to the FastBinaryFiles package written by Todd Gayley at Wolfram Research (tgayley@wri.com). Documentation at the start of ReadTIFFpackage.m describes how to obtain FastBinaryFiles and install it for use by the ReadTIFFpackage.
|
|
|
|
|
|
|
|
|
|
|
|
image, bitmap, TIFF
|
|
|
|
|
|
| README.txt (3.6 KB) - Text file | | ReadTIFFpackage.m (76.2 KB) - Mathematica Package | | notebook_ReadTIFFpackage.nb (193.8 KB) - Mathematica Notebook | | test_ReadTIFFpackage.nb (1.1 MB) - Mathematica Notebook | Files specific to Mathematica 2.2 version:
| | notebook_ReadTIFFpackage.ma (97.8 KB) - Mathematica Notebook 2.2 or older | | test_ReadTIFFpackage.ma (967.8 KB) - Mathematica Notebook 2.2 or older |
|
|
|
|
|
|
|
| | | | | |
|