10 2012 档案

摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <iostream>#include <cv.h>//------------ 各種外部変数 ----------//double first[12][2] ={ {488.362, 169.911}, {449.488, 174.44}, {408.565, 17... 阅读全文
posted @ 2012-10-16 22:09 gnuhpc 阅读(1797) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <cv.h>#include <highgui.h>#include <iostream>using namespace std;int main( int argc, char **argv){ IplImage *imgA = cvLoadImage( "lena.jpg"... 阅读全文
posted @ 2012-10-16 22:06 gnuhpc 阅读(352) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"int main(int argc, char** argv){ IplImage *src; if( argc == 2 && (src=/blog.armyourlife.info/cvLoadImage(argv[... 阅读全文
posted @ 2012-10-16 21:19 gnuhpc 阅读(2033) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 1.书中举了一个鸭子类的设计,有些会飞或者会叫,有些不会飞可能也不会叫,用继承则导致不该有的功能通过继承而继承了下来,使用接口则代码无法做到最大程度的重用。进而引出设计原则1:找出应用中可能需要变化之处,把它们独立出来,不要和那些不需要变化的代码混在一起,把会变化的部分取出并封装起来,好让其他部分不会... 阅读全文
posted @ 2012-10-16 17:48 gnuhpc 阅读(2009) 评论(0) 推荐(1) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ By Winston Churchill The cultivation of a hobby and new forms of interest is a policy of the first importance to a public man.But this is not a bu... 阅读全文
posted @ 2012-10-15 18:02 gnuhpc 阅读(1811) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ I was always fond of visiting new scenes, and observing strange characters and manners. Even when a mere child I began my travels, and made many tours ... 阅读全文
posted @ 2012-10-15 18:01 gnuhpc 阅读(1375) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <cv.h>#include <highgui.h>#include <iostream>using namespace std;int main( int argc, char **argv){ IplImage *imgA = cvLoadImage( "lena.jpg"... 阅读全文
posted @ 2012-10-13 21:51 gnuhpc 阅读(2207) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 1.RGBA色彩空间基本知识: RGBA stands for R ed G reen B lue A lpha. While it is sometimes described as a color space, it is actually simply a use of the... 阅读全文
posted @ 2012-10-13 21:48 gnuhpc 阅读(25720) 评论(1) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ /*文中出现的注释若为三项注释,则依次为:Offset Size Purpose */#include <iostream>#include <cstdio>#include <cstdlib>#include <cv.h>#include <highgui.h>using name... 阅读全文
posted @ 2012-10-13 21:46 gnuhpc 阅读(835) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #!/usr/bin/expect -fset timeout 30spawn ssh -l root 192.168.191.244expect "password:"send "passw0rd/r"send "cd /var/bin/r"send "./apachectl stop/r"sen... 阅读全文
posted @ 2012-10-13 21:41 gnuhpc 阅读(1064) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <stdio.h>int ImageAdjust(IplImage *src,IplImage *dst, double low,double high, //x di... 阅读全文
posted @ 2012-10-13 21:39 gnuhpc 阅读(12476) 评论(1) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <time.h>#include <math.h>#include <ctype.h>#include <stdio.h>#include <string.h>// various tracking paramet... 阅读全文
posted @ 2012-10-13 21:37 gnuhpc 阅读(2494) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <stdio.h>#include <stdlib.h>IplImage* color_img0;IplImage* mask;IplImage* color_img;IplImage* gray_img0 = ... 阅读全文
posted @ 2012-10-13 21:35 gnuhpc 阅读(4503) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ /*******************************数学形态运算,最常见的基本运算有七种,分别为:腐蚀、膨胀、开运算、闭运算、击中、细化和粗化,它们是全部形态学的基础。********************************/#include "cv.h"#include "hig... 阅读全文
posted @ 2012-10-13 21:25 gnuhpc 阅读(2143) 评论(0) 推荐(1) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ Linux/Unix 区别于微软平台最大的优点就是真正的多用户,多任务。因此在任务管理上也有别具特色的管理思想。 我们知道,在 Windows 上面,要么让一个程序作为服务在后台一直运行,要么停止这个服务。而不能让程序在前台后台之间切换。而 Linux 提供了 fg 和 bg 命令,让你轻松调度正... 阅读全文
posted @ 2012-10-13 21:24 gnuhpc 阅读(437) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"int main(int argc, char** argv){ IplImage *src; if( argc == 2 && (src=/blog.armyourlife.info/cvLoadImage(argv[... 阅读全文
posted @ 2012-10-13 21:19 gnuhpc 阅读(2851) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 1.边缘检测: 边缘检测是图像处理和计算机视觉中的基本问题,边缘检测的目的是标识数字图像中亮度变化明显的点。图像属性中的显著变化通常反映了属性的重要事件和变化。这些包括(i)深度上的不连续、(ii)表面方向不连续、(iii)物质属性变化和(iv)场景照明变化。 边缘检测是图像处理和计算... 阅读全文
posted @ 2012-10-13 21:17 gnuhpc 阅读(9601) 评论(2) 推荐(2) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <stdio.h>#include "cv.h"#include "highgui.h"#define MAX_CORNERS 100int main(void){int cornersCount=MAX_CORNERS;//得到的角点数目CvPoint2D32f corners[M... 阅读全文
posted @ 2012-10-13 21:12 gnuhpc 阅读(8412) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ To speak truly, few adult persons can see nature. Most persons do not see the sun. At least they have a very superficial seeing. The sun illuminates on... 阅读全文
posted @ 2012-10-13 21:05 gnuhpc 阅读(700) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ Where you are dropped, as the saying is, is who you are, at least in a certain limited sense. If you are dropped in Bitlis but are soon taken to New... 阅读全文
posted @ 2012-10-13 20:42 gnuhpc 阅读(434) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ --Henry Wadsworth Longfellow The first snow came. How beautiful it was, falling so silently, all day long, all night long, on the mountains, o... 阅读全文
posted @ 2012-10-11 20:40 gnuhpc 阅读(291) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ The most loved place, for me, in this country has in fact been many places. It has changed throughout the years, as I and my circumstances have changed... 阅读全文
posted @ 2012-10-11 20:35 gnuhpc 阅读(277) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 自信是一种感觉——一种能使人们获得基本满足感的内在激情和外在光芒。它不是某些人与生俱来,而其他人则没有的品质,它是后天形成的。 自信可以通过学习获得,同时又能促使你不断学习,它不是某些人的私有财产。世界上再聪明的人也同其他人一样,以信念和经历为基础来培养自信。虽然不同的人所使用的工具也不尽相同,但核... 阅读全文
posted @ 2012-10-11 20:15 gnuhpc 阅读(504) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cxcore.h"#include <stdio.h>#define FLAG 0#define ERRMODE 0void cvResizeDCT(CvMat *input_array,CvMat * output_array){ CvMat * temp_array... 阅读全文
posted @ 2012-10-09 20:04 gnuhpc 阅读(951) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cxcore.h"#include "highgui.h"#include <stdio.h>CvSeq* point_seq = 0;IplImage* canvas = 0;CvScalar* colors = 0;int pos = 10;int is_equal( co... 阅读全文
posted @ 2012-10-09 20:01 gnuhpc 阅读(2960) 评论(3) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ Perseverance depends on three things-purpose, will, enthusiasm. He who has a purpose is always concentrating his forces. By the will, the hope and pla... 阅读全文
posted @ 2012-10-09 19:59 gnuhpc 阅读(902) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ Are you dissatisfied with today’s success? It is the harvest from yesterday’s sowing. Do you dream of a golden morrow? You will reap what you are sowin... 阅读全文
posted @ 2012-10-09 19:49 gnuhpc 阅读(355) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 本文以CentOS5.3的上海交大更新源为例: 1.修改/etc/yum.repos.d/CentOS-Base.repo为: [base] name=CentOS-5-Base #mirrorlist=http://mirrorlist.centos.org/?release=... 阅读全文
posted @ 2012-10-08 23:01 gnuhpc 阅读(3401) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <cv.h>#include <highgui.h>#include <iostream>#define MAX_CLUSTERS (8)using namespace std;int main( int argc, char **argv){IplImage *imgA = cvL... 阅读全文
posted @ 2012-10-08 22:48 gnuhpc 阅读(3121) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ 1.什么是聚类分析 聚类分析又称群分析,它是研究(样品或指标)分类问题的一种统计分析方法。聚类分析起源于分类学,在古老的分类学中,人们主要依靠经验和专业知识来实现分类,很少利用数学工具进行定量的分类。随着人类科学技术的发展,对分类的要求越来越高,以致有时仅凭经验和专业知识难以确切地进行分类,于是人们... 阅读全文
posted @ 2012-10-08 22:44 gnuhpc 阅读(767) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "highgui.h"#include "cv.h"#include <iostream>#include <iomanip>using namespace std;int main(void){ int a=1; float b=2.; double c[]... 阅读全文
posted @ 2012-10-08 22:33 gnuhpc 阅读(5639) 评论(2) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include <stdio.h>#include "cxcore.h"int main( int argc, char** argv ){ CvFileStorage* fs = cvOpenFileStorage( "points.yaml", 0, CV_STORAGE_READ ); ... 阅读全文
posted @ 2012-10-08 22:31 gnuhpc 阅读(1931) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include "cxcore.h"void cvShiftDFT(CvArr *src_arr,CvArr *dst_arr){ CvMat * tmp; CvMat q1stub,q2stub; CvMat ... 阅读全文
posted @ 2012-10-08 22:28 gnuhpc 阅读(4330) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <ctype.h>#include <stdio.h>int main(int argc , char **argv){ IplImage *laplace = 0; IplImage *coloela... 阅读全文
posted @ 2012-10-08 22:25 gnuhpc 阅读(1580) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ "We are reading the first verse of the first chapter of a book whose pages are infinite..." I do not know who wrote those words,but I have always... 阅读全文
posted @ 2012-10-08 22:18 gnuhpc 阅读(243) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ Born to Win Each human being is born as something new, something that never existed before. Each is born with the capacity to win at life. Each person... 阅读全文
posted @ 2012-10-08 21:36 gnuhpc 阅读(487) 评论(0) 推荐(0) 编辑
摘要:"I tell you I must go!" I retorted([riˈtɔ:t]v./ n.反驳,回嘴), roused([rauz]vt.惊起,唤起,唤醒) to something like passion. "Do you think I can stay to become nothing to you? Do you think I am an automaton?--a mac... 阅读全文
posted @ 2012-10-08 21:07 gnuhpc 阅读(450) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ #include "cv.h"#include "highgui.h"#include <stdio.h>int main(int argc,char ** argv){ IplImage *src; if (argc!=3) { printf("Conv:Image ... 阅读全文
posted @ 2012-10-07 13:28 gnuhpc 阅读(6507) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ We observe today not a victory of party, but a celebration of freedom, symbolizing an end, as well as a beginning; signifying renewal, as well as chang... 阅读全文
posted @ 2012-10-07 13:25 gnuhpc 阅读(413) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ you expect something to turn out badly, it probably will. Pessimism is seldom disappointed. But the same principle also works in reverse. When you expe... 阅读全文
posted @ 2012-10-07 13:08 gnuhpc 阅读(4606) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ TLS,1 p.Mrs. Doughty Quogue, Long Island 16 September 1962, Sunday My dear: Well, here we are — but not here. You at St. Tim's, Sister in P... 阅读全文
posted @ 2012-10-06 16:04 gnuhpc 阅读(230) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/If you want your life to stand for peace and kindness, it' s helpful to do kind, peaceful things. One of my favorite ways to do this is by developing my own helping rituals. These little acts of kindness are opportunities to be of service and reminders 阅读全文
posted @ 2012-10-06 15:54 gnuhpc 阅读(342) 评论(0) 推荐(0) 编辑
摘要:作者:gnuhpc 出处:http://www.cnblogs.com/gnuhpc/ It is also good to love: because love is difficult. For one human being to love another human being: that is perhaps the most difficult task that has ... 阅读全文
posted @ 2012-10-06 14:09 gnuhpc 阅读(514) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示