• Nie Znaleziono Wyników

System składu L

N/A
N/A
Protected

Academic year: 2021

Share "System składu L"

Copied!
65
0
0

Pełen tekst

(1)

System składu L A TEX w zastosowaniach akademickich

Spotkanie #08–#09

Paweł Łupkowski pawel.lupkowski@gmail.com

Zakład Logiki i Kognitywistyki Instytut Psychologii

Uniwersytet im. A. Mickiewicza w Poznaniu Reasonig Research Group

Pozna´n, 5/12.12.2018

(2)

Preambuła i style

\documentclass{beamer}

\usetheme{Warsaw}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 2 / 63

(3)

Preambuła i style

\usetheme{default}

Darmstadt, Madrid, Boadilla, ...

Zestawienie tematów Beamera LINK

\usecolortheme{default}

albatross, beaver, crane, ...

\usefonttheme{default}

serif, structurebold, ...

(4)

Preambuła: Brak symboli w prawym dolnym rogu

\setbeamertemplate{navigation symbols}{}

Przy tej opcji warto równie˙z doda´c

\setbeamertemplate{caption}[numbered]

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 4 / 63

(5)

Preambuła: Brak symboli w prawym dolnym rogu

\setbeamertemplate{navigation symbols}{}

Przy tej opcji warto równie˙z doda´c

\setbeamertemplate{caption}[numbered]

(6)

Preambuła: tytuł

\title[Krótki tytuł prezentacji]

{Tytuł prezentacji}

\subtitle{Podtytuł prezentacji}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 5 / 63

(7)

Preambuła: autor

\author{Imi˛ e Nazwisko}

\institute[Pewien Uniwersytet]

{Instytut Spraw Bardzo Wa˙ znych\\

Pewien Uniwersytet}

(8)

Preambuła: wielu autorów

\author[Autor1, Autor2, Autor3]

{F.~Autor1\inst{1} \and S.~Autor2\inst{2}

\and R.~Autor3\inst{3}}

\institute[Pewien Uniwersytet]

{

\inst{1}

Afiliacja autora pierwszego

\and

\inst{2}

Afiliacja autora drugiego

\and

\inst{3}

Afiliacja autora trzeciego}

}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 7 / 63

(9)

Preambuła: data

\date[5.04.2018]{5.04.2018}

\date[24--26.11.2017]

{CaL2017\\24--26 November 2017, Brno}

(10)

Preambuła: logotyp

\pgfdeclareimage[height=0.5cm]{university-logo}

{plik-z-obrazkiem}

\logo{\pgfuseimage{university-logo}}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 9 / 63

(11)

Slajd (na trzy sposoby)

(12)

Slajd tytułowy

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 11 / 63

(13)

Podział dokumentu

\section[Section]{My section}

\subsection[Subsection]{My subsection}

\subsubsection[Subsubsection]{My subsubsection}

(14)

Spis tre´sci

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 13 / 63

(15)

Podział dokumentu

W preambule

(16)

Efekty wy´swietlania tre´sci

W preambule:

\beamerdefaultoverlayspecification{<+->}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 15 / 63

(17)

Efekty wy´swietlania tre´sci

(18)

Efekty wy´swietlania tre´sci

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 17 / 63

(19)

Efekty wy´swietlania tre´sci

(20)

Nieliniowe przej´scia mi˛edzy slajdami

Slajd docelowy

\begin{frame}

\label{contents}

Link do slajdu

\hyperlink{etykieta}{Dowód twierdzenia 1}.

\hyperlink{etykieta}{

\beamerbutton{Dowód twierdzenia 1}

}

beamergotobutton beamerskipbutton beamerreturnbutton

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 19 / 63

(21)

Otoczenie block

\begin{block}{Tytuł}

zawarto´ s´ c

\end{block}

\begin{exampleblock}{Tytuł}

zawarto´ s´ c

\end{exampleblock}

\begin{alertblock}{Tytuł}

zawarto´ s´ c

\end{alertblock}

(22)

Otoczenie block

Tytuł zawarto´s´c Tytuł zawarto´s´c Tytuł zawarto´s´c

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 21 / 63

(23)

Otoczenie example i definition

\begin{example}

zawarto´ s´ c

\end{example}

Example zawarto´s´c

\begin{definition}

zawarto´ s´ c

\end{definition}

Definition

(24)

