Segmentation of Polycrystalline Images Using Voronoi Diagrams - - PowerPoint PPT Presentation

segmentation of polycrystalline images using voronoi
SMART_READER_LITE
LIVE PREVIEW

Segmentation of Polycrystalline Images Using Voronoi Diagrams - - PowerPoint PPT Presentation

Segmentation of Polycrystalline Images Using Voronoi Diagrams Uzziel Cortez April 24, 2019 Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 1 / 36 Introduction & Motivation Material development


slide-1
SLIDE 1

Segmentation of Polycrystalline Images Using Voronoi Diagrams

Uzziel Cortez April 24, 2019

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 1 / 36

slide-2
SLIDE 2

Introduction & Motivation

Material development is essential to solving problems our world faces.

Superalloys: Industrial engineering applications such as aerospace and marine engineering Graphene: Applications in medicine and electronics Aerogels: Environmental applications

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 2 / 36

slide-3
SLIDE 3

Introduction & Motivation

Polycrystalline materials are composed of many crystalline parts that are randomly oriented with respect to each other. The material’s properties are largely dependent on its microstructure. Material properties

conductivity strength hardness corrosion resistance ...

Material microstrucure properties

Grain size Grain boundary distribution Grain deformations Chemical composition ...

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 3 / 36

slide-4
SLIDE 4

Introduction & Motivation

Determining a materials properties through analysis of grain boundary structure is crucial to the development of new materials and subsequent advancement of engineering. Obtaining accurate measurements through imaging can be expensive and tedious.

Electron Backscatter Diffraction: Equipment and technician costs Light optical microscopy: Requires preprocessing of the material and may affect measurement accuracy

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 4 / 36

slide-5
SLIDE 5

Problem Statement

Given an image of a polycrystalline material, can we implement an algorithm that will produce an accurate segmentation? i.e. Can we produce a binary image that accurately represents the grain boundary structure?

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 5 / 36

slide-6
SLIDE 6

Voronoi Diagrams

We can model grain boundary structure by using Voronoi Diagrams. Given a set of generating points P = {p1, p2, ..., pn}, a plane is partitioned into n regions, {R1, R2, ..., Rn}, such that:

Each point pi lies in exactly one region Ri. For any point q / ∈ P that lies in region Ri, the Euclidean distance from pi to q will be shorter than the Euclidean distance from pj to q ∀j = i

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 6 / 36

slide-7
SLIDE 7

Voronoi Diagrams

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 7 / 36

slide-8
SLIDE 8

Voronoi Diagrams

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 8 / 36

slide-9
SLIDE 9

Voronoi Diagrams

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 9 / 36

slide-10
SLIDE 10

Mean Curvature

Mean-Curvature Flow of Voronoi Diagrams - Matt Elsey & Dejan Slepˇ cev, 2014 They were interested in gradient flow of Voronoi diagrams and proving universal bounds on coarsening rates. We followed a similar method while relaxing some constraints such as periodic boundary conditions. (more later)

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 10 / 36

slide-11
SLIDE 11

Voronoi Diagram Energy

Given a Voronoi Diagram with:

Generating points P = {p1, p2, ..., pn} Edges S = {s1, s2, ..., sk} Vertices V = {v1, v2, ..., vm}.

We define the energy of the Voronoi Diagram as: E =

  • sk∈S

Length(sk) =

  • i, j s.t.

vivj=sk∈S

|vi − vj| Using this definition of energy, we can apply gradient descent on the generating points P = {p1, p2, ..., pn} and start to view some dynamics of the Voronoi diagrams.

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 11 / 36

slide-12
SLIDE 12

Piece-wise Constant Mumford-Shah model

  • i
  • Ri

(f (x, y) − ci)2dxdy f(x,y): the target image’s grayscale value at the pixel (x,y) ci: the average pixel value in region Ri computed from f

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 12 / 36

slide-13
SLIDE 13

Model

Using the energy we defined earlier and the piece-wise constant Mumford-Shah we get: E =

  • i, j s.t.

vivj=sk∈S

|vi − vj| +

  • i
  • Ri

(f (x, y) − ci)2dxdy

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 13 / 36

slide-14
SLIDE 14

Calculating Gradients: First Term

Edges: S = {s1, s2, ..., sk} Vertices: V = {v1, v2, ..., vm}

∂E ∂pi =

  • si∈S
  • vi∈vertex(si)

