Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Mat img = imread(..) vs img = imread(..)

i have img as a member in the .h file, but when i use

img = imread(..);

in the .cpp file, it crashes. however, using

Mat img = imread(..);

works. what is the difference? thanks!

note: opencv3.0 with qt