pyopencv_stereo.hpp 482 B

1234567891011121314151617
  1. #ifdef HAVE_OPENCV_STEREO
  2. typedef std::vector<stereo::MatchQuasiDense> vector_MatchQuasiDense;
  3. template<> struct pyopencvVecConverter<stereo::MatchQuasiDense>
  4. {
  5. static bool to(PyObject* obj, std::vector<stereo::MatchQuasiDense>& value, const ArgInfo& info)
  6. {
  7. return pyopencv_to_generic_vec(obj, value, info);
  8. }
  9. static PyObject* from(const std::vector<stereo::MatchQuasiDense>& value)
  10. {
  11. return pyopencv_from_generic_vec(value);
  12. }
  13. };
  14. #endif