CPC G06T 5/50 (2013.01) [G06T 5/70 (2024.01); G06T 5/90 (2024.01); G06T 7/13 (2017.01); G06T 7/30 (2017.01); G06T 2207/20028 (2013.01); G06T 2207/30041 (2013.01)] | 14 Claims |
1. A method of creating an all-in-focus image of a portion of an iridocorneal angle of an eye starting from a plurality of images, the images of said plurality being shallow field-depth images of said portion taken with different focus planes and with a same image frame, the method comprising the steps of:
A) pre-processing said plurality of images so to obtain a plurality of single-channel images if the images of said plurality are color images,
B) calculating an initial focus map starting from said plurality of single-channel images,
C) creating an initial estimated all-in-focus image starting from said initial focus map and said plurality of single-channel images,
D) calculating an initial edge map starting from said initial focus map and said plurality of single-channel images,
E) iterating a regularization process until a stop-regularization condition is met, wherein the regularization process comprises removing one or more edge points of the initial edge map by considering a reference model of an iridocorneal angle of an eye, and
F) creating said all-in-focus image starting from said plurality of images and a focus map last calculated in step E;
wherein in step E said reference model expresses a first parameter being a maximum inclination of a surface of an iridocorneal angle of an eye and/or a second parameter being a direction of maximum inclination of a surface of an iridocorneal angle of an eye and/or a third parameter being a direction of minimum inclination of a surface of an iridocorneal angle of an eye.
|