Skip to content

Commit

Permalink
put example description in ofApp.cpp according to kylemcdonald#157
Browse files Browse the repository at this point in the history
  • Loading branch information
avilleret committed Oct 5, 2015
1 parent 99565af commit e025f6b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion example-blur/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Description
This example demonstrates two different blur methods (gaussian and normalized box) and a method to compute the focus amount of an image.
Focus computation is useful for objects (and especially iris) detection.
You can find more about focus computation on the appendix of *How Iris Recognition Works* by Paul Daugman (p.29).
You can find more about focus computation on the appendix of [*How Iris Recognition Works* by Paul Daugman](http://www.cl.cam.ac.uk/~jgd1000/csvt.pdf) (p.29).

## Running
Console displays computed focus amount.
Expand Down
15 changes: 15 additions & 0 deletions example-blur/src/ofApp.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/*
# example-blur
## Description
This example demonstrates two different blur methods (gaussian and normalized box) and a method to compute the focus amount of an image.
Focus computation is useful for objects (and especially iris) detection.
You can find more about focus computation on the appendix of [*How Iris Recognition Works* by Paul Daugman](http://www.cl.cam.ac.uk/~jgd1000/csvt.pdf) (p.29).
## Running
Console displays computed focus amount.
Use space bar to toggle between blur methods.
Use 'a' and 'z' to de- / in-crease blur amount.
See the result on focus computation.
*/

#include "ofApp.h"

void ofApp::setup() {
Expand Down

0 comments on commit e025f6b

Please sign in to comment.