标签:bmp class msu matlab源码 load 插入图片 vpd blog ffffff
基于matlab染色体计数
I = imread(‘chrimage.bmp‘);
figure,imshow(I);
I2 = rgb2gray(I);
s = (I2);
I4 = 255*ones(s(1), s(2), ‘uint8‘);
I5 = imsubtract(I4,I2);
I3 = (I5,[5 5]);
I3 = imadjust(I3);
bw = im2bw(I3, 0.3);
bw = bwareaopen(bw, 10);
figure,imshow(bw);
[labeled,numObjects] = bwlabel(bw,4);
RGB_label=(labeled,@spring,‘c‘,‘shuffle‘);
figure,imshow(RGB_label);
版本:2014a
完整代码或代写加1564658423
【图像计数】基于matlab染色体计数【含Matlab源码 1066期】
标签:bmp class msu matlab源码 load 插入图片 vpd blog ffffff
原文地址:https://www.cnblogs.com/homeofmatlab/p/14943979.html