AISDoc.tioga
Jules Bloomenthal, July 2, 1991 6:12 pm PDT
Michael Plass, February 3, 1992 12:19 pm PST
CEDAR 10.0 —
AIS
simple access to AIS files
Jules Bloomenthal
© Copyright 1990, 1991, 1992 Xerox Corporation. All rights reserved.
Abstract: This package provides an interface for client access to AIS files, as well as a collection of program(s) for the manipulation of AIS files.
Created and Maintained by: Bloomenthal.pa
Keywords: AIS, sample map, sampled image, interpress.
XEROX Xerox Corporation
Palo Alto Research Center
3333 Coyote Hill Road
Palo Alto, California 94304
An AIS file is a simply formatted Array of Intensity Samples (i.e., pixels). This format has enjoyed a lasting popularity at PARC despite competing and generally acknowledged superior formats. The PCedar AIS package consists of an interface to read/write an AIS file to/from an ImagerSample.SampleMap and a collection of programs to manipulate AIS files.
The Unix based sandpiper program (courtesy WRC) provides a conversion program for AIS files to/from a number of formats (RES, TIFF, Pict, etc.).
Interfaces
Clients should refer to AISIO.mesa.
ImagerPixelArrayAIS contains the AIS-related procedures that used to be in ImagerPixelArray.
Programs
AISChangeHeader
Usage: AISChangeHeader <ais-in> <ais-out> [-option]
options include:
-placement <x, y: INTEGER>
-bitsPerPixel <INTEGER>
-numberScanlines <INTEGER>
-pixelsPerLine <INTEGER>
-comment <ROPE>
This program can be used for a number of purposes. One in particular might be of value to PCedar users attempting to display AIS files created under DCedar.
In DCedar, AIS files were packaged in 16 bit words; thus, typically, each scan line was padded to an even number of 8 bit pixels. This is not the case in PCedar, and a number of AIS files padded to even length scan lines incorrectly state, in their header, that they are of odd length scan lines. These files will be incorrectly displayed in PCedar unless their header is corrected.
AISToIP
Usage: AISToIP <ip name> ← <ais name> [-q]
<ip name> is the name of the created Interpress master
<ais name> is either:
the name of a black/white AIS file (ending with ".ais"), or
the base name of an AIS color triplet
[-q] suppresses an Interpress caption
This program converts AIS file(s) to an Interpress master.