フィルターのクリア

How to access multiple images in a single code ?

1 回表示 (過去 30 日間)
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 5 月 26 日
Hello Mathworks,
My question might sound a little bit odd but what I meant to say was if I have a group of 25 images in a single folder and if I have to calculate say max pixel or min pixel of every image then do I need to write min(x1) min(x2) ..... min(x25) or is there anyway with which I could write a code once and repeat it for other 24 images ?
I have had this doubt for quite a long time so now I am waiting to see some interesting facts :)
Thanks All

採用された回答

Sean de Wolski
Sean de Wolski 2011 年 5 月 26 日
  10 件のコメント
Harsha Vardhan Rao  Avunoori
Harsha Vardhan Rao Avunoori 2011 年 5 月 26 日
Okay now since I have loaded all my gray 22 images into one single variable.I got another question. How do I access each of them ? As mygraydata is 1 x 22 cell and each cell contains an image of size 408 x 704. I have tried converting this cell to matrix using cell2mat() but still I cannot call single image to find it's maximum value.
Sean de Wolski
Sean de Wolski 2011 年 5 月 26 日
gray3Dimage = cell2mat(reshape(mygraydata(:),[1 1 22]));

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by