FUZZY COLOUR IMAGE FUZZY COLOUR IMAGE SEGMENTATION APPLIED - - PowerPoint PPT Presentation

fuzzy colour image fuzzy colour image segmentation
SMART_READER_LITE
LIVE PREVIEW

FUZZY COLOUR IMAGE FUZZY COLOUR IMAGE SEGMENTATION APPLIED - - PowerPoint PPT Presentation

FUZZY COLOUR IMAGE FUZZY COLOUR IMAGE SEGMENTATION APPLIED SEGMENTATION APPLIED TO ROBOT VISION TO ROBOT VISION J. Chamorro-Martnez D. Snchez B. Prados-Surez Department of Computer Science and Artificial Intelligence. University of


slide-1
SLIDE 1

FUZZY COLOUR IMAGE FUZZY COLOUR IMAGE SEGMENTATION APPLIED SEGMENTATION APPLIED TO ROBOT VISION TO ROBOT VISION

  • J. Chamorro-Martínez
  • D. Sánchez
  • B. Prados-Suárez

Department of Computer Science and Artificial Intelligence. University of Granada

slide-2
SLIDE 2

Overview Overview

!

Image Segmentation.

  • What’s image segmentation?.
  • Classification of image segmentation techniques.
  • Fuzzy colour image segmentation.

!

Colour Information Processing.

  • Combining information.
  • Colour space.
  • Colour comparison (distance).

!

Proposed Algorithm.

– Seed points. – Fuzzy Regions.

!

Applications

!

Conclusions.

slide-3
SLIDE 3

Description Description

Algorithm

Segmentation Technique Region growing based on the distance Region Definition Fuzzy subset of connected pixels Region Construction Based on topographic and colour information. Colour Space HSI Colour Processing Distance measure Membership degree Distance measure

slide-4
SLIDE 4

Image Segmentation Image Segmentation: : Concept Concept

!

Image Segmentation = Dividing an image into significant regions.

slide-5
SLIDE 5

Image Segmentation Image Segmentation: : Classification Classification

Pixel Based Techniques Area Based Techniques Edge Based Techniques Histogram Based Clustering Algorithms Growing Region Split & Merge Algorithms

Region: Set of pixels satisfying a class membership function Region: Set of connected pixels satisfying an uniformity condition Region: Set of pixels bounded by a colour contour

There are three groups of techniques, depending

  • n the way they define the concept of “Region”.

Chosen Method

slide-6
SLIDE 6

Image Segmentation Image Segmentation: : Fuzzy Regions Fuzzy Regions

Fuzzy Region: Fuzzy subset of pixels. Every pixel of the

image has a membership degree to the region.

All the pixels in the image belong to all the regions to a certain degree.

Maximum membership Minimum membership

Membership degrees to the red-bounded region.

slide-7
SLIDE 7

Colour Colour Information Information: : Processing Processing

Problem: These techniques apply the same combination rule to the whole image. Region growing algorithms must consider the particularities in the comparison of two colours Combining the information of each band in a single value before processing

(ej. gradient)

Analyzing each band separately and combining the results

(ej. histogram of each band and its combination)

Solutions to process colour information.

Solution: To use a colour space which take into account the particularities of the distance between colours, allowing us to define a metric.

slide-8
SLIDE 8

Colour Information Colour Information: : Space and Distance

Space and Distance

HSI colour space: It’s a perceptual colour space with three components (Hue, Saturation, Intensity).

The distance between two colours (pi=[Hi,Si,Ji], pj=[Hj,Sj,Jj]) is defined as a combination of the difference between their components.

There are three chromaticity regions, defined as:

     > > ≤ > ≤ Ts Chromatic Ts atic m Semichro Achromatic is I S H P

i i i i i I i i I i I i

