首页 > 2015年03月16日 > 全部分享
双边滤波器的实现
普通的高斯滤波会将图像的边缘模糊掉,而双边滤波器具有保边特性。 #define MAX_IMAGE_SIZE 1024 double d[MAX_IMAGE_SIZE][MAX_IMAGE_SIZE];//d[i][j]表示入图像,fi][j]表示出图像。 double f[MAX_IMAGE_SIZE][MAX_IMAGE_SIZE]; void CImageColorProcess::Bi...
分类:其他   时间:2015-03-16 17:54:27    收藏:0  评论:0  赞:0  阅读:341
杭电 HDU 1021 Fibonacci Again
Fibonacci Again Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 41156    Accepted Submission(s): 19705 Problem Description There are an...
分类:其他   时间:2015-03-16 17:54:17    收藏:0  评论:0  赞:0  阅读:347
Illegal overloaded getter method with ambiguous type for propert错误解决
前言:如题,当出现了Exception in thread "main" org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: Illegal overloaded getter method with ambiguous ty...
分类:其他   时间:2015-03-16 17:54:07    收藏:0  评论:0  赞:1  阅读:2289
Windows7下安装scipy
?? SciPy是基于NumPy的,所以需要先安装NumPy,再安装SciPy。 numpy的安装可以直接 scipy下载地址:http://sourceforge.net/projects/scipy/files/scipy/ 下载的是可执行文件,双击运行,但出现如下错误: python version 2.7 is required, which was not found in...
分类:Windows开发   时间:2015-03-16 17:53:57    收藏:0  评论:0  赞:0  阅读:344
[背景分离] 识别移动物体基于高斯混合 MOG
使用非常简单,  frame 就是当前帧,  foreground 是取得的, binary 型背景, 0.03是学习速率可以根据实际调整. cv::BackgroundSubtractorMOG mog; mog(frame, foreground, 0.03);...
分类:移动平台   时间:2015-03-16 17:53:47    收藏:0  评论:0  赞:0  阅读:262
[ExtJS5学习笔记]第三十五节 sencha extjs 5 组件查询方法总结
一个UI前台组件肯定会比较多,我们通常习惯性的使用ID来获取需要操作的组件,但是这种方法是extjs推荐的么?有没有extjs推荐使用的获取组件的方法呢?目录目录 extjs的查询组件的API 查询实例 基本的组件查询 组件树查询 通过组件的属性检索 属性匹配操作符 逻辑运算的 官方案例extjs的查询组件的API组件查询API文档地址:5.1.0-apidocs/#!/api/Ext.Compon...
分类:Web开发   时间:2015-03-16 17:53:37    收藏:0  评论:0  赞:0  阅读:352
国内外优秀呼叫中心系统简介
...
分类:其他   时间:2015-03-16 17:53:27    收藏:0  评论:0  赞:0  阅读:289
ado连接sql server
//ado连接sql server //头文件加上下面这句, msado15.dll要从网上下载 #import "C:\Windows\system\msado15.dll" no_namespace rename("EOF","rsEOF") //cpp里面 CoInitialize(NULL); _ConnectionPtr pConn(__uuidof(Connect...
分类:数据库技术   时间:2015-03-16 17:53:17    收藏:0  评论:0  赞:0  阅读:334
更改git bash默认的路径
在打开git bash时,每次都是在C:\Uer路径下,每次都需要先用cd命令转换到自己需要工作的路径(cd  /f/dss)。修改打开git bash 时的默认的路径就可以不用每次都使用cd命令转换到需要管理的目录。 修改默认路径方法:右击Git Bash图标--->选择Short Cut标题栏--->修改Start in为想要管理的目录。...
分类:其他   时间:2015-03-16 17:53:07    收藏:0  评论:0  赞:0  阅读:617
C# winform中判断文件是否处于打开状态
最近做一个课题,要求winform客户端能保存接收到的实验数据到文件(如.txt文件),并能打开保存好了的实验数据文档,当数据文件已经被打开,要提示文件已被打开,也就是如何判断文件是否处于打开状态,然后给出相应提示。通过查找资料发现C#本身是很难判断一个文件是否被打开的,相关资料给出需用到windowsAPI来实现,这种方法按理说是可以的,但也许是我没有完全领会到相关函数的意义和返回值,致使不能判...
分类:Windows开发   时间:2015-03-16 17:52:57    收藏:0  评论:0  赞:0  阅读:958
less学习笔记
less中的注释: /**/和//;注意:css中是不支持//注释的,所以也不会被编译成css; 变量:  综述:变量允许我们单独定义一系列通用的样式,然后在需要的时候去调用。所以在做全局样式调整的时候我们可能只需要修改几行代码就可以了 用法:@变量名:变量值; 混合:  混合可以将一个定义好的class A轻松的引入到另一个class B中,从而简单实现class B继承...
分类:其他   时间:2015-03-16 17:52:47    收藏:0  评论:0  赞:0  阅读:199
html学习教程6之背景-颜色
在HTML中搭配一个好的背景能够让观众更加易于阅读。 背景(Backgrounds) 拥有两个配置背景的标签。背景可以是颜色或者图像。 背景颜色(Bgcolor) 背景颜色属性将背景设置为某种颜色。属性值可以是十六进制数、RGB 值或颜色名         这三种方式都是把背景颜色设置为黑色 其中第三种设置背景颜色的方法在HTML4.0中只是...
分类:Web开发   时间:2015-03-16 17:52:37    收藏:0  评论:0  赞:0  阅读:297
Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他   时间:2015-03-16 17:52:27    收藏:0  评论:0  赞:0  阅读:259
POJ3675 Telescope(计算几何)
题意:求一个圆心在原点,半径r的圆和多边形的面积的交 思路:利用三角剖分,这题主要就是验证下模板 代码: #include #include #include #include #include const double eps = 1e-8; const double pi = acos(-1.0); int dcmp(double x) { if(x > eps) retur...
分类:其他   时间:2015-03-16 17:52:17    收藏:0  评论:0  赞:0  阅读:545
1354 Mobile Computing(暴力、二进制枚举、简直无情)
翘了3节课来A这道题,最后还超时了,也是蛮拼的。。 没做出来主要一个方面就是不会一个二进制数子集的枚举 这里上一下代码: for(int S0 = S; S0; S0 = (S0 - 1) & S){ }这里S0就是S的子集了~! 题目的思路就是枚举所有情况,注意记忆化【话说这题学到了不少】 #include #include #include #include us...
分类:其他   时间:2015-03-16 17:52:07    收藏:0  评论:0  赞:0  阅读:214
poj1178 floyd+枚举
http://poj.org/problem?id=1178 Description Centuries ago, King Arthur and the Knights of the Round Table used to meet every year on New Year's Day to celebrate their fellowship. In remembrance o...
分类:其他   时间:2015-03-16 17:52:02    收藏:0  评论:0  赞:0  阅读:247
发邮件抛异常。no object DCH for MIME type text/plain; charset=UTF-8
在进行发邮件的时候抛出的这个异常: IOException while sending message; nested exception is: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type text/plain; charset=UTF-8  检查在站点的lib文件夹下和在tom...
分类:其他   时间:2015-03-16 17:52:00    收藏:0  评论:0  赞:0  阅读:283
springmvc + excel的生成
1.xml配置文件 2.controller @RequestMapping("excelAction") public String excelAction(Map map){ // 传给ViewExcel的值 map.put("p1", "hello"); map.put("p2", "world"); return "view...
分类:编程语言   时间:2015-03-16 17:51:37    收藏:0  评论:0  赞:0  阅读:339
Linux下poll函数实现多用户聊天
Client: #define _GNU_SOURCE 1 #include #include #include #include #include #include #include #include #include #include #include #define BUFFER_SIZE 64 int main() { const char *ip="12...
分类:系统服务   时间:2015-03-16 17:51:27    收藏:0  评论:0  赞:0  阅读:542
ESP8266调试笔记
简述ESP8266模块调试...
分类:其他   时间:2015-03-16 17:51:17    收藏:0  评论:0  赞:0  阅读:1321
1615条   上一页 1 ... 28 29 30 31 32 ... 81 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!