Abstract

The statistical arrangement of oriented segments in natural scenes was recently proposed to be indicative of a cocircularity rule. In particular, the probability density function of the relative position of two oriented segments was found to be maximal along fixed angles on the plane, consistent with the two segments being tangent to two points of a circle. Does this observation point to a prevalence of circles in natural scenes? Here we demonstrate that similar statistics can be obtained even when circles are not very common in visual scenes. The reason is that circles or near circular objects can heavily skew the distribution in favor of the cocircularity rule.

1 Observations From Natural Scenes

An interesting recent work by Sigman, Cecchi, Gilbert, & Magnasco (2001) examines the relative placement of pairs of oriented segments in natural scenes, and relates the observed statistics to the properties of the visual system. The authors use a filtering procedure to extract, from a large database of natural scenes, the probability of finding a short segment of orientation

*ψ*at a certain position relative to another short segment of orientation*ϕ*. They discuss both the scaling properties of natural scenes (essentially, how the probability above scales with the distance between the segments) and their spatial structure (how it varies along the circle, at a given distance).Here we are concerned only with the spatial structure. Let us define as

*ϑ*the angle at which the second segment may occur, at a fixed distance from a first segment placed at the origin. The observation made in the study by Sigman et al. (2001) is that the probability*p*(*ϑ*) is maximal, with very good precision, at*ϑ** = (*ψ*−*ϕ*)/2. This is exactly what one would expect if the segments were mostly oriented so as to be tangent to circles of arbitrary size, because circles always contribute to*p*(*ϑ*) at*ϑ**. One possibility for generating this cocircularity rule is, therefore, that natural visual scenes typically include an abundance of circles. In the discussion of Sigman et al. (2001), the authors conclude that “[The line and the circle] are, in the same order, the most significant structures in natural scenes.” However, they also note that “Cocircularity in natural scenes probably arises because of the continuity and smoothness of object boundaries; when averaged over objects of vastly different sizes present in any natural scene, the most probable arrangement for two edge segments is to lie on the smoothest curve joining them, a circular arc. These ideas, however, require an investigation that is beyond the scope of this paper.”Our aim was to investigate the cocircularity hypothesis by constructing visual scenes consisting only of simple geometrical objects, of which circles are a subclass. We used ellipses and stadia (two semicircles connected by straight lines). We found that circles need not be a very significant structure to obtain the statistics observed in

*p*(*ϑ*) (Sigman et al., 2001). The observed statistics arise, in our constructed scenes, from the fact that circles give a contribution to*p*(*ϑ*) concentrated exclusively at*ϑ**, while noncircular shapes contribute to the distribution in a range around*ϑ**. We note that although we have chosen to consider only closed smooth contours, our analysis easily generalizes to segments of these contours. The conclusions would be the same. The presence of a few circular arcs would also give a singular contribution to cocircularity. We propose that an effective over-weighting of circles together with the presence of smooth closed objects may be a possible explanation for the cocircular statistics observed by Sigman et al. (2001).2 Simple Models of Visual Scenes

We constructed model scenes consisting only of contours of simple geometrical objects, at random positions and orientations. We first note that the distribution

*p*(*ϑ*) can be broken down into two parts. One part includes the contributions from pairs of line segments belonging to different objects. This part is a constant with respect to*ϑ*, because the relative positions and orientations of the different objects are random. The other part includes the contributions from the pairs belonging to the same object. This part, which we redefine as our new*p*(*ϑ*), is responsible for any nonuniform features in the distribution of*ϑ*values. Second, we note that objects whose contours include sharp angles are unlikely to favor any particular orientation. This is intuitive for very irregular polygons, but it also holds for more regular geometric shapes consisting of straight edges, such as rectangles. For example, with a square, the only possible (nonzero) orientation is given by two lines at*π*/2, and the angle*ϑ*between them can range from 0 to*π*/2. We therefore limit our objects to smooth closed contours. It is smoothness in the contours that should induce, as noted by Sigman et al. (2001), nonuniformity in*p*(*ϑ*). For simplicity, we consider just two smooth geometrical shapes: stadia and ellipses.A stadium is defined to be two semicircles of radius

