GpuMat type varibale declaration "int type" significance

asked 2016-10-26 23:03:09 -0500

lm35 gravatar image

updated 2016-10-26 23:07:21 -0500

From Reference its given that

//! constructs GpuMat of the specified size and type

GpuMat(int rows, int cols, int type);

GpuMat(Size size, int type);

what is this "int type". Is it something like CV_8UC3 ..etc, that we use for "Mat" type.

It is given that

int cv::cuda::GpuMat::type ( ) const

will returns element type. I dont understand what is meant by "element type" and what should be its value.

Please help.

edit retag flag offensive close merge delete