Grid-Based Genetic Algorithm Approach to Colour Image Segmentation - - PowerPoint PPT Presentation

grid based genetic algorithm approach to colour image
SMART_READER_LITE
LIVE PREVIEW

Grid-Based Genetic Algorithm Approach to Colour Image Segmentation - - PowerPoint PPT Presentation

Grid-Based Genetic Algorithm Approach to Colour Image Segmentation Marco Gallotta Keri Woods Supervised by Audrey Mbogho Image Segmentation Identifying and extracting distinct, homogeneous regions from an image Simplifies the image


slide-1
SLIDE 1

Grid-Based Genetic Algorithm Approach to Colour Image Segmentation

Marco Gallotta Keri Woods Supervised by Audrey Mbogho

slide-2
SLIDE 2

Image Segmentation

 Identifying and extracting distinct,

homogeneous regions from an image

 Simplifies the image for further processing:

− shape recognition, medical imaging, face detection

slide-3
SLIDE 3

Image Segmentation

 Problem: How do we

segment the following?

− Each petal as a

region?

− Stigma as a region? − Group flowers as

single region?

− Segment the

background?

slide-4
SLIDE 4

Human Segmentation

 Segmentation

by human candidates

 Results confirm

no single solution

slide-5
SLIDE 5

Genetic Algorithms

 Optimisation technique that works on large

search spaces

 Biological evolution

slide-6
SLIDE 6

Genetic Algorithms: Chromosome

 Chromosome encodes a potential solution  Contains parameters  The chromosome is optimised using:

− mutation

crossover

slide-7
SLIDE 7

Genetic Algorithms: Fitness

 Fitness function evaluates an individual and

assigns a numerical value

 Used to select fittest individuals for next

iteration

 Crucial in producing good results

slide-8
SLIDE 8

Grid Computing

 A system that coordinates resources that are

not subject to centralized control

 Dedicated and non-dedicated resources  Multiple organisations pooling their unused

resources

 Lots of computing power

slide-9
SLIDE 9

Grid Computing

slide-10
SLIDE 10

Problem: Segmentation

 Segmentation of great importance  No general method of image segmentation  Wide variety of images  Parameters need to be tuned to get optimal

results

slide-11
SLIDE 11

Problem: Genetic Algorithms

 Segmentation involves much uncertainty  GA cope well with uncertainty  Alter parameters to optimise segmentation

results

slide-12
SLIDE 12

Problem: Computating Requirements

 Image segmentation and genetic algorithms

computationally intensive

 Combined VERY computationally expensive  Solution?

− Work harder − Work smarter − Get help

slide-13
SLIDE 13

Problem: GA For The Grid

 Genetic algorithms easily parallelisable  Grid supplies “free” computational resources

slide-14
SLIDE 14

Problem: Research Existing Techniques

 Edge detection  Histogram thresholding  Watershed  Region based techniques  Clustering techniques  Model based techniques  Many others

slide-15
SLIDE 15

Segmentation Method Implemented

 Chose to implement:

− Watershed − Region Growing − Region Merging

slide-16
SLIDE 16

Watershed Transformation

 Calculate a gradient magnitude image  Consider this as a topographic surface  Consider dropping water at each pixel and

  • bserving where the trickle ends

 Pixels with the same end point form a region

slide-17
SLIDE 17

Watershed Transformation

 (a) Example gradient magnitude image  (b) The two regions that are identified

slide-18
SLIDE 18

Watershed Transformation: Example

slide-19
SLIDE 19

Region Growing

 Start off with small regions and grow them  Each iteration considers all pixels neighbouring

the regions

 Pixel with the minimum δ is added to the region  This continues until all pixels are assigned to a

region

slide-20
SLIDE 20

Region Growing

 The above method requires manual seeds  To automate we introduce a threshold T  If the minimum δ exceeds T then a new region

is created

 Start with an arbitrary pixel as the first region

and iterate as above

slide-21
SLIDE 21

Region Growing: Example

slide-22
SLIDE 22

Region Merging

 Initially each pixel a region  Adjacent regions merged if criteria met  Continue until no regions meet criteria

slide-23
SLIDE 23

Merging Criterion

 Merge if fusion factor less than scale parameter  Fusion factor: change in heterogeneity if

regions merged

 Heterogeneity: colour, compactness,

smoothness

 Scale parameter controls size of resulting

regions

slide-24
SLIDE 24

Region Merging: Example

slide-25
SLIDE 25

Segmentation Results

  • Berkeley Segmentation Dataset
  • Watershed fastest
  • Performance results:

58.059 Region Merging 2.106 Watershed Transformation 71.806 Region Growing Time (seconds) Segmentation

slide-26
SLIDE 26

Segmentation Results

slide-27
SLIDE 27

Segmentation Results

slide-28
SLIDE 28

Segmentation Results

 All successful but different results  Effect of scale parameter on region merging

− Large scale parameter => large regions

slide-29
SLIDE 29

Segmentation Results: Effect of Scale Parameter

slide-30
SLIDE 30

Segmentation Results

 [Can get some results off website at

http://people.cs.uct.ac.za/~mgallott/honsproj/]

slide-31
SLIDE 31

Genetic Algorithm

  • Modify parameters of region merging algorithm
  • Scale parameter, weights of components of

heterogeneity

slide-32
SLIDE 32

GA: Fitness Function

 Drives evolution of chromosomes  Evaluate quality of segmentation  Unsupervised segmentation

− No external information − Properties of image itself

 How much colour within each region varies  Low fitness = good segmentation

slide-33
SLIDE 33

GA: Fitness Function

 For each region standard deviation multiplied

by area

 Sum all regions  Add 1  Multiply by number of regions

slide-34
SLIDE 34

Genetic Algorithm Results

  • Inconclusive
  • Sometimes improvement
slide-35
SLIDE 35

Genetic Algorithm Results

 GA with segmentation very computationally

intensive

 Unable to explore full potential  Extremely slow  Therefore grid

slide-36
SLIDE 36

Parallel Genetic Algorithms

 Two common models:

− master-slave (left) − Island model (right)

slide-37
SLIDE 37

Grid Computing + Genetic Algorithms

 With the Grid, communication between nodes

is expensive (“impossible” in a true Grid)

 Even with communication, building a topology

for the Island model is difficult

 All existing research has used the master-slave

model

slide-38
SLIDE 38

Grid Model

 Our model uses ideas

from both master-slave and Island models

 Root node (dedicated

resource) stores a super population

 No direct communication

between sub-nodes

slide-39
SLIDE 39

Grid Model: Results

 We were heavily restricted in testing and could

  • nly test with eight nodes

 Tests showed the communication overhead

had negligible impact as fitness function increased in complexity

 Results were positive when testing on simple

problems

 Unsuccessful at migrating the segmentation

algorithm to the Grid

slide-40
SLIDE 40

Conclusion

 Experimented with 3 segmentation algorithms  Selected region merging for our genetic

algorithm solution

 Genetic algorithm provides potential for

improvement but results inconclusive

 Grid computing showed positive results

however limited resources did not allow for thorough testing

slide-41
SLIDE 41

Future Work: Grid

 As we only tested on

a small Grid, we never had scalability issues

 Most Grids are very

large and having a single root node is a bottleneck

 The next stage is to

test out a hierarchical model

slide-42
SLIDE 42

Future Work: GA

 Watershed with genetic algorithm  Investigate different fitness functions  Genetic programming to evolve fitness function

− Train for each desired application

slide-43
SLIDE 43

Questions

?

http://people.cs.uct.ac.za/~mgallott/honsproj/