how i can load tiff image from database?

hi, ihave an tiff image database and want to load image one by one ,then feature extraction loaded iamge and save result. how can i load image? thanks alot

回答(3 个)

Grufff
Grufff 2013-6-22
If you search google for "load tiff image into Matlab" the very first hit leads you to this page, from the Mathworks documentation:
That explains the imread command, and how to use it to load tiff images.
What does "database" mean to you? Just a folder with a collection of images, or a real database, like from Oracle or somebody? If it's just a bunch of images, you can use imread() or the TIFF class reader. See tiff in the help facility.
For feature extraction, see the Image Segmentation Tutorial in my File Exchange: Image Analyst's awesome File Exchange
my database is fvc2000,2004,2006(fingerprint image in tiff format)and i want to read from folder with fingerprint image. i use this code but have an error!!!
folder_name = uigetdir('*','select file for save image');
files = dir(folder_name '/','*.','tif');
database= size(files,1);
for i=1:database
% feature extraction
end

Community Treasure Hunt

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

Start Hunting!

Translated by