legacy.hpp 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // This file is part of OpenCV project.
  2. // It is subject to the license terms in the LICENSE file found in the top-level directory
  3. // of this distribution and at http://opencv.org/license.html
  4. #ifndef OPENCV_IMGPROC_DETAIL_LEGACY_HPP
  5. #define OPENCV_IMGPROC_DETAIL_LEGACY_HPP
  6. #include "opencv2/imgproc.hpp"
  7. namespace cv {
  8. #ifdef __OPENCV_BUILD
  9. CV_EXPORTS void findContours_legacy(InputArray _image,
  10. OutputArrayOfArrays _contours,
  11. OutputArray _hierarchy,
  12. int mode,
  13. int method,
  14. Point offset = Point());
  15. CV_EXPORTS void findContours_legacy(InputArray image,
  16. OutputArrayOfArrays contours,
  17. int mode,
  18. int method,
  19. Point offset = Point());
  20. CV_EXPORTS float EMD_legacy( InputArray _signature1, InputArray _signature2,
  21. int distType, InputArray _cost,
  22. float* lowerBound, OutputArray _flow );
  23. CV_EXPORTS float wrapperEMD_legacy(InputArray _signature1, InputArray _signature2,
  24. int distType, InputArray _cost,
  25. Ptr<float> lowerBound, OutputArray _flow);
  26. #endif
  27. } // namespace cv
  28. #endif // OPENCV_IMGPROC_DETAIL_LEGACY_HPP