IOUMethod

Function

It is the IOU calculation method.

Structure Definition

enum IOUMethod {
    MAX = 0,
    MIN = 1,
    UNION = 2,
    DIOU = 3
};

Parameter Description

Parameter

Input/Output

Description

MAX

Input

The overlapped area is divided by the larger one of the two areas.

MIN

Input

The overlapped area is divided by the smaller one of the two areas.

UNION

Input

The overlapped area is divided by the union of the two areas.

DIOU

Input

The value equals the value of UNION minus the IoU of the distances.