123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /*M
- #ifndef OPENCV_DATASETS_MSM_EPFL_HPP
- #define OPENCV_DATASETS_MSM_EPFL_HPP
- #include <string>
- #include <vector>
- #include "opencv2/datasets/dataset.hpp"
- #include <opencv2/core.hpp>
- namespace cv
- {
- namespace datasets
- {
- struct cameraParam
- {
- Matx33d mat1;
- double mat2[3];
- Matx33d mat3;
- double mat4[3];
- int imageWidth, imageHeight;
- };
- struct MSM_epflObj : public Object
- {
- std::string imageName;
- Matx23d bounding;
- Matx34d p;
- cameraParam camera;
- };
- class CV_EXPORTS MSM_epfl : public Dataset
- {
- public:
- virtual void load(const std::string &path) = 0;
- static Ptr<MSM_epfl> create();
- };
- }
- }
- #endif
|