MATLAB: How can i display image from array element of cell?

image processingImage Processing Toolboxmatlab guiprocess a sequence of files

im working with color based image retrieval..i have array cell containing list filename..how can i display them in gui using for loop??

Best Answer

for k=1:numel(fileNm)
This = fileNm{k} ;
if isempty(This) ; continue ; end
imshow(This) ;
pause(3);
end
This assumes that you only want to display the image and that you do not mind if the window keeps changing size. If you want to process the image you would need an imread() step.
Related Question