merged opencv optical examples with command line options

Hi,

Please review on this.