Least-Squares Fitting of Polygons

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/303329343

Least-squares Fitting of Polygons

Article  in  Pattern Recognition and Image Analysis · April 2016


DOI: 10.1134/S1054661816020218

CITATIONS READS
2 9,999

1 author:

Jon Sinnreich
Load Test Consulting, Ltd.
20 PUBLICATIONS   52 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Derivation of p-y Curves from Lateral Pile Load Test Instrument Data View project

Deep Foundation Testing Strain Gage Analysis View project

All content following this page was uploaded by Jon Sinnreich on 09 November 2017.

The user has requested enhancement of the downloaded file.


REPRESENTATION, PROCESSING, ANALYSIS
AND UNDERSTANDING OF IMAGES

Leastsquares Fitting of Polygons1


J. Sinnreich
Civil Engineering Department, University of Florida, Gainesville, Florida 32611
email: jsinn@ufl.edu

Abstract—Fitting a polygon to a set of given points in the plane is a problem which may arise in certain engi
neering, computer graphics or scientific applications. This paper presents an algorithm which computes a
continuous function closely approximating various polygons, for which the sum of the squares of the distance
to the given set of points is minimized.

Keywords: least squares, curve fitting.


DOI: 10.1134/S1054661816020218

1
INTRODUCTION Table 1 below lists some specific combinations of a,
(DEFINITION OF PROBLEM) b and d, and their corresponding geometric results.
Note that the ratios of a and b are fixed in order to
Data regression or curvefitting to continuous create closed curves which approximate the desired
closedform twodimensional shapes has typically geometric shapes. The values of d listed were arrived at
been limited to very smooth curves such as circles and by trialanderror, and may be adjusted slightly to
ellipses [3–5]. A solution for curvefitting an arbitrary “sharpen” the vertices or straighten the line segments
rectangle (that is, not centered on the origin and not of the resulting curve as desired. Polygons with more
aligned with the coordinate system) was required for vertices than an octagon may be defined, but begin to
analyzing certain engineering data. In order to imple approximate a circle to such an extent that attempting
ment a geometric leastsquares solution with to uniquely identify them in data sets with any amount
GaussNewton optimization, a continuous function of scatter may be impractical.
which adequately modeled a polygon was needed. The
parametric function chosen is the hypotrochoid,
which is the trace of a point attached to a small circle PROBLEM SOLUTION
of radius b rolling around the inside of a larger circle of IN PARAMETRIC FORM
radius a, where the trace point is a distance d from the To generalize the solution to a shape of arbitrary
center of the interior circle. Its most familiar incarna size, orientation and location in the plane, the hypo
tion is the “Spirograph” toy which allows the user to trochoid function scale multiplier g, coordinate trans
create interesting geometric patterns using geared cir form Q and centerpoint z are introduced:
cles of various diameters in a planetary gear configura
tion. ⎧x ( ϕ)⎫ ⎧z1⎫ ⎧ h1(ϕ) ⎫
⎨ ⎬ = ⎨ ⎬ + g ⋅ Q ( α) ⎨ ⎬,
The analyses below closely follow the methods ⎩ y ( ϕ)⎭ ⎩z 2⎭ ⎩h2 ( ϕ)⎭
described by Gander [4], and for clarity, similar nota ⎡cos ( α) − sin ( α)⎤
Q=⎢ ⎥.
⎣ sin ( α) cos ( α) ⎦
tion is used wherever possible. Note that procedures
for producing the pseudoinverse of the Jacobian
Typically for symmetric polygons, g is a single
matrix, J+, are not discussed since they are adequately value. Thus, any symmetric polygon is defined by four
addressed in [1] and elsewhere.
parameter values u = ( z1, z 2, g, α): the x and y coordi
The parametric equations of the hypotrochoid nate of its centerpoint z, its hypotrochoid size g and its
function h(ϕ) are defined as: angular orientation relative to the coordinate axes α.
x = h1(ϕ) = ( a − b) cos ϕ + d ⋅ cos a − b ϕ ,
b ( ) Note that g is not a simple distance scalar, but is a
function of a, b and d. If the parameter r is defined as
the scalar distance from the centerpoint of the polygon
y = h2(ϕ) = ( a − b) sin ϕ − d ⋅ sin a − b ϕ .
b ( ) to the midpoint of any of its faces, then the scale of the
polygon is computed as:
1 The article is published in the original. r = g (a − b + d ).
The original motivator for this calculation, the
identification of a rectangle, may be defined by mak
ing g a twovalued parameter g = { g1, g 2} . Thus, each
T
Received November 20, 2014

