how i can load tiff image from database?

3 visualizzazioni (ultimi 30 giorni)
sodeh
sodeh il 22 Giu 2013
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

Risposte (3)

Grufff
Grufff il 22 Giu 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 il 22 Giu 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 il 23 Giu 2013
Modificato: Walter Roberson il 2 Giu 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 Commenti
Image Analyst
Image Analyst il 24 Giu 2013
Um, you forgot to tell us the error!!!
Walter Roberson
Walter Roberson il 2 Giu 2015
files = dir( fullfile(folder_name, '*.tif'));

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by