 Research
 Open access
 Published:
Circular contour retrieval in realworld conditions by higher order statistics and an alternatingleast squares algorithm
EURASIP Journal on Advances in Signal Processing volume 2011, Article number: 112 (2011)
Abstract
In realworld conditions, contours are most often blurred in digital images because of acquisition conditions such as movement, light transmission environment, and defocus. Among image segmentation methods, Hough transform requires a computational load which increases with the number of noise pixels, level set methods also require a high computational load, and some other methods assume that the contours are onepixel wide. For the first time, we retrieve the characteristics of multiple possibly concentric blurred circles. We face correlated noise environment, to get closer to realworld conditions. For this, we model a blurred circle by a few parameterscenter coordinates, radius, and spreadwhich characterize its mean position and gray level variations. We derive the signal model which results from signal generation on circular antenna. Linear antennas provide the center coordinates. To retrieve the circle radii, we adapt the secondorder statistics TLSESPRIT method for noncorrelated noise environment, and propose a novel version of TLSESPRIT based on higherorder statistics for correlated noise environment. Then, we derive a leastsquares criterion and propose an alternating leastsquares algorithm to retrieve simultaneously all spread values of concentric circles. Experiments performed on handmade and realworld images show that the proposed methods outperform the Hough transform and a level set method dedicated to blurred contours in terms of computational load. Moreover, the proposed model and optimization method provide the information of the contour grey level variations.
1 Introduction
Blurred contours occur very often in images, owing to object movements, light transmission environment, illumination changes, defocus, optical instrumentation, etc. Light has recently been shed on the characterization of contours, regions, or objects which are not simply defined by a onepixel wide contour [1, 2].
Circle fitting problems can be applied to several industrial fields, such as the test of mechanical parts in manufacturing, and quality inspection for food industry. For these applications, the detected images are often affected by correlated Gaussian noise. Also, the expected objects may rely on a surface which yields an image background that can be assimilated to correlated Gaussian noise. In these cases, how to effectively estimate circle or circlelike contour is an interesting problem. Several methods were proposed in the last few years.
First, regionbased segmentation methods aim at distinguishing between sets of pixels of the image, referring to properties such as color, texture [3], or object repartition which yields mathematical morphology methods [4, 5]. Unsupervised classification was recently performed with Hidden Markov Random Fields (HMRF) [2].
Second, contourbased segmentation methods aim at retrieving the sets of pixels which form the contours themselves. Generalized Hough transform (GHT) [6] method detects the object's outline by organizing an accumulatortype parameter space and mapping each point in the image into a surface in the parameter space. Although it is robust to partial or slightly deformed shapes and tolerant to noise, its computational load increases dramatically with the number of edge points. Besides, GHT also requires a huge storage space even if hierarchical search is adopted. Ordinary or total leastsquares methods for circle fitting seek to minimize the squares sum of erroroffit with respect to measures [7, 8]. Using geometric fitting [7], error distances are defined with the orthogonal, or shortest, distances from given points to the geometric feature to be fitted. In [8], a leastsquares fitting approach is proposed. It is based on the hypothesis that a set of circular arcs extracted from the image is related to a set of circles contained in a model by translation, rotation, and scaling. These methods are restricted to onepixel wide contours and are sensitive to noise. A recent model for active contours based on the techniques of curve evolution considers blurred contours as contours which are not necessarily defined by gradient. It was adapted from the level set paradigm [9], and was proposed to segment contours "without edges" [1]. In [10], a solution combining the geodesic active contour approach and interpolation constraints is provided to improve the convergence of level sets in the case where the image is noisy and the contours are not well defined. The main weakness of this method is that the a priori knowledge of interpolation points is required, so that the method is not entirely blind. More recently, in [11], a level settype method for segmentation in harsh conditions such as high level noise, using a shape prior and a deformable contour, is proposed. Still, it is not entirely blind. In [12], the authors present a novel fast model for active contours to detect objects in an image, based on techniques of curve evolution. The proposed model can detect objects whose boundaries are not necessarily defined by gradient. Considering contours which are not necessarily defined by gradient constituted a very valuable advance but these methods suffer from an elevated computational load. An effort has been recently dedicated to the reduction of the computational load of level set algorithms [13], but no specific effort is done to face blurred contours. It is feasible to establish the analogy between source localization in array processing [14, 15] and contour detection in image processing. Still in the field of contourbased segmentation methods, Aghajan et al. [16, 17] first proposed to transfer array processing methods to the field of image processing with a view to characterize straight lines. Their basic idea was to associate the processed image with a virtual linear antenna. Then, Marot et al. [18, 19] extended this method to multiple circle retrieval while proposing a virtual circular antenna. Virtual antennas and associated subspacebased methods of array processing are restricted to onepixel wide line [17] retrieval, and onepixel wide circle retrieval [18] in a noncorrelated Gaussian noise environment. The purpose of this article is the detection of circles in conditions which are as close as possible to realworld ones. We propose to detect multiple concentric circles which may be blurred. More precisely, we look for the following parameters of interest: the center coordinates, the radius, and the spread. We propose a method based on higherorder statistics to retrieve radius values in a correlated noise environment, and an alternating leastsquares (ALS) optimization method [20] to retrieve the spread parameters of concentric contours. Thereby, we overcome the limitations of the Hough transform [6] which does not characterize the contour blur, we propose fast methods which characterize the expected contours by a few parameters, as opposed to level set type methods [1] which rely on a computationally costly evolution of the active contour. We also improve previous studies which transposed array processing methods into the image processing community [16, 18, 21–24] by considering contours which are no longer onepixel wide. The remainder of the article is organized as follows: Section 2 states the problem of detecting multiple circles in a noisy environment. We propose a model for the grey level variations of a blurred circle. In Section 3, we explain how to locate the center of the expected blurred circles. In Section 4, we derive the models for the signals which are obtained when concentric blurred circles are present, and we apply generation on the circular antenna. In Section 5, we consider multiple radii estimation: first, we adapt the TLSESPRIT (Total Least Squares Estimation of Signal Parameters by Rotational Invariance Techniques) method [15] based on secondorder statistics in noncorrelated noise environment; second, we propose a new version of TLSESPRIT method, based on higherorder statistics, which faces correlated noise. In Section 6, we propose an ALS method, to retrieve the spread values of concentric circles. The ALS process permits to estimate recursively all spread values by taking into account the other estimated values. In Section 7, we propose a discussion about the validity domain of the proposed formalism, and present typical results that can be obtained by the proposed methods in this domain of validity. After concluding the paper in Section 8, we develop some calculatory aspects and show how to retrieve the circle centers in an annexe (Section 9).
2 Problem statement
This section states the problem of detecting multiple circles in a noisy environment. We are interested in realworld conditions. In practice, contours are often blurred because of the acquisition conditions, like a bad focus, diffraction, movement, etc. Moreover, some detectors, preamplifiers, and sampling circuits can be responsible for correlated noise. This type of noise occurs in many imaging systems such as scanners and those containing pushbroom sensors. Also, in some nondestructive control applications, the tested objects are imaged over a background whose regular texture is such that it can be considered as correlated noise. For instance, the treadmills for food products transportation have a regular structure. That is why, in this article, we aim at characterizing blurred circular contours in noisy environment, in particular in images which contain correlated noise. For this, we provide a model for the image containing the expected circular blurred contours, called further in this article the processed image. We also provide a model for the grey level variations of the expected contours. Let I(l, m) be an N × N recorded image (see Figure 1). This image contains several blurred circles (two in the example of Figure 1) characterized by center coordinates {l_{ c }; m_{ c }}, a center radius r_{0}, and a width 2r_{ f }. The center radius r_{0} is defined by the location of the pixels which have maximum grey level value. These pixels define the center circle. Previous studies [21–24] consider contours which are only one pixelwide. In this article, a contour is no longer restricted to a one pixelwide feature. A contour is defined by nonzero grey level values aside the center circle, at a maximum distance r_{ f }on each side of the center circle. The image background is composed of pixels with value 0. In addition to the expected circles, an additive identically distributed noise, whose grey level values follow a Gaussian distribution, impairs part of the pixels of the image. This noise may be correlated.
The variations of the grey level values aside the center circle are modeled as an exponential function of the distance to the center circle. We expect that the exponential distribution, for instance a Gaussian distribution, of the gray level values, facilitates the transfer of array processing methods to the considered parameter estimation issue. For one circle with the parameters cited above, the grey level values I(l, m) are then defined as follows:
where σ is a spread parameter: the larger σ, the slower the grey level values decrease aside the center circle.
Referring to Equation 1, \frac{G}{\sqrt{2\pi}\sigma} is the maximum gray level value. It holds for the pixels of the center circle. The parameter G is such that \frac{G}{\sqrt{2\pi}{\sigma}_{min}}=1 in a noisefree image, σ_{min} being the minimum spread value among all contours. The first step among the proposed algorithms consists in the retrieval of the center of the blurred circles. This is explained in the following section.
3 Retrieval of the center by signal generation on linear antennas
In realworld conditions, it is common that several contours are expected in the same image. We explain in this section how to retrieve the center coordinates of several blurred circles. We generate signal components z_{lin}(l), l = 1,..., N, on a linear antenna placed either at the left side or the bottom side of the image. The l th signal component, generated from the l th row, reads: {z}_{\mathsf{\text{lin}}}\left(l\right)={\sum}_{m=1}^{N}I\left(l,m\right)exp\left(j\mu m\right), where μ is a generation, or "propagation" parameter [16]. The nonzero sections of the signals, as seen at the left and bottom sides of the image (see Figure 2), indicate the presence of circles. Each nonzero section width in the left (respectively the bottom) side signal gives the height (respectively the width) of the corresponding expected contour. The middle of each nonzero section in the left (respectively the top) side signal yields the value of the center l_{ c }(respectively m_{ c }) coordinate of each circle. To associate the l_{ c }parameter of a given circle with its m_{ c }parameter, we associate the nonzero sections which have same length in the left antenna and the bottom antenna signals.
This process is the first step of all proposed algorithms. Indeed, after detecting the center of the expected circles, a virtual circular antenna provides signals which can be analyzed to retrieve the radius and spread of the blurred circular contours. The knowledge of the center coordinates permits to adapt a specific signal generation technique and to estimate the other parameters of the contours. This is the purpose of the following sections.
4 Signal generation on circular antenna and signal models
In this section, we remind a signal generation process proposed in [18], and derive the signal model which holds for the signals generated out of an image containing a circular blurred contour.
4.1 Virtual circular antenna
The basic principle of the circular antenna is to get, out of the twodimensional processed image, a onedimensional signal which can be analyzed by secondorder or higherorder statistics. For this, we adapt the shape of the antenna to the shape of the expected contour. In [16, 21, 22], a linear antenna is adapted to get a linear phase signal out of an image containing (possibly slightly distorted) straight lines. In [18], circular contours are expected. Therefore, a circular antenna is adapted, so that a circular contour in the image yields a linear phase signal after signal generation on the antenna. As shown in Figure 3, the circular antenna is composed of S sensors equally distributed along a quarter of circle which is centered on the center of the expected contour.
Each antenna sensor indexed by i corresponds to a signal component denoted by z(i). The signal components z(i), i = 1,..., S are computed out of the image through the formula of Equation 2:
where D_{i} denotes a direction for signal generation (see Figure 3); the expression (l, m) ∈ D_{ i }means that the summation over pixels (l, m) is performed along the signal generation D_{ i }only; and μ is a propagation coefficient which is set by the user.
4.2 Signal model for concentric circular contours
Let us consider a onepixel wide circular contour, i.e., I(l, m) = 1 if \sqrt{{\left(l{l}_{c}\right)}^{2}+{\left(m{m}_{c}\right)}^{2}}={r}_{0} and I(l, m) = 0 otherwise. Referring to Equation 2, we get z(i) = exp(jμr_{0}) ∀i. As μ has a fixed constant value, this "constant speed" generation scheme yields signal components of same values.
To express I(l, m), we refer to Equation 1, and simplify it, denoting by Δr the shift between a pixel and the contour mean position. The blurred circular contour gray level variation is then
Referring to Equations 2 and 3, the generated signal components are formulated as
Following the results of the annexe (Section 9), we can turn the considered discrete calculation into a continuous case calculation:
Using the general formula of Equation 28, Equation 5 is rewritten as:
The intuition behind the approximation in Equation 5 is that, if σ is small enough compared with the number of pixels along the direction D_{ i }of signal generation, the discrete summation can be turned into an integral.
To fit the signal model of frequency retrieval methods, we adopt, instead of the fixed parameter μ, a propagation parameter whose value depends on the sensor index. That is, we choose μ = α(i  1), where α is a constant. The propagation parameter is therefore variable, hence the denomination of the "variable speed" scheme which provides, ∀i:
For a set of d concentric circular contours, and taking into account an additive noise due to the presence of noise pixels, a signal component z(i) reads:
where n(i) is a noise term. This also can be expressed as
with {\beta}_{k}=exp\left(\frac{{\sigma}_{k}^{2}{\alpha}^{2}{\left(i1\right)}^{2}}{2}\right),k=1,\dots ,d.
The signal components of Equation 9 form the vector z = [z(1), z(2), ..., z(S)]^{T}, where superscript "T" denotes transpose. As the signal vector z in Equation 9 contains several harmonics, we aim at retrieving its parameters with a frequency analysis method. This is the purpose of Section 5.
4.3 Note about the number of sensors
The circular antenna is centered on the topleft corner of the subimage selected from the processed image (see Figure 3). So, the maximum value of the contour center radius is N_{ S }, and the center circle of any circle is made of at most \frac{\pi {N}_{S}}{2} pixels. So that every contour pixel has an influence on the generated signal, the circular antenna should then have at least \frac{\pi {N}_{S}}{2} sensors.
5 Retrieval of the radii of concentric circles
In this section, we consider the estimation of the radii of concentric circles, in two cases: when noncorrelated Gaussian noise impairs the image, and when correlated Gaussian noise impairs the image. In the first case, we adapt TLSESPRIT method, which is based on secondorder statistics. In the second case, we propose an improved version of TLSESPRIT, which faces correlated noise using higherorder statistics.
5.1 Secondorder statistics for the estimation of the blurred circle radii
From Equation 9, we notice that the problem of radius estimation is similar to the retrieval of harmonics in several signal processing fields such as radar, sonar, communication. The resulting signal appears as multiple damped sinusoids with frequencies:
To solve this problem, we adapt TLSESPRIT (Total leastsquaresEStimation of Parameters by Rotational Invariance Techniques) algorithm [15]. TLSESPRIT algorithm requires the estimation of the covariance matrix of several snapshots. There are no timedependent signals. So, the question arises as how a sample covariance matrix can be formed. This can be done as follows [16]: from the observation vector we build P subvectors of length M with d < M ≤ S  d + 1:
z_{ p }= [z(p),..., z(p + M  1)]^{T}, p = 1, ..., P. To maximize the number of snapshots [21], the first component of a snapshot is the second component of the previous snapshot. This improves the estimation of the covariance matrix that is performed in TLSESPRIT algorithm. We obtain then P = S + 1  M snapshots. Grouping all subvectors obtained in matrix form, we get Z_{ P }= [z_{1},..., z_{ P }], where
A_{ M }= [a(r_{01}),..., a(r_{0d})] is a Vandermonde type matrix of size M × d: the i th component of a(r_{0k}) is exp(jα(i  1)r_{0k}). s is a length d vector equal to [β_{1}, β_{2}, ..., β_{ d }]^{T} and n_{ p }= [n(p),..., n(p + M  1)]^{T}.
The signal model of Equation 11 suits TLSESPRIT method, a subspacebased method that requires the dimension of the signal subspace, i.e., in this problem, the number of concentric blurred circles. Minimum description length (MDL) criterion [25] estimates the dimension of the signal subspace [16] from the eigenvalues of the covariance matrix. TLSESPRIT is applied on the measurements collected from two overlapping subarrays, and falls into two parts: the covariance matrix estimation and the minimization of a totalleastsquares criterion. The estimated radius values are obtained as [15]:
where \mathcal{I}m denotes imaginary part, λ_{ k }, k = 1,..., d are the eigenvalues of a diagonal unitary matrix. It relates the measurements from the first subarray with the measurements resulting from the second subarray. The values of the radii of all concentric circles are known at this point, and can be used to retrieve the spread values. This is the purpose of Section 6.
In some cases, the noise which impairs an image is correlated. In the next section, we show how to take this into account.
5.2 Extension to correlated noise environment with higherorder statistics
In a correlated noise environment, we consider the estimation of the contour parameters by a higherorder statistics method to suppress the noise [26]. The idea behind the proposed algorithm is based on the wellknown cumulant property stating that the higherorder cumulants of a Gaussian variable are null [27]. In the following, we introduce a novel method, which is inspired by TLSESPRIT, but includes the computation of higherorder cumulants. As well as in the TLSESPRIT method, the signals generated out of the image are spatially smoothed, and these signals (see Equation 11) can be rearranged as follows
Where M = S  P + 1 and d < M ≤ S  d + 1. For every snapshot, \mathcal{X}\left(p\right)={A}_{M}s\left(p\right)+n\left(p\right), where p = 1, ..., P, A_{ M }= [a(r_{1}), a(r_{2}), ..., a(r_{ d })] with k th column a(r_{ k }) = [1, exp(jαr_{ k }),..., exp(jα(M  1)r_{ k })]^{T}, and s(p) = [β_{1},..., β_{ d }]^{T}. A fourthorder cumulant matrix is then appropriately defined as
Then, we propose a novel variant of TLSESPRIT algorithm. In order to follow the key steps of classical algorithm [15], we derive four (M  1) × (M  1) submatrices:
We reconstruct these four submatrices and apply singular value decomposition (SVD) operation. Some detection methods, such as MDL, can be used to estimate the number of sources by applying the eigendecomposition operation for the cumulant matrix in place of the covariance matrix.
The overall process based on higherorder cumulant can be summarized as follows:

(1)
Form the matrix {C}_{\mathcal{X}\mathcal{X},4} by Equations 13 and 14;

(2)
Generate four submatrices from Equation 15 and reconstruct the matrix C as:
C=\left[\begin{array}{cc}\hfill {C}_{11}\hfill & \hfill {C}_{12}\hfill \\ \hfill {C}_{21}\hfill & \hfill {C}_{22}\hfill \end{array}\right](16) 
(3)
Perform SVD operation with C = EΛE^{H}, where Λ = diag(λ_{1},..., λ_{2(M1)}) with the eigenvalues λ_{1} ≥ ... ≥ λ_{d} ≥ ... λ_{2(M1)}, and λ_{1}, ..., λ_{d} correspond to the signal subspace.

(4)
Let E_{1} be the 2(M  1) × d upperleft matrix of E and E_{2} be 2(M  1) × d matrix obtained by deleting the first row of matrix E. Carry out the eigendecomposition
\begin{array}{c}\left[\begin{array}{c}\hfill {E}_{1}^{H}\hfill \\ \hfill {E}_{2}^{H}\hfill \end{array}\right]\left[\begin{array}{cc}\hfill {E}_{1}\hfill & \hfill {E}_{2}\hfill \end{array}\right]=F{\Lambda}_{F}{F}^{H};\\ F=\left[\begin{array}{cc}\hfill {F}_{11}\hfill & \hfill {F}_{12}\hfill \\ \hfill {F}_{21}\hfill & \hfill {F}_{22}\hfill \end{array}\right]\end{array} 
(5)
Extract the submatrices F_{ 12 }and F_{ 22 }, then find the eigenvalues {γ_{ k }} of {F}_{12}{F}_{22}^{1}.

