1 #ifndef OPENPOSE_3D_CAMERA_PARAMETER_READER_HPP
2 #define OPENPOSE_3D_CAMERA_PARAMETER_READER_HPP
17 const Matrix& cameraIntrinsics,
18 const Matrix& cameraDistortion,
25 const std::vector<std::string>& serialNumbers = {});
29 const std::string& serialNumber);
56 struct ImplCameraParameterReader;
57 std::shared_ptr<ImplCameraParameterReader> spImpl;
void readParameters(const std::string &cameraParameterPath, const std::string &serialNumber)
bool getUndistortImage() const
const std::vector< Matrix > & getCameraIntrinsics() const
void writeParameters(const std::string &cameraParameterPath) const
const std::vector< Matrix > & getCameraExtrinsics() const
const std::vector< Matrix > & getCameraExtrinsicsInitial() const
unsigned long long getNumberCameras() const
const std::vector< Matrix > & getCameraDistortions() const
void readParameters(const std::string &cameraParameterPath, const std::vector< std::string > &serialNumbers={})
const std::vector< Matrix > & getCameraMatrices() const
CameraParameterReader(const std::string &serialNumber, const Matrix &cameraIntrinsics, const Matrix &cameraDistortion, const Matrix &cameraExtrinsics=Matrix(), const Matrix &cameraExtrinsicsInitial=Matrix())
const std::vector< std::string > & getCameraSerialNumbers() const
virtual ~CameraParameterReader()
void setUndistortImage(const bool undistortImage)
void undistort(Matrix &frame, const unsigned int cameraIndex=0u)
#define DELETE_COPY(className)