MagicType MagicType CV_8UC1 CV_MAKETYPE(CV_8U,1) CV_8UC2 CV_MAKETYPE(CV_8U,2) CV_8UC3 CV_MAKETYPE(CV_8U,3) CV_8UC4 CV_MAKETYPE(CV_8U,4) CV_8UC n CV_MAKETYPE(CV_8U,(n)) CV_8SC1 CV_MAKETYPE(CV_8S,1) CV_8SC2 CV_MAKETYPE(CV_8S,2) CV_8SC3 CV_MAKETYPE(CV_8S,3) CV_8SC4 CV_MAKETYPE(CV_8S,4) CV_8SC n CV_MAKETYPE(CV_8S,(n)) CV_16UC1 CV_MAKETYPE(CV_16U,1) CV_16UC2 CV_MAKETYPE(CV_16U,2) CV_16UC3 CV_MAKETYPE(CV_16U,3) CV_16UC4 CV_MAKETYPE(CV_16U,4) CV_16UC n CV_MAKETYPE(CV_16U,(n)) CV_16SC1 CV_MAKETYPE(CV_16S,1) CV_16SC2 CV_MAKETYPE(CV_16S,2) CV_16SC3 CV_MAKETYPE(CV_16S,3) CV_16SC4 CV_MAKETYPE(CV_16S,4) CV_16SC n CV_MAKETYPE(CV_16S,(n)) CV_32SC1 CV_MAKETYPE(CV_32S,1) CV_32SC2 CV_MAKETYPE(CV_32S,2) CV_32SC3 CV_MAKETYPE(CV_32S,3) CV_32SC4 CV_MAKETYPE(CV_32S,4) CV_32SC n CV_MAKETYPE(CV_32S,(n)) CV_32FC1 CV_MAKETYPE(CV_32F,1) CV_32FC2 CV_MAKETYPE(CV_32F,2) CV_32FC3 CV_MAKETYPE(CV_32F,3) CV_32FC4 CV_MAKETYPE(CV_32F,4) CV_32FC n CV_MAKETYPE(CV_32F,(n)) CV_64FC1 CV_MAKETYPE(CV_64F,1) CV_64FC2 CV_MAKETYPE(CV_64F,2) CV_64FC3 CV_MAKETYPE(CV_64F,3) CV_64FC4 CV_MAKETYPE(CV_64F,4) CV_64FC n CV_MAKETYPE(CV_64F,(n)) The type is a constant name of the form CV_<bit depth>(S|U|F)C<number of channels> The S/U/F abbreviations stand for S = short, U = unsigned int, F = float. For example CV_32FC1 is the type of a matrix with one channel of 32bit float values.DepthType