Path: blob/master/apps/interactive-calibration/parametersController.hpp
16337 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.34#ifndef PARAMETERS_CONTROLLER_HPP5#define PARAMETERS_CONTROLLER_HPP67#include <string>89#include <opencv2/core.hpp>1011#include "calibCommon.hpp"1213namespace calib {1415class parametersController16{17protected:18captureParameters mCapParams;19internalParameters mInternalParameters;2021bool loadFromFile(const std::string& inputFileName);22public:23parametersController();24parametersController(cv::Ptr<captureParameters> params);2526captureParameters getCaptureParameters() const;27internalParameters getInternalParameters() const;2829bool loadFromParser(cv::CommandLineParser& parser);30};3132}3334#endif353637