This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

\SpecialIssuePaper\BibtexOrBiblatex\electronicVersion\PrintedOrElectronic

Medial Axis Isoperimetric Profiles

P. Zhang,1\orcid0000-0003-4136-1315 D. DeFord,1,2 and J. Solomon1\orcid0000-0002-7701-7586
1Massachusetts Institute of Technology, USA
2Washington State University, USA
Abstract

Recently proposed as a stable means of evaluating geometric compactness, the isoperimetric profile of a planar domain measures the minimum perimeter needed to inscribe a shape with prescribed area varying from 0 to the area of the domain. While this profile has proven valuable for evaluating properties of geographic partitions, existing algorithms for its computation rely on aggressive approximations and are still computationally expensive. In this paper, we propose a practical means of approximating the isoperimetric profile and show that for domains satisfying a “thick neck” condition, our approximation is exact. For more general domains, we show that our bound is still exact within a conservative regime and is otherwise an upper bound. Our method is based on a traversal of the medial axis which produces efficient and robust results. We compare our technique with the state-of-the-art approximation to the isoperimetric profile on a variety of domains and show significantly tighter bounds than were previously achievable.

{CCSXML}

<ccs2012> <concept> <concept_id>10010147.10010371.10010352.10010381</concept_id> <concept_desc>Computing methodologies Collision detection</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10010583.10010588.10010559</concept_id> <concept_desc>Hardware Sensors and actuators</concept_desc> <concept_significance>300</concept_significance> </concept> <concept> <concept_id>10010583.10010584.10010587</concept_id> <concept_desc>Hardware PCB design and layout</concept_desc> <concept_significance>100</concept_significance> </concept> </ccs2012>

\ccsdesc

[300]Computing methodologies Collision detection \ccsdesc[300]Hardware Sensors and actuators \ccsdesc[100]Hardware PCB design and layout

volume: 39issue: 5

1 Introduction

The isoperimetric problem can be traced back to Dido’s problem, in which Dido—the founder of Carthage—wished to maximize her territory while bounding it with a limited supply of strips of bull’s hide [VF83]. This problem is solved by invoking the isoperimetric inequality, which states for any shape of perimeter PP and area AA, P24πAP^{2}\geq 4\pi A; as a result, her encapsulated territory is maximized by a circle.

The isoperimetric inequality motivates the definition of the isoperimetric ratio 4πAP2\frac{4\pi A}{P^{2}}, which quantifies compactness of a shape. In the study of geography and political redistricting, the word compactness is used informally to distinguish shapes that are not too irregular or distorted, rather than in the formal mathematical sense. For example, a perfect circle is the most compact shape achievable, with isoperimetric ratio 11, while a shape with fractal-esque boundary will have a ratio close to 0. Beyond serving as a basic tool in analytic geometry, the isoperimetric ratio—known as the Polsby–Popper score in political science [PP91]—has found application in comparing geographic partitions used in political redistricting.

Applications of the isoperimetric ratio to geographic domains suffer from the “coastline paradox.” In particular, since geographic boundaries can have fractal shapes, their lengths are not well-defined and can change at different length scales. The isoperimetric ratio is unstable to boundary perturbation and will change its compactness score depending on the resolution of the input shape (see Figure 1). This instability can have a severe impact on applications to political redistricting where a low compactness score is frequently presented as evidence of improper intent in the line drawing process [BNNS19, BS20]. Additionally, when alternative plans are considered in court, scores like Polsby–Popper are used to evaluate whether a proposed plan would be a permissible remedy. While straightforward geometric measures are convenient for making direct pairwise comparisons in court, their simplicity and inherent instability means that they are exploitable and insufficient to distinguish between multiple potential types of undesirable shapes.

Recent works have introduced variations of the classical isoperimetric problem to address the shortcomings above. In particular, the isoperimetric profile (IP) modifies the original problem by producing a function rather than a single value. Intuitively, the isoperimetric profile augments the isoperimetric ratio by outputting a geometric compactness score for all length scales rather than at just one. More formally, the profile of a domain Ω2\Omega\subset{\mathbb{R}}^{2} is defined via the following optimization:

IPΩ(t):=min{length(F):FΩ&area(F)=t},\mathrm{IP}_{\Omega}(t):=\min\left\{\mathrm{length}(\partial F):F\subseteq\Omega\And\mathrm{area}(F)=t\right\}, (IP)

where FF is an inscribed shape within Ω\Omega, length(F)\mathrm{length}(\partial F) is the perimeter of FF, area(F)\mathrm{area}(F) is the area of FF, and t[0,area(Ω)]t\in[0,\mathrm{area}(\Omega)] is the multi-scale resolution parameter of the profile. The profile for a given value of tt is the smallest perimeter a shape FF inscribed in Ω\Omega can have while also maintaining area tt. There is no restriction that FF must be connected. Following the notation in [LS19], we will refer to the FF that solves this optimization as EΩ(t)E_{\Omega}(t).

While the isoperimetric ratio is a scalar measurement of compactness, the isoperimetric profile provides an entire plot that measures the multiscale compactness of a domain. As such, it is more suited to noisy data such as geographic domains that often exhibit fractal boundaries on coastlines and rocky territories. The notion of multiscale compactness is demonstrated in Figure 2 for two near-circular shapes that manifest extreme isoperimetric ratio values. While the ratio strongly distinguishes these two shapes, the profile reveals that they are in fact similar at coarse length scales and only differ at fine length scales. Furthermore, the isoperimetric profile is invariant to translation and rotation of the domain. When the areas of different domains are normalized, their isoperimetric profiles can be used as multiscale shape descriptors for measuring similarity and clustering.

Despite the theoretical advantages of the isoperimetric profile, the lack of an efficient algorithm to compute it heavily deters its usage in practice. A recent method takes a convex relaxation of Eq. (IP) using total variation (TV) on an Eulerian grid to compute the convex lower envelope of IPΩ[t]\mathrm{IP}_{\Omega}[t] [DLSS19]. This method suffers from several drawbacks: the lower bound is not tight on all valid values of tt for any domain; the discretization converges poorly under mesh refinement; and computation of IPΩ[t1]\mathrm{IP}_{\Omega}[t_{1}] does not leverage results from previously computed values IPΩ[t<t1]\mathrm{IP}_{\Omega}[t<t_{1}], although we note that this final issue could be possibly addressed by using a solution for smaller tt as the starting point for the next round of optimization.

10.50990.42710.243440.088905
Figure 1: From left to right: circle, low-res-California, high-res-California, silhouette, perturbed-circle. Their isoperimetric ratios are denoted above them. This indicates that a large range of shapes can lie between essentially two circles on the isoperimetric ratio scale.
Refer to caption
Figure 2: Isoperimetric profile plotted for two similar shapes of the same area: (green) the circle, and (red) a perturbed circle. The profile shows that these two shapes are identical at large length scales, but differ significantly on smaller length scales. The blue curve shows what [DLSS19] computes: the convex lower envelope of the profile of the perturbed circle. Note the circles are not plotted on the same scale as the profile.

