Segmentation of an Image Using Free Distributive Lattices Jan Pavl - - PowerPoint PPT Presentation

segmentation of an image using free distributive lattices
SMART_READER_LITE
LIVE PREVIEW

Segmentation of an Image Using Free Distributive Lattices Jan Pavl - - PowerPoint PPT Presentation

Introduction to digital geometry Affinital segmentation Generalization of the method Segmentation of an Image Using Free Distributive Lattices Jan Pavl k Brno University of Technology Brno, Czech Republic June 20, 2014 Jan Pavl k


slide-1
SLIDE 1

Introduction to digital geometry Affinital segmentation Generalization of the method

Segmentation of an Image Using Free Distributive Lattices

Jan Pavl´ ık

Brno University of Technology Brno, Czech Republic

June 20, 2014

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-2
SLIDE 2

Introduction to digital geometry Affinital segmentation Generalization of the method

Outline

1

Introduction to digital geometry

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-3
SLIDE 3

Introduction to digital geometry Affinital segmentation Generalization of the method

Outline

1

Introduction to digital geometry

2

Affinital segmentation

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-4
SLIDE 4

Introduction to digital geometry Affinital segmentation Generalization of the method

Outline

1

Introduction to digital geometry

2

Affinital segmentation

3

Generalization of the method

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-5
SLIDE 5

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

1

Introduction to digital geometry Digital image Segmentation and thresholding

2

Affinital segmentation Criterion of similarity Linear fuzzy segmentation

3

Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-6
SLIDE 6

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Digital image

Definition A digital space is a directed graph without loops. The nodes are called pixels and the binary relation is called an adjacency.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-7
SLIDE 7

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Digital image

Definition A digital space is a directed graph without loops. The nodes are called pixels and the binary relation is called an adjacency. Here we admit only symmetric adjacencies.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-8
SLIDE 8

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Digital image

Definition A digital space is a directed graph without loops. The nodes are called pixels and the binary relation is called an adjacency. Here we admit only symmetric adjacencies. A digital image is triple (V , π, f ) where (V , π) is a digital space and f : V → (C, ≤) is an assignment of colors. (C, ≤) is a poset with the greatest element ⊤.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-9
SLIDE 9

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Digital image

Definition A digital space is a directed graph without loops. The nodes are called pixels and the binary relation is called an adjacency. Here we admit only symmetric adjacencies. A digital image is triple (V , π, f ) where (V , π) is a digital space and f : V → (C, ≤) is an assignment of colors. (C, ≤) is a poset with the greatest element ⊤. A paradigmatic digital space is a digitization of an Euclidean

  • space. Each pixel represents a subset of the space and the

adjacency reflects a property of being zero-distant.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-10
SLIDE 10

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Digital image

Definition A digital space is a directed graph without loops. The nodes are called pixels and the binary relation is called an adjacency. Here we admit only symmetric adjacencies. A digital image is triple (V , π, f ) where (V , π) is a digital space and f : V → (C, ≤) is an assignment of colors. (C, ≤) is a poset with the greatest element ⊤. A paradigmatic digital space is a digitization of an Euclidean

  • space. Each pixel represents a subset of the space and the

adjacency reflects a property of being zero-distant.The digital image is supposed to represent a distribution of a physical quantity

  • ver a real or virtual digitized space.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-11
SLIDE 11

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Image segmentation

Image segmentation aims to decompose the image into meaningful parts (called here admissible sets) which represent

  • bjects in the original space.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-12
SLIDE 12

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Thresholding

Thresholding Given an image I = (V , π, f ) and a color c ∈ C, then the set fc = f −1(↑ c) = {x ∈ V |f (x) ≥ c} is called a c-cut of I. It yields a segmentation where each admissible set is either a singleton or a π-connected component of fc.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-13
SLIDE 13

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Thresholding

Thresholding Given an image I = (V , π, f ) and a color c ∈ C, then the set fc = f −1(↑ c) = {x ∈ V |f (x) ≥ c} is called a c-cut of I. It yields a segmentation where each admissible set is either a singleton or a π-connected component of fc. The corresponding equivalence relation is (x, y) ∈ ρc ⇔ exists a π-path γ : x π y with s(γ) ≥ c. Here s(γ) = min{f (z)|z ∈ γ} for a nontrivial path and s(γ) = ⊤ for a trivial path (total connectedness of a path).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-14
SLIDE 14

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-15
SLIDE 15

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-16
SLIDE 16

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-17
SLIDE 17

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-18
SLIDE 18

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-19
SLIDE 19

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-20
SLIDE 20

