- 博客(13)
- 资源 (10)
- 收藏
- 关注
转载 基于BP神经网络ANN的鼠标手势识别C#.NET实验程序
<br />C#.net 程序基于Mat Buckland在《游戏编程中的人工智能》一书中例子的实现。核心源代码在文章最后。。。 <br />●问题陈述<br /> 本程序基于BP神经网络完成了对用户使用鼠标输入的特定手势的识别,并且可以学习用户创建的新手势。程序中已经存储的手势是Palm系列掌上电脑中手写识别专用的Graffiti字体的数字0~9,这种字体的特点是每个字由一个连续笔划构成,适合用一个连贯的鼠标手势表示:<br /> <br />图1 Graffiti字体的数字<br />●程序概述<br
2011-02-24 17:46:00 1153
转载 直面经典:重温KMP(不着一图,尽得精髓)
<br /> KMP 算法,每一个初学者都曾被它搞迷糊,在数据结构教材上,这个算法出现的如此之早,你怎能指望一个还没搞懂二叉树遍历的人来理解KMP呢,记得越快,忘得越快。直到多年以后回过头来看看,这才发现KMP算法如神谕般震撼了我。实在无法想象当初Knuth、Pratt、Morris三人竟然同时发现了它。 <br /><br />我们假设一个场景,你手上拿着一串红蓝两种颜色的珠子,墙上挂着一串更长的珠子,同样是红蓝两色的,你的任务就是找出和你手中珠子排列顺序相同的一段。 <br /><br />最
2011-02-24 17:39:00 454
转载 从HTML文件中抽取正文的简单方案 试验结果
<br />懒人就直接看结果吧:<br />笔者的实验则到此为止,并放弃了神经网络这个解决方案——直接采用这些特征值进行阈值判断,并对一些特殊部分设定过滤规则,这似乎比神经网络的表现来的简单、有效…… 假如仍然坚持神经网络的解决方案,或许,采用: <br />文本长度,文本长度链接数,上一行的结果 做特征值, 采用三个弱分类器的ada-boost组合分类或许会是一个好的选择。 <br />除此之外,实际上对正文的定义对结果也是有很大的影响。实际上,假如能根据数据化的东西定义某一个类别,那么对于该类别的划分,
2011-02-24 17:36:00 449
转载 使用SharpPcap发送虚假构造的伪IP的UDP数据包
<br />发送虚假构造的伪IP的UDP数据包。<br />构造数据包经常出错!!!原因是很多属性没设置好。。我调试了很多次才发送成功!!!<br />private void SendPacket()<br /> {<br /> string strGateWayIp = "192.168.100.1";<br /> string strSouMac = new Class1().GetMACFromIP("192.168.100.106");//
2011-02-24 17:23:00 2074
转载 在c#多线程使用IOCP(完成端口)的简单示例
在c#使用IOCP(完成端口)的简单示例上次给大家发了利用winsock原生的api来做一个同步的socket服务器的例子,大致上只是贴了一些代码,相信大家这么冰雪聪明,已经研究的差不多了。因为winsock的api使用在msdn或者google上都能很方便的查到,所以我没太多罗嗦代码的原理。但是c#进行平台调用方面是有一些经验的,单靠google和msdn及社区的力量有时候不容易得到答案。这
2011-02-24 17:22:00 1554
转载 Discuz论坛验证码破解
<br />原文地址:<br />http://www.seoo.org/2008/06/09/discuznet的gif动画验证码破解成功.html<br />http://www.seoo.org/2008/07/06/复杂背景的验证码破解.html<br /><br />Gif动画验证码破解<br /><br />1、分析Gif动画,得到总帧数,和每帧的相关信息<br /> <br />2、取出延迟时间最长的那一帧<br /> <br />3、用第一行的每个像素颜色来去除背景(要限制去除范围,不然可能
2011-02-24 17:10:00 1382
原创 C#实现http协议支持上传下载文件的GET、POST请求
<br />C#实现http协议支持上传下载文件的GET、POST请求<br />using System;<br />using System.Collections.Generic;<br />using System.Text;<br />using System.Net;<br />using System.Net.Sockets;<br />using System.Collections;<br />using System.IO;<br />using System.Text.RegularE
2011-02-24 16:55:00 1346
原创 C# API 大全- Win32调用
C# APIC:/ProgramFiles/MicrosoftVisual Studio .NET/ FrameworkSDK/Samples/ Technologies/ Interop/PlatformInvoke/ WinAPIs/CS目录下有大量的调用API的例子。一、调用格式using System.Runtime.InteropServices; //引用此名称空间,简化后面的代码//使用DllImportAttribute特性来引入api函数,注意声明的是空方法,即方法体为空。[DllImpo
2011-02-24 16:53:00 885
转载 将自定义.NET控件实现COM对象接口嵌入IE浏览器
<br />将自定义.NET控件嵌入IE浏览器 <br />利用Visual Studio .NET开发自定义的WinForm控件,恐怕大家都已经很熟悉了。正常情况下,这种控件只能用在基于.NET的Windows Application程序开发上,而无法直接嵌入到IE,这不免让人感觉遗憾。 <br />毕竟.NET控件已经不同于在Win32下用Delphi或C++Builder开发的自定义控件。基于.NET开发的任何受控装配件(Assembly)都是IL代码,可以在运行期被.NET FrameWork进行
2011-02-24 16:50:00 487
转载 用于验证码图片识别的类(C#源码)
最近写了几个网站的验证码图片自动识别程序,尽管每个网站的验证码图片都不相同,识别的方法有所差别。但写得多了,也总结出不少相同之处。今天抽空封装出一个基础类来,发现可以很好地重复利用,编写不同的验证码识别程序,效率提高了不少。好东东不能独享,现放出来供大家共同研究,请网友们妥善用之
2011-02-24 16:29:00 1161
转载 去噪:用于验证码图片识别的类续(C#代码)
<br />自从发表了用于验证码图片识别的类(C#代码)后,不断有网友下载这个类后,问如何用于一些特定的验证码。总结一下网友们的提问,很多都是不会从复杂背景中提到干净的字符图片来,这主要就是一个去噪问题,即除去图片上的背景、干扰点、干扰线等信息。这当中要用到很多图像学数学算法,首
2011-02-24 16:20:00 717
转载 数据结构在.net加密解密反流程混淆中的应用[看雪学院2006金秋读书季]
标 题: 数据结构在.net反流程混淆中的应用[看雪学院2006金秋读书季]作 者: tankaiha时 间: 2006-11-07 12:52 链 接: http://bbs.pediy.com/showthread.php?threadid=34505详细信息: 数据结构是计算机专业的必修课,但抽象的概念有时让人觉得它难以运用,也有人认为它太基础而不去重视。下面就来看看数据结构在解决实际问题中的作用。附件下载。问题描述: .net平台下的一种软件保护方式叫流程混淆,类似win32下的花指令,主要功
2011-02-24 16:17:00 891
原创 C#设计模式-外观模式(Facade Patten)
<br />一、概述<br />Facade(外观)模式为子系统中的各类(或结构与方法)提供一个简明一致的界面,隐藏子系统的复杂性,使子系统更加容易使用。<br />实际应用中,我们在对付一些老旧的code(尤其是将C的代码转成C++代码)或者即便不是老旧code,但涉及多个子系统时,除了重写全部代码(对于老旧code而言),我们还可能采用这样一种策略:<br />重新进行类的设计,将原来分散在源码中的类/结构及方法重新组合,形成新的、统一的接口,供上层应用使用。<br />这在某种意义上与Adapter及
2011-02-24 13:56:00 534
Programming C#中文版(第4版).part3
2011-07-27
DevComponents.DotNetBar v8.8.0.0.for.NET.part2.rar
2010-09-19
DevComponents.DotNetBar v8.8.0.0.for.NET.part1.rar
2010-09-19
(C#)ListViewEx--扩展 ListView
2009-11-28
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人