*r*, connected by two straight lines of length*a–r*(Figure 1). An ellipse is specified by a semimajor axis*a*and a semiminor axis*r*(Figure 2). Because we are not interested in scaling properties, we set*r*= 1 without loss of generality, and take the elongation of both shapes to be parameterized by*a*, with*a*> 1. (Stadia have total length*a*+ 1 and ellipses have total length 2*a*.) For*a*= 1, both shapes reduce to circles. Our elongation statistics are thus given by setting a model distribution*p*(*a*). Any*p*(*a*) that includes a finite density at*a*= 1 will include circles, although the number of exact circles in any large sample of shapes will be, strictly speaking, zero (because we are considering probability densities for the continuous parameter*a*). Without loss of generality, we take our shapes to intersect the origin tangent to the*x*-axis, so that*ϕ*= 0. We are thus left with an orientation angle*ζ*between the main axis of the shape and the*x*-axis. Circles are, of course, indifferent to the orientation angle.Figure 1

Figure 1

Figure 2

Figure 2

We can now consider

*p*(*ϑ*) when presented with ellipses and stadia with a given statistical distribution*p*(*a*), and with*p*(*ζ*) ≡ 1/(2*π*). Note that in Sigman et al. (2001),*p*(*ϑ*) was calculated by scanning each visual scene for edges and then computing the relative placement of oriented segments for the entire scene. Segments at orientation*ϕ*were compared to those at orientation ψ. The distribution*p*(*ϑ*) was then extracted by averaging over all orientations for a fixed*ϕ−ψ*, and over an ensemble of scenes. For computational ease, they considered 16 discrete angular values. In our model scenes, the equivalent calculation is to take each shape in the scene and translate it to the origin so that it is tangent to the*x*-axis, and then take all orientations*ζ*of the object. Thus*ϑ*is the angle to the location of a point on the shape that is tangent to a*ψ*-oriented segment. We also consider a continuum of angles.2.1 Stadia

For two segments tangent to the end-circles of a stadium, elementary geometry shows that the relative angle

*ϑ*for*ϕ*= 0 is given by*ϑ*=*f*(*ζ*,*ψ*;*a*), where and*ζ*is the orientation of the stadium, with*ζ*= 0 corresponding to the straight edge of the stadium being parallel to the*x*-axis. As seen in Figure 1, Equation 1 was derived by observing that the rotation of the stadium by*ζ*is equivalent to rotating a circle of unit radius about the point (0,1), with center located a distance*a*away from (0,1). By symmetry, we need only to focus on the range 0 ≤*ζ*≤*π*/2 (see Figure 1). The stadium also constrains*ψ*to the range*ζ*≤*ψ*≤*π*+*ζ*. Note that tan^{−1}[(1−cos*ψ*)/(*a*−1+sin*ψ*)] ≤ ϑ ≤ tan^{−1}[(*a*−cos*ψ*)/sin*ψ*], for 0 ≤*ζ*≤*π*/2.When

*ζ*= 0, the straight edge of the stadium is tangent to the*x*-axis. Thus there is a range of positions the stadium can take and still maintain tangency. As seen in Figure 1, the stadium can be slid along the axis, from one end of the straight edge at the origin, to the other end. In this case where*s*, 0 ≤*s*≤*a*−1, is the distance from the origin to the right end of the stadium straight edge. Applying the limits of*s*to Equation 2 and applying the half angle formula for tangents shows that sliding along the*x*-axis will imply tan^{−1}[(1−cos*ψ*)/(*a*−1+sin*ψ*)] ≤*ϑ*≤*ψ*/2 ≡*ϑ**. For values greater than*ψ*/2, we must consider sliding along the*y*-axis.Two further contributions should be considered. The first is for

*ψ*=*ζ*, that is, when the second segment is tangent to the straight edge of the stadium. This contribution, once integrated over*ζ*, is equivalent to the contribution above, integrated over*s*(by symmetry, exchanging end-circle and straight edge). A factor of 2 is, therefore, all that is needed. The second contribution is from segments that are both tangent to the same end-circle, that is for*ψ*≤*ζ*. This is obviously, and without further calculation, a pure cocircularity contribution, implying*ϑ*=*ψ*/2.We constructed the

