; ALIAS.TIM  --   alias file for TIMWIN
;
;SET commands           examples
graphpat    1       ;set grpat red
cursorpat   2       ;set curpat msb

drawpat     4
clock       5
 pll        1       ;set clock pll
 xtal       0
printer     6

lock        1
unlock      0
msb       128
lsb         1
calfactor   9       ;set calfactor 23.45
hmask      11       ;set hmask 1
vmask      12
videoinput 13       ;set videoinput 1
framegr    14       ;set framegr 2   (for multi-FG systems)
update     15           
 ibufedit   1       ;set update ibufwin
 imedit     2
 ibufgraph  4
 statdata   8
 histedit   16
 dde        32
 histgraph  64
 NOT        -1*     ;e.g. NOT ibufedit; only for update set values!
drawmode   16
 draw       1
 erase      2
 iniline    4
 lijn       8           ;line is keyword!
 rubmode   16 
gain       20
offset     21
;STAT commands
minpix      0           ;stat minpix (returns minimum pixelvalue in image)
maxpix      1
min1        2
max1        3
numgreyval  4
meanpix     5
mean0       6
medianpix   7
median0     8
meandif     9
meandif0   10
relmeandif 11
relmeandif0  12
stdev      13


;BITPLANE INDICATION bitplane ops (with standard LUT no. 4)
red         1           ;lsk red
green       2       ;in CLP operations
blue        3       ;(e.g. lcon blue)

;Compiler defines
IMAGE      file      ;to allow type IMAGE

MEM_BIT     2        ;bit fields & masks for image properties (improp command)
WIN_BIT     4
DIS_BIT    0x10
PIXMASK    0xE0
PIX8       0
PIX12      0x40
PIX16      0x20
PIX32      0x60
PIX64      0x80
I256       0x100    ;256x256
I383       0x200    ;256x384
I512       0x400    ;512x512
I768       0x800    ;512x768
I1024      0x1000   ;1024x1024
SUBIM      0x2000
OV_READ    0x4000
OV_WRITE   0x8000