ISSN 10546618, Pattern Recognition and Image Analysis, 2016, Vol. 26, No. 2, pp. 343–349. © Pleiades Publishing, Ltd., 2016.
344 SINNREICH

Table 1. Definition of hypotrochoid shapes In order to find


m

∑f
a b d Shape
i
2
= min
3 1 –0.6 Triangle i =1
we simultaneously minimize for v =
{ϕ1, ..., ϕm, z1, z 2, g, α}; that is, find the minimum of the
quadratic function
P ( ϕ1, ..., ϕ m, z1, z 2, g, α)
m
4 1 –0.4 Square = ∑[( x i − x ( ϕi )) + ( yi − y ( ϕi )) ],
2 2

i =1
which is equivalent to solving the nonlinear least
squares problem:
⎧x ⎫ ⎧z ⎫ ⎧h ( ϕ ) ⎫
qi = ⎨ i ⎬ − ⎨ 1⎬ + g ⋅ Q ( α) ⎨ 1 i ⎬ ≈ 0, i = 1, ..., m.
⎩yi ⎭ ⎩z 2⎭ ⎩h2 ( ϕi )⎭
5 1 –0.3 Pentagon
Thus we have 2m nonlinear equations for m + 4
unknowns (or m + 5 if g1 ≠ g2). To compute the Jaco
bian, we need the partial derivatives of qi:
∂ qi ⎧ g ⋅ h ⎫
= δ ij Q ( α ) ⎨ 1 1 ⎬ ,
∂φ i ⎩ g 2 ⋅ h2 ⎭
∂ q i ⎧− 1⎫ ∂ q i ⎧ 0 ⎫ ∂qi ⎧ h ⋅ H (ϕ ) ⎫
= ⎨ ⎬, = ⎨ ⎬, = −Q ( α) ⎨ 1 1 i ⎬ ,
⎩h2 ⋅ H 2 ( ϕi )⎭
6 1 –0.25 Hexagon
∂ z1 ⎩ 0 ⎭ ∂ z 2 ⎩− 1⎭ ∂α
∂ qi ⎧h ( ϕ ) ⎫
= −Q ( α) ⎨ 1 i ⎬ ( g1 = g 2 ) ,
∂g ⎩h2 ( ϕi )⎭
∂ qi ⎧h ( ϕ )⎫
= −Q ( α) ⎨ 1 i ⎬
∂ g1 ⎩ 0 ⎭
∂ qi ⎧ 0 ⎫
8 1 –0.2 Octagon = −Q ( α) ⎨ ⎬ ( g1 ≠ g 2 ) ,
∂g 2 ⎩h2 ( ϕi )⎭
where
⎡− sin α − cos α⎤
Q ( α ) = ⎢ ,
⎣ cos α − sin α ⎥⎦
⎧h1 ( ϕi ) ⎫
⎨ ⎬
of the aligned axes of the rectangle has its own scaling ⎩h2 ( ϕi )⎭
factor, “stretching” a square into a rectangular shape ⎧⎪−(( a − b) sin ( φi ) + d(b −1 ( a − b))sin(b −1 ( a − b) ϕi ))⎫⎪
defined by a total of five parameters =⎨ −1 −1 ⎬
⎪⎩ (( a − b) cos ( φi ) − d(b (a − b))cos(b (a − b) ϕi )) ⎪⎭
u = ( z1, z 2, g1, g 2, α).
and the Kronecker delta notation is employed:
The fitting procedure follows the parametric curve
⎧0, i ≠ j .
fitting solution described by Gander [4]. Given the δ ij = ⎨
measured data points ⎩1, i = j
The Jacobian is constructed as:
⎡ x1 y1 ⎤ ⎡ H A⎤
X =⎢ ⎥ J = ⎢ 1 ⎥,
⎢ ⎥ ⎣H B ⎦ 2
⎣⎢ x m y m ⎦⎥ where
we need to determine the parameters u of the curve H 1 = diag ( g1 ⋅ h1 ( ϕ i ) ⋅ cos ( α ) − g 2 ⋅ h2 ( ϕ i ) ⋅ sin ( α ))
which minimize the geometric distance residual and
f i 2 = min[( xi − x ( ϕi )) + ( yi − y ( ϕi )) ].
2 2 H 2 = diag ( g1 ⋅ h1 ( ϕ i ) ⋅ sin ( α ) + g 2 ⋅ h2 ( ϕ i ) ⋅ cos ( α ))
ϕi are m × m diagonal matrices.

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016


