首页 › 答案 › 题库 › 网课

如何获取Mat对象的行数和列数?

如何获取Mat对象的行数和列数?
A、mat.size().height和mat.size().width
B、mat.rows()和mat.cols()
C、mat.height()和mat.width()
D、mat.rows和mat.cols
正确答案:mat.rows()和mat.cols()
标签:对象