how i can load tiff image from database?

11 vues (au cours des 30 derniers jours)
sodeh
sodeh le 22 Juin 2013
Commenté : Walter Roberson le 2 Juin 2015
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

Réponses (3)

Grufff
Grufff le 22 Juin 2013
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.

Image Analyst
Image Analyst le 22 Juin 2013
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

sodeh
sodeh le 23 Juin 2013
Modifié(e) : Walter Roberson le 2 Juin 2015
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
  2 commentaires
Image Analyst
Image Analyst le 24 Juin 2013
Um, you forgot to tell us the error!!!
Walter Roberson
Walter Roberson le 2 Juin 2015
files = dir( fullfile(folder_name, '*.tif'));

Connectez-vous pour commenter.

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by