Pherogenic Drawings

29
PHEROGENIC DRAWINGS GENERATING COLORED 2-DIMENSIONAL ABSTRACT REPRESENTATIONS OF SLEEP EEG WITH THE KANTS ALGORITHM Carlos M. Fernandes 1,2 Antonio M. Mora 1 J.J. Merelo 1 Agostinho C. Rosa 2 1 Department of Computers Architecture and Technology, University of Granada, Spain 2 LaSEEB-ISR-IST, Technical Univ. of Lisbon (IST), Portugal

description

Presentation of the paper "Pherogenic Drawings: Generating Colored 2-Dimensional Abstract Representations of Sleep EEG with the KANTS Algorithm". ECTA 2012, Barcelona, Spain.

Transcript of Pherogenic Drawings

Page 1: Pherogenic Drawings

PHEROGENIC DRAWINGSGENERATING COLORED 2-DIMENSIONAL ABSTRACT

REPRESENTATIONS OF SLEEP EEG WITH THE KANTS ALGORITHM

Carlos M. Fernandes1,2

Antonio M. Mora1

J.J. Merelo1

Agostinho C. Rosa2

1 Department of Computers Architecture and Technology, University of Granada, Spain

2 LaSEEB-ISR-IST, Technical Univ. of Lisbon (IST), Portugal

Page 2: Pherogenic Drawings

2

a subfield of generative art that uses swarm intelligence systems for creative purposes

ECTA 2012, Barcelona, Spain

Swarm Art Swarm paintings by Leonel Moura

Page 3: Pherogenic Drawings

3

an ant-based algorithm for cluster analysis.

KANTS

ECTA 2012, Barcelona, Spain

Basic concept: stigmergy,

communication via the environment.

Main contribution: the swarm is the set of data samples

Page 4: Pherogenic Drawings

4ECTA 2012, Barcelona, Spain

KANTS: Working Mechanism

o Swarm: data sampleso Habitat: grid of cellsoEach cell is a vector with the same cardinality as

the data samples vectors.

o Rule 1: ants move towards regions where environmental (grid) vectors are more similar to the vector they carry.

o Rule 2: update grid vector.o Rule 3: evaporation.

Page 5: Pherogenic Drawings

5

KANTS: equations and parameters

Rule 2: update vectors

Rule 3: Evaporation

Rule 1: Move

Please note parameters β and δ. They define how the ants move.

D. Chialvo and M. Millonas, How Swarms Build Cognitive Maps, 1995

Page 6: Pherogenic Drawings

6

Result: similar ants/data samples tend to cluster.

KANTS

ECTA 2012, Barcelona, Spain

Example: Iris data set (quantifies the morphologic variation of Iris flowers of three related species)

red: Setosagreen: Versicolorblue: Virginica

t=0 t=50 t=100 t=150

Page 7: Pherogenic Drawings

7ECTA 2012, Barcelona, Spain

KANTS1000 iterations

Page 8: Pherogenic Drawings

8

Visualize the Habitat

Visualize the grid and see how the data samples have “shape” the grid/habitat.

data samples KANTS

grid of vectors

T iterations

Translate to RGB ?

ECTA 2012, Barcelona, Spain

Page 9: Pherogenic Drawings

9

Sleep Data Analysis and Classification

ECTA 2012, Barcelona, Spain

Page 10: Pherogenic Drawings

10

o Sleep data from Electroencephalogram (EEG) .

o Hjorth parameters describe sleep EEG with three-variable vectors.

o Translation to RGB is trivial and direct.

o The images are representations of a person’s sleep.

o Each person and each person’s night sleep generates a different image: fingerprints of sleep.

Sleep Data Analysis and Classification

ECTA 2012, Barcelona, Spain

Page 11: Pherogenic Drawings

11ECTA 2012, Barcelona, Spain

Pherogenic Sleep Drawings

EEGHjorth

K A N T S

activity complexity mobility

Page 12: Pherogenic Drawings