The drawbacks in [DLSS19] limit its applicability to accurately obtaining the isoperimetric profile. To rectify this, we present a novel algorithm that computes upper bounds on the isoperimetric profile that are provably tight for a restricted class of domains. Outside this class, we still attain tight bounds on a subset of scales tt. Our algorithm exploits restrictions on the mean curvature of EΩ(t)\partial E_{\Omega}(t) [GMT80] as well as recent results on values of EΩ[t]E_{\Omega}[t] for special domains [LS19]. This leads us to the construction of our bound via the medial axis of Ω\Omega. We use our algorithm to bound isoperimetric profiles for a large variety of domains, including districts, states and countries at various resolutions. We show—on domains for which the isoperimetric profile is known—that our bound is much tighter than bounds computed by previous state-of-the-art.

Our main technical contributions are as follows:

  • We generalize previous approaches to understanding the isoperimetric profile by constructing it through the medial axis.

  • We design a novel algorithm for efficiently computing upper bounds to the isoperimetric profile.

  • We prove that our bound is tight for a restricted set of domains.

  • We prove that on general domains Ω\Omega our bound is tight for a range of tt values derived from properties of Ω\Omega.

  • We provide experiments demonstrating that our bounds on the isoperimetric profile are tight enough to be used in practice.

2 Related Work

While the original isoperimetric problem has been solved for centuries, many variants remain open and actively studied. For a summary of results on the subject in 2D, on Riemannian 3-manifolds, and on measures, see [Ros05].

A key application of the isoperimetric ratio is as a way to measure geometric compactness to detect gerrymandering [PP91]. In this context, it is known as the Polsby-Popper score. In some U.S. states, it is even a legally required statistic to be reported for any proposed districting plan [voMSRP11]. Despite this, [KKKng, DT18, BNNS19, BS20] show that this score is not a reliable measure of compactness. [DT18] suggest a discrete Polsby-Popper score on graphs that alleviates problems with map projection at the cost of geometric sensitivity. [Ehr82] suggest a variation of the isoperimetric ratio that computes the ratio of the area of the full domain to the area of its maximum inscribed circle. Ultimately, this measure ignores high resolution features of the domain. Note that the Ehrenburg test can be extracted from the front of the isoperimetric profile, while the Polsby-Popper score can be extracted from its end with interpolation in between. .

Many variations of the isoperimetric problem differ from the isoperimetric profile we consider in that they use the relative perimeter of the inscribed domain rather than full perimeter. While the relative perimeter formulations do not count shared boundary between the domain and its inscribed subdomain [Ros05], the full perimeter does. [SZ98] provide conditions under which a perimeter-minimizing subdomain of a convex set is also convex. [LS19] study the maximizers of a curvature functional with close ties to the isoperimetric profile when restricted to domains with no necks. Their results provide a method for computing the isoperimetric profile when restricted to no neck domains. [DLSS19] propose the first algorithmic approach to the isoperimetric profile on general domains by using TV as a generalized measurement of perimeter of a domain. This relaxation of the problem yields the convex lower envelope of the isoperimetric profile. It remains unknown if computation of the exact isoperimetric profile for 2D polygons is in the polynomial complexity class. Additional open problems for the 2D profile are summarized in [CFG12].

2.1 Properties of solutions to (IP)

While there is no known efficient algorithm to compute the full isoperimetric profile, much is known about EΩ(t)\partial E_{\Omega}(t). In particular, for any fixed value of tt, the free boundary of EΩ(t)E_{\Omega}(t) , EΩ(t)Ω\partial E_{\Omega}(t)\setminus\partial\Omega must have constant and nonsingular mean curvature [GMT80]. In addition, EΩ(t)\partial E_{\Omega}(t) and Ω\partial\Omega must meet tangentially, and any free boundary of EΩ(t)E_{\Omega}(t) must be a circular arc [BES49]. For a small subset of values of tt, EΩ(t)E_{\Omega}(t) and IPΩ(t)\mathrm{IP}_{\Omega}(t) are known in closed form [LS19]. We will expand on this in §3.3 after establishing more notation and geometric tools.

3 Preliminaries

3.1 Domains

Literature on the isoperimetric profile has typically focused on suitably regular Jordan domains.

Definition 3.1 (Jordan Curve [Sul12]).

A Jordan curve or a simple closed curve in the plane is the image of an injective continuous map ϕ:𝕊12\phi:\mathbb{S}^{1}\rightarrow{\mathbb{R}}^{2}.

Definition 3.2 (Jordan Domain [Sul12]).

A Jordan domain is the interior of a Jordan curve.

Beyond restricting attention to Jordan domains, there is typically an additional regularity constraint that area(Ω)=0\mathrm{area}(\partial\Omega)=0, where area()\mathrm{area}(\cdot) denotes the Lebesgue 2-dimensional measure. Domains satisfying this condition include any finite polygon and Jordan domains with smooth boundary. For contrast, Osgood curves are Jordan curves that can have nonzero area [Kno17], but for our purposes these will not be considered. The set of suitably regular Jordan domains will be denoted 𝕁\mathbb{J}.

3.2 Necks

We will further refine these domains Ω\Omega by the characteristics of their necks.

Definition 3.3 (Neck, [LNS17]).

A domain Ω2\Omega\subset{\mathbb{R}}^{2} has a neck of radius ρ\rho if there exists a pair of balls Bρ(x0),Bρ(x1)ΩB_{\rho}(x_{0}),\;B_{\rho}(x_{1})\subseteq\Omega such that there does not exist a continuous curve γ:[0,1]Ω\gamma:[0,1]\rightarrow\Omega satisfying γ(0)=x0\gamma(0)=x_{0}, γ(1)=x1\gamma(1)=x_{1}, and Bρ(γ)ΩB_{\rho}(\gamma)\subseteq\Omega.

Let rnr_{n} denote the smallest value of ρ\rho for which Ω\Omega has a neck. This definition is built intuitively on the idea of a bottleneck where objects of a certain size are unable to pass through. A domain that does not satisfy Definition 3.3 for any ρ\rho has no neck, i.e., rn=r_{n}=\infty. For example, star domains have no necks. In contrast, it is clear that the shape in Figure 3 has rn<r_{n}<\infty. This definition does not have a concept of multiple necks nor does it take into account the locations of necks. We will provide a new definition in §6.1 that generalizes necks to incorporate these concepts.

3.3 Morphological Operations

Refer to caption
Refer to caption
Refer to caption
Figure 3: (Left) The thickly outlined blue shape is the starting domain. The innermost red domain is the erosion of the starting domain by BrB_{r}. The outermost green shape is the dilation of the starting domain by BrB_{r}. (Middle) Morphological opening of the starting domain by balls of changing radius. Darker blue corresponds to smaller radius. (Right) Morphological closing of the starting domain by balls of changing radius. Darker blue corresponds to smaller radius.

Natural variations of a shape are given by morphological operations. Furthermore EΩ(t)E_{\Omega}(t) for limited values of tt can be characterized by the morphological opening of Ω\Omega. We will also use morphological closing in §7.2 to clean up our results. For these reasons, we provide their definitions; see [Ser00] for more discussion.

Let Br(x)B_{r}(x) be a ball of radius rr centered at x2x\in{\mathbb{R}}^{2} and BrBr(0)B_{r}\coloneqq B_{r}(0). Given a starting domain Ω2\Omega\subset{\mathbb{R}}^{2}, its erosion by BrB_{r} is

ΩBr={xΩ:Br(x)Ω}.\Omega\ominus B_{r}=\left\{x\in\Omega:B_{r}(x)\subseteq\Omega\right\}. (1)

Its dilation by BrB_{r} is

