Image Measurement and Analysis Lab

This is the home page of the scientific image analysis program IMAL (the Image Measurement and Analysis Lab).

Imal (formerly tnimage) is an open-source scientific image analysis program that allows you to create, edit, measure, and analyze images. It is particularly useful for analyzing images of SDS and agarose gels and X-ray or MRI images.

Latest DOS version: 2.2.7
Latest Unix version: 3.7.7b
New Features

New in v.3.7.7: Richardson-Lucy deconvolution
NOTICE: As of version 3.6.0, new versions will be available in source code or partially static format only. Older precompiled versions are still available.

NOTICE: The creators of libpng have changed their library to make it incompatible with older programs. Someday we will get around to re-writing the png handling functions. Until then, users should continue to use libpng version 1.4 or earlier.

NOTICE: To compile imal, you need Motif (no longer called OpenMotif, which seems to have disappeared). This is often included in Linux and called "motif" and "motif-devel". A Motif clone called "lesstif" should also work, although not perfectly. You also must have the development files for libstdc++, freetype (libXft), libXrender, libjpeg, libtiff, and libpng. LibXbae is used if present. It is needed for the optional image spreadsheet editor. The manual gives detailed instructions for compiling for various operating systems.

WARNING: We have discovered that some Linux distributions are now including a bogus version of libjpeg known as libjpeg.8.0.2. This version uses a completely different API and is not supported in Imal. Please use only the authentic Jpeg libraries from IJG. Imal will compile in all versions of IJG libjpeg up to at least jpeg-9.

New: Richardson-Lucy deconvolution, complete FITS r/w file format, 48-bit image processing, vignetting correction, and two types of binning. Major improvements for astronomical image processing.

Composite image, 3d view in Imal
Composite image, 3D surface plot in Imal

Features:

Pre-compiled Unix versions for X11-Motif for Linux (Intel), SGI Irix, Mac OS X, Solaris, and ConvexOS are also available (Click below)

Grand Tour of Imal Features

     Visual Tour of Features

Screen shots

     Screen shot of UNIX version of Imal
     Screen Shot of DOS version of Imal (old)

Software Documentation and Tutorials

     Imal manual in PDF format
     Imal manual in PostScript format
     Manual for DOS version
     Running Imal in Windows
     Compiling Imal in OSX (from V. Guerreiro)

Imal downloads

Several versions are provided. Download the version appropriate for your operating system. The dynamically-linked version will work if you have Motif and your libraries are up to date and in standard locations. If you don't have Motif, or if the dynamically-linked "linux" version doesn't work, you can either install Motif yourself, or use the "nomotif" or "static" version. OpenMotif 2.2.3 is the recommended version to use. You will also need the OpenMotif developers package to compile imal.

Note: The static version is no longer available due to an unknown change that was made to gcc.

Note: Two dynamically-linked and no-motif versions are included: imal and imal64, for 32- and 64-bit x86 Linux systems, respectively.

NOTE The source code version (imal-source.tar.gz) is the only file guaranteed to be the latest version. As of April 2011, pre-compiled versions are created only on an intermittent basis.

Conditions of use: This software is distributed under the GPL version 2. As a condition of use, users are asked to report any problems they encounter with the software.

     Unix source code (Latest version)

Older, pre-compiled versions

     Precompiled Linux version (static)
     Precompiled Linux version (dynamically linked; 32-bit and 64-bit versions)
     Precompiled Linux version (dynamically linked for users without Motif; 32-bit and 64-bit versions)
     Precompiled Linux version (dynamically linked for x86 64-bit Linux )
     Static Linux version (for x86 32-bit Linux)
     Static Linux version (for x86 64-bit Linux)
     Source RPM
     Precompiled Linux RPM
     Precompiled OS X version (ver. 3.5.11, provided by Vitor Guerreiro)
     Precompiled OS X version (ver. 3.3.9)
     DOS version of Imal

Notes

If you get the message
imal: loadlocale.c:220: _nl_load_locale: Assertion `idx % __alignof__ (u_int32_t) == 0' failed.
Type the command: export LC_ALL=POSIX before starting Imal.


If you get the message
Warning: translation table syntax error: Unknown keysym name: osfActivate
Warning: String to TranslationTable conversion encountered errors

this is caused by an incompatibility between the X11 and Motif. This will prevent all Motif applications from displaying user-entered text and will eventually cause the program to crash. To fix the problem, become the superuser and copy XKeysymDB to its proper place:
su
cd /usr/share/X11
cp XKeysymDB /usr/X11R6/lib/X11


Feedback on usability issues, suggestions for new feature, errors in the documentation, and bug reports are welcome. Send reports to
name and address


Quick links

Software Documentation and Tutorials

Imal manual in PDF format
Imal manual in PostScript format
Manual for DOS version
Running Imal in Windows

Imal downloads - current version

Unix source code (Current version)
Partially static version (Current version for x86_64)

Older, pre-compiled versions

Precompiled Linux version (dynamically linked; 32-bit and 64-bit versions)
Precompiled Linux version (dynamically linked for x86 64-bit Linux)
Precompiled Linux version (dynamically linked for users without Motif; 32-bit and 64-bit versions)
Source RPM
Precompiled Linux RPM
Static Linux version (for x86 32-bit Linux)
Static Linux version (for x86 64-bit Linux)
Precompiled OS X version (ver. 3.5.11)
DOS version of Imal