Next Article in Journal
GNSS Spoofing Detection via Self-Consistent Verification of Receiver’s Clock State
Previous Article in Journal
Fabrication and Sensing Characterization of Ionic Polymer-Metal Composite Sensors for Human Motion Monitoring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Efficient and Robust Ellipse Detection Method for Spacecraft Docking Rings in Complex Scenes

1
Shanghai Institute of Technical Physics, Chinese Academy of Sciences, Shanghai 200083, China
2
University of Chinese Academy of Sciences, Beijing 100049, China
3
Shanghai Integrated Innovation Center for Space Optoelectronic Perception, Shanghai 200083, China
*
Authors to whom correspondence should be addressed.
Sensors 2026, 26(2), 396; https://doi.org/10.3390/s26020396
Submission received: 25 November 2025 / Revised: 4 January 2026 / Accepted: 5 January 2026 / Published: 7 January 2026
(This article belongs to the Section Optical Sensors)

Abstract

The key components of spacecraft are typically present as circular or near-circular structures, and their precise and rapid extraction is essential for spacecraft attitude estimation. In response to the high precision and robust detection of ellipse components on space non-cooperative targets such as spacecraft docking rings, this paper proposes an efficient and robust ellipse detection method. This method first uses the arc-support line segment method to extract ellipse arc segments and then employs a hierarchical quadrant division strategy with a “coarse-to-fine” approach, integrating multiple constraints such as angle, quadrant, and relative position to combine arc segments and generate ellipse candidates. It uses a comprehensive score based on edge density, global coverage and local continuity to select the optimal ellipse from among the valid ellipses. Finally, a dynamic arc segment pruning method is introduced to dynamically remove relevant arcs from optimal ellipses, obtaining high-quality and non-redundant detection results. This method can achieve robust ellipse detection even when docking ring contours are partially obscured by shadows from robotic arms or nozzles.

1. Introduction

With the continuous advancement of aerospace technology, missions such as on-orbit service of failed spacecraft and space debris removal are becoming increasingly common [1,2,3]. Estimating the six degrees of freedom (6DoF) relative pose of non-cooperative spacecraft is fundamental to the success of these missions [4,5]. The key components of spacecraft, including satellite docking rings [6] and engine nozzles [7], project as ellipses onto two-dimensional images and can be utilized to obtain the spacecraft’s relative pose [8,9]. Recently, optical sensors like Time-of-Flight (ToF) cameras have also shown great potential in this domain. For example, methods based on circular features from ToF data have been developed for the pose estimation [10,11] and real-time tracking [12] of non-cooperative satellites, demonstrating the critical role of precise feature extraction. Therefore, the high-precision detection of ellipse targets directly impacts the accuracy and robustness of pose estimation. However, in complex scenarios such as when the docking ring is obscured by shadows from robotic arms or nozzles, the high-precision extraction of ellipse features faces many challenges, including severe contour loss, interference from redundant arc segments, and rapidly changing shadows. Therefore, developing an efficient and robust ellipse detection method is particularly important.
Existing elliptical detection methods can be mainly classified into three categories: methods based on Hough Transform (HT), methods based on edge-following, and methods based on deep learning.
Methods based on Hough Transform achieve ellipse detection by casting votes for arbitrary edge pixels into parameter space [13], but it has high computational complexity and large memory overhead. Therefore, more variants of the Hough Transform have been proposed. For instance, the Randomized Hough Transform [14,15] reduces computational load by randomly selecting edge points, but its accuracy remains insufficient in complex scenes.
Methods based on edge-following obtain continuous edge segments through edge detection [16], then fit ellipses using least squares [17] or RANSAC [18]. Additionally, optimization strategies specifically designed for short-arc ellipse fitting have been proposed to improve navigation precision [19], addressing the instability of fitting partial contours. Prasad et al. [20] segmented ellipse arcs based on curvature and concavity, and sorted edge arcs using the 2D Hough transform, but this approach incurs high computational time. Jia et al. [21] used characteristic numbers to reduce the number of arc combinations yet faced issues of missed detections and insufficient robustness. Lu [22] detected arc-support line segment method in grayscale images using LSD for ellipse detection. Meng et al. [23] proposed an Arc Adjacency Matrix-based Ellipse Detection (AAMED) method achieving rapid detection.
Methods based on deep learning use Convolutional Neural Networks (CNNs) to regress ellipse parameters, which allows for high-precision ellipse detection. Dong et al. proposed a CNN-based ellipse detector [24], which employs the U-NET structure to handle occlusion issues. However, this approach suffers from long training times and certain false detection rates. ElDet [25] developed an anchor-free general ellipse detection method that improves detection performance by combining and strengthening edge information in images. However, the robustness of this approach requires further improvement. Jia et al. [26] proposed a model-aware elliptical detection network (EDNet), which significantly improved detection accuracy for partially occluded ellipses. However, the method exhibits limitations when processing images containing concentric ellipses and lacks real-time capability.
To address the issues of low efficiency and insufficient robustness in the aforementioned methods for docking ring detection, this paper proposes an efficient and robust ellipse detection method. By integrating a hierarchical quadrant division strategy with a dynamic arc segment pruning mechanism, it effectively reduces candidate combinations and improves combination accuracy. Additionally, a comprehensive score is introduced to quantify ellipse fitting performance. The contributions of the proposed method are:
  • Hierarchical quadrant division strategy based on features. Proposes a “coarse-to-fine” quadrant division mechanism, prioritizing rapid four-quadrant division while performing eight-quadrant division only on residual valid arc segments. This reduces candidate combinations while preventing missed detections due to arc segment breaks.
  • Elliptical optimization mechanism based on dynamic arc segment pruning. An iterative pruning process based on arc segment-ellipse scores is designed. For each arc segment, the optimal ellipse candidate is retained while dynamically removing its redundant effective arc segments. This progressively yields a final detection set free of redundancy, significantly reducing duplicate detections and false positives.
  • Comprehensive score based on multi-dimensional feature constraints. A comprehensive score based on edge density, global coverage and local continuity is proposed for ellipse validation and screening, enhancing the accuracy and robustness of final detections.
The paper is structured as follows: Section 2 details the workflow of the proposed method; Section 3 presents the experiment results; Section 4 summarizes the paper and looks forward to future work.

2. The Proposed Method

This section details the workflow of the proposed method, as shown in Figure 1. Our proposed method can be divided into five parts: arc segment extraction, hierarchical quadrant division, arc segment combination, ellipse fitting and verification, and dynamic arc segment pruning.

2.1. Arc Segment Extraction

