Public Member Functions | List of all members
icalib::CSimpleLensCorrection Class Reference

Represents simple correction of image distortion by lenses. More...

#include <CSimpleLensCorrection.h>

Inheritance diagram for icalib::CSimpleLensCorrection:
i2d::ICalibration2d i2d::ITransformation2d iser::ISerializable istd::IChangeable istd::IPolymorphic icalib::CSimpleLensCorrectionComp

Public Member Functions

 CSimpleLensCorrection ()
 
 CSimpleLensCorrection (const i2d::CVector2d &opticalCenter, double distortionFactor=0, double scaleFactor=1)
 
void Reset (const i2d::CVector2d &opticalCenter=i2d::CVector2d::GetZero(), double distortionFactor=0, double scaleFactor=1)
 Reset this calibration, set to be identity transform. More...
 
const i2d::CVector2dGetOpticalCenter () const
 
virtual void SetOpticalCenter (const i2d::CVector2d &center)
 
double GetDistortionFactor () const
 
virtual void SetDistortionFactor (double factor)
 
double GetScaleFactor () const
 
virtual void SetScaleFactor (double factor)
 
bool operator== (const CSimpleLensCorrection &calib) const
 
bool operator!= (const CSimpleLensCorrection &calib) const
 
virtual const i2d::CRectangleGetArgumentArea () const
 
virtual const i2d::CRectangleGetResultArea () const
 
virtual const imath::IUnitInfoGetArgumentUnitInfo () const
 
virtual const imath::IUnitInfoGetResultUnitInfo () const
 
virtual const ICalibration2d * CreateCombinedCalibration (const ITransformation2d &transformation) const
 
virtual int GetTransformationFlags () const
 