LEASTSQUARES FITTING OF POLYGONS 345

200

150

100

50

−200 −150 −100 −50 0 50 100 150 200


ϕ(degrees)
−50

−100 Triahgle
Square
−150

−200
θ(degrees)

Fig. 1 Angle ϕ as a function of angle θ for triangles and squares.

If g1 = g2, then A and B are m × 4 matrices defined as:


A (i, 1 : 4) = [−1 0 − ( h1 ( ϕi ) cos ( α) − h2 ( ϕi ) sin ( α)) g ( h1 ( ϕi ) sin ( α) + h2 ( ϕi ) cos ( α))],
B (i, 1 : 4) = [0 −1 − ( h1 ( ϕi ) sin ( α) + h2 ( ϕi ) cos ( α)) − g ( h1 ( ϕi ) cos ( α) − h2 ( ϕi ) sin ( α))],
If g1 ≠ g2, then A and B are m × 5 matrices defined as:
A (i, 1 : 5) = [−1 0 −h1 ( ϕi ) cos ( α) h2 ( ϕi ) sin ( α) g1h1 ( ϕi ) sin ( α) + g 2h2 ( ϕi ) cos ( α)],
B (i, 1 : 5) = [0 −1 −h1 ( ϕi ) sin ( α) −h2 ( ϕi ) cos ( α) − g1h1 ( ϕi ) cos ( α) + g 2h2 ( ϕi ) sin ( α)].

The standard twostep GaussNewton iterative tan −1 ( yi − z 2 xi − z1 ). Figure 1 illustrates the relation
solution regime is followed, where ship between ϕ and θ for a (3, 1, –0.6) hypotrochoid
1.{t} = J + {q} (triangle) and a (4, 1, –0.4) hypotrochoid (square):
2.{v} := {v} + {t}. However, in lieu of deriving a complicated mapping
As a starting point for the parameters u for initiat function for each polygon (see below), as an initial
ing the iterative solution, a circle with parameters estimate we may assume that ϕi ≈ θi .
{z1, z 2, r} may be fit to the data as described by Gander
[4]. This will give a reasonable starting approximation SAMPLE RESULTS (VALIDATION)
of z. The initial hypotrochoid size parameter g may be
backcalculated from the circle radius r as The following tables present some sample results of
−1 the analysis presented above. Data points are gener
g = r ( a − b + d ) , while the orientation parameter α ated by picking some input values for u. To test the
is either simply assumed to equal zero, or estimated by robustness of the solution, noise in the form of
assuming some data point furthest from the initial esti xi := xi + c ( Rand − 0.5) is added to the data points,
mate of center represents a vertex of the polygon. For where Rand produces random numbers between 0 and
a rectangle, an ellipse of parameters {z1, z 2, r1, r2, α} 1 inclusive and c is a constant. In the figures, the
should be used for the initial estimate, which provides dashed line indicates the starting geometric figure
the additional benefit of a reasonable initial α. from which data points were derived, while the solid
Note that the hypotrochoid function angles in gen line is the hypotrochoid function fitting result to the
eral are not equal to the angles of the data points if noisy data points. Starting estimates for u were gener
expressed in polar form: ϕi ≠ θi = ated by fitting a circle as described in Gander [4].

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016


346 SINNREICH

Table 2. Triangle Fit


Parameter Input Output x y Plot
z1 –10.000 –9.5804 –5.26 32.70 40
–12.32 24.12
z2 4.000 3.3715 –19.10 10.33 30
–26.87 3.48
20
g 10.000 10.2982 –36.74 –7.28
–21.67 –9.88 10
α 25.00° 25.83° –9.27 –8.33
0.48 –13.34 0
c 5.0 – 13.88 –11.42
−10
7.77 –0.92
convergence in 23 iterations 0.62 10.04 −20
–1.46 22.68 −40 −30 −20 −10 0 10 20

Table 3. Pentagon Fit