During the ellipse fitting process, the first step involves extracting high-quality arc segments from the image. This paper adopts arc-support line segment method [27,28] to extract arc segments. Arc-support line segments are distributed along the curve, exhibit concave and convex features with sub-pixel precision, and point toward the ellipse center. First, the gradient magnitude and direction are computed for each pixel in the grayscale image. After removing noisy pixels, region growing aggregates pixels with similar gradient directions and spatial adjacency into support regions, yielding line segments along with their level-line angles (rotated 90 ° clockwise from the gradient direction). When the level-line angles within a segment’s region exhibit monotonic variation with the same rotation direction, it is labeled as an arc-support segment. Positive or negative polarity is assigned based on whether the rotation direction aligns with the gradient direction, as shown in Figure 2.
Subsequently, the algorithm analyzes the endpoint distances, principal direction angles, and polarity consistency of the arc-support line segments. It regards adjacent arc-support line segments with the same direction and polarity as potential connection candidates. Meanwhile, it counts the number of support points near each arc-support line segment’s endpoint and prioritizes connecting the segments with the most support points. It also eliminates straight-line segments and noise interference, ultimately forming ellipse arc segments. These extracted arc segments not only retain the convexity and polarity information but also have good spatial continuity, providing high-quality input for subsequent ellipse fitting. To facilitate implementation and ensure reproducibility, the complete workflow is formally summarized in Algorithm 1.
Algorithm 1 Arc Segment Extraction
Require: Input Image I
Ensure: Set of arc segments S a r c
 1: Compute gradient magnitude and direction for each pixel in I
 2: Extract initial line segments L i n i t using region growing
 3: L s u p p o r t
 4: for all  l L i n i t  do
 5:        if angles within l’s region exhibit monotonic variation then
 6:            Label l as arc-support segment and determine polarity
 7:             L s u p p o r t L s u p p o r t { l }
 8:             S t a t u s [ l ] Unused
 9:     end if
10: end for
11: S a r c
12: while exists l L s u p p o r t with S t a t u s [ l ] = Unused  do
13:        Initialize current arc segment A c u r r { l }
14:         S t a t u s [ l ] Used
15:         G r o w t h _ F l a g True
16:        while  G r o w t h _ F l a g is True do
17:             G r o w t h _ F l a g False
18:            Identify endpoints of current arc segment A c u r r
19:            Find set C of unused neighbor segments near endpoints
20:            Filter C by constraints:
21:               1. Same direction and polarity as A c u r r
22:               2. Satisfy distance and angle requirements
23:            if  C  then
24:               Select l b e s t C with maximum support points count
25:               Merge l b e s t into A c u r r
26:                S t a t u s [ l b e s t ] Used
27:                G r o w t h _ F l a g True
28:            end if
29:        end while
30:         S a r c S a r c { A c u r r }
31: end while
32: return  S a r c
Before arc segment combination and ellipse fitting, we establish a prioritization mechanism to ensure that arc segments containing richer geometric information are processed first. We utilize two geometric features for sorting: the coverage angle θ a and the pixel length. Arc segments are sorted by their coverage angle in descending order; if the angles are identical, they are subsequently sorted by pixel length. Specifically, since the arc segments are constructed from a sequence of arc-support line segments, θ a represents the angular span determined by the orientation difference between the first and the last arc-support line segment. As shown in Figure 3, θ a is calculated as the normalized angular difference between the orientation of the last segment ( θ end ) and the first segment ( θ start ):
θ a = θ end θ start if θ end θ start θ end θ start + 360 ° if θ end < θ start
where θ a ( 0 , 360 ° ] , and both θ end and θ start are defined in range [ 180 ° , 180 ° ] .

2.2. Hierarchical Quadrant Division

Traditional ellipse detection algorithms typically classify arc segments into fixed quadrants and require complementary quadrant distributions during fitting. This strategy is simple and efficient, performing well when the arc segments are complete and unobstructed. However, when images contain local occlusions or noise, continuous arc segments originally belonging to the same ellipse may break into multiple segments, and these fragmented arc segments may contain the same quadrants in their distribution. At this point, the quadrant complementarity strategy under the four-quadrant division will make it difficult to combine these fragmented arc segments, leading to missed detections. Although subdividing the angle space into eight quadrants or allowing same-quadrant pairing can solve this problem, it significantly increases candidate combinations and computational overhead, compromising method efficiency and real-time performance.
To address this issue, this paper proposes a hierarchical quadrant division strategy that follows a “coarse-to-fine” approach: in the initial stage, a four-quadrant division is used to rapidly combine invalid arc segments; subsequently refining only the residual arc segments that remained unpaired during the initial stage and possess sufficient significance are refined into eight quadrants, followed by arc segment combination and ellipse fitting. The specific implementation is as follows:
First, the angle space [ 0 , 360 ° ) is evenly divided into four quadrants.
Q i = ( i 1 ) × 90 ° , i × 90 ° , i { 1 , 2 , 3 , 4 } .
For each arc segment, sequentially traverse all its arc-support line segments, calculate the gradient direction θ g , l of each line segment and map it to the corresponding quadrant, and then generate a 4-bit quadrant mask accordingly, as shown in the formula.
m a s k 4 = ( b 4 , b 3 , b 2 , b 1 ) , b i = 1 , θ g , l Q i . 0 , otherwise .
Here, the i-th bit being 1 indicates that the arc segment covers the i-th quadrant. If an arc segment spans multiple quadrants, all corresponding bits are set to 1. For instance, m a s k 4 = 0110 indicates the arc segment spans the second and third quadrants; similarly, m a s k 4 = 0111 represents an arc spanning the first, second, and third quadrants.
This quadrant mask representation significantly affects the algorithm’s execution efficiency by acting as a rapid filter during the arc segment combination phase. By performing a bitwise AND operation on the masks of two arc segments, we can determine if they overlap in the angular space. If  m a s k 1 4 & m a s k 2 4 0 , the two arc segments occupy at least one common quadrant, indicating a conflict. Such combinations are immediately discarded without performing ellipse fitting.
In the initial stage, m a s k 4 is used to rapidly combine arc segments and perform ellipse fitting while eliminating invalid arc segments. If there are still two or more uncombined arc segments with large coverage angles after the initial stage, an 8-bit quadrant mask refinement is applied to the remaining arc segments, followed by another round of arc segment combination and ellipse fitting.
Our strategy efficiently generates candidate ellipses in most scenarios. In locally complex or heavily occluded cases, quadrant refinement prevents missed detections, balancing efficiency and completeness.

2.3. Arc Segment Combination