Tło dla wszystkich slajdów

W preambule

\setbeamertemplate{background canvas}

{\includegraphics[width=\paperwidth, height=\paperheight]

{plik-z-grafika}

}

Rozmiar slajdu 128mm × 96mm.

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 23 / 63

(25)

Tło dla wszystkich slajdów

Introduction

CAPTCHA systems

The main task of a CAPTCHA is to differentiate bots (malicious programs) and human users in online services.

services offering free e-mail accounts;

commenting blogs;

sending SMS/MMS messages via web pages;

community portals;

online polls;

etc.

(26)

Obrazek na cały slajd

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 25 / 63

(27)

Introduction

CAPTCHA systems

The main task of a CAPTCHA is to differentiate bots (malicious programs) and human users in online services.

services offering free e-mail accounts;

commenting blogs;

sending SMS/MMS messages via web pages;

community portals;

online polls;

etc.

(28)

Bibliografia w Beamerze

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 27 / 63

(29)

Bibliografia w Beamerze

(30)

Literatura I

A. Autor.

Introduction to Giving Presentations.

Klein-Verlag, 1990.

S. Jemand.

On this and that.

Journal of This and That, 2(1):50–100, 2000.

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 29 / 63

(31)

Bibliografia w Beamerze

(32)

Kod ´zródłowy w Beamerze (fragile)

\def\newblock{}

\bibliographystyle{apa}

\bibliography{book}

\def\newblock{}

\bibliographystyle{apa}

\bibliography{book}

verbatim Verbatim lstlisting ...

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 31 / 63

(33)

Kod ´zródłowy w Beamerze (fragile)

\begin{frame}[fragile]

\frametitle{Tytuł}

Zawarto´ s´ c

\end{frame}

\begin{frame}[fragile]{Tytuł}

Zawarto´ s´ c

\end{frame}

(34)

Handouty

W preambule

\documentclass[handout]{beamer}

\usepackage{pgfpages}

\pgfpagesuselayout{2 on 1}

[a4paper,border shrink=5mm]

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 33 / 63

(35)

Handouty

W preambule

\documentclass[handout]{beamer}

\usepackage{pgfpages}

\pgfpagesuselayout{4 on 1}

[a4paper,landscape,border shrink=3mm]

(36)

System składu L

A

TEX w zastosowaniach akademickich

Spotkanie #05

Paweł Łupkowski pawel.lupkowski@gmail.com

Zakład Logiki i Kognitywistyki Instytut Psychologii Uniwersytet im. A. Mickiewicza w Poznaniu

Reasonig Research Group

Pozna´n, 5.04.2018

Paweł Łupkowski (IP AMU) LAB2018 5.04.2018 1 / 33

Preambuła i style

\documentclass{beamer}

\usetheme{Warsaw}

Paweł Łupkowski (IP AMU) LAB2018 5.04.2018 2 / 33

Preambuła i style

\usetheme{default}

Darmstadt, Madrid, ...

\usecolortheme{default}

albatross, beaver, crane, ...

\usefonttheme{default}

serif, structurebold, ...

Paweł Łupkowski (IP AMU) LAB2018 5.04.2018 3 / 33

Preambuła: Brak symboli w prawym dolnym rogu

\setbeamertemplate{navigation symbols}{}

Przy tej opcji warto równie˙z doda´c

\setbeamertemplate{caption}[numbered]

Paweł Łupkowski (IP AMU) LAB2018 5.04.2018 4 / 33

(37)

Warto wiedzie´c

powerdot

Osobna klasa do tworzenia prezentacji (nie jest pochodn ˛ a Beamera).

Wiele dost˛epnych stylów prezentacji.

Dobra dokumentacja

ftp://ftp.gust.org.pl/TeX/macros/latex/contrib/

powerdot/doc/powerdot.pdf

Kompilacja silnikiem latex (niestety).

(38)
(39)

Ciekawe szablony prezentacji (oparte na Beamerze)

DarkConsole

>>>Test

>>>DarkConsole Name: Anonim Date: April 4, 2018

mail@mail.com

[~]$ _ [1/4]

>>>Outline

1. First section

2. Second section

[~]$ _ [2/4]

>>>Test

Zwykly tekst niewypunktowany.

1.pierwszy

2.drugi

3.trzeci

>>>Theorem

Theorem (Gauss)

∫∞

−∞