Parameter Input Output x y Plot
z1 12.000 11.9373 9.26 8.73 15
1.67 1.93 10
z2 –15.000 –14.0902 –6.85 –7.67 5
0
–4.50 –19.93
g 5.000 5.1810 –2.71 –29.77 −5
3.83 –33.80 −10
α 65.00° 65.74° 27.01 –28.72 −15
−20
28.66 –22.18
−25
c 5.0 –
−30
−35
convergence in 7 iterations −40
−20 −10 0 10 20 30 40

ANALYTICAL PROBLEM SOLUTION from which aligned angles θ 'i and ϕ 'i are also com
FOR RECTANGLES AND SQUARES puted. Next, the residual vector of distances between
each data point and the hypotrochoid rectangle is
One potential disadvantage of the parametric solu computed:
tion described above is the size of the Jacobian matrix,
which must be inverted, as the number of data points { fi (u)}i =1,..., m = { (h1(ϕ'i ) − z1)2 + (h2(ϕ'i ) − z 2)2
m becomes arbitrarily large. For example, the original .
problem motivating this analysis typically included 50 − (xi' − z1) + (yi' − z 2) }.
2 2
to 100 data points. If the hypotrochoid function input
angles can be approximated separately, rather than Next, construct the (m × 5) Jacobian matrix
adjusted directly with the GaussNewton iteration, ⎡ ∂f1 ( u) ∂f1 ( u) ∂f1 ( u) ∂f1 ( u) ∂f1 ( u) ⎤
then only the five parameters actually defining the ⎢ ∂z ∂z 2 ∂ g1 ∂g 2 ∂α ⎥
geometry of the rectangle need to be solved for. The ⎢ 1

