read_matrix — Read a matrix from a file.
read_matrix reads a matrix, which has
been written to the file with
write_matrix, from the file
FileName. The default HALCON file extension for the
matrix is 'mtx'. The format of the file can be binary or ascii.
Each row of the file contains one row of a matrix with a number
of columns. The columns are separated with white spaces or tabs.
Each row must have the same number of columns. Empty lines are
The reading results are stored in the matrix
The operator returns the matrix handle
MatrixID of this
matrix. Access to the elements of the matrix is possible e.g.
with the operator
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 extension: .
If the file name is valid, the operator
returns the value TRUE. If necessary an exception is raised.