Hi
I am working in a application which convert two 16 bit gray scale images into a stitched single image. So while doing this with the code written below
void Stitching()
{
using (Stitcher stitcher = new Stitcher(false))
{
using (VectorOfMat vm = new VectorOfMat())
{
Mat result = new Mat();
vm.Push(firstImage);
vm.Push(secondImage);
stitcher.Stitch(vm, result);
pbResultImage.Image = result.ToImage<Gray, ushort>().ToBitmap();
}
}
}
I get error which says
"OpenCV: (image.type() == (((0) & ((1 << 3) - 1)) + (((3)-1) << 3))) || (image.type() == (((0) & ((1 << 3) - 1)) + (((4)-1) << 3))) || (image.type() == (((0) & ((1 << 3) - 1)) + (((1)-1) <<
3)))"
I don't have any idea what this says. Please help me. Waiting for answers as soon as possible.