ΩBr={x2:ΩBr(x)}.\Omega\oplus B_{r}=\left\{x\in{\mathbb{R}}^{2}:\Omega\cap B_{r}(x)\neq\emptyset\right\}. (2)

Its opening by BrB_{r} is

ΩBr=(ΩBr)Br.\Omega\circ B_{r}=(\Omega\ominus B_{r})\oplus B_{r}. (3)

Finally, its closing by BrB_{r} is

ΩBr=(ΩBr)Br.\Omega\bullet B_{r}=(\Omega\oplus B_{r})\ominus B_{r}. (4)

These operations and their results are depicted in Figure 3. Intuitively, the opening can be thought of as a blurring of the convex corners of a shape. The closing can be thought of as a way of filling in small holes or smoothing out concave corners of a shape.

With this notation, we recall a property of the isoperimetric profile, namely that EΩ(t)=ΩBrE_{\Omega}(t)=\Omega\circ B_{r} when r<rnr<r_{n} with corresponding area t=area(ΩBr)t=\mathrm{area}(\Omega\circ B_{r}) [LS19]. It follows that when restricted to no neck domains, the isoperimetric profile can be computed by opening [LS19, Theorem 2.3]. For domains with necks, however, the opening is not generally equal to EΩ(t)E_{\Omega}(t). This is exemplified in Figure 3 where the opening has singular curvature near the neck. Furthermore, we find that in practice the range t[area(ΩBrn),area(Ω)]t\in[\mathrm{area}(\Omega\circ B_{r_{n}}),\mathrm{area}(\Omega)] accounts for a very small portion of the isoperimetric profile on domains with necks.

3.4 Medial Axis

One of our key ideas is to connect the widely used medial axis to the isoperimetric profile. The medial axis allows us to formulate a new definition of neck that will be helpful for our analysis.

Intuitively, the medial axis of a 2D domain is a set of curves that characterize the skeleton of a shape. To formalize this idea, let ΠΩ(xΩ)\Pi_{\partial\Omega}(x\in\Omega) be the projection of xx onto the closest boundary point. The medial axis of Ω2\Omega\subset{\mathbb{R}}^{2} is

MA(Ω)={xΩ|ΠΩisdiscontinuousatx}.\mathrm{MA}(\Omega)=\left\{x\in\Omega\left|\Pi_{\partial\Omega}\mathrm{\;is\;discontinuous\;at}\;x\right.\right\}. (5)

Said differently, the medial axis contains all interior points where the closest boundary point is non-unique. The medial axis of a 2D polygon can be decomposed into the union of linear and quadratic edge segments [AVP99]. Each medial axis edge segment is a set of points that are equidistant from two boundary objects, governors: two boundary vertices (vert-vert), two boundary edges (edge-edge), or one boundary vertex and one boundary edge (edge-vert). These edge segments join at medial axis nodes. The medial axis transform is the coupling of the medial axis with its radius function r(xMA(Ω))=dist(x,ΠΩ(x))r(x\in\mathrm{MA}(\Omega))=\mathrm{dist}(x,\Pi_{\partial\Omega}(x)), which measures its distance to the boundary. The medial axis transform is unique, and it can be used to reconstruct Ω\Omega [Blu67]. An example medial axis is provided in Figure 4. Lastly, we denote the the largest circle inscribed in Ω\Omega by inB(Ω)\mathrm{inB}(\Omega) with corresponding radius inr(Ω)=max{r(x):xMA(Ω)}\mathrm{inr}(\Omega)=\max\{r(x):x\in\mathrm{MA}(\Omega)\} and center inx(Ω)\mathrm{inx}(\Omega). We assume inB(Ω)\mathrm{inB}(\Omega) is unique, which is guaranteed for a generic domain, but not for domains with too much symmetry. In such a case, a randomized boundary perturbation will give us the needed genericity.

Refer to caption
Refer to caption
Figure 4: (Left) The domain Ω\Omega is outlined in black. Connectivity of medial axis edge segments are shown with colors indicating their type. Green edges are edge-edge. Pink edges are vert-vert. Blue edges are edge-vert. This distinction between edge segment types allows us to characterize the shape of the curve (linear or quadratic), as well as its radius function. Brown points indicate medial axis nodes where multiple segments connect. (Right) Piecewise quadratic medial axis is shown with color indicating radius function. Light yellow indicates high radius while magenta indicates low radius.

4 Motivating the Algorithm

We build our algorithm by first considering ways of computing the isoperimetric profile on domains with no necks, and then extending them to general domains. As mentioned in §3.3, for domains with no necks, EΩ(t)E_{\Omega}(t) is always equal to ΩBr\Omega\circ B_{r} for some rr. Since area(ΩBr)\mathrm{area}(\Omega\circ B_{r}) decreases strictly monotonically with rr, rr and tt are in correspondence. Thus, we can build the isoperimetric profile by measuring the area and perimeter of ΩBr\Omega\circ B_{r} for values of r[0,inr(Ω)]r\in[0,\mathrm{inr}(\Omega)]. It remains to consider different algorithmic ways of building ΩBr\Omega\circ B_{r}. A key consideration of our algorithm will be how well it extends to general domains with necks.

4.1 Direct computation of ΩBr\Omega\circ B_{r}

The opening of a 2D domain is simple to compute from modern geometry processing tools and generates feasible solutions to problem (IP) on general domains. Unfortunately, the IP upper bound generated by measuring the perimeter of ΩBr\Omega\circ B_{r} exhibits several undesirable traits on domains with necks. Firstly, ΩBr\Omega\circ B_{r} varies discontinuously with rr, leaving large gaps in the profile; we repair this issue in §7.2. Second, this IP bound is not monotonic, and we know the true isoperimetric profile should always monotonically increase. Finally, (ΩBr)\partial(\Omega\circ B_{r}) can have singular curvature on free boundaries, while EΩ(t)\partial E_{\Omega}(t) cannot. For these reasons direct computation of ΩBr\Omega\circ B_{r} does not extend well to domains with necks. To fix these shortcomings, we propose a novel medial axis based approach.

4.2 Medial Axis Limited Reconstruction

Recall from §3.4 that the medial axis transform is invertible i.e. we can reconstruct Ω\Omega from MA(Ω)\mathrm{MA}(\Omega) and its radius function r(x)r(x). Unsurprisingly, performing the reconstruction on a subset of MA(Ω)\mathrm{MA}(\Omega) will produce a subset of Ω\Omega. We will refer to these as limited reconstructions.

Definition 4.1 (Limited Reconstruction).

Let gMA(Ω)g\subseteq\mathrm{MA}(\Omega) be a subset of the medial axis. The medial axis limited reconstruction of Ω\Omega by gg is Ωg=xgBr(x)(x)\Omega_{g}=\bigcup_{x\in g}B_{r(x)}(x).

When g=MA(Ω)g=\mathrm{MA}(\Omega), Ωg=Ω\Omega_{g}=\Omega. It turns out that for a particular choice of gg, we can relate the morphological opening of a domain to its limited reconstruction.

Proposition 1.

For a radius parameter ρ[0,inr(Ω)]\rho\in[0,\mathrm{inr}(\Omega)] and gρ={xMA(Ω)|r(x)ρ}g_{\rho}=\{x\in\mathrm{MA}(\Omega)|r(x)\geq\rho\},

