How can we use the m files for Daughman Integro-differential operator given in the hyperlink below?

Answers (1)

Hello Ridhima,
I understand that the requirement is to use the collection of .M files published in File-Exchange with title “Iris segmentation using Daugman's integrodifferential operator” to highlight the iris in the image of an eye.
Here are the steps to achieve this:
  • Open the File Exchange link and click the download button to get a .ZIP file.
  • Unzip the file into the desired folder. This will create a folder named Integrodifferential_operator. Add this folder and its subfolders to the MATLAB path.
  • Read the image for iris localization. This can be done using the following command:
img = imread("eye.jpg");
  • Call the ‘thresh’ function, providing the image as the first input, the minimum iris radius as the second input, and the maximum iris radius as the third input.
[ci,cp,out] = thresh(img,30,100);
  • The output image will be stored in the ‘out’ variable. Use ‘imshow’ to view the image.
imshow(out);
  • Below is a screenshot of the output image.

Products

Release

R2021a

Asked:

on 4 Mar 2024

Answered:

on 20 Aug 2024

Community Treasure Hunt

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

Start Hunting!