You are on page 1of 15

Image Construction with 2D Ellipses by

Genetic Algorithms Optimization


Todor Balabanov, Maria Barova, Delyan Keremedchiev

11th Annual Meeting of the Bulgarian Section of SIAM


20-22 Dec 2016 / Sofia, Bulgaria

Contents

Bitmap images

Simplification

Vectorization

Colors reduction

Genetic Algorithms

Our implementation

Experiments and results

20-22 Dec 2016

BGSIAM'16

Bitmap Images

Simplification

Vectorization

Represent an image in a simpler way


Conversion of pixels in to instructions of simple
drawing primitives

Colors reduction

Transformation of full-colors image into limited set


of colors
In our case 24-bit colors to 16 indexed colors

20-22 Dec 2016

BGSIAM'16

Genetic Algorithm

Search heuristic

Mimics natural selection

In the class of evolutionary algorithms

Uses inheritance, mutation, selection and


crossover

20-22 Dec 2016

BGSIAM'16

Our Implementation of GA

Individuals are ordered set (variable size) of


simple ellipses
Single cut point crossover
Mutation is a small correction of x-y position
and orientation angle of a single ellipse
Selection is based on Euclidean distance
between the source image and the generated
image
http://github.com/TodorBalabanov/EllipsesImageApproximator

20-22 Dec 2016

BGSIAM'16

20-22 Dec 2016

BGSIAM'16

20-22 Dec 2016

BGSIAM'16

20-22 Dec 2016

BGSIAM'16

20-22 Dec 2016

BGSIAM'16

20-22 Dec 2016

BGSIAM'16

10

20-22 Dec 2016

BGSIAM'16

11

20-22 Dec 2016

BGSIAM'16

12

Usage

20-22 Dec 2016

BGSIAM'16

13

Conclusions

Genetic algorithms based bitmap images


simplification by vectorization and colors
reduction is very effective
The optimization process is very time
consuming

20-22 Dec 2016

BGSIAM'16

14

Questions
&
Answers
20-22 Dec 2016

BGSIAM'16

15

You might also like