To generate high-quality candidate ellipses, this paper proposes an arc segment combination strategy based on significance and multiple constraints. The overall approach is as follows: if the coverage angle θ a of an arc segment exceeds the individual fitting threshold θ a th , it is classified as a significant arc segment and allowed to be used alone for ellipse fitting; then, following the sorted order, arc segments are sequentially selected and combined in pairs to fit ellipses. Specifically, for a current arc segment, we will sequentially search the remaining list for potential partners. To improve the effectiveness of pairing and computational efficiency, we introduce three types of constraints to eliminate invalid arc segment combinations.
  • Angle Constraint: The sum of the coverage angles of the two arc segments must exceed the combined angle threshold θ sum th . This constraint effectively eliminates combinations of arc segments with insufficient coverage angles, preventing the generation of numerous erroneous ellipses.
  • Quadrant Constraint: To ensure that the arc segment combinations have complementary quadrant distributions, no overlapping quadrants may exist between two segments; that is, the quadrant masks of the two arc segments have no intersection in bits. For two quadrant masks m a s k 1 k and m a s k 2 k , where k { 4 , 8 } , if  m a s k 1 k & m a s k 2 k = 0 , then no overlapping quadrants exist between the two arc segments. This constraint can be applied using either a four-quadrant or eight-quadrant mask.
  • Relative Position Constraint: To avoid combining geometrically unreasonable arc segments, a directed distance determination based on endpoints and arc interior points is introduced. Let the endpoints of the arc segment a r c 1 be ( P 1 s , P 1 e ), and the endpoints of the arc segment a r c 2 be ( P 2 s , P 2 e ). Arbitrarily select interior points as reference points P 1 m a r c 1 , P 2 m a r c 2 . Let line L 1 connect P 1 s and P 1 e , and line L 2 connect P 2 s and P 2 e . We define a function δ ( P , L ) to represent the directed distance from a point P to a line L. Unlike standard Euclidean distance, the directed distance carries a positive or negative sign depending on which side of the line the point is located. Consequently, the condition that the product of two distances is negative implies that the distances have opposite signs. Geometrically, this ensures that the reference points lie on opposite sides of the connecting line. Valid arc combinations must satisfy the following condition:
    δ ( P 1 m , L 1 ) × δ ( P 2 m , L 1 ) < 0 δ ( P 1 m , L 2 ) × δ ( P 2 m , L 2 ) < 0
    Furthermore, to further exclude cases that satisfy the above constraints but do not constitute valid arc segment combinations, such as case c in Figure 4, the following condition must also be met:
    δ ( P 2 s , L 1 ) × δ ( P 2 e , L 1 ) > 0 δ ( P 1 s , L 2 ) × δ ( P 1 e , L 2 ) > 0

2.4. Ellipse Fitting and Verification

2.4.1. Preliminary Ellipse Fitting

The standard equation of an ellipse is expressed as:
A x 2 + B x y + C y 2 + D x + E y + F = 0
For significant arc segments or constrained candidate arc segment combinations, initial parameters { A , B , C , D , E , F } are obtained by direct least squares fitting [29]. This method has a low computational cost and can quickly fit the candidate arc segment combinations to obtain an initial model for subsequent geometric verification.

2.4.2. Ellipse Verification

Based on the ellipse model obtained from the preliminary fitting, we need to identify valid edge points from the image edges to determine the accuracy of the ellipse. Valid edge points must satisfy two conditions: First, their shortest distance d ( p , e ) to the ellipse boundary must meet the pixel threshold d ( p , e ) T pix . Here, d ( p , e ) is defined as the shortest Euclidean distance from an edge point p to the nearest point on the contour of the fitted ellipse e. Second, we define τ θ as the gradient orientation consistency threshold, their actual gradient direction θ obs ( p ) must meet the threshold | θ obs ( p ) θ theo ( x , y ) | < τ θ relative to the theoretical gradient direction θ theo ( x , y ) . Here, θ obs ( p ) is calculated by the Canny operator and θ theo ( x , y ) is calculated based on the point’s coordinates and the ellipse parameters.
θ theo ( x , y ) = atan2 B x + 2 C y + E , 2 A x + B y + D
The validity determination process for a single arc segment is as follows:
  • Iterate through each arc-support line segment of the arc segment, and search for valid edge points within a neighborhood defined by the distance threshold T pix around each arc-support line segment. To suppress noise, limit the maximum number of valid edge points counted within this neighborhood to the length of the arc-support line segment.
  • Count the total number of valid edge points along the specific arc segment being verified. We calculate the ratio of valid points to the total pixel length of this specific arc segment. We define an edge validity threshold, denoted as T ratio . If this ratio exceeds T ratio , the arc segment is verified as a true part of the ellipse and retained; otherwise, it is regarded as a noise segment. This threshold applies to the local quality of arc segments, not the global completeness of the ellipse.
When all arc segments participating in the fitting are verified as valid, we expand the search to find other arc segments near the candidate ellipse. We perform the same validity judgment on these arc segments and summarize the total number of valid edge points, denoted as N edge . To rapidly assess the coverage of edge points on the ellipse, we map all valid edge points’ polar angles on the candidate ellipse to a discrete angular space. Specifically, the polar angles are calculated relative to the geometric center ( x c , y c ) of the candidate ellipse corresponding to the valid edge points. The angular space is discretized into 360 bins of 1 ° each. A bin is considered ‘occupied’ if it contains valid edge points. Based on this, the total coverage angle Θ cov ( S ) is defined as the angular difference between the maximum and minimum occupied bins. Furthermore, the maximum continuous coverage angle Θ max is defined as the angular span of the longest unbroken sequence of consecutively occupied bins within this angular space.
A candidate ellipse is deemed valid only if it satisfies two simultaneous conditions. First, the ratio of the total number of edge points N edge , to the ellipse circumference L ell , must exceed the edge point density threshold T den . Second, the coverage angle of valid edge points Θ cov ( S ) , must surpass the total coverage angle threshold T ang . Valid edge points are then used for precise fitting. The circumference L ell of the ellipse is primarily calculated using Ramanujan’s approximate perimeter formula, where a represents the major axis and b the minor axis of the ellipse. Specifically, the parameters for the major and minor axes of the ellipse are derived mathematically from the initial parameters of the ellipse equation obtained in Section 2.4.1.
L ell π 3 ( a + b ) ( 3 a + b ) ( a + 3 b )

2.4.3. Weighted Least Squares Ellipse Fitting

