Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7953895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:15:52+00:00 2026-06-04T03:15:52+00:00

My question I have folder of image organized as Database -> CASIA Iris Image

  • 0

My question I have folder of image organized as

Database -> CASIA Iris Image Database (version 1.0) -> folder001(this folder change to 001to 108) -> previouse folder contains two folder each of them contains 3 images

the structure of folder as

http://imageshack.us/photo/my-images/337/picture1ki.png/

how i can read CASIA V1.0 1 IN MATLAB?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T03:15:54+00:00Added an answer on June 4, 2026 at 3:15 am

    Below is a generic code for any number of images in a folder. You can simplify it if you are sure to have 3 images per folder and you know the filename format for each.

    %# Set the relative path for the database
    basePath = 'Database/CASIA Iris Image Database (version 1.0)/';
    
    for iFolder = 1:108
        %# Set current folder
        folder = sprintf('%s%03d/', basePath, iFolder);
    
        %# Find the image (e.g. bmp) files in the folder. Modify bmp for your needs.
        %#   and also modify 'left' string according to the subfolder of left images
        filenames = arrayfun(@(x) x.name, dir([folder 'left/*.bmp']),'UniformOutput',false);
    
        for iFile = 1:length(filenames)
            img = imread([folder filenames{iFile}]);
    
            %# and process the image
            %# ...
    
        end
    
        %# Modify the code for to run it for right folder
        %# ...
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No doubt elements of this question have been asked before, but I'm having trouble
I know variants of this question have been asked before (even by me), but
I have this function to store the bmp image in a desired location as
This might be a noob question, but can't find an answer anywhere. I have
This question is the next step in my project of Optimizing a folder/directory of
My question is this: If I have two heads (branches with changes) in my
I currently have this folder structure: img.domain.com/ boats/ boat1/ 1.jpg 2.jpg trees/ tree1/ 1.jpg
I have loaded an image from database to a variable named $image. How can
I have this line of jQuery: $(#colorimage).css('background','url(images/bw.jpg)'); First question: the way that this is
This question has been brought up before, and I have searched many of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.