
21-52
VISMASK (Statement)
Function
Executes calculations between images.
Format
VISMASK <Window number>, <Coordinate X>, <Coordinate Y>,
<Screen 1>,<Screen 2>,
<Mode> [, <Binary lower limit>[, <Binary upper limit>]]
Explanation
<Window number> Designates the window number (0 to 511).
<Coordinate X> Designates the X coordinate (0 to 511).
<Coordinate Y> Designates the Y coordinate (0 to 479).
<Screen 1> Designates the storage memory number to calculate (0 to 3).
<screen 2> Designates the storage memory number to calculate. This is the
storage destination for a processing result (0 to 3).
<Mode> Designates the type of calculation between images(0 to 10).
0: Binary AND
1: Binary OR
2: Binary XOR
3: AND (Executes AND for each bit after the brightness value is
binarized)
4: OR (Executes OR for each bit after the brightness value is
binarized.)
5: XOR (Executes XOR for each bit after the brightness value is
binarized.)
6: Addition (Sets 255 if the brightness value is 255 or more.)
7: Subtraction (Sets 0 if the brightness value is 0 or less.)
8: Maximum value (Selects a larger brightness value.)
9: Minimum value (Selects a smaller brightness value.)
10: Absolute value (the absolute value of the difference between
brightness values.)
Commentaires sur ces manuels