Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/apps/interactive-calibration/parametersController.hpp
16337 views
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
5
#ifndef PARAMETERS_CONTROLLER_HPP
6
#define PARAMETERS_CONTROLLER_HPP
7
8
#include <string>
9
10
#include <opencv2/core.hpp>
11
12
#include "calibCommon.hpp"
13
14
namespace calib {
15
16
class parametersController
17
{
18
protected:
19
captureParameters mCapParams;
20
internalParameters mInternalParameters;
21
22
bool loadFromFile(const std::string& inputFileName);
23
public:
24
parametersController();
25
parametersController(cv::Ptr<captureParameters> params);
26
27
captureParameters getCaptureParameters() const;
28
internalParameters getInternalParameters() const;
29
30
bool loadFromParser(cv::CommandLineParser& parser);
31
};
32
33
}
34
35
#endif
36
37