Introduction to digital geometry Affinital segmentation Generalization of the method Digital image Segmentation and thresholding

Segmentation by thresholding

One can find object within the image if the threshold is selected some clever way.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-21
SLIDE 21

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

1

Introduction to digital geometry Digital image Segmentation and thresholding

2

Affinital segmentation Criterion of similarity Linear fuzzy segmentation

3

Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-22
SLIDE 22

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Similarity criterion

A collection of quantities determining inclusion of a pixel into an

  • bject can be merged into a single mapping – a criterion

ξ : V 2 → (P, ≤) to some (finite) poset.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-23
SLIDE 23

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Similarity criterion

A collection of quantities determining inclusion of a pixel into an

  • bject can be merged into a single mapping – a criterion

ξ : V 2 → (P, ≤) to some (finite) poset. Example: consider the graph distance d in the digital space and 3 channels R,G,B as functions V → {0, . . . , 255} (referred to as initial quantities), then we can take, e.g., ξ(x, y) = (d(x, y), |R(x) − R(y)|, |G(x) − G(y)|, |B(x) − B(y)|) Since the order on R4 is not linear, the question arises, how to treat the criterion to get admissible sets corresponding to such situation.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-24
SLIDE 24

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Linear affinity

The method of fuzzy affinity by Rosenfeld improved by Carvalho, Kong and Herman is based on linearization of the set (P, ≤). We suitably transform the initial quantities, so that their average gives us a function of affinity ψ : V 2 → 0, 1 which measures a local similarity between pixels. This function may reflect properties of

  • bject we are to find. We add requirements:

ψ(x, y) = ψ(y, x), ψ(x, x) = 1, (x, y) ∈ π ⇒ ψ(x, y) = 0

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-25
SLIDE 25

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Linear affinity

The method of fuzzy affinity by Rosenfeld improved by Carvalho, Kong and Herman is based on linearization of the set (P, ≤). We suitably transform the initial quantities, so that their average gives us a function of affinity ψ : V 2 → 0, 1 which measures a local similarity between pixels. This function may reflect properties of

  • bject we are to find. We add requirements:

ψ(x, y) = ψ(y, x), ψ(x, x) = 1, (x, y) ∈ π ⇒ ψ(x, y) = 0 Example: in case of the previous example we may use ψ(x, y) =

3 3+R(x,y)+R(x,y)+B(x,y) if d(x, y) = 1.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-26
SLIDE 26

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Connectedness function

If ψ is seen as a measure of how much the pixels are held together, it makes sense to consider such a quantity along a path as a minimum of ψ of all consecutive pairs - this value expresses the connectedness of the whole path.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-27
SLIDE 27

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Connectedness function

If ψ is seen as a measure of how much the pixels are held together, it makes sense to consider such a quantity along a path as a minimum of ψ of all consecutive pairs - this value expresses the connectedness of the whole path. This idea can be used for all paths γ : x y hence we can define the total connectedness of elements x and y as µ(x, y) = max

γ:xy

min

(u,v)∈S(γ) ψ(u, v)

where S(γ) is a set of all pairs of consecutive elements along the path γ.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-28
SLIDE 28

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Connectedness function

If ψ is seen as a measure of how much the pixels are held together, it makes sense to consider such a quantity along a path as a minimum of ψ of all consecutive pairs - this value expresses the connectedness of the whole path. This idea can be used for all paths γ : x y hence we can define the total connectedness of elements x and y as µ(x, y) = max

γ:xy

min

(u,v)∈S(γ) ψ(u, v)

where S(γ) is a set of all pairs of consecutive elements along the path γ. If the path γ is seen as a chain and ψ(u, v) as a strength of the link (u, v), then µ(x, y) is the strength of the strongest chain connecting x and y.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-29
SLIDE 29

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Fuzzy segmentation

For each x0 ∈ V , there is a function µ(x0, −) : V → 0, 1 which determines a ”hope” of x, that if x0 is in the sought object then x belongs to it as well.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-30
SLIDE 30

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Fuzzy segmentation

For each x0 ∈ V , there is a function µ(x0, −) : V → 0, 1 which determines a ”hope” of x, that if x0 is in the sought object then x belongs to it as well. Hence we may choose a threshold t ∈ 0, 1 and do a thresholding

  • f V .

