科学网

 找回密码
  注册
Bitwise operations: a case study
陆宇振 2018-2-28 00:47
Bitwise operators are those strange looking operators that may look hard to understand... but not any more! Example : unsigned char dataIn = {0,0,1,0,1,0,0,1}; //unsigned int status = 0; unsigned char status = 0; int main() { for (int i=0; i4; i++) { &n ...
1435 次阅读|没有评论
Conversion between QImage and CV Images
陆宇振 2018-2-20 09:55
QImage is a Qt class for image handling (I/O and simple pixel access and manipulation), but it is far from a right choice for image processing. Interfacing Qt an OpenCV involves a natural need for converting QImage to OpenCV images of Mat. Here presents some solutions for their conversions. 1. F ...
1746 次阅读|没有评论
Create Qt widgets
陆宇振 2018-2-10 05:37
QWidget ( http://doc.qt.io/qt-5/qwidget.html ) The QWidget class is the base class of all user interface objects. The widget is the atom of the user interface: it receives mouse, keyboard and other events from the window system, and paints a representation of itself on the screen. Every wi ...
2229 次阅读|没有评论
Summary of the issues with Qt-OpenCV
陆宇振 2018-2-8 02:12
1. C2039: 'UnicodeUTF8': is not a member of 'QApplication' Solution: delete the argument ' QApplication ::UnicodeUTF8))' 2. C1083: Cannot open include file: 'QtGui/QAction': No such file or directory Solution: QAction is shifted to QtWidgets (this is ...
2865 次阅读|没有评论

本页有 6 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-20 11:30

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部