MACROS A thru M
Macros N thru X

MACRO
ARGUMENTS
DESCRIPTION
Add_Var variable name, addend Intended to be used only with variables whose value is a numeric string or expression. The addend is added to the current value, and the result becomes the new value. [variables/assign]
Adj_Viewer name, width, height, action_text Create a new adjustment viewer with name <name>. width and height specify the size of the image area. The action text will be interpreted when the cursor is moved within the window with the left button depressed. The action text can access the cursor position using the script variables $view_xpos and $view_ypos.
Alignment val Force data to be aligned with a boundary of the given size. This function was introduced to support video I/O on SGI's sirius hardware, for which the video data buffers need to be aligned on 512b boundaries fro direct i/o (O_DIRECT) to and from disk. [data/align]
Assign variable, value The numeric expression will be evaluated, and the result will be formatted as a string and assigned to the given variable. [NEED TO MENTION WHAT VALUE RESULTS FROM DIVIDE BY ZERO, AND OTHER ILLEGAL OPS] [variables/assign]
B2SP target, source  
Binary_Dither target, source A one-bit version of the source image is placed in the target. [war/misc/dither]
Bit_Image name for bitmap image Create a one-bit image of the [default size] [data/image]
Byte_Display name for byte image  
Byte_Field name  
Byte_Image name for byte image  
Byte_Sequence sequence name, number of frames  
Check_File_Existence filename  
Click_Viewer name, width, height, left text, middle text, right text Create a clickable viewer of the given size. The three action strings specify script fragments that will be executed when each of the mouse buttons is depressed.
Clip target, source, value target = source < value ? source : value [war/xxx/clip]
Clobber bool Enable or disable overwriting of exisitng image files. In interactive use, the user is always prompted before overwriting [CHECK THIS] [fileio/clobber]
Close none Obsolete macro. New program should use the builtin commands [end]
Close_Hips_File movie_file Used to close a file before the expected number of frames has been read or written. [fileio/close]
Close_Hips_Movie movie_file closes the specified hips movie
Close_Port name closes the port in use
Color_Dither color image, byte buffer  
Color_Dither_If image, viewer_index, string  
Color_Image name  
Column name, length, depth, type valid selections are: byte, short, long, float, double, color, complex, dblcpx
Column_Vector name, length, type  
Complex_Image name for complex image  
Connect_Daemon local_write_port, portnumber, local_read_port, remote_write_port connects to a local port daemon
Connect_Remote_Daemon local_write_port, portnumber, local_read_port, remote_write_port, portnumber, host connects to a remote port daemon
Convert target, source  
Copy_Inset image, index  
DCT image  
Daemon_Ack write_portname, text  
Daemon_Start port_number  
Decrement variable name  
Define macro name, number of arguments, prompt for first argument, prompt for second argument, text of macro defines your own macro
Delete_Image name of image  
Delete_Macro name  
Delete_Object name of data object  
Delete_Vector name of vector  
Delete_Viewer name  
Destroy_Viewer name  
Dilate dest, src  
Disp_Bytes image, viewer  
Disp_Gray float image, viewer name  
Disp_Image float image, viewer  
Disp_Raw image, viewer  
Display data object  
Display_If object  
Double_Image name for float image  
Double_Scalar name  
Dump_Chain name  
Dump_Corner image  
Dump_Lut lutname  
Dumplut name  
Dup_Byte name for float image, prototype  
Dup_Complex name for complex image, prototype  
Dup_Float name for float image, prototype  
Dup_Image new name, prototype, precision  
Dup_Obj new name, prototype  
Dup_Sequence new name, prototype, precision  
Dup_Short name for short image  
Dup_Sizes prototype  
Dup_Std name for float image, prototype  
End_Chain name  
Enlarge target, source  
Equivalence name, parent, nseqs, nfrms, nrows, ncols, ncomps, precision  
Eval none the variables are evaluated
Event_Redir none  
Event_UnRedir none  
Exec_Chain name  
Extract target, viewer  
FFT image  
FFT_Cols image  
FFT_Rows image  
Fetch_Samples dest, src, map  
File_Info filename  
File_Seek filename, frameno  
Filetype typename  
Fill img, x, y, v, tol  
Filter_For name, template  
Find_Max_Pixel input  
Finite image  
Fit_To_Viewer image, viewer, varname  
Float_Display name for float image  
Float_Field name  
Float_Frame name  
Float_Image name for float image  
Float_Scalar name  
Float_Vector name for float vector, size  
Flt2Cpx target, source  
Get_Ascii data object, ascii filename  
Get_Daemon port_number, local_port_name  
Get_File data object, filename, filetype  
Get_Hips data object, HIPS filename  
Get_Hips2 data object, HIPS2 filename  
Get_Max vername, image  
Get_Mean vername, image  
Get_Min vername, image  
Get_Next object, filename  
Get_Rasterfile filename  
Get_Remote_Daemon remote_host, port_number, local_port_name  
Get_Sum vername, image  
Grayscale_LUT base, n  
Grayscale_Viewer name  
Hips_Directory name  
Histogram target, source, minimum bin center, bin width  
Hypersequence name, seqs, frames, height, width, ncomps, type  
I2SP target, source  
IClip target, source, value  
IXform_For name, template  
Image name, height, width, depth, type  
Image_2_War image  
Image_Info name  
Import_Disk filename  
Import_File filename  
Import_Hips filename  
Import_Hips2 filename  
Import_Image filename  
Import_VL filename  
Increment variable name  
Info data object  
Init_LUT viewer name  
Inner_Prod destvec, srcvec, matrix  
Insure_Directory name  
Interlace name, parent, odd_even  
InvDCT image  
InvFFT image  
Invert matrix  
Label_If viewer_index, label  
Label_Viewer view name, new label  
Lin_Levels n  
Link_Port write_port, read_port  
Listen_Daemon local_write_port, local_read_name, remote_write_name, port_number  
Load_Hips data object, HIPS filename  
Load_Lut lutname, filename  
Load_Viewer viewer, object  
Long_Image name for long image  
Map float_output, byte_input, map_vector  
Map_Compare target bitmap, input1, input2  
Map_Scalar_Compare target bitmap, input vector, scalar value  
Map_Scalar_Mag_Compare target bitmap, input vector, scalar value  
Max_Index source, index  
Max_Times index_array, source, maxval, maxtimes  
Median targ, src  
Median_1D targ, src, radius  
Median_Clip targ, src  
Min_Index source, index  
Min_Times index_array, source, maxval, maxtimes  
Morph dest, src, map  
Mul_Var variable name, multiplicand The mutiplicand is multiplied with the current value, and the result becomes the new value. [variables/assign]
Macros N thru X