Theorem Carvalho, Kong, Herman Given a digital image on a set V with an affinity ψ : V 2 → P satisfying the properties above, then for each t ∈ 0, 1 there is a partition of V whose classes are closed under local connectedness at the level t.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-31
SLIDE 31

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Nonlinear extension of fuzzy-affinitial method

The disadvantage of the method is the linearization which necessarily loses information on incomparability. It adds new comparisons which may result in undesired sets.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-32
SLIDE 32

Introduction to digital geometry Affinital segmentation Generalization of the method Criterion of similarity Linear fuzzy segmentation

Nonlinear extension of fuzzy-affinitial method

The disadvantage of the method is the linearization which necessarily loses information on incomparability. It adds new comparisons which may result in undesired sets. To overcome that, we create a new connectedness function directly from ξ. In order to do that we rewrite the essence of the method.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-33
SLIDE 33

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

1

Introduction to digital geometry Digital image Segmentation and thresholding

2

Affinital segmentation Criterion of similarity Linear fuzzy segmentation

3

Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-34
SLIDE 34

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Essence of the fuzzy thresholding

Given an affinity and its connectedness function, then, for a pair of elements x0, x1, we can find a minimal object Ω(x0, x1) which contains both of them.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-35
SLIDE 35

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Essence of the fuzzy thresholding

Given an affinity and its connectedness function, then, for a pair of elements x0, x1, we can find a minimal object Ω(x0, x1) which contains both of them. One can see that Ω(x0, x1) = {y|µ(x0, y) ≥ µ(x0, x1)} = µ(x0, −)µ(x0,x1). Thus this set contains all elements y which are connected to x0 at least as strongly as x0 to x1. Ternary relation of tightness Φ = {(x0, x1, y)|y ∈ Ω(x0, x1)} captures the whole essence of the afinitial method.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-36
SLIDE 36

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-37
SLIDE 37

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ ⇔ y ∈ Ω(x0, x1)

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-38
SLIDE 38

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ ⇔ y ∈ Ω(x0, x1) ⇔ µ(x0, y) ≥ µ(x0, x1)

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-39
SLIDE 39

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ ⇔ y ∈ Ω(x0, x1) ⇔ µ(x0, y) ≥ µ(x0, x1) ⇔ max

γ:x0y

min

(u,v)∈S(γ) ψ(u, v) ≥ max δ:x0x1

min

(p,q)∈S(δ) ψ(p, q)

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-40
SLIDE 40

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ ⇔ y ∈ Ω(x0, x1) ⇔ µ(x0, y) ≥ µ(x0, x1) ⇔ max

γ:x0y

min

(u,v)∈S(γ) ψ(u, v) ≥ max δ:x0x1

min

(p,q)∈S(δ) ψ(p, q)

⇔ ∀δ ∈ Q(x0, x1)∃γ ∈ Q(x0, y)∀(u, v) ∈ S(γ)∃(p, q) ∈ S(δ) ψ(u, v) ≥ ψ(p, q) where Q(x, z) denotes the set of all paths x z in the complete graph on V (i.e. arbitrary finite injective sequences with given endpoints).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-41
SLIDE 41

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Derivation of the essence for a general case

(x0, x1, y) ∈ Φ ⇔ y ∈ Ω(x0, x1) ⇔ µ(x0, y) ≥ µ(x0, x1) ⇔ max

γ:x0y

min

(u,v)∈S(γ) ψ(u, v) ≥ max δ:x0x1

min

(p,q)∈S(δ) ψ(p, q)

⇔ ∀δ ∈ Q(x0, x1)∃γ ∈ Q(x0, y)∀(u, v) ∈ S(γ)∃(p, q) ∈ S(δ) ψ(u, v) ≥ ψ(p, q) where Q(x, z) denotes the set of all paths x z in the complete graph on V (i.e. arbitrary finite injective sequences with given endpoints). We have expressed Φ without the use of linearity and ψ can be replaced by ξ.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-42
SLIDE 42

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Function of general connectedness

The obtained condition can be rewriten in terms of upper sets as follows: ↑ {↑ {ξ(p, q)|(p, q) ∈ S(γ)}|γ : x0 y} ⊆ ⊆↑ {↑ {ξ(u, v)|(u, v) ∈ S(δ)}|δ : x0 x1}

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-43
SLIDE 43

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Function of general connectedness

