Release 3 of the Image Addon: Help Front Page
by Zachary X. Reiter and Clifford A. Reiter (reiterc@lafayette.edu)
June 2003
Like the other releases of the image addon for J, this addon gives utilities for reading and writing images in a variety of formats
from J. While the emphasis is on 24 bit images, there is some support for movies and 8-bit images. We have found the addon very useful and use it regularly. However, some variants of the image and movie types may not be successfully read. Moreover, the software is powerful, so users should be prudent and work on files that have been backed up.
The Main Scripts
The main utilities are organized into 4 scripts (each requiring those above it):
- image3.ijs which has functions for reading and writing most of the supported image formats.
- movie3.ijs which has functions for reading and writing quicktime (tm) movies which are jpeg or png sequences, and some support for *.avi files.
- html_gallery8.ijs which has functions for automatically creating or updating galleries of images.
- prevare.ijs which is a form that provides tools handy for interactively preparing, previewing, creating and supplementing the html galleries.
The addon utilities are implemented with a combination of J defined functions and
*.dll or *.so library functions created from several open sources. There are also several auxilary scripts used for a variety of tasks: viewing images and data, creating raster images of text, wrapping images onto an annulus for CD labels, and giving samples of possible usage.
Image3 Addon Labs
The help sections (see links below) describe the main addon features. However, three labs are also available to introduce the addon features.
- Image 3 Addon, image3.ijt The basic image i/o functions and a quick glimpse of some other facilities.
- Image 3 Addon Movie, movie.ijt The movie utilities
- Image 3 Addon Html, html_gallery8.ijt Html gallery building and maintenance.
Image3 Addon Help Contents
- image3 has functions for reading and writing most of the supported image formats along with some basic utilities.
- view_m has functions for displaying images and data.
- movie3 has functions for reading and writing quicktime (tm) movies which are jpeg or png sequences.
- html_gallery8 has functions for automatically creating and updating galleries of images.
- prevare.ijs defines a form that provides tools handy for interactively preparing, previewing, creating and supplementing the html galleries. This utility may also use the textimage (text_image.ijs), annular insertion (anins.ijs), and viewing (view_m.ijs) scripts for some facilities.
- Open Sources and Copyrights gives details about the open sources used to create the image3.dll (image3.so) libraries
- Release 3 Changes lists the main changes from image2
Some Auxiliary Scripts
- filter1.ijs which gives some filters for correcting image defects. See the examples at the end of the script.
- color_space.ijs which gives tools for converting between color spaces. See the examples at the end of the script.
- transform_m.ijs which gives tools for correcting barrel distortion and doing tilt and small rotation adjustments. See Transform image help file
- anins2.ijs is used by prevare to map a rectangular image onto an annulus
- text_image.ijs is used by prevare to create text as a raster image
- sample1.ijs shows some typical steps used to work with a new directory of digital images
- sample2.ijs shows some typical steps used to work with an html gallery that is updated regularly