OpenCV中設計圖像的幾個概念,總是弄混淆。x,y row,col width, height,以及在不同函數下的適用情況。
shape 【0】 height 【1】width
range Mat(range行, range 列)
size 【0】width 【1】height
resize 【0】width 【1】height
Mat (Size size, int type)
Mat (int rows, int cols, int type, const Scalar &s)
Mat.create(Size size, VC_8UC3);