OpenCV4Android class 垫:width() 和 rows() 之间的区别,以及 height() 和 cols() 之间的区别?

OpenCV4Android class Mat: difference between width() and rows(), and that between height() and cols()?

在OpenCV4Android中,方法width()rows()有什么区别; class Mat 的方法 height()cols() 有什么区别?

documentation 没有说明这些方法。

他们之间没有区别。一般 width() == cols()height() == rows();

实际上,width()height()方法内部调用了cols()rows()方法来获取值。