HALCON Reference Manual 10.0.2
Table of Contents / Matrix / Features ClassesClassesClasses | | | Operators

get_size_matrixget_size_matrixget_size_matrixGetSizeMatrixGetSizeMatrix (Operator)

Name

get_size_matrixget_size_matrixget_size_matrixGetSizeMatrixGetSizeMatrix — Get the size of a matrix.

Signature

get_size_matrix( : : MatrixID : Rows, Columns)

Herror get_size_matrix(const Hlong MatrixID, Hlong* Rows, Hlong* Columns)

Herror T_get_size_matrix(const Htuple MatrixID, Htuple* Rows, Htuple* Columns)

Herror get_size_matrix(const HTuple& MatrixID, Hlong* Rows, Hlong* Columns)

Hlong HMatrix::GetSizeMatrix(HTuple* Columns) const

void HOperatorSetX.GetSizeMatrix(
[in] VARIANT MatrixID, [out] VARIANT* Rows, [out] VARIANT* Columns)

Hlong HMatrixX.GetSizeMatrix([out] Hlong* Columns)

static void HOperatorSet.GetSizeMatrix(HTuple matrixID, out HTuple rows, out HTuple columns)

void HMatrix.GetSizeMatrix(out int rows, out int columns)

Description

The operator get_size_matrixget_size_matrixget_size_matrixGetSizeMatrixGetSizeMatrix returns the number of rows RowsRowsRowsRowsrows and columns ColumnsColumnsColumnsColumnscolumns of the input MatrixMatrixMatrixMatrixmatrix. The input MatrixMatrixMatrixMatrixmatrix is defined by the matrix handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixID.

Parallelization

Parameters

MatrixIDMatrixIDMatrixIDMatrixIDmatrixID (input_control)  matrix HMatrix, HTupleHMatrix, HTupleHMatrixX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Matrix handle of the input matrix.

RowsRowsRowsRowsrows (output_control)  integer HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Number of rows of the matrix.

ColumnsColumnsColumnsColumnscolumns (output_control)  integer HTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong)

Number of columns of the matrix.

Result

If the parameters are valid, the operator get_size_matrixget_size_matrixget_size_matrixGetSizeMatrixGetSizeMatrix returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_matrixcreate_matrixcreate_matrixCreateMatrixCreateMatrix

Possible Successors

clear_matrixclear_matrixclear_matrixClearMatrixClearMatrix, clear_all_matricesclear_all_matricesclear_all_matricesClearAllMatricesClearAllMatrices

Module

Foundation


Table of Contents / Matrix / Features ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH