Abstract

Oscillator networks have been developed in order to perform specific tasks related to image processing. Here we analytically investigate the existence of synchronism in a pair of phase oscillators that are short-range dynamically coupled. Then, we use these analytical results to design a network able of detecting border of black-and-white figures. Each unit composing this network is a pair of such phase oscillators and is assigned to a pixel in the image. The couplings among the units forming the network are also dynamical. Border detection emerges from the network activity.

1. Introduction

The synchronous firing of neurons seems to be important for accomplishing cognitive tasks such as attention (e.g., [1]), comprehension (e.g., [2]), coordination (e.g., [3]), perception (e.g., [4]), and sensory segmentation (e.g., [5]). Such experimental findings have inspired works about image processing (e.g., recognition, segmentation, symmetry detection) based on the synchronism of coupled oscillators (e.g., [611]). In addition, several neural systems, such as spinal cord (e.g., [12, 13]), hippocampus (e.g., [14, 15]), and visual cortex (e.g., [16, 17]), have been modelled by phase oscillators—one of the simplest oscillator models. In spite of its simplicity, this approach is suitable because more complex models for neurons like pulse-coupled and Hodgkin-Huxley-type models can be transformed into a phase oscillator model through coordinate changes [18]. Networks of phase oscillators can be electronically built using phase-locked loops (PLLs) (e.g., [1922]).

Here we analytically study a phase oscillator model with dynamical coupling, and then use it in order to form a network capable of successfully detecting border of black-and-white figures. Each oscillator of our network corresponds to a first-order PLL (e.g., [8, 11, 17, 23]), which is equivalent to an overdamped pendulum.

The aim of any border detection process is to capture the main structural properties of an image, which can be useful, for instance, for image compression or diagnosis in echocardiography (e.g., [24]). Usually, this kind of image processing involves the use of partial derivatives (gradient, Laplacian; e.g., [25]), which are discretized in the space domain and in the time domain. Here we propose a scheme based on a network where each unit is formed by a pair of dynamically coupled PLLs corresponding to a pixel of the image. Border detection is obtained from the network activity. Notice that such a model can be transformed into a dedicated hardware for executing this image processing task. Also it naturally presents space discretization, because it is composed of a finite number of PLLs. This feature plus the fact that the time domain does need to be discretized can reduce the stability problems related to the algorithms employed for numerically calculating partial derivatives.

2. Model of a Single Unit

Consider that the temporal activities of two first-order PLLs with dynamical coupling are described by the following equations:where and are the phase and the natural frequency of the oscillator , respectively; ( with ) is the connection strength from the oscillator to the oscillator ; () is the coefficient related to the Hebbian connection modification; and represents a natural (exponential) decay. The parameters , , and are positive numbers. Thus, the connection strengths are enhanced when the oscillators are in phase, and they are weakened when they are out of phase. This kind of (synaptic) modification between two oscillators (neurons) was suggested by Hebb [26].

By defining ; ; ; , system (2.1) can be rewritten asThe variables and represent the phase difference and the average connection strength, respectively. Notice that (). The formation of synchronized clusters in networks of phase oscillators described by system (2.2) was investigated by Seliger et al. [27]. In this section we study the asymptotic behaviors of this model.

Synchronism occurs when both nodes oscillate in a common frequency, which means that or . Thus, synchronism can happen if there are constants so that if then and for all time . Notice that a synchronous solution is an equilibrium point of the dynamical system (2.2). Such a solution corresponds to an intersection point of the nullclines () and ().

The stability of an equilibrium point can usually be determined by calculating the eigenvalues of the Jacobian matrix corresponding to system (2.2) linearized around this point. It is asymptotically stable when all eigenvalues have negative real parts (e.g., [28]). For system (2.2), the eigenvalues are the roots of the polynomialAccording to the Routh-Hurwitz criterion, both roots of the polynomial have negative real parts if and (e.g., [29]).

When , the equilibrium points are , , , , where and are asymptotically stable, and and are unstable.

