MATLAB: How to identify the image which is not stored in database.

authenticationImage Processing Toolbox

i stored 3 images in my database. Now a user giving one new image, which is not stored in database is given. it should net be authenticated since it is not in database. How to prove this.

Best Answer

Use isequal() to compare the data array that the user gives with the data array for each stored image in turn.