 Research
 Open Access
 Published:
Elliptic shape prior for object 2D3D pose estimation using circular feature
EURASIP Journal on Advances in Signal Processing volume 2020, Article number: 34 (2020)
Abstract
Many objects in real world have circular feature. It is a difficult task to obtain the 2D3D pose estimation using circular feature in challenging scenarios. This paper proposes a method to incorporate elliptic shape prior for object pose estimation using a level set method. The relationship between the projection of the circular feature of a 3D object and the signed distance function corresponding to it is analyzed to yield a 2D elliptic shape prior. The method employs the combination of the grayscale histogram, the intensities of edge, and the smoothness distribution as main image feature descriptors that define the image statistical measure model. The elliptic shape prior combined with the image statistical measure energy model drives the elliptic shape contour to the projection of the circular feature of the 3D object with the current pose into the image plane. These works effectively reduce the impacts of the challenging scenarios on the pose estimate results. In addition, the method utilizes particle filters that take into account the motion dynamics of the object among scene frames, and this work provides the robust method for object 2D3D pose estimation using circular feature in a challenging environment. Various numerical experiments are illustrated to show the performance and advantages of the proposed method.
Introduction
Pose estimation is an essential step in many machine vision and photogrammetric applications; the ultimate goal of pose estimation is to identify 3D pose of an object of interest from an image or image sequence [1, 2]. The existing algorithms detect elliptic from 2D image, and the 3D pose of the circular can be extracted from single image using the inverse projection model of the calibrated camera (see Fig. 1b) [3–5]. These methods successfully applied to pose estimation of underwater dock [6]. However, since these methods rely on local features, the resulting solutions may yield unsatisfactory results in a challenging environment, such as the higher noise condition, complex background, and partial occlusions. To overcome this, the paper proposes an algorithm to combine the elliptic shape prior with the image data for object 2D3D pose estimation using circular feature. However, before doing so, let us revisit several contributions related to the proposed method.
In order to perform accurate 3D pose estimation in a challenging environment, two approaches have been developed for the design of object 2D3D pose estimation algorithms. A common approach was implemented for 3D pose estimation with shape prior information of a 3D model of the object and image statistics. It did not involve edge detection or image contour extraction. The shape of objects constrain the contour evolution to adopt familiar shapes to make up for poor segmentation and pose estimation results obtained in the presence of noise, clutter, or occlusion or when the statistics of the object and background are difficult to distinguish [2, 7, 8]. In [2, 7] and [8], projection of the 3D surface of an object to yield a 2D shape prior helps in a topdown manner to improve the extraction of the contour. The 3D pose is evolved to maximize the image statistical measure of discrepancy between its interior and exterior regions.
Another approach based on template matching filters has been proposed to solve 3D pose of an object: by generating a set of synthetic images of 3D model of the object as reference templates, a high matching score when the input and reference images are very similar. Given a known 3D model of target, this approach estimates its locations and orientation parameters by maximizing frequency response between the input and the current reference images [9, 10]. The input image is globally processed instead of processing only local feature, and it yields high accuracy of 3D pose estimation in comparison with the existing approaches based on segmentation in a challenging environment.
Although these approaches perform exceptionally well for many cases, the drawback of this algorithm is the input images are processed independently. So, they do not exploit the underlying dynamics inherent in a pose estimation task and they cannot handle erratic movements. In [2] and [11], not only to utilize both framework above but also to overcome their disadvantages, they extend them by incorporating a particle filter to exploit the underlying dynamics of system; this improvement provides the robust method for object 3D pose estimation in the presence of additive noise, complex background, and occlusion. Both methods rely on the 3D model of the object to obtain prior information and construct a 6D pose parameter model to estimate the object pose. For object 2D3D pose estimation using circular feature, it is a difficult task to have representations for elliptic shape prior with good and fast numerical solutions using 5D pose parameters.
In this work, we propose an algorithm for object 2D3D pose estimation using circular feature by exploiting elliptic shape constraint and image statistical measure. Given a 3D object with circular feature, the proposed algorithm estimates the pose of a moving object using a bank of elliptic shape templates, which is dynamically adapted by particle filters. By knowing that a spatial circular can appear in any pose configuration in the scene, the pose estimation problem can be stated as a search problem, in which the goal is to find the pose parameters of object by processing captured images of a scene. By generating a set of virtual elliptic shape contours as reference templates of the spatial circular feature of the 3D object, a comparison with the current view of the spatial circular in the scene can be performed. For this, we use particle filters as a reliable and adaptive search strategy in order to drive the elliptic shape contour to the projection of the circular feature of a 3D object with the current pose into the image. The main contributions of the present work can be summarized as follows:

The paper proposes a method to incorporate elliptic shape prior for object pose estimation using the level set method.

The relationship between the projection of the circular feature of the 3D object and the signed distance function corresponding to it is analyzed to yield a 2D elliptic shape prior.