*a*-dependent angular distribution*p*(*ϑ*|*a*). The full distribution*p*(*ϑ*) is computed by integrating over a distribution of elongations*a*that is present in our mock visual scene. We consider the contribution to*p*(*ϑ*|*a*) from rotating*p*_{r}(*ϑ*|*a*) and sliding*p*_{s}(*ϑ*|*a*) separately: which reduce toEquation 5 cannot be solved in closed form but we note that for parameter

*a*large,*f*(*ζ*,*ψ*,*a*) is nearly linear in*ζ*. Thus*p*_{r}(*ϑ*|*a*) is a function which is nonzero and nearly constant between tan^{−1}[(1−cos*ψ*)/(*a*−1+sin*ψ*)] and tan^{−1}[(*a*−cos*ψ*)/sin*ψ*], with total area equal to one. When*a*is near 1,*p*_{r}(*ϑ*|*a*has a very large amplitude near ϑ = tan^{−1}[(1−cos*ψ*/sin*ψ*] =*ψ*/2 (using the tangent half-angle formula). Thus, in the limit*a*→1,*p*_{r}(*ϑ*|*a*→*δ*(*ϑ*−*ψ*/2).Evaluating the sliding contribution (Equation 6) yields where tan

^{−1}[(1−cos*ψ*)/(*a*−1+sin*ψ*)] ≤*ϑ*≤*ψ*/2.*p*_{s}(*ϑ*|*a*is maximal at*ψ*/2. Sliding along the*y*-axis will give the contribution for*ϑ*≥*ψ*/2, which decreases with*ϑ*. Again we find that this distribution is confined to a range around*ψ*/2 with a maximum at*ψ*/2. As*a*→1,*p*_{s}(*ϑ*|*a*→ 2*δ*(*ϑ*−*ψ*/2).Thus, for a visual scene consisting exclusively of stadia with a distribution of elongations

*a*, we find that*p*(*ϑ*) will have a maximum near*ψ*/2≡*ϑ**, indicating cocircularity, as observed in Sigman et al. (2001). The presence of a very small number of stadia with*a*near 1 (near circular) will contribute significantly to*p*(*ϑ*) at*ϑ*=*ϑ**. This will remain true when sampling only at discrete angles. We note that this result is perhaps not too surprising as the stadium is composed of two semicircles. In the next section, we consider ellipses where no arc segment is circular, and find similar results.2.2 Ellipses

We now consider the distribution for a family of ellipses. For simplicity, we first consider the case

*ψ*=*π*/2 (see Figure 2). We generalize to arbitrary*ψ*later. We first calculate*p*(*ϑ*|*a*), which is the distribution of*ϑ*for ellipses with elongation*a*. We then calculate*p*(*ϑ*) for several distributions of elongations*p*(*a*). By symmetry, we again only need to consider orientation angles 0 ≤*ζ*≤*π*/2. The ellipse is described by the following equation: whereAt the location (

*x*_{1},*y*_{1}) (the point where the tangent to the ellipse is vertical),*dy/dx*= ∞. With this condition and Equation 8, we can solve for*x*_{1}and*y*_{1}. Because tan*ϑ*=*y*_{1}/*x*_{1}, we find and tan^{−1}(1/*a*) ≤*ϑ*≤ tan^{−1}(*a*).Considering all orientations, 0 ≤

*ζ*≤ 2*π*, we find and*p*(*ϑ*|*a*) = 0 outside of the range tan^{−1}(1/*a*) ≤*ϑ*≤ tan^{−1}(*a*). With Equation 12, we obtain the distribution*p*(*ϑ*) viaFrom Equation 12, it is apparent that

*p*(*ϑ*|*a*) reaches a minimum value of (2/*π*)(*a*^{2}+1)/(*a*^{2}−1) at*ϑ*=*π*/4. The height of this minimum however increases as*a*→1, and the width of the distribution decreases. As an example, we plot*p*(*ϑ*|*a*=1.2),*p*(*ϑ*|*a*=2) and*p*(*ϑ*|*a*=4) superimposed in Figure 3. For a given elongation*a*,*p*(*ϑ*|*a*) is restricted to a finite range around*ϑ**=*π*/4 but with a*minimum*at*π*/4. Thus, for a visual scene of ellipses of a single elongation, cocircularity is not dominant.Figure 3

Figure 3

However, as

*a*decreases, the width will decrease and the height will increase. In the limit of*a*→1,*p*(*ϑ*|1) →*δ*(*ϑ*−*π*/4) because its integral equals 1, while the interval over which it differs from zero vanishes, tan^{−1}(*a*)−tan^{−1}(1/*a*) → 0. Hence, in a visual scene that includes ellipses with a distribution of elongations, if*p*(*a*) is nonzero near*a*= 1, (i.e., the distribution includes near circular ellipses), then*p*(*ϑ*) can reach a maximum at*ϑ*=*π*/4 (instead of a local minimum). The presence of a few near circular objects can skew the distribution toward cocircularity.To illustrate this point, we construct scenes with ellipses at random positions and orientations, with elongation

*a*sampled from three different distribution functions. The first is the Γ distribution where σ > 0 is a parameter. This distribution peaks at*a*= 1+σ. The second is the triangular distribution Here*a*_{0}and*a*_{max}are the parameters. The third is the uniform distributionIn Figure 4, we show an example of the scene when

*a*is sampled from the Γ distribution with*σ*= 0.5. As can be seen, nearly circular ellipses are rare.Figure 4

Figure 4

Using Equations 12 and 14–16, we can numerically integrate Equation 13 to get

*p*(*ϑ*). In Figure 5, we plot*p*(*ϑ*) for three cases of*p*(*a*): a Γ distribution with*σ*= 0.5; a triangular distribution with*a*_{0}= 1.2 and*a*_{max}= 4; and a uniform distribution with*a*_{max}= 4. From the curves, we find that*p*(*ϑ*) always peaks at*ϑ*=*π*/4. The flat distribution has a significant peak at*ϑ*=*π*/4.Figure 5

Figure 5

Results similar to those for

*ψ*=*π*/2 can be obtained for other values of*ψ*. In the general case, however, it is tedious to derive an analytical expression for*p*(*ϑ*). We demonstrate the results, therefore, with computer simulations. Through a derivation similar to the one for the case of*ψ*=*π*/2 we find whereWe obtain

*p*(*ϑ*) by sampling*ζ*uniformly from (0,*π*) and by sampling*a*from the three distributions used for the case of*ψ*=*π*/2. For each sampled pair of*ζ*and*a*, we calculate*ϑ*using Equation 17. By constructing the histogram of the resulting values of*ϑ*, we get*p*(*ϑ*). The results for three values of*ψ*are shown in Figure 6 (*ψ*=*π*/8), Figure 7 (*ψ*=*π*/4), and Figure 8 (*ψ*= 3*π*/8). The number of sampling points is 500,000. As can be seen in these figures, the distributions are always peaked at*ϑ** =*ψ*/2, in exact agreement with the cocircular statistics observed by Sigman et al. (2001).Figure 6

Figure 6

Figure 7

Figure 7

Figure 8

Figure 8

3 Implications

The authors of Sigman et al. (2001) discuss their findings in relation to properties of the visual system. They also relate them to psychological notions, such as the Gestalt idea of good continuation (Kofka, 1935; Wertheimer, 1938). These implications are not affected by our remark. We were intrigued by the thought that circles were a significant structure in natural scenes, independently of how our brain might strive to simplify them. We find that closed smooth objects will contribute to

*p*(*ϑ*) in a restricted range around the value for pure circles, and that even a small number of nearly circular objects can give statistics indicating cocircularity. We propose that the results of Sigman et al. (2001) may simply indicate that there are many closed smooth contours in natural visual scenes.Acknowledgments

We thank the gracious hospitality of the Institute for Theoretical Physics, where a seminar by C. Gilbert inspired this work. We also wish to thank D. Kleinfeld for his encouragement and his stimulating questions. This work is partially supported by the National Institutes of Health (C.C.), the A.P. Sloan Foundation (C.C.), and the Howard Hughes Medical Institute (D.Z.J.).

Commercial relationships: none.

References

Kofka, K.
(1935). New York: Harcourt & Brace.

Sigman, M.
Cecchi, G. A.
Gilbert, C. D.
Magnasco, M. O.
(2001). On a common circle: Natural scenes and Gestalt rules. Proceedings of the National Academy of Sciences of the United States of America, 98, 1935–1940.
[CrossRef] [PubMed]

Wertheimer, M.
(1938). London: Harcourt, Brace & Jovanovitch.