How to upload multiple images in matlab

3 ビュー (過去 30 日間)
NURUL FARHANAH
NURUL FARHANAH 2022 年 4 月 17 日
回答済み: Shaima 2023 年 12 月 19 日
how can i upload multiple images in matlab?
i have a total of 40 files, each files contains 10 images
how do i upload all the images, which in total = 400 images in matlab?

回答 (2 件)

Tala
Tala 2022 年 4 月 19 日
編集済み: Tala 2022 年 4 月 19 日
you have several options depending on your goal. look at Batch Processing App. or this simple code:
for i=1:400
FileName=strcat('Image',num2str(i),'.jpg'); % assuming they the name is "Image1.jpg" , "Image2.jpg",
I=imread(FileName);
% your code
end

Shaima
Shaima 2023 年 12 月 19 日
Write a MATLAB code in the online MATLAB. Upload three image files in the MATLAB drive and reference these images in the code and print the image in the different subplots of the size 12. You may consider your own matrix. The images with different transformations are preferable in each subplot.

カテゴリ

Help Center および File ExchangeFeature Detection and Extraction についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by