how i can load tiff image from database?

14 views (last 30 days)
sodeh
sodeh on 22 Jun 2013
Commented: Walter Roberson on 2 Jun 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

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.

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

Sign in to comment.

Categories

Find more on Read, Write, and Modify Image in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!