The obtained condition can be rewriten in terms of upper sets as follows: ↑ {↑ {ξ(p, q)|(p, q) ∈ S(γ)}|γ : x0 y} ⊆ ⊆↑ {↑ {ξ(u, v)|(u, v) ∈ S(δ)}|δ : x0 x1} This enables to define the total connectedness of general elements x, z ∈ V as κ(x, z) =↑ {↑ {ξ(p, q)|(p, q) ∈ S(γ)}|γ : x z} which yields (x0, x1, y) ∈ Φ ⇔ κ(x0, y) ≥ κ(x0, x1).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-44
SLIDE 44

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Lattice of upper sets

As we see, in order to describe the resulting entity κ we need double process of creation of upper sets.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-45
SLIDE 45

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Lattice of upper sets

As we see, in order to describe the resulting entity κ we need double process of creation of upper sets. Generally, given a poset (S, ≤), let U(S, ≤) denotes the set of all nonempty upper sets of S.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-46
SLIDE 46

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Lattice of upper sets

As we see, in order to describe the resulting entity κ we need double process of creation of upper sets. Generally, given a poset (S, ≤), let U(S, ≤) denotes the set of all nonempty upper sets of S. We may repeat this procedure again to

  • btain a poset W(S, ≤) = U(U(S, ≤). One can derive, from the

properties of U, that W(S, ≤) is distributive lattice.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-47
SLIDE 47

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Lattice of upper sets

As we see, in order to describe the resulting entity κ we need double process of creation of upper sets. Generally, given a poset (S, ≤), let U(S, ≤) denotes the set of all nonempty upper sets of S. We may repeat this procedure again to

  • btain a poset W(S, ≤) = U(U(S, ≤). One can derive, from the

properties of U, that W(S, ≤) is distributive lattice. Moreover we have isotone injection η : (S, ≤) → W(S, ≤) given by composition

  • f two antitone injections. It has a universal property which makes

W(S, ≤) a free distributive lattice over poset (S, ≤).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-48
SLIDE 48

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Free distributive lattice over a poset

Consider the categories DLat and Pos of distributive lattices and posets, respectively. The obvious forgetful functor Z : DLat → Pos has a left adjoint W : Pos → DLat, i.e., for every poset (S, ≤) there exists a distributive lattice W(S, ≤) and isotone mapping η : (S, ≤) → ZW(S, ≤) such that for every Q and every φ : (S, ≤) → ZQ there exists a unique lattice homomorphism φ : W(S, ≤) → Q such that φ = Z φ ◦ η. The situation is depicted by: Pos DLat (S, ≤)

η

  • ∀2φ

❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘ ❘

ZW(S, ≤)

Z φ

✤ ✤ ✤

Z(Q) W(S, ≤)

∃3 φ

❴ ❴ ❴ ❴ ❴

∀1Q

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-49
SLIDE 49

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Thresholding by free terms

We return to the poset (P, ≤) and the derived assignment κ of total connectedness. We obtain a mapping κ : V 2 → W(P, ≤). Since the elements of W(P, ≤) can be seen as terms, we can write κ(x, y) =

  • γ:xy
  • (u,v)∈S(γ)

ξ(u, v).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-50
SLIDE 50

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Thresholding by free terms

We return to the poset (P, ≤) and the derived assignment κ of total connectedness. We obtain a mapping κ : V 2 → W(P, ≤). Since the elements of W(P, ≤) can be seen as terms, we can write κ(x, y) =

  • γ:xy
  • (u,v)∈S(γ)

ξ(u, v). In order to apply this for thresholding, it is advantageous to employ the theory of L-fuzzy relations.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-51
SLIDE 51

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

L-fuzzy equivalence

Given a complete distributive lattice L, then a mapping ρ : V 2 → L can be seen as binary L-fuzzy relation on L. It is reflexive if ρ(x, x) = ⊤ and transitive if ρ(x, y) ∨ ρ(y, z) ≤ ρ(x, z). A reflexive, symmetric, transitive L-fuzzy relation is called L-fuzzy equivalence.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-52
SLIDE 52

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

L-fuzzy equivalence

Given a complete distributive lattice L, then a mapping ρ : V 2 → L can be seen as binary L-fuzzy relation on L. It is reflexive if ρ(x, x) = ⊤ and transitive if ρ(x, y) ∨ ρ(y, z) ≤ ρ(x, z). A reflexive, symmetric, transitive L-fuzzy relation is called L-fuzzy equivalence. Properties of L-fuzzy equivalence Every reflexive symmetric L-fuzzy relation ρ generates an L-fuzzy equivalence ρ(x, y) =

γ:xy

  • (u,v)∈S(γ) ρ(u, v).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-53
SLIDE 53

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

L-fuzzy equivalence

Given a complete distributive lattice L, then a mapping ρ : V 2 → L can be seen as binary L-fuzzy relation on L. It is reflexive if ρ(x, x) = ⊤ and transitive if ρ(x, y) ∨ ρ(y, z) ≤ ρ(x, z). A reflexive, symmetric, transitive L-fuzzy relation is called L-fuzzy equivalence. Properties of L-fuzzy equivalence Every reflexive symmetric L-fuzzy relation ρ generates an L-fuzzy equivalence ρ(x, y) =

γ:xy

  • (u,v)∈S(γ) ρ(u, v).

Every L-fuzzy equivalence σ gives rise, for every threshold t ∈ L, an equivalence relation σt = {(x, y) ∈ V 2|σt(x, y) ≥ t}

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-54
SLIDE 54

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

L-fuzzy equivalence

Given a complete distributive lattice L, then a mapping ρ : V 2 → L can be seen as binary L-fuzzy relation on L. It is reflexive if ρ(x, x) = ⊤ and transitive if ρ(x, y) ∨ ρ(y, z) ≤ ρ(x, z). A reflexive, symmetric, transitive L-fuzzy relation is called L-fuzzy equivalence. Properties of L-fuzzy equivalence Every reflexive symmetric L-fuzzy relation ρ generates an L-fuzzy equivalence ρ(x, y) =

γ:xy

  • (u,v)∈S(γ) ρ(u, v).

Every L-fuzzy equivalence σ gives rise, for every threshold t ∈ L, an equivalence relation σt = {(x, y) ∈ V 2|σt(x, y) ≥ t} Every L-fuzzy equivalence σ induces a collection of L-fuzzy sets (an L-fuzzy partition of V ) whose cuts, for any t ∈ L are partitions of V .

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-55
SLIDE 55

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Collective similarity

Given t ∈ P, let C(t) be the relation on V of ”being similar at least on the level t” containing all pair (x, y) such that ξ(x, y) ≥ t.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-56
SLIDE 56

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Collective similarity

Given t ∈ P, let C(t) be the relation on V of ”being similar at least on the level t” containing all pair (x, y) such that ξ(x, y) ≥ t. Given a term τ =

  • i∈{1,...,n}
  • j∈{1,...,mi}

si,j ∈ W(P, ≤) then for each i there is a set Ei =

j∈{1,...,mi} C(si,j). Then κ(x, y) ≥ τ (written

as (x, y) ∈ C(τ)) iff x and y are connected by a path in graph (V , Ei) for each i. The relation (x, y) ∈ C(τ) now means ”x is connected to y at on the collective level τ”.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-57
SLIDE 57

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

L-fuzzy segmentation

Now we see that κ is exactly the L-fuzzy equivalence generated by the criterion ξ. Then C(τ) is a cut of κ by a threshold τ ∈ W(P, ≤), thus it is an equivalence relation. Hence κ produces an L-partition and consequently a partition of the image. Its classes are of the form θ(x, τ) = {y ∈ V |κ(x, y) ≥ τ}, which are classes of collective similarity C(τ). Theorem Given a digital image on a set V with a criterion ξ : V 2 → P satisfying the properties above, then for each term τ ∈ W(P, ≤) there is a partition of V whose classes are closed under connectivity at least at the collective level τ.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-58
SLIDE 58

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Example

Here the criterion ξ : V 2 → Z2 consists of a pair of distance and brightness with reversed order. The threshold is here ((1, 3) ∧ (2, 1)) ∨ ((1, 3) ∧ (3, 0)) ∨ (2, 2) ∨ ((3, 1) ∧ (4, 0)) ∨ ((1, 1) ∧ (6, 0)).

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices

slide-59
SLIDE 59

Introduction to digital geometry Affinital segmentation Generalization of the method Delinearization Free distributive lattice over poset L-fuzzy equivalence L-fuzzy segmentation

Acknowledgement The author acknowledges support by the project CZ.1.07/2.3.00/30.0005 of Brno University of Technology.

THANK YOU FOR YOUR ATTENTION.

Jan Pavl´ ık Segmentation of an Image Using Free Distributive Lattices