NAME
read_feature_file -- unit to read feature file
PROTOTYPE
unitptr read_feature_file(int nf, char *fileid, unitptr host)
ARGUMENTS
- int nf
- number of features per line
- char *fileid
- feature file to read
- unitptr host
- host unit
INTERFACE:
- X_in[2]:
- if X_in[0]==0, read records sequentially (default).
Otherwise, read record with number X_in[1]
(values X_in[1]=0,1,2.. selecting the first, second
third etc. record).
- X_out[dx*dy]:
- (packed field 0) has dimension of image size
used in feature file fileid. Contains image data
(intensity values)
- out_1..3[dx*dy]:
- (packed fields 1..3) as before, but for red,
green, blue channel. Present, but not used
for binary images.
- out_4[nf]:
- (unpacked field 4) contains feature values
of current record.
- out_5[2]:
- current record number and # of features in this
record.
DESCRIPTION:
Starting from the first record, each exec_call fetches a new
record from the marker file *fileid and returns at output
field out_4 the values of the first nf features.
out_5 provides control information.
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../foldersrc/nst_file.c