A second speed term is introduced as
Display Formula\(M\left( {x,y} \right)\), which is motivated by the fact that
Display Formula\(\hat C\left( q \right)\) should stay in the image points with high image gradient magnitudes.
\begin{equation}\tag{A15}M\left( {x,y} \right) = {1 \over {\left( {1 + {{\left| {\nabla I\left( {x,y} \right)} \right|}^2}} \right)}}\end{equation}
Note that the “1” in the denominator of
Equation A15 is a tunable parameter that can be further adjusted to modulate this speed term. Integrating
Equations A14 and
A15 into
Equation A13, the search of cone boundary contour
Display Formula\(\hat C\left( q \right)\) can be mathematically formulated as
\begin{equation}\hat C = {\rm{arg}}\mathop {\min }\limits_C E\left( C \right) = {\rm{arg}}\mathop {\min }\limits_C \mathop \smallint \limits_0^1 F\left( {C\left( q \right)} \right)\left| {C^{\prime} \left( q \right)} \right|dq\end{equation}
\begin{equation}\tag{A16}F\left( {x,y} \right) = \alpha T\left( {x,y} \right) + \left( {1 - \alpha } \right)M\left( {x,y} \right),\left( {x,y} \right) \in C\left( q \right){\rm ,}\end{equation}
with
Display Formula\(\alpha = 0.7\) to balance the influence of the circular template and image gradients in this work.
Equation A16 is similar to the geodesic active contour,
63 except that circular template is included in this work. The Euler-Lagrange equation
64 is used to minimize
Equation A16,
\begin{equation}\tag{A17}{{\partial C\left( {\tau ,q} \right)} \over {\partial \tau }} = \kappa F\vec {\cal N} - \left( {\nabla F \cdot \vec {\cal N}} \right)\vec {\cal N}{\rm ,}\end{equation}
where
Display Formula\(\kappa \) is the curvature of
Display Formula\(C\) and
Display Formula\(\vec {\cal N}\) is the unit inward normal.
Equation A17 shows that the minimization process of
Equation 16 is the propagation of active contour
Display Formula\(C\) over time step
Display Formula\(\tau \). To achieve high accuracy and numerical stability, the contour
Display Formula\(C\), as well as its underlying image grids, is typically re-discretized after a few iterations, which is especially critical when the contour
Display Formula\(C\) moves a large distance. To alleviate such issue, level-set function
Display Formula\(\phi \left( {x,y} \right)\) is instead used to implicitly describe the active contour
Display Formula\(C\), given by
\begin{equation}\tag{A18}\phi \left( {x,y} \right) = \left\{ {\matrix{ { - D\left( {x,y} \right)}&{{\rm{if}}\left( {x,y} \right){\rm{outside\ the\ area\ inside\ }}C} \cr {D\left( {x,y} \right)}&{{\rm{else}}} \cr } } \right.{\rm ,}\end{equation}
where
Display Formula\(D\left( {x,y} \right)\) denotes the Euclidean distance of a point
Display Formula\(\left( {x,y} \right)\) to
Display Formula\(C\) (
Equation A8). Therefore, the contour
Display Formula\(C\) can be implicitly represented as
Display Formula\(C = \{ \left( {x,y} \right)|\phi \left( {x,y} \right) = 0\} \). Such implicit contour representation can avoid the discretization of image grids, and
Equation A17 is rewritten as
\begin{equation}\tag{A19}{{\partial \phi } \over {\partial \tau }} = F\left| {\nabla \phi } \right|{\rm{div}}\left( {{{\nabla \phi } \over {\left| {\nabla \phi } \right|}}} \right) - \nabla F \cdot \nabla \phi {\rm ,}\end{equation}
where
Display Formula\({\rm{div}}\left( \cdot \right)\) denotes the divergence operator. The initial contour at
Display Formula\(\tau = 0\) is set to
Display Formula\({C_T}\left( q \right)\), which corresponds to the zero-level set of
Display Formula\(\phi \) at
Display Formula\(\tau = 0\). Iterative evolution of level-set function
Display Formula\(\phi \left( {x,y} \right)\) over
Display Formula\(\tau \) leads to the identification of cone photoreceptor boundaries.