虹膜与瞳孔分离的daugman实现
irisSeg的Python项目详细描述
irisseg
虹膜和瞳孔的分离。
达格曼算法:
where I(x,y) is the eye image, r is the radius to searches over the image (x,y), G(r) is a Gaussian smoothing function. The algorithm starts to search from the pupil, in order to detect the changing of maximum pixel values (partial derivative).
安装
pip install irisSeq
用法
from irisSeg import irisSeg
import matplotlib.pyplot as plt
#
# you can also view using the argument in irisSeq function
#
coord_iris, coord_pupil, output_image = irisSeg('UBIRIS_200_150_R/Sessao_1/1/Img_1_1_1.jpg', 40, 70)
print(coord_iris)
print(coord_pupil)
plt.imshow(output_image)
plt.show()
参考资料
https://www.diva-portal.org/smash/get/diva2:831173/FULLTEXT01.pdf
https://uk.mathworks.com/matlabcentral/fileexchange/15652-iris-segmentation-using-daugman-s-integrodifferential-operator