Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with Blender

Hi, I'm trying to use Blender (from stitching_details.cpp) example:

Blender* blender = Blender::createDefault(Blender::FEATHER, false); FeatherBlender* fb = dynamic_cast<featherblender*>(static_cast<blender*>(blender)); fb->setSharpness(1.f/20);

But on a second line I've got the following error during runtime:

EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

What I'm doing wrong? I use XCode 5.0.2 and OpenCV 2.4

Problem with Blender

Hi, I'm trying to use Blender (from stitching_details.cpp) example:

Blender* blender = = Blender::createDefault(Blender::FEATHER, false);

Blender::createDefault(Blender::FEATHER, false);

FeatherBlender* fb = = dynamic_cast<featherblender*>(static_cast<blender*>(blender));

dynamic_cast<featherblender*>(static_cast<blender*>(blender));

fb->setSharpness(1.f/20);

But on a second line I've got the following error during runtime:

EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

What I'm doing wrong? I use XCode 5.0.2 and OpenCV 2.4

click to hide/show revision 3
retagged

updated 2014-02-14 11:10:26 -0600

berak gravatar image

Problem with Blender

Hi, I'm trying to use Blender (from stitching_details.cpp) example:

Blender* blender = Blender::createDefault(Blender::FEATHER, false);

FeatherBlender* fb = dynamic_cast<featherblender*>(static_cast<blender*>(blender));

fb->setSharpness(1.f/20);

But on a second line I've got the following error during runtime:

EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

What I'm doing wrong? I use XCode 5.0.2 and OpenCV 2.4