[Paper Review] Approximating the Euclidean circle in the square grid using neighbourhood sequences
This paper proposes a method to approximate the Euclidean circle on a square grid using neighborhood sequences, modeling digital discs as octagons with 135° angles. It evaluates six approximation strategies—perimeter, area, inscribed/circumscribed circle, least squares, and least distance—providing closed-form formulas and integer-based parameters (k₁, k₂) to generate optimal neighborhood sequences for any real radius, including non-integer values like r = 50.7.
Distance measuring is a very important task in digital geometry and digital image processing. Due to our natural approach to geometry we think of the set of points that are equally far from a given point as a Euclidean circle. Using the classical neighbourhood relations on digital grids, we get circles that greatly differ from the Euclidean circle. In this paper we examine different methods of approximating the Euclidean circle in the square grid, considering the possible motivations as well. We compare the perimeter-, area-, curve- and noncompactness-based approximations and examine their realization using neighbourhood sequences. We also provide a table which summarizes our results, and can be used when developing applications that support neighbourhood sequences.
Motivation & Objective
- To improve digital circle approximation on square grids by using neighborhood sequences instead of fixed 4- or 8-neighborhoods.
- To address the limitation of prior work that only considered integer radii by enabling approximation for any non-negative real radius.
- To compare multiple geometric descriptors—perimeter, area, curve, and noncompactness—for optimal digital circle approximation.
- To provide a practical, formula-based method for generating neighborhood sequences that minimize shape deviation from the Euclidean circle.
- To support applications in image processing, such as distance transforms and color-based segmentation, by offering a systematic framework for digital disc generation.
Proposed method
- Uses generalized 2D neighborhood sequences (infinite sequences of 1s and 2s) to define variable step sizes in path-based distance computation.
- Models digital discs as convex hulls of octagonal shapes with 135° internal angles, derived from the sequence’s periodicity and frequency of 1s and 2s.
- Derives analytical expressions for the side length of the octagon based on the radius r and approximation method, using geometric and trigonometric relationships.
- Applies the isoperimetric ratio (P²/A) and other shape descriptors to evaluate approximation quality, with the goal of minimizing deviation from the Euclidean circle.
- Computes integer parameters k₁ and k₂ (number of 1-steps and 2-steps) via rounding formulas, ensuring the resulting sequence generates a digital disc close to the target circle.
- Validates results using numerical tables (e.g., Table 5) that map radius r to k₁ and k₂ for each approximation method, enabling direct implementation in software.
Experimental results
Research questions
- RQ1How can neighborhood sequences be used to generate digital discs that best approximate a Euclidean circle on a square grid?
- RQ2Which geometric descriptor—perimeter, area, inscribed circle, covering circle, least squares, or least distance—yields the most accurate approximation for a given radius?
- RQ3Can the optimal neighborhood sequence be computed for any non-integer radius, such as r = 50.7, rather than only for integer radii?
- RQ4What are the closed-form expressions for the side lengths of the resulting octagonal digital discs under different approximation criteria?
- RQ5How do the required numbers of 1-steps (k₁) and 2-steps (k₂) in the neighborhood sequence scale with the radius r for each approximation method?
Key findings
- The paper provides exact analytical formulas for the side length a of the approximating octagon under six different approximation criteria, expressed as functions of the radius r.
- For radius r = 50.7, the perimeter-based method yields k₁ = 40 and k₂ = 29, resulting in a digital disc with a perimeter close to that of the Euclidean circle.
- The area-based and least-squares approximations yield nearly identical side lengths (a ≈ 0.8066r and a ≈ 0.8069r), indicating strong consistency across methods.
- The inscribed circle approximation gives the largest side length (a ≈ 0.8284r), reflecting the need for larger octagons to fully contain the Euclidean circle.
- The covering circle approximation yields the smallest side length (a ≈ 0.7654r), ensuring the digital disc fully encloses the Euclidean circle.
- The method enables computation of optimal neighborhood sequences for any real radius r, not just integers, by using rounded formulas for k₁ and k₂ in Table 5, thus extending prior work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.