Extended Grassfire Transform on Medial Axes of 2D Shapes
description
Transcript of Extended Grassfire Transform on Medial Axes of 2D Shapes
![Page 1: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/1.jpg)
Extended Grassfire Transform on Medial Axes of 2D Shapes
Tao Ju, Lu LiuWashington University in St. Louis
Erin Chambers, David LetscherSt. Louis University
![Page 2: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/2.jpg)
Medial axis
• The set of interior points with two or more closest points on the boundary
– A graph that captures the protrusions and topology of a 2D shape
– First introduced by H. Blum in 1967
• A widely-used shape descriptor
– Object recognition
– Shape matching
– Skeletal animation
![Page 3: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/3.jpg)
Grassfire transform
• An erosion process that creates the medial axis
– Imagine that the shape is filled with grass. A fire is ignited at the border and propagates inward at constant speed.
– Medial axis is where the fire fronts meet.
![Page 4: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/4.jpg)
Medial axis significance
• The medial axis is sensitive to perturbations on the boundary
– Some measure is needed to identify significant subsets of medial axis
![Page 5: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/5.jpg)
Medial axis significance
• A mathematically defined significance function that captures global shape property and resists boundary noise is lacking
– Local measures
• Does not capture global feature
– Potential Residue (PR) [Ogniewicz 92], Medial Geodesic Function (MGF) [Dey 06]
• Discontinuous at junctions
• Sensitive to boundary perturbations
– Erosion Thickness (ET) [Shaked 98]
• Lacking explicit formulation
![Page 6: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/6.jpg)
Medial axis significance
• A mathematically defined significance function that captures global shape property and resists boundary noise is lacking
– Local measures
• Does not capture global feature
– Potential Residue (PR) [Ogniewicz 92], Medial Geodesic Function (MGF) [Dey 06]
• Discontinuous at junctions
• Sensitive to boundary perturbations
– Erosion Thickness (ET) [Shaked 98]
• Lacking explicit formulation
![Page 7: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/7.jpg)
Medial axis significance
• A mathematically defined significance function that captures global shape property and resists boundary noise is lacking
– Local measures
• Does not capture global feature
– Potential Residue (PR) [Ogniewicz 92], Medial Geodesic Function (MGF) [Dey 06]
• Discontinuous at junctions
• Sensitive to boundary perturbations
– Erosion Thickness (ET) [Shaked 98]
• Lacking explicit formulation
![Page 8: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/8.jpg)
Medial axis significance
• A mathematically defined significance function that captures global shape property and resists boundary noise is lacking
– Local measures
• Does not capture global feature
– Potential Residue (PR) [Ogniewicz 92], Medial Geodesic Function (MGF) [Dey 06]
• Discontinuous at junctions
• Sensitive to boundary perturbations
– Erosion Thickness (ET) [Shaked 98]
• Lacking explicit formulation
![Page 9: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/9.jpg)
Shape center
• A center point is needed in various applications
– Shape alignment
– Motion tracking
– Map annotation
![Page 10: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/10.jpg)
Shape center
• Definition of an interior, unique, and stable center point does not exist so far
– Centroid
• not always interior
– Geodesic center [Pollack 89]
• may lie at the boundary
– Geographical center
• not unique
![Page 11: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/11.jpg)
Shape center
• Definition of an interior, unique, and stable center point does not exist so far
– Centroid
• not always interior
– Geodesic center [Pollack 89]
• may lie at the boundary
– Geographical center
• not unique
Centroid
![Page 12: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/12.jpg)
Shape center
• Definition of an interior, unique, and stable center point does not exist so far
– Centroid
• not always interior
– Geodesic center [Pollack 89]
• may lie at the boundary
– Geographical center
• not unique
Centroid Geodesic center
![Page 13: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/13.jpg)
Shape center
• Definition of an interior, unique, and stable center point does not exist so far
– Centroid
• not always interior
– Geodesic center [Pollack 89]
• may lie at the boundary
– Geographical center
• not unique
Centroid Geodesic center
Geographic center
![Page 14: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/14.jpg)
Contributions
• Unified definitions of a significance function and a center point on the 2D medial axis
– The function: capturing global shape, continuous, and stable
– The center point: interior, unique, and stable
• A simple computing algorithm
– Extends Blum’s grassfire transform
• Applications
![Page 15: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/15.jpg)
Intuition
• Measure the shape elongation around a medial axis point
– By the length of the longest “tube” that fits inside the shape and is centered at that point
![Page 16: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/16.jpg)
Tubes
• Union of largest inscribed circles centered along a segment of the medial axis
– The segment is called the axis of the tube
– The radius of the tube w.r.t. a point on the axis is its distance to the nearer end of the tube
geodesic distance distance to boundary
𝑥𝑦 1 𝑦 2𝑅 (𝑦¿¿1)¿
𝑅 (𝑦¿¿2)¿𝑟 𝑡 (𝑥)
![Page 17: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/17.jpg)
Tubes
• Union of largest inscribed circles centered along a segment of the medial axis
– The segment is called the axis of the tube
– The radius of the tube w.r.t. a point on the axis is its distance to the nearer end of the tube
• Infinite on loop parts of axis
(there are no “ends”)𝑥
![Page 18: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/18.jpg)
EDF
• Extended Distance Function (EDF): radius of the longest tube
𝐸𝐷𝐹 (𝑥 )=𝑠𝑢𝑝𝑡 𝑟 𝑡(𝑥 )
Simply connected shape
![Page 19: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/19.jpg)
EDF
• Extended Distance Function (EDF): radius of the longest tube
𝐸𝐷𝐹 (𝑥 )=𝑠𝑢𝑝𝑡 𝑟 𝑡(𝑥 )
𝑥𝐸𝐷𝐹 (𝑥)
Simply connected shape
![Page 20: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/20.jpg)
EDF
• Extended Distance Function (EDF): radius of the longest tube
𝐸𝐷𝐹 (𝑥 )=𝑠𝑢𝑝𝑡 𝑟 𝑡(𝑥 )
𝑥
𝐸𝐷𝐹 (𝑥)
Simply connected shape
![Page 21: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/21.jpg)
EDF
• Extended Distance Function (EDF): radius of the longest tube
𝐸𝐷𝐹 (𝑥 )=𝑠𝑢𝑝𝑡 𝑟 𝑡(𝑥 )
𝑥𝐸𝐷𝐹 (𝑥)
Simply connected shape
![Page 22: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/22.jpg)
EDF
• Extended Distance Function (EDF): radius of the longest tube
𝐸𝐷𝐹 (𝑥 )=𝑠𝑢𝑝𝑡 𝑟 𝑡(𝑥 )
Shape with a hole
![Page 23: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/23.jpg)
EDF
• Properties
– No smaller than distance to boundary
• Equal at the ends of the medial axis
– Continuous everywhere
• Along two branches at each junction
– Constant gradient (1) away from maxima
Distance to boundary
![Page 24: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/24.jpg)
EDF
• Properties
– No smaller than distance to boundary
• Equal at the ends of the medial axis
– Continuous everywhere
• Along two branches at each junction
– Constant gradient (1) away from maxima
– Loci of maxima preserves topology
• Single point (for a simply connected shape)
• System of loops (for shape with holes)
Distance to boundary
EDF
![Page 25: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/25.jpg)
EDF
• Properties
– No smaller than distance to boundary
• Equal at the ends of the medial axis
– Continuous everywhere
• Along two branches at each junction
– Constant gradient (1) away from maxima
– Loci of maxima preserves topology
• Single point (for a simply connected shape)
• System of loops (for shape with holes)
Distance to boundary
EDF
![Page 26: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/26.jpg)
EMA
• Extended Medial Axis (EMA): loci of maxima of EDF
– Intuitively, where the longest fitting tubes are centered
![Page 27: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/27.jpg)
EMA
• Extended Medial Axis (EMA): loci of maxima of EDF
– Intuitively, where the longest fitting tubes are centered
• Properties
– Interior
– Unique point
(For simply connected shapes)
![Page 28: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/28.jpg)
Extended grassfire transform
• An erosion process that creates EDF and EMA
– Fire is ignited at each end of medial axis at time , and propagates geodesically at constant speed. Fire front dies out when coming to a junction, and quenches as it meets another front.
– EDF is the burning time
– EMA consists of
• Quench sites
• Unburned parts
![Page 29: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/29.jpg)
Extended grassfire transform
• An erosion process that creates EDF and EMA
– Fire is ignited at each end of medial axis at time , and propagates geodesically at constant speed. Fire front dies out when coming to a junction, and quenches as it meets another front.
– EDF is the burning time
– EMA consists of
• Quench sites
• Unburned parts
• A simple discrete algorithm
![Page 30: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/30.jpg)
Extended grassfire transform
• Can be combined with Blum’s grassfire
– Fire “continues” onto the medial axis at its ends
![Page 31: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/31.jpg)
Comparison with PR/MGF
• EDF and EMA are more stable under boundary perturbation
PR and its maxima
![Page 32: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/32.jpg)
Comparison with PR/MGF
• EDF and EMA are more stable under boundary perturbation
EDF and EMA
![Page 33: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/33.jpg)
Relation to ET
• Erosion Thickness (ET) [Shaked 98]
– The burning time of a fire that starts simultaneously at all ends and runs at non-uniform speed
– No explicit definition exists
• New definition
– Simpler to compute
– More intuitive: length of the tube minus its thickness
EDF
ET
![Page 34: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/34.jpg)
Application: Pruning Medial Axis
• Observation
– The difference between EDF and the distance-to-boundary gives a robust measure of shape elongation relative to its thickness
EDF EDF and boundary distance
![Page 35: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/35.jpg)
Application: Pruning Medial Axis
• Two significance measures: relative and absolute difference of EDF and boundary distance (R)
– Absolute diff (ET): “scale” of elongation
– Relative diff: “sharpness” of elongation
• Preserving medial axis parts that are high in both measures
1−𝑅(𝑥 )/𝐸𝐷𝐹 (𝑥)
𝐸𝐷𝐹 (𝑥 )−𝑅 (𝑥)
![Page 36: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/36.jpg)
Application: Pruning Medial Axis
• Preserving medial axis parts that score high in both measures
![Page 37: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/37.jpg)
Application: Pruning Medial Axis
• Preserving medial axis parts that score high in both measures
![Page 38: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/38.jpg)
Application: Shape alignment
• Stable shape centers for alignment
Centroid Maxima of PR EMA
![Page 39: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/39.jpg)
Application: Shape alignment
• Stable shape centers for alignment
Centroid Maxima of PR EMA
![Page 40: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/40.jpg)
Application: Boundary Signature
• Boundary Eccentricity (BE): “travel” distance to the EMA
– Travel is restricted to be on the medial axis
𝑥EMA
𝑝𝐵𝐸 (𝑃 )=𝑑 (𝑥 ,𝐸𝑀𝐴 )+𝑅(𝑥 )
![Page 41: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/41.jpg)
Application: Boundary Signature
• Boundary Eccentricity (BE): “travel” distance to the EMA
– Highlights protrusions and is invariant under isometry
Shape 1 Shape 2 Matching
![Page 42: Extended Grassfire Transform on Medial Axes of 2D Shapes](https://reader035.fdocuments.in/reader035/viewer/2022062811/56815fd9550346895dcede3f/html5/thumbnails/42.jpg)
Summary
• New definitions of significant function and medial point over the medial axis in 2D
– EDF(x): length of the longest tube centered at x
– EMA: the center of the longest tube
• Extending Blum’s grassfire transform to compute them
• Future work: 3D?
– New global significance function on medial surfaces
– New definition of center curve (or curve skeleton)