摘要: I find that I'm inclined to get impatient when I meet difficult problems. Take coding as an example, yesterday when I was trying to turn my messy c code into well organized c++ code, I got stuck in designing a histogram. After kept working on it for just several minutes, I gave up and started to 阅读全文
posted @ 2013-11-23 00:29 Liqun Liu 阅读(189) 评论(0) 推荐(0) 编辑
摘要: The reason why I'm always feeling depressed is that I'm not interested in anything. What keeps in my mind is that I don't like what I'm doing and I wouldn't work hard on it. The key of being happy is that like what you're doing right now and set goals. One should have at leas 阅读全文
posted @ 2013-11-22 00:25 Liqun Liu 阅读(343) 评论(0) 推荐(0) 编辑
摘要: Always think on good side, keep smiling everyday, and put yourself in life. Keep being better than before. 阅读全文
posted @ 2013-11-20 13:04 Liqun Liu 阅读(136) 评论(0) 推荐(0) 编辑
摘要: I forgot to write the journal yesterday so now I'm making it up.Last moring I were scanning the internet again. Feel so ashamedabout myself. Then I started my work around 2PM and the progress was slow. I hadn't finish the standard graph cut. It seems that this part would take a long time cau 阅读全文
posted @ 2013-11-20 00:16 Liqun Liu 阅读(150) 评论(0) 推荐(0) 编辑
摘要: Although I just finished a small part of the code, I still feel better than before. At least, I stop wasting lots of time on scanning the internet. I hope I can continue doing good. Perseverance is important. My goal is keep doing like this for 1 week. After accomplish that, I'll consider extend 阅读全文
posted @ 2013-11-18 11:38 Liqun Liu 阅读(169) 评论(0) 推荐(0) 编辑
摘要: Still got 3 hours left to make up the loss of time. Make fully use of it on the project code. 阅读全文
posted @ 2013-11-17 10:17 Liqun Liu 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 浑浑噩噩地过了这些天后,突然发现,自己如同一个浮萍,飘来荡去,没有方向。做什么事情都很消极,从来没有说过主动地要去干什么,做什么事都是被动的。虽然经常说,干完这个我一定要积极地,认真地做另外一件事,可是每次都办不到。虽然要毕业了,要赶时间写论文,做实验,可是我却经常有厌烦的情绪,经常不干正事,反而花一天时间浏览网页,看明星的无聊新闻。每当看到一个明星多么励志,多么坚强,多么有目标的时候,我也会暗暗下决心要向他们学习。可是到最后还是提不起精神。时间就这样的被浪费掉。想想,好讨厌现在的自己。没有目标,都这么大了,还是茫然。果然,人一旦沉浸在那种颓靡的状态中不肯努力走出来的话,过多少年,换什么环境都 阅读全文
posted @ 2013-11-17 10:07 Liqun Liu 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 此文转载自http://www.geek-workshop.com/thread-1604-1-1.html网上大多数都把 一堆代码写在外部 void on_mouse (...) 里面。 但实际用到时写在里面会有很多局限性。我们只需要鼠标带来的点的坐标信息就可以。所以可以用1个或多个CvPoint 把里面的鼠标点击信息提取出来就达到了这个函数的目的了。#include "stdafx.h"#include "cv.h"#include "highgui.h" //第一个点 point_c 是矩形起始左上角的定点//第二个点 poin 阅读全文
posted @ 2013-03-15 23:55 Liqun Liu 阅读(381) 评论(0) 推荐(0) 编辑
摘要: 今天把opencv里的grabcut程序拿来想跑一下,编译没有问题,没想到release版本运行时遇到 MSCVP80.dll is missing的问题。网上找了一通,说是manifest的问题。然后就去release版本的工程属性->linker->manifest file->Generate manifest 中是Yes。所以说工程配置是有manifest file的。跑去vs8的安装目录,找到vc->redist->x86->Microsoft.VC80.CRT,里边有MSCVP80.dll和manifest文件。打开manifest文件,是如下内 阅读全文
posted @ 2013-03-11 06:33 Liqun Liu 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 在matlab的编程中,用到了结构体数组保存结果。数组中每个结构体保存了一组测试参数的值及其对应的误差及标准差。程序运行完后想要根据这些结果画分析图,但是plot函数需要输入向量,所以需要将结构体中的误差及标准差提出来。有一个非常简单的方法: a=[data.err]; 其中,data是结构体数组,err是保存误差的域。 这样就将data数组中的所有err放到了向量a中,不需要用到循环。 阅读全文
posted @ 2013-03-11 03:34 Liqun Liu 阅读(928) 评论(0) 推荐(0) 编辑