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
1 | initial version |
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