# Circular contour retrieval in real-world conditions by higher order statistics and an alternating-least squares algorithm

- 1.8k Downloads

## Abstract

In real-world 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 one-pixel wide. For the first time, we retrieve the characteristics of multiple possibly concentric blurred circles. We face correlated noise environment, to get closer to real-world conditions. For this, we model a blurred circle by a few parameters--center coordinates, radius, and spread--which 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 second-order statistics TLS-ESPRIT method for non-correlated noise environment, and propose a novel version of TLS-ESPRIT based on higher-order statistics for correlated noise environment. Then, we derive a least-squares criterion and propose an alternating least-squares algorithm to retrieve simultaneously all spread values of concentric circles. Experiments performed on hand-made and real-world 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.

## Keywords

blurred circle concentric circles correlated noise higher-order statistics ALS algorithm## 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 one-pixel 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 circle-like contour is an interesting problem. Several methods were proposed in the last few years.

First, region-based 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, contour-based 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 accumulator-type 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 least-squares methods for circle fitting seek to minimize the squares sum of error-of-fit 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 least-squares 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 one-pixel 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 set-type 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 contour-based 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 subspace-based methods of array processing are restricted to one-pixel wide line [17] retrieval, and one-pixel wide circle retrieval [18] in a non-correlated Gaussian noise environment. The purpose of this article is the detection of circles in conditions which are as close as possible to real-world 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 higher-order statistics to retrieve radius values in a correlated noise environment, and an alternating least-squares (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, 22, 23, 24] by considering contours which are no longer one-pixel 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 TLS-ESPRIT (Total Least Squares Estimation of Signal Parameters by Rotational Invariance Techniques) method [15] based on second-order statistics in non-correlated noise environment; second, we propose a new version of TLS-ESPRIT method, based on higher-order 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

*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 2

*r*

_{ 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, 22, 23, 24] consider contours which are only one pixel-wide. In this article, a contour is no longer restricted to a one pixel-wide feature. A contour is defined by non-zero 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.

*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 noise-free 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

*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 non-zero sections of the signals, as seen at the left and bottom sides of the image (see Figure 2), indicate the presence of circles. Each non-zero 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 non-zero 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 non-zero 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

*S*sensors equally distributed along a quarter of circle which is centered on the center of the expected contour.

*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 one-pixel 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.

*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

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.

*μ*, 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*:

*d*concentric circular contours, and taking into account an additive noise due to the presence of noise pixels, a signal component

*z*(

*i*) reads:

*n*(

*i*) is a noise term. This also can be expressed as

