Split ocvstitcher in multiple functions.