unhandled exception

asked 2013-06-13 06:01:11 -0500

Parinda gravatar image

Unhandled exception at at 0x000007FEFD469E5D in ConsoleApplication1.exe: Microsoft C++ exception: cv::Exception at memory location 0x00000000001AF490.

can anyone tell me the meaning of this error?

edit retag flag offensive close merge delete

Comments

1

Hi Parinda -plz provide some of your codes here. No one will be able to identify the error by looking at the above mentioned memory location

Heshan Sandeepa gravatar imageHeshan Sandeepa ( 2013-06-13 07:13:59 -0500 )edit

int main(int argc, char* argv[]) { IplImage* src1 = cvLoadImage( "C:\Users\admi\Pictures\bubles.jpg" ); IplImage* src2 = cvLoadImage( "C:\Users\admi\Pictures\bu.jpg" ); int x = 280; int y = 80; int width = 60; int height = 60; double alpha = 0.5; double beta = 0.5; cvSetImageROI(src1,cvRect(1,1,640,480)); cvSetImageROI(src1, cvRect(x,y,width,height)); cvAddWeighted(src1, alpha, src2, beta, 0.0, src1); cvResetImageROI(src1); cvNamedWindow("Alpha_blend", 1); cvShowImage("Alpha_blend", src1); cvShowImage("Alpha_blend2", src2); }

this is the code for alphablend..

Parinda gravatar imageParinda ( 2013-06-14 01:44:23 -0500 )edit