-
大小: 972B文件類(lèi)型: .m金幣: 1下載: 0 次發(fā)布日期: 2021-06-10
- 語(yǔ)言: Matlab
- 標(biāo)簽:
資源簡(jiǎn)介
給目標(biāo)物畫(huà)標(biāo)注框(matlab程序)
代碼片段和文件信息
%%%%%%以下程序?yàn)楫?huà)框
clc;
clear;
maindir=‘C:\Users\YL\Desktop\第二次樣本\jpg\‘;??
savefile=‘C:\Users\YL\Desktop\output.txt‘;
sub=dir(maindir);
?fp?=?fopen(savefile‘wt‘);
for?i=1:length(sub)
????if?~strcmp(sub(i).name‘.‘)?&&?~strcmp(sub(i).name‘..‘)
????????adress=strcat(maindirsub(i).name);
????????picture=imread(adress);
?????????imshow(picture);
??????????k?=?waitforbuttonpress;??????????????%?等待鼠標(biāo)按下
?????????point1?=?get(gca‘CurrentPoint‘);????%?鼠標(biāo)按下了
- 上一篇:血管的三維重建
- 下一篇:小波矩特征提取matlab代碼
評(píng)論
共有 條評(píng)論