Info
この質問は閉じられています。 編集または回答するには再度開いてください。
what is the meaning of this code?
1 回表示 (過去 30 日間)
古いコメントを表示
for i = 0:3
for j = 0:3
temp = imread(strcat('output/img', num2str(4*i + j), '.tif'));
if j == 0
img = temp;
else
img = [img temp];
end
end
if i == 0
out = img;
else
out = [out; img];
end
end
imwrite(out, '1-merged_image.tif');
1 件のコメント
Stephen23
2019 年 1 月 29 日
編集済み: Stephen23
2019 年 1 月 29 日
"what is the meaning of this code?"
Nothing.
That code has no meaning.
Because its author did not bother to write any code comments or explanations, we have no idea what it is intended to do, or whether it is even suitable for doing it. Code without a specification is meaningless.
回答 (2 件)
Fangjun Jiang
2019 年 1 月 29 日
You've been asking the same question many times yet none of the answers seem to answer your question. I suggest you run "demo" in MATLAB and then select "MATLAB" to "Getting started with MATLAB".
0 件のコメント
Walter Roberson
2019 年 1 月 29 日
it reads in output/img0.tif through output/img15.tif and arranges them as one larger image 4 across at aa time.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!