I want to compare a given input image from a set of images and display the corresponding image
Mostrar comentarios más antiguos
%function imgDB()
img=imread('1.jpg');
a=['1.jpg','2.jpg','3.jpg','4.jpg','5.jpg'];
for i=1:size(a)
if (img==a(i))
disp('YES');
else
disp('NO')
break
end
end
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!