|
void | load (std::istream &is) |
| Load parameters from a stream. More...
|
|
void | save (std::ostream &os) const |
| Save parameters to a stream. More...
|
|
TooN::Vector< 2 > | linearproject (const TooN::Vector< 2 > &camframe, TooN::DefaultPrecision scale=1) const |
| Fast linear projection for working out what's there.
|
|
TooN::Vector< 2 > | project (const TooN::Vector< 2 > &camframe) const |
| Project from Euclidean camera frame to image plane.
|
|
TooN::Vector< 2 > | unproject (const TooN::Vector< 2 > &imframe) const |
| Project from image plane to a Euclidean camera.
|
|
TooN::Matrix< 2, 2 > | get_derivative_at (const TooN::Vector< 2 > &pt) const |
| Evaluate the derivative of image frame wrt camera frame at an arbitrary point pt . More...
|
|
TooN::Matrix< num_parameters, 2 > | get_parameter_derivs_at (const TooN::Vector< 2 > &pt) const |
| Evaluate the derivative of the image coordinates of a given point pt in camera coordinates with respect to each of the internal camera parameters.
|
|
TooN::Vector< num_parameters > | get_parameter_derivs (const TooN::Vector< 2 > &position, const TooN::Vector< 2 > &direction) const |
| Get the component of the motion of a point in the direction provided with respect to each of the internal camera parameters. More...
|
|
TooN::Vector< num_parameters > & | get_parameters () |
| Update the internal camera parameters by adding the vector given. More...
|
|
const TooN::Vector< num_parameters > & | get_parameters () const |
|
A Camera with zero skew and Harris distortion.
The camera distortion model is as follows:
\( \hat{\rho} = \frac{\rho}{\sqrt{1 + \alpha \rho^2}} \)
This camera has the advantage that inversion of the radial distortion is trivial, and unproject has a unique, closed-form solution. However, the square root makes this camera slower than some of the other models for many use cases.