S and T I if S and T I if T I if ] , , [ 5 1 = = Ts I MAX T

I

        − − + = B G R B G H 2 ) ( 3 arctan

{ }

I B G R S , , min 1− = 3 B G R I + + =

Semichromatic zone Achromatic zone Chromatic zone

   − − ≤ − − =

  • therwise

| | 2 | | if | |

j i j i j i H

H H H H H H d π π | |

j i S

S S d − = | |

j i I

I I d − = 255) I (MAX 1 = = I MAX dI d                + =

  • therwise

d chromatic are p

  • r

p if 2 d d achromatic are p

  • r

p if ) , (

S j i 2 H 2 s j i 2

π

j i p

p d 2 2 2 2 1 ) , ( d d j p i p dc + =

slide-9
SLIDE 9

Algorithm Algorithm: : Seed poits

Seed poits

Seed points selection is critical in region growing algorithms => Our method is focused for the case

  • f indoor doors detection. We suppose that all the doors have at least one corner point in its frame.

Calculate the Seed Points θ= {s1, s2, s3, ..., sq} Construct the Fuzzy Sets

} , ~ ,... ~ , ~ , ~ { ~

3 2 1 q

S S S S = Θ

Algorithm

Corner Detection Seed Placement

Maybe too many seeds into the same door => too many regions.

Harri’s corner detection method Two seeds are placed at a distance D from each corner, in the direction of its gradient

(one in each way). D = 7 Gradient => Sobel Operator

D = 7 D = 7

slide-10
SLIDE 10

Algorithm Algorithm: : Fuzzy Regions

Fuzzy Regions

Calculate the seed points θ = {s1, s2, s3, ..., sq}

Algorithm

Construct the Fuzzy Sets

} , ~ ,... ~ , ~ , ~ { ~

3 2 1 q

S S S S = Θ

{ }

1 1

, | ) , ( max ) ( cos

+ +

∋ =

r r ij r r ij

p p p p dc t π π

)} ( cost min{ arg

* ij ij

π π = ) ( cos ) , (

* ij j i

t p p dp π =

Optimum path in Πij. It links pi and pj with minimum cost.

πij

*

Colour distance between pr and ps dc(pr,ps) Distance pi→pj. It’s the cost of the optimum path linking them.

dp(pi, pj)

Two consecutive pixels in πij. pr, pr+1 Cost of the path πij linking pi and pj. Cost(π

π π πij)

A given path in Πij.

πij

Set of possible paths linking pi and pj. Π Π Π Πij

Region Growing We have to define:

↓ ↓ ↓ ↓dc (small colour jump) ⇓ ↓ ↓ ↓ ↓Cost(π62) ⇓

π62

* = π62

  • Membership Function
  • Distance Between Pixels

Path 2 = π62 Path 1 = π62

dp(p6,p2)= Cost(π π π π62)

P8 P7 P6 P5 P4 P3 P2 P1 P0

Big colour difference => ↑ ↑ ↑ ↑dc ⇓ ↑ ↑ ↑ ↑ Cost(π62)

slide-11
SLIDE 11

Algorithm Algorithm: : Fuzzy Regions

Fuzzy Regions – – Obtaining d Obtaining dp

p

! Characteristics of the distance:

– It’s sensitive to the presence of edges (edge => high distance in the consecutive pixels of the path which are on that edge). – It uses colour information (distances between colours). – It also uses topographic information (paths).

! Notation:

– Contour(L) = Pixels in the contour of the region L. – Neighbor(pi) = 8-neighborhood of pi. – Card(L) = Cardinality of the region L.

I = image NxM sv = seed point Inicialization: dp(sv,sv) = 0 L = {sv} While Card(L) ≠ NxM

}) p )\L p ;Neighbor( p ) |Contour(L ,p {dc(p ) ,p (p

j i i j i ) ,p (p

  • ut

in

j i

∋ ∋ = min arg

)] , ( ), , ( max[ ) , (

  • ut

in c v in p v

  • ut

p

p p d s p d s p d =

} {

  • ut

p L L U =

End

Algorithm Algorithm

slide-12
SLIDE 12

Algorithm Algorithm: : Fuzzy Regions

Fuzzy Regions

Calculate the seed points θ = {s1, s2, s3, ..., sq}

Algorithm

Membership degree of the pixel pi to the fuzzy region . Set of fuzzy regions: Distance from píxel pi to seed sv.

dp*(pi, sv)

Seed of the region . θ ∋ sv

sv

A fuzzy region.

) (

~ i S

p

v

µ

v

S ~

v

S ~

v

S ~ } ~ ,..., ~ , ~ { ~

2 1 q

S S S = Θ

Θ ~

=

− − =

q k v i p v i p i S

s p d s p d p

v

1 * * ~

) , ( 1 ) , ( 1 ) ( µ

=

=

q v i S

p

v

1 ~

1 ) ( µ

   ≠ ∋ Θ

  • therwise

) , ( s p and p if 1 ) , (

v i i * v i p v i p

s p d s p d Construct the Fuzzy Sets

} , ~ ,... ~ , ~ , ~ { ~

3 2 1 q

S S S S = Θ

Region Growing We have to define:

  • Membership Function
  • Distance Between Pixels
slide-13
SLIDE 13

Computational Complexity: O(qnK):

  • q = number of seeds.
  • n = N x M
  • K = max{N, M}

The constat C has been fixed to 0.05. The maximum size of a contour is 2N+2M.

Calculate the seed points θ = {s1, s2, s3, ..., sq}

Algorithm

Construct the Fuzzy Sets

} , ~ ,... ~ , ~ , ~ { ~

3 2 1 q

S S S S = Θ

Region Growing We have to define:

  • Membership Function
  • Distance Between Pixels

Algorithm Algorithm: : Fuzzy Regions

Fuzzy Regions -

  • Region Growing

Region Growing

O(nK) q times

Compute In the algorithm to calculate dp a new step is included: “Eliminate all the seeds, su, verifying dp(sv,su) < C”

) (

~ i s p

v

µ

} ,..., , {

2 1 n

s s s = Θ

For every seed, sv, in θ End

} ~ ,..., ~ , ~ { ~

2 1 q

S S S = Θ

For every pixel, pi, in I

slide-14
SLIDE 14

Results Results

  • Robot Nomad 200
  • Sony EVY-401

colour camera

The algorithm has segmented

12 34 14 12 9 30 5 10 4 3 4 8

... regions from ... seeds.

slide-15
SLIDE 15

Conclusions Conclusions

!

Although in the examples we can find degradation in the iluminance and zones with different brightness, this method segments the whole door without splitting it in several parts.

!

The technique is based on the growth of regions, treated as fuzzy subsets.

!

The colour information is processed using a distance measure defined in the HSI colour space.

!

The membership function combines colour and topographic information.

!

The combination of the proposed colour distance and the growing region process improves the results obtained with the classical techniques.