⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trf.m

📁 matlab代码
💻 M
字号:
function [q, l ,s ] = trf(w);

% q is output image
% l is end_list
% s is branch_list
% w is dummy (e.g 1)


%update 2/12

% test script to run all functions
% will print out the result too

a = testread(w);


figure;
colormap(gray);imagesc(a);


o = thres(a,20);


%figure;
%colormap(gray);imagesc(o);


for i=1:12
        out = thinning2(o);


o =out;

end;

q = m_connect(o);

figure;
colormap(gray);imagesc(q)

[l,s] = find_list(q);


show_list(l);
title('end');
show_list(s);
title('branch');


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -