Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Bug with GpuMat::GpuMat(const GpuMat& m, Rect roi)

Hi,

If you try to use this code:

Mat m = imRead("D:\pic.jpg",1); GpuMat gm; gm.upload(m); GpuMat roi(gm, Rect(0,0,gm.rows-1, gm.cols-1);

An error will raises !

Bug with GpuMat::GpuMat(const GpuMat& m, Rect roi)

Hi,

If you try to use this code:

Mat m = imRead("D:\pic.jpg",1); GpuMat gm; gm.upload(m); GpuMat roi(gm, Rect(0,0,gm.rows-1, gm.cols-1);

An error will raises !

Bug with GpuMat::GpuMat(const GpuMat& m, Rect roi)

Hi,

If you try to use this code:

Mat m = imRead("D:\pic.jpg",1);
imRead("D:\\pic.jpg",1);

GpuMat gm; gm.upload(m); GpuMat roi(gm, Rect(0,0,gm.rows-1, gm.cols-1);

An error will raises !

Bug with GpuMat::GpuMat(const GpuMat& m, Rect roi)

Hi,

If you try to use this code:

Mat m = imRead("D:\\pic.jpg",1);

GpuMat gm; gm.upload(m); GpuMat roi(gm, Rect(0,0,gm.rows-1, gm.cols-1);

gm.cols-1);

An error will raises !

Bug with GpuMat::GpuMat(const GpuMat& m, Rect roi)

Hi,

If you try to use this code:

Mat m = imRead("D:\\pic.jpg",1);
GpuMat gm;
gm.upload(m);
GpuMat roi(gm, Rect(0,0,gm.rows-1, gm.cols-1);

An error will raises !