read_class_knn — Read the k-NN classifier from a file.
read_class_knn reads the saved classifier from the file
The values of the current classifier are overwritten.
The default HALCON file extension for the k-NN classifier is 'gnc'.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
File name of the classifier.
File extension: .
Handle of the k-NN classifier.
read_class_knn returns 2 (H_MSG_TRUE).
An exception is raised if it was not possible to open the file
FileName or the file has the wrong format.
Marius Muja, David G. Lowe: “Fast Approximate Nearest Neighbors with Automatic Algorithm Configuration”; International Conference on Computer Vision Theory and Applications (VISAPP 09); 2009.