The silhouette template response captures information about the mean luminance of the target region relative to the surrounding background region, and hence represents both the mean-luminance information and some of the luminance boundary information. However, background luminance may modulate arbitrarily over space and the target luminance may also modulate over space. These luminance modulations tend to create local luminance gradients that are perpendicular to the local orientation of the target boundary and that often vary randomly in sign and amplitude. Thus, even when the mean luminance of the target and surrounding region are identical there generally remains substantial boundary information. This boundary information can be captured with an edge-energy measure, which we define to be the sum, over the boundary pixels, of the square the luminance-gradient amplitude perpendicular to the target boundary normalized by the local luminance and contrast at the boundary pixel location:
\begin{equation}{R_E} = \sum\limits_{{\bf{x}} \in boundary} {{{\left[ {\frac{{\nabla {{\bf{I}}_r}\left( {\bf{x}} \right) \cdot {\bf{n}}_r^ \bot \left( {\bf{x}} \right)}}{{{L_r}\left( {\bf{x}} \right){C_r}\left( {\bf{x}} \right)}}} \right]}^2}} \end{equation}
where ∇
Ir (
x) is the luminance gradient, and
\({\bf{n}}_r^ \bot \,({\bf{x}} )\) is the unit vector perpendicular to the boundary. The boundary pixel locations are defined in the
Appendix. The gradients were computed using a pair of orthogonally oriented derivative-of-Gaussian filters with a standard deviation σ
r matched to the center size of ganglion cell RFs at that the given level of the pyramid. Derivative-of-Gaussian filters are steerable (
Freeman & Adelson, 1991), whereby the same gradient computation in any direction can be determined from the output of the pair of orthogonal filters. Thus, the gradient for each boundary pixel
x was determined by computing:
\begin{equation}\nabla {{\bf{I}}_r}\left( {\bf{x}} \right) = \left[ {\left( {\frac{{\partial {g_r}}}{{\partial x}} * {I_r}} \right)\left( {\bf{x}} \right),\left( {\frac{{\partial {g_r}}}{{\partial y}} * {I_r}} \right)\left( {\bf{x}} \right)} \right]\end{equation}
with
\begin{equation*}\frac{{\partial {g_r}}}{{\partial x}}\left( {\bf{x}} \right) = - \frac{x}{{\sigma _r^2}}\exp \left( { - \frac{{{{\left\| {\bf{x}} \right\|}^2}}}{{2\sigma _r^2}}} \right)\end{equation*}
and
\begin{equation*}\frac{{\partial {g_r}}}{{\partial y}}{g_r}\left( {\bf{x}} \right) = - \frac{y}{{\sigma _r^2}}\exp \left( { - \frac{{{{\left\| {\bf{x}} \right\|}^2}}}{{2\sigma _r^2}}} \right)\end{equation*}
where
\({\sigma _r} = \sqrt {{{( {{{{\sigma _o}} / {{2^{r - 1}}}}} )}^2} + 1} \) and σ
o is the standard deviation of the Gaussian approximation to the optical point-spread function (recall that the standard deviation of the blur kernel at each pyramid level is 1). We defined the unit vector perpendicular to the boundary to be the unit gradient vector calculated for a uniform target on a uniform background. The local luminance and RMS contrast was computed under a Gaussian envelope having the same standard deviation (σ
r) used to compute the gradients. When the target is present, the gradient will tend to be normal to the boundary at location
x and hence the magnitude of the dot products in
Equation 11 will tend to be larger when the target is present.
Figure 5 (right) shows an example of the boundary pixels and a unit normal vector.