-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
68 lines (54 loc) · 3.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href='https://fonts.googleapis.com/css?family=Chivo:900' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<title>Pywiggle by mgschwan</title>
</head>
<body>
<div id="container">
<div class="inner">
<header>
<h1>Pywiggle</h1>
<h2>A script to perform view interpolation on stereo views</h2>
</header>
<hr>
<section id="main_content">
<h3>Introduction</h3>
<p>The program interpolates several views between a left and right image to create a smooth animation between those two views. When the animations are played back the user gets the impression of the scene depth without using glasses or other means of 3D technology.
</p>
<p>See <a href="http://en.wikipedia.org/wiki/Stereoscopy#Wiggle_stereoscopy">Wiggle stereoscopy (Wikipedia)</a> for more details.</p>
<p>The quality of the animation depends heavily on the input data. Some scenes may work very well and others may fail completely. Images taken with a stereo rig should work best. Images taken by manually moving the camera will often not produce good results.</p>
<hr>
<h3>Download</h3>
<p>You will need a recent version of the <a href="http://opencv.org/">OpenCV library</a> and Python.</p>
<p>The code can be found <a href="https://github.com/mgschwan/pyWiggle">on github</a></p>
<h3>Examples</h3>
Please note: The animations are rather big and take a while to load.
<br/>
<br/>
<a href="wiggle.html?file=./assets/nasa_anim.png&source=./assets/nasa_source.png&width=717&height=578&frames=17">Sun (Nasa)</a><br/>
Commandline:<br/>
<pre><code>python stereointerpolate.py -r images/nasa.png -a -m 20,10 -b 11,11 -s 5,5 -p 3,0 -S 8 -C 1 -P 1 -F test2_subpix.png -B 1</code></pre>
<a href="wiggle.html?file=./assets/beach_anim.png&source=./assets/beach_source.png&width=366&height=278&frames=17">Beach</a><br/>
Commandline:<br/>
<pre><code>python stereointerpolate.py -r images/DSCF0640.LR.jpg -a -m 20,10 -b 11,11 -s 5,5 -f 12 -p 12,0 -S 8 -C 1 -P 1 -F test2_subpix.png -B 1</code></pre>
<a href="wiggle.html?file=./assets/stone_anim.png&source=./assets/stone_source.bmp&width=436&height=353&frames=17">Stone plate</a><br/>
Commandline:<br/>
<pre><code>python stereointerpolate.py -l images/stone1.bmp -r images/stone2.bmp -m 20,10 -b 11,11 -s 5,5 -f 12 -p 12,0 -S 8 -C 1 -P 1 -F test2_subpix.png -B 1 --crop 15,15,436,353</code></pre>
</section>
<footer>
Pywiggle is maintained by <a href="https://github.com/mgschwan">mgschwan</a><br>
This page was generated by <a href="http://pages.github.com">GitHub Pages</a>. Tactile theme by <a href="http://twitter.com/jasonlong">Jason Long</a>.
</footer>
</div>
</div>
</body>
</html>