∂Length(si) ∂vi ∂vi ∂pi

∂length(si) ∂vi

= [ vi(x)−vj(x)

Length(si) , vi(y)−vj(y) Length(si) ]

How to calculate ∂vi

∂pi ?

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 14 / 36

slide-15
SLIDE 15

Calculating Gradients: First Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 15 / 36

slide-16
SLIDE 16

Calculating Gradients: First Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 16 / 36

slide-17
SLIDE 17

Calculating Gradients: First Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 17 / 36

slide-18
SLIDE 18

Calculating Gradients: First Term

We now have a way to calculate changes in vi for perturbations of pi along two specific directions. Using a change of basis, we can get the gradient in terms of the standard basis

∂v ∂p1 = [w1 w2][s1 s2]−1

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 18 / 36

slide-19
SLIDE 19

Calculating Gradients: Second Term

g(x, y) = (f (x, y) − ci)2

∂ ∂pi

  • i
  • Ri

g(x, y)dxdy note that after perturbing a center, the change in the integral comes from the part of the region that is changed.

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 19 / 36

slide-20
SLIDE 20

Calculating Gradients: Second Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 20 / 36

slide-21
SLIDE 21

Calculating Gradients: Second Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 21 / 36

slide-22
SLIDE 22

Calculating Gradients: Second Term

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 22 / 36

slide-23
SLIDE 23

Calculating Gradients: Second Term

g(x, y) = (f (x, y) − ci)2

∂ ∂pi

  • i
  • Ri

g(x, y)dxdy =

  • i
  • ∂Ri

g(s)v(s)⊥ds ≈

  • Ri
  • si∈edges(Ri)

N

  • k=1

g(s)vk(s)⊥∆s v(s)⊥ = L−r

L ∂vi ∂p1 ˆ

n + r

L ∂vj ∂p1 ˆ

n

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 23 / 36

slide-24
SLIDE 24

Gradient Descent Video

play GD Collision.mp4

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 24 / 36

slide-25
SLIDE 25

Handling Topological Events

Vertex collisions (handled well by the algorithm) Center collisions Vertices escape the boundary Center regions collapsed

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 25 / 36

slide-26
SLIDE 26

Handling Topological Events - Center Collisions

Repulsion: R(pi, pj) = R(dij) = e

−1 θ2(r−dij )2 Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 26 / 36

slide-27
SLIDE 27

Handling Topological Events - Boundary Event

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 27 / 36

slide-28
SLIDE 28

Handling Topological Events - Boundary Event

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 28 / 36

slide-29
SLIDE 29

Handling Topological Events - Boundary Event

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 29 / 36

slide-30
SLIDE 30

Handling Topological Events - Collapsed Regions

Area(Ri) ≤ τ = ⇒ Removal of pi

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 30 / 36

slide-31
SLIDE 31

Gradient Descent Video

play GD RP.mp4

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 31 / 36

slide-32
SLIDE 32

Image Segmentation Result

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 32 / 36

slide-33
SLIDE 33

Image Segmentation Result

play Sample Segment.mp4

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 33 / 36

slide-34
SLIDE 34

Conclusion and Future Work

Our Model / Algorithm was able to properly handle a preliminary test case segmentation Future Challenges include

Non-Uniform Grain Colors Non-Distinct Grain Colors Generating Point Initialization - Location and Number of points

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 34 / 36

slide-35
SLIDE 35

References

1 Elsey, Matt, and Dejan Slepˇ

  • cev. ”Mean-curvature flow of Voronoi

diagrams.” Journal of Nonlinear Science 25.1 (2015): 59-85.

2 Trimby, P., et al. ”Is fast mapping good mapping? A review of the

benefits of high-speed orientation mapping using electron backscatter diffraction.” Journal of microscopy 205.3 (2002): 259-269.

3 Tai, Xue-cheng, and Chang-hui Yao. ”Image segmentation by

piecewise constant Mumford-Shah model without Estimating the constants.” Journal of Computational Mathematics, vol. 24, no. 3, 2006, pp. 435-443. JSTOR, www.jstor.org/stable/43693303.

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 35 / 36

slide-36
SLIDE 36

Acknowledgments

Special Thanks to: Selim Esedoglu, Tiago Salvador, Yi Wen Rackham Graduate School for funding Everyone in the Math Department for their support

Uzziel Cortez Segmentation of Polycrystalline Images Using Voronoi Diagrams April 24, 2019 36 / 36