Ωgρ=ΩBρ.\Omega_{g_{\rho}}=\Omega\circ B_{\rho}. (6)

For proof, see §LABEL:proof:medaxrecon. The relationship between morphological operations and the morphological skeleton has been studied in image processing [Lan77], where a similar statement is made in the discrete setting. Recall that the isoperimetric profile of no neck domains in 𝕁\mathbb{J} can be constructed by morphological opening. By Proposition 1 these can now be constructed from subsets gg of the medial axis. Furthermore, gg can be built iteratively due to the following result:

Proposition 2.

For generic Ω\Omega and ρ1ρ2\rho_{1}\geq\rho_{2}, we have gρ1gρ2g_{\rho_{1}}\subseteq g_{\rho_{2}}. As extreme cases, g0=MA(Ω)g_{0}=\mathrm{MA}(\Omega) and ginr(Ω)=inx(Ω)g_{\mathrm{inr}(\Omega)}=\mathrm{inx}(\Omega).

Proof.

If a point x12x_{1}\in{\mathbb{R}}^{2} is in gρ1g_{\rho_{1}}, it must be on the medial axis and have r(x1)ρ1r(x_{1})\geq\rho_{1}. Then we also have r(x1)ρ2r(x_{1})\geq\rho_{2}, so it must be in gρ2g_{\rho_{2}}. At the smallest valid value ρ=0\rho=0, g0g_{0} is the entire medial axis, because the radius function is non-negative. At the largest nontrivial value ρ=inr(Ω)\rho=\mathrm{inr}(\Omega), ginr(Ω)g_{\mathrm{inr}(\Omega)} only contains points at least inr(Ω)\mathrm{inr}(\Omega) away from the boundary. For generic Ω\Omega, this is inx(Ω)\mathrm{inx}(\Omega) by definition. ∎

This motivates our algorithm in §5 for constructing the isoperimetric profile by starting with ginr(Ω)g_{\mathrm{inr}(\Omega)} and iteratively increasing gg by greedily absorbing neighboring medial axis points of highest radius. We will see in §7 why this medial axis based approach far outperforms direct computation of ΩBr\Omega\circ B_{r}.

4.3 Differential change in isoperimetric profile when traversing the medial axis

Since our algorithm will traverse the medial axis, we consider here how much the isoperimetric profile of Ωg\Omega_{g} will change as gg grows differentially. We can simplify this problem by looking at only a single medial axis edge segment γ:[0,1]2\gamma:[0,1]\rightarrow{\mathbb{R}}^{2}, and let g(τ2)=τ[τ1,τ2]γ(τ)g(\tau_{2})=\bigcup_{\tau\in[\tau_{1},\tau_{2}]}\gamma(\tau), for τ1,τ2[0,1]\tau_{1},\tau_{2}\in[0,1] and τ1<τ2\tau_{1}<\tau_{2}. We derive that

limτ2τ1length(Ωg(τ2))length(Ωg(τ1))area(Ωg(τ2))area(Ωg(τ1))=1r(γ(τ1)).\lim_{\tau_{2}\rightarrow\tau_{1}}\frac{\mathrm{length}(\partial\Omega_{g(\tau_{2})})-\mathrm{length}(\partial\Omega_{g(\tau_{1})})}{\mathrm{area}(\Omega_{g(\tau_{2})})-\mathrm{area}(\Omega_{g(\tau_{1})})}=\frac{1}{r(\gamma(\tau_{1}))}. (7)

For derivation see “differentialGrowth.nb” in supplemental materials. Equation (7) tells us that if we infinitesimally increase gg by absorbing vertices of the medial axis near xx, the slope of the isoperimetric profile will be 1/r(x)\nicefrac{{1}}{{r(x)}}. A consequence of Equation (7) is that the differential growth of the isoperimetric profile when growing a circle of fixed center from radius 0 is infinite, i.e., differentially, it is costly for FF in problem (IP) to be disconnected.

5 Algorithm

Our algorithm, as motivated by §4.2, can be roughly thought of as a greedy traversal of the medial axis. Given a domain Ω\Omega, we initialize g={inx(Ω)}g=\{\mathrm{inx}(\Omega)\} and allow it to iteratively absorb adjacent points of the medial axis of maximal radius. As |g||g| grows, area(Ωg)\mathrm{area}(\Omega_{g}) and length(Ωg)\mathrm{length}(\partial\Omega_{g}) form our IP upper bound. To put this into practice, we must first discretize several quantities.

First, we assume the input domain Ω\Omega is a polygon provided in the form of a n×2n\times 2 vertex matrix Ω¯\overline{\Omega} (not a closure). Next we discretize the medial axis MA(Ω¯)\mathrm{MA}(\overline{\Omega}) into a graph MAG\mathrm{MAG} whose nodes densely sample the exact medial axis (details on this sampling below). Thus, gg is simply a subgraph of MAG\mathrm{MAG}. Lastly, we discretize the limited reconstructions FF as polygons F¯=Ω¯g\overline{F}=\overline{\Omega}_{g}. This is computed as

Ω¯g=eg.edgesΩ¯e,\overline{\Omega}_{g}=\bigcup_{e\in\text{$g$.edges}}\overline{\Omega}_{e}, (8)

where each Ω¯e\overline{\Omega}_{e} is the limited reconstruction from one edge of the medial axis graph. Ω¯e\partial\overline{\Omega}_{e} consists of two semi-circular arcs and the linear subsets of Ω¯\partial\overline{\Omega} that are govenors of ee. Therefore Ω¯g\partial\overline{\Omega}_{g} is also a union of linear and circular arcs. We linearize circular arcs by polylines such that the length of any edge is less than input parameter dxd_{x}. As dx0d_{x}\rightarrow 0, F¯\overline{F} approaches FF.

The sampling of MA(Ω¯)\mathrm{MA}(\overline{\Omega}) into a graph MAG\mathrm{MAG} is performed with respect to two parameters dcd_{c} and rlr_{l}. The radius limit rlr_{l} is the lower threshold radius for when we truncate the medial axis. In order to make sure we do not lose any information about necks of the domain, we always set rlrnr_{l}\leq r_{n}. In our experiments, rl=rnr_{l}=r_{n}, unless we are on a no neck domain, in which case rl=r_{l}=.1.1. For any choice of rlrnr_{l}\leq r_{n}, our algorithm can bound the profile for t[0,area(ΩBrl)]t\in[0,\mathrm{area}(\Omega\circ B_{r_{l}})]. Our discretization of the medial axis also discretizes our upper bound on the IP into a piecewise linear fit. If ee is a medial axis graph edge with endpoints x1x_{1} and x2x_{2}, based on equation (7) we enforce that the difference between 1r(x1)\frac{1}{r(x_{1})} and 1r(x2)\frac{1}{r(x_{2})} is less than dcd_{c}. This concentrates samples of the IP upper bound to regions with high second derivative. As dcd_{c} decreases, the resolution of our piecewise linear IP upper bound increases.

Thus our algorithm is as follows. We first compute the exact medial axis of Ω\Omega using CGAL’s edge Voronoi procedures [Kar20]. Next, the medial axis is discretized into a graph MAG\mathrm{MAG} as described above. We then initialize g0={inx(Ω)MAG}g^{0}=\{\mathrm{inx}(\Omega)\in\mathrm{MAG}\} and greedily absorb neighboring graph nodes and edges of maximal radius per iteration. In each iteration, Fi¯\overline{F_{i}} is the limited reconstruction Ω¯gi\overline{\Omega}_{g^{i}}. Our algorithm outputs the sequence of Fi¯\overline{F_{i}}, their areas tit_{i} and their perimeters pip_{i}. This procedure is summarized by Algorithm 1. Figure 5 provides a visualization of the Fi¯\overline{F_{i}} constructed by this procedure.

