Purpose: Performs high speed calculations on image files.
Format: PROCESS BEGIN
statement
statement
. . . . .
statement
PROCESS END
Notes: The PROCESS statement
performs groups of calculations for each sequential pixel specified by
the INFILE(s) statement. The results for each pixel
processed are available for output to the user selected OUTFILE
image files via the OUT variable. Only mathematical
calculations, IF...ENDIF statements and
LOOP BEGIN...END statements are executed within a PROCESS.
Each group of statements are executed once for each pixel.
The PROCESS BEGIN statement opens the specified input
and output files and initializes the internal process variables.
After all iterations have been executed, the files are then closed and
related system variables are re-initialized. The following variables
have special meaning within a process loop. They are as follows:
|
|
Variable Name |
| Image dimensions and types | See: Infile |
| Current pixel value imported from INFILE_A.
Current pixel value imported from INFILE_B. Current pixel value imported from INFILE_C. Current pixel value imported from INFILE_D. Current pixel value imported from INFILE_E. Current pixel value imported from INFILE_F. Current pixel value imported from INFILE_G. Current pixel value imported from INFILE_H. |
INA
INB INC IND INE INF ING INH |
| The value exported to the output file(s). | OUT |
| The current X or horizontal pixel location. | XPOS |
| The current Y or vertical pixel location. | YPOS |
| The red intensity value. | RED |
| The green intensity value. | GREEN |
| The blue intensity value. | BLUE |
| The scaled range of the OUT variable to graphic files. | WINDOW |
| Represents the center of the WINDOW range. | LEVEL |