Hey peeps am studding opencv and running through some tutorials, i came across these attributes well I think they are that the problem really I dont know what they are tried google it but with no luck:
So these are the bits that i have no idea what they are have a look maybe someone can explain these to me so the tutorials will have more sense to me:
vector<Vec4i>() //I know what vector is :) but Vec4i....?
CV_8UC1 // <------- ?
The OpenCV basic structures page (under the
Vecsection) explains thatVec4iis atypedef, equivalent toVec<int, 4>, a vector of 4 integers.Additionally, on the same page (under the
Matsection), it explains thatCV_8UC1is an 8-bit single-channel matrix. Specifically:8indicates the bit depthUindicates that it isunsignedC1indicates that there is a single channel.Here’s a page with more information about OpenCV naming conventions.