diff --git a/example-blur/readme.md b/example-blur/readme.md index fddc2da..ba8f8d1 100644 --- a/example-blur/readme.md +++ b/example-blur/readme.md @@ -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. diff --git a/example-blur/src/ofApp.cpp b/example-blur/src/ofApp.cpp index 083e6dd..e44ad86 100644 --- a/example-blur/src/ofApp.cpp +++ b/example-blur/src/ofApp.cpp @@ -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() {