HungarianHandleInit

Function Usage

Initializes the matching matrix of the Hungarian algorithm.

Prototype

APP_ERROR HungarianHandleInit(HungarianHandle &handle, int row, int cols);

Parameter Description

Parameter

Input/Output

Description

handle

Input

Struct dedicated for the Hungarian algorithm.

row

Input

Number of rows in the matching matrix of the Hungarian algorithm.

Value range: (0, 8192]

cols

Input

Number of columns in the matching matrix of the Hungarian algorithm.

Value range: (0, 8192]

Return Parameter Description

Data Structure

Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.