hazad
6th February 2013, 10:32
Hi friends,
I have problems with OpenCV and Qt,
in the sample code link = http://forum.donanimhaber.com/m_17940057/tm.htm
code is working well but i create class and the included all needed OpenCV header fileand make floodfill to member function of my class
however when i run this function example object->fill(){ floodfill(..,..,..,..,)}
the program is terminated unexpectedly and Compiler MEssage
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(Test_014_ColorKinect:11338): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
OpenCV Error: Unsupported format or combination of formats () in cvFloodFill, file /home/robotic_goruntu/Downloads/OpenCV/opencv/modules/imgproc/src/floodfill.cpp, line 621
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'cv::Exception'
what(): /home/robotic_goruntu/Downloads/OpenCV/opencv/modules/imgproc/src/floodfill.cpp:621: error: (-210) in function cvFloodFill
The program has unexpectedly finished.>>>>>>>>>>>>>>>>>>>>>>>>
I have problems with OpenCV and Qt,
in the sample code link = http://forum.donanimhaber.com/m_17940057/tm.htm
code is working well but i create class and the included all needed OpenCV header fileand make floodfill to member function of my class
however when i run this function example object->fill(){ floodfill(..,..,..,..,)}
the program is terminated unexpectedly and Compiler MEssage
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
(Test_014_ColorKinect:11338): Gtk-WARNING **: gtk_disable_setlocale() must be called before gtk_init()
OpenCV Error: Unsupported format or combination of formats () in cvFloodFill, file /home/robotic_goruntu/Downloads/OpenCV/opencv/modules/imgproc/src/floodfill.cpp, line 621
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.
terminate called after throwing an instance of 'cv::Exception'
what(): /home/robotic_goruntu/Downloads/OpenCV/opencv/modules/imgproc/src/floodfill.cpp:621: error: (-210) in function cvFloodFill
The program has unexpectedly finished.>>>>>>>>>>>>>>>>>>>>>>>>