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