MATLAB: How to show all jpg images saved in MATLAB folder faqImage Processing Toolboxjpeg images storedStructure = dir('*.jpg') How should I proceed? Best Answer This displays all of the jpg images in the current directory:S = dir('*.jpg');for k = 1:numel(S) figure(); image(imread(S(k).name)) axis('image');endNote: this code will not work with indexed image formats. Related SolutionsMATLAB: How to show all images of a folder Use the montage() function. MATLAB: Files with specific extension use the dir commandto find all files in a directory with the .m extensison us dir('*.m')for jpg dir('*.jpg')etc... Related QuestionSave image sequencelyHow to convert all jpg images to gray and then save them in different fileHow to read multiple tiff files from a folder
Best Answer