as a note I think this also explains why the templates mapping opencv to shogun that are in both files look wrong to me. When you re-work this class I think you'll need a set of typemaps that are the opposite way.

My other comment stands though, lets have a new header file where we define these mappings