Further refactoring of segmentation
travis changes
Fixes Issue #28: opencv version comparison
Merge branch '0.3.x'
Merge pull request #29 from pkaifosh/master

segmentation refactoring and testing (with opencv)