virtual bool GetDistance (const i2d::CVector2d &origPos1, const i2d::CVector2d &origPos2, double &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetPositionAt (const i2d::CVector2d &origPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetInvPositionAt (const i2d::CVector2d &transfPosition, i2d::CVector2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetLocalTransform (const i2d::CVector2d &origPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetLocalInvTransform (const i2d::CVector2d &transfPosition, i2d::CAffine2d &result, ExactnessMode mode=EM_NONE) const
 
virtual bool GetInvValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const
 
virtual i2d::CVector2d GetInvValueAt (const i2d::CVector2d &argument) const
 
virtual bool GetValueAt (const i2d::CVector2d &argument, i2d::CVector2d &result) const
 
virtual i2d::CVector2d GetValueAt (const i2d::CVector2d &argument) const
 
virtual bool Serialize (iser::IArchive &archive)
 
virtual int GetSupportedOperations () const
 
virtual bool CopyFrom (const istd::IChangeable &object, CompatibilityMode mode=CM_WITHOUT_REFS)
 
virtual bool IsEqual (const istd::IChangeable &object) const
 
virtual istd::IChangeableCloneMe (CompatibilityMode mode=CM_WITHOUT_REFS) const
 
virtual bool ResetData (CompatibilityMode mode=CM_WITHOUT_REFS)
 
- Public Member Functions inherited from i2d::ICalibration2d
virtual const ICalibration2dCreateCombinedCalibration (const ITransformation2d &transformation) const =0
 

Additional Inherited Members

- Public Types inherited from i2d::ICalibration2d
enum  ChangeFlags
 
enum  TransformationFlags
 

Detailed Description

Represents simple correction of image distortion by lenses.

Definition at line 17 of file CSimpleLensCorrection.h.

Constructor & Destructor Documentation

icalib::CSimpleLensCorrection::CSimpleLensCorrection ( )
icalib::CSimpleLensCorrection::CSimpleLensCorrection ( const i2d::CVector2d opticalCenter,
double  distortionFactor = 0,
double  scaleFactor = 1 
)
explicit

Member Function Documentation

virtual istd::IChangeable* icalib::CSimpleLensCorrection::CloneMe ( CompatibilityMode  mode = CM_WITHOUT_REFS) const
virtual
virtual bool icalib::CSimpleLensCorrection::CopyFrom ( const istd::IChangeable object,
CompatibilityMode  mode = CM_WITHOUT_REFS 
)
virtual
virtual const ICalibration2d* icalib::CSimpleLensCorrection::CreateCombinedCalibration ( const ITransformation2d &  transformation) const
virtual
virtual const i2d::CRectangle* icalib::CSimpleLensCorrection::GetArgumentArea ( ) const
virtual

Implements i2d::ICalibration2d.

virtual const imath::IUnitInfo* icalib::CSimpleLensCorrection::GetArgumentUnitInfo ( ) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CSimpleLensCorrection::GetDistance ( const i2d::CVector2d origPos1,
const i2d::CVector2d origPos2,
double &  result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

double icalib::CSimpleLensCorrection::GetDistortionFactor ( ) const
virtual bool icalib::CSimpleLensCorrection::GetInvPositionAt ( const i2d::CVector2d transfPosition,
i2d::CVector2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CSimpleLensCorrection::GetInvValueAt ( const i2d::CVector2d argument,
i2d::CVector2d result 
) const
virtual
virtual i2d::CVector2d icalib::CSimpleLensCorrection::GetInvValueAt ( const i2d::CVector2d argument) const
virtual
virtual bool icalib::CSimpleLensCorrection::GetLocalInvTransform ( const i2d::CVector2d transfPosition,
i2d::CAffine2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CSimpleLensCorrection::GetLocalTransform ( const i2d::CVector2d origPosition,
i2d::CAffine2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

const i2d::CVector2d& icalib::CSimpleLensCorrection::GetOpticalCenter ( ) const
virtual bool icalib::CSimpleLensCorrection::GetPositionAt ( const i2d::CVector2d origPosition,
i2d::CVector2d result,
ExactnessMode  mode = EM_NONE 
) const
virtual

Implements i2d::ICalibration2d.

virtual const i2d::CRectangle* icalib::CSimpleLensCorrection::GetResultArea ( ) const
virtual

Implements i2d::ICalibration2d.

virtual const imath::IUnitInfo* icalib::CSimpleLensCorrection::GetResultUnitInfo ( ) const
virtual

Implements i2d::ICalibration2d.

double icalib::CSimpleLensCorrection::GetScaleFactor ( ) const
virtual int icalib::CSimpleLensCorrection::GetSupportedOperations ( ) const
virtual
virtual int icalib::CSimpleLensCorrection::GetTransformationFlags ( ) const
virtual

Implements i2d::ICalibration2d.

virtual bool icalib::CSimpleLensCorrection::GetValueAt ( const i2d::CVector2d argument,
i2d::CVector2d result 
) const
virtual
virtual i2d::CVector2d icalib::CSimpleLensCorrection::GetValueAt ( const i2d::CVector2d argument) const
virtual
virtual bool icalib::CSimpleLensCorrection::IsEqual ( const istd::IChangeable object) const
virtual
bool icalib::CSimpleLensCorrection::operator!= ( const CSimpleLensCorrection calib) const
inline

Definition at line 99 of file CSimpleLensCorrection.h.

References operator==().

bool icalib::CSimpleLensCorrection::operator== ( const CSimpleLensCorrection calib) const

Referenced by operator!=().

void icalib::CSimpleLensCorrection::Reset ( const i2d::CVector2d opticalCenter = i2d::CVector2d::GetZero(),
double  distortionFactor = 0,
double  scaleFactor = 1 
)

Reset this calibration, set to be identity transform.

virtual bool icalib::CSimpleLensCorrection::ResetData ( CompatibilityMode  mode = CM_WITHOUT_REFS)
virtual
virtual bool icalib::CSimpleLensCorrection::Serialize ( iser::IArchive archive)
virtual
virtual void icalib::CSimpleLensCorrection::SetDistortionFactor ( double  factor)
virtual
virtual void icalib::CSimpleLensCorrection::SetOpticalCenter ( const i2d::CVector2d center)
virtual
virtual void icalib::CSimpleLensCorrection::SetScaleFactor ( double  factor)
virtual

The documentation for this class was generated from the following file:

© 2007-2017 Witold Gantzke and Kirill Lepskiy