资源简介
对一幅含有大量细胞的图片进行边缘检测,标注其中的细胞,并且统计细胞的数目

代码片段和文件信息
%clear all;
%close all;
%warning off all;
%I=imread(‘cell.bmp‘);
I=uint8(im111);
%figureimshow(I)xlabel(‘原始图像‘);
I=rgb2gray(I);
f1=medfilt2(I[5 5]);%中值滤波
f1=medfilt2(f1[7 7]);
f1=imadjust(f1[0.40.9][0 1]);%增强对比度
BW_canny=edge(f1‘canny‘[0.020.06]0.7);
%figureimshow(BW_canny)xlabel(‘原始图像‘);
se=strel(‘disk‘3);
BW_canny=imdilate(BW_cannyse);%膨胀
BW_canny=imdilate(BW_cannyse);%膨胀
BW_canny=imdilate(BW_cannyse);%膨胀
BW_canny=imdilate(BW_cannyse);%膨胀
BW_canny=imerode(BW_cannyse);%腐蚀
BW_canny=imerode(BW_cannyse);%腐蚀
domain=[1 1 1;0 1 0;1 1 0];
Y=ordfilt2(BW_canny6domain);%统计滤波器
domain=[1 0 1;1 1 0;1 1 1];
Y=ordfilt2(Y5domain);
Y1=edge(Y‘canny‘);
%figureimshow(Y1)xlabel(‘canny 检测‘);
Y1=imdilate(Y1se);%膨胀
%figureimshow(Y1)xlabel(‘canny 检测‘);
set(h3‘CData‘Y1);
imwrite(Y1‘temp.jpg‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3932214 2011-06-20 13:41 Edge detection\17.bmp
文件 893 2011-07-06 23:47 Edge detection\Canny.m
文件 3932214 2011-06-20 13:41 Edge detection\cell.bmp
文件 3932214 2011-06-20 13:41 Edge detection\cell1.bmp
文件 169 2011-07-03 21:36 Edge detection\cellnum.asv
文件 241 2011-07-04 18:44 Edge detection\cellnum.m
文件 202 2011-07-06 21:05 Edge detection\circle.asv
文件 203 2011-07-06 21:06 Edge detection\circle.m
文件 6163 2009-06-05 21:43 Edge detection\emily.fig
文件 3095 2009-06-05 21:36 Edge detection\emily.m
文件 1182 2011-07-04 18:42 Edge detection\Log.m
文件 3136 2011-06-27 23:47 Edge detection\main.asv
文件 3667 2011-07-06 21:00 Edge detection\main.m
文件 470 2011-07-07 00:51 Edge detection\markcell.asv
文件 470 2011-07-07 00:51 Edge detection\markcell.m
文件 432 2011-06-29 00:28 Edge detection\open_menu_1.m
文件 965 2011-06-29 00:59 Edge detection\Prewitt.asv
文件 984 2011-07-04 18:42 Edge detection\Prewitt.m
文件 334 2011-06-29 13:09 Edge detection\save_as_menu_1.m
文件 1209 2011-06-29 00:54 Edge detection\sobel.asv
文件 1249 2011-07-05 15:28 Edge detection\sobel.m
文件 42506 2011-07-06 23:57 Edge detection\temp.jpg
文件 6226 2009-06-05 21:34 Edge detection\unti
文件 3183 2009-06-05 21:34 Edge detection\unti
文件 1367 2011-07-04 18:42 Edge detection\Zerocross.m
..A..H. 7680 2011-05-27 15:58 Edge detection\zq.suo
目录 0 2011-11-03 22:43 Edge detection
----------- --------- ---------- ----- ----
11882668 27
............此处省略0个文件信息
- 上一篇:软件工程及应用
- 下一篇:linux内核分析实验 模拟宾馆房间预订系统
相关资源
- 硕士计算机英文文献翻译(中英对比
- 基于OpenCV的数字识别468815
- 血液图像处理—细胞识别
- 磁盘调度算法的模拟实现及对比
- 红外接收头资料(各种品牌的红外接
- 小波模极大值边缘检测
- 金欣口服液含药血清对呼吸道合胞病
- 易语言字节集加密解密对比源码
- F理论模型中GUT和双胞胎的相对比例
-
notepad++ 对比插件 xm
l格式化插件 - 干旱和盐胁迫对黑果枸杞悬浮细胞多
- ARM7 GPIO LED控制实验高速GPIO与低速GP
- 氟哌啶醇对新西兰兔心室肌细胞膜钠
- FOXP3基因多态性与原发性肝细胞癌的关
- 马铃薯三糖熊果酸苄脂等对H5N1流感病
- 子细胞表面张力对胞质分裂中细胞间
- 抑制肌球蛋白Ⅱ对NRK细胞分裂的影响
- 植物乳杆菌和菊粉:增强心脏Ob受体表
- 流式细胞周期软件MultiCycle for Windows
- 离子胁迫诱导的植物细胞程序性死亡
- 神经酰胺激酶的缺失对植物细胞死亡
- 植物细胞骨架和交联因子
- 周期性牵拉与TNF-α对角膜成纤维细
- SPOI标记猪脂肪干细胞向成骨细胞分化
- Ad-CEA-E1A -ZD55-ST13 诱导结肠癌细胞系的
- 重组慢病毒载体介导KSHV分子开关蛋白
- 原发性嗜酸粒细胞增多症发病机制的
- 过表达重组FGFR2启动子细胞株的建立
- FGFR2基因稳定表达细胞模型的建立
- 抗氧化肽SS-31对糖尿病小鼠肾脏细胞凋
评论
共有 条评论