Mercurial > cortex
comparison org/gabor.org @ 365:1727b68634ea
add videos.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 07 Mar 2013 07:49:55 +0000 |
parents | b599a189433b |
children | 871882350c83 |
comparison
equal
deleted
inserted
replaced
364:b599a189433b | 365:1727b68634ea |
---|---|
419 #+name: make-left-right | 419 #+name: make-left-right |
420 #+begin_src sh | 420 #+begin_src sh |
421 #!/bin/sh | 421 #!/bin/sh |
422 | 422 |
423 ffmpeg -framerate 60 -i ./left-right/%07d.png -b:v 9000k\ | 423 ffmpeg -framerate 60 -i ./left-right/%07d.png -b:v 9000k\ |
424 -c:v mpeg4 -r 60 gabor-rotation.avi | 424 -c:v mpeg4 -r 60 gabor-rotation.mp4 |
425 | 425 |
426 #+end_src | 426 #+end_src |
427 | 427 |
428 | 428 |
429 #+name: make-big-small | 429 #+name: make-big-small |
430 #+begin_src sh | 430 #+begin_src sh |
431 #!/bin/sh | 431 #!/bin/sh |
432 | 432 |
433 ffmpeg -framerate 60 -i ./big-small/%07d.png -b:v 9000k\ | 433 ffmpeg -framerate 60 -i ./big-small/%07d.png -b:v 9000k\ |
434 -c:v mpeg4 -r 60 gabor-big-small.avi | 434 -c:v mpeg4 -r 60 gabor-big-small.mp4 |
435 | 435 |
436 #+end_src | 436 #+end_src |
437 | |
438 #+begin_html | |
439 <div class="figure"> | |
440 <video controls="controls" width="755"> | |
441 <source src="../video/gabor-rotation.mp4" type="video/mp4" | |
442 preload="none" poster="../images/aurellem-1280x480.png" /> | |
443 </video> | |
444 <br> <a href="http://youtu.be/r5Bn2aG7MO0"> YouTube </a> | |
445 <p>Two gabor filters with different values of theta are compared. The | |
446 horizontally aligned one does better in this example.</p> | |
447 </div> | |
448 #+end_html | |
449 | |
450 | |
451 | |
452 #+begin_html | |
453 <div class="figure"> | |
454 <video controls="controls" width="755"> | |
455 <source src="../video/gabor-big-small.mp4" type="video/mp4" | |
456 preload="none" poster="../images/aurellem-1280x480.png" /> | |
457 </video> | |
458 <br> <a href="http://youtu.be/r5Bn2aG7MO0"> YouTube </a> | |
459 <p>Here we compare a gabor filter from bank 1 with one from bank 6.</p> | |
460 </div> | |
461 #+end_html | |
462 | |
437 | 463 |
438 | 464 |
439 | 465 |
440 * COMMENT Generate Source | 466 * COMMENT Generate Source |
441 #+begin_src clojure :tangle ../src/cortex/gabor.clj | 467 #+begin_src clojure :tangle ../src/cortex/gabor.clj |