複数枚の画像をfor文を使って処理したいです
显示 更早的评论
複数枚の画像(ファイルにある全ての画像)をfor文を使って処理がしたいです.
以下のような処理をしましたが,画像ファイルを指定できていないので,エラーが出ます.
for n = 1:100
I = imshow('n.jpg');
[nrows,ncols] = size(get(I,'CData'));
xdata = get(I,'XData');
xlength = xdata(1,2)
ylength = ydata(1,2)
pixcelsize =xlength *ylength
end
采纳的回答
更多回答(1 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!