1. 程式人生 > >opencv cvMat資料型別

opencv cvMat資料型別

CV_8UC1對應unsigned char
CV_8SC1對應signed char
CV_16UC1對應unsigned short
CV_16SC1對應signed short
CV_32UC1對應unsigned int或者unsigned long
CV_32SC1對應signed int或者signed long
CV_32FC1對應float
CV_64FC1對應double
以上的通道數都為1。