jakr13
10th January 2013, 01:02
Hi,
I am creating a GUI application for image processing with opencv library and i almost wrote a program but i am getting an error while debugging.
i have a screenshot of my GUI below in which i can able to open an image when the open pushbutton is pushed, but when i press the erode button i am getting the error as:
"Starting D:\qtproject\Final\debug\Final.exe...
Qt: Untested Windows version 6.2 detected!
OpenCV Error: Assertion failed (src.size() == dst.size() && src.type() == dst.type()) in unknown function, file C:\slave\WinInstallerMegaPack\src\opencv\modules\i mgproc\src\morph.cpp, line 1221
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.
D:\qtproject\Final\debug\Final.exe exited with code 3"
since i am newbie i dont know where i am going wrong. I have attached my code below for your consideration. Plz someone help me with this, because i have very less time to implement this.
85738574
thanx.
I am creating a GUI application for image processing with opencv library and i almost wrote a program but i am getting an error while debugging.
i have a screenshot of my GUI below in which i can able to open an image when the open pushbutton is pushed, but when i press the erode button i am getting the error as:
"Starting D:\qtproject\Final\debug\Final.exe...
Qt: Untested Windows version 6.2 detected!
OpenCV Error: Assertion failed (src.size() == dst.size() && src.type() == dst.type()) in unknown function, file C:\slave\WinInstallerMegaPack\src\opencv\modules\i mgproc\src\morph.cpp, line 1221
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.
D:\qtproject\Final\debug\Final.exe exited with code 3"
since i am newbie i dont know where i am going wrong. I have attached my code below for your consideration. Plz someone help me with this, because i have very less time to implement this.
85738574
thanx.