In actual images, the reliability of different edge points varies. Points with higher gradient magnitudes and gradient directions highly consistent with the ellipse model are typically more representative. To suppress noise and interference from non-elliptical structures, this paper employs weighted least squares for precise ellipse fitting [30,31].
For an effective edge point, let its normalized gradient magnitude be G i , and let the normalized difference between its actual gradient direction and theoretical gradient direction be Δ ϕ i . Then, the weight w i can be defined as:
w i = 2 G i cos ( Δ ϕ i ) = 2 I ( x i , y i ) cos θ obs ( p ) θ theo ( x , y ) τ θ
At this point, the ellipse fitting problem can be formulated as minimizing the weighted mean square error. The resulting ellipse parameters constitute a more precise ellipse model, thereby enhancing the accuracy of the candidate ellipse.
min i = 1 n w i ( A x i 2 + B x i y i + C y i 2 + D x i + E y i + F ) 2
This problem is equivalent to minimizing the quadratic form u T S u subject to a normalization constraint (e.g., u = 1 ), where u = [ A , B , C , D , E , F ] T is the parameter vector.
S is the 6 × 6 weighted scatter matrix, constructed as:
S = i = 1 n w i v i v i T
where v i = [ x i 2 , x i y i , y i 2 , x i , y i , 1 ] T is the design vector for the i-th edge point, with  ( x i , y i ) denoting its position coordinates in the image.
To obtain the optimal parameters, we perform Eigenvalue Decomposition (EVD) on the matrix S . The solution u is the eigenvector corresponding to the smallest non-negative eigenvalue. In our implementation, this is numerically solved using the QR algorithm.

2.4.4. Comprehensive Score

To strictly evaluate the quality of the detected ellipses, this paper proposes an effective comprehensive ellipse score, integrating the total number of edge points N edge and the angular metrics calculated in Section 2.4.2:
Score = α 1 × N edge L ell + α 2 × Θ cov ( S ) 2 × π + α 3 × Θ max Θ cov ( S )
Here, N edge denotes the total number of edge points falling on the candidate ellipse, L ell represents the ellipse’s theoretical circumference, and S is the set of valid edge points. Θ cov ( S ) is the total coverage angle of valid edge points on the candidate ellipse, while Θ max is the maximum continuous coverage angle. These angular metrics are determined relative to the fitted ellipse center as defined in Section 2.4.2. The weight coefficients α 1 , α 2 , and  α 3 balance the importance of edge density, global coverage, and local continuity.
This score reflects edge point density, overall coverage of edge points, and local continuity of edge points. The comprehensive score enables our algorithm to prioritize optimal ellipse models featuring a large number of valid edge points, continuous long arc segments, and evenly distributed valid edge points.

2.5. Dynamic Arc Segment Pruning

In fact, each arc segment should ultimately belong to only one detected ellipse. To prevent multiple combinations of the same ellipse’s arc segments, thereby reducing redundant detection and computational overhead, this paper proposes an iterative dynamic arc segment pruning strategy. The core idea is as follows: For each arc segment A r c i to be processed, search within the “pool of available arc segments” for another arc segment A r c j that can be paired with it to form an ellipse. Select the optimal ellipse from among these and remove all valid arc segments associated with that ellipse, continuing this process until all arc segments have been processed. The pseudo-code is presented in Algorithm 2.
Algorithm 2 Ellipse Detection Based on Dynamic Arc Segment Pruning
Require:  initial set of Arc segments A
Ensure:  detected ellipses E
 1: available_Arcs  A
 2: E
 3: while available_Arcs  do
 4:      for all  Arc i  available_Arcs do
 5:             best_scorei 
 6:             best_ellipsei     null
 7:             for all  Arc j   available _ Arcs   { Arc i }  do
 8:                  if ConstraintsMet( Arc i , Arc j ) then
 9:                    E i j FitEllipse ( Arc i , Arc j )
10:                   score i j ValidateEllipse ( E i j )
11:                  if  score i j > best _ score i  then
12:                        best _ score i score i j
13:                        best _ ellipse i E i j
14:                  end if
15:              end if
16:          end for
17:          if  best _ ellipse i null  and  best _ score i > 0  then
18:              RemoveArcs(best_ellipsei, available_Arcs)
19:               E E { best _ ellipse i }
20:          end if
21:      end for
22: end while
23: return  E

2.6. Summary

In summary, classical ellipse detection algorithms typically face a trade-off between robustness and efficiency. Methods based on Hough Transform offer robustness but incur high computational costs due to pixel-wise voting. Conversely, methods based on edge-following are efficient but highly sensitive to edge fragmentation and local occlusion.
The proposed algorithm effectively bridges this gap.
  • Unlike methods based on Hough Transform, our algorithm significantly reduces the candidate combinations by employing a hierarchical quadrant division strategy and dynamic arc segment pruning. These mechanisms prioritize high-quality arc segments and iteratively remove redundancies, ensuring real-time performance.
  • Unlike methods based on edge-following, our method utilizes a hierarchical quadrant division strategy and a comprehensive score based on edge density, global coverage and local continuity. This allows the algorithm to robustly identify ellipses even when they are partially occluded or discontinuous, effectively achieving a balance between efficiency and robustness.

3. Experimental Results

To validate the algorithm’s performance, we evaluated it on five existing real-world datasets and real docking ring images.
To systematically evaluate the robustness of the proposed method, we define “Complex Scenes” as environments characterized by three challenging factors: noise, uneven illumination, and local occlusion.
  • Noise and illumination: Uneven illumination often leads to edge fragmentation, while background noise introduces false positives. The robustness against noise and uneven illumination is primarily evaluated in Section 3.4 using the five public datasets.
  • Occlusion: Local occlusion interrupts the continuity of the ellipse contour, resulting in fewer visible arc segments. The algorithm’s ability to handle local occlusion is specifically validated in Section 3.5 using the real docking ring images.
All experiments were conducted on a computer with 16G RAM and an Intel i7-8700 3.20 GHz CPU (Intel, Santa Clara, CA, USA).

3.1. Dataset

We used five real-world datasets, including two satellite datasets, the Smartphone dataset, the PCB dataset, and the Prasad dataset. Satellite 1 dataset [23] consists of satellite images captured by the OEDMS camera of the NextSat spacecraft, with a resolution of 318 × 318. All images are affected by illumination and noise. Satellite 2 dataset [23] consists of satellite images captured by the infrared camera of the NextSat spacecraft, with a resolution of 239 × 317. Besides being affected by illumination and noise, these images are also influenced by object texture. The Smartphone dataset [32] is derived from videos captured by a smartphone, with a resolution of 640 × 480. It contains images of traffic signs and bicycles, presenting challenges such as noise and blurring. The PCB dataset [27] is composed of industrial PCB images with a resolution of 512 × 456. Most of them are concentric circles and are subject to a large amount of noise. The Prasad dataset [20] consists of real images of varying resolutions, containing ellipses of different sizes and quantities, and the image backgrounds are relatively complex.
Examples from the five real-world datasets are shown in Figure 5.

3.2. Evaluation Metrics

To compare with other methods, this paper uses accuracy, recall, F-measure, and detection time as performance evaluation metrics. The definitions of accuracy P, recall R, and F-measure F are given in [20,33] as follows:
P = Number of correctly detected ellipses Total number of ellipses detected
R = Number of correctly detected ellipses Total number of ellipses present in test images
F = 2 P 1 + R 1
The correctness of an ellipse is determined by the overlap ratio M between the detected ellipse and the true ellipse [20], which is calculated as follows, where E d represents the detected ellipse and E g represents the true ellipse. If M exceeds 0.8, the detected ellipse is considered a correct ellipse.
M ( E d , E g ) = area ( E d E g ) area ( E d E g )