When , there are also four equilibrium solutions if . The points withare asymptotically stable; the ones withare unstable. When , there are only two equilibrium points because two saddle-node bifurcations (e.g., [28]) occur. When , there is not synchronism; however, there is a limit cycle, which corresponds to a closed and isolated trajectory in the state space .

For an autonomous two-dimensional system, Poincaré-Bendixson theorem (e.g., [28]) ensures that there is an asymptotically stable limit cycle in a region of the state space if the vector field points inward everywhere on the boundary of this region, which must not contain any equilibrium point. For system (2.2), it is easy to verify that if , then there is such an attracting trajectory inside the region , where is the rectangle given by for . In this case, oscillates and grows as the time goes by, as shown in Figure 2. Figure 1 illustrates the case with synchronous (equilibrium) asymptotic solution.

In order to analytically characterize the limit cycle, suppose that the asymptotic behavior of in this case is given by . By inserting this approximated (linear) solution in the equation for and integrating it, the asymptotic solution of iswhere and . By substituting this expression in the equation for in (2.2), an equation for calculating is found. In fact, is the root of the polynomialObserve that when , then the angular velocity can be written as , with . The value of is estimated byConsequently, the oscillation amplitude of when is

For instance, for , , and , these approximated expressions give and , which are in good agreement with the numerical solutions of system (2.2) shown in Figure 2.

3. Network for Detecting Figure Border

Our two-dimensional network for detecting figure border is composed of units consisting of a pair of phase oscillators forced by an external input . In this network, the coefficients and can vary with the time. Thus, system (2.2) is rewritten as

Assume that a black-and-white figure will be presented to this network, as illustrated in Figure 3(a). The variable represents the input for each unit according to the following rules: corresponds to a white part of the figure; corresponds to a black part. Notice that the input can be translated into a new natural frequency by defining . Thus, system (3.1) is reduced to system (2.2) if is a constant.

Each unit is coupled with its four closest neighbors (left, right, up, and down), which is usually known as four-neighborhood in image processing literature (e.g., [30]) or von Neumann neighborhood in cellular automaton literature (e.g., [31]). As a consequence of this coupling, the value of for each cell is given byThe parameter is a settling time; where is a positive number (here ); where if ; and if . The value of is obtained bywhere is the time step (here ) of the integration method (here fourth-order Runge-Kutta method) used for numerically solving the dynamical system. The variable corresponds to the average connection strength of the closest neighbor . If the neighbor does not exist, then .

An image is presented to the network at . For , all the units behave as if they were isolated, because the value of for each unit is independent of the neighbor activity. By taking for all units , , , , , and , the units with will tend to a stationary solution and the units with will tend to a limit cycle, as explained in the last section. For these parameter values, the permanent regime was already reached when , as shown in Figures 1 and 2.

At , the value of for each unit can be changed. Expressions (3.2) and (3.3) imply what follows. If all of its four neighbors are in a limit cycle (), then the value of is increased from to ; if at least one neighbor is in a stationary state or if the unit does not have a complete von Neumann neighborhood (), then the value of is kept equal to . The limit cycle is characterized by oscillating with frequency and amplitude , and linearly growing with slope , as presented in the last section.

For and , and tend to a stationary activity, which in our model corresponds to the white color. Thus, at , the unique units remaining in oscillatory activity (the black color) are the ones in the figure border. Figure 3(b) shows the contour of Figure 3(a), after the units have reached the (new) permanent regime.

The higher the value of is, the shorter the transitory phase will be. Hence, border detection can be made faster by increasing the value of this parameter.

4. Conclusion

Networks governed by differential (e.g., [68, 10, 11]) or difference equations (e.g., [9, 32]) have been employed for image processing. Here we used a network with local and dynamical coupling for identifying contour of black-and-white images. The unit of such a network is the variant of the Kuramoto model [33] for two oscillators (neurons), which was proposed by Seliger et al. [27]. In our scheme, after applying the input corresponding to the figure, the value of for each unit is switched or not, depending on the neighborhood activity. This scheme could be implemented using first-order PLLs. This investigation could be extended for higher-order PLLs, which could be designed in order to shorten the transient.

Acknowledgment

L. Monteiro and J. Piqueira are partially supported by CNPq.