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

📄 vedicentro.m

📁 本程序是在matlab的开发环境下
💻 M
字号:
% image acquisition
a=imread('101_1.tif');
% rotate image
a=imrotate(a,-20);
% write to a BitMap image the rotated mage
img=double(a);
% if image sizes are not 8*K where K is an integer
% image is resized

% call "centralizing" function
[out,xc,yc]=centralizing(img,0);
%[out,xc2,yc2]=centralizing2(img,0);

% show image and the center point determinated by
% the previous function
figure('Name','immagine');
imshow(a);
hold on;
plot(xc,yc,'O');
%plot(xc2,yc2,'X');
hold off;

⌨️ 快捷键说明

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