computew.asv
来自「正则化切割图像」· ASV 代码 · 共 9 行
ASV
9 行
function W = computeW(imageX,dataW,emag,ephase)
% Timothee Cour, Stella Yu, Jianbo Shi, 2004.
[p,q] = size(imageX);
[w_i,w_j] = cimgnbmap([p,q],dataW.sampleRadius,dataW.sample_rate);
W = affinityic(emag,ephase,w_i,w_j,max(emag(:)) * dataW.edgeVariance);
W = W/max(W(:));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?