资源简介
不可多得的指纹提取的好东东!压缩包内含有指纹图片预处理的完整文档,长达数页。同时,附有全套的程序代码,由matlab写成。程序中含有近十种边缘检测算法的实现,非常有用。
代码片段和文件信息
function mm=main(imageFile)
%创建显示窗口
figuretitle(‘运用各种方法检测物体所在区域‘);
subplot(341)imshow(imageFile)title(‘原图‘);
hold on;
%循环显示窗体,直到点击“exit”退出
while(true)
%创建菜单,循环显示,直到点击“退出”按钮
choice=menu(‘点击按钮进行区域检测‘...
‘边缘检测(roberts算子)‘‘边缘检测(sobel算子)‘‘边缘检测(prewitt算子)‘...
‘边缘检测(log算子)‘‘边缘检测(canny算子)‘‘边缘检测(zerocross算子)‘...
‘迭代法(循环阈值)‘‘双峰法(直方图输入阈值)‘‘大津法‘...
‘四叉树‘‘手动输入阈值‘‘exit‘);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行roberts算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(choice==1)
%读入图片
I=imread(imageFile);
%灰度化
try
I=rgb2gray(I);
end
[Ethresh]=edge(I‘roberts‘);%分割区域
str=‘roberts算子:‘;
str=strcat(strnum2str(thresh));
subplot(342)imshow(E)title(str);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行sobel算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(choice==2)
%读入图片
I=imread(imageFile);
%灰度化
try
I=rgb2gray(I);
end
[Ethresh]=edge(I‘sobel‘);%分割区域
str=‘sobel算子:‘;
str=strcat(strnum2str(thresh));
subplot(343)imshow(E)title(str);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行prewitt算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(choice==3)
%读入图片
I=imread(imageFile);
%灰度化
try
I=rgb2gray(I);
end
[Ethresh]=edge(I‘prewitt‘);%分割区域
str=‘prewitt算子:‘;
str=strcat(strnum2str(thresh));
subplot(344)imshow(E)title(str);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行log算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(choice==4)
%读入图片
I=imread(imageFile);
%灰度化
try
I=rgb2gray(I);
end
[Ethresh]=edge(I‘log‘);%分割区域
str=‘log算子:‘;
str=strcat(strnum2str(thresh));
subplot(345)imshow(E)title(str);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行canny算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if(choice==5)
%读入图片
I=imread(imageFile);
%灰度化
try
I=rgb2gray(I);
end
[Ethresh]=edge(I‘canny‘);%分割区域
str=‘canny算子:‘;
str=strcat(strnum2str(thresh));
subplot(346)imshow(E)title(str);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%执行zerocross算子检测物体边缘
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 516750 2012-07-18 22:36 2120090356_苑爱泉_机器视觉第三次作业_指纹\作业报告.pdf
文件 132978 2007-10-18 10:48 2120090356_苑爱泉_机器视觉第三次作业_指纹\作业要求\Homework(3).pdf
文件 693432 2009-11-11 16:35 2120090356_苑爱泉_机器视觉第三次作业_指纹\参考资料\机器视觉(3).pdf
文件 56249 2004-03-17 12:52 2120090356_苑爱泉_机器视觉第三次作业_指纹\程序\fingerprint.jpg
文件 12690 2009-11-24 18:40 2120090356_苑爱泉_机器视觉第三次作业_指纹\程序\fingerprint1.jpg
文件 9225 2009-11-24 20:30 2120090356_苑爱泉_机器视觉第三次作业_指纹\程序\main.asv
文件 9608 2009-11-24 21:05 2120090356_苑爱泉_机器视觉第三次作业_指纹\程序\main.m
文件 107 2009-11-25 14:00 2120090356_苑爱泉_机器视觉第三次作业_指纹\说明文档.txt
目录 0 2012-07-18 22:36 2120090356_苑爱泉_机器视觉第三次作业_指纹\作业要求
目录 0 2012-07-18 22:36 2120090356_苑爱泉_机器视觉第三次作业_指纹\参考资料
目录 0 2012-07-18 22:36 2120090356_苑爱泉_机器视觉第三次作业_指纹\程序
目录 0 2012-07-18 22:36 2120090356_苑爱泉_机器视觉第三次作业_指纹
----------- --------- ---------- ----- ----
1431039 12
- 上一篇:摄影测量编程
- 下一篇:matlab反演程序
相关资源
- matlab实现模拟ps软件部分功能
- 基于MATLAB的指纹识别系统并且带有g
- 车牌识别matlab实现蓝色车牌和新能源
- 基于Matlab 直方图Histogram的人脸识别程
- 基于Matlab的车牌识别系统神经网络
- matlab基于颜色的车牌识别程序
- 基于MATLAB的人脸五官识别184027
- 基于matlab的数字图像处理实验设计完
- 基于神经网络的人脸识别代码
- 基于MATLAB GUI的PCA人脸识别门禁系统
- LFW-a 数据集mat文件
- 利用MATLAB工具对LVQ神经网络进行仿真
- 路标识别系统的
- 路标识别与提取采用聚类方法C-means
- FAST角点检测算法MATLAB程序
- 数字图像锐化的matlab实现
- 基于MATLAB的数字调制系统仿真设计
- 稀疏人脸识别
- MATLAB_SRC_人脸识别程序
- 路标识别系统的设计与实现
- 基于PCA和SVM的人脸识别 matlab程序
- 基于bp神经网络字符识别系统 matlab代
- 数字图像处理系统 MATLAB gui界面设计
- matlab车牌自动识别论文
- 使用Matlab完成简单的树叶识别源代码
- matlab车牌识别程序,附详细原理和思
- 基于Matlab Deep Learning Toolbox的卷积神经
- matlab手动实现BP网络,不调用工具箱(
- MATLAB语音信号处理0-9语音识别,GUI.
- 车牌识别GUI+脚本
评论
共有 条评论