Mask

constructor(width: Int, height: Int, data: FloatArray)

Parameters

width

Width of the mask.

height

Height of the mask.

data

Flat array of mask values (confidence or category indices).