cols property

int get cols

number of columns in the matrix; -1 when the matrix has more than 2 dimensions

Implementation

int get cols => ccore.cv_UMat_cols(ref);