MATLAB: How to read images in a database using ”for loop”

image analysis

hello. I want to process on a large database in matlab. I need to read images in database one by one and then do some process on them. how can I read images one by one using ''for loop''? thanks

Best Answer

If your "database" is simply a folder of files, then see the FAQ for two code samples: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
If your database is a real database, like an Oracle database and you are using the Mathworks Database Toolbox, then I don't know. See the toolbox examples or contact tech support for immediate help.