added cv:: in front of opencv members to deal with swig not understanding namespace