e−x2dx =√π. (1)

(40)

Ciekawe szablony prezentacji (oparte na Beamerze)

Metropolis

Metropolis A modern beamer theme

Matthias Vogelgesang Center for modern beamer themes

Introduction

Metropolis

The metropolis theme is a Beamer theme with minimal visual noise inspired by the hsrm Beamer Theme by Benjamin Weiss.

Enable the theme by loading

\documentclass{beamer}

\usetheme{metropolis}

Note, that you have to have Mozilla’s Fira Sans font and XeTeX installed to enjoy this wonderful typography.

1

Questions?

1

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 39 / 63

(41)

Ciekawe szablony prezentacji (oparte na Beamerze)

Presento

PRESENTO

clean, simple and extensible Ratul Saha

www.ratulsaha.com April 4, 2018

Open Source Fonts

This is Montserrat This is Noto Sans This is Lato (light) This is inconsolata This is Alegreya Sans small caps

2

BIG BOLD TEXT

RUN!

(42)

Ciekawe szablony prezentacji (oparte na Beamerze)

Fancyslides

MAKE YOUR POINT CLEAR WITH FANCYSLIDES

Your Name • Company • your.email@domain.com

YOUR POINT

EXPLAINED CLEARLY

• BEAMER EASE OF USE

• MODERN LOOK & FEEL

https://ctan.org/pkg/fancyslides

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 41 / 63

(43)

Fancyslides

https://ctan.org/pkg/fancyslides fancyslides.cls – document class;

example.tex – an exemplary file ready to compile it with pdflatex;

example.pdf – a compiled example, to give you an impression of the Fancsyslides look & feel;

blank.jpg, 1.jpg and 2.jpg – exemplary background graphics;

fancyslides.pdf – intro.

Kompilacja

pdflatex

(44)

Fancyslides

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 43 / 63

(45)

Fancyslides

(46)

Fancyslides

(a) pointedsl (b) framedsl (c) itemized

Figure 1: Three predefined slide types

• \itemized{\item BEAMER EASE OF USE \item STH \item STH ELSE} – slide with a frame and itemize environment inside. To introduce new item simply use \item command. There is no need to open and close the itemize environment;

• \misc{ anything you want } – slide with a frame to put anything you like inside it (e.g. a barchart or a picture, quotation etc.).

• \sources{ list of resources } – slide with a frame and ‘SOURCES’

note, designed to provide information about sources of graphics or fonts used.

If you want to uncover your content step by step you can use the \pitem com- mand inside framedsl. Simply put your point as an argument of pitem. pitem will generate an item with pause at the end. The last item should be introduced by the fitem command (no pause after this command is used).

\fbckg{7}

\begin{frame}

\framedsl{\pitem{pointed slogan} \pitem{framed slogan}

\pitem{beamer features} \fitem{fonts with xelatex}}

\end{frame}

To generate the end slide with thank you note simply use \thankyou com- mand inside the frame environment. (This will generate pointedsl with THANK YOU note inside.)

\fbckg{your background}

\begin{frame}

\thankyou

\end{frame}

3

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 45 / 63

(47)

Fancyslides

(48)

Fancyslides

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 47 / 63

(49)

Postery – klasa baposter

Preambuła

\documentclass[opcje]{baposter}

landscape/portrait układ strony

a0paper, a1paper, a2paper, a3paper, a4paper predefiniowane rozmiary strony

margin=length marginesy

showframe pokazuje ramk˛e wokół strony (pomocne przy układaniu tre´sci)

\documentclass[landscape,a1paper]{baposter}

(50)

Otoczenie poster

\begin{poster}{ key=ustawienia } { Eye Catcher (grafika) }

{ Tytul } { Autor } { Logo } Tresci

\end{poster}

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 49 / 63

(51)

Ustawienia otoczenia poster

grid={yes,no} wy´swietl siatk˛e (u˙zyteczne przy ustawianiu tre´sci columns=4 liczba kolumn (landscape – domy´slne 4, portrait – 3);

max. 6

colspacing=length odległo´s´c pomi˛edzy kolumnami

eyecatcher={yes,no} grafika w lewym górnym rogu

(52)

Ustawienia otoczenia poster

background=poster background type typ tła

1 plain: jeden kolor (bgColorOne)

2 shade-lr: gradient (poziomo) (od bgColorOne do bgColorTwo)

3 shade-tb: gradient (pionowo) (od bgColorOne do bgColorTwo)

4 none: brak tła bgColorOne=pgf color name bgColorTwo=pgf color name

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 51 / 63

(53)

Ustawienia dla „pudełek” na posterze

borderColor=pgf color name kolor ramki

headerColorOne=pgf color name kolor pudełka

headerColorTwo=pgf color name drugi kolor pudełka (dla gradientów) textborder=border type b wygl ˛ ad dolnej cz˛e´sci pudełka

rectangle rounded roundedsmall roundedleft roundedright

none bars faded triangles coils

(54)

Ustawienia dla „pudełek” na posterze

linewidth=length grubo´s´c linii dla ramek headerborder=header border type b

none open closed

headershape=header border shape b

rectangle rounded smallrounded roundedleft roundedright

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 53 / 63

(55)

Ustawienia dla „pudełek” na posterze

headershade=type of header shading cieniowanie nagłówka pudełka

1 plain

2 shade-lr

3 shade-tb

4 shade-tb-inverse boxshade cieniowanie pudełka

1 shade-lr

2 shade-tb

3 plain

4 none

(56)

Przykład ustawie´n

\begin{poster}{

grid=false, columns=3,

colspacing=0.7em,

headerColorOne=cyan!20!white!90!black, borderColor=cyan!30!white!90!black, textborder=faded,

headerborder=open,

headershape=roundedright, headershade=plain,

background=none,

bgColorOne=cyan!10!white, headerheight=0.13\textheight }

...

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 55 / 63

(57)

Przykład ustawie´n

(58)

Pudełka

\headerbox{Tytul}{name=etykieta, column=0,row=0, span=1}{

zawartosc }

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 57 / 63

(59)

Przykład

\headerbox{Introduction}{name=introduction, column=0,row=0, span=1}{...}

\headerbox{Write\LaTeX}{name=writelatex, column=0,row=0, span=1,

below=introduction}

{...}

\headerbox{ShareLaTeX}{name=sharelatex,

column=0,row=0,span=1,

below=writelatex}{...}

(60)

Przykład ustawie´n

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 59 / 63

(61)

Przykład

\headerbox{Introduction}{name=introduction, column=0,row=0, span=1}{...}

\headerbox{Comparison}{name=comparison, column=1,row=0, span=1}{...}

\headerbox{Go mobile!}{name=mobile,

column=2,row=0,

span=1}{...}

(62)

Przykład ustawie´n

Paweł Łupkowski (IP AMU) LAB2018 5/12.12.2018 61 / 63

(63)

O

PTIMAL

L

ANDMARK

D

ETECTION USING

S

HAPE

M

ODELS AND

B

RANCH

AND

B

OUND { BRIAN.AMBERG ANDTHOMAS.VETTER}@UNIBAS.CH PROBLEM

Fitting statistical 2D and 3D shape mod- els to images is necessary for a variety of tasks, such as video editing and face recog- nition. Much progress has been made on local fitting from an initial guess, but deter- mining a close enough initial guess is still an open problem. We propose a method to lo- cate fiducial points, which can then be used to initialize the fitting.

CONTRIBUTIONS We overcome the inherent ambiguity in landmark detection by using global shape in- formation. We solve the combinatorial prob- lem of selecting out of a large number of candidate landmark detections the configu- ration which is best supported by a shape model. Our method, as opposed to previous approaches, always finds the globally opti- mal configuration.

The algorithm can be applied to a very general class of shape models and is inde- pendent of the underlying feature point de- tector. Its theoretic optimality is shown, and it is evaluated on a large face dataset.

RESULTS

SuccessFailure

Some randomly chosen images from the color feret database for each pose, and the de- tected landmark positions. The first two rows

are success cases, the last row shows a failure case.

REPRESENTATION

Selections:{S1, S2, S3, S4}:

P:

Nose Left Eye Right Eye Right Corner of the Mouth Left Corner of the Mouth Candidates:

Subsets of solutions are encoded as the Kartesian product of subsets of landmark candidates per fiducial point.

SCALINGBEHAVIOUR Runtime as a function of the number of false positives

2 4 6 8 101214

0 1 2 3 4 5

# False positives

Runtime (s)

Measurements Average and one std. dev.

Runtime as a function of detection accuracy

0 2 4 6 8 10

0 1 2 3 4 5

Noise level (std. deviations of maximum face diameter)

Runtime (s)

Measurements Average and one std. dev.

REFERENCES [1] B. Amberg, T. Vetter. Optimal Landmark Detec-

tion using Shape Models and Branch and Bound In ICCV ’11

SOURCECODE The source code is available at http://www.cs.unibas.ch/

personen/amberg_brian/

bnb/

FORMULATION The solution is constrained by a shape model

M (Θ) = (m1(Θ), . . . , mN(Θ)) (1) mi:RNΘ→ R2 mapping model parameters Θ to image po- sitions mi(Θ). For each fiducial point mia set of candidate positions

Li={l1i, l2 i, . . .} lji∈ R2 (2) is detected in the image. The task is to assign to every model vertex one of the candidate positions such that the shape model can be best fit to the selection S, written as a tuple

S = (j1, j2, . . . , jN) ji∈ N, (3) where jiis the index of a candidate of land- mark i.

So we minimize the distance between the shape model and the image landmarks:

S= arg min S=(j1,...,jN) f (S) f (S) = min

Θ X

i ρ mi(Θ)− ljii



.(4) Where ρ : R → R is a robust function, al- lowing us to handle missing detections, and points which are invisible due to occlusion.

SPLITTINGSTRATEGY Runtime as a function of the splitting strategy

10−1 100 101 102

Runtime (s, logarithmic)

largest distancemax distance to fitlargest area reductionequal split (smallest #)center of largest area isolate fitrandom

equal split (largest #)center of smallest area Measurements Average and one std. dev.

Different splitting strategies result in vastly different performance. Note that ‘split into equal sized problems’ is one of the worst strategies for branch and bound.

SOLUTION This discrete optimization is solved by Branch and Bound, which is a method to minimize a function over a set. It requires us to (1) efficiently specify solution subsets, (2) determine a lower bound on the minimal cost of the solutions within a subset, and (3) specify a strategy to split a solution subset into two new subsets.

The ingredients in our case are:

1. Solution subsets are created by taking subsets of landmark candidates, and considering the Kartesian product of all selected landmark candidates 2. We bound the cost for such a solution

set by taking for each landmark the minimal distance to the convex hull of the selected candidates 3. We found that splitting landmark can-

didates such that the convex hull of the resulting two landmark candidates are as distant as possible is most effective.

Properties of Elementary Random and Preferential Dynamic Networks

Richard O. Legendi, Laszlo Gulyas, George Kampis legendi@inf.elte.hu, lgulyas@colbud.hu, gkampis@colbud.hu Problem

Sampling networks always involves the act of aggregation (e.g., when collecting longitudinal samples of networks). We sutdy how the cumu- lation window length eects the properties of the aggregated network.

Basic Concepts In our work the dynamic network is a series of graphs, that is, DN = Gt(Vt, Et), where Et Vt× Vt(∀t ≥ 0). The initial network, G0, is considered as a parameter of the process. The node set xed and we worked with an about constant number of edges. We assume that the evolution of the network can be described as the result of an edge creation and an edge deletion process. We dene Gtas the snapshot network and

GT= ( [T t=0 Vt,

[T t=0

Et)for T ≥ 0.

as the cumulative network.

Models ER1 G0is a random graph. Add each non- existing edge with pA, delete each existing edge with pDprobability.

ER2 G0is a random graph. Add kAuniformly selected random new edges and delete kDexist- ing edges.

ER3 G0is a random graph. Rewire kRWedges.

SPA (Snapshot preferential) G0is a scale free network. Add kAedges from a random node with preferential attachment based on the snap- shot network. Delete kDexisting edges.

CPA (Cumulative preferential) G0is a scale free network. Add kAedges from a random node with preferential attachment based on the cu- mulative network. Delete kDexisting edges.

References [1] Laszlo Gulyas, Richard Legendi: Eects of Sample

Duration on Network Statistics in Elementary Mod- els of Dynamic Networks, International Conference on Computational Science, Singapore (2011) [2] Laszlo Gulyas, Susan Khor, Richard Legendi andGeorge Kampis Cumulative Properties of Elemen-

tary Dynamic Networks, The International Sunbelt Social Network Conference XXXI (2011) [3] Gulyas, Laszlo et al.: Betweenness Centrality Dy-namics in Networks of Changing Density. Presented

at the 19th International Symposium on Mathemat- ical Theory of Networks and Systems (MTNS 2010) Acknowledgements This research was partially supported by the Hungar- ian Government (KMOP-1.1.2-08/1-2008-0002 ) and the European Union's Seventh Framework Programme: Dy- naNets, FET-Open project no.FET-233847 (http:

//www.dynanets.org). The supports are gratefully ac- knowledged.

Dynamic Networks are Sensitive to Aggregation Network characteristics are extremely sensitive to minor changes in aggregation length. In our previous work [1] [2], we studied the cumulative properties of Elementary Dynamic Network models over the complete time period (i.e., until they reach the stable point of a full network). Here we focus on the more realistc domain of sparse (cumulative) networks. We nd that even when snapshot networks are stationary, important network characteristics (average path lenght, clustering, betwenness centrality) are extremely sensitive to aggregation (window length).

0 200 400 600 800 1000

024681012

Time

avgPathLength

02000040000

0246

0 200 400 600 800 1000

0.000.050.100.150.200.250.30

Time clustering 02000040000

0.00.40.8

0 200 400 600 800 1000

0.000.020.040.06

Time

avgBetweenness

02000040000

0.000.020.04

0 200 400 600 800 1000

0.00.10.20.30.40.5

Time

maxBetweenness

02000040000

0.00.30.6

CPA snapshotCPA cumulativeSPA snapshotSPA cumulativeER1 snapshotER1 cumulativeER2 snapshotER2 cumulativeER3 snapshotER3 cumulative

Degree Distribution Radically Changes Degree distributions are exceptionally sensitive to the length of the aggregation window. The same dynamic network may produce a normal, lognormal or even power law distribution for dierent aggregation lenghts. The digree distribution of the snapshot and cumulative network is inherently dierent. The following surfaces show the CPA model until it approaches the complete network.

k

20 40

60 80

Time 10000

20000 30000

40000

p(k)

0 10 20 30 40 50 60

CPA − snapshot degrees

k

20 40

60 80

Time 10000

20000 30000

40000

p(k)

0 20 40 60 80 100

CPA − cumulative degrees

Taking slices of the cumulative 3D charts shows us how the degree distribution changes. The log-log charts below show the progression of these changes as the aggregation window gets larger.

1 2 5 10 20 50

125102050100200 k

p(k)

ER1 − Degree Distribution Comparison, Cumulative Network 1 day 1 year 5 years 10 years 15 years

1 2 5 10 20 50

125102050100200500 k

p(k)

CPA − Degree Distribution Comparison, Cumulative Network 1 day 1 year 5 years 10 years 15 years

(64)

Expression Invariant Face Recognition using a 3D Morphable Model

Brian Amberg brian.amberg@unibas.ch University of Basel, Switzerland Contribution

We introduce a method for expression invariant face recognition. A generative 3D Morphable Model (3DMM) is used to separate identity and ex- pression components. The expression removal re- sults in greatly increased recognition performance, even on difficult datasets, without a decrease in performance on expression-less datasets.

It is applicable to any kind of input data, and was evaluated here on textureless range scans.

Model

The Model was learnt from 175 subjects. We used one neutral expression scan per identity and 50 ex- pression scans of a subset of the subjects.

The identity model is a linear model build from the neutral scans.

f = µ + Mnαn . (1)

For each of the 50 expression scans, we calcu- lated an expression vector as the difference be- tween the expression scan and the corresponding neutral scan of that subject. This data is already mode-centered, if we regard the neutral expres- sion as the natural mode of expression data. From these offset vectors an additional expression matrix Mewas calculated, such that the complete linear Model is

f = µ + Mnαn+ Meαe (2) The assumption here is, that the face and expres- sion space are linearly independent, such that each face is represented by a unique set of coefficients.

Fitting

A Robust Nonrigid ICP method was used to fit the model to the data. Robustness was achieved by it- eratively reweighting the correspondences and us- ing hard compatability test for the closest points.

Fitting was initialized by a simple nose detector and proceeded fully automatic.

Distance Measure

The Mahalanobis angle between the identity coef- ficients αnwas used for classification.

Expression Neutralization

a) Target b) Fit c) Normalized

a) Target b) Fit c) Normalized

Expression normalisation for two scans of the same individual. The robust fitting gives a good esti- mate (b) of the true face surface given the noisy measurement (a). It fills in holes and removes artifacts using prior knowledge from the face model. The pose and expression normalized faces (c) are used for face recognition.

Robustness

a) Targets

b) Fits

The reconstruction (b) is robust against scans (a) with artifacts, noise, and holes.

Results

The method was evaluated on the GavabDB expres- sion dataset which contains 427 Scans, with 3 neu- tral scans and 4 expression scans per ID. To test the impact of expression invariance on neutral data we

used the UND Dataset from the Face Recognition Great Vendor Test, which contains 953 neutral scans with one to eight scans per subject.

75 80 85 90 95 100

0 2 4 6 8 10 12 14 16 18 20

MNCG%

@(x) GavabDB: Mean Normalized Cumulative Gain

neutral model

expression model 0.9920.99 0.994 0.996 0.998 1

0 2 4 6 8 10 12 14 16 18 20

MNCG

@x UND: Mean Normalized Cumulative Gain

neutral model expression model

Expression neutralization improves results on the expression dataset without decreasing the accuracy on the neutral testset. Plotted is the ratio of correct answers to the number of possible correct answers.

0 20 40 60 80 100

0 20 40 60 80 100

Precision%