The combination of the grayscale histogram, the intensities of edge, and the smoothness distribution as main image feature descriptors defines the image statistical measure model. The elliptic shape prior combined with the image statistical measure energy model drives the elliptic shape contour to the projection of the circular feature of the 3D object with the current pose into the image plane.

The proposed algorithm yields high accuracy of object 2D3D pose estimation using circular feature by processing a sequence of 2D monocular images degraded with additive noise, complex background, and partially occlusion.
The paper is organized as follows. In Section 2, we define the representation method of the 5D circle pose parameters and give the objective function using the maximum posterior probability estimation (MAP) for 2D3D object pose estimation using circular feature. In addition, we briefly explain an overview of the fundamental concepts used in the proposed method, particle filters presented in [11]. Section 3 explains the proposed algorithm for 2D3D object pose estimation using circular feature. Specifically, we discuss the representation method of elliptic shape prior and the image statistical measure energy model. Section 4 presents experimental results obtained with the proposed algorithm when processing synthetic image sequences, which are discussed and compared with those obtained by existing object 2D3D pose estimation using circular feature circular feature. The conclusions of the present work are summarized in Section 5.
Preliminaries
The position and orientation of a circular feature in 3D
As shown in Fig. 1a, we have shown two coordinate frames. The camera frame X_{C}−Y_{C}−Z_{C} is a 3D frame with the origin as the projection center and has its Z_{C}−axis pointing to the direction it is pointed. The image frame u−v is a 2D frame with the u and v axes parallel to the Y_{C} and X_{C} of the camera frame, respectively. The projection of the circular feature with a radius of R into the image plane is represented as elliptic g.
As shown in Fig. 1b, the position and orientation of a circular feature in 3D is completely specified by the coordinates of its center G and the direction angle of the surface normal vector \(\overrightarrow {GP_{0}}\). We will adopt a convention that points the surfaces normal from the circular towards the direction where the circular is visible [12]. Examples are shown in Fig. 1b. The direction angle α indicates the angle between the projection of \(\overrightarrow {GP_{0}}\) into the plane O_{c}−X_{c}Z_{c} and the axis O_{c}X_{c}. The positive angle is defined as the counterclockwise rotation of \(\overrightarrow {G^{'}P_{0}^{'}}\). The direction angle β indicates the angle between \(\overrightarrow {GP_{0}}\) and O_{C}Z_{C} axis. In addition, \(\left \ \overrightarrow {GP_{0}} \right \=1\) and \(\overrightarrow {GP_{0}} =(\text {sin}\beta \text {cos}\alpha,\text {sin} \beta \text {sin} \alpha,\text {cos} \beta)^{T} \). Therefore, the position and orientation of a circular feature in 3D can be expressed as ξ=(X,Y,Z,α,β)^{T}, where the coordinates of the center G are represented as G=(X,Y,Z)^{T}.
Objective function for 2D3D object pose estimation using circular feature
In this section, we shall give the objective function using the maximum posterior probability estimation (MAP) for 2D3D object pose estimation using circular feature.
Given the observed image z (possibly consisting of several image sequences), by maximizing the conditional probability distribution of the pose ξ, the objective function for 2D3D object pose estimation using circular feature is defined as follows:
where p(ξz) can be expanded as Eq. 2 [13]:
where p(zξ) is the likelihood of the arrived observation z and p(ξ) represents the prior information of the spatial circle pose ξ of the circular feature in 3D pose.
Particle filtering is widely employed in object pose estimation problems, where the overall objective is to estimate pose of a moving object from a collection of samples arriving sequentially. Particle filters can be seen as populationbased Monte Carlo algorithms, in which the distribution of the pose space is approximated by random measures, called particles [11]. Each particle is composed of a single pose and has an associated weighting coefficient. Let Q^{k} be a set of particles in time step k, containing information about the pose \(\xi ^{k}_{i}\) and with an associated weight \(J^{k}_{i}\) as follows:
where \(q^{k}_{i} = \left \{\left (\xi ^{k}_{i},J^{k}_{i}\right)\right \}\) represents the current particles. For the 2D3D object pose estimation using circular feature, the pose \(\xi ^{k}_{i}\) is given by the location coordinates \(X^{k}_{i},Y^{k}_{i},Z^{k}_{i}\) and orientation angles \(\alpha ^{k}_{i},\beta ^{k}_{i}\) as follows:
Note that an object’s pose described in Eq. 4 represents a single pose in the time step t. Furthermore, the weighting coefficients associated to the object’s pose is determined by a fitness function:
To estimate the pose of the object with particle filters, the particles \(\left \{q^{k}_{i}\right \}\) are selected according to their weights [11], determined by the fitness function of Eq. 5, in which the particles with more probability to be selected are those that contain higher weight values. Then, the diffusion process propagates the selected particles, which favors the diversity by randomly diffusing a selected particle. The prediction process can estimate the particle behavior, given by the observation of the motion dynamics of the object. In the paper, maximum likelihood is utilized as an evaluation method to determine the weight of each particle. The likelihood function can be obtained by using a different image statistical measure.
Method description
In this section, we present the method for pose estimation of object with circular feature using a level set function under the elliptic shape prior. First, we shall discuss the representation method of elliptic shape prior by a level set function. Later, we shall incorporate such representation with the image statistical measure energy model.
Projection of the 3D object circular feature to yield a 2D elliptic shape prior
To interact with the ellipse contour in the image, the circular feature in 3D has to be projected to the image plane and then the result yields a 2D virtual elliptic shape prior. Moreover, the projected shape Φ(ξ) is assumed to be represented by the signed Euclidean distance function, i.e., Φ(ξ,(x,y)) yields the Euclidean distance of point (x,y) to the silhouette of the projected circular feature.
For each pose configuration ξ=(X,Y,Z,α,β)^{T}, one can derive Φ(ξ) as follows: let (X,Y,Z)^{T} and (l,m,n)^{T} denote the coordinate center and surface normal vector of the circular feature in 3D with radius R. Projection of the circular feature in 3D into the image plane to yield the 2D ellipse curve Φ(ξ,(x,y)) that equation is: [12]
where the parameters [A,B,C,D,E,F]^{T} are represented by the location G=(X,Y,Z)^{T} and 3D orientation (l,m,n)^{T}=(sinβcosα,sinβsinα,cosβ)^{T}, and we need to distinguish them from the reference [12]. The derivation of the parameter is given in the Appendix. Moreover, these parameters yield the geometric parameters of the 2D ellipse curve Φ(ξ,(x,y)), which can be denoted as:
where a and b are the semimajor axis and the semiminor axis of the ellipse Φ(ξ,(x,y)), respectively; θ is the angle between major axis and horizontal direction; and (x_{0},y_{0}) is the ellipse center. In Eq. 6, all 2D points (x,y) correspond to the sample pixel point set g_{s} which is collected via the equation \(\left \{\begin {array}{l} x^{'} = a \text {cos}\lambda \text {cos} \theta  b \text {sin}\theta \text {sin} \lambda +x_{0} \\ y^{'} = a \text {cos}\lambda \text {sin} \theta + b \text {cos}\theta \text {sin} \lambda +y_{0} \end {array}\right.,\lambda \in [0,2\pi)\). This set of points divides the domain of an image into the regions inside(g_{s}) and outside(g_{s}), respectively. By applying the signed distance, we obtain elliptic shape representation by a level set function, which is defined as follows:
where \( dist((x,y),g_{s})= \min \limits _{{(x,y) \in g_{s}}}{\parallel (xx_{s},yy_{s})^{T}\parallel _{2}}.\)
Image statistical measure energy model with elliptic shape constraint
In this section, we describe the image statistical measure energy model for 2D3D object pose estimation using circular feature. A variety of image information, such as intensity, edge, or texture, can be used to define an image statistical measure energy functional. Here, we employ the combination of the gray value, edge, and smoothness information as main image feature that drives the elliptic shape to the desired boundary. The image statistical measure model is defined as follows:
where the Bhattacharyya coefficient L_{1} is a divergencetype measure for the grayscale histogram distribution P_{1}. The lower the Bhattacharyya coefficient between the interior and exterior of the elliptic silhouette, the lower the similarity between them. The loglikelihood coefficient L_{2} is a divergencetype measure for the smoothness distribution P_{2}. The lower the loglikelihood coefficient between the interior and exterior of the elliptic silhouette, the lower the similarity between them. Term L_{3} is related to the energy along the length of the elliptic silhouette and the energy of the area inside of it. These three energy terms be defined so that the overall energy is minimized at the desired elliptic silhouette. That λ_{i}>0 is a constant that determined the weight of L_{i}(Φ(ξ),P_{i}). We acquire information about the grayscale histogram, smoothness distribution, and the intensities of edge in the following sections.
Grayscale histogram
The region where the projection of the spatial circular feature of 3D object with the current poses into the image plane can be represented as an ellipse. Here, once the region is fixed, we select the grayscale histogram to model the interior and exterior of the ellipse contour because of its merits, such as robustness to highly noisy conditions and partial occlusion, and low computation cost [14, 15].
Assume an image I: \(\widetilde {m} \times \widetilde {n}\), \(\left \{{\widetilde {g}_{u v}}\right \}_{u\in [1,\widetilde {m}],v\in [1,\widetilde {n}]} \) represents the grayscale value of each pixel, and the grayscale histogram is determined by dividing the grayscale values into different intervals. Each interval is indicated by \(\left \{t_{\widetilde {k}}\right \}_{\widetilde {k} \in \left [1, \widetilde {l}\right ]}\), whereas \(\Delta \widetilde {g}\) indicates the distance between the intervals, which is calculated using Eq. 10:
A grayscale histogram counts the probability of each grayscale level code \(t_{\widetilde {k}}\) occurring in the region.
Equation 11 represents the probability of the \(\widetilde {k}\)th interval of the grayscale histogram occurring inside or outside the contour, respectively:
where \(\delta \left (\widetilde {g}(u,v)\widetilde {g}\left (t_{\widetilde {k}}\right)\right)\) determines the interval attribute of the grayscale value of pixel (u,v), \(\delta (x) =\left \{ \begin {array}{l} 1, x=0 \\ 0, other \end {array}\right.\)is the Dirac function, and n_{in},n_{out} represents the number of pixels in the regions inside and outside the contour Ω_{in},Ω_{out}. According to Eq. 11, identifying the region attributes of pixel locations is essential to establish \(p_{\text {in}}^{t_{\widetilde {k}}}\), \(p_{\text {out}}^{t_{\widetilde {k}}}\). This paper implements the identification using Heaviside conversion, as expressed in Eq. 12:
The term H(Φ(u,v)) can normalize an arbitrary input value. According to Eqs. 8 and 12, 1−H(Φ(u,v)) and H(Φ(u,v)) can effectively identify the region attribute of pixel point (u,v). Equation 11 can then be updated as:
where Ω represents the image domain and \(\sum \limits _{(u,v) \in \Omega } (1H(\Phi (u, v)))\) and \(\sum \limits _{(u,v) \in \Omega } H(\Phi (u, v))\) represent the number of pixels inside and outside the contour, respectively. Finally, each interval probability is connected to build the region feature descriptor. The statistical properties of the grayscale values in the inner and outer regions of the contour in the interval \(t_{\widetilde {k}}\) are expressed in Eq. 14
After the grayscale histogram distributions are established for each region, there are many kinds of criteria that can be used to compare the similarity of these distributions. We adopt the Bhattacharyya similarity to measure the image statistical discrepancy between the interior and exterior regions of the elliptic shape prior contour. We define the similarity distance measure as follows:
where \(p_{\text {in}}^{t_{\widetilde {k}}}\), \(p_{\text {out}}^{t_{\widetilde {k}}} \in P_{1}\); the lower the Bhattacharyya coefficient \(L_{1}\rightarrow {0} \) can push the elliptic shape Φ(ξ) toward the projection of the circular feature of 3D object with the current pose into the image plane.
Smoothness distribution
When the object and background differ much from each other on smoothness features, we select the smoothness distribution to model the interior and exterior regions of the ellipse contour. We define the smoothness distribution of the projection of the spatial circular feature of 3D object with the current pose into the image plane and foreground smoothness distribution as follows:
Assume an image I,Ω∈R^{2} is the domain of an image I, suppose the values \(\left \{grad_{u v}\right \}_{u\in [1,\widetilde {m}],v\in [1,\widetilde {n}]} \) represent the gradient value of each pixel, obey the Gaussian distribution G(μ,Σ), and denote the probability density function by
where \(A=\sqrt {2\pi \cdot \det (\Sigma)}\). In this work, the probabilities of point belonging to the exterior and interior regions are
and p_{in}=1−p_{out}, respectively. We have
Discarding the constant term, we can get the loglikelihood functional [16]:
The nonnegative weighted parameters are used as the region force term of hood functional
where λ_{in} and λ_{out}>0 are balance parameters.
Note that in Eq. 20, the lower log  likelihood value induces the elliptic shape Φ(u,v) to approximate the projection of the circular feature of 3D object with the current pose into the image plane.
The image gradient measurement of shape priors
Here, we employ edge information that drives the elliptic shape Φ(u,v) to the projection of the spatial circular feature of 3D object with the current pose into the image plane. We use the following edge indicator to acquire information about the intensities of edges:
where \(\widetilde {f} \in [0,1],\widetilde {p}>1, G_{\sigma } \) is a Gaussian kernel with a standard deviation, and ∗ denotes a convolution operation. Function usually takes smaller values at circle boundaries than at smooth regions. Based on \(\widetilde {f}\), we define the following basic energy functional for shape prior Φ(u,v):
The term Length is related to the energy along the length of the contour Φ(u,v), while the term Area is related to the energy of the area inside of Φ(u,v). These two energy terms can be defined so that the overall energy is minimized at the desired boundaries according to the edge indicator in Eq. 22:
and
Note that according to Eqs. 23 and 24, the minimization of these two energy terms depends heavily on the amount of edge information in the image. Length(Φ) is then minimized when the elliptic shape Φ(u,v) is located at the projection of the spatial circular feature of the 3D object with the current pose into the image plane.
where λ_{1},λ_{2},λ_{3}≥0,λ_{in},λ_{out}>0 are the constant userspecified parameters, which may vary for different images. As for the choice of λ_{1},λ_{2},λ_{3},λ_{in},λ_{out}, we select these parameters deliberately to get a desired result. Specially, the parameters λ_{in},λ_{out} are not only used as the region force term of the image statistical measure model, they unify the order of the magnitude of each energy term.
Flowchart of our method
Given the observed image sequence \(z_{1:k} = \left \{z_{1},z_{2},\cdots,z_{k}\right \}\) from time 1 to time k, the prior information of the spatial circle pose ξ_{k} at time k is provided by the interframe motion information. This paper establishes an objective function \(arg\max \limits _{\xi _{k}}\{p(\xi _{k}z_{1:k})\}\) for the spatial circle pose measurement based on the video sequence. The particlefiltering method is adopted in the algorithm design, and the resulting algorithm flow is shown in Fig. 2.
Experiment results and analysis
The results obtained with the proposed algorithm for 3D pose estimation of a moving object with circular feature from monocular scenes are presented and discussed in this section. These results are characterized in terms of accuracy of pose estimation when processing synthetic image sequences. All these synthetic image sequences are rendered using 3ds Max software; each frame of an input sequence is composed of a 3D object with circular feature that follows an unknown pose trajectory, it is embedded into a disjoint background, and the whole frame is degraded with additive noise. Each test sequence is composed by 100 scene frames consisting of monochrome image with 256×256 pixels, and the effective focal length was f=20 mm, each circular feature with the radius R=100 mm, the appearance of the object during scene frames is dynamically modified by changing their orientation angles and location coordinates. A performance comparison of the proposed algorithm with respect to existing algorithms is presented and discussed. We compared the following methods:

The algorithm (·)^{[i]} in [12]: the ellipse detection [17] is also the key issue of approaches that use the 2D ellipse parameters to solve circular pose estimation problem. The 2D ellipse parameters were fitted using the leastsquares method.

The proposed algorithm (·)^{[ii]} in [5]: similar to the algorithm (·)^{[i]}, the 2D ellipse parameters were given by the ellipse detection. The center of the circular feature in 3D is marked, and a virtual diameter parallel to the image plane that combines with the reprojection of the center is used to estimate the location. And then, a virtual chord parallel to the diameter is used to estimate the normal vector. The major contribution is the method formulates the problem with solving equations instead of matrix transformations.

The proposed algorithm (·)^{[iii]} in [1]: the external feature is given, such as another circular, new points or lines. The 2D ellipse parameters were given by the ellipse detection to solve initial estimated solution. A general frame to fuse circulars and points including all situations, such as one circle one point, two or more circles, and other situations, is addressed to solve the duality problem in particular cases. And then, a novel unified reprojection error for circles and points is defined to determine the optimal pose solution.

The proposed algorithm (·)^{[iv]}.
The location error (LE) is given by [11]
where ξ_{L} and \(\widehat {\xi }_{L}\) are the true and estimated coordinates of the object in the scene, respectively, given in millimeters. Moreover, the orientation error (OE) is given by
where ξ_{0} and \(\widehat {\xi }_{0}\) are the true and estimated rotation angles of the object with respect of the observer, respectively, given in degrees.
The performance of the tested algorithms is quantified in terms of percentages of normalized absolute errors (NAE), between the real ξ_{real} and estimated ξ_{est} pose parameters as follows: [11]
The accuracy of location estimation of object is denoted by NAE_{L} and the accuracy of orientation estimation of the object is denoted by NAE_{O}; both computed with Eq. 28.
Figure 6a presents the results of location estimation of the object obtained with the tested algorithms in processing sequences of synthetic images and while varying the variance of the additive noise. The means and standard deviations of the NAE_{L} and NAE_{O} of the four algorithms are shown in Tables 1 and 2, which are marked as \( T_{.avg}^{(\cdot)},T_{.std}^{(\cdot)}, R_{.avg}^{(\cdot)}\) and \(R_{.std}^{(\cdot)}\), respectively. The algorithm (·)^{[ii]} yields better performance in terms of location estimation of the object than the algorithms (·)^{[i]} and (·)^{[iii]} in lower noisy conditions, such as σ^{2}≤2%. Because the algorithm (·)^{[ii]} obtains the location estimation from the detected center in 2D image plane, the detected circular center is approaching the projection of the marked circular center with the true pose into the image plane in lower noisy conditions. But among these algorithms’ yield, there were high error levels in terms of location estimation in highly noisy conditions, and standard deviations of the NAE_{L} and NAE_{O} are very high. It means that the location estimation is incorrect in some scenarios. It can be seen that the proposed algorithm (·)^{[iv]} yields the best performance in location estimation of the target among all considered. Also, in this comparison, the algorithm (·)^{[iv]} presents robustness under different noise variance.
Figure 6b presents the orientation performance obtained with different values of additive noise SNR. Note that the algorithms (·)^{[i]} and (·)^{[iii]} yield good results in lower noisy conditions. Also, the algorithm (·)^{[ii]} produces good results in terms of location but with high error levels in terms of orientation estimation. Because the algorithm (·)^{[ii]} obtains the orientation estimation from the cross product of two special vectors, in which one vector consists of circular center and the projection of the center of the ellipse in 3D circular feature, and the another is obtained from the virtual chord of 3D circular feature, when the ellipse is approaching the circular, the high error level of the orientation estimation will be obtained. It can be seen that the proposed algorithm yields the lowest NAE_{O}, because the method (·)^{[iv]} is the regionbased algorithm to obtain the 3D pose parameters, in which the proposed algorithm does not require the ellipse detection. Furthermore, the proposed algorithm takes into account the motion dynamics of the object among scene frames, and better performance in pose estimation is obtained in comparison with the other tested algorithms.
Note that the accuracy of the previous algorithm (·)^{[i]} has been proved in Fig. 7, and it produces good result in terms of location and orientation estimation among all previous algorithms in lower noisy conditions. According to our tests, the proposed algorithm yields excellent results in pose estimation of object from monocular images. The obtained results show that the proposed algorithm is highly accurate in estimation of 3D pose of the object. Also, the proposed algorithm yields robustness to the presence of additive noise.
In the experiment depicted in Fig. 7, we evaluate the performance of the proposed algorithm in terms of LE and OE measures by processing sequences of synthetic images corrupted with zeromean additive Gaussian noise with the variance \(\sigma ^{2}_{n}=2\%,6\%,10\%\). Figure 3 illustrates examples of noisy scene frames for different values of \(\sigma ^{2}_{n}\).
In Fig. 7, the estimated object’s pose obtained with the algorithm (·)^{[iv]} is indicated with dot lines; the estimated object’s pose obtained with the algorithm (·)^{[i]} is indicated with solid lines. We can see that after processing several frames of input sequence with highly noisy conditions, the algorithm (·)^{[i]} fails; high LE and OE values are obtained and LE and OE lines are missing in Fig. 7. However, we can observe that the proposed algorithm is able to estimate the pose of object with good accuracy even in highly noisy conditions. The means of normalized absolute error (NAE) of LE and OE are no more than 0.5% and 1%, respectively. This is because the elliptic shape prior and the image feature drive the virtual elliptic shape contour to approximate the projection of circular feature in 3D into the image plane to measure the circular pose, in which the proposed algorithm does not require to the edge detection the coelliptic arc matching and ellipse fitting.
Note that in Fig. 7, low LE and OE values are obtained when the additive noise variance is σ^{2}≤2%. This is because the global information of the image rather than the local features is considered in the proposed algorithm. The stability of the image statistical measurement (grayscale histogram, smoothness distribution) is utilized to overcome the impacts of noise on the measurement results. In addition, the temporal information among the frames is considered in the proposed algorithm. It can be shown that the proposed algorithm is very robust to the presence of additive noise in the scene.
In the experiment depicted in Fig. 8, the performance of the proposed algorithm for pose estimation is evaluated and discussed by processing sequences of synthetic images with a challenging background. Each test sequence contains the objects with an unknown pose trajectory and embedded into a disjoint background depicted in Fig. 4.
Figure 8 shows the obtained results with the two algorithms when processing 100 scene frames while varying background. The estimated object’s pose obtained for varying background is indicated with red lines, green lines, and blue lines, respectively. We can see that after processing several frames of input sequence with background, the algorithm (·)^{[i]} fails; LE and OE lines are missing in Fig. 8. Especially, the algorithm (·)^{[i]} fails when processing the first frame of input sequence that cylindrical model is embedded into complex background 2; LE and OE lines are missing in Fig. 8. Whereas the algorithm (·)^{[iv]} maintained reliable measurements throughout all the sequences, we can observe that the proposed algorithm is able to estimate the pose of object with good accuracy even in several challenging backgrounds. This is because the proposed algorithm takes into account the image smoothness of discrepancy between the object region and natural background. The key image feature descriptors, such as smoothness, gray histogram, and intensities of edge, are considered in the image statistical measurement, and the proposed algorithm set proper weighting value for each energy term. Figure 4 illustrates the weighting parameter of each energy term for varying scene frames. The parameters λ_{1},λ_{2},λ_{3} for the three image sequences with varying background from left to right are [1,1,0.1],[1,1,1],[1,1,1], respectively. The parameters λ_{in},λ_{out} for the three image sequences from left to right are [1.0e−6,1.0e−7],[8.0e−6,2.0e−7],[8.0e−6,2.0e−8].
Such experiment shows that the proposed algorithm that incorporates elliptic shape prior representation with the image statistical measure energy model is more stable to complex background pollution. These works induce the virtual elliptic shape contour to approximate the projection of circular feature in 3D into the image plan by maximizing the image statistical measurement of discrepancy between its interior and exterior regions and minimizing the intensities of edge at the desired of boundaries. One can obtain a good accuracy in the circular pose results.
In the experiment depicted in Fig. 9, we tested the influence of partial occlusion. The motion of the object causes partially severe occlusion as depicted in Fig. 5. In this case, another significant advantage of using the elliptic shape prior becomes apparent. The estimated object’s pose obtained with the proposed algorithm (·)^{[iv]} is indicated with red line as depicted in Fig. 9; the estimated object’s pose obtained with the proposed algorithm (·)^{[iv]} is indicated with blue line as depicted in Fig. 9. We can see that after processing several frames of input sequence, the pose given by the algorithm (·)^{[i]} is incorrect, the high LE and OE values are obtained, and red lines are missing in Fig. 9. This is because a local minimal value can appear in using the leastsquares method, resulting in incorrect ellipse fitting and a bad spatial circle pose estimation. Despite the change of the partial occlusions, the proposed algorithm is able to estimate the pose of target with a good accuracy even in severe occlusion. This is because the information from the combined information from both the elliptic shape prior and image data can be still sufficient for a reliable pose estimation. The elliptic shape prior can constrain the projection contour of the spatial circular to the vicinity of the edge of the spatial circle image. Note that in Fig. 9, low OE values are obtained when processing few more frames. This is because the slight occlusion does not harm the pose estimation. The nearly constant values of the LE indicate a stable result. The values of the partially severe occluded sequence have a higher deviation (up to 4 cm), but it is still possible to reliably estimate the object.
The overall computation time depends on the number of particle for the method to converge. For each sequence that includes the disturbances by noise, background, and occlusion, the computation time per stereo pair was approximately 2 min (1 min and 50 s to 2 min and 2 s) on a 1.8GHz Inter(R)Core(TM)i78565U window10 machine. The computation time is significantly larger than that with other pose estimate models that often achieve realtime performance. However, in contrast to these approaches, our model includes a sophisticated interlocking of image statistical measurebased virtual elliptic contour matching and pose estimation that allow for good results in situations where current realtime.
As can be seen from Figs. 6, 7, 8, and 9, the proposed algorithm has excellent pose estimation performance under various application scenarios. At the same time, the proposed algorithm demonstrates robustness and provides accurate and reliable pose estimation results under challenging scenarios. The reason for this is that the proposed algorithm employs the elliptic shape prior information of the circular feature in 3D and the combination of image feature statistical measures, such as the grayscale histogram, the intensities of edge, and smoothness distribution to drive the virtual elliptic shape contour to the projection of the circular feature of 3D object with the current pose into the image plane. These works utilizes the elliptic shape constraint and the stability of the image statistical measurement, effectively reducing the impacts of highly noisy conditions, complex background, and partial severe occlusions on object pose estimation results. The proposed algorithm is able to estimate the pose of object with a good accuracy.
Conclusions
In order to resolve low accuracy in 3D object pose estimation or estimation failure under the scenarios with highly noisy conditions, complex backgrounds, and partial severe occlusions, this paper proposes an algorithm combing elliptic shape priors with the image statistical measure for 2D3D object pose estimation using circular feature. The algorithm defines a representation method for 5D circular pose parameters, constructs the elliptic shape prior model for the circular feature in 3D, and selects the grayscale histogram, smoothness distribution, and the intensities of edge as main image feature descriptors that define the image statistical measure model. Then, the algorithm incorporates the elliptic shape priors representation with the image statistical measure energy model to construct the likelihood function. The image feature statistical measure drives the virtual elliptic shape prior contour to approximate the projection of the circular feature of 3D object with the current pose into the image plane. A good accuracy pose estimation can be obtained. The algorithm is based on the global information of the image rather than on the local features. It utilizes the elliptic shape priors and the image statistical measurement to effectively reduce the impacts of noise, complex backgrounds, and partial severe occlusions on the pose estimation result. The simulation experiment demonstrates that the proposed algorithm provides reliable and accurate pose estimation results for 2D3D object pose estimation using circular feature under challenge scenarios.
\thelikesection Appendix
The 2D ellipse equation parameter model with pose parameter
Let (X,Y,Z)^{T} and (l,m,n)^{T} denote the coordinate center and surface normal vector of the circular feature in 3D with radius R. Projection of the circular feature in 3D into the image plane to yield the 2D ellipse curve Φ(ξ,(x,y)) that equation is represented in Eq. 28
where we shall represent the parameters [A,B,C,D,E,F]^{T} by the location (X,Y,Z)^{T} and (l,m,n)^{T} the 3D orientation vector.
To find the 2D ellipse curve, we will first form a cone having the projection center as vertex and which joins the vertex to every point on the circular whose center position is G=(X,Y,Z)^{T} and surface normal vector is (l,m,n)^{T} and intersect the cone with the image plane Z=f.
In order to find the equation of the cone S_{cone}, we need to construct the equation of the base circular G and the line that joins the vertex to the point on the circular G. The equation of the base circular is obtained by intersecting the sphere S_{G} whose center is (X,Y,Z)^{T} and radius is R with the plane π whose surface normal vector is (l,m,n)^{T} as follows:
where the point (X_{1},Y_{1},Z_{1})∈S_{G}.
For ∀P(X_{2},Y_{2},Z_{2})∈S_{cone}, the equation of the line that joins the vertex to the point on the circular G and the point on the cone is represented as:
where we can obtain the coordinate of the points on circular G which can be denoted as:
Especially, (X,Y,Z)∈π and (X,Y,Z)∈S_{G}, by solving two simultaneous equations given by Eqs. 28 and 30, the equation of cone S_{cone} can be written as:
By replacing Z_{2} with f, the parameter model of 2D ellipse curve equation with pose parameter ξ is expressed as:
where f is the focal length of the camera. By replacing (l,m,n)^{T} with \(\left (\text {sin}\beta \text {cos}\alpha, \text {sin}\beta \text {sin}\alpha, \text {cos}\beta \right)^{T}\), Eq. 33 can be written as
References
 1
B. Huang, Y. Sun, Q. Zeng, General fusion frame of circles and points in vision pose estimation. Optik. 154:, 47–57 (2018).
 2
J. Lee, R. Sandhu, A. Tannenbaum, Particle filters and occlusion handling for rigid 2d–3d pose tracking. Computer Vision and Image Understanding. 117(8), 922–933 (2013).
 3
C. Meng, H. Sun, in Proceedings of the 2nd International Conference on Electronics, Network and Computer Engineering (ICENCE 2016). Monocular pose measurement method based on circle and line features (Atlantis Press, 2016). https://doi.org/10.2991/icence16.2016.149.
 4
B. Huang, Y. Sun, Y. Zhu, Z. Xiong, J. Liu, Vision pose estimation from planar dual circles in a single image. Optik. 127(10), 4275–4280 (2016).
 5
C. Wang, D. Chen, M. Li, J. Gong, Direct solution for pose estimation of single circle with detected centre. Electronics Letters. 52(21), 1751–1753 (2016).
 6
S. Ghosh, R. Ray, S. R. K. Vadali, S. N. Shome, S. Nandy, Reliable pose estimation of underwater dock using single camera: a scene invariant approach. Machine Vision and Applications. 27(2), 221–236 (2016).
 7
T. Brox, B. Rosenhahn, J. Weickert, in Joint Pattern Recognition Symposium. Threedimensional shape knowledge for joint image segmentation and pose estimation (Springer, 2005), pp. 109–116. https://doi.org/10.1007/11550518_14.
 8
S. Dambreville, R. Sandhu, A. Yezzi, A. Tannenbaum, A geometric approach to joint 2D regionbased segmentation and 3D pose estimation using a 3D shape prior. SIAM journal on imaging sciences. 3(1), 110–132 (2010).
 9
V. H. DiazRamirez, K. Picos, V. Kober, Target tracking in nonuniform illumination conditions using locally adaptive correlation filters. Optics Communications. 323:, 32–43 (2014).
 10
K. Picos, V. H. DiazRamirez, V. Kober, A. S. Montemayor, J. J. Pantrigo, Accurate threedimensional pose recognition from monocular images using template matched filtering. Optical Engineering. 55(6), 063102 (2016).
 11
K. Picos, V. H. DiazRamirez, A. S. Montemayor, J. J. Pantrigo, V. Kober, Threedimensional pose tracking by image correlation and particle filtering. Optical Engineering. 57(7), 073108 (2018).
 12
Y. C. Shiu, S. Ahmad, in Conference Proceedings., IEEE International Conference on Systems, Man and Cybernetics. 3D location of circular and spherical features by monocular modelbased vision (IEEE, 1989), pp. 576–581. https://doi.org/10.1109/icsmc.1989.71362.
 13
S. Challa, M. R. Morelande, D. Mušicki, R. J. Evans, Fundamentals of Object Tracking (Cambridge University Press, Cambridge, 2011).
 14
J. Ning, L. Zhang, D. Zhang, W. Yu, Joint registration and active contour segmentation for object tracking. IEEE transactions on circuits and systems for video technology. 23(9), 1589–1597 (2013).
 15
Y. Hang, C. Derong, G. Jiulu, Object tracking using both a kernel and a nonparametric active contour model. Neurocomputing. 295:, 108–117 (2018).
 16
S. Luo, X. C. Tai, L. Huo, Y. Wang, R. Glowinski, in 2019 IEEE/CVF International Conference on Computer Vision (ICCV). Convex shape prior for multiobject segmentation using a single level set function (IEEE, 2019), pp. 613–621. https://doi.org/10.1109/iccv.2019.00070.
 17
C. Lu, S. Xia, M. Shao, Y. Fu, Arcsupport line segments revisited: An efficient highquality ellipse detection. IEEE Transactions on Image Processing. 29:, 768–781 (2019).
Acknowledgements
The authors thank for the valuable and constructive comments from the editor and reviewers. The authors would like to thank the FirstClass Disciplines Foundation of Ningxia (contract no. NXYLXK2017B09) and the Major Project of North Minzu University (contract no. ZDZX201801) for supporting this work.
Funding
This work was supported in part by the Natural Science Foundation of Ningxia (No.2018AAC03126), the FirstClass Disciplines Foundation of Ningxia (No.NXYLXK2017B09), the Major Project of North Minzu University (No.ZDZX201801).
Author information
Affiliations
Contributions
All the authors have participated in writing the manuscript. All authors read and approved the manuscript.
Corresponding author
Ethics declarations
Consent for publication
Not applicable.
Competing interests
The authors declare that they have no competing interests.
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Li, C., Chen, D., Gong, J. et al. Elliptic shape prior for object 2D3D pose estimation using circular feature. EURASIP J. Adv. Signal Process. 2020, 34 (2020). https://doi.org/10.1186/s13634020006916
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s13634020006916
Keywords
 Pose estimation
 Circular feature
 Elliptic shape prior
 Image statistical property