;                   TIM Image Specification File
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; This file specifies the image set-up for TIMWIN. It must be renamed
; to 'images.tim' and placed in the TIMWIN directory to become valid.
; The specification consists of the following fields, which are separated
; by white space characters (i.e. spaces or tabs).
;
;  i  dis  8  512  512   0   0 
;  ^   ^   ^   ^    ^    ^   ^ 
;  |   |   |   |    |    +---+------position of upper left corner in field
;  |   |   |   |    |               (specify for child images only)
;  |   |   |   +----+---------------image size (Y, X)
;  |   |   +------------------------pixel size
;  |   +----------------------------type of image store: dis(play), mem(ory),
;  |                                win (memory image with Windows display)
;  +--------------------------------image name (may be any string)
;
; Images can share the same memory space if they are specified in a single
; block. An empty line separates blocks.
;
; The first line in a block not only specifies an image, but also the total
; amount of memory of the block. This first image is called: Master Image (MI).
; The image specifications following the MI may have a '-' in the image store
; type field. These images are called: child images. Their size and position
; must be so, that they fit in the master image completely. The position
; specification is necessary only with child images.
; Windows images (type 'win') cannot have children.
; Image specification blocks must be separated by at least one empty line.
;
; For every specified image the following sub-images are recognized:
; - 4 images occupying 1/4 of the total image space, accessible by appending
;   a number (1 - 4) to the image name (e.g. a1, p2, etc.).
; - a variable sub image, accessible by appending a 'c' to the image name
;   (e.g. 'ac').
;
; The first non-comment line specifies the display window: this is the size
; of the area that the frame grabber shows in non-zoomed condition.
;
; In this file coordinates are specified in Y, X fashion.
;
; In this file characters between the comment character (;) and end-of-line
; are ignored.
; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
;        Specification for 2x512x512 ITI-FGPlus Frame Grabber
;     (Dual Store Mode. Using Single Store mode has advantages with TIMWIN.
;      See PCVisionPlus manual pg. 2.13)

display = 512 512                     ;Size display window

fg  dis   8  1024   512                 ;master image (determined by display)
x    -    -   512   512      0     0    ;  +-----------+    +-----------+
y    -    -   512   512    512     0    ;  |           |    |  p  |  q  |
g    -    -   512   512    512     0    ;  |     x     |    |-----|-----|
p    -    -   256   256      0     0    ;  |           |    |  r  |  s  |
q    -    -   256   256      0   256    ;  +-----------+    +-----+-----+
r    -    -   256   256    256     0    ;  |           |    |  t  |  u  |
s    -    -   256   256    256   256    ;  |    y (g)  |    |-----|-----|
t    -    -   256   256    512     0    ;  |           |    |  v  |  w  |
u    -    -   256   256    512   256    ;  +-----------+    +-----------+
v    -    -   256   256    768     0    ;   <-- 512 -->
w    -    -   256   256    768   256    ;


;
;  Additional storage in computer memory
;
f   mem   64  256   256                     ;fft image (64-bit pixels): 512KB
e16  -    16  512   512      0     0 
m16  -    16  256   256      0     0
e    -     8  512   512      0     0
a    -     8  256   256      0     0
b    -     8  256   256      0   256
c    -     8  256   256    256     0
d    -     8  256   256    256   256
     
h   win    8  256   256    

i   win    8  256   256