5.1 Direct ΩBr\Omega\circ B_{r}

For comparison with the direct computation of ΩBr\Omega\circ B_{r} suggested in §4.1, we pick 100 evenly spaced values of ri[0,inr(Ω)]r_{i}\in[0,\mathrm{inr}(\Omega)], compute ΩBri\Omega\circ B_{r_{i}} and its corresponding area and perimeter. This is easily implemented with Matlab’s polybuffer methods and forms a second upper bound that in the majority of test cases performs worse than our medial axis based approach. In very few cases, it can perform better, in which case our final IP upper bound is the minimum of these two upper bounds.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 5: Sequence of inscribed subdomains FΩF\subset\Omega for (IP) visualized as a colormap. From left to right the domains shown are California, Boxes, District 1, Worm, and Mozambique. Each point is colored by the earliest time on the IP bound when FF contained that point. The top row shows results from morphological opening (with modification from §7.2), while the bottom row shows results from Algorithm 1.
1:procedure Compute-IP-Bound(Ω¯\overline{\Omega}, dcd_{c}, rlr_{l})
2:  [MA(Ω¯),r()][\mathrm{MA}(\overline{\Omega}),r(\cdot)]\leftarrow GetMedialAxis(Ω¯\overline{\Omega})
3:  MAG\mathrm{MAG}\leftarrow MAtoGraph(MA(Ω¯)\mathrm{MA}(\overline{\Omega}), dcd_{c}, rlr_{l})
4:  g0inx(Ω¯)g^{0}\leftarrow\mathrm{inx}(\overline{\Omega})
5:  F¯0inB(Ω¯)\overline{F}_{0}\leftarrow\mathrm{inB}(\overline{\Omega})
6:  t0area(F0¯)t_{0}\leftarrow\mathrm{area}(\overline{F_{0}})
7:  p0length(F0¯)p_{0}\leftarrow\mathrm{length}(\partial\overline{F_{0}})
8:  while giMAGg^{i}\neq\mathrm{MAG} do
9:   vv\leftarrowGetAdjacentNodes(MAG\mathrm{MAG}, gig^{i}.nodes)
10:   cv\gic\leftarrow v\backslash g^{i}.nodes
11:   cc^{*}\leftarrowArgMax(r(c)r(c))
12:   ee^{*}\leftarrowGetEdgeBetween(cc^{*}, gig^{i})
13:   gi+1g^{i+1}\leftarrow AddNode(gig^{i}, cc^{*})
14:   gi+1g^{i+1}\leftarrow AddEdge(gi+1g^{i+1}, ee^{*})
15:   Fi+1¯Ω¯gi+1\overline{F_{i+1}}\leftarrow\overline{\Omega}_{g^{i+1}}
16:   ti+1area(Fi+1¯)t_{i+1}\leftarrow\mathrm{area}(\overline{F_{i+1}})
17:   pi+1length(Fi+1¯)p_{i+1}\leftarrow\mathrm{length}(\partial\overline{F_{i+1}})
18:  end while
19:  return t,p,F¯t,p,\overline{F}
20:end procedure
Algorithm 1 Isoperimetric Profile Upper Bounder

6 Theoretical Tools

Our algorithm in the previous section produces a sequence of inscribed shapes F¯\overline{F}. We woud like to analyze how close they are to optimal. To do that, we first establish some theoretical tools that will help us analyze the behavior of our algorithm. These tools bridge the gap between the definition of necks and the medial axis.

6.1 Medial Axis Necks

Since our algorithm is derived jointly from the medial axis and the concept of necks, we create a generalized definition for necks based on the medial axis transform. From this definition, we can quantify the size of multiple necks as well as their locations (see Figure 6). This will allow us to prove results that are not possible to state with Definition 3.3.

Definition 6.1 (Generalized Necks).

η(Ω)\eta(\Omega) is the set of xMA(Ω)x\in\mathrm{MA}(\Omega) that satisfy either of the following:

  1. 1.

    xx is on the interior of a medial axis edge segment, and r(x)r(x) is a local minimum at xx.

  2. 2.

    xx is on a medial axis node and there are two distinct outgoing medial axis edge segments e1e_{1}, e2e_{2} on which the change in r(x)r(x) in both of those directions is positive.

The size of a neck xη(Ω)x\in\eta(\Omega) is r(x)r(x).

Refer to caption
Refer to caption
Figure 6: Domains with medial axes indicated by colored curves and and necks depicted by isolated black points. (Left) Domain containing 2 necks of different sizes (Right) Pinched annulus with one neck by definition 6.1, but no necks by definition 3.3

Algorithmically, the computation of the necks η(Ω)\eta(\Omega) is done by first computing the medial axis, and then iterating over its edges and nodes while checking the neck conditions. We denote the maximum neck radius by rm=max{r(x):xη(Ω)}r_{m}=\max\{r(x):x\in\eta(\Omega)\}. Similarly we denote its minimum neck radius by rn=min{r(x):xη(Ω)}r_{n}=\min\{r(x):x\in\eta(\Omega)\}. If a domain has no necks then we say rn==rmr_{n}=\infty=r_{m}. The maximum neck radius rmr_{m} is not part of the previous definition of necks but will be used in Proposition 4 to give theoretical guarantees about our algorithm. A nice property of our neck definition is that it is compatible with the previous neck definition, i.e., the minimal neck radius of both are identical.

Proposition 3 (Equality of necks).

For Ω𝕁\Omega\in\mathbb{J}, rnr_{n} of Definition 3.3 is equivalent to rnr_{n} of Definition 6.1.

For proof see §LABEL:proof:neckneck. Note that this equivalence does not hold for domains outside 𝕁\mathbb{J}. Consider the annulus with a pinch in it, illustrated in Figure 6. This does not have a neck by Definition 3.3, but by Definition 6.1 it has a single neck marked by the black point.

6.2 Thick Necks

While much is known about the isoperimetric profile for shapes with no necks (rn=r_{n}=\infty), much less is known when rnr_{n} is finite. One might hope that if rnr_{n} were in some sense large enough, we could still compute the isoperimetric profile with some confidence.

Here we define the thick neck condition which will be used in Proposition 5 to analyze the behavior of our algorithm on domains whose necks are large enough. Recall that inB(Ω)\mathrm{inB}(\Omega) is the largest circle inscribed in Ω\Omega.

Definition 6.2 (Second Largest Circle).

Let the radius of the second largest circle in Ω\Omega without replacement be

inr2(Ω)=inr(ΩinB(Ω)).\mathrm{inr}_{2}(\Omega)=\mathrm{inr}(\Omega-\mathrm{inB}(\Omega)). (9)
Definition 6.3 (Thick Neck).

A neck xη(Ω)x\in\eta(\Omega) is thick if

r(x)>inr2(Ω)2r(x)>\frac{\mathrm{inr}_{2}(\Omega)}{2} (10)
Definition 6.4 (Thick Neck Condition).

