How to read multiple images of both png and tiff type from a folder?

1 view (last 30 days)
I have 10 png images and 10 tiff images in a single folder.
[file path]=uigetfile('*.tif'); st=strcat(path,file); x=imread(st);
This will display only tif images in the folder while running it. But I need to display both .tif and .png images. Please give any solution.

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!