Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCL Errors in the Console when using Stitcher OpenGL 3

I am trying to use the code below to create a panorama. img1 and img2 are coming from 2 cameras and I know that they both contain data (that they're not NULL). The code compiles and runs. However, when I run the code, I get the error in the attached image. I have no clue what's going on. Does anyone have any ideas? I'd appreciate the help!

vector<<mat>Mat> imgs;
imgs.push_back(img1);
imgs.push_back(img2);
Mat pano;
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);

if (status != Stitcher::OK)
{
cout << "Can't stitch images, error code = " << int(status) << endl;
return -1;
}
The error that appears in the console

OpenCL Errors in the Console when using Stitcher OpenGL 3

I am trying to use the code below to create a panorama. img1 and img2 are coming from 2 cameras and I know that they both contain data (that they're not NULL). The code compiles and runs. However, when I run the code, I get the error in the attached image. I have no clue what's going on. Does anyone have any ideas? I'd appreciate the help!

vector<<mat>Mat> imgs;
imgs.push_back(img1);
imgs.push_back(img2);
Mat pano;
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);

if (status != Stitcher::OK)
{
cout << "Can't stitch images, error code = " << int(status) << endl;
return -1;
}
The error that appears in the console error

OpenCL Errors in the Console when using Stitcher OpenGL 3

I am trying to use the code below to create a panorama. img1 and img2 are coming from 2 cameras and I know that they both contain data (that they're not NULL). The code compiles and runs. However, when I run the code, I get the error in the attached image. I have no clue what's going on. Does anyone have any ideas? I'd appreciate the help!

vector<<mat>Mat> imgs;
imgs.push_back(img1);

vector<<Mat>Mat> imgs;
imgs.push_back(img1);
imgs.push_back(img2);

Mat pano;
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);

if (status != Stitcher::OK)
{
cout << "Can't stitch images, error code = " << int(status) << endl;
<br> return -1;
}
}

The error that appears in the console error

The error that appears in the console

OpenCL Errors in the Console when using Stitcher OpenGL 3

I am trying to use the code below to create a panorama. img1 and img2 are coming from 2 cameras and I know that they both contain data (that they're not NULL). The code compiles and runs. However, when I run the code, I get the error in the attached image. I have no clue what's going on. Does anyone have any ideas? I'd appreciate the help!

vector<<Mat>Mat> imgs;
imgs.push_back(img1);

vector<<mat>Mat> imgs;
imgs.push_back(img1);
imgs.push_back(img2);
Mat pano;
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::Status status = stitcher.stitch(imgs, pano);

if (status != Stitcher::OK)
{
cout << "Can't stitch images, error code = " << int(status) << endl; <br>
return -1; }

The
}
The error that appears in the console error\

I have no idea why my image is not showing up...but the error that appears in the consolesays "OpenCL program build lop: -D depth=0 -D PIX_PER_WI_Y=4 ....Error, line 14118: compile failed."

OpenCL Errors in the Console when using Stitcher OpenGL 3

I am trying to use the code below to create a panorama. img1 and img2 are coming from 2 cameras and I know that they both contain data (that they're not NULL). The code compiles and runs. However, when I run the code, I get the error in the attached image. I have no clue what's going on. Does anyone have any ideas? I'd appreciate the help!

vector<<mat>Mat> imgs;
imgs.push_back(img1);

vector<<Mat>Mat> imgs;
imgs.push_back(img1);
imgs.push_back(img2);

Mat pano;
Stitcher stitcher = Stitcher::createDefault(true);
Stitcher::createDefault(true); Stitcher::Status status = stitcher.stitch(imgs, pano);

pano); if (status != Stitcher::OK)
{
cout << "Can't stitch images, error code = " << int(status) << endl;
return -1;
}
The error that appears in the console error\
}

The error that appears in the console

I have no idea why my image is not showing up...but the error says "OpenCL program build lop: -D depth=0 -D PIX_PER_WI_Y=4 ....Error, line 14118: compile failed."