sr_div2k.hpp 694 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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_DATASETS_SR_DIV2K_HPP
  5. #define OPENCV_DATASETS_SR_DIV2K_HPP
  6. #include <string>
  7. #include <vector>
  8. #include "opencv2/datasets/dataset.hpp"
  9. #include <opencv2/core.hpp>
  10. namespace cv
  11. {
  12. namespace datasets
  13. {
  14. //! @addtogroup datasets_sr
  15. //! @{
  16. struct SR_div2kObj : public Object
  17. {
  18. std::string imageName;
  19. };
  20. class CV_EXPORTS SR_div2k : public Dataset
  21. {
  22. public:
  23. virtual void load(const std::string &path) CV_OVERRIDE = 0;
  24. static Ptr<SR_div2k> create();
  25. };
  26. //! @}
  27. }
  28. }
  29. #endif