OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRadialDecentLensDistortion.h>
Public Member Functions | |
ossimRadialDecentLensDistortion () | |
ossimRadialDecentLensDistortion (const ossimDpt &calibratedPrincipalPoint, const NEWMAT::ColumnVector &radialDistortionParameters, const NEWMAT::ColumnVector &decentDistortionParameters) | |
ossimRadialDecentLensDistortion (const ossimRadialDecentLensDistortion ©) | |
ossimRadialDecentLensDistortion (const ossimKeywordlist &kwl, const char *prefix) | |
virtual | ~ossimRadialDecentLensDistortion () |
virtual void | forward (const ossimDpt &undistorted_point_in, ossimDpt &distorted_point_out) const |
virtual void | forward (ossimDpt &modify_this) const |
virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
void | setPrincipalPoint (const ossimDpt pp) |
void | setRadialDistortionParams (const NEWMAT::ColumnVector ¶ms) |
void | setDecentDistortionParams (const NEWMAT::ColumnVector ¶ms) |
virtual std::ostream & | print (std::ostream &out) const |
![]() | |
virtual void | inverse (const ossimDpt &input, ossimDpt &output) const |
virtual void | inverse (ossimDpt &modify_this) const |
virtual const ossim2dTo2dTransform & | operator= (const ossim2dTo2dTransform &rhs) |
virtual ossimDpt | getOrigin () const |
void | setConvergenceThreshold (const double &new_threshold) |
void | setMaxIterations (int new_max_iters) |
void | setDxDy (const ossimDpt &dxdy) |
![]() | |
ossimObject () | |
virtual | ~ossimObject () |
virtual ossimObject * | dup () const |
virtual ossimString | getShortName () const |
virtual ossimString | getLongName () const |
virtual ossimString | getDescription () const |
virtual ossimString | getClassName () const |
virtual RTTItypeid | getType () const |
virtual bool | canCastTo (ossimObject *obj) const |
virtual bool | canCastTo (const RTTItypeid &id) const |
virtual bool | canCastTo (const ossimString &parentClassName) const |
virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
virtual void | accept (ossimVisitor &visitor) |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Static Public Attributes | |
static const char * | PRINCIPAL_POINT_X_KW = "principal_point_x" |
static const char * | PRINCIPAL_POINT_Y_KW = "principal_point_y" |
static const char * | RADIAL_DISTORTION_COEFF_KW = "radial_distortion_coeff_K" |
static const char * | DECENT_DISTORTION_COEFF_KW = "decent_distortion_coeff_P" |
Protected Member Functions | |
virtual double | deltaR (double radius) const |
![]() | |
ossim2dTo2dTransform () | |
virtual | ~ossim2dTo2dTransform () |
![]() | |
virtual | ~ossimReferenced () |
Protected Attributes | |
ossimDpt | theCalibratedPrincipalPoint |
NEWMAT::ColumnVector | theRadialDistortionParameters |
NEWMAT::ColumnVector | theDecentDistortionParameters |
![]() | |
double | theConvergenceThreshold |
int | theMaxIterations |
ossimDpt | theDxDy |
Definition at line 48 of file ossimRadialDecentLensDistortion.h.
|
inline |
Definition at line 52 of file ossimRadialDecentLensDistortion.h.
|
inline |
Definition at line 54 of file ossimRadialDecentLensDistortion.h.
|
inline |
Definition at line 62 of file ossimRadialDecentLensDistortion.h.
ossimRadialDecentLensDistortion::ossimRadialDecentLensDistortion | ( | const ossimKeywordlist & | kwl, |
const char * | prefix | ||
) |
Definition at line 34 of file ossimRadialDecentLensDistortion.cpp.
|
inlinevirtual |
Definition at line 70 of file ossimRadialDecentLensDistortion.h.
|
protectedvirtual |
default implementation Will solve the polynomial:
k0 + k1*r^2 + k2*r^4 + k3*r^6 + k4*r^8
Definition at line 142 of file ossimRadialDecentLensDistortion.cpp.
References theRadialDistortionParameters.
Referenced by forward().
|
virtual |
Implementation of base class 2D-to-2D transformation. The "forward" transformation is defined here as going from an undistorted ideal point to a distorted real point, i.e., adding distortion.
Also available (implemented in the base class) are: inverse(distorted_point_in, undistorted_pt_out) inverse(undistort_this_pt)
Implements ossim2dTo2dTransform.
Definition at line 156 of file ossimRadialDecentLensDistortion.cpp.
References deltaR(), ossim::square(), theCalibratedPrincipalPoint, theDecentDistortionParameters, ossimDpt::x, and ossimDpt::y.
|
inlinevirtual |
Reimplemented from ossim2dTo2dTransform.
Definition at line 84 of file ossimRadialDecentLensDistortion.h.
|
virtual |
Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.
Reimplemented from ossim2dTo2dTransform.
Definition at line 43 of file ossimRadialDecentLensDistortion.cpp.
References ossimString::c_str(), DECENT_DISTORTION_COEFF_KW, ossimKeywordlist::find(), ossim2dTo2dTransform::loadState(), PRINCIPAL_POINT_X_KW, PRINCIPAL_POINT_Y_KW, RADIAL_DISTORTION_COEFF_KW, theCalibratedPrincipalPoint, theDecentDistortionParameters, theRadialDistortionParameters, ossimString::toDouble(), ossimString::toString(), ossimDpt::x, and ossimDpt::y.
|
virtual |
Dumps contents of object to ostream.
Reimplemented from ossim2dTo2dTransform.
Definition at line 186 of file ossimRadialDecentLensDistortion.cpp.
References theCalibratedPrincipalPoint, theDecentDistortionParameters, and theRadialDistortionParameters.
|
virtual |
Method to save the state of the object to a keyword list. Return true if ok or false on error.
Reimplemented from ossim2dTo2dTransform.
Definition at line 97 of file ossimRadialDecentLensDistortion.cpp.
References ossimKeywordlist::add(), ossimString::c_str(), DECENT_DISTORTION_COEFF_KW, PRINCIPAL_POINT_X_KW, PRINCIPAL_POINT_Y_KW, RADIAL_DISTORTION_COEFF_KW, ossim2dTo2dTransform::saveState(), theCalibratedPrincipalPoint, theDecentDistortionParameters, theRadialDistortionParameters, ossimString::toString(), ossimDpt::x, and ossimDpt::y.
|
inline |
Definition at line 153 of file ossimRadialDecentLensDistortion.h.
|
inline |
Set methods provide alternative initialization scheme to loadState:
Definition at line 141 of file ossimRadialDecentLensDistortion.h.
|
inline |
Definition at line 147 of file ossimRadialDecentLensDistortion.h.
|
static |
Definition at line 120 of file ossimRadialDecentLensDistortion.h.
Referenced by loadState(), and saveState().
|
static |
Definition at line 117 of file ossimRadialDecentLensDistortion.h.
Referenced by loadState(), and saveState().
|
static |
Definition at line 118 of file ossimRadialDecentLensDistortion.h.
Referenced by loadState(), and saveState().
|
static |
Definition at line 119 of file ossimRadialDecentLensDistortion.h.
Referenced by loadState(), and saveState().
|
protected |
Definition at line 130 of file ossimRadialDecentLensDistortion.h.
Referenced by forward(), loadState(), print(), and saveState().
|
protected |
Definition at line 132 of file ossimRadialDecentLensDistortion.h.
Referenced by forward(), loadState(), print(), and saveState().
|
protected |
Definition at line 131 of file ossimRadialDecentLensDistortion.h.
Referenced by deltaR(), loadState(), print(), and saveState().