资源简介
我的字符识别毕业设计,属于模式识别,是完整毕业设计

代码片段和文件信息
%%%%%%%%%%%%%%%%%%%基于模板匹配的字符识别
templatePath=‘G:\licenseTemple\‘;
fileFormat=‘.bmp‘;
templateImage=zeros(402036);
Timage=zeros(36800);
for i=1:36 %读取模板
stri=num2str(i-1);
imagePath=[templatePathstrifileFormat];
tempImage=imread(imagePath);
templateImage(::i)=tempImage;
clear imagePath stri tempImage;
end
characterImage=zeros(40206);
Uimage=zeros(6800);
characterPath=‘G:\matlab--wavlet\‘;
charFileFormat=‘.jpg‘;
for i=1:6%读取待识别字符
stri=num2str(i);
imagePath=[characterPathstricharFileFormat];
tempImage=imread(imagePath);
characterImage(::i)=tempImage;
clear imagePath stri tempImage;
end
%V=zeros(136);
%5X=zeros(136);
%5W=zeros(136);
%U=zeros(16);
%T=zeros(136);
Y=zeros(136);
for i=1:6
U=length(find( characterImage(::i))~=0);
for j=1:36
T=length(find( templateImage(::j))~=0);
tempV=characterImage(::i)& templateImage(::j);
V=length(find(tempV)~=0);
tempW=xor(tempVtemplateImage(::j));
W=length(find(tempW)~=0);
tempX=xor(tempVcharacterImage(::i));
X=length(find(tempX)~=0);
TUV=(T+U+V)/3;
tempSum=sqrt(((T-TUV)*(T-TUV)+(U-TUV)*(U-TUV)+(V-TUV)*(V-TUV))/2);
Y(j)=V/(W/T*X/U*tempSum);
end
[MAXindexMax]=max(Y);
stri=num2str(indexMax-1);
imagePath=[templatePathstrifileFormat];
image=imread(imagePath);
figure(i);
imshow(image);
clear imagePath indexMax;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1578 2014-06-24 15:20 字符识别文章毕业设计\characterTemplateRecognition.m
文件 1878 2014-05-08 09:15 字符识别文章毕业设计\templateCharacter\0.bmp
文件 1878 2014-05-08 14:37 字符识别文章毕业设计\templateCharacter\1.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\10.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\11.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\12.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\13.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\14.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\15.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\16.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\17.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\18.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\19.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\2.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\20.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\21.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\22.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\23.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\24.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\25.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\26.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\27.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\28.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\29.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\3.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\30.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\31.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\32.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\33.bmp
文件 1878 2014-05-08 09:20 字符识别文章毕业设计\templateCharacter\34.bmp
............此处省略51个文件信息
- 上一篇:最优化计算方法常用程序汇编
- 下一篇:Gallery层叠自动循环切换效果
相关资源
- 基于web的毕业设计开题报告
- 20篇关于计算机的毕业设计外文翻译
- 电子商务毕业设计论文
- 毕业设计 单片机 对讲机 protues仿真
- 计算机软件工程研究生专业毕业设计
- 毕业设计:网络围棋对弈
- 毕业设计选课系统毕业设计选课系统
- 酒店管理系统 酒店管理系统毕业设计
- 汽车租赁网站(毕业设计源代码)
- 通用进销存管理系统系统毕业设计论
- 毕业设计源代码(人才招聘网站)
- 酒店管理系统毕业设计(毕业论文)
- 毕业设计小项目广告发布系统
- 毕业设计智能小车
- 高校教材管理系统分析与设计计算机
- 中科院自动化所历年模式识别博士题
- 电子科技大学模式识别作业以及答案
- 国科大 刘成林老师 模式识别期末考试
- 中科院模式识别考博真题00-16年
- 仓库管理系统毕业设计带论文
- 人民币面值识别系统 (毕业设计可用
- 毕业设计 - 单片机控制LED显示及音乐
- 《模式识别》试题以及答案
- 中央空调毕业设计
- 基于单片机的GPS定位及显示系统设计
- 毕业论文--基于政府OA系统的测试
- 国科大数字图像处理习题课重点
- 基于S3C2410的触摸屏五子棋游戏毕业设
- 国科大模式识别历年期末试题
- 中科院自动化所-模式识别考博真题
评论
共有 条评论