merged opencv optical examples with command line options