46 float a_ =
static_cast<float>(this->
a);
47 float b_ =
static_cast<float>(this->
b);
48 float c_ =
static_cast<float>(this->
c);
49 float d_ =
static_cast<float>(this->
d);
51 return (a_ * lambda_ + b_) / (c_ * lambda_ + d_);
66 double a_ =
static_cast<double>(this->
a);
67 double b_ =
static_cast<double>(this->
b);
68 double c_ =
static_cast<double>(this->
c);
69 double d_ =
static_cast<double>(this->
d);
71 return (a_ * lambda_ + b_) / (c_ * lambda_ + d_);
86 long double a_ =
static_cast<long double>(this->
a);
87 long double b_ =
static_cast<long double>(this->
b);
88 long double c_ =
static_cast<long double>(this->
c);
89 long double d_ =
static_cast<long double>(this->
d);
91 return (a_ * lambda_ + b_) / (c_ * lambda_ + d_);
Homographic(double a_, double b_, double c_, double d_)
Sets the default for the parameter a, b, c, and d.
virtual float function(const float lambda_) const