A domain satisfies the thick neck condition if all of its necks are thick.

For examples of domains that satisfy the thick neck condition and their profiles, see Figure 12.

7 Analysis of Algorithm 1

Given the tools of the previous section, we can now analyze how the perimeter of our constructed shapes Fi¯\overline{F_{i}} compares to that of EΩ(t)\partial E_{\Omega}(t). At the tit_{i}’s where our algorithm samples Fi¯\overline{F_{i}}, and pip_{i}, our bound satisfies several properties.

7.1 Theoretical analysis

By construction, Algorithm 1 produces an upper bound to the isoperimetric profile. This is because Fi¯\overline{F_{i}} is always a feasible candidate to (IP) with ti=area(Fi¯)t_{i}=\mathrm{area}(\overline{F_{i}}). By applying Equation (7) to domains in 𝕁\mathbb{J}, our bound is strictly monotonically increasing, similarly to the actual IP. Our construction also satisfies the condition in [GMT80], which states that EΩ(t)\partial E_{\Omega}(t) must lie tangent to Ω\partial\Omega and its free boundary must have no points of singular curvature. This is because the free boundary of Fi¯\overline{F_{i}} is made of circular arcs that start and end on Ω\partial\Omega and whose centers are on different edges of the medial axis. If these circular arcs intersect to form a point of singular curvature, then a non-contractable loop can be drawn in Ω\Omega by tracing from the intersection through both edges of the medial axis, back to inx(Ω)\mathrm{inx}(\Omega), implying Ω𝕁\Omega\notin\mathbb{J}.

We provide guarantees for when our bound is tight for any domain in 𝕁\mathbb{J}. While we cannot guarantee that our bound is tight for all tit_{i}, by Proposition 4, we know our bound is tight for tit_{i} in a limited range.

Proposition 4.

Let Γr\Gamma_{r} be the connected component of ΩBr\Omega\ominus B_{r} that contains inx(Ω)\mathrm{inx}(\Omega). Let rt=max(rm,inr2(Ω)/2)r_{t}=\max(r_{m},\nicefrac{{\mathrm{inr}_{2}(\Omega)}}{{2}}). For any domain in 𝕁\mathbb{J}, our bound for IPΩ(ti)IP_{\Omega}(t_{i}) is tight for ti>area(ΩBrn)t_{i}>\mathrm{area}(\Omega\circ B_{r_{n}}) and ti<area(ΓrtBrt)t_{i}<\mathrm{area}(\Gamma_{r_{t}}\oplus B_{r_{t}}).

Proof.

For ti>area(ΩBrn)t_{i}>\mathrm{area}(\Omega\circ B_{r_{n}}), we know that EΩ(ti)=ΩBrnE_{\Omega}(t_{i})=\Omega\circ B_{r_{n}}. In this region, the remaining area in Ω\Omega not covered by EΩ(ti)E_{\Omega}(t_{i}) has no more necks. Thus the problem reduces to the case with no necks, on which our algorithm produces tight bounds. For proof of the latter range of tit_{i} values, see Appendix LABEL:proof:earlyT. ∎

While Proposition 4 does not cover the entire IP, it applies to any domain in 𝕁\mathbb{J} regardless of the presence or size of necks. To achieve this result, this proposition uses rmr_{m}, a quantity that is not defined in prior work.

Application of Proposition 4 is demonstrated in Figure 7. We compute our upper bound to the IP by Algorithm 1 on the Candy domain. Its profile is depicted between two events: the area of the “max inscribed circle” area(inB(Ω))\mathrm{area}(\mathrm{inB}(\Omega)), and the “max area” area(Ω)\mathrm{area}(\Omega). We apply Proposition 4, which tells us that our medial axis bound for the IP is tight to the left of the “Conservatively tight” purple event line and to the right of the “Minimal Neck” purple event line. For values of tit_{i} between the two purple lines, we upper-bound the IP.

Refer to caption
Figure 7: Bounds on the IP computed by our medial axis traversal algorithm on the Candy domain. By Proposition 4 our bound is tight on the green regions (left of “Conservatively tight” and right of “Minimal Neck”). On the rest of the profile, our medial axis traversal algorithm is an upper bound. Visualizations of Fi=ΩgF_{i}=\Omega_{g} are depicted along the profile bound.

Given some assumptions on the domain Ω\Omega, we show that our IP bound exactly recovers the IP.

Proposition 5.

If EΩ(t)E_{\Omega}(t) grows only continuously except when transitioning to being disconnected, then for Ω𝕁\Omega\in\mathbb{J} that satisfy the thick neck condition, our bound is tight for all tit_{i}.

Intuitively, this is because the smallest perimeter cost for having a disconnected EΩ(t)E_{\Omega}(t) is larger than the cost for continuing to grow EΩ(t)E_{\Omega}(t) via limited reconstructions. For proof, see §LABEL:proof:bigneck. Proposition 5 allows us to compute the exact isoperimetric profile for domains satisfying the thick neck condition. We show in §8.3 examples of domains satisfying this condition and that while previous methods of computing the isoperimetric profile are not tight, our method provides the exact profile for this larger class of domains.

7.2 Empirical Quality Improvements

Refer to caption
Figure 8: (Left) F¯i\overline{F}_{i} before post processing. Several holes and boundary flaws are visible by magnification. (Right) F¯i\overline{F}_{i} with post processing. Holes and boundary flaws are repaired. Post processing changes the area by less than 1e-5, while decreasing the perimeter by 0.1.
Refer to caption
Refer to caption
Figure 9: (Left) Our post processing procedure gets rid of small floating point artifacts in the inscribed shape resulting in lower perimeter and a tighter IP bound. (Right) The profile generated by ΩBr\Omega\circ B_{r} disconnectedly jumps from the green event line to the red event line. ΩBr\Omega\ominus B_{r} is visualized in red and shows the creation of a very small disconnected region at xx^{-}. We interpolate the profile in between these discontinuous transitions by inflating a circle at xx^{-} from radius 0 to rr.

Following Equation (8) we compute Ωg\Omega_{g} by the union of floating precision polygons. This sometimes introduces artifacts like holes, or jagged boundary at a scale that is invisible. While seemingly negligible, many holes or jagged regions add up to significantly increase the perimeter thus loosening our upper bound. This is solved easily by some basic post processing. First we remove all holes in FF, then we perform morphological closing with a ball of small radius, and lastly we intersect it with Ω\Omega to make it feasible again. These steps are summarized in Algorithm 2. Figure 8 shows the change in F¯i\overline{F}_{i} before and after post processing. Figure 9 demonstrates the difference in the IP with and without post processing.

We also perform a repair step to the upper bound obtained by direct computation of ΩBr\Omega\circ B_{r}. Since ΩBr\Omega\circ B_{r} changes discontinuously with rr for domains with necks, this leaves gaps in the IP. An example of this discontinuous transition is visualized in Figure 9. The discontinuous change happens due to the creation of a new disconnected point xx^{-} in ΩBr\Omega\ominus B_{r}. ΩBr\Omega\circ B_{r} will instantly include a circle centered on xx^{-} of radius rr, which abruptly increases area and perimeter. We detect when the number of disconnected regions in ΩBr\Omega\ominus B_{r} changes, and compute xx^{-} as the center of the bounding box of the smallest area component of ΩBr\Omega\ominus B_{r}. We then inflate a disk centered at xx^{-} from radius 0 to rr. This procedure continuously fills in the IP bound and is illustrated in Figure 9.