12

Pherogenic Sleep Drawings

ECTA 2012, Barcelona, Spain

Page 13: Pherogenic Drawings

13

Pherogenic Sleep Drawings

ECTA 2012, Barcelona, Spain

Page 14: Pherogenic Drawings

14

Pherogenic Sleep Drawingsp1(R), p2(G), p3(B)

ECTA 2012, Barcelona, Spain

Page 15: Pherogenic Drawings

15ECTA 2012, Barcelona, Spain

1 2 3 4 5 6

0

100

200

300

400

500p01

classes

num

ber

of

sam

ple

s

1 2 3 4 5 6

0

50

100

150

200

250

300

350

400

450

500p02

classes

1 2 3 4 5 6

0

100

200

300

400

500

p03

classes

num

ber

of

sam

ple

s

1 2 3 4 5 6

0

100

200

300

400

500p04

classes

Page 16: Pherogenic Drawings

16ECTA 2012, Barcelona, Spain

Pherographia[1] Ramos, V., Almeida, F. 2000. Artificial Ant Colonies in Digital Image Habitats: a Mass Behaviour Effect Study on Pattern Recognition. In Proceedings of the 2nd International Workshop on Ant Algorithms, M. Dorigo et al., Eds., 113-116.

[2] Fernandes, C.M. 2010. Pherographia: Drawing by Ants. Leonardo 43(2), 107-112.

Page 17: Pherogenic Drawings

17ECTA 2012, Barcelona, Spain

The Horse and the Ants

Page 18: Pherogenic Drawings

18ECTA 2012, Barcelona, Spain

Pherographic Synthesis

Bern and Hilla Becher, FRAMEWORK HOUSES Carlos M. Fernandes, Pherographic synthesis of the Bechers’ Framework Houses

Page 19: Pherogenic Drawings

19ECTA 2012, Barcelona, Spain

Figurative →Abstract

Data samples= list of RGB vectors

KANTS

Grid

Extract the data samples (three-variable RGB vectors) directly from a coloured image and then use these samples as KANTS output.

Page 20: Pherogenic Drawings

Abstracting the Abstract

A swarm art project

Page 21: Pherogenic Drawings

21

Abstracting the Abstract #1(after Mondrian)

ECTA 2012, Barcelona, Spain

Page 22: Pherogenic Drawings

22

Abstracting the Abstract #2(after Pollock)

ECTA 2012, Barcelona, Spain

Page 23: Pherogenic Drawings

23

Abstracting the Abstract #3(after Kandinsky)

ECTA 2012, Barcelona, Spain

Page 24: Pherogenic Drawings

24

Abstracting the Abstract #4(after Kupka)

ECTA 2012, Barcelona, Spain

Page 25: Pherogenic Drawings

25

Abstracting the Abstract #5(after Miró)

ECTA 2012, Barcelona, Spain

Page 26: Pherogenic Drawings

26

Evolutionary Art, Design, and Creativity CompetitionGenetic and Evolutionary Computation Conference (GECCO)

Philadelphia, USA, 2012

http://eadcc.sigevolution.org/

ECTA 2012, Barcelona, Spain

Abstracting the AbstractA Swarm Project

Page 27: Pherogenic Drawings

27

Distributed Creativity (Conclusions)

o The idea/concept.o The ants/samples that shape the

environment (canvas).o The original data (paintings).

o “Reinterpretation” of the original (abstract) works: ABSTRACTING THE ABSTRACT

ECTA 2012, Barcelona, Spain

Page 28: Pherogenic Drawings

28

o The algorithm has a creative potential.

o We have proposed two artworks with different characteristics.

o Study other forms of representation when the cardinality of the vectors is >3

o 4-variables: maybe 3-dimensional representations.

o Many variables. How to represent them?

ECTA 2012, Barcelona, Spain

Conclusions and Future Work

Page 29: Pherogenic Drawings

29

Questions?

ECTA 2012, Barcelona, Spain