Recall % GavabDB: Precision Recall

neutral model

expression model 0.20

0.4 0.6 0.8 1

0 0.2 0.4 0.6 0.8 1

Precision

Recall UND: Precision Recall

neutral model expression model

Plotted are precision and recall for different retrieval depths. The lower precision of the UND database is due to the fact that some queries have no correct answers.

0.010 0.020.03 0.040.05 0.060.07 0.08

0 0.005 0.01 0.015 0.02 0.025 0.03

FRR

FAR GavabDB: Recognition Performance

neutral model expression model

0.010 0.020.03 0.040.05 0.060.07 0.08

0 0.005 0.01 0.015 0.02 0.025 0.03

FRR

FAR UND: Recognition Performance

neutral model expression model

Impostor detection is reliable, as the minimum distance to a match is smaller than the minimum distance to a nonmatch.

Open Questions

While the expression and identity space are lin- early independent, there is some expression left in the identity model. This is because a “neu- tral” face is interpreted differently by the sub- jects. We investigate the possibilty to build an identity/expression separated model without us- ing the data labelling, based on a measure of inde- pendence.

Funding

This work was supported in part by Microsoft Research through the European PhD Scholarship Programme.

References

[1] B. Amberg, S. Romdhani, T. Vetter. Optimal Step Nonrigid ICP Algorithms for Surface Registration In CVPR 2007 [2] B. Amberg, R. Knothe, T. Vetter. Expression Invariant Face

