フィルターのクリア

how to write an updating image file after the update is over

1 回表示 (過去 30 日間)
RAMESH MUNIRATHINAM
RAMESH MUNIRATHINAM 2014 年 12 月 6 日
if c=1:4
c=1
update(process)
c=2
update(process)
c=3
update(process)
c=4
update(process)
end
i have split the image into 4 subplots so that it will be easy for comparison
each time the value of c varies the image gets updated
i have used the imwrite code outside the loop, then also the total updated image is not been written in folder
only the image corresponding to condition c=4 is written inside the folder
please kindly help so that i could see some progress in the work
  2 件のコメント
Image Analyst
Image Analyst 2014 年 12 月 6 日
What loop? There is no for statement, only an if statement. And what imwrite()? Copy and paste your code in - don't try to retype it because that introduces errors.
RAMESH MUNIRATHINAM
RAMESH MUNIRATHINAM 2014 年 12 月 6 日
for c = [1 2 3 4];
anyl = Filt(In,'bt');
if c == 1
i = 1;
elseif c == 2
i = 2;
elseif c == 3
i = 3;
else
i = 4;
end
figure(4);subplot(2,2,i);
imshow(anyl);
imshow gets updated
after this i have used the imwrite command to writing the image any1
but the image of c=4 alone was written in the folder i want to write the figure 4 which contains all 4 images corresponding to the condition

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeImages についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by