Location:
Search - bwlabel
Search list
Description: vc++调用matlab函数混合编程实现二值图像的区域标记。-vc++ call matlab function Matlab binary image of the regional markers.
Platform: |
Size: 1185792 |
Author: 李占闯 |
Hits:
Description: 联通区域的标记 matlab 的bwlabel功能-matlab bwlabel
Platform: |
Size: 698368 |
Author: caifeifei |
Hits:
Description: 计算硬币数量 运用imerode and bwlabel 代码-Calculate coins number using imerode code and bwlabel
Platform: |
Size: 13312 |
Author: pat |
Hits:
Description: Igray = rgb2gray(I)
Ibw = im2bw(Igray,graythresh(Igray))
Iedge = edge(uint8(Ibw))
se = strel( square ,3)
Iedge2 = imdilate(Iedge, se)
Ifill= imfill(Iedge2, holes )
[Ilabel num] = bwlabel(Ifill)
Iprops = regionprops(Ilabel)
Ibox = [Iprops.BoundingBox]
Ibox = reshape(Ibox,[4 50])
Ic = [Iprops.Centroid]
Ic = reshape(Ic,[2 50])
Ic = Ic
Ic(:,3) = (mean(Ic.^2,2)).^(1/2)
Ic(:,4) = 1:50
Extra lines compare to example2 to extract all the components into an
cell array
Ic2 = sortrows(Ic,2)
for cnt = 1:5
Ic2((cnt-1)*10+1:cnt*10,:) = sortrows(Ic2((cnt-1)*10+1:cnt*10,:),4)
end
Ic3 = Ic2(:,1:2)
ind = Ic2(:,4)
for cnt = 1:50
img{cnt} = imcrop(Ibw,Ibox(:,ind(cnt)))
end
-Igray = rgb2gray(I)
Ibw = im2bw(Igray,graythresh(Igray))
Iedge = edge(uint8(Ibw))
se = strel( square ,3)
Iedge2 = imdilate(Iedge, se)
Ifill= imfill(Iedge2, holes )
[Ilabel num] = bwlabel(Ifill)
Iprops = regionprops(Ilabel)
Ibox = [Iprops.BoundingBox]
Ibox = reshape(Ibox,[4 50])
Ic = [Iprops.Centroid]
Ic = reshape(Ic,[2 50])
Ic = Ic
Ic(:,3) = (mean(Ic.^2,2)).^(1/2)
Ic(:,4) = 1:50
Extra lines compare to example2 to extract all the components into an
cell array
Ic2 = sortrows(Ic,2)
for cnt = 1:5
Ic2((cnt-1)*10+1:cnt*10,:) = sortrows(Ic2((cnt-1)*10+1:cnt*10,:),4)
end
Ic3 = Ic2(:,1:2)
ind = Ic2(:,4)
for cnt = 1:50
img{cnt} = imcrop(Ibw,Ibox(:,ind(cnt)))
end
Platform: |
Size: 291840 |
Author: honey |
Hits:
Description: Tracking w/ blob detection, morphological operation (Togeather)
frames = {avi.cdata} uses the cdata from the video file
fg = extractForeground(frames) do foreground extraction
cmap = colormap(gray)
for i = 1:length(fg)
temp0{i} = edge(fg{i}, canny , 0.99) + fg{i}
temp2 = temp0{i}
temp2 = cat(3,temp2,temp2,temp2)
fgs = rgb2gray(temp2)
sedisk = strel( square ,10)
fgs = imclose(fgs, sedisk)
fgs = imfill(fgs, holes )
RLL = bwlabel(fgs)
stats = regionprops(RLL, basic , Centroid )
fig = figure(1),imshow(RLL)
hold on
for n = 1:length(stats)
if(stats(n).Area > 100)
plot(stats(n).Centroid(1), stats(n).Centroid(2), r* )
end
end
hold o-Tracking w/ blob detection, morphological operation (Togeather)
frames = {avi.cdata} uses the cdata from the video file
fg = extractForeground(frames) do foreground extraction
cmap = colormap(gray)
for i = 1:length(fg)
temp0{i} = edge(fg{i}, canny , 0.99) + fg{i}
temp2 = temp0{i}
temp2 = cat(3,temp2,temp2,temp2)
fgs = rgb2gray(temp2)
sedisk = strel( square ,10)
fgs = imclose(fgs, sedisk)
fgs = imfill(fgs, holes )
RLL = bwlabel(fgs)
stats = regionprops(RLL, basic , Centroid )
fig = figure(1),imshow(RLL)
hold on
for n = 1:length(stats)
if(stats(n).Area > 100)
plot(stats(n).Centroid(1), stats(n).Centroid(2), r* )
end
end
hold off
Platform: |
Size: 17408 |
Author: sivasankar |
Hits:
Description: 有关连通域的提取,以肺部图片作为示例,使用bwlabel函数,非常方便-Connected domain on the extraction of the lung images as an example, the use of bwlabel function, very convenient
Platform: |
Size: 437248 |
Author: 朱旬旬 |
Hits:
Description: 为MATLAB中的图形增加标签,从而可以有效地表示图形意义,防止读不懂图的情况- BWLABEL supports 2-D inputs only, whereas BWLABELN support any
input dimension. In some cases you might prefer to use BWLABELN even
for 2-D problems because it can be faster. If you have a 2-D input
whose objects are relatively "thick" in the vertical direction,
BWLABEL will probably be faster otherwise BWLABELN will probably be
faster.
Platform: |
Size: 2048 |
Author: resson |
Hits:
Description: 图像处理的一些基本matlab源代码,用于matlab图像处理的学习,《matlab数字图像处理》(张德丰)-Some basic image processing matlab source code matlab for image processing, learning, "matlab digital image processing" (Zhang Defeng)
Platform: |
Size: 36864 |
Author: douyxiang |
Hits:
Description: bwlabel via disjoint set-bwlabel via disjoint set
Platform: |
Size: 6144 |
Author: tomy |
Hits:
Description: bwlabel的图像定位标记,用于二值图像定位标记,4连通8连通等-bwlabel image positioning mark
Platform: |
Size: 6580224 |
Author: 沈宋衍 |
Hits:
Description: 一种最新的连通域标记方法,能够快速进行连通域标记-One of the latest connected component labeling method to quickly connected component labeling
Platform: |
Size: 2048 |
Author: 孟凡龙 |
Hits:
Description: 一种二值图像连通区域标记方法,能用于目标跟踪,我已经应用过,效果不错。-It is a new connected componet labeling algorithm for binary image,and can be used in object tracking. It is effective to be proved.
Platform: |
Size: 285696 |
Author: xiaoxixi |
Hits:
Description: 灰度图像的属性计算:利用bwlabel和regionprops函数对度量二值图像中目标对象的属性。-Attribute gray image: Using bwlabel and regionprops function measure binary image of the target object attributes.
Platform: |
Size: 4096 |
Author: zhuzi |
Hits:
Description: 基于MATLAB的图像处理有关:链码 编码 不变矩 标注等代码-The image processing chain code invariant annotation
Platform: |
Size: 330752 |
Author: Katherine |
Hits:
Description: 用C语言编写MATLAB 函数, 主要用于DSP芯片, 后期可参考转化为汇编, 提高速度-Use the programming language C to write the MATLAB function, bwlabel
Platform: |
Size: 1946624 |
Author: kgrosee |
Hits:
Description: .c++连通区域标记算法2,功能和matlab 中的 bwlabel相似,用opencv 编写-.c++ connected component labeling algorithm 2, function and MATLAB similar to the bwlabel, prepared by opencv
Platform: |
Size: 1024 |
Author: ffffffff |
Hits:
Description: 二值图像连通域分析,和MATLAB中bwlabel函数功能相似-Connected domain analysis of binary image, and bwlabel similar function in MATLAB
Platform: |
Size: 283648 |
Author: liudawei |
Hits:
Description: 机械视觉,连通区域的类别标签。自己写的8连通区域标记,可代替函数库中的bwlabel函数-Label connected components (8-connected)
Platform: |
Size: 1024 |
Author: 冯宇 |
Hits:
Description: 二值图连通域标记算法,标记二值图像的连通域-Two value graph connected domain labeling algorithm
Platform: |
Size: 287744 |
Author: 孔凡东 |
Hits:
Description: 用于计算二值图像的最小外接矩形(若针对连通区域可用增加bwlabel函数自行处理)(The minimum circumscribed rectangle)
Platform: |
Size: 11264 |
Author: zsj9509 |
Hits: