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

Answers (3)

Grufff
Grufff on 22 Jun 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.
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 on 23 Jun 2013
Edited: Walter Roberson on 2 Jun 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 Comments

Um, you forgot to tell us the error!!!
files = dir( fullfile(folder_name, '*.tif'));

Sign in to comment.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 22 Jun 2013

Commented:

on 2 Jun 2015

Community Treasure Hunt

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

Start Hunting!