1:procedure PostProcessPolygons(FF, rcr_{c}, Ω\Omega)
2:  FF\leftarrowRemoveHoles(F)
3:  FFBrcF\leftarrow F\bullet B_{r_{c}}
4:  FFΩF\leftarrow F\bigcap\Omega
5:  return FF
6:end procedure
Algorithm 2 PostProcess Polygon
Refer to caption
Refer to caption
Refer to caption
Figure 10: We test three different discretizations of total variation (TV). (1) TV-1: the TV discretization of [DLSS19]. (2) 3x3 Gradient: TV where gradients are computed with a 3x3 stencil. (3) 5x5 Gradient: TV where gradients are computed with a 5x5 stencil. We test how well these three discretization perform at approximating the perimeter of a polygon when applied to an indicator function of it on finer grid resolutions. While none of the three converge exactly to the correct perimeter, the 3x3 gradient performs significantly better.

8 Experiments and Results

8.1 Comparison Methods

We compare our algorithm against the few existing computational approaches to the isoperimetric profile. First we compare Algorithm 1 with direct morphological opening. While both generate upper bounds, direct opening has much fewer guarantees and generally produces a looser bound. Next we compare with the TV approach [DLSS19] which generates lower bounds. In theory, it generates the convex lower envelope of the IP.

Code for our algorithm, figure generation, and all parameters used can be found in supplementary materials. We show profiles starting from the area of the maximum inscribed circle because the profile before then is uninformative.

8.1.1 Modification to comparison method

For comparisons with TV [DLSS19] we use a modification of their code that significantly improves their lower bound. Their algorithm hinges on the use of total variation (TV) on indicator functions as a measurement of perimeter. Their discretized TV comes from [CDPP16], which we find converges poorly to perimeter. Instead, we implement a discretization based on smoothed second order finite differences:

x=16dx[101101101],y=16dy[   1   1   1   0   0   0111]\frac{\partial}{\partial x}=\frac{1}{6\cdot dx}\begin{bmatrix}{}-1&0&1\\ -1&0&1\\ -1&0&1\end{bmatrix}{},\hfill\frac{\partial}{\partial y}=\frac{1}{6\cdot dy}\begin{bmatrix}{}\;\;\;1&\;\;\;1&\;\;\;1\\ \;\;\;0&\;\;\;0&\;\;\;0\\ -1&-1&-1\end{bmatrix}{} (11)

The total variation is then i,j=1nux,uy2dxdy\sum_{i,j=1}^{n}\left\|\frac{\partial u}{\partial x},\frac{\partial u}{\partial y}\right\|_{2}dxdy. A comparison of the different discretizations at perimeter estimation are shown in Figure 10. We also tested a smoothed third order finite difference gradient but find that the second order gradient achieves the closest perimeter estimate by far . We use this modified TV for all comparisons with [DLSS19]. We sometimes obtain results where the lower bound intersects the upper bound. This is because even our modified TV does not exactly converge pointwise to continuous TV. Design of such a discretization is the subject of active research and is a challenge with TV-based algorithms more broadly.

Refer to caption
Refer to caption
Figure 11: We compute three different isoperimetric profile bounds on domains with no neck: Star, no-neck-J. Both morphological opening and our medial axis algorithms produce tight upper bounds to the IP. TV roughly captures the convex lower envelope of the profile but slightly overshoots due to discretization error.
Refer to caption
Refer to caption
Refer to caption
Figure 12: We compute three different isoperimetric profile bounds on domains with thick necks: Jellyfish, Hourglass, and Worm. Morphological opening computes loose upper bounds, and TV computes loose lower bounds. While morphological opening can produce the exact IP on the small interval between “Minimal Neck” and “Max area”, only our medial axis based algorithm computes the exact IP for the entire range of areas.

8.2 No Neck Domains

On no neck domains both the morphological opening procedure and our medial axis traversal will produce the exact isoperimetric profile. This is depicted in Figure 11. We test on a star domain Star as well as a non-star, no neck domain no-neck-J. We choose rl=.1r_{l}=.1 which computes most of, but not the entire, profile. This is why our profile stops before the maximum area is reached. The total variation lower bound roughly follows the convex lower envelope of our profile, but overshoots in a few regions. As a lower bound, it leaves slack room, while our algorithm is exact.

Note that the choice of rl=.1r_{l}=.1 is specific to the domains we tested on. As rlr_{l} roughly corresponds to the smallest length scale of a domain our IP bound will capture, a smaller domain requires a smaller rlr_{l}.

8.3 Thick Neck Domains

On thick neck domains our algorithm computes the exact IP, while morphological opening computes a much looser upper bound, and total variation computes the convex lower envelope of the profile. This is demonstrated in Figure 12 on the Jellyfish, Hourglass, and Worm domains. Note that the “Minimal Neck” area, area(Ωrn)\mathrm{area}(\Omega\circ r_{n}), is often very close to the maximum area. Prior methods would only be able to compute the exact profile in the limited region from area(Ωrn)\mathrm{area}(\Omega\circ r_{n}) to area(Ω)\mathrm{area}(\Omega), while our method computes the entire profile. Due to the prescence of necks, direct morphological opening produces much worse upper bounds than our method.

8.4 General Domains

We test on a set of geographic and hand drawn data. Maps of Alabama, California, Delaware, and District 1 of Alabama were obtained from [FIP20]. A map of Mozambique was obtained from [Vem20]. In addition, we create a drawing, Boxes, to test on. Alabama, California, and Delaware satisfied the thick neck condition while District 1, Mozambique, and Boxes do not. Our profiles for these domains are shown in Figure 13. Our bound computes the exact IP for all tt on Alabama, California, and Delaware. [DLSS19] continues to provide convex lower envelopes with slack and an occasional intersection with the upper bound due to imperfect discretization. This lower bound is particularly loose, on Alabama, and California revealing a significant gap for most of the profile. Morphological opening produces upper bounds as well, but are loose compared to our medial axis based approach and has no theoretical guarantees except for a small region on the tail of the profile.

On the District 1, Mozambique, and Boxes domains, we use Proposition 4 to compute “Conservatively tight” and “Minimal Neck” events that allow us to guarantee our bound is tight on a larger range of tt values. For both District 1, and Mozambique, our algorithm produces much tighter upper bounds than morphological opening. An exception occurs on Boxes, where the morphological opening produces a tighter bound. This is explained by the fact that the optimal EΩ(t)E_{\Omega}(t) is disconnected for much of the profile, while our algorithm by construction only produces connected polygons. For this reason it would be worthwhile to explore using disconnected medial axis reconstructions based on a criteria like the thick neck condition. Further exploration of disconnected limited reconstructions is discussed in §LABEL:sec:discuss and left to future work.

8.5 Aggregate Profile

By combining the bounds and guarantees provided in this paper and those of [DLSS19, LS19], we compute the envelope inside which the isoperimetric profile must lie. This is visualized in Figure 14. We find that this produces a relatively narrow region of uncertainty where the IP is unknown. This visualization also makes clear the rich space of multi scale behaviors that different domains can have.

