フィルターのクリア

how to display folder which is already stored?

3 ビュー (過去 30 日間)
ramya
ramya 2018 年 4 月 10 日
編集済み: Guillaume 2018 年 4 月 11 日
i have stored images in a folder ... nw plz suggest code how to read this folder from dir and i hv to read in such a way that all figures appear in a single window
if (w > q)
T=imbinarize(E{r});
subplot(rows,columns,r)
T1=bwareaopen(T,0);
destinationFolder = 'E:\preetikumari\image8';
baseFileName = sprintf('%d.png', r); % e.g. "1.png"
fullFileName = fullfile(destinationFolder, baseFileName);
imwrite(T1, fullFileName);
elseif(w<=q)
P=imbinarize(F{r});
subplot(rows,columns,r)
P1=bwareaopen(P,0);
destinationFolder = 'E:\preetikumari\image8';
baseFileName = sprintf('%d.png', r); % e.g. "1.png"
fullFileName = fullfile(destinationFolder, baseFileName);
imwrite(P1, fullFileName);
end
end
after this step i got images which i have attached. nw plz suggest code so that all figures appear in a single figure window

回答 (1 件)

Guillaume
Guillaume 2018 年 4 月 10 日
It seems that you already have done all the work necessary to plot your images into a single window (with the subplot lines) but didn't bother with the last step. Why not?
As far as I can tell all you need to do is imshow your P1 or T1 after you've calculated it.
  9 件のコメント
ramya
ramya 2018 年 4 月 11 日
編集済み: Guillaume 2018 年 4 月 11 日
if (w > q)
T=imbinarize(E{r});
subplot(rows,columns,r)
T1=bwareaopen(T,0);
imshow(T1)
P=imbinarize(F{r});
subplot(rows,columns,r)
imshow(P1)
end
end
after this step i got that image now how to save it and apply operation on each segments
ramya
ramya 2018 年 4 月 11 日
suggest some code or idea

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

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by