summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2013-02-01 20:37:06 +0100
committerJan Klemkow <j.klemkow@wemelug.de>2013-02-01 20:37:06 +0100
commit04dcc1289a6f766a2d1725e00124624f17d4f01d (patch)
tree4facdb9e0fa83f0c81e23e9e8056f5f70d43fa15
parent81ffe5042ab0005edfa9eb8c8b6fa03ecbfa4601 (diff)
downloadadvtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.tar.gz
advtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.tar.bz2
advtime-04dcc1289a6f766a2d1725e00124624f17d4f01d.zip
Add graph and text into documentation.
-rw-r--r--doc/documentation.txt22
-rw-r--r--doc/image/overlap.svg302
-rw-r--r--src/draw.plot6
3 files changed, 327 insertions, 3 deletions
diff --git a/doc/documentation.txt b/doc/documentation.txt
index 5e58ade..4538ee5 100644
--- a/doc/documentation.txt
+++ b/doc/documentation.txt
@@ -1,6 +1,7 @@
= Automatisierte Erkennung von Werbebloecken
:author: Jan Klemkow, Benjamin Franzke
:lang: de
+:imagesdir: image
== Einleitung
@@ -84,6 +85,15 @@ angefragte.
Zur Erkennung von Schnitten in Videoaufzeichnungen wurde im Rahmen dieser
Arbeit ein verfahren entwickelt.
+
+Der erste Ansatz bestand in der Annahme, dass sich die durchschnittliche
+Hellichkeit des Bildes wahrend einer Szene nicht stark veraender.
+Aus diesem Grund wurde ein Algorithmus implementiert, welche ueber jeden
+Frame die durchschnittlichen Y-Wert berechnet.
+
+.Durchschnittlicher Y-Wert ueber das Heute-100sec-Video
+image::avg.svg[]
+
Dabei wird eine Video Frame fuer Frame durchlaufen und zwischen zwei aufeinander
folgender Frames eine durchschnittliche Pixeldifferenz berechnet.
Die Pixeldifferenz wird nur anhand des Y-Kanals berechnet.
@@ -91,7 +101,7 @@ Die Pixeldifferenz wird nur anhand des Y-Kanals berechnet.
.Frame-Differenzwerte innerhalb des Heute-100sec-Videos
image::cuts.svg[]
-Betrachtet man den Graphen, welche aus diesen Werten entsteht, laesst sich
+Betrachtet man den Graphen, welche aus diesen Werten entsteht, lassen sich
Schnitte gut anhand der Pieks erkennen.
Da diese Pieks allerdings nicht immer die gleichen Amplitude haben und auch
andere Wertebereiche, welche keinen Schnitt enthalten eine aehnliche Amplitude
@@ -125,6 +135,16 @@ vom Anfrang eines anderen Videos.
Ausgegeben wird der Zeitpunkt des Frames mit der groessten Uebereinstimmung.
Ab diesem Zeitpunkt faehrt der Film dann ohne einen stoerenden Uebergang fort.
+.Last-Frame-Differenz von Video-1 ueber Video-2
+image::overlap.svg[]
+
+Der obere Graph zeigt, die Differenz eines des letzten Framens von Video-1 ueber
+die erste Minute von Video-2.
+Dabei wird nach ca. sechs Sekunden der kleinste Wert ermittelt.
+Dieses Minimum ist auch genau der Punkt, andem die Ueberlapung endet.
+Beim Zusammenschneiden der beiden Videoteile kann also bei Video-2 die ersten
+sechs Sekunden herrauslassen.
+
== Literatur
* Thorsten Janke and Markus Koppers. ``Optimierung und Implementierung
diff --git a/doc/image/overlap.svg b/doc/image/overlap.svg
new file mode 100644
index 0000000..0e4bcfe
--- /dev/null
+++ b/doc/image/overlap.svg
@@ -0,0 +1,302 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+ "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
+<svg viewBox="0 0 800 600"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+>
+
+<desc>Produced by GNUPLOT 4.4 patchlevel 3 </desc>
+
+<defs>
+
+ <circle id='gpDot' r='0.5' stroke-width='0.5'/>
+ <path id='gpPt0' stroke-width='0.222' stroke='currentColor' d='M-1,0 h2 M0,-1 v2'/>
+ <path id='gpPt1' stroke-width='0.222' stroke='currentColor' d='M-1,-1 L1,1 M1,-1 L-1,1'/>
+ <path id='gpPt2' stroke-width='0.222' stroke='currentColor' d='M-1,0 L1,0 M0,-1 L0,1 M-1,-1 L1,1 M-1,1 L1,-1'/>
+ <rect id='gpPt3' stroke-width='0.222' stroke='currentColor' x='-1' y='-1' width='2' height='2'/>
+ <rect id='gpPt4' stroke-width='0.222' stroke='currentColor' fill='currentColor' x='-1' y='-1' width='2' height='2'/>
+ <circle id='gpPt5' stroke-width='0.222' stroke='currentColor' cx='0' cy='0' r='1'/>
+ <use xlink:href='#gpPt5' id='gpPt6' fill='currentColor' stroke='none'/>
+ <path id='gpPt7' stroke-width='0.222' stroke='currentColor' d='M0,-1.33 L-1.33,0.67 L1.33,0.67 z'/>
+ <use xlink:href='#gpPt7' id='gpPt8' fill='currentColor' stroke='none'/>
+ <use xlink:href='#gpPt7' id='gpPt9' stroke='currentColor' transform='rotate(180)'/>
+ <use xlink:href='#gpPt9' id='gpPt10' fill='currentColor' stroke='none'/>
+ <use xlink:href='#gpPt3' id='gpPt11' stroke='currentColor' transform='rotate(45)'/>
+ <use xlink:href='#gpPt11' id='gpPt12' fill='currentColor' stroke='none'/>
+</defs>
+<g style="fill:none; color:white; stroke:currentColor; stroke-width:1.00; stroke-linecap:butt; stroke-linejoin:miter">
+</g>
+<g style="fill:none; color:black; stroke:currentColor; stroke-width:1.00; stroke-linecap:butt; stroke-linejoin:miter">
+ <path d='M63.6,542.4 L72.6,542.4 M775.0,542.4 L766.0,542.4 '></path>
+ <g transform="translate(55.3,546.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 0</text>
+ </g>
+ <path d='M63.6,476.7 L72.6,476.7 M775.0,476.7 L766.0,476.7 '></path>
+ <g transform="translate(55.3,481.2)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 10</text>
+ </g>
+ <path d='M63.6,411.0 L72.6,411.0 M775.0,411.0 L766.0,411.0 '></path>
+ <g transform="translate(55.3,415.5)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 20</text>
+ </g>
+ <path d='M63.6,345.3 L72.6,345.3 M775.0,345.3 L766.0,345.3 '></path>
+ <g transform="translate(55.3,349.8)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 30</text>
+ </g>
+ <path d='M63.6,279.5 L72.6,279.5 M775.0,279.5 L766.0,279.5 '></path>
+ <g transform="translate(55.3,284.0)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 40</text>
+ </g>
+ <path d='M63.6,213.8 L72.6,213.8 M775.0,213.8 L766.0,213.8 '></path>
+ <g transform="translate(55.3,218.3)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 50</text>
+ </g>
+ <path d='M63.6,148.1 L72.6,148.1 M775.0,148.1 L766.0,148.1 '></path>
+ <g transform="translate(55.3,152.6)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 60</text>
+ </g>
+ <path d='M63.6,82.4 L72.6,82.4 M775.0,82.4 L766.0,82.4 '></path>
+ <g transform="translate(55.3,86.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 70</text>
+ </g>
+ <path d='M63.6,16.7 L72.6,16.7 M775.0,16.7 L766.0,16.7 '></path>
+ <g transform="translate(55.3,21.2)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text> 80</text>
+ </g>
+ <path d='M63.6,542.4 L63.6,533.4 M63.6,16.7 L63.6,25.7 '></path>
+ <g transform="translate(63.6,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 0</text>
+ </g>
+ <path d='M182.2,542.4 L182.2,533.4 M182.2,16.7 L182.2,25.7 '></path>
+ <g transform="translate(182.2,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 10</text>
+ </g>
+ <path d='M300.7,542.4 L300.7,533.4 M300.7,16.7 L300.7,25.7 '></path>
+ <g transform="translate(300.7,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 20</text>
+ </g>
+ <path d='M419.3,542.4 L419.3,533.4 M419.3,16.7 L419.3,25.7 '></path>
+ <g transform="translate(419.3,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 30</text>
+ </g>
+ <path d='M537.9,542.4 L537.9,533.4 M537.9,16.7 L537.9,25.7 '></path>
+ <g transform="translate(537.9,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 40</text>
+ </g>
+ <path d='M656.4,542.4 L656.4,533.4 M656.4,16.7 L656.4,25.7 '></path>
+ <g transform="translate(656.4,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 50</text>
+ </g>
+ <path d='M775.0,542.4 L775.0,533.4 M775.0,16.7 L775.0,25.7 '></path>
+ <g transform="translate(775.0,564.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text> 60</text>
+ </g>
+ <path d='M63.6,16.7 L63.6,542.4 L775.0,542.4 L775.0,16.7 L63.6,16.7 Z '></path>
+ <g transform="translate(17.6,279.6) rotate(270)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text>diff</text>
+ </g>
+ <g transform="translate(419.3,591.9)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:middle">
+ <text>Zeit [sec]</text>
+ </g>
+</g>
+ <a xlink:title="Plot #1">
+<g style="fill:none; color:red; stroke:currentColor; stroke-width:1.00; stroke-linecap:butt; stroke-linejoin:miter">
+ <g transform="translate(707.9,39.2)" style="stroke:none; fill:black; font-family:Arial; font-size:12.00pt; text-anchor:end">
+ <text>diff</text>
+ </g>
+ <path stroke='rgb( 32, 74, 135)' d='M716.2,34.7 L758.4,34.7 M63.6,407.6 L64.1,409.0 L64.5,409.6 L65.0,409.8 L65.5,410.2 L66.0,410.7
+ L66.4,411.2 L66.9,411.1 L67.4,411.0 L67.9,411.1 L68.3,411.4 L68.8,411.4 L69.3,411.4 L69.8,411.4
+ L70.2,411.3 L70.7,411.5 L71.2,410.5 L71.7,409.3 L72.1,408.0 L72.6,408.0 L73.1,408.0 L73.6,406.1
+ L74.0,404.4 L74.5,402.6 L75.0,400.4 L75.5,398.2 L75.9,396.4 L76.4,394.7 L76.9,392.9 L77.4,391.2
+ L77.8,390.0 L78.3,389.0 L78.8,388.5 L79.3,388.1 L79.7,388.0 L80.2,387.7 L80.7,387.2 L81.1,386.8
+ L81.6,386.6 L82.1,386.4 L82.6,386.1 L83.0,386.1 L83.5,385.9 L84.0,385.9 L84.5,385.7 L84.9,385.5
+ L85.4,385.3 L85.9,385.1 L86.4,384.9 L86.8,384.6 L87.3,384.4 L87.8,384.2 L88.3,383.9 L88.7,383.8
+ L89.2,383.7 L89.7,382.9 L90.2,383.1 L90.6,384.6 L91.1,386.3 L91.6,387.7 L92.1,388.6 L92.5,389.7
+ L93.0,390.4 L93.5,390.5 L94.0,390.2 L94.4,390.3 L94.9,390.2 L95.4,389.3 L95.9,388.4 L96.3,388.0
+ L96.8,386.5 L97.3,386.6 L97.7,387.5 L98.2,387.3 L98.7,387.1 L99.2,387.7 L99.6,388.9 L100.1,389.8
+ L100.6,391.1 L101.1,392.1 L101.5,392.8 L102.0,393.5 L102.5,393.9 L103.0,393.9 L103.4,393.7 L103.9,392.9
+ L104.4,392.4 L104.9,391.8 L105.3,391.5 L105.8,391.0 L106.3,390.3 L106.8,388.7 L107.2,388.9 L107.7,390.0
+ L108.2,390.7 L108.7,391.1 L109.1,393.7 L109.6,395.0 L110.1,396.2 L110.6,397.1 L111.0,398.0 L111.5,398.5
+ L112.0,398.7 L112.4,398.8 L112.9,398.7 L113.4,398.3 L113.9,396.7 L114.3,393.4 L114.8,390.8 L115.3,390.1
+ L115.8,390.5 L116.2,391.9 L116.7,391.6 L117.2,391.9 L117.7,394.0 L118.1,395.8 L118.6,396.7 L119.1,396.9
+ L119.6,396.6 L120.0,395.6 L120.5,395.6 L121.0,398.6 L121.5,405.2 L121.9,412.4 L122.4,420.6 L122.9,431.5
+ L123.4,445.9 L123.8,463.5 L124.3,481.5 L124.8,490.5 L125.3,478.1 L125.7,465.1 L126.2,455.6 L126.7,449.2
+ L127.2,445.2 L127.6,444.5 L128.1,445.3 L128.6,447.5 L129.0,450.1 L129.5,450.4 L130.0,453.0 L130.5,455.9
+ L130.9,455.9 L131.4,455.5 L131.9,457.4 L132.4,462.8 L132.8,474.0 L133.3,484.1 L133.8,495.9 L134.3,501.0
+ L134.7,505.1 L135.2,513.8 L135.7,523.4 L136.2,513.6 L136.6,505.9 L137.1,500.3 L137.6,493.3 L138.1,487.2
+ L138.5,483.9 L139.0,482.0 L139.5,480.6 L140.0,479.5 L140.4,478.5 L140.9,478.3 L141.4,478.0 L141.9,479.3
+ L142.3,480.8 L142.8,482.0 L143.3,481.0 L143.8,479.7 L144.2,479.6 L144.7,484.6 L145.2,490.3 L145.6,492.6
+ L146.1,493.4 L146.6,494.9 L147.1,496.8 L147.5,498.8 L148.0,500.1 L148.5,500.6 L149.0,500.0 L149.4,499.4
+ L149.9,498.9 L150.4,498.5 L150.9,498.3 L151.3,498.9 L151.8,499.0 L152.3,500.0 L152.8,501.0 L153.2,503.0
+ L153.7,505.6 L154.2,507.5 L154.7,508.4 L155.1,505.5 L155.6,501.6 L156.1,496.4 L156.6,491.5 L157.0,488.6
+ L157.5,485.7 L158.0,482.3 L158.5,477.1 L158.9,473.7 L159.4,468.3 L159.9,465.2 L160.4,463.1 L160.8,461.6
+ L161.3,461.3 L161.8,460.4 L162.2,460.6 L162.7,460.4 L163.2,457.6 L163.7,453.3 L164.1,448.3 L164.6,445.5
+ L165.1,444.7 L165.6,444.6 L166.0,443.5 L166.5,441.6 L167.0,441.8 L167.5,440.9 L167.9,438.9 L168.4,436.9
+ L168.9,435.5 L169.4,434.9 L169.8,435.2 L170.3,435.7 L170.8,438.7 L171.3,443.1 L171.7,446.0 L172.2,448.2
+ L172.7,450.6 L173.2,452.9 L173.6,454.5 L174.1,455.2 L174.6,455.3 L175.1,454.9 L175.5,454.9 L176.0,454.4
+ L176.5,453.0 L176.9,451.7 L177.4,450.4 L177.9,449.9 L178.4,449.7 L178.8,449.3 L179.3,447.1 L179.8,443.9
+ L180.3,442.0 L180.7,439.8 L181.2,437.3 L181.7,434.8 L182.2,433.2 L182.6,431.2 L183.1,429.4 L183.6,428.4
+ L184.1,428.0 L184.5,428.3 L185.0,428.9 L185.5,430.1 L186.0,430.5 L186.4,429.4 L186.9,428.9 L187.4,428.7
+ L187.9,428.9 L188.3,432.8 L188.8,435.4 L189.3,437.4 L189.8,439.2 L190.2,440.6 L190.7,442.0 L191.2,442.5
+ L191.7,442.9 L192.1,442.8 L192.6,442.4 L193.1,441.3 L193.5,438.3 L194.0,438.0 L194.5,438.8 L195.0,439.2
+ L195.4,439.5 L195.9,443.0 L196.4,447.3 L196.9,450.4 L197.3,456.3 L197.8,463.7 L198.3,470.1 L198.8,478.1
+ L199.2,485.6 L199.7,486.4 L200.2,480.1 L200.7,474.4 L201.1,470.2 L201.6,467.2 L202.1,465.3 L202.6,465.1
+ L203.0,465.8 L203.5,466.9 L204.0,468.3 L204.5,470.4 L204.9,473.2 L205.4,476.1 L205.9,478.6 L206.4,480.4
+ L206.8,483.6 L207.3,488.8 L207.8,493.6 L208.3,493.0 L208.7,485.0 L209.2,476.0 L209.7,468.5 L210.1,461.1
+ L210.6,453.1 L211.1,445.1 L211.6,438.4 L212.0,432.6 L212.5,428.1 L213.0,424.2 L213.5,421.5 L213.9,419.5
+ L214.4,418.4 L214.9,417.9 L215.4,417.8 L215.8,418.0 L216.3,417.9 L216.8,417.6 L217.3,418.2 L217.7,421.6
+ L218.2,425.3 L218.7,427.5 L219.2,428.4 L219.6,429.2 L220.1,430.8 L220.6,432.1 L221.1,433.2 L221.5,435.8
+ L222.0,439.6 L222.5,445.6 L223.0,450.7 L223.4,454.0 L223.9,457.3 L224.4,460.2 L224.9,462.0 L225.3,462.7
+ L225.8,463.5 L226.3,463.4 L226.7,461.6 L227.2,459.7 L227.7,456.4 L228.2,449.1 L228.6,441.5 L229.1,434.7
+ L229.6,427.4 L230.1,420.3 L230.5,414.1 L231.0,408.5 L231.5,404.3 L232.0,402.2 L232.4,403.0 L232.9,406.2
+ L233.4,411.4 L233.9,411.8 L234.3,410.3 L234.8,409.3 L235.3,409.5 L235.8,411.3 L236.2,414.4 L236.7,417.5
+ L237.2,415.2 L237.7,412.6 L238.1,412.8 L238.6,416.2 L239.1,422.7 L239.6,431.5 L240.0,438.1 L240.5,440.9
+ L241.0,442.1 L241.5,443.2 L241.9,444.3 L242.4,445.5 L242.9,446.7 L243.3,447.8 L243.8,449.0 L244.3,450.8
+ L244.8,452.5 L245.2,453.4 L245.7,453.4 L246.2,449.6 L246.7,444.3 L247.1,436.8 L247.6,427.5 L248.1,419.8
+ L248.6,415.3 L249.0,412.6 L249.5,410.6 L250.0,409.2 L250.5,408.0 L250.9,407.0 L251.4,406.1 L251.9,405.1
+ L252.4,404.2 L252.8,403.5 L253.3,402.6 L253.8,402.4 L254.3,402.2 L254.7,402.0 L255.2,401.8 L255.7,401.9
+ L256.2,402.4 L256.6,404.3 L257.1,412.5 L257.6,423.1 L258.0,425.1 L258.5,429.6 L259.0,435.4 L259.5,438.0
+ L259.9,440.7 L260.4,446.1 L260.9,450.8 L261.4,454.4 L261.8,457.3 L262.3,463.0 L262.8,465.6 L263.3,461.3
+ L263.7,457.4 L264.2,454.0 L264.7,450.8 L265.2,448.9 L265.6,447.0 L266.1,446.7 L266.6,447.1 L267.1,448.1
+ L267.5,449.2 L268.0,451.4 L268.5,454.9 L269.0,459.1 L269.4,463.5 L269.9,467.6 L270.4,472.0 L270.9,476.9
+ L271.3,481.8 L271.8,485.8 L272.3,487.6 L272.8,487.9 L273.2,487.1 L273.7,485.3 L274.2,483.5 L274.6,481.7
+ L275.1,480.2 L275.6,26.2 L276.1,26.3 L276.5,26.3 L277.0,26.3 L277.5,26.3 L278.0,26.3 L278.4,26.3
+ L278.9,26.3 L279.4,26.3 L279.9,26.3 L280.3,26.2 L280.8,25.7 L281.3,25.7 L281.8,27.7 L282.2,35.1
+ L282.7,54.5 L283.2,74.1 L283.7,86.8 L284.1,98.0 L284.6,105.6 L285.1,111.7 L285.6,112.9 L286.0,112.4
+ L286.5,111.7 L287.0,111.8 L287.5,111.8 L287.9,111.7 L288.4,111.7 L288.9,111.6 L289.4,111.6 L289.8,111.7
+ L290.3,111.6 L290.8,111.6 L291.2,111.6 L291.7,111.5 L292.2,111.3 L292.7,111.4 L293.1,111.3 L293.6,111.2
+ L294.1,111.1 L294.6,111.1 L295.0,111.1 L295.5,111.1 L296.0,111.1 L296.5,111.1 L296.9,111.0 L297.4,111.0
+ L297.9,110.9 L298.4,110.9 L298.8,110.9 L299.3,110.9 L299.8,110.9 L300.3,111.0 L300.7,110.9 L301.2,110.9
+ L301.7,110.9 L302.2,110.9 L302.6,110.8 L303.1,110.8 L303.6,110.8 L304.1,110.8 L304.5,110.8 L305.0,110.8
+ L305.5,110.8 L306.0,110.8 L306.4,110.8 L306.9,110.9 L307.4,110.9 L307.8,110.9 L308.3,110.9 L308.8,110.9
+ L309.3,110.9 L309.7,110.9 L310.2,110.9 L310.7,110.9 L311.2,110.9 L311.6,110.9 L312.1,110.9 L312.6,110.9
+ L313.1,110.9 L313.5,110.9 L314.0,110.9 L314.5,110.9 L315.0,110.9 L315.4,110.9 L315.9,110.9 L316.4,110.8
+ L316.9,110.8 L317.3,110.8 L317.8,110.8 L318.3,110.8 L318.8,110.8 L319.2,110.9 L319.7,110.9 L320.2,110.9
+ L320.7,110.9 L321.1,110.9 L321.6,110.8 L322.1,110.9 L322.5,110.8 L323.0,110.8 L323.5,110.8 L324.0,110.8
+ L324.4,110.6 L324.9,110.6 L325.4,110.6 L325.9,110.6 L326.3,110.6 L326.8,110.6 L327.3,110.6 L327.8,110.6
+ L328.2,110.6 L328.7,110.6 L329.2,110.6 L329.7,110.7 L330.1,110.7 L330.6,110.7 L331.1,110.6 L331.6,110.7
+ L332.0,110.7 L332.5,110.7 L333.0,110.7 L333.5,110.7 L333.9,110.7 L334.4,110.7 L334.9,110.7 L335.4,110.7
+ L335.8,110.7 L336.3,110.7 L336.8,110.7 L337.3,110.7 L337.7,110.7 L338.2,110.7 L338.7,110.7 L339.1,110.7
+ L339.6,110.7 L340.1,110.7 L340.6,110.6 L341.0,111.6 L341.5,111.8 L342.0,110.8 L342.5,106.8 L342.9,101.8
+ L343.4,95.6 L343.9,87.7 L344.4,78.5 L344.8,69.8 L345.3,60.7 L345.8,51.8 L346.3,40.2 L346.7,35.7
+ L347.2,31.3 L347.7,26.3 L348.2,26.3 L348.6,26.2 L349.1,26.2 L349.6,26.2 L350.1,26.2 L350.5,26.2
+ L351.0,26.3 L351.5,26.3 L352.0,26.1 L352.4,26.0 L352.9,27.6 L353.4,31.6 L353.9,42.4 L354.3,57.6
+ L354.8,71.2 L355.3,80.3 L355.7,86.0 L356.2,89.5 L356.7,89.2 L357.2,87.8 L357.6,86.8 L358.1,86.8
+ L358.6,87.1 L359.1,87.2 L359.5,87.1 L360.0,87.0 L360.5,87.0 L361.0,87.0 L361.4,87.0 L361.9,86.9
+ L362.4,86.8 L362.9,86.8 L363.3,86.7 L363.8,86.8 L364.3,86.9 L364.8,86.9 L365.2,86.8 L365.7,86.7
+ L366.2,86.6 L366.7,86.6 L367.1,86.6 L367.6,86.5 L368.1,86.5 L368.6,86.5 L369.0,86.5 L369.5,86.5
+ L370.0,86.3 L370.5,86.3 L370.9,86.3 L371.4,86.2 L371.9,86.2 L372.3,86.2 L372.8,86.2 L373.3,86.2
+ L373.8,86.2 L374.2,86.2 L374.7,86.2 L375.2,86.1 L375.7,86.0 L376.1,86.1 L376.6,85.8 L377.1,85.7
+ L377.6,85.5 L378.0,85.5 L378.5,85.5 L379.0,85.4 L379.5,85.5 L379.9,85.5 L380.4,85.2 L380.9,85.8
+ L381.4,85.8 L381.8,86.2 L382.3,86.0 L382.8,86.0 L383.3,86.0 L383.7,85.9 L384.2,85.9 L384.7,86.0
+ L385.2,85.9 L385.6,85.9 L386.1,85.9 L386.6,85.8 L387.0,85.8 L387.5,85.9 L388.0,85.7 L388.5,85.6
+ L388.9,85.3 L389.4,85.4 L389.9,85.5 L390.4,85.4 L390.8,85.4 L391.3,85.4 L391.8,85.3 L392.3,85.6
+ L392.7,85.9 L393.2,86.1 L393.7,85.8 L394.2,85.9 L394.6,85.9 L395.1,85.9 L395.6,85.8 L396.1,85.9
+ L396.5,85.9 L397.0,85.9 L397.5,85.8 L398.0,85.8 L398.4,85.8 L398.9,85.9 L399.4,85.7 L399.9,85.7
+ L400.3,85.4 L400.8,85.4 L401.3,85.4 L401.8,85.4 L402.2,85.3 L402.7,85.3 L403.2,85.2 L403.6,85.4
+ L404.1,85.5 L404.6,85.8 L405.1,85.7 L405.5,85.6 L406.0,85.5 L406.5,85.5 L407.0,85.5 L407.4,85.3
+ L407.9,85.4 L408.4,85.5 L408.9,85.2 L409.3,85.5 L409.8,85.6 L410.3,85.9 L410.8,85.7 L411.2,85.6
+ L411.7,85.4 L412.2,85.4 L412.7,85.5 L413.1,85.4 L413.6,85.4 L414.1,85.5 L414.6,85.3 L415.0,85.3
+ L415.5,85.7 L416.0,86.8 L416.5,87.1 L416.9,86.1 L417.4,82.7 L417.9,77.8 L418.4,73.1 L418.8,67.3
+ L419.3,59.4 L419.8,52.4 L420.2,40.3 L420.7,33.9 L421.2,31.0 L421.7,29.2 L422.1,25.9 L422.6,25.9
+ L423.1,26.0 L423.6,25.9 L424.0,25.9 L424.5,25.9 L425.0,25.9 L425.5,25.7 L425.9,27.4 L426.4,33.1
+ L426.9,51.9 L427.4,84.4 L427.8,104.6 L428.3,112.4 L428.8,112.6 L429.3,102.6 L429.7,94.3 L430.2,90.7
+ L430.7,89.8 L431.2,89.1 L431.6,89.0 L432.1,88.3 L432.6,88.2 L433.1,88.3 L433.5,88.0 L434.0,87.8
+ L434.5,87.6 L435.0,87.6 L435.4,87.5 L435.9,87.5 L436.4,87.4 L436.8,87.4 L437.3,87.3 L437.8,87.3
+ L438.3,87.3 L438.7,87.3 L439.2,87.2 L439.7,87.2 L440.2,87.2 L440.6,87.2 L441.1,86.2 L441.6,86.2
+ L442.1,86.2 L442.5,86.2 L443.0,86.2 L443.5,86.2 L444.0,86.2 L444.4,86.3 L444.9,86.3 L445.4,86.3
+ L445.9,86.3 L446.3,86.3 L446.8,86.2 L447.3,86.2 L447.8,86.2 L448.2,86.2 L448.7,86.2 L449.2,86.2
+ L449.7,86.2 L450.1,86.3 L450.6,86.3 L451.1,86.2 L451.6,86.2 L452.0,86.2 L452.5,86.2 L453.0,86.1
+ L453.4,86.2 L453.9,86.2 L454.4,86.2 L454.9,86.2 L455.3,86.2 L455.8,86.3 L456.3,86.2 L456.8,86.2
+ L457.2,86.2 L457.7,86.2 L458.2,86.2 L458.7,86.2 L459.1,86.1 L459.6,86.2 L460.1,86.1 L460.6,86.1
+ L461.0,86.1 L461.5,86.2 L462.0,86.1 L462.5,86.1 L462.9,86.1 L463.4,86.1 L463.9,86.1 L464.4,86.1
+ L464.8,86.1 L465.3,86.0 L465.8,86.0 L466.3,86.1 L466.7,86.1 L467.2,86.2 L467.7,86.2 L468.1,86.2
+ L468.6,86.1 L469.1,86.2 L469.6,86.1 L470.0,86.2 L470.5,86.2 L471.0,86.2 L471.5,86.2 L471.9,86.1
+ L472.4,86.1 L472.9,86.2 L473.4,86.2 L473.8,86.2 L474.3,86.1 L474.8,86.1 L475.3,86.2 L475.7,86.1
+ L476.2,86.1 L476.7,86.1 L477.2,86.1 L477.6,86.1 L478.1,86.1 L478.6,86.2 L479.1,86.2 L479.5,86.2
+ L480.0,86.1 L480.5,86.1 L481.0,86.2 L481.4,86.1 L481.9,86.1 L482.4,86.1 L482.9,86.1 L483.3,86.1
+ L483.8,86.2 L484.3,86.2 L484.7,86.2 L485.2,86.2 L485.7,86.1 L486.2,86.2 L486.6,86.1 L487.1,86.2
+ L487.6,86.1 L488.1,86.1 L488.5,86.2 L489.0,86.2 L489.5,86.2 L490.0,86.8 L490.4,92.0 L490.9,98.8
+ L491.4,106.1 L491.9,109.2 L492.3,109.6 L492.8,108.1 L493.3,104.9 L493.8,100.3 L494.2,92.0 L494.7,81.3
+ L495.2,69.4 L495.7,51.9 L496.1,38.9 L496.6,25.8 L497.1,25.8 L497.6,25.8 L498.0,25.9 L498.5,25.9
+ L499.0,26.1 L499.5,26.2 L499.9,26.1 L500.4,26.3 L500.9,26.3 L501.3,26.4 L501.8,26.0 L502.3,25.8
+ L502.8,25.9 L503.2,27.9 L503.7,30.8 L504.2,39.9 L504.7,59.8 L505.1,81.2 L505.6,99.2 L506.1,110.1
+ L506.6,118.2 L507.0,123.8 L507.5,124.1 L508.0,123.4 L508.5,122.1 L508.9,121.6 L509.4,121.0 L509.9,120.8
+ L510.4,120.7 L510.8,120.6 L511.3,120.5 L511.8,120.4 L512.3,118.9 L512.7,119.2 L513.2,119.1 L513.7,119.1
+ L514.2,119.0 L514.6,119.0 L515.1,119.0 L515.6,119.0 L516.1,119.0 L516.5,119.0 L517.0,118.9 L517.5,119.0
+ L517.9,118.9 L518.4,119.2 L518.9,119.1 L519.4,119.1 L519.8,119.0 L520.3,119.1 L520.8,119.0 L521.3,119.0
+ L521.7,119.0 L522.2,118.9 L522.7,118.9 L523.2,118.9 L523.6,118.8 L524.1,118.9 L524.6,118.8 L525.1,118.8
+ L525.5,118.8 L526.0,118.8 L526.5,118.7 L527.0,118.7 L527.4,118.7 L527.9,118.7 L528.4,118.7 L528.9,118.7
+ L529.3,118.7 L529.8,119.0 L530.3,118.8 L530.8,118.9 L531.2,118.8 L531.7,118.8 L532.2,118.8 L532.6,118.9
+ L533.1,118.8 L533.6,118.8 L534.1,118.8 L534.5,118.8 L535.0,118.8 L535.5,118.9 L536.0,118.7 L536.4,118.6
+ L536.9,118.6 L537.4,118.6 L537.9,118.6 L538.3,118.6 L538.8,118.6 L539.3,118.6 L539.8,118.6 L540.2,118.6
+ L540.7,118.6 L541.2,118.8 L541.7,118.7 L542.1,118.7 L542.6,118.7 L543.1,118.7 L543.6,118.7 L544.0,118.6
+ L544.5,118.6 L545.0,118.6 L545.5,118.6 L545.9,118.7 L546.4,118.7 L546.9,118.9 L547.4,118.7 L547.8,118.8
+ L548.3,118.7 L548.8,118.7 L549.2,118.7 L549.7,118.7 L550.2,118.7 L550.7,118.7 L551.1,118.7 L551.6,118.6
+ L552.1,118.6 L552.6,118.7 L553.0,118.5 L553.5,118.5 L554.0,118.5 L554.5,118.5 L554.9,118.5 L555.4,118.4
+ L555.9,118.5 L556.4,118.5 L556.8,118.4 L557.3,118.5 L557.8,118.5 L558.3,118.8 L558.7,118.6 L559.2,118.6
+ L559.7,119.0 L560.2,119.0 L560.6,118.9 L561.1,118.9 L561.6,118.9 L562.1,118.8 L562.5,120.1 L563.0,120.7
+ L563.5,120.9 L564.0,120.1 L564.4,117.1 L564.9,112.9 L565.4,107.6 L565.8,101.1 L566.3,94.4 L566.8,85.1
+ L567.3,74.4 L567.7,66.5 L568.2,56.5 L568.7,45.1 L569.2,38.6 L569.6,35.3 L570.1,31.3 L570.6,28.9
+ L571.1,27.5 L571.5,25.7 L572.0,25.7 L572.5,25.7 L573.0,25.9 L573.4,26.0 L573.9,26.0 L574.4,26.1
+ L574.9,26.6 L575.3,26.6 L575.8,151.6 L576.3,150.3 L576.8,159.5 L577.2,164.3 L577.7,163.0 L578.2,160.9
+ L578.7,160.1 L579.1,163.7 L579.6,164.6 L580.1,154.2 L580.6,150.7 L581.0,149.8 L581.5,157.1 L582.0,157.6
+ L582.4,151.4 L582.9,152.1 L583.4,153.5 L583.9,162.2 L584.3,159.3 L584.8,152.9 L585.3,148.6 L585.8,151.4
+ L586.2,158.0 L586.7,152.6 L587.2,146.7 L587.7,145.3 L588.1,150.1 L588.6,155.3 L589.1,148.4 L589.6,145.5
+ L590.0,145.0 L590.5,150.0 L591.0,152.6 L591.5,148.2 L591.9,142.0 L592.4,141.3 L592.9,147.6 L593.4,150.3
+ L593.8,146.6 L594.3,146.2 L594.8,147.3 L595.3,156.3 L595.7,154.7 L596.2,147.5 L596.7,148.4 L597.2,150.6
+ L597.6,159.8 L598.1,160.1 L598.6,151.2 L599.0,150.6 L599.5,146.0 L600.0,154.4 L600.5,153.3 L600.9,149.8
+ L601.4,148.4 L601.9,149.9 L602.4,154.2 L602.8,152.8 L603.3,146.5 L603.8,144.7 L604.3,148.1 L604.7,154.8
+ L605.2,148.7 L605.7,148.9 L606.2,149.4 L606.6,156.1 L607.1,158.3 L607.6,152.5 L608.1,151.6 L608.5,150.8
+ L609.0,158.2 L609.5,158.0 L610.0,151.8 L610.4,149.0 L610.9,150.3 L611.4,155.9 L611.9,154.2 L612.3,147.1
+ L612.8,145.0 L613.3,146.4 L613.7,149.9 L614.2,148.3 L614.7,143.8 L615.2,146.8 L615.6,145.8 L616.1,150.5
+ L616.6,146.5 L617.1,141.9 L617.5,139.4 L618.0,141.2 L618.5,148.5 L619.0,140.7 L619.4,138.4 L619.9,139.7
+ L620.4,147.0 L620.9,151.5 L621.3,144.7 L621.8,138.6 L622.3,138.9 L622.8,144.4 L623.2,147.6 L623.7,139.1
+ L624.2,136.4 L624.7,135.4 L625.1,142.8 L625.6,144.3 L626.1,136.5 L626.6,133.0 L627.0,132.4 L627.5,140.6
+ L628.0,143.2 L628.5,133.3 L628.9,129.6 L629.4,131.6 L629.9,147.4 L630.3,147.2 L630.8,138.6 L631.3,137.0
+ L631.8,141.9 L632.2,150.0 L632.7,148.4 L633.2,142.3 L633.7,140.6 L634.1,144.7 L634.6,150.4 L635.1,149.7
+ L635.6,146.7 L636.0,146.9 L636.5,149.6 L637.0,153.1 L637.5,144.9 L637.9,145.4 L638.4,142.4 L638.9,149.9
+ L639.4,151.3 L639.8,146.7 L640.3,144.7 L640.8,142.7 L641.3,150.5 L641.7,153.5 L642.2,149.2 L642.7,147.6
+ L643.2,147.0 L643.6,159.3 L644.1,159.1 L644.6,150.8 L645.1,149.5 L645.5,152.7 L646.0,160.3 L646.5,159.9
+ L646.9,154.3 L647.4,153.9 L647.9,152.5 L648.4,156.7 L648.8,155.1 L649.3,151.9 L649.8,146.3 L650.3,153.6
+ L650.7,159.9 L651.2,153.2 L651.7,149.4 L652.2,148.5 L652.6,156.8 L653.1,165.2 L653.6,157.0 L654.1,157.8
+ L654.5,160.1 L655.0,168.4 L655.5,169.7 L656.0,159.5 L656.4,155.1 L656.9,154.8 L657.4,165.4 L657.9,48.9
+ L658.3,76.6 L658.8,82.9 L659.3,90.5 L659.8,111.9 L660.2,116.2 L660.7,110.5 L661.2,112.1 L661.7,122.9
+ L662.1,139.8 L662.6,140.1 L663.1,137.5 L663.5,142.6 L664.0,149.7 L664.5,157.4 L665.0,155.5 L665.4,147.7
+ L665.9,147.2 L666.4,151.1 L666.9,157.9 L667.3,150.9 L667.8,148.5 L668.3,150.7 L668.8,162.5 L669.2,170.7
+ L669.7,163.1 L670.2,169.5 L670.7,177.8 L671.1,186.7 L671.6,188.5 L672.1,185.1 L672.6,193.5 L673.0,197.1
+ L673.5,206.7 L674.0,205.7 L674.5,197.2 L674.9,196.1 L675.4,199.2 L675.9,209.9 L676.4,208.8 L676.8,198.3
+ L677.3,191.2 L677.8,191.4 L678.2,194.9 L678.7,194.9 L679.2,186.3 L679.7,180.3 L680.1,176.4 L680.6,180.1
+ L681.1,168.4 L681.6,159.9 L682.0,158.4 L682.5,164.9 L683.0,169.3 L683.5,163.8 L683.9,159.4 L684.4,160.2
+ L684.9,167.8 L685.4,166.9 L685.8,158.6 L686.3,146.1 L686.8,145.5 L687.3,151.0 L687.7,152.7 L688.2,148.9
+ L688.7,149.8 L689.2,146.6 L689.6,155.6 L690.1,158.8 L690.6,152.8 L691.1,152.0 L691.5,153.1 L692.0,159.6
+ L692.5,160.2 L693.0,151.2 L693.4,148.7 L693.9,147.4 L694.4,152.8 L694.8,150.3 L695.3,147.0 L695.8,146.7
+ L696.3,145.8 L696.7,152.7 L697.2,146.0 L697.7,144.3 L698.2,144.0 L698.6,150.1 L699.1,154.8 L699.6,149.2
+ L700.1,146.3 L700.5,147.3 L701.0,155.1 L701.5,156.1 L702.0,147.0 L702.4,145.8 L702.9,148.4 L703.4,156.5
+ L703.9,157.9 L704.3,150.3 L704.8,154.8 L705.3,158.4 L705.8,168.0 L706.2,168.3 L706.7,162.0 L707.2,162.0
+ L707.7,164.0 L708.1,173.8 L708.6,174.0 L709.1,167.0 L709.6,169.1 L710.0,175.0 L710.5,183.7 L711.0,180.0
+ L711.4,176.9 L711.9,180.9 L712.4,191.5 L712.9,198.3 L713.3,195.6 L713.8,198.3 L714.3,197.8 L714.8,204.5
+ L715.2,214.4 L715.7,204.6 L716.2,198.3 L716.7,200.1 L717.1,208.2 L717.6,209.1 L718.1,198.9 L718.6,192.9
+ L719.0,186.7 L719.5,190.0 L720.0,189.3 L720.5,180.5 L720.9,173.6 L721.4,167.8 L721.9,174.9 L722.4,173.9
+ L722.8,169.4 L723.3,169.3 L723.8,171.4 L724.3,179.1 L724.7,171.2 L725.2,165.0 L725.7,160.9 L726.2,154.0
+ L726.6,157.0 L727.1,154.7 L727.6,153.6 L728.0,152.0 L728.5,156.6 L729.0,160.4 L729.5,148.4 L729.9,143.9
+ L730.4,140.1 L730.9,152.4 L731.4,156.6 L731.8,146.4 L732.3,144.7 L732.8,145.1 L733.3,153.3 L733.7,153.5
+ L734.2,142.5 L734.7,141.5 L735.2,136.8 L735.6,141.4 L736.1,142.1 L736.6,133.8 L737.1,138.0 L737.5,140.7
+ L738.0,153.6 L738.5,153.9 L739.0,144.8 L739.4,145.4 L739.9,146.5 L740.4,156.0 L740.9,153.7 L741.3,149.9
+ L741.8,148.5 L742.3,153.2 L742.7,160.7 L743.2,156.4 L743.7,157.2 L744.2,157.6 L744.6,158.2 L745.1,161.5
+ L745.6,157.8 L746.1,164.4 L746.5,124.5 L747.0,133.1 L747.5,121.7 L748.0,105.5 L748.4,102.0 L748.9,102.2
+ L749.4,119.3 L749.9,124.4 L750.3,114.9 L750.8,113.6 L751.3,116.0 L751.8,129.7 L752.2,129.2 L752.7,117.9
+ L753.2,119.0 L753.7,124.5 L754.1,133.3 L754.6,133.1 L755.1,126.6 L755.6,122.8 L756.0,122.8 L756.5,132.9
+ L757.0,127.7 L757.5,123.4 L757.9,125.9 L758.4,132.0 L758.9,139.3 L759.3,133.1 L759.8,127.5 L760.3,128.6
+ L760.8,139.1 L761.2,141.6 L761.7,133.1 L762.2,131.5 L762.7,132.2 L763.1,141.4 L763.6,136.9 L764.1,125.1
+ L764.6,120.0 L765.0,121.0 L765.5,130.2 L766.0,138.3 L766.5,132.2 L766.9,136.8 L767.4,142.7 L767.9,141.5
+ L768.4,140.3 L768.8,118.4 L769.3,122.2 L769.8,117.7 L770.3,127.2 L770.7,126.4 L771.2,121.7 L771.7,117.6
+ L772.2,119.3 L772.6,128.5 L773.1,125.1 L773.6,120.3 L774.1,117.7 L774.5,123.0 L775.0,133.4 '></path>
+</g>
+ </a>
+<g style="fill:none; color:black; stroke:currentColor; stroke-width:1.00; stroke-linecap:butt; stroke-linejoin:miter">
+ <path d='M63.6,16.7 L63.6,542.4 L775.0,542.4 L775.0,16.7 L63.6,16.7 Z '></path>
+</g>
+</svg>
+
diff --git a/src/draw.plot b/src/draw.plot
index 06e521c..b6428c4 100644
--- a/src/draw.plot
+++ b/src/draw.plot
@@ -4,10 +4,12 @@ set terminal svg size 800,600 dynamic;
set ylabel 'diff'
set xlabel 'Zeit [sec]'
+set output "../doc/image/avg.svg";
+plot 'data.txt' using ($1 / 1000):2 with lines lt rgb "#204a87" title "average"
+
set output "../doc/image/cuts.svg";
plot 'data.txt' using ($1 / 1000):2 with lines lt rgb "#204a87" title "average", \
- 'data.txt' using ($1 / 1000):3 with lines lt rgb "#a40000" title "diff", \
- 'data.txt' using ($1 / 1000):4 with lines lt rgb "#4e9a06" title "rise";
+ 'data.txt' using ($1 / 1000):3 with lines lt rgb "#a40000" title "diff"
set output "../doc/image/cuts_diff.svg";
plot 'data.txt' using ($1 / 1000):3 with lines lt rgb "#a40000" title "diff", \