フィルターのクリア

how to read images randomly from each folder?

1 回表示 (過去 30 日間)
bamini thavarajah
bamini thavarajah 2018 年 1 月 22 日
回答済み: KSSV 2018 年 1 月 22 日
I have 10 folder, each contain 100 images. I have to select 50 images from one folder and 3 random images each from the other remaining 9 folder finally 77 images should be read

回答 (1 件)

KSSV
KSSV 2018 年 1 月 22 日
img = 1:100 ; % indices of images
iwant = randperm(length(img),3) ;

カテゴリ

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