ldpk
Public Member Functions | List of all members
tde4_ldp_anamorphic_deg_4_rotate_squeeze_xy_rescaled< VEC2, MAT2 > Class Template Reference
Inheritance diagram for tde4_ldp_anamorphic_deg_4_rotate_squeeze_xy_rescaled< VEC2, MAT2 >:
Inheritance graph
[legend]
Collaboration diagram for tde4_ldp_anamorphic_deg_4_rotate_squeeze_xy_rescaled< VEC2, MAT2 >:
Collaboration graph
[legend]

Public Member Functions

bool getModelName (char *name)
 returns a name for the model as to show up in the GUI (maximum length of "name": 100 bytes)...
 
bool getParameterType (const char *identifier, tde4_ldp_ptype &ptype)
 returns type of given parameter... The method should return false, if the parameter addressed by identifier does not exist.
 
bool getParameterDefaultValue (const char *identifier, double &v)
 returns default value for given parameter (maximum length of "char *v": 1000 bytes)......
 
bool getParameterRange (const char *identifier, double &a, double &b)
 returns range for adjustable double parameters...
 
bool getJacobianMatrix (double x0, double y0, double &m00, double &m01, double &m10, double &m11)
 Tested against difference quotients.
 
- Public Member Functions inherited from ldpk::ldp_builtin< VEC2, MAT2 >
virtual void getBoundingBoxUndistort (double xa_in, double ya_in, double xb_in, double yb_in, double &xa_out, double &ya_out, double &xb_out, double &yb_out, int nx, int ny)
 Iterate around the specified box, undistort the points and compute the bounding box.
 
virtual void getBoundingBoxDistort (double xa_in, double ya_in, double xb_in, double yb_in, double &xa_out, double &ya_out, double &xb_out, double &yb_out, int nx, int ny)
 Iterate around the specified box, distort the points and compute the bounding box.
 
double w_fb_cm () const
 
double h_fb_cm () const
 
double x_lco_cm () const
 
double y_lco_cm () const
 
double fl_cm () const
 
double pa () const
 
double fd_cm () const
 
double r_fb_cm () const
 
- Public Member Functions inherited from tde4_ld_plugin
const char * getVersionString () const
 
virtual bool getParameterDefaultValue (const char *identifier, char *v)
 
virtual bool getParameterDefaultValue (const char *identifier, int &v)
 
virtual bool getParameterDefaultValue (const char *identifier, bool &v)
 
virtual bool setParameterValue (const char *identifier, const char *v)
 
virtual bool setParameterValue (const char *identifier, int v)
 
virtual bool setParameterValue (const char *identifier, bool v)
 
virtual bool providesParameterDerivatives ()
 parameter derivatives to be used for distortion grid controls' matrix calculation routine...
 
virtual bool calcParameterDerivatives (double x, double y, int num_parameters, double *dx_dy)
 dx_dy is an array with 2 * num_parameters elements (x- and y- component for each of n derivatives)
 
bool getJacobianMatrixDQ (double x0, double y0, double &m00, double &m01, double &m10, double &m11)
 calculate the Jacobian matrix of the undistort()-Method by means of difference quotients. This is the default implementation. Also use it for testing your own implementation of getJacobianMatrix().
 
virtual bool getTwistVector (double x0, double y0, double &t0, double &t1)
 calculate the mixed derivatives ("twist vector") of the undistort()-Method. Overwrite this, if you know the twist vector for your own lens distortion model.
 

Additional Inherited Members

- Protected Member Functions inherited from ldpk::ldp_builtin< VEC2, MAT2 >
vec2_type map_unit_to_dn (const vec2_type &p_unit) const
 
vec2_type map_dn_to_unit (const vec2_type &p_dn) const
 
void lock ()
 
void unlock ()
 
bool is_uptodate_lut () const
 The derived class uses this in order to check if the lookup table needs an update.
 
void no_longer_uptodate_lut ()
 This class and the derived class mark the lookup table as obsolete when some parameter was changed.
 
void update_lut ()
 Update the lookup table. The derived class will do this, if necessary, when distort() without initial value is invoked.
 
const ldpk::lookup_table< vec2_type > & get_lut () const
 The derived class has constant access, since it needs to consult it.
 
int get_num_builtin_parameters () const
 There are seven built-in parameters.
 
bool set_builtin_parameter_value (const char *identifier, double v)
 The return values indicates, if 'identifier' refers to a built-in parameter.
 
bool get_builtin_parameter_type (const char *identifier, tde4_ldp_ptype &ptype) const
 The return values indicates, if 'identifier' refers to a built-in parameter. Currently, all built-in parameters are double-valued.
 
void check_builtin_parameters ()
 This method should be invoked by the derived classes in initializeParameters(). It write error messages to stderr if parameters are not initialized properly. We check filmback width, filmback height, focal length and pixel aspect. Focus distance is not checked currently.
 
- Protected Attributes inherited from ldpk::ldp_builtin< VEC2, MAT2 >
CRITICAL_SECTION _critsec
 The Mutex, used in derived classes, initialized in constructor.
 
pthread_mutex_t _mutex
 

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