Ask Your Question

Revision history [back]

I have try your code in C++ with opencv 3.0-dev and I have found same problem.

Mat bigg( 107162,79553,CV_8UC3),small;
resize(bigg, small,Size2d(107162/2,79553/2),0, 0,INTER_AREA);

Problem is size.area() is negative. What I have done (that''s not very nice at all) I have changed size value before size.area (for example 700,700 for size) and after size.area restore good value and after I have got a result in Mat small. So if you try to compile opencv from source you can comment this line. May be it would solve your problem

It looks like a bug may be you can report a ticket here