3.3. Parameter Analysis and Visualization

To facilitate reproducibility and intuitively illustrate the algorithmic process, this section provides a detailed definition and sensitivity analysis of the key thresholds and weights, followed by a step-by-step visualization of the detection results. The parameter values, summarized in Table 1, were empirically selected to strike a robust balance among detection accuracy, recall, and computational efficiency. The specific rationale and trade-off analysis for each key parameter are detailed below.

3.3.1. Individual Fitting Threshold

The individual fitting threshold θ a th is set to 120 ° to determine whether an arc segment possesses sufficient angular span for direct fitting. The selection of this value represents a critical trade-off between detection recall and computational stability. Specifically, setting θ a th too high (e.g., 150 ° ) poses a risk to isolated arcs; valid segments spanning 140 ° , which are geometrically distinct enough to define an ellipse, would be rejected, leading to a lower recall rate. Conversely, decreasing the threshold allows segments with limited angular span to be fitted individually. Even with sufficient pixel length, a narrow angular coverage implies insufficient curvature variation to uniquely constrain an ellipse model, making the fitting mathematically unstable and generating numerous redundant candidates. Consequently, θ a th = 120 ° is empirically identified as the optimal balance to capture significant single-arc ellipses while maintaining efficiency.

3.3.2. Combined Angle Threshold

The combined angle threshold θ sum th serves as a prerequisite for arc segment combination and is set to 80 ° to ensure that a pair of arc segments provides sufficient angular span to constrain the degrees of freedom of an ellipse equation. Specifically, increasing θ sum th (e.g., > 100 ° ) imposes strict constraints that are detrimental in non-cooperative docking scenarios, where target rings are often partially occluded by robotic arms or shadows. Under such conditions, contours break into fragmented arcs; a high threshold would filter out valid combinations of these fragments, thereby significantly decreasing the recall rate. Conversely, decreasing θ sum th (e.g., < 60 ° ) permits the pairing of arc segments with insufficient coverage angle. From the perspective of least squares fitting, deriving an ellipse from a narrow angular range can result in unstable parameters where slight noise results in large shape deviations. Moreover, a lower threshold triggers an increase in the number of arc segment combinations, increasing computational cost without improving detection accuracy. Therefore, θ sum th = 80 ° ensures both the reliability of the algorithm and the maintenance of computational efficiency.

3.3.3. Pixel Distance Threshold

The distance threshold T pix , used to validate edge points against the fitted ellipse, is set to 3 pixels. This choice reflects a necessary balance between accommodating inherent fitting residuals and suppressing noise. Specifically, increasing T pix expands the search neighborhood, which leads to two detrimental effects: it significantly raises the computational cost by requiring the verification of more pixels, and it increases the likelihood of incorporating noise or irrelevant edge structures into the model. Conversely, reducing T pix (e.g., to 1 or 2 pixels) imposes an overly restrictive constraint. Given that candidate ellipses are generated via least-squares fitting, slight spatial deviations between the fitted curve and actual edge pixels are inevitable due to discrete image quantization. A threshold lower than 3 pixels is often insufficient to tolerate these expected deviations, resulting in the erroneous rejection of valid edge points. Consequently, T pix = 3 is empirically selected to accommodate fitting errors while ensuring computational efficiency.

3.3.4. Gradient Orientation Consistency Threshold

The gradient orientation consistency threshold τ θ is set to 10 ° to verify whether the actual gradient direction of an edge pixel aligns with its theoretical gradient direction on the candidate ellipse. This parameter represents a necessary compromise between tolerance for environmental variations and geometric precision. Specifically, reducing τ θ (e.g., < 5 ° ) assumes idealized imaging conditions; however, in real-world spacecraft imagery, local illumination changes and sensor noise inevitably cause the observed gradient directions to deviate from the theoretical model. An excessively narrow threshold fails to account for these physical deviations, causing valid edge points to be rejected and leading to a significant drop in the recall rate. Conversely, increasing τ θ (e.g., > 20 ° ) relaxes the consistency constraint, allowing spurious edge pixels or background noise to be incorrectly associated with the ellipse candidate. This would compromise the accuracy of the validity assessment—potentially leading to misjudgments—and unnecessarily increase computational overhead due to the algorithm processing irrelevant data. Consequently, τ θ = 10 ° based on experience ensures precise edge association.

3.3.5. Edge Validity Threshold

The threshold T ratio serves as the criterion for determining the validity of an arc segment based on its edge support ratio, set to 80 % . This selection reflects a critical balance between noise tolerance and verification strictness. Specifically, setting T ratio to an excessively high value (e.g., 90 % ) imposes an overly stringent constraint. In real-world images, even genuine arc segments are prone to minor pixel-level discontinuities or noise; a strict threshold would cause these valid but imperfect segments to be discarded, thereby diminishing the recall rate. Conversely, decreasing T ratio (e.g., to 0.5 ) relaxes the validity criterion, allowing spurious or noisy segments to be misclassified as valid. Consequently, incorrect candidate ellipses accumulate an inflated number of valid edge points, causing them to erroneously pass the verification stage. This not only leads to false positives but also increases the computational burden for subsequent steps. Consequently, T ratio = 0.8 is empirically identified as the optimal threshold to reliably identify valid arc segments with noise and discontinuities while maintaining verification robustness.

3.3.6. Edge Point Density Threshold and Total Coverage Angle Threshold

The edge point density threshold T den and the total coverage angle threshold T ang are jointly set to 0.4 and 150 ° . These settings represent a trade-off between occlusion robustness and false-positive suppression. Specifically, elevating these thresholds (e.g., T den > 0.6 or T ang > 200 ° ) imposes criteria that are unrealistic for non-cooperative docking missions. In such scenarios, the target ring is frequently obscured by robotic arms or structural shadows; excessively strict requirements would preemptively reject these valid but partially occluded ellipses, thereby significantly reducing the recall rate. Conversely, lowering these thresholds (e.g., T den < 0.2 or T ang < 90 ° ) permits the admission of low-quality candidates. Allowing ellipses with few valid edge points or minimal angular span to enter the scoring stage has two adverse consequences: it unnecessarily increases the computational burden, and it compromises the discriminatory power of the comprehensive score, leading to a rise in false positives and a decrease in detection precision. Consequently, the values of T den = 0.4 and T ang = 150 ° are empirically selected to preserve accuracy even under occlusion.

3.3.7. Scoring Weights