with ${\beta}_{k}=exp\left(-\frac{{\sigma}_{k}^{2}{\alpha}^{2}{\left(i-1\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 top-left corner of the sub-image 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 non-correlated Gaussian noise impairs the image, and when correlated Gaussian noise impairs the image. In the first case, we adapt TLS-ESPRIT method, which is based on second-order statistics. In the second case, we propose an improved version of TLS-ESPRIT, which faces correlated noise using higher-order statistics.

### 5.1 Second-order statistics for the estimation of the blurred circle radii

To solve this problem, we adapt TLS-ESPRIT (Total least-squares-EStimation of Parameters by Rotational Invariance Techniques) algorithm [15]. TLS-ESPRIT algorithm requires the estimation of the covariance matrix of several snapshots. There are no time-dependent 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 TLS-ESPRIT 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}.

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 higher-order statistics

*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 fourth-order cumulant matrix is then appropriately defined as

*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 eigen-decomposition operation for the cumulant matrix in place of the covariance matrix.

- (1)
- (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(M-1)}) with the eigenvalues*λ*_{1}≥ ... ≥*λ*_{d}≥ ...*λ*_{2(M-1)}, and*λ*_{1}, ...,*λ*_{d}correspond to the signal subspace. - (4)Let
**E**_{1}be the 2(*M*- 1) × d upper-left matrix of**E**and**E**_{2}be 2(*M*- 1) × d matrix obtained by deleting the first row of matrix**E**. Carry out the eigen-decomposition$\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

*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:*

**σ**where *J*_{circle} denotes the criterion to be minimized.

*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(i-1\right)}^{2}{\alpha}^{2}exp\left(-j\alpha \left(i-1\right){r}_{0k}\right)exp\left(-\frac{{\sigma}_{k}^{2}{\left(i-1\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 hand-made and real-world 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 noise-free or non-correlated 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 real-world 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 sub-image 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.

*μ*=

*α*(

*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 }equi-spaced between 42 and 78, and for 100 values of

*σ*equi-spaced 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).

*σ*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.

Significant *Er* values (significant values of the relative error between the left and right terms of Equation)

29 | |||||
---|---|---|---|---|---|

| 65 | 78 | 52 | 70 | 42 |

| 8 | 7 | 6 | 4 | 2 |

| 1.4 × 10 | 1.1 × 10 | 6.2 × 10 | 2.6 × 10 | 1.4 × 10 |

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 Hand-made 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}, TLS-ESPRIT 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 TLS-ESPRIT 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.

*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.

#### 7.2.2 Hand-made image containing three blurred contours and noise

Center | Radius | Spread | |
---|---|---|---|

(1) | {41; 170} | 8.2 | 2.7 |

$\left(\widehat{1}\right)$ | {40; 170} | 8.0 | 2.0 |

(2) | {161; 95} | 9.0 | 3.9 |

$\left(\widehat{2}\right)$ | {160; 95} | 10.0 | 3.0 |

(3) | {91; 30} | 12.3 | 4.7 |

$\left(\widehat{3}\right)$ | {90; 30} | 12.0 | 4.0 |

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, TLS-ESPRIT 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 zero-sections 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 Hand-made image containing a one pixel-wide contour and a blurred contour

The processed image contains a sharp one pixel-wide 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.

**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 Hand-made 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:

^{-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 one-pixel 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 TLS-ESPRIT 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 Hand-made images containing two concentric one-pixel wide circles and correlated noise

*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 higher-order 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 TLS-ESPRIT which uses fourth-order cumulants, although being slower as the classical TLS-ESPRIT (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.

*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.

Mean errors (ME) vs correlation length (CL) (evolution of the mean error on the estimated radius values, respect to the noise correlation length)

CL | 14 | 22 | 30 | 36 | |
---|---|---|---|---|---|

ME |
| 4.84 | 2.25 | 0.95 | 0.46 |

| 5.63 | 2.32 | 1.29 | 0.78 |

In this section, we only considered one-pixel 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 Hand-made 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$.

^{-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 Real-world 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.

Estimated blurred circle parameters associated with Figures13 and 14 (the proposed method characterizes the two blurred circles of Figures13 and 14 through their estimated center coordinates, radius, and spread)

Center | Radius | Spread | |
---|---|---|---|

(a) | {149; 154} | 52.7 | 12.2 |

(b) | {145; 151} | 34.9 | 8.8 |

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 TLS-ESPRIT method, a frequency retrieval method based on second-order statistics; when the noise is correlated, we adapt a novel version of TLS-ESPRIT, which is based on higher-order 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 hand-made 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 post-processing 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

with *ϕ* = -(*r*_{ f }+ 1), *n* = 2*r*_{ 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$.

*r*

_{ f }is large enough, we get the following approximation:

*σ*is small enough, |

*f*(

*r*)| decreases rapidly and is negligible for |

*r*| >

*r*

_{ f }. Therefore, we can adopt the following approximation:

which provides the expected approximation.

## Notes

## Supplementary material

## References

- 1.Chan TF, Vese LA:
**Active contours without edges.***IEEE Trans Image Process*2001,**10**(2):266-277. 10.1109/83.902291CrossRefGoogle Scholar - 2.Benyoussef L, Carincotte C, Derrode S:
**Extension of higher-order HMC modeling with application to image segmentation.***Digital Signal Process*2008,**18**(5):849-860. 10.1016/j.dsp.2007.10.010CrossRefGoogle Scholar - 3.Haralick RM, Shanmugam K, Dinstein I:
**Textural features for image classification.***IEEE Trans Syst Man Cybern*1973,**3**(6):610-621.CrossRefGoogle Scholar - 4.Dehak SMR, Bloch I, Maitre H:
**Spatial reasoning with incomplete information on relative positioning.***IEEE Trans Pattern Anal Mach Intell*2005,**27**(9):1473-1484.CrossRefGoogle Scholar - 5.Bloch I:
**Fuzzy relative position between objects in image processing: a morphological approach.***IEEE Trans Pattern Anal Mach Intell*1999,**21**(7):657-664. 10.1109/34.777378CrossRefGoogle Scholar - 6.Ballard DH:
**Generalizing the Hough transform to detect arbitrary shapes.***Pattern Recogn*1981,**13**(2):111-122. 10.1016/0031-3203(81)90009-1CrossRefGoogle Scholar - 7.Ayache N, Faugeras OD:
**HYPER: a new approach for the recognition and positionning of two-dimensionnal objects.***IEEE-PAMI*1986,**8**(1):44-54.CrossRefGoogle Scholar - 8.Borkowski J, Matuszewski BJ, Mroczka J, Shark LK:
**Geometric matching of circular features by least-squares fitting.***Pattern Recogn Lett*2001,**23:**885-894.CrossRefGoogle Scholar - 9.Sethian JA:
*Level Set Methods and Fast Marching Methods.*Cambridge University Press, New York; 1999.Google Scholar - 10.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**(1-3):155-173. 10.1007/s11075-004-3627-8MathSciNetCrossRefGoogle Scholar - 11.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:2989-2992.Google Scholar - 12.Krinidis S, Chatzis V:
**Fuzzy energy-based active contours.***IEEE Trans Image Process*2009,**18**(12):2747-2755.MathSciNetCrossRefGoogle Scholar - 13.Arshizadeh R, Ebadzadeh MM:
**Fuzzy external force for snake.***Proceedings of ITNG, 2010*2010, 376-381.Google Scholar - 14.Schmidt RO:
**Multiple emitter location and signal parameters estimation.***IEEE Trans Acoust Speech Signal Process*1983,**4**(3):276-280.Google Scholar - 15.Roy R, Kailath T, ESPRIT:
**estimation of signal parameters via rotational invariance techniques.***IEEE Trans Acoust Speech Signal Process*1989,**37**(7):984-995. 10.1109/29.32276CrossRefGoogle Scholar - 16.Aghajan HK, Kailath T:
**Sensor array processing techniques for super resolution multi-line-fitting and straight edge detection.***IEEE IP*1993,**2**(4):454-465.Google Scholar - 17.Aghajan HK:
**Subspace techniques for image understanding and computer vision.**In*PhD dissertation*. Stanford University, Stanford, CA; 1995.Google Scholar - 18.Marot J, Bourennane S:
**Subspace-based and DIRECT algorithms for distorted circular contour estimation.***IEEE Trans Image Process*2007,**16**(9):2369-2378.MathSciNetCrossRefGoogle Scholar - 19.Marot J, Bourennane S:
**Array processing for intersecting circle retrieval.**In*Proceedings of EUSIPCO, August 2008*. Lausanne; 2009:5.Google Scholar - 20.Krijnen WP:
**Convergence of the sequence of parameters generated by ALS algorithms.***Comput Stat Data Anal*2006,**51**(2):481-489. 10.1016/j.csda.2005.09.003MathSciNetCrossRefGoogle Scholar - 21.Bourennane S, Marot J:
**Contour estimation by array processing methods.***Appl Signal Process*2006.,**15**(2006): article ID 95634,Google Scholar - 22.Bourennane S, Marot J:
**Estimation of straight line offsets by a high-resolution method.***IEE Vis Image Signal Process*2006,**153**(2):224-229. 10.1049/ip-vis:20050149CrossRefGoogle Scholar - 23.Marot J, Bourennane S:
**Propagator method for an application to contour estimation.***Pattern Recogn Lett*2007,**28**(12):1556-1562. 10.1016/j.patrec.2007.03.013CrossRefGoogle Scholar - 24.Bourennane S, Fossati C, Marot J:
**Contour estimation in image using virtual signal.***Opt Eng*2010,**49:**057002. 10.1117/1.3421576CrossRefGoogle Scholar - 25.Wax M, Kailath T:
**Detection of signals by information theoretic criteria.***IEEE Trans Acoust Speech Signal Process*1985,**33**(2):387-392. 10.1109/TASSP.1985.1164557MathSciNetCrossRefGoogle Scholar - 26.Yuan N, Friedlander B:
**DOA estimation in multipath: an approach using fourth-order cumulants.***IEEE Trans Signal Process*1997,**45**(5):1253-1263. 10.1109/78.575698CrossRefGoogle Scholar - 27.Mendel J:
**Tutorial on higher-order statistics (spectra) in signal processing and system theory: theoretical results and some applications.***Proc IEEE*1991,**79:**278-305. 10.1109/5.75086CrossRefGoogle Scholar - 28.Gonzalez N, Molina-Terriza G, Torres JP:
**How a Dove prism transforms the OAM of a light beam.***Opt Express*2006,**14**(20):9093-9102. 10.1364/OE.14.009093CrossRefGoogle Scholar

## Copyright information

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.