MLx Home | Contents
| MLx menu | MLx
buttons | Widgets | Index | What's New
Images
(Description of image windows).
Images in MacLispix are associated with image windows - one
image (or one stack) per window.
The title bar of the window is the name of the image. This name
can be changed.
General
- Redrawing windows. Windows are redrawn when they are
uncovered. Some graphics
are temporary and will not be redrawn. In other words, redrawing
the window is a way to erase the temporary graphics. Redrawing
occurs when:
- The window is covered, and then uncovered.
- The grow box is
clicked on. This is the most convenient way.
- The window is zoomed.
(When the window is so large that the grow square is not on the
screen, zooming the window is another convenient way.)
- Title
this is the name of the image. Originally the name of the file,
or a combination of the names of images that are its source (via
an image operation), this name can be changed for convenience
or readability. Often, needs to be shortened
before writing an image file.
Details
Image windows are objects that have slots containing auxilliary
information. Some of these slots are:
- Image array. This is the original data. These values
are plotted, read out, etc., but are rarely changed. This is
why scaling operations never
need to be undone - subsequent scaling operations are unaffected
by previous ones. Image operations
such as gradients, subtraction, etc. usually generate a new window
with a new image array - the old window and data are not changed.
The few image operations that are done IN PLACE, that is, they
replace the original data, are: Fill...menus,
Flip menus,
and the Invert Pixel
values, Reverse
Bytes, and Transpose
menus. Also Shrink sum
has the option of working IN PLACE (actually, a new window is
made then old window is closed).
- Scaled Image array This is an 8 bit scaled version
of the original data. It is this copy that is displayed. It is
changed each time scaling is done.
- Note (annotation).
- Input by user to document an image.
- Can be input via MacLispix with the Annotate
button.
- TIFF files: will can be read from and written to the resource
fork of the file. The Get Info
box in the finder will also access the note.
- The Note is not burned into the image - it is drawn temporarily
like most graphics.
Types of Images and
other windows
The windows are grouped into classes by the Windows
menu.
- Image_Window
- byte_image - normal type of gray level image. Image
data can be bit, byte, integer, float. (example)
- blob_image Special type of gray level image on which
blobbing is done. The window has a list of blobs, a mask image,
and other morphological information.
- sblob_image Special type of gray level image on which
super blobbing is done.
- cch_image and ccch_image Scatter diagrams.
- gstack Stack of gray level images.
- display_rect_window Small (usually) rectangular region
of an image, blown up, updated when source image is clicked.
- overlay_image Color overlay image, or RGB color image.
- cstack Stack of color (RGB) images.
- FRED (text) window
- Dialog
- (various) graphics windows