opencv 2.4.9

Closes #865.
Closes #862.