CheckValidity

Declaration: TIlabTrnDataSet.CheckValidity (MetaData: TMetaData): integer;
The function CheckValidity checks the validity of the dataset by checking both the original filename and the boundaries of the original image data. The parameter MetaData contains the meta data of the image data against which the dataset has to be checked. CheckValidity returns the following error codes:
 0 .... no error
-1 .... test data does not match the original data file
-2 .... at least one point of the test dataset is outside the image data


Last Update: 2020-Jšn-04