3ca079a980
- 中文目录名改为英文:cDNA图像处理实例→examples,参考资料→references - web→app(Flask应用标准命名) - 输出目录平移到 data/output/simple/ 和 data/output/full/ - 输入图像统一到 data/input/ - 构建脚本移到 scripts/ - 源码文件改用 snake_case 命名 - 更新所有文件路径引用和文档
26 lines
693 B
Matlab
26 lines
693 B
Matlab
function showphi(I, phi, i)
|
|
% show curve evolution of phi
|
|
|
|
% Copyright (c) 2009,
|
|
% Yue Wu @ ECE Department, Tufts University
|
|
% All Rights Reserved
|
|
|
|
for j = 1:size(phi,3)
|
|
phi_{j} = phi(:,:,j);
|
|
end
|
|
% imshow(I,'initialmagnification','fit','displayrange',[0 255]);
|
|
% hold on;
|
|
|
|
if size(phi,3) == 1
|
|
contour(phi_{1}, [0 0], 'r','LineWidth',4);
|
|
contour(phi_{1}, [0 0], 'g','LineWidth',1.3);
|
|
else
|
|
contour(phi_{1}, [0 0], 'r','LineWidth',4);
|
|
contour(phi_{1}, [0 0], 'x','LineWidth',1.3);
|
|
contour(phi_{2}, [0 0], 'g','LineWidth',4);
|
|
contour(phi_{2}, [0 0], 'x','LineWidth',1.3);
|
|
end
|
|
% hold off;
|
|
% title([num2str(i) ' Iterations']);
|
|
|
|
drawnow; |