#pragma once #include "json.hpp" #include #include #include "CameraParam.h" using json = nlohmann::json; class DUNNAN_CorrectParam { public: DUNNAN_CorrectParam(/* args */); ~DUNNAN_CorrectParam(); FPGAConfigParam GetFpgaparam(int dpi,int mode,json j); json SaveCorrectParam(FPGAConfigParam& parms,json j); std::vector GetCorrectParams(json j); private: void to_json(json& j, FPGAConfigParam& param); void from_json(json& j, FPGAConfigParam& param); };