- 博客(38)
- 收藏
- 关注
原创 Toefl作文
综合写作模板模板一: The listening content says the Sauropod neck bone structure is positioned in a vertical arrangement, which is contrary to the reading that says it is horizontally arranged for being able to
2016-02-28 14:50:50
456
原创 ###Toefl笔记
Teofl临考笔记口语部分保护环境举例。When we use plastic bags or bottles for our food and drink, we are in fact murdering a lot of animals and plants in the forests and coastal waters because that was where all the u
2016-02-27 10:41:27
529
原创 OS lab总结
Linux命令基本shell命令mount cp pwd cat grep find lsLinux编译基本命令make config基本概念/proc vfs task_struct内核编译添加系统调用mysyscall:每发生一次缺页都要进入缺页中断服务函数do_page_fault一次,所以可以认为该函数的次数就是发生缺页的次数缺页中断调用机理缺页中断矢量设置(3分) 区分
2016-01-22 22:19:22
1437
原创 视觉总结
引言Gestalt lawsMarr视觉表示框架的三个阶段Primal Sketch2.5D Sketch 3D Model二值图几何特性尺寸和位置,方向,伸长率,密度集,形态比,欧拉数投影计算水平、垂直连通区域递归算法(DFS、BFS)序贯算法:从左到右,从上到下扫描图像如果像素点为1,则 如果上面点和左面点有且仅有一个标记,则复制这个标记如果两点有相同标记,复制这一标记如果两点
2016-01-21 20:55:13
1568
原创 计算理论总结
计算理论总结Context Free Language{ww}不是CFL 泵定理可证 {w has the same number of a and b} 是CFL不是正则 {aibjcidj}不是CFL 泵定理可证 L是CFL,R是正则,L-R是CFL,但R-L不一定是CFL
2016-01-21 15:16:19
626
原创 python和matlab的语法对比
乘积对比python的numpy.array有”*“运算,相当于matlab的”.*“ python的numpy.dot在一维数组的情况下相当于点积,二维以上相当于矩阵乘法;matlab的”*“就是矩阵乘法(要求第一个矩阵第二维和第二个矩阵第一维相同),dot()就是点积(要求形状相同) python的numpy.dot支持二维数组乘一维数组,等效于多次点积参考:http://docs.scip
2015-12-02 01:06:48
1780
原创 1095. Cars on Campus
题意 :有一个学校,每天会有很多车进出;给出N条车辆进出情况和M条询问每条询问输出当前校园有多少辆车,时间从0点24点 最后输出停留最久的车的车牌号和停留时间, 如果有多个,则按字典序输出车牌号注意 必须要使得所有数据保证以下情况,否则为无效数据:1 最开始校园里是没车的2 最后不能有车停留3 同一辆车连续多次进入 只有最后一个是正确的 4 同一辆车连续多次出去 只有最开始一个是正确的题解思路
2015-10-28 17:32:35
425
原创 RGB 2 YUV 亮度与对比度调节
从BMP图中读取RGB值并转化成YUVBYTE *** rgb2yuv(const char *filename){ BYTE ***image; FILE *file; int i, j, k; int biBitCount, offset; int *x; /* RGBQUAD aColors[]; BYTE aBitmapBits[]; */ if
2015-10-19 23:14:00
3100
原创 四则运算 java
四则运算算法:Write a program that reads an expression as input and print out the result. Only integers and operators below are allowed in the expression:+ - * / % ( )Your program should be able to deal with
2015-10-14 07:55:57
628
原创 PAT小结
1099 Build A Binary Search Tree #include <iostream>#include <algorithm>#include <vector>#include <queue>using namespace std;vector<int> num;typedef struct node pn;struct node { int left;
2015-10-10 17:14:19
330
原创 Harris corner OpenCV源码查询之路
简单原理和基本调用在opencv官网: http://docs.opencv.org/doc/tutorials/features2d/trackingmotion/harris_detector/harris_detector.html 在下载的imgproc.cpp中发现cornerHarris_gpu函数的原型但不见其实现,后来想原来是编译时打包了lib和dll,这时又查了一下两者区别;
2015-09-26 23:09:01
714
原创 python操作excel
一个转表工作,主要是python操作excel 坑死了QAQ__author__ = 'Victor Young'import xlrddata1 = xlrd.open_workbook('1302.xls')data2 = xlrd.open_workbook('total.xlsx')table1 = data1.sheet_by_name(u'Sheet1')table2 = dat
2015-09-22 00:02:20
302
原创 Some templates of TOEFL speaking&writing test
Some templates of TOEFL speaking&writing testIndependent spoken language:便宜 It’s cheap and economical. It can help me save a lot of money to buy books or to travel with my friend Jane. Specifically,
2015-09-04 17:07:01
956
原创 Year summary
Year summaryit is a long time since i last write something meaningful or recordative and it is sudden impulse that I am eager to write something, which can be also a practice of the next month’s Toefl
2015-08-28 22:58:03
910
原创 HHD+SSD重装mac os 10.9记录
U盘重装mac os 10.9记录下载链接:http://pan.baidu.com/share/link?shareid=58054259&uk=3308240072#path=%252Fapple 我下载的是10.9.5完整版U盘启动盘制作:http://jingyan.baidu.com/article/f7ff0bfc7438442e26bb13c7.html 重启ctrl进入U盘启动:
2015-08-09 16:58:10
582
原创 计组的那些坑
单精度、双精度浮点数表示:http://blog.chinaunix.net/uid-10386087-id-2959229.html
2015-07-02 15:07:12
1384
原创 安卓开发的bug们
Android4.4图库读取的问题:06-10 01:34:21.186: E/FileTransfer(17432): java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaDocumentsProvider uri content://com.android.prov
2015-06-10 01:47:49
348
原创 cross join & natural join & inner join & left outer join & right outer join & full outer join
Assume 2 tablesA and B has values with the 1stcolumn of each table as the common column , in the following: Table A:23 Table B:1A
2015-05-01 17:26:04
502
原创 Django教程
Django教程:[13]如何使用模板系统:Python 2.7.5 (default, Mar 9 2014, 22:15:05) [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwinType "help", "copyright", "credits" or "license" for more inform
2015-04-25 20:51:48
479
原创 mysqli语法
连接测试:<?php//创建对象并打开连接,最后一个参数是选择的数据库名称$mysqli = new mysqli('localhost','root','YES','db1');//检查连接是否成功if (mysqli_connect_errno()){ //注意mysqli_connect_error()新特性 die('Unable to connect!').
2015-04-13 12:46:53
1368
原创 MIPS汇编知识点
函数调用中的保护:Caller saved$a0-a3 -- if you will set new arguments for the calleeand $a0-a3will still be used after return, old arguments must be saved.$t0-t9 -- if you plan to use your temps af
2015-04-13 10:31:58
459
转载 无符号数和有符号数
无符号数和有符号数比较:无符号int与有符号int比较大小,转化为无符号int来比较int类型与非无符号int的类型比较时,非无符号int的类型转化为int来比较无符号int类型与其他类型如unsigned short,signed short,unsigned char, char 比较时,其他类型一律转化为无符号int类型来比较非无符号int类型和非int类
2015-04-13 10:21:31
425
转载 【98转载】关于来美找cs工作
主要想写给来美读Master, 并希望找到工作的同学。我也只来美帝不到一年,可能许多不全面(主要从找实习的视角出发),但是也是水深火热的直接感受者了。众所周知,CS一直是公认的最热门专业,工作最好找,记得以前看过资料大概,CS的需求量是EE的9倍,然而却也不意味着工作容易找9倍,或者那是往年,现在不管啥专业,都知道找工作哦要往CS跳了。而且基本面试就是算法,刷刷题,就行。网上关于充分准备就
2015-04-12 01:02:19
774
转载 Ransac+仿射变换(Affine Transform)
Ransac介绍:仿射变换(Affine Transformation或 Affine Map):
2015-04-10 09:57:55
1491
转载 SQL单表查询、多表查询、嵌套查询
create table Emp(eid int primary key, ename char(9), salary real);create table Dept(did int primary key, dname char(9), managerid int, foloornum int);create table Works(eid int, did i
2015-03-26 15:43:19
4237
原创 sift笔记
下面写一下遇到的注意点或已解决或待解决1.在 SIFT算法中 ,当关 键 点 的尺度较小时 ,生成 特 征 向量 的有 效邻 域 范 围就 比较 小 ,如 果 图像中存在多个相 似 区域 ,SIFT算 法得 到 的特 征 向量 就有 很大 的相 似性 ,从 而 造 成 误 匹 配2.
2015-03-08 16:54:41
368
原创 2015MCM/ICM总结
打完美赛,终于是累的身体虚得不行,这种感觉一结束就出来了。总体来说过程还是比较赞,主要是写了几行matlab代码,对matlab的工作模式有了一点点的了解。另外翻译技能上最大的长进可以说是斟酌字句的能力了,不过有没有实质的记住多少我并不知道。然后是搜索技能,谷歌高级搜索和学术搜索当然是主流,找来找去还是这两个用起来顺手。阅读文献上,学会了细读和精读,读好论文不容易,一两天一篇论文从此开始应该是常事
2015-02-12 17:36:14
1332
原创 数学建模总结(二)
Strength:1.Outstanding papers included different aspects of the basic issues in their approaches and they all addressed the problem in a comprehensive way.2.Read the problem statement carefully, l
2015-02-04 14:52:07
433
原创 Lotka–Volterra equation & Competitive Lotka–Volterra equations
Lotka–Volterra equationThe Lotka–Volterra equations, also known as the predator–prey equations, are a pair of first-order, non-linear, differential equations frequently used to describe the dy
2015-02-03 11:45:18
1478
原创 数学建模总结(一)
初等模型:1.砖块叠加问题:能延伸到多大距离(无穷远)2.方桌四脚着地问题:长方形桌?地面为球面?静态优化模型1.存贮模型:生产费&贮存费→不允许缺货、允许缺货2.出售时机问题:随时间质量增大,单价减少→灵敏度分析、稳定性分析3.森林救火问题:森林损失&救援费用→火势蔓延速度β,每位队员平均灭火速度λ,单位面积损失费c1,每位队员单位时间灭火费c2,每位队员一次性灭火费c3
2015-02-02 16:33:19
901
原创 省创记录(一)
1. 这个问题用简单的模板匹配就可以解决,我们先期可以先从准备搜集数据入手2. 识别部分的话建议是用SIFT特征点,几何关系的匹配,可以结合两篇论文看一下3. 我们也可以尝试一些其他的算法,不过要求的数据集会比较大,效果也很难说(SIFT的方法已经比较成熟可以达到90以上的准确率)4. MATLAB 对图象的处理,比如滤波、旋转等等是我们需要掌握的5. 关于群智。群智(对这个词的中
2015-02-02 00:02:26
435
原创 C++知识点
引用必须被初始化,指针不必(某种程度上相当于*const ),类内引用或者const 变量必须在初始化列表初始化(不能在构造函数初始化)static局部变量(包括类)只被初始化一次,同名static对象只执行一次构造函数程序的局部变量存在于(堆栈)中,全局变量存在于(静态区 )中,动态申请数据存在于( 堆)中派生类对象赋给基类指针、引用才产生多态,在调用基类构造函数时没有多态,此时调用的都是基类的
2015-01-20 01:12:19
519
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人