vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ev_radial_correction Struct Reference
Inheritance diagram for ev_radial_correction:
vspline::unary_functor< float, float > vspline::unary_functor_tag< vspline::vector_traits< float > ::size >

Public Member Functions

 ev_radial_correction (const double &_width, const double &_height, const double &_x_shift, const double &_y_shift, const double &_a, const double &_b, const double &_c, const double &_d)
 
template<class CRD >
void eval (const CRD &in, CRD &result) const
 

Static Public Member Functions

static double d_from_extent (double d)
 
static double rscale_from_wh (double w, double h)
 

Public Attributes

const float dx
 
const float dy
 
const float scale
 
const float rscale
 
const float a
 
const float b
 
const float c
 
const float d
 
const float x_shift
 
const float y_shift
 

Additional Inherited Members

- Public Types inherited from vspline::unary_functor< float, float >
enum  
 
enum  
 
enum  
 
typedef float in_type
 
typedef float out_type
 
typedef vspline::vector_traits< float >::ele_type in_ele_type
 
typedef vspline::vector_traits< float >::ele_type out_ele_type
 
typedef vigra::TinyVector< in_ele_type, dim_inin_nd_ele_type
 
typedef vigra::TinyVector< out_ele_type, dim_outout_nd_ele_type
 
typedef vector_traits< float, vsize >::ele_v in_ele_v
 a simdized type of the elementary type of result_type, which is used for coefficients and results. this is fixed via the traits class vector_traits (in vector.h). Note how we derive this type using vsize from the template argument, not what vspline::vector_traits deems appropriate for ele_type - though both numbers will be the same in most cases. More...
 
typedef vector_traits< float, vsize >::ele_v out_ele_v
 
typedef vector_traits< float, vsize >::nd_ele_v in_nd_ele_v
 
typedef vector_traits< float, vsize >::nd_ele_v out_nd_ele_v
 
typedef vector_traits< float, vsize >::type in_v
 vectorized in_type and out_type. vspline::vector_traits supplies these types so that multidimensional/multichannel data come as vigra::TinyVectors, while 'singular' data won't be made into TinyVectors of one element. More...
 
typedef vector_traits< float, vsize >::type out_v
 
typedef vector_traits< int, vsize >::ele_v ic_v
 vsize wide vector of ints, used for gather/scatter indexes More...
 
- Static Public Attributes inherited from vspline::unary_functor< float, float >
static const bool has_capped_eval
 

Detailed Description

Definition at line 139 of file ca_correct.cc.

Constructor & Destructor Documentation

◆ ev_radial_correction()

ev_radial_correction::ev_radial_correction ( const double &  _width,
const double &  _height,
const double &  _x_shift,
const double &  _y_shift,
const double &  _a,
const double &  _b,
const double &  _c,
const double &  _d 
)
inline

Definition at line 205 of file ca_correct.cc.

Member Function Documentation

◆ d_from_extent()

static double ev_radial_correction::d_from_extent ( double  d)
inlinestatic

Definition at line 187 of file ca_correct.cc.

◆ eval()

template<class CRD >
void ev_radial_correction::eval ( const CRD &  in,
CRD &  result 
) const
inline

Definition at line 247 of file ca_correct.cc.

◆ rscale_from_wh()

static double ev_radial_correction::rscale_from_wh ( double  w,
double  h 
)
inlinestatic

Definition at line 192 of file ca_correct.cc.

Member Data Documentation

◆ a

const float ev_radial_correction::a

Definition at line 177 of file ca_correct.cc.

◆ b

const float ev_radial_correction::b

Definition at line 177 of file ca_correct.cc.

◆ c

const float ev_radial_correction::c

Definition at line 177 of file ca_correct.cc.

◆ d

const float ev_radial_correction::d

Definition at line 177 of file ca_correct.cc.

◆ dx

const float ev_radial_correction::dx

Definition at line 150 of file ca_correct.cc.

◆ dy

const float ev_radial_correction::dy

Definition at line 150 of file ca_correct.cc.

◆ rscale

const float ev_radial_correction::rscale

Definition at line 169 of file ca_correct.cc.

◆ scale

const float ev_radial_correction::scale

Definition at line 168 of file ca_correct.cc.

◆ x_shift

const float ev_radial_correction::x_shift

Definition at line 182 of file ca_correct.cc.

◆ y_shift

const float ev_radial_correction::y_shift

Definition at line 182 of file ca_correct.cc.


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