![]() |
FlowEngine 8.011
Photogrammetry Software Development Kit
|
#include <CameraCalibrationInterface.h>
Public Member Functions | |
| virtual FLE_DLL bool | getAdjustFocalLength () const =0 |
| virtual FLE_DLL void | getAdjustmentType (AdjustmentType &outAdj) const =0 |
| virtual FLE_DLL bool | getAdjustPrincipalPoint () const =0 |
| virtual FLE_DLL bool | getAdjustRadialDistortion () const =0 |
| virtual FLE_DLL bool | getAdjustTangentialDistortion () const =0 |
| virtual FLE_DLL bool | getAutocalibrated () 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 Result | getMakeName (StringBuffer outName) const =0 |
| virtual FLE_DLL Size | getMakeNameLength () const =0 |
| virtual FLE_DLL Result | getModelName (StringBuffer outName) const =0 |
| virtual FLE_DLL Size | getModelNameLength () const =0 |
| virtual FLE_DLL Result | getPrincipalPoint (double &outPx, double &outPy) const =0 |
| virtual FLE_DLL Result | getRadialDistortion (Buffer< double > outRadialDistortion) const =0 |
| virtual FLE_DLL Result | getSkew (double &outSkew) const =0 |
| virtual FLE_DLL bool | getUsePrecalibrationStep () const =0 |
| virtual FLE_DLL Result | loadFromXML (ConstStringBuffer filePath)=0 |
| virtual FLE_DLL Result | saveToXML (ConstStringBuffer filePath) const =0 |
| virtual FLE_DLL void | setAdjustFocalLength (bool inAdj)=0 |
| virtual FLE_DLL void | setAdjustmentType (const AdjustmentType &inAdj)=0 |
| virtual FLE_DLL void | setAdjustPrincipalPoint (bool inAdj)=0 |
| virtual FLE_DLL void | setAdjustRadialDistortion (bool inAdj)=0 |
| virtual FLE_DLL void | setAdjustTangentialDistortion (bool inAdj)=0 |
| virtual FLE_DLL void | setAutocalibrated (bool inAC)=0 |
| virtual FLE_DLL void | setFocalLength (double inFx, double inFy)=0 |
| virtual FLE_DLL Result | setLensName (ConstStringBuffer name)=0 |
| virtual FLE_DLL Result | setMakeName (ConstStringBuffer name)=0 |
| virtual FLE_DLL Result | setModelName (ConstStringBuffer name)=0 |
| virtual FLE_DLL void | setPrincipalPoint (double inPx, double inPy)=0 |
| virtual FLE_DLL Result | setRadialDistortion (ConstBuffer< double > radialDistortion)=0 |
| virtual FLE_DLL void | setSkew (double inSkew)=0 |
| virtual FLE_DLL void | setUsePrecalibrationStep (bool inPC)=0 |
| virtual FLE_DLL Result | undistortImage (Image &inOutImage) const =0 |
| virtual FLE_DLL | ~CameraCalibrationInterface ()=default |
Stores a camera calibration.
|
strong |
Calibration Adjustment type used in the Structure from Motion procedure.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Get the focal length adjustment flag.
|
pure virtual |
Returns the calibration adjustment type
| [out] | outAdj | Adjustment type for this calibration |
|
pure virtual |
Get the principal point adjustment flag.
|
pure virtual |
Get the radial distortion adjustment flag.
|
pure virtual |
Get the tangential distortion adjustment flag.
|
pure virtual |
Get the autocalibration flag.
|
pure virtual |
Returns the calibration focal lengths in pixel.
| [out] | outFx | focal length in pixel with respect to the x image axis |
| [out] | outFy | focal length in pixel with respect to the y image axis |
|
pure virtual |
| outName | a buffer that receives the name of the entity. Must be at least getLensNameLength() long. |
outName is not a valid string buffer.outName is not big enough.
|
pure virtual |
|
pure virtual |
| outName | a buffer that receives the camera make name of the entity. Must be at least getMakeNameLength() long. |
outName is not a valid string buffer.outName is not big enough.
|
pure virtual |
|
pure virtual |
| outName | a buffer that receives the camera model name of the entity. Must be at least getModelNameLength() long. |
outName is not a valid string buffer.outName is not big enough.
|
pure virtual |
|
pure virtual |
Returns the calibration principal point in pixel. This function is not available in the free version of the SDK.
| [out] | outPx | principal point in pixel with respect to the x image axis |
| [out] | outPy | principal point in pixel with respect to the y image axis |
|
pure virtual |
Returns the Brown's model camera radial distortion coefficients organized as [k1 k2 p1 p2 k3].
| [out] | outRadialDistortion | a buffer that receives the data in row-major order. The buffer must be at least 5 elements long. |
outRadialDistortion is an invalid buffer.outRadialDistortion is not big enough to receive all the radial distortion info.
|
pure virtual |
Returns the calibration skew point in pixel.
| [out] | outSkew | the skew of the calibration. |
|
pure virtual |
Get the precalibration step flag.
|
pure virtual |
Loads the camera calibration info from an XML file. The file shall contain 1 calibration.
| [in] | filePath | string buffer that contains the UTF-8 file path. |
filePath is not a valid string buffer
|
pure virtual |
Saves the camera calibration info to an XML file.
| [in] | filePath | string buffer that contains the UTF-8 file path. |
filePath is not a valid string buffer.
|
pure virtual |
Set to adjust or not the focal length during the SfM reconstruction
| [in] | inAdj | Adjustment enabled or disabled |
|
pure virtual |
Set the calibration adjustment type
| [in] | inAdj | Adjustment type for this calibration |
|
pure virtual |
Set to adjust or not the principal point during the SfM reconstruction
| [in] | inAdj | Adjustment enabled or disabled |
|
pure virtual |
Set to adjust or not the radial distortion during the SfM reconstruction
| [in] | inAdj | Adjustment enabled or disabled |
|
pure virtual |
Set to adjust or not the tangential distortion during the SfM reconstruction
| [in] | inAdj | Adjustment enabled or disabled |
|
pure virtual |
Set to consider the calibration fully autocalibrated.
| [in] | inAC | Autocalibration enabled or disabled |
|
pure virtual |
Set the calibration focal lengths in pixel
| [in] | inFx | focal length in pixel with respect to the x image axis |
| [in] | inFy | focal length in pixel with respect to the y image axis |
|
pure virtual |
Set the camera lens name of this entity.
| name | a constant string buffer containing the camera lens name of the entity |
name is not a valid string buffer.
|
pure virtual |
Set the camera make name of this entity.
| name | a constant string buffer containing the camera make name of the entity |
name is not a valid string buffer.
|
pure virtual |
Set the camera model name of this entity.
| name | a constant string buffer containing the camera model name of the entity |
name is not a valid string buffer.
|
pure virtual |
Set the calibration principal point in pixel
| [in] | inPx | principal point in pixel with respect to the x image axis |
| [in] | inPy | principal point in pixel with respect to the y image axis |
|
pure virtual |
Set the Brown's model camera radial distortion coefficients organized as [k1 k2 p1 p2 k3]
| [in] | radialDistortion | pointer to a buffer that receives the data in row-major order. The buffer must be at least 5 elements long or the behavior is undefined |
|
pure virtual |
Set the calibration skew point in pixel
| [in] | inSkew | principal point in pixel with respect to the x image axis |
|
pure virtual |
Set to use the precalibration step during the SfM reconstruction. When disabled the parameters are only adjusted in the final bundle adjustment.
| [in] | inPC | Precalibration enabled or disabled |
|
pure virtual |
Undistorts the supplied image.
| [in,out] | inOutImage | the image to be undistorted. |
inOutImage has invalid dimensions or its data buffer is not valid.inOutImage data buffer is not big enough.