For example, consider the Jellyfish (brown). It consists of a large cap region which has mostly low resolution features, followed by several tendrils that require high resolution data to capture. This is reflected in its isoperimetric profile where it starts shallow for most of the area, before sharply veering up to have one of the largest perimeters in this figure. Delaware (bright green) demonstrates similar behavior to a lesser extent. It starts with a shallow profile indicating its coarse lower portion, before its profile curves upwards to capture the high resolution details of its upper quarter. Delaware requires less high resolution data to capture than the Jellyfish, however, as indicated by its profile sitting below that of the Jellyfish. Our results with the isoperimetric profile make it possible to computationally and numerically compare these domains’ multi-scale properties.

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 13: Isoperimetric profile bounds computed on a mix of sketch and map data. (Left column) Alabama, California, and Delaware. These U.S. states satisfy the thick neck condition so our upper bound is tight, while other bounds are significantly looser. (Right column) Mozambique, District 1, and Boxes. These domains do not satisfy the thick neck condition. Our bound still provides a tighter upper bound than opening on Mozambique, and District 1, but is looser on Boxes. This looseness is explained by the optimal inscribed shape being disconnected, something our algorithm can not achieve by construction. By Proposition 4, our bound is tight to the left of “Conservatively tight” and to the right of “Minimal Neck”.
Refer to caption
Figure 14: We combine bounds and guarantees of this paper and those of [DLSS19, LS19] to produce a tight regime inside which the IP must lie. Domains are scaled to have area 11 for plotting purposes. We find that this produces a relatively narrow range of uncertainty that illuminates the rough shape of the IP. This plot also allows us to see the rich space of multi-scale phenomena that 2D domains can have. In particular, the (brown) Jellyfish’s profile starts shallow before sharply veering upwards, reflecting the composition of the Jellyfish by a big round cap and many small tentacles.

8.6 Runtime

A list of runtimes for our experiments is provided in Table LABEL:table:timings. The runtime of our algorithm depends most strongly on number of vertices |V||V|, and loosely on other parameters dcd_{c}, rlr_{l}, and rnr_{n}. For morphological opening, the runtime depends primarily on the number of samples of the IP that are computed. For all times listed, we sample 100 values of the IP. For TV, runtime depends on the number of samples of the IP that are computed as well as the pixel resolution used to rasterize the polygon. We compute 20 samples of the TV IP and use 100 vertical pixels for the rasterization.

References

  • [AVP99] Arinyo R. J., Vidal L. P., Pastó J. V.: Computing the medial axis transform of polygonal domains by tracing paths.
  • [BES49] BESICOVITCH A.: A variant of a classical isoperimetric problem. Quarterly Journal of Mathematics (01 1949), 84–94. doi:10.1093/qmath/os-20.1.84.
  • [Blu67] Blum H.: A Transformation for Extracting New Descriptors of Shape. In Models for the Perception of Speech and Visual Form, Wathen-Dunn W., (Ed.). MIT Press, Cambridge, 1967, pp. 362–380.
  • [BNNS19] Bar-Natan A., Najt L., Schutzman Z.: The gerrymandering jumble: Map projections permute districts’ compactness scores. arXiv:1905.03173 (2019).
  • [BS20] Barnes R., Solomon J.: Gerrymandering and compactness: implementation flexibility and abuse. Political Analysis (2020).
  • [CDPP16] Chambolle A., Duval V., Peyré G., Poon C.: Geometric properties of solutions to the total variation denoising problem. Inverse Problems 33, 1 (dec 2016), 015002.
  • [CFG12] Croft H., Falconer K., Guy R.: Unsolved Problems in Geometry: Unsolved Problems in Intuitive Mathematics. Problem Books in Mathematics. Springer New York, 2012. URL: https://books.google.com/books?id=rdDTBwAAQBAJ.
  • [DLSS19] DeFord D. R., Lavenant H., Schutzman Z., Solomon J.: Total variation isoperimetric profiles. SIAM J. Appl. Algebra Geom. 3 (2019), 585–613.
  • [DT18] Duchin M., Tenner B. E.: Discrete geometry for electoral geography, 2018. arXiv:1808.05860.
  • [Ehr82] Ehrenburg K.: Studien zur hessnng der horizontalen gliederung von erdräuinen. In Verhandlungen derPhysikalisch-medizinische Gesellschaft zu Würzburg (1982), p. 41–92.
  • [FIP20] FIPS: State FIPS Code Listing, 2020. URL: https://www.mcc.co.mercer.pa.us/dps/state_fips_code_listing.htm.
  • [GMT80] Gonzalez E., Massari U., Tamanini I.: On the Regularity of Boundaries of Sets Minimizing Perimeter with a Volume Constraint. Libera Universita di Trento. Dipartimento di Matematica, 1980. URL: https://books.google.com/books?id=jPYcrgEACAAJ.
  • [GW96] Gordon C., Webb D.: You can’t hear the shape of a drum. American Scientist 84, 1 (1996), 46–55.
  • [Kar20] Karavelas M.: 2D segment Delaunay graphs. In CGAL User and Reference Manual, 5.0.2 ed. CGAL Editorial Board, 2020. URL: https://doc.cgal.org/5.0.2/Manual/packages.html##PkgSegmentDelaunayGraph2.
  • [KKKng] Kaufman A., King G., Komisarchik M.: How to measure legislative district compactness if you only know it when you see it. American Journal of Political Science (Forthcoming).
  • [Kno17] Knopp K.: Einheitliche erzeugung und darstellung der kurven von Peano, Osgood und Koch. Arch. Math. Phys. 26 (1917), 103–115.
  • [Lan77] Lantuéjoul C.: Sur le modèle de Johnson-Mehl généralisé. In Internal Report of the Centre de Morph. Math. (1977).
  • [LNS17] Leonardi G., Neumayer R., Saracco G.: The Cheeger constant of a Jordan domain without necks. Calculus of Variations and Partial Differential Equations 56 (11 2017), 164. doi:10.1007/s00526-017-1263-0.
  • [LS19] Leonardi G. P., Saracco G.: Minimizers of the prescribed curvature functional in a jordan domain with no necks. arXiv preprint arXiv:1912.09462 (2019).
  • [PP91] Polsby D. D., Popper R. D.: The third criterion: Compactness as a procedural safeguard against partisan gerrymandering. Yale Law & Policy Review 9, 2 (1991), 301–353.
  • [Ros05] Ros A.: The isoperimetric problem. Clay Math. Proc. 2 (01 2005).
  • [Ser00] Serra J.: Cours de morphologie mathematique. http://www.cmm.mines-paristech.fr/˜serra/cours/index.htm, 2000.
  • [Sul12] Sulovskỳ M.: Depth, Crossings and Conflicts in Discrete Geometry. Logos Verlag Berlin, 2012. URL: https://books.google.com/books?id=0Q9mbXCQRyoC.
  • [SZ98] Stredulinsky E., Ziemer W.: Area minimizing sets subject to a volume constraint in a convex set. Journal of Geometric Analysis 7 (12 1998). doi:10.1007/BF02921639.
  • [Vem20] Vemaps: Mozambique Map by Vemaps.com, 2020. URL: https://vemaps.com/mozambique/mz-01.
  • [VF83] Virgil., Fitzgerald R.: The Aeneid. New York: Random House, 1983.
  • [voMSRP11] asdfState of Minnesota Special Redistricting Panel: Order a11-152. http://www.mncourts.gov/Documents/0/Public/Court_Information_Office/2011Redistricting/A110152Order11.4.11.pdf, 11 2011.