- Set new window position:
cvMoveWindow("image", 10, 50);
- write/read xml/yml using FileStorage:
- Read:
FileStorage storage("test.xml", FileStorage::READ); storage["depth_1"] >> img; storage.release();
- write:
FileStorage storage("test.yml", FileStorage::WRITE); storage << "img" << img; storage.release();
- release previous image content:
cvReleaseImage(&images[i]);
- matrix type conversion:
cv::Mat A = loadMat("mymat.xml"); A.convertTo(A, CV_32FC1); // or CV_64FC1
Oct 15, 2013
OpenCV goodies
Subscribe to:
Post Comments (Atom)
Down with the Dictatorship!
"Let them hate me, so that they fear me" - Caligula 41AD
-
To install pngwrite we need to install to helper library before we install pngwriter. 1. libpng 2. freetype2 We can use fink or macport to i...
-
Health benefit and values
-
It started on a rainy day. So1ace was one of the best friends I had ever in my life. He arrived in my life on 29th January 2013. I spent 3 ...
No comments:
Post a Comment