19#ifndef FLOWENGINECAMERACALIBRATIONINTERFACE_H
20#define FLOWENGINECAMERACALIBRATIONINTERFACE_H
151 FLE_DLL
virtual void setSkew(
double inSkew ) = 0;
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Stores a camera calibration.
Definition: CameraCalibrationInterface.h:30
virtual FLE_DLL void setAutocalibrated(bool inAC)=0
virtual FLE_DLL void setAdjustFocalLength(bool inAdj)=0
virtual FLE_DLL Result setModelName(ConstStringBuffer name)=0
virtual FLE_DLL void setAdjustRadialDistortion(bool inAdj)=0
virtual FLE_DLL void setFocalLength(double inFx, double inFy)=0
virtual FLE_DLL Result getRadialDistortion(Buffer< double > outRadialDistortion) const =0
virtual FLE_DLL Result setLensName(ConstStringBuffer name)=0
virtual FLE_DLL void setAdjustmentType(const AdjustmentType &inAdj)=0
virtual FLE_DLL Size getModelNameLength() const =0
virtual FLE_DLL void setAdjustTangentialDistortion(bool inAdj)=0
virtual FLE_DLL Result setMakeName(ConstStringBuffer name)=0
AdjustmentType
Calibration Adjustment type used in the Structure from Motion procedure.
Definition: CameraCalibrationInterface.h:35
@ AdjustInternalsAndK1K2K3P1P2WithAutocalibration
@ AdjustInternalsWithPrereconstructionStep
@ None
All the parameters are kept fixed during the SfM procedures.
@ AdjustInternalsAndK1K2K3WithAutocalibration
@ AdjustInternals
Adjust internal parameters during the SfM procedures (fx, fy, px, py)
@ AdjustInternalsAndK1K2K3
@ AdjustInternalsAndK1K2K3P1P2WithPrereconstructionStep
@ AdjustInternalsAndK1K2K3P1P2
@ AdjustInternalsWithAutocalibration
@ AdjustInternalsAndK1K2K3WithPrereconstructionStep
virtual FLE_DLL Result getMakeName(StringBuffer outName) const =0
virtual FLE_DLL bool getAdjustTangentialDistortion() const =0
virtual FLE_DLL Result getFocalLength(double &outFx, double &outFy) const =0
virtual FLE_DLL Result getLensName(StringBuffer outName) const =0
virtual FLE_DLL Size getLensNameLength() const =0
virtual FLE_DLL void setPrincipalPoint(double inPx, double inPy)=0
virtual FLE_DLL bool getAdjustPrincipalPoint() const =0
virtual FLE_DLL bool getAdjustRadialDistortion() const =0
virtual FLE_DLL bool getAutocalibrated() const =0
virtual FLE_DLL bool getUsePrecalibrationStep() const =0
virtual FLE_DLL Result getPrincipalPoint(double &outPx, double &outPy) const =0
virtual FLE_DLL bool getAdjustFocalLength() const =0
virtual FLE_DLL ~CameraCalibrationInterface()=default
Default virtual destructor.
virtual FLE_DLL void setAdjustPrincipalPoint(bool inAdj)=0
virtual FLE_DLL Result saveToXML(ConstStringBuffer filePath) const =0
virtual FLE_DLL Result loadFromXML(ConstStringBuffer filePath)=0
virtual FLE_DLL void setSkew(double inSkew)=0
virtual FLE_DLL Result getSkew(double &outSkew) const =0
virtual FLE_DLL Result setRadialDistortion(ConstBuffer< double > radialDistortion)=0
virtual FLE_DLL Result undistortImage(Image &inOutImage) const =0
virtual FLE_DLL Size getMakeNameLength() const =0
virtual FLE_DLL Result getModelName(StringBuffer outName) const =0
virtual FLE_DLL void getAdjustmentType(AdjustmentType &outAdj) const =0
virtual FLE_DLL void setUsePrecalibrationStep(bool inPC)=0
Definition: BoundingBoxInterface.cpp:26
CameraCalibrationInterface * CreateCameraCalibration()
Definition: CameraCalibrationInterface.cpp:27
void DestroyCameraCalibration(CameraCalibrationInterface *cameraCalibration)
Definition: CameraCalibrationInterface.cpp:32
std::size_t Size
Size type.
Definition: CommonDef.h:103
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a Buffer of characters.
Definition: CommonDef.h:255
Holds a (mutable) non_owning pointer and a size Used to marshal memory buffers as arguments in a safe...
Definition: CommonDef.h:118
Specialization for a const buffer characters.
Definition: CommonDef.h:296
Holds a (non mutable) non_owning pointer and a count Used to marshal memory buffers as arguments in a...
Definition: CommonDef.h:191
a Quaternion Holds information about a raw image Data is not owned
Definition: CommonDef.h:479