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

2 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by