For each function on Image, the shortest possible fully contained example should be included inline.
Per kyle mcdonald:
http://ubaa.net/shared/processing/opencv/
see under each of the functions they have a 10 line demo app. e.g.:
Anonymous