Changes necessary for lccp pull request #718
Merge pull request #919 from jpapon/supervoxel_impl_to_cpp

Changes necessary for lccp pull request #718