IJTiff v.1.02 by Harald Hauglin (harald.hauglin@basalmed.uio.no)
This package uses public domain ImageJ java
classes for importing grayscale TIFF files and stacks and
writing 8 and 16 bit integer and 32 bit floating point TIFF files
Mathematica J/Link is used to access
java classes of the ImageJ image processing library.
ImageJ is maintained by Wayne Rasband at NIH and is
available for free at http://rsb.info.nih.gov/ij/download.html
For full source code and API documentation: http://rsb.info.nih.gov/ij/developer/
Tested with ij.jar version 1.33
Features and known bugs:
------------------------
Image stack writing not yet supported
Low level access to TIFF tags not currently supported
IJReadImage[path] works for all file types supported by ImageJ,
but only tested on grayscale images.
No type and dimension check on parameters passed.
Installation instructions:
--------------------------
1. Download the file ij.jar from http://rsb.info.nih.gov/ij/download.html
2. Add the location of ij.jar to the Java class path. In a Windows XP environment
it may look like
AddToClassPath["C:\\documents and settings\\all users\\application data\\ImageJ"];
Insert the relevant path name in the AddToClassPath[] command in the IJTiff.m file.
Revision history:
-----------------
24022005 v 1.02
Added IJWrite8BitScaledTiff[] and IJWrite16BitTiff[]
Fixed image reversal bug
23022005 v 1.01
Added file- and directory exsistence checks. The IJWrite functions now create
new directories if specified in the file path. If no path is specified, the
default directory is the current Mathematica directory (i.e. Directory[])
23022005 v 1.00