xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

閾值分割 自適應閾值 全局閾值 局部閾值 Matlab

資源截圖

代碼片段和文件信息


%%?局部閾值?http://blog.sina.com.cn/s/blog_4173233e0101av7u.html
clc;
clear?allclose?all
f1=imread(‘C:\Users\Administrator\Desktop\閾值\1.tif‘);
%I=rgb2gray(I);
I=im2double(f1);
figureimshow(I)title(‘原始圖像‘);??
se=strel(‘disk‘10);%
ft=imtophat(Ise);
Th=graythresh(ft);??????????????????????????
Th
G=im2bw(ftTh);?????????????????????????????
figureimshow(G)title(‘局部閾值‘);
?
%%?全局閾值分割
f?=?imread(‘C:\Users\Administrator\Desktop\閾值\1.tif‘);
%?figureimshow(f)
%?title(‘原始圖像‘)
BW=im2bw(f0.2);%設置全局的閾值為0.2*255
figureimshow(BW);
title(‘全局閾值‘)
%%?計算自適應全局閾值?graythresh
f?=?imread(‘C:\Users\Administrator\Desktop\閾值\1.tif‘);
%?figureimshow(f)title(‘原始圖像‘);??
T2?=?graythresh(f)
g?=?f<=T2*255;
figureimshow(g)
title(‘使自適應閾值‘)
T2*255

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????90291??2001-01-15?18:25??threshold\1.tif

?????文件????????820??2016-07-24?20:56??threshold\graythresh1.m

?????目錄??????????0??2016-08-17?17:09??threshold

-----------?---------??----------?-----??----

????????????????91111????????????????????3


評論

共有 條評論