(6)
Obtain each radius value as {r}_{0k}=\frac{1}{\alpha}Im\left(ln{\gamma}_{k}\u2215\left{\gamma}_{k}\right\right), k = 1,...,d.
The circular antenna also permits to distinguish particular cases while estimating the center coordinates (see Section 3). Indeed some particular cases may appear in this process: if no zero section appear, either the image is noisy or the contributions of all contours are added. A threshold depending on the maximum value of the modulus of the signal is applied. If there is no contour in the image, and only noise, no dominant values will appear in the modulus of the signal and no threshold can be applied. If there is noise and a contour which is not a circle, the linear antennas yield a center for this contour. Then, the algorithms presented in the current section which follow signal generation on circular antenna yield absurd results, which indicates that the detected contour is not a blurred circle. The case where several circles are present was partially solved: some solutions involving a circular antenna were proposed for circles with same diameter (see [18]), and for the case where two circles overlap (see [19]).
The values of the radii are now available, which permits to build a signal model for the estimation of the spread parameters. This is the purpose of the following section.
6 ALS optimization method for the estimation of the spread parameters
In the case where several blurred concentric circular circles are present, d radius values r_{0k}, k = 1,..., d and also d spread values σ_{ k }, k = 1,..., d must be estimated for each center. The spread values are included in the signal model proposed in Equation 8, as well as the radius values r_{0k}, k = 1,..., d. The values r_{0k}, k = 1,..., d are known at this point (see Section 5). Therefore, it is possible to retrieve these spread values by minimizing the squared Frobenius norm of the difference between the model signal and the signal generated out of the image on the circular antenna. This is an optimization problem involving several unknowns. An ALS algorithm is an adequate solution for this problem and already led to good results in the field of image processing [20]. Therefore, we propose to obtain the spread parameters by minimizing a least square criterion between the signal model proposed in Equation 8, and the signal generated from the image on the circular antenna. So, we start from the signal z = [z(1), z(2),..., z(S)]^{T} whose components z(i) are defined in Equation 8. The values r_{0k}, k = 1,..., d are used to obtain a model for the signal components z_{model}(i) defined in Equation 8. Let us then denote by z_{model} the signal whose components are z_{model}(i), i = 1,..., S, and let us denote by z_{image} the signal generated out of the image. With these notations, the vector of spread parameters σ can be estimated as follows:
which can be expressed as:
where J_{circle} denotes the criterion to be minimized.
The criterion J_{circle} does not depend linearly on the vector σ containing the d spread parameters to be estimated. Therefore, a linear optimization algorithm such as Newton method cannot be applied directly to get an estimate of the vector σ. That is why, all components {σ_{1}, σ_{2},..., σ_{ d }} of σ are estimated successively. To take into account the dependence between all spread values, we adapt an ALS algorithm. In one iteration of the ALS algorithm, the spread parameters are estimated successively. Once any spread value has been estimated, it must be taken into account for the estimation of the other spread values. So, this process is iterated. The ALS algorithm can be summarized in the following steps:

