Struct PinholeModel

Inheritance Relationships

Base Type

Struct Documentation

struct PinholeModel : public lvr2::CameraModel

Public Functions

inline virtual Eigen::Vector2f projectPoint(const Eigen::Vector3f &p) const override

Project point from camera coordinate system (3D) onto image coordinate system (2D)

Parameters:

p

Returns:

Eigen::Vector2d

template<typename Scalar>
inline Vector2<Scalar> distortPoint(const Vector2<Scalar> &p) const

Public Members

double fx = 0
double fy = 0
double cx = 0
double cy = 0
unsigned width = 0
unsigned height = 0
DistortionModel distortionModel

Distortion.

Public Static Attributes

static constexpr char type[] = "pinhole"