Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

GpuMat type varibale declaration "int type" significance

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.

GpuMat type varibale declaration "int type" significance

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.

GpuMat type varibale declaration "int type" significance

From Reference its given that

//! constructs GpuMat of the specified size and type type

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

type);

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

GpuMat type varibale declaration "int type" significance

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.