How to detect and differentiate circles from brown eyes

Hello
I am working on some code to segment my iris and my pupil, I want to be able to have a crosshair or circle that can identify my pupil and also another circle that can detect my iris. I have brown eyes so it is a little difficult to do this however this is what I have so far maybe someone could help me? If anyone knows how to segment brown and black colors?
Eye=imread("niceeye.jpg");
eyegray=rgb2gray(Eye);
bweye=imbinarize(eyegray)
edge=edge(bweye,"canny")
imshow(edge)

More Answers (1)

Here are the latest articles from SPIE.org
Omar Almutiry
Topics: Iris recognition, Image segmentation, Iris, Eye models, Databases, Convolution, Performance modeling, Detection and tracking algorithms, RGB color model, Data modeling
Tianhao Lu; Caiyong Wang; Yunlong Wang; Zhenan Sun
Topics: Iris recognition, Image segmentation, Eye models, Iris, Feature extraction, Data modeling, Performance modeling, Convolution, Image processing, Near infrared

Asked:

on 25 Jul 2022

Answered:

on 1 Sep 2022

Community Treasure Hunt

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

Start Hunting!