details of estimating ϕ from g1, g1 and θ for a rectangle ⎢ ⋅ ⋅ ⋅ ⎥
are described in the next section below. To implement J =⎢ ⋅ ⋅ ⋅ ⎥
the solution, the input angles are adjusted by the align ⎢ ⎥
ment angle α: ⎢ ⋅ ⋅ ⋅ ⎥
⎢∂f m ( u) ∂f m ( u) ∂f m ( u) ∂f m ( u) ∂f m ( u)⎥
⎢ ⎥
{x i'} = [Q ] {x i } ⎣ ∂z1 ∂z 2 ∂ g1 ∂g 2 ∂α ⎦

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016


LEASTSQUARES FITTING OF POLYGONS 347

using the partial derivatives of the hypotrochoid func ( g1h1 ( ϕi ) tan ( θi )) 2


tion with respect to each of the five rectangle parame
ters {z1, z 2, g1, g 2, α}. These may be derived from the 2⎛ ⎛g ⎞ ⎞
2 2
2⎛g ⎞
= ( g1h1 ( ϕi )) ⎜ tan 2 ( θi ) + ⎜ 2 ⎟ ⎟ − ( g1h1 ( ϕi )) ⎜ 2 ⎟
equations given above by a tedious but trivial process. ⎜ ⎝ g1 ⎠ ⎟⎠ ⎝ g1 ⎠
Finally, the standard twostep GaussNewton iter ⎝
= ( g 2h2 ( ϕi )) ,
2
ative solution regime is again followed, where
1.{t} = J + { f }, ⎛ ⎛g ⎞ ⎞
2

2.{u} := {u} + {t}.


( g1h1 (ϕi )) 2 ⎜⎜ tan 2 (θi ) + ⎜ 2 ⎟ ⎟⎟
⎝ g ⎝ 1⎠ ⎠
The square can in this instance be considered a spe 2
cial case of the rectangle, where g 2 ≡ g1 . 2 ⎛g ⎞
= ( g1h1 ( ϕi )) ⎜ 2 ⎟ + ( g 2h2 ( ϕi )) .
2

⎝ g1 ⎠
RECTANGULAR HYPOTROCHOID ANGLE Combine the equations from the steps above:
MAPPING FUNCTION ⎛ 2 ⎛g ⎞ ⎞ 2
2

⎜⎜ tan ( θi ) + ⎜ 2 ⎟ ⎟⎟ g1 [17.64 cos ( ϕi )


2
The m input data points to be fit are given in polar ⎝ g ⎠
⎝ 1 ⎠
form {Ri, θi} i =1,..., m. Note the hypotrochoid function
−13.44 cos (ϕi ) + 2.56 cos (ϕi )]
4 6
angle ϕ denotes the rotation of the smaller circle of
radius b within the larger circle of radius a, and must = g 22[17.64(sin 2(ϕi ) + cos 2(ϕi ))
not be confused with the polar coordinate θ of the data
set to be fit, since the two are generally not equal. The −13.44(sin 4(ϕi ) + cos 4(ϕi ))
following algorithm converts the data input angle θ
into the hypotrochoid angle ϕ for a rectangle:
+2.56(sin 6(ϕi ) + cos 6(ϕi ))]
Assuming for the moment that the rectangle is
aligned along the xaxis (α = 0), and the center offset ⎢⎣ 4 4 (
= g 22 ⎡17.64 (1) − 13.44 3 + 1 cos ( 4ϕi ) )
is negligible ( z1, z 2 ) ≈ ( 0,0) , the relationship between
the polar data and hypotrochoid parametric function (
8 8
3
⎥⎦ )
+2.56 + cos ( 4ϕi ) ⎤ = g 2 [9.16 − 2.40 cos ( 4ϕi )]
5 2

is defined as:
= g 2 [9.16 − 2.40(8 cos 4 ( 4ϕi ) − 8 cos 2 ( 4ϕi ) + 1)]
2
xi = r i cos ( θi ) ≈ g1h1 ( ϕi ) = si cos ( θi ) ,
yi = r isin ( θi ) ≈ g 2h2 ( ϕi ) = s i sin ( θi ) . = g 22[6.76 + 19.20 cos 2(ϕi ) − 19.20 cos 4 (ϕi )] .
Rearrange:
Therefore,
g h (ϕ ) g h (ϕ ) − 6.76 g 22 − (19.20 − 17.64(g12tan 2 ( θi ) + g 22 ))cos 2 ( ϕi )
si = 1 1 i = 2 2 i and
cos ( θi ) sin ( θi ) +(19.20 − 13.44(g12tan 2 ( θi ) + g 22 ))cos 4 ( ϕi )
g 2h2 ( ϕi ) = g1h1 ( ϕi ) tan ( θi ) . + 2.56(g12 tan 2 ( θi ) + g 22 )cos 6 ( ϕi ) = 0 .
By trigonometric identities, Normalizing the leading term:
g1h1 ( ϕi ) = g1 [3 cos ( ϕi ) − 0.4 cos (3ϕi )] (13.44( g12 tan 2 ( θi )) − 5.76 g 22 )
cos 6 ϕ − cos 4 ( ϕi )
= g1[3cos ( ϕi ) − 0.4(4 cos 3 ( ϕi ) − 3cos ( ϕi ))] 2.56(g1 tan ( θi ) + g 2 )
2 2 2

= g1[4.2 cos ( ϕi ) − 1.6 cos 3 ( ϕi )] (1.56 g 22 − 17.64( g12 tan 2 ( θi )))


and + cos 2 ( ϕi )
2.56(g12 tan 2 ( θi ) + g 22 )
g 2h2 ( ϕi ) = g 2 [3sin ( ϕi ) + 0.4 sin (3ϕi )]
6.76 g 22
= g 2[3sin ( ϕi ) + 0.4(3sin ( ϕi ) − 4 sin ( ϕi ))]
3 − = 0.
2.56( g12 tan 2 ( θi ) + g 22 )
= g 2[4.2 sin ( ϕi ) − 1.6 sin ( ϕi )]
3
Solve the cubic function of wi:
= g1h1(ϕi )tan(θi ) = g1 [3cos(ϕi ) − 0.4cos(3ϕi )] tan(θi ) . wi 3 + β1i wi 2 + β2i wi + β3i = 0,
Square: where
( g1h1 ( ϕi )) wi = cos 2 ( φi ),
2

= g12[17.64cos 2 ( ϕi ) − 13.44cos 4 ( ϕi ) + 2.56cos 6 ( ϕi )], (5.76 g 22 − 13.44(g12 tan 2 ( θi )))


β1i = ,
( g 2h2 (ϕi )) 2 2.56(g12 tan 2 ( θi ) + g 22 )
= g 22[17.64 sin 2 ( ϕi ) − 13.44 sin 4 ( ϕi ) + 2.56 sin 6 ( ϕi )]. (17.64(g12 tan 2 ( θi )) − 1.56 g 22 )
β 2i = ,
Rearrange terms: 2.56(g12 tan 2 ( θi ) + g 22 )

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016


348 SINNREICH

20

10

0
60 70 80 90 100 110 120 130

−10

−20

−30

−40

−50

−60

Fig. 2 Rectangle Fit Comparison Plot.

− 6.76 g 2
2 RECTANGLE SOLUTION COMPARISON
β3i = For comparison purposes, both of the solutions
2.56( g1 tan 2 ( θ i ) + g 22 )
2
described above are used to fit an arbitrarilygenerated
and rectangle shape. Note that if no noise is introduced
into the data, both the parametric and analytical solu
ϕi = cos −1( w). tion yield essentially the exact values of the input
parameters. For a noisy data set, each solution yields
Thus, for an estimate of g1, g1 and data point angle slightly different results, tabulated below.
θi, the corresponding hypotrochoid angle ϕi can be In Fig. 2, the parametric solution result is plotted as
calculated. a solid line, while the analytical solution result is plot

Table 4. Rectangle Fit Comparison

Parameter Input Parametric Output Analytical Output x y

z1 84.00 84.0129 83.4874 103.6432 –0.8606


96.0274 –4.2335
z2 –25.00 –25.1138 –25.3913 88.8014 –10.7927
77.847 –15.6558
g1 12.00 3.8676 11.7878 71.1906 –22.8952
62.6048 –26.2344
g2 4.00 11.9909 3.8990 56.0376 –33.58
58.4946 –43.1159
α 35.00° 124.65° 34.70° 67.1746 –49.0029
73.2778 –44.6708
c 3.0 – – 81.3374 –39.741
Convergence iterations: 4 11 90.1028 –31.0328
100.7308 –27.0687

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016


LEASTSQUARES FITTING OF POLYGONS 349

ted as a dashed line. Note that the parametric solution REFERENCES


inverts the values of g1 and g2, while adding 90° to the
value of α. This in effect produces a “short, wide” 1. A. Björck, Numerical Methods for Least Squares Prob
rather than a “long, thin” rectangle, but the resulting lems (SIAM, Philadelphia, 1996).
geometric shape is effectively the same. The analytical 2. C. Carlsson, “Vehicle size and orientation estimation
solution requires more iterations to converge, but using geometric fitting,” Thesis (Dep. of Electrical
requires the inversion of a smaller Jacobian matrix. Engineering, Linköpings univ., 2000), No. 840.
3. M. G. Cox and H. M. Jones, “An algorithm for least
CONCLUDING REMARKS squares circle fitting to data with specified uncertainty
ellipses,” IMA J. Num. Anal. 9 (3), 285–298 (1989).
The algorithms outlined above permit the use of the
robust and wellknown leastsquares technique for 4. W. Gander, G. H. Golub, and R. Strebel, “Least
what are traditionally not thought of as continuous squares fitting of circles and ellipses,” BIT Num. Math.
34 (4), 558–578 (1994).
functions. The analyses present a relatively robust
solution to the problem of identifying a polygon from 5. L. AlSubaihi and G. A. Watson, “Fitting parametric
scattered data as opposed to alternative approaches, curves and surfaces by l∞ distance regression,” BIT
which may for example seek to identify each of the Num. Math. 45 (3), 443–461 (2005).
four sides of a rectangle independently and then
impose constraints of a fixed π/2 angle between the
four line segments (see [2]). Note the rectangle data
set is effectively missing one entire side of the rectan Jon Sinnreich obtained his M.
gle, and has relatively few data points in total, yet the Eng. in Offshore Structural Engi
neering at the University of Florida,
fitting algorithms yield a reasonable approximation of and is a registered Professional
the original shape, due to the fact that a single contin Engineer in the State of Florida.
uous function is being fit. Currently, he is employed as the
The analytical solution for rectangles has the Research Services Coordinator at
advantage of a potentially greatlyreduced Jacobian to the University of Florida’s Powell
invert. However, it relies on a mapping function of θ to Family Structures and Materials
Laboratory. From 1998 to 2015, he
ϕ which is specific for a (4, 1, –0.4) hypotrochoid, and was a staff engineer at Loadtest Inc.
due to the nature of the trigonometric identities used His areas of interest include
in its derivation, may not be easily replicable for other advanced analysis and processing of data collected in
polygons. structural and geotechnical load testing.

PATTERN RECOGNITION AND IMAGE ANALYSIS Vol. 26 No. 2 2016

View publication stats

You might also like