1.
Initialization It = 0: σ^{0} = [0,..., 0]^{T}

2.
ALS loop:
Repeat until convergence, i.e., J_{circle}^{2} < ϵ, with ϵ > 0 prior fixed threshold,

(a)
i. for k = 1 to d: adapt the Newton algorithm. We expect that Newton algorithm retrieves efficiently one parameter {\sigma}_{k}^{\mathsf{\text{It}}}, through the following loop: set q = 0. While q < q_{stop}:

A.
{\sigma}_{k}^{\mathsf{\text{It}}}={\sigma}_{k}^{\mathsf{\text{It}}}\lambda \frac{\partial \left({J}_{\mathsf{\text{circle}}}\left({\sigma}^{It}\right)\right)}{\partial {\sigma}_{k}^{It}}(19)

B.
q ← q + 1.
where λ is the step for the descent, and q_{stop} is the a priori fixed last iteration index of the loop.

ii.
Update the k th element of σ^{It} with the value of {\sigma}_{k}^{\mathsf{\text{It}}} obtained at iteration q_{stop};

iii.
Increment k;

ii.

(b)
Increment It;

A.

3.
output: {\sigma}_{\mathsf{\text{I}}{\mathsf{\text{t}}}_{\mathsf{\text{stop}}}} with It_{stop} being the last iteration after convergence of the ALS loop. In Equation 19, the partial derivative \frac{\partial \left({J}_{\mathsf{\text{circle}}}\left({\sigma}^{\mathsf{\text{It}}}\right)\right)}{\partial {\sigma}_{k}^{\mathsf{\text{It}}}} is expressed as follows:
\frac{\partial \left({J}_{\mathsf{\text{circle}}}\left({\sigma}^{\mathsf{\text{It}}}\right)\right)}{\partial {\sigma}_{k}^{\mathsf{\text{It}}}}=2*\frac{\partial \left({z}_{\phantom{\rule{0.2em}{0ex}}mod\phantom{\rule{0.2em}{0ex}}\mathsf{\text{el}}}\right)}{\partial {\sigma}_{k}^{\mathsf{\text{It}}}}*\left({z}_{\phantom{\rule{0.2em}{0ex}}mod\phantom{\rule{0.2em}{0ex}}\mathsf{\text{el}}}{z}_{\mathsf{\text{image}}}\right)(20)
where
\frac{\partial \left({z}_{\phantom{\rule{0.2em}{0ex}}mod\phantom{\rule{0.2em}{0ex}}\mathsf{\text{el}}}\right)}{\partial {\sigma}_{k}^{\mathsf{\text{It}}}}={\sigma}_{k}{\left(i1\right)}^{2}{\alpha}^{2}exp\left(j\alpha \left(i1\right){r}_{0k}\right)exp\left(\frac{{\sigma}_{k}^{2}{\left(i1\right)}^{2}{\alpha}^{2}}{2}\right)(21) 
(a)
The proposed ALS optimization algorithm provides the spread values. With the knowledge of the center coordinates, the radii and the spread values, the expected contours are entirely characterized. In the following section, we discuss the domain of validity of the proposed methods, and exemplify them on handmade and realworld images.
7 Discussion and results
In this section, experiments are performed on a PC running Windows equipped with a double CPU at 3.00 GHz. Unless specified, the experiments are performed in these conditions: we apply the proposed methods on images with size 200 × 200 pixels or more. To retrieve the center of the circles, we apply a signal generation scheme on linear antennas while setting a propagation parameter μ = 10^{3}. To estimate the radius (and spread in the case of blurred circles) of the expected contours, we use a circular antenna composed of S = 500 sensors, and we apply variable speed propagation scheme with a propagation parameter α = 2 10^{3}. While running Newton algorithm, the descent coefficient is λ = 0.5, and 200 iterations are performed.
First, we characterize blurred circles in a noisefree or noncorrelated Gaussian noise environment. Second, we characterize possibly blurred circles in a correlated noise environment. We compare the proposed method with Chan and Vese method [1]. The parameters which are adequate when running this method are as follows: the level is 0.7, the number of iterations is 50, and weighting terms for the energy are μ_{CV} = 0.03 * 255^{2}, ν_{CV} = 0, and λ_{CV1} = λ_{CV 2}= 1. In Section 7.1, we discuss the approximation which provides an integral out of a summation and which yields the proposed signal model for blurred circular contours in the annexe (Section 9); in Section 7.2, we study various cases of blurred circle retrieval and the computational load of proposed and comparative methods; in Section 7.3, we study the case where correlated noise impairs the image and blurred concentric circles are present in the image; and in Section 7.4 we analyze two images coming from a realworld context to quantify the effect of a Dove prism on a light beam.
7.1 Discussion about the approximation which yields an integral from a discrete summation
In this section, we discuss the approximation which yields Equation 29 in the annexe (Section 9). This is done with a view to giving an interval for the parameters of the problem where this approximation is valid. This permits to justify the experimental conditions chosen in the following subsections of this section. For a given propagation parameter μ, the parameters of interest in Equation 29 are the half number of pixels r_{ f }on which the summation is performed, and the spread parameter σ. We expect that the higher r_{ f }and the smaller σ, the smaller the difference between the two terms of Equation 29. We choose as maximum r_{ f }the value r_{ f }= 78, which is coherent with the size chosen for most of the images. This value is attained as soon as the subimage containing the expected quarter of circle has size 55 × 55, which is less than N. Viewing the size of the images, we fix the maximum value of σ to σ = 8.
In Section 4.2, a variable speed propagation scheme is chosen to fit the signal model of a frequency retrieval method. We set μ = α(i  1), ∀ i = 1,..., S. For α = 2 10^{3} and S = 500, the extreme values of μ are then 0 and 1. Therefore, for the propagation parameter μ = 1, for 100 values of r_{ f }equispaced between 42 and 78, and for 100 values of σ equispaced between 1 and 8, the relative error is computed as follows:
where \mathcal{L} and \mathcal{R} are the left and right terms of Equation 29, respectively, in the calculations developed in the Annexe (Section 9).
In the conditions of Figure 4a, the values of spread parameter σ are the highest, which draws us away from the best conditions for the validity of Equation 29. However, we notice that, as soon as the parameter r_{ f }is larger than 65, which is coherent with the size of the processed images, the relative error E_{ r }drops and is always less than 5%. Significant values are provided in Table 1.
From these significant values, we confirm that the relative error is always less than 1.5% as soon as r_{ f }is larger than or equal to 65 for values of σ which are up to 8. We notice also that, even for a rather large value of σ (7), the relative error is only 1.1 × 10^{6} when r_{ f }= 78.
As a conclusion to the study presented in this section, we assess that the approximation of Equation 29 is valid in the experimental conditions of this article.
7.2 Circular blurred contours: various cases
7.2.1 Handmade image containing one blurred contour
We consider an image which contains a blurred circle with following parameters: r_{0} = 45, center coordinates {l_{ c }, m_{ c }} = {120, 95}, and σ = 4. The estimated values are as follows: signal generation on left and bottom linear antennas yield {l_{ c }, m_{ c }} = {120, 95}, TLSESPRIT yields r_{0} = 44.6, and σ = 4.02. The computational loads are as follows: to estimate the center position 3.35 × 10^{2} s are required, to estimate the radius value with TLSESPRIT 7.9 × 10^{3} s are required, to estimate σ with Newton algorithm, 7.7 × 10^{3} s are required. In this case, the ALS loop is not run because there is only one spread value to retrieve. The total running time is 4.9 × 10^{2} s. To retrieve the contours corresponding to the blurred circle, Chan and Vese method requires 2.97 s, so 60 times more than the proposed method.
The processed image is provided in Figure 5a, the center circle with radius r_{0} = 44.6 is provided in Figure 5b, and the result image is provided in Figure 5c. The result provided by Chan and Vese method is provided in Figure 5d. We notice that the proposed method provides exactly the processed image, and that Chan and Vese method provides the inner and outer frontiers of the blurred contours, but not the whole information which permits to reproduce the expected contour.
Figure 6a provides the real part of the signal generated out of the image upon the circular antenna superimposed to the model signal, and Figure 6b provides the difference between generated and model signals. We notice that the maximum error value is less than 0.15. This justifies our choice for the contour model and assesses the derivation of the signal model corresponding to this contour model and the adopted signal generation method.
7.2.2 Handmade image containing three blurred contours and noise
The processed image (see Figure 7) contains three blurred circles. The image is impaired on 5% of the pixels with a Gaussian identically distributed noise with mean 0.4 and standard deviation 0.02.
The proposed methods are run to get first the center coordinates, and then the center radius and the spread of each contour. The actual and estimated parameters are presented in Table 2 (\widehat{.} holds for estimated):
All but the second radius values and spread values are just slightly overestimated, and Figure 7b,c exhibits satisfactory visual results. Figure 7d shows that the Chan and Vese method provides the inner and outer frontiers of the blurred contours, but also unexpected pixels due to the convergence onto noise pixels. On the contrary, the proposed method provides only the expected contours. The computational loads required by the proposed methods and comparative Chan and Vese method are as follows: center estimation requires 4.25 × 10^{2} s. Then for each circle, TLSESPRIT method requires 8.8 × 10^{3} s to estimate the radius. To estimate the spread parameter σ, Newton algorithm requires 4.8 × 10^{3} s. In this case, the ALS loop is not run because there is only one circle for each center, and so one spread value to retrieve for each center. The total running time for the proposed method is then 8.3 × 10^{2} s. For the image as a whole, the Chan and Vese method requires 2.64 s, so 31 times more than the proposed method.
Other experiments performed on noisy images have shown that the crucial parameter that measures the sensitivity of the method for center detection is the mean value of the noise. Indeed, the mean value of the noise must not be too elevated, so that the threshold applied to the image isolates the expected circles and so that zerosections appear in the generated signals. We consider that the method breaks down when at least one center is not found, or when the bias on one of its coordinates is more than two pixels. It does not happen when the mean value is less than 0.7, and it happens in the following conditions: when the noise mean value is 0.8 and the noise percentage is at least 75%, or when the noise mean value is higher than 0.8.
7.2.3 Handmade image containing a one pixelwide contour and a blurred contour
The processed image contains a sharp one pixelwide contour and one blurred circle (see Figure 8). The characteristic parameters of these circles are as follows: the radius values are r_{01} = 20 and r_{02} = 30, the center coordinates are {l_{c 1}, m_{c 1}} = {48, 135} and {l_{c 2}, m_{c 2}} = {156, 47}, and the spread parameters are σ_{1} = 0 and σ_{2} = 4.
The one pixelwide circle is detected as follows: we perform a test on the mean value of the derivative of z, where z is the signal whose components are defined in Equation 6, and . denotes absolute value. Indeed, when σ = 0, z is constant for all components of z. The estimated values are as follows:
\widehat{{r}_{01}}=21.4 and \widehat{{r}_{02}}=32.5, the center coordinates are \left\{\widehat{{l}_{c1}},\widehat{{m}_{c1}}\right\}=\left\{48,136\right\} and \left\{\widehat{{l}_{c2}},\widehat{{m}_{c2}}\right\}=\left\{156,47\right\}, and the spread parameters are \widehat{{\sigma}_{1}}=0 and \widehat{{\sigma}_{2}}=4.20.
We notice that in this case and with the parameters used in this section, the Chan and Vese method does not retrieve both blurred and sharp contours.
7.2.4 Handmade image containing two concentric blurred circles
In this experiment, we create a 600 × 600 image which contains two concentric circles with radius r_{01} = 75 and r_{02} = 195; the center coordinates are {l_{ c }, m_{ c }} = {330, 315}, and the spread parameters are σ_{1} = 9 and σ_{2} = 9 (see Figure 9). The number of sensors of the circular antenna is set to S = 1500. The estimated parameters are as follows:
\widehat{{r}_{01}}=75.4 and \widehat{{r}_{02}}=195.0, the center coordinates are \left\{\widehat{{l}_{c}},\widehat{{m}_{c}}\right\}=\left\{330,315\right\}, and the spread parameters are \widehat{{\sigma}_{1}}=9.1 and \widehat{{\sigma}_{2}}=9.2.
Figure 10a shows the difference between the signal generated out of the image and the signal model created with the parameters which characterize the contours, and Figure 10b shows the difference between the signal generated out of the image superimposed with the signal generated with the estimated parameter values. The relative error between the theoretical and the generated signals is 1.3 × 10^{2}, and the relative error between the estimated and the generated signals is 2.2 × 10^{5}. The estimated signal is closer to the generated signal than the model signal. This means that the proposed optimization method is effective; and that the slight bias on the estimated spread values may come from a digitization effect during signal generation on the circular antenna. For instance, if a onepixel wide circle is expected, two connected pixels of the circle can share either a side or a corner. Therefore, they are not always at the same distance from each other, and also not always at the same distance from the point which is considered as the center of the circle. In the case of a blurred circle, the same remark holds. Nevertheless, as shown by the relative error values and by Figure 10, the generated, model, and estimated signals remain rather close to each other even for a relatively small image. The estimation of the center coordinates requires 3.05 × 10^{2} s, the estimation of the two radius values by TLSESPRIT requires 9.6 × 10^{3} s, the estimation of the spread values with the proposed optimization method requires 6.9 × 10^{1} s. The total running time for the proposed method is then 7.3 × 10^{1} s. The Chan and Vese method requires 21.5 s, which is 29 times more than for the proposed method. This elevated computational load is due to the large size of the image. On the contrary, the computational load of the proposed method (to which the optimization method essentially contributes) grows as a function of the number of sensors of the circular antenna and not as a function of the number of pixels in the image.
7.2.5 Note about the influence of the accuracy of the successive estimations
As we notice in Equation 9 of Section 4.2, the signal generated on the circular antenna exhibits a linear phase variation. This model holds only if the center of the circular antenna is superimposed with the center of the expected circle. In the experiments performed in this section, the maximum bias on a center coordinate is one pixel and the radius estimation is correct. Some experiments have shown that when this bias is more than three pixels, the estimation of the radius is affected. However, the proposed method for center coordinates estimation is reliable and does not yield pixel bias of more than one pixel. Also, some other experiments performed on the image of Section 7.2.1, by fixing artificially the radius value which is used while estimating the spread value, have shown that the bias on the spread value is larger than 1 pixel only if the bias on the radius value is two pixels or more in absolute value. So, a slight bias, which does not exceed one pixel, on the radius value, does dot degrade the accuracy of the estimation of the spread value.
7.3 Circle detection in a correlated noise environment
7.3.1 Handmade images containing two concentric onepixel wide circles and correlated noise
In this experiment, we create an image which contains two concentric circles with center coordinates {l_{ c }, m_{ c }} = {90, 95} and radius values 45 and 50 pixels, then perform 100 trials with different correlated noise realizations. We simulate correlated Gaussian noise by two steps: (1) generate random Gaussian noise matrix with amplitude in [0,1] and variance 1, which has the same size as the image; (2) let Gaussian noise matrix pass an isotropic spatial Gaussian low pass filter, whose filter function is h\left(l,m\right)=\frac{1}{2\pi {\varsigma}^{2}}exp\left(\frac{{l}^{2}+{m}^{2}}{2{\varsigma}^{2}}\right). Besides, to scale the degree of noise correlation, correlation length of generated Gaussian noise is defined as CL = 2ς. We set ς to 3.5. We expect to estimate the radius of multiple concentric circles by the proposed method based on higherorder statistics. An example of processed image is provided in Figure 11a.
When the proposed method is applied, MDL criterion is used to estimate the number of circles. The estimated radius values when the proposed method is used are, respectively, 44.5 and 51 pixels (see Figure 11b). The results of the proposed method are compared with those of the GHT [6]. GHT yields to estimated radius values 45.6 and 50.3 pixels (see Figure 11c). The visual aspect is the same for both methods. But the proposed method, the variant of TLSESPRIT which uses fourthorder cumulants, although being slower as the classical TLSESPRIT (refer to the results above), is still five times faster than GHT method in the same experiment environment, respectively, 0.27 and 1.3 s.
At the same time, we also analyze the effect of the correlation length of correlated noise. With the increase of correlation length of correlated noise, the grey level value of noise pixels decreases, but the noise correlation degree increases. The mean error on radius estimation is defined as ME=\left(1\u2215N\right){\sum}_{i=1}^{N}\rho \left(i\right)\rho , where N = 100 is the number of trials and ρ(i) is the radius estimation at each trial. Table 3 shows that the mean error decreases when the correlation length of the correlated noise increases. That is because the correlated noise amplitude decreases.
In this section, we only considered onepixel wide contours. Indeed, the GHT proposed in [6] is not meant for the estimation of a spread value. Future advances on the Hough transform could consist in deducing the spread parameter of blurred circles by measuring the peaks width of the relative maxima in the accumulator plane [6].
In the next section, we consider an image which contains both blurred circles and correlated noise.
7.3.2 Handmade image containing two concentric blurred circles and correlated noise
In this experiment, we create a 300 × 300 image which contains two concentric circles with radius r_{01} = 22 and r_{02} = 90; the center coordinates are {l_{ c }, m_{ c }} = {135, 180}, and the spread parameters are σ_{1} = 3 and σ_{2} = 3. The image is artificially impaired with a correlated Gaussian noise with mean 0.1, standard deviation 0.1, and correlation length CL = 2. The estimated parameters are as follows:
\widehat{{r}_{01}}=22 and \widehat{{r}_{02}}=91, the center coordinates are \left\{\widehat{{l}_{c}},\widehat{{m}_{c}}\right\}=\left\{135,180\right\}, and the spread parameters are \widehat{{\sigma}_{1}}=3.9 and \widehat{{\sigma}_{2}}=3.5.
Figure 12 shows that the center circles are correctly retrieved by the proposed methods, as well as the spread parameters, which provides a result image with contours which have the expected aspect (see Figure 12c). The time required to estimate the center is 3.0 × 10^{2} s, the time required to estimate the radii is 0.08 s, and the time required to estimate the spread values is 1.1 × 10^{1} s. So the total computational load required by the proposed method is 2.2 × 10^{1} s. The Chan and Vese method (see Figure 12d) requires 7.7 s. It is 35 times slower than the proposed method and does not provide information about the grey level variation around the center contour, only the inner and outer boundaries of the expected contours. This comparative method is then slower and provides less information as the proposed method.
7.4 Realworld image: influence of the Dove prism on a light beam
In this experiment, we consider two images which are a measurement of spatial light intensity. We aim at studying the effect of the Dove prism on the width of an optical beam. Dove prisms are being extensively used in many physical settings that make use of the orbital angular momentum (OAM) of light (see [28] and references therein). The use of Dove prisms with highly focused beams requires some correcting elements whose characteristics can be determined though the influence of the Dove prism.
Figures 13 and 14 show two typical spatial shape measurements from light beams, the Dove prism being removed (Figure 13) or present (Figure 14). The beams which are presented are supposed to be highly focused. The experiment that we propose aims at checking that the Dove prism reduces the radius and spread of the light beam when the beam is highly focused. We also aim at calculating in what extent the characteristics of the beam are modified.
The estimated parameters are presented in Table 4.
The results obtained presented in Table 4, in Figures 13d and 14d, show that Figure 13d contains the wide beam obtained without the Dove prism, and Figure 14d contains the straight beam obtained with the Dove prism.
As shown in Table 4, Figure 14 contains a beam with a radius which is 33% and a spread which is 27% smaller as the beam in Figure 13. We deduce from these blind measurements that the image of Figure 14 was obtained with a Dove prism.
Computing blindly the radius and spread of a light beam without and with Dove prism permits to evaluate the influence of this prism. As a consequence, the adequate compensating schemes, such as appropriate combinations of cylindrical lenses [28], can be chosen and used to compensate for the Dove prism. A conclusion about the proposed methods and their performance is proposed in the following section.
8 Conclusion
The retrieval of blurred circle which may be concentric is considered in this article. To solve this issue, we propose a model for the expected contours, which are characterized by four parameters of interest: the two circle coordinates, the radius, and the spread. We derive the model which fits the signals generated out of the image upon a circular antenna. This permits, after estimating the center by a linear antenna, to estimate the radius of the expected circles. For this, when the noise is uncorrelated, we adapt the TLSESPRIT method, a frequency retrieval method based on secondorder statistics; when the noise is correlated, we adapt a novel version of TLSESPRIT, which is based on higherorder statistics, and faces correlated Gaussian noise. Then, we estimate the spread values by minimizing a least squares criterion between generated and model signals. For this, we adapt an ALS process which takes into account, while estimating one spread value, the estimates of all other spread values. The proposed methods are successfully applied to various representative handmade images. The results obtained are compared with those of Chan and Vese level set approach and GHT. The main advantage of the proposed methods is that not only the mean position of a contour is retrieved, but also the spread parameter which characterizes the gray level variations aside the contour mean position. Also, the proposed methods exhibit a lower computational load.
Some prospect for this study concerns the observed digitization effect. A more elaborated postprocessing of the generated signal could be added. Also, we could alter the signal generation process to take into account this effect. Beyond the frame of this study, a possible advance could consist in a new version of the Hough transform, which may provide the spread value of circular contours, through the width of the peaks of the accumulator plane of the Hough transform.
9 Annexe: Approximation of a Riemann summation as an integral
This annexe presents the validity of the approximation of a Riemann discrete summation as an integral. Let us consider the following expression:
We set: f\left(r\right)={e}^{j\mu r}{e}^{\frac{{r}^{2}}{2{\sigma}^{2}}}. Equation 23 can be written:
with ϕ = (r_{ f }+ 1), n = 2r_{ f }+ 1, φ = r_{ f }.
We set {S}_{n}=\frac{\phi \varphi}{n}{\sum}_{r=1}^{n}f\left(\varphi +r\frac{\phi \varphi}{n}\right). S_{ n }is a Riemann summation, such that \underset{n\to +\infty}{lim}{S}_{n}={\int}_{\varphi}^{\phi}f\left(r\right)dr.
So, if we consider that r_{ f }is large enough, we get the following approximation:
Moreover, we notice that, if σ is small enough, f(r) decreases rapidly and is negligible for r > r_{ f }. Therefore, we can adopt the following approximation:
So, from Equations 24 to 26, we get
A general formula provides the equality
which yields
which provides the expected approximation.
References
Chan TF, Vese LA: Active contours without edges. IEEE Trans Image Process 2001,10(2):266277. 10.1109/83.902291
Benyoussef L, Carincotte C, Derrode S: Extension of higherorder HMC modeling with application to image segmentation. Digital Signal Process 2008,18(5):849860. 10.1016/j.dsp.2007.10.010
Haralick RM, Shanmugam K, Dinstein I: Textural features for image classification. IEEE Trans Syst Man Cybern 1973,3(6):610621.
Dehak SMR, Bloch I, Maitre H: Spatial reasoning with incomplete information on relative positioning. IEEE Trans Pattern Anal Mach Intell 2005,27(9):14731484.
Bloch I: Fuzzy relative position between objects in image processing: a morphological approach. IEEE Trans Pattern Anal Mach Intell 1999,21(7):657664. 10.1109/34.777378
Ballard DH: Generalizing the Hough transform to detect arbitrary shapes. Pattern Recogn 1981,13(2):111122. 10.1016/00313203(81)900091
Ayache N, Faugeras OD: HYPER: a new approach for the recognition and positionning of twodimensionnal objects. IEEEPAMI 1986,8(1):4454.
Borkowski J, Matuszewski BJ, Mroczka J, Shark LK: Geometric matching of circular features by leastsquares fitting. Pattern Recogn Lett 2001, 23: 885894.
Sethian JA: Level Set Methods and Fast Marching Methods. Cambridge University Press, New York; 1999.
Gout C, Le Guyader C, Vese L: Segmentation under geometrical conditions using geodesic active contours and interpolation using level set methods. Numer Algor 2005,39(13):155173. 10.1007/s1107500436278
Erdem E, Tari S, Vese L: Segmentation using the edge strength function as a shape prior within a local deformation model. In Proceedings of ICIP. Cairo; 2009:29892992.
Krinidis S, Chatzis V: Fuzzy energybased active contours. IEEE Trans Image Process 2009,18(12):27472755.
Arshizadeh R, Ebadzadeh MM: Fuzzy external force for snake. Proceedings of ITNG, 2010 2010, 376381.
Schmidt RO: Multiple emitter location and signal parameters estimation. IEEE Trans Acoust Speech Signal Process 1983,4(3):276280.
Roy R, Kailath T, ESPRIT: estimation of signal parameters via rotational invariance techniques. IEEE Trans Acoust Speech Signal Process 1989,37(7):984995. 10.1109/29.32276
Aghajan HK, Kailath T: Sensor array processing techniques for super resolution multilinefitting and straight edge detection. IEEE IP 1993,2(4):454465.
Aghajan HK: Subspace techniques for image understanding and computer vision. In PhD dissertation. Stanford University, Stanford, CA; 1995.
Marot J, Bourennane S: Subspacebased and DIRECT algorithms for distorted circular contour estimation. IEEE Trans Image Process 2007,16(9):23692378.
Marot J, Bourennane S: Array processing for intersecting circle retrieval. In Proceedings of EUSIPCO, August 2008. Lausanne; 2009:5.
Krijnen WP: Convergence of the sequence of parameters generated by ALS algorithms. Comput Stat Data Anal 2006,51(2):481489. 10.1016/j.csda.2005.09.003
Bourennane S, Marot J: Contour estimation by array processing methods. Appl Signal Process 2006.,15(2006): article ID 95634,
Bourennane S, Marot J: Estimation of straight line offsets by a highresolution method. IEE Vis Image Signal Process 2006,153(2):224229. 10.1049/ipvis:20050149
Marot J, Bourennane S: Propagator method for an application to contour estimation. Pattern Recogn Lett 2007,28(12):15561562. 10.1016/j.patrec.2007.03.013
Bourennane S, Fossati C, Marot J: Contour estimation in image using virtual signal. Opt Eng 2010, 49: 057002. 10.1117/1.3421576
Wax M, Kailath T: Detection of signals by information theoretic criteria. IEEE Trans Acoust Speech Signal Process 1985,33(2):387392. 10.1109/TASSP.1985.1164557
Yuan N, Friedlander B: DOA estimation in multipath: an approach using fourthorder cumulants. IEEE Trans Signal Process 1997,45(5):12531263. 10.1109/78.575698
Mendel J: Tutorial on higherorder statistics (spectra) in signal processing and system theory: theoretical results and some applications. Proc IEEE 1991, 79: 278305. 10.1109/5.75086
Gonzalez N, MolinaTerriza G, Torres JP: How a Dove prism transforms the OAM of a light beam. Opt Express 2006,14(20):90939102. 10.1364/OE.14.009093
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Jiang, H., Marot, J., Fossati, C. et al. Circular contour retrieval in realworld conditions by higher order statistics and an alternatingleast squares algorithm. EURASIP J. Adv. Signal Process. 2011, 112 (2011). https://doi.org/10.1186/168761802011112
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/168761802011112