- 博客(42)
- 资源 (5)
- 收藏
- 关注
原创 流水灯与中断
#include#include#define uint unsigned int#define uchar unsigned charuchar temp;uchar aa; // 进入中断的次数uchar num;sbit dula = P2^6; // 控制数码管段选锁存器sbit wela = P2^7; // 控制数码管位选锁存器 uchar code t
2013-05-23 22:02:10
1617
转载 friends105. The One with the East German Laundry Detergent
[Scene: Central Perk, all six are there.] -Monica: Would you let it go? It's not a big deal.let it go: 放手吧 a big deal: 至关重要的大事你别争了好吗?没什么大不了的。-Ross: Not a big deal? It's amazing. Ok
2013-03-18 10:45:53
4229
转载 friends101. The One Where Monica Gets a New Roommate (The Pilot)
the pilot: 美国电视剧新剧开播都会有一个试播来测试观众对新剧的接受程度,以此来决定是否再继续播下去,也可以说是一个开端,第一集,试播 [Scene: Central Park, Chandler, Joey, Phoebe, and Monica are there.]Central Park: 中央公园,坐落于纽约曼哈顿市中心 -Monica:
2013-03-17 20:56:47
5149
转载 老友记常用口语2
剧中对白:(第三季第十二集)Phoebe:Should we do something?菲比:我们是不是该做些什么?Chandler:Yeah,never cheat on Rachel.钱德勒:是的,永远不要对瑞秋不忠。剧中对白:(第四季第一集)Rachel:Ooh,I was so nervous about that letter.But the way you ow
2013-03-17 20:25:23
4687
转载 老友记中的常用口语
跟《老友记》学英语 1.Crap; Dude; Whack《老友记》是一部情景喜剧,剧中对白轻松诙谐。由于是生活剧,剧中人物的对话非常口语化,许多是美国年轻人的日常用语,“Crap"、“Dude”和“Whack”就是这样的用语。剧中对白:(第七季第一集)Chandler:Seriously? Seriously,no! You call play your own age wh
2013-03-17 20:14:28
6136
转载 104
[Scene: Central Perk, everyone is there except Joey.] -Monica: Alright. Phoebe?好了,Phoebe?-Phoebe: Okay, okay. If I were omnipotent for a day,omnipotent adj.全能的,有无限权利的好了,好了。如果我有一天变得无所不能,I
2013-03-17 14:04:44
2994
原创 104 The One With George Stephanopoulos
104The One With George Stephanopoulos[Scene: Central Perk, everyoneis there except Joey.] Monica: Alright. Phoebe? Phoebe: Okay, okay. If I were omnipotent for a day, I would want, um, world pea
2013-03-17 10:08:31
14278
原创 friends 103 The One With the Thumb
- Hi, guys.- Hey, Phoebe.- 各位- 菲比- How did it go?- Not so good.- 你的约会怎么样?- 不是很好,He walked me home and said,"Let's do this again."他送我到地铁然后跟我说我们应该再来一次He said, "Let's do this again."Th
2013-03-17 09:57:38
1883
原创 英语口语(二)彬彬有礼
hand :让他们为他鼓掌把。let's give him a big hand 约翰向马丽求婚,但是玛丽拒绝了Jahn asked for mary's hand, but Mary refused.I'm an old hand.我是老手了I'm a new hand.take:Take it away. 把这个拿走I took the train.
2013-03-01 12:52:14
756
原创 英语
介绍别人的经典语句Let me intrdouce Linda to you!Have you met Linda?Allow me intrdouce...(正式)I would like to meet...认识别人的一种问法Are you going to Toronto, too?Are you here for English Class,too?
2013-02-28 21:42:34
535
原创 public公有继承 protected保护继承 private私有继承
public公有继承 protected保护继承 private私有继承 我们知道类的private和protected成员,在类外是不可以使用的.只有public成员可以在类外直接使用. 公有继承时,基类的private成员派生类也不可用,基类的public和protected成员在派生类中可直接使用.继承过来(变成派生类相应的public和protected成员)只有public成员在
2013-02-26 09:58:33
1059
原创 QT :LNK2019: 无法解析的外部符号 public: class QImage & __thiscall QImage::operator=(class QImage &&)"
iconeditor.obj:-1: 错误:LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class QImage & __thiscall QImage::operator=(class QImage &&)" (__imp_??4QImage@@QAEAAV0@$$QAV0@@Z),该符号在函数 "public: __thiscall Ic
2013-02-26 09:29:21
3069
2
原创 QT opencv 读取显示图像
#include "openimg_qt_cv.h"#include int main(int argc, char *argv[]){ QApplication a(argc, argv); OpenImg_QT_CV w; w.show(); return a.exec();}#ifndef OPENIMG_QT_CV_H#define OPENIMG_QT_CV_H
2013-01-21 10:30:57
5238
原创 OpenCV QT creator
#ifndef MYWIDGET_H#define MYWIDGET_H#include #include #include #include using namespace std;using namespace cv;class myWidget : public QWidget{ Q_OBJECT public:
2013-01-18 11:32:58
884
原创 openCV 对话框 显示图像
// CVDlgReadDlg.h : 头文件//#pragma once#include #include #include #include using namespace std;using namespace cv;// CCVDlgReadDlg 对话框class CCVDlgReadDlg : public CDialog
2013-01-15 15:07:40
6267
原创 判断文件是否存在及创建文件夹
CString strFilePath = "C:\\Documents and Settings\\Administrator\\桌面\\Image Mosaic Result"; /*判断文件夹是否存在*/ if (!PathFileExists(strFilePath)) { /*创建文件夹*/ if (!CreateDirectory(strFilePath,
2013-01-15 10:28:47
2430
原创 opencv 单文档 打开图像
// CVOpenImgDoc.h : CCVOpenImgDoc 类的接口//#pragma onceclass CCVOpenImgDoc : public CDocument{protected: // 仅从序列化创建 CCVOpenImgDoc(); DECLARE_DYNCREATE(CCVOpenImgDoc) BOOL Load(Ipl
2013-01-14 17:27:57
1928
转载 CString和string 、CString和int、char*和CString的转化
利用MFC进行编程时,我们从对话框中利用GetWindowText得到的字符串是CString类型,CString是属于MFC的类。而一些标准C/C++库函数是不能直接对CString类型进行操作的,所以我们经常遇到将CString类型转化char*等等其他数据类型的情况。这里总结备忘于此!首先要明确,标准C中是不存在string类型的,string是标准C++扩充字符串操作的一个类。但是我们
2013-01-10 16:32:28
883
转载 SURF特征点提取
/** * @file SURF_descriptor * @brief SURF detector + descritpor + Brute Force Matcher + drawing matches with OpenCV functions * @author A. Huaman */#include #include #include #incl
2013-01-08 09:56:45
4478
转载 图像拼接 opencv
#include #include #include "opencv2/highgui/highgui.hpp"#include "opencv2/stitching/stitcher.hpp"using namespace std;using namespace cv;bool try_use_gpu = false;vector imgs;string
2013-01-07 17:25:53
4014
原创 图像拼接
#include #include #include "opencv2/highgui/highgui.hpp"#include "opencv2/stitching/stitcher.hpp"using namespace std;using namespace cv;bool try_use_gpu = false;vector imgs;string
2013-01-07 16:57:31
2042
原创 直方图
#include #include #include "opencv2/highgui/highgui.hpp"#include "opencv2/imgproc/imgproc.hpp"using namespace std;using namespace cv;int main(int argc, char** argv){ Mat src, dst;
2013-01-07 15:29:47
574
原创 直方图均衡化
#include #include #include "opencv2/highgui/highgui.hpp"#include "opencv2/imgproc/imgproc.hpp"using namespace std;using namespace cv;int main(int argc, char** argv){ Mat src, src
2013-01-07 11:35:31
680
原创 仿射变换 图像旋转
#include #include #include #include #include using namespace std;using namespace cv;int main(int argc, char** argv){ // 图像矩阵 Mat src, dstWarp, dstWarpRtaiton; // 读取图像 s
2013-01-07 10:59:13
885
原创 filter2D 图像滤波
#include #include #include #include #include using namespace std;using namespace cv;int main(int argc, char** argv){ Mat srcImg, dstImg; // 读取图像 char* filename = "lena.jpg"
2013-01-06 17:15:21
1633
原创 openCV threshold 阈值
#include #include #include #include #include using namespace std;using namespace cv; Mat src, srcGray, dst;char * windowName = "Threshold Demo"; // 窗口标题char * trackbarType
2013-01-06 16:07:32
3106
原创 图像金字塔 pyrUp pyrDown
#include #include #include #include #include using namespace std;using namespace cv;Mat SrcImg, tempImg,DstImg;/******************************************************************
2013-01-06 14:08:24
3485
原创 openCV VS2008 配置
一、配置include路径:D:\opencv\includeD:\opencv\build\includeD:\opencv\build\include\opencvD:\opencv\build\include\opencv2二、配置lib路径:D:\opencv\build\x86\vc9三、设置环境变量:D:\opencv\build\x86\vc9
2013-01-05 17:04:07
686
原创 qt-扩展对话框
#ifndef SORTDIALOG_H#define SORTDIALOG_H#include #include "ui_sortdialog.h"class sortdialog : public QDialog, public Ui::SortDialog{ Q_OBJECTpublic: sortdialog(QWidget *parent =
2012-11-27 20:16:42
1265
原创 快速设计对话框-qt designer-vs2008
#ifndef GOTODIALOG_H#define GOTODIALOG_H#include #include "ui_gotodialog.h"class gotodialog : public QDialog, public Ui::GoToCellDialog{ Q_OBJECTpublic: gotodialog(QWidget *paren
2012-11-27 16:19:08
1661
转载 使用QT+VS2008开发windows应用程序 .
QT是跨平台的应用程序开发工具,闻名遐迩,下面使用VS2008结合QT开发一个应用程序。(1)打开VS2008,新建QT工程 (2)点击下一步,这里是选择需要使用的QT库“class name”:指定类的名称,这里写“qt_app”;“Base class”:指定自定义类的父类,这里选择“QMainWindow”其它四个项是保存文件的名称,这里保持默认。(4)点
2012-11-27 14:09:18
1641
原创 qt-dialog
finddialog.h#ifndef FINDDIALOG_H#define FINDDIALOG_H #include // 用于对话框中的类的前置声明,// 这样会使编译更快一些class QCheckBox;class QLabel;class QLineEdit;class QPushButton;class FindDialog: p
2012-11-27 12:08:14
866
原创 qt-spinBos-splider
#include "myapp.h"#include #include #include #include int main(int argc, char *argv[]){ QApplication a(argc, argv); // 将QWidget对象作为主窗口 QWidget *window = new QWidget; window->se
2012-11-27 09:29:41
868
转载 QT4.8-VS2008-安装
(一)工欲善其事,必先利其器,废话不多讲。 总结起来网上流行的VS2008+QT安装说明有以下几个问题需要解释清楚: 1,首先明确需要下载什么版本的QT。网上流行的安装说明只是针对过去旧版本的QT,还有要求下载VS2008 SP1补丁的等等。很乱,对于刚接触Qt开发者会造成不必要的困扰,安装个开发环境真的需要那么繁琐和劳神吗。 2,对于环境变量的配置,诸如pa
2012-11-27 08:16:54
1547
翻译 Homogeneous_Gaussian_Median_Bilateral_blure
#include #include #include #include using namespace std;using namespace cv;int DELAY_CAPTION = 1500;int DELAY_BLUR = 100;int MAX_KERNEL_LENGTH = 31;Mat src;Mat dst;cha
2012-11-18 21:04:44
684
翻译 dft
#include #include #include #include #include using namespace std;using namespace cv;int main(int argc, char* argv[]) { const char* filename = "tiger.jpg"; Mat I = imread(file
2012-11-18 16:24:51
814
翻译 basic drawing
#include #include #include #include #include #define w 400using namespace std;using namespace cv;/****************************************************** * @function MyLine *
2012-11-18 09:06:17
654
翻译 Brightness and contrast adjusment
#include #include #include #include #include using namespace std;using namespace cv; double alpha; // contrast control int beta; // brightness controlint main(int argc,
2012-11-18 08:18:35
681
翻译 adding two images
#include #include #include #include #include using namespace std;using namespace cv;/************************************************************************* blending two image
2012-11-17 23:15:20
558
Exceptional C++中文版
2011-08-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人