Recognition with a 3D Morphable Model In AFGR 2008

(65)

´Cwiczenie

Przygotuj prezentacj˛e na wybrany przez siebie temat przynajmniej 5 slajdów

nieliniowe przej´scie mi˛edzy slajdami grafika

bibliografia oraz

Przygotuj poster na wybrany przez siebie temat A1, pionowo

3 kolumny

grafika

bibliografia

Cytaty

Powiązane dokumenty

Potrafi szczegółowo opisa´c i uzasadni´c standardy dotycz ˛ ace składu tekstu, przygotowania prezentacji multimedialnej oraz przygotowania grafiki.. Potrafi rozpozna´c i nazwa´c

pdflatex / pdflatex (spisy tre´sci, tabel, ilustracji) pdflatex /bibtex / pdflatex (bibliografia). pdflatex / makeindex / pdflatex /

An SN-curve approach based on a nominal stress range approach, a structural stress range approach, and a notch stress range approach has been applied to numerous test SN-data

This paper is focused on the usage of Ultra Short Baseline Systems (USBL) on Offshore Supply Vessels (OSV) and h o w a good system can add significant value to your vessel. It

industry project which was established in order to address the bridge system onboard offshore service vessels will be presented. The project had participants from oil companies,

condition is not the only service condition. Typical multi purpose “working vessels” must first of all carry out their different purposes efficiently, but also

Hamit Fi§ek (Bogazici Univ., Istanbul) i Joseph Berger (Stanford Univ.), „Sentiment and Affect as Determinants or Transformers of Expectations”.. M argaret Foddy

In practice, this means that oil filled by hand pumps or pneumatic pumps from oil drums on deck are exempt from the requirements, while some cargo substances like oil based mud,