In Equation (12), the weights α 1 , α 2 , and α 3 are universally set to 1. This uniform distribution balances global integrity with local continuity. Specifically, the metrics of edge density ( N edge / L ell ) and global coverage ( Θ cov ) serve as the most robust indicators for ellipses, dominating the score in ideal conditions. However, in scenarios involving partial occlusion, these values naturally diminish. Under such conditions, the remaining visible segments usually retain high local continuity ( Θ max / Θ cov ), distinguishing them from random noise. Consequently, this equal weighting strategy ensures that the algorithm remains sensitive to both high-quality, complete ellipses and partially occluded targets that exhibit strong local continuity.

3.3.8. Step-by-Step Visualization

Finally, to intuitively illustrate the functionality of each module in the proposed framework and verify the effectiveness of the intermediate steps, Figure 6 displays the partial results of the detection process on a real docking ring image.
The specific workflow visualized in Figure 6 proceeds as follows: First, (a) presents the original image. In the arc segment extraction phase, the actual gradient map shown in (b) is generated, followed by the arc segments map in (c) obtained using the arc-support line segment method. Next, (d) displays all fitted results from the arc segment combination and preliminary ellipse fitting phase after applying the dynamic arc segment pruning strategy. These candidates are further filtered by the ellipse verification module; (e) depicts the valid ellipses that satisfy the specific edge point density threshold and total coverage angle threshold. Finally, (f) presents the optimal ellipse set identified from these valid ellipses based on the comprehensive score.

3.4. Compare with Existing Methods

This paper compares four popular ellipse detection methods in recent years, including the Fornaciari method [32], Jia method [21], Lu method [22], and AAMED method [23].
The detection results on real datasets are shown in Table 2. Our algorithm achieves the highest accuracy through weighted least squares ellipse fitting and strictly screens the correct ellipses using a score. Therefore, our algorithm has a higher recall rate and F-measure than the Fornaciari, Jia, and Lu methods, achieving significant performance improvements. However, in the satellite dataset and Prasad dataset, the recall rate is not higher than that of the Meng algorithm, and the F-measure is not the best. The main reason is that when the pixel size of the ellipse is small in these datasets, it is difficult to generate enough arc segments for fitting the ellipse, and our algorithm detects fewer ellipses. Examples of ellipse detection in the five datasets are shown in Figure 7. The average algorithm time is shown in Table 3.
In spacecraft docking missions, enhancing the accuracy of ellipse detection is crucial for ensuring mission success. To improve detection precision, our proposed algorithm employs the arc-support line segment method to extract arc segments. However, this approach also increases the detection time, as evidenced by our detection times exceeding those of Fornaciari, Jia, and Meng across all five datasets. However, thanks to our multi-constraint combination and dynamic arc segment pruning strategy, our method eliminates the time-consuming ellipse clustering and ellipse verification steps in the Lu method, thus reducing the overall computation time compared to the Lu method.

3.5. Case Study of Docking Ring Detection in Spacecraft

To further test the application performance of our algorithm in docking tasks and verify its robustness in complex situations such as local occlusion, this section uses infrared images from the MEV-2 and IS 10-02 satellite docking process described in [34]. These images range in resolution from 300 × 300 to 400 × 400 pixels, with robotic arms added as occluding objects to simulate potential obstructions.
Examples of the above data and experimental results are shown in Figure 8. It can be seen that in the infrared images captured by NFOV, the docking ring ellipse is larger. In this case, our algorithm can still reliably detect the docking ring ellipse even when occlusion exceeds 60 % . In the infrared images captured by WFOV, the docking ring ellipse is relatively smaller. Our algorithm can still correctly detect the ellipse when the occlusion rate reaches 50 % , demonstrating good adaptability to complex space environments. Additionally, our algorithm can complete the detection of the ellipse on the docking ring image within 50 ms, making it suitable for real-time docking tasks.

4. Conclusions

This paper proposes an efficient and robust ellipse detection method for spacecraft docking rings in complex scenes. We utilize the arc-support line segment method to extract arc segments and ensure the accuracy of detection through comprehensive score and weighted fitting. The hierarchical quadrant division is introduced to enhance the robustness of the algorithm. Experimental results show that the algorithm in this paper achieves good performance in five real-world datasets and real docking ring images, especially in terms of accuracy and F-measure. It can also detect the ellipse features of the inner and outer rings in real time in scenarios where more than half of the docking ring is occluded and can adapt well to complex space environments. Meanwhile, thanks to the multi-constraint combination and dynamic arc segment pruning strategy, the algorithm in this paper strikes a balance between accuracy and computing time and can meet the requirements of real-time docking tasks. Although the recall rate of the algorithm in this paper needs to be improved when dealing with small ellipses, overall, this algorithm provides an effective and reliable method for spacecraft docking ring detection with broad application prospects.

Author Contributions

Conceptualization, Q.W., K.Y. and Y.L.; methodology, Q.W. and A.S.; software, Q.W. and A.S.; validation, Q.W., A.S., H.P. and Y.L.; formal analysis, Q.W.; investigation, K.Y. and M.L.; writing—original draft preparation, Q.W. and A.S.; writing—review and editing, A.S., H.P. and M.L.; supervision, H.P. and Y.L.; funding acquisition, A.S. and H.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported in part by the Autonomous Deployment Project of Shanghai Institute of Technical Physics, Chinese Academy of Sciences under Grants E481287070.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data will be made available on request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Flores-Abad, A.; Ma, O.; Pham, K.; Ulrich, S. A review of space robotics technologies for on-orbit servicing. Prog. Aerosp. Sci. 2014, 68, 1–26. [Google Scholar] [CrossRef]
  2. Kabir, R.H.; Bai, X. Motion and Inertia Estimation for Non-Cooperative Space Objects During Long-Term Occlusion Based on UKF-GP. Sensors 2025, 25, 647. [Google Scholar] [CrossRef] [PubMed]
  3. Ledkov, A.; Aslanov, V. Review of contact and contactless active space debris removal approaches. Prog. Aerosp. Sci. 2022, 134, 100858. [Google Scholar] [CrossRef]
  4. Hu, L.; Sun, D.; Duan, H.; Shu, A.; Zhou, S.; Pei, H. Non-Cooperative Spacecraft Pose Measurement with Binocular Camera and TOF Camera Collaboration. Appl. Sci. 2023, 13, 1420. [Google Scholar] [CrossRef]
  5. Carcagnì, P.; Leo, M.; Spagnolo, P.; Mazzeo, P.L.; Distante, C. A lightweight model for satellite pose estimation. In Proceedings of the International Conference on Image Analysis and Processing, Lecce, Italy, 23–27 May 2022; Springer: Berlin/Heidelberg, Germany, 2022; pp. 3–14. [Google Scholar]
  6. Zhang, L.; Pan, W.; Ma, X. Real-Time Docking Ring Detection Based on the Geometrical Shape for an On-Orbit Spacecraft. Sensors 2019, 19, 5243. [Google Scholar] [CrossRef]
  7. Segal, S.; Carmi, A.; Gurfil, P. Stereovision-based estimation of relative dynamics between noncooperative satellites: Theory and experiments. IEEE Trans. Control Syst. Technol. 2013, 22, 568–584. [Google Scholar] [CrossRef]
  8. Long, C.; Hu, Q. Monocular-vision-based relative pose estimation of noncooperative spacecraft using multicircular features. IEEE ASME Trans. Mechatron. 2022, 27, 5403–5414. [Google Scholar] [CrossRef]
  9. Shu, A.; Pei, H.; Zhou, S.; Duan, H.; Lu, J. Stereo measurement of position and attitude of non-cooperative spacecraft. Opt. Precision Eng. 2021, 29, 493–502. [Google Scholar] [CrossRef]
  10. Mu, J.; Li, S.; Xin, M. Circular-feature-based pose estimation of noncooperative satellite using time-of-flight sensor. J. Guid. Control Dyn. 2024, 47, 840–856. [Google Scholar] [CrossRef]
  11. Hu, J.; Li, S.; Xin, M. Real-time pose determination of ultra-close non-cooperative satellite based on time-of-flight camera. IEEE Trans. Aerosp. Electron. Syst. 2024, 60, 8239–8254. [Google Scholar] [CrossRef]
  12. Zhu, W.; Mu, J.; Shao, C.; Hu, J.; Wang, B.; Wen, Z.; Han, F.; Li, S. System design for pose determination of spacecraft using time-of-flight sensors. Space Sci. Technol. 2022, 2022, 9763198. [Google Scholar] [CrossRef]
  13. Nair, P.; Saunders, A., Jr. Hough transform based ellipse detection algorithm. Pattern Recognit. Lett. 1996, 17, 777–784. [Google Scholar] [CrossRef]
  14. McLaughlin, R.A. Randomized Hough transform: Improved ellipse detection with comparison. Pattern Recognit. Lett. 1998, 19, 299–305. [Google Scholar] [CrossRef]
  15. Xu, L.; Oja, E.; Kultanen, P. A new curve detection method: Randomized Hough transform (RHT). Pattern Recognit. Lett. 1990, 11, 331–338. [Google Scholar] [CrossRef]
  16. Canny, J. A computational approach to edge detection. IEEE Trans. Pattern Anal. Mach. Intell. 2009, PAMI-8, 679–698. [Google Scholar] [CrossRef]
  17. Fitzgibbon, A.W.; Pilu, M.; Fisher, R.B. Direct least squares fitting of ellipses. In Proceedings of the 13th International Conference on Pattern Recognition, Vienna, Austria, 25–29 August 1996; IEEE: Piscataway, NJ, USA, 1996; Volume 1, pp. 253–257. [Google Scholar]
  18. Mai, F.; Hung, Y.; Zhong, H.; Sze, W. A hierarchical approach for fast and robust ellipse extraction. Pattern Recognit. 2008, 41, 2512–2524. [Google Scholar] [CrossRef]
  19. Hu, J.; Yang, B.; Liu, F.; Zhu, Q.; Li, S. Optimization of short-arc ellipse fitting with prior information for planetary optical navigation. Acta Astronaut. 2021, 184, 119–127. [Google Scholar] [CrossRef]
  20. Prasad, D.K.; Leung, M.K.; Cho, S.Y. Edge curvature and convexity based ellipse detection method. Pattern Recognit. 2012, 45, 3204–3221. [Google Scholar] [CrossRef]
  21. Jia, Q.; Fan, X.; Luo, Z.; Song, L.; Qiu, T. A fast ellipse detector using projective invariant pruning. IEEE Trans. Image Process. 2017, 26, 3665–3679. [Google Scholar] [CrossRef]
  22. Lu, C.; Xia, S.; Shao, M.; Fu, Y. Arc-support line segments revisited: An efficient high-quality ellipse detection. IEEE Trans. Image Process. 2019, 29, 768–781. [Google Scholar] [CrossRef]
  23. Meng, C.; Li, Z.; Bai, X.; Zhou, F. Arc adjacency matrix-based fast ellipse detection. IEEE Trans. Image Process. 2020, 29, 4406–4420. [Google Scholar] [CrossRef]
  24. Dong, W.; Roy, P.; Peng, C.; Isler, V. Ellipse R-CNN: Learning to infer elliptical object from clustering and occlusion. IEEE Trans. Image Process. 2021, 30, 2193–2206. [Google Scholar] [CrossRef]
  25. Wang, T.; Lu, C.; Shao, M.; Yuan, X.; Xia, S. Eldet: An anchor-free general ellipse object detector. In Proceedings of the Asian Conference on Computer Vision, Macao, China, 4 December 2022; pp. 2580–2595. [Google Scholar]
  26. Jia, Q.; Liu, Z.; Liu, Y.; Wang, Y.; Xue, X.; Wang, W. Model-aware ellipse detection via parametric correlation learning. Signal Process. 2026, 238, 110142. [Google Scholar] [CrossRef]
  27. Lu, C.; Xia, S.; Huang, W.; Shao, M.; Fu, Y. Circle detection by arc-support line segments. In Proceedings of the 2017 IEEE International Conference on Image Processing (ICIP), Beijing, China, 17–20 September 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 76–80. [Google Scholar]
  28. Shu, A.; Pei, H.; Ding, L.; Duan, H.; Zhou, S. Binocular visual position and attitude measurement method for a spatial non-cooperative target. Acta Opt. Sin. 2020, 40, 107–117. [Google Scholar] [CrossRef]
  29. Fitzgibbon, A.; Pilu, M.; Fisher, R.B. Direct least square fitting of ellipses. IEEE Trans. Pattern Anal. Mach. Intell. 2002, 21, 476–480. [Google Scholar] [CrossRef]
  30. Xu, P. Fast and almost unbiased weighted least squares fitting of circles. Measurement 2023, 206, 112294. [Google Scholar] [CrossRef]
  31. Miao, Y.; Huang, L.; Zhang, S. A Two-Step Phenotypic Parameter Measurement Strategy for Overlapped Grapes under Different Light Conditions. Sensors 2021, 21, 4532. [Google Scholar] [CrossRef]
  32. Fornaciari, M.; Prati, A.; Cucchiara, R. A fast and effective ellipse detector for embedded vision applications. Pattern Recognit. 2014, 47, 3693–3708. [Google Scholar] [CrossRef]
  33. Chia, A.Y.S.; Rahardja, S.; Rajan, D.; Leung, M.K. A split and merge based ellipse detector with self-correcting capability. IEEE Trans. Image Process. 2010, 20, 1991–2006. [Google Scholar] [CrossRef]
  34. Pyrak, M.; Anderson, J. Performance of Northrop grumman’s mission extension vehicle (MEV) RPO imagers at GEO. In Proceedings of the Autonomous systems: Sensors, Processing and Security for Ground, Air, Sea and Space Vehicles and Infrastructure 2022, Orlando, FL, USA, 3 April–13 June 2022; SPIE: Bellingham, WA, USA, 2022; Volume 12115, pp. 64–82. [Google Scholar]
Figure 1. The workflow and examples of the proposed method.
Figure 1. The workflow and examples of the proposed method.
Sensors 26 00396 g001
Figure 2. Diagram of arc-support line segment. (a) Level-line angle (rotated 90 ° clockwise from the gradient direction). (b) A case where the gradient direction aligns with the arc-support direction, and the angles change in a counter-clockwise manner. (c) Counter-example to (b).
Figure 2. Diagram of arc-support line segment. (a) Level-line angle (rotated 90 ° clockwise from the gradient direction). (b) A case where the gradient direction aligns with the arc-support direction, and the angles change in a counter-clockwise manner. (c) Counter-example to (b).
Sensors 26 00396 g002
Figure 3. The coverage angle of the arc segment.
Figure 3. The coverage angle of the arc segment.
Sensors 26 00396 g003
Figure 4. Relative position constraint. (a) is a situation that satisfies the relative position constraint. (bd) are situations that do not satisfy the relative position constraint.
Figure 4. Relative position constraint. (a) is a situation that satisfies the relative position constraint. (bd) are situations that do not satisfy the relative position constraint.
Sensors 26 00396 g004
Figure 5. Five sample images from the datasets.
Figure 5. Five sample images from the datasets.
Sensors 26 00396 g005
Figure 6. Overall detection example: (a) Original image. (b) Actual gradient map. (c) Arc segments, where different colors distinguish different arc segments (d) Fitted ellipse candidates. (e) Valid ellipses after verification. (f) Optimal ellipse.
Figure 6. Overall detection example: (a) Original image. (b) Actual gradient map. (c) Arc segments, where different colors distinguish different arc segments (d) Fitted ellipse candidates. (e) Valid ellipses after verification. (f) Optimal ellipse.
Sensors 26 00396 g006
Figure 7. Five examples of ellipse detection on datasets, 1–5 being Satellite 1 dataset, Satellite 2 dataset, Smartphone dataset, PCB dataset, and Prasad dataset, respectively. The red ellipses indicate the detection results of our proposed algorithm, while the green ellipses represent the results of the comparison methods (Fornaciari’s [32], Jia’s [21], Lu’s [22], and Meng’s [23]).
Figure 7. Five examples of ellipse detection on datasets, 1–5 being Satellite 1 dataset, Satellite 2 dataset, Smartphone dataset, PCB dataset, and Prasad dataset, respectively. The red ellipses indicate the detection results of our proposed algorithm, while the green ellipses represent the results of the comparison methods (Fornaciari’s [32], Jia’s [21], Lu’s [22], and Meng’s [23]).
Sensors 26 00396 g007
Figure 8. Examples of docking ring and ellipse detection results. (ac) are infrared images captured by NFOV at 15 m, and (df) are infrared images captured by WFOV at 15 m. The left side of each subfigure is the original image with the robotic arm added, and the right side is the corresponding ellipse detection result.
Figure 8. Examples of docking ring and ellipse detection results. (ac) are infrared images captured by NFOV at 15 m, and (df) are infrared images captured by WFOV at 15 m. The left side of each subfigure is the original image with the robotic arm added, and the right side is the corresponding ellipse detection result.
Sensors 26 00396 g008
Table 1. Key parameters and thresholds of the proposed algorithm.
Table 1. Key parameters and thresholds of the proposed algorithm.
SymbolDescriptionValue
θ a th Individual fitting threshold 120 °
θ sum th Combined angle threshold 80 °
T pix pixel threshold3 pixels
τ θ gradient orientation consistency threshold 10 °
T ratio edge validity threshold 80 %
T ang total coverage angle threshold 150 °
T den edge point density threshold 0.4
α 1 scoring weights for edge density1
α 2 scoring weights for global coverage1
α 3 scoring weights for local continuity1
Table 2. Experimental results of five different methods on five real datasets.
Table 2. Experimental results of five different methods on five real datasets.
Dataset Fornaciari’s [32]Jia’s [21]Lu’s [22]Meng’s [23]Ours
accuracy78.5675.1665.481.5382.14
Satellite 1recall23.8932.9158.3760.2757.96
F-measure36.6445.7861.6969.3167.96
accuracy65.2180.6174.5879.482.32
Satellite 2recall26.7344.3560.4282.3461.57
F-measure37.9257.2266.7680.8470.45
accuracy83.1787.3697.1593.24100
Smartphonerecall69.8567.3691.9287.3292.65
F-measure75.9376.0794.4690.1896.18
accuracy46.7262.7660.469.8270.93
PCBrecall54.2653.8764.2865.768.36
F-measure50.2157.9862.2867.769.62
accuracy70.3971.6175.2366.7378.3
Prasadrecall21.5423.9335.0441.9636.62
F-measure32.9835.8747.8151.5249.9
Table 3. The average detection time of five different methods on five real datasets (ms).
Table 3. The average detection time of five different methods on five real datasets (ms).
DatasetFornaciari’s [32]Jia’s [21]Lu’s [22]Meng’s [23]Ours
Satellite 16.785.1134.835.7429.64
Satellite 23.763.1319.122.719.63
Smartphone38.2730.35161.6339.0869.23
PCB11.810.960.1410.1631.23
Prasad5.635.2843.526.1418.54
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wu, Q.; Shu, A.; Pei, H.; Yu, K.; Luo, M.; Liu, Y. An Efficient and Robust Ellipse Detection Method for Spacecraft Docking Rings in Complex Scenes. Sensors 2026, 26, 396. https://doi.org/10.3390/s26020396

AMA Style

Wu Q, Shu A, Pei H, Yu K, Luo M, Liu Y. An Efficient and Robust Ellipse Detection Method for Spacecraft Docking Rings in Complex Scenes. Sensors. 2026; 26(2):396. https://doi.org/10.3390/s26020396

Chicago/Turabian Style

Wu, Qi, An Shu, Haodong Pei, Kun Yu, Muyun Luo, and Yunmeng Liu. 2026. "An Efficient and Robust Ellipse Detection Method for Spacecraft Docking Rings in Complex Scenes" Sensors 26, no. 2: 396. https://doi.org/10.3390/s26020396

APA Style

Wu, Q., Shu, A., Pei, H., Yu, K., Luo, M., & Liu, Y. (2026). An Efficient and Robust Ellipse Detection Method for Spacecraft Docking Rings in Complex Scenes. Sensors, 26(2), 396. https://doi.org/10.3390/s26020396

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop