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

📄 reajust.m

📁 Fusion algorithm example to split a picture into different areas depending on their average color
💻 M
字号:
function res = reajust(labels,adj)

labelCourant = 1;

taille = size(adj);
% for i=1:taille(1),
%     for a=1:tailleimg(1)
%         for b=1:
%     labels(labels(:))
%     
%     
% end

res = labels;
for i=1:taille(1),
    a = labels == i;
    if any(a)
        res(a) = labelCourant;
        labelCourant = labelCourant + 1;
    end
end;

⌨️ 快捷键说明

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