21 lines
518 B
C++
21 lines
518 B
C++
#pragma once
|
|
#include "json.hpp"
|
|
#include <vector>
|
|
#include <memory>
|
|
#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<FPGAConfigParam> GetCorrectParams(json j);
|
|
private:
|
|
void to_json(json& j, FPGAConfigParam& param);
|
|
void from_json(json& j, FPGAConfigParam& param);
|
|
};
|