added adaptive-threshold, with-capture-camera and with-capture-file.  added doc. and examples for each.