Moved functions where they belonged

release/4.3a0
Frank Dellaert 2013-10-18 04:30:41 +00:00
parent 175cc03f11
commit 48205d3217
1 changed files with 17 additions and 17 deletions

View File

@ -37,24 +37,9 @@ private:
public:
Matrix K() const; ///< Standard 3*3 calibration matrix
Vector k() const; ///< Radial distortion parameters (4 of them, 2 0)
Vector vector() const;
/// @name Standard Constructors
/// @{
/// focal length x
inline double fx() const {
return f_;
}
/// focal length y
inline double fy() const {
return f_;
}
/// Default constructor
Cal3Bundler();
@ -82,6 +67,21 @@ public:
/// @name Standard Interface
/// @{
Matrix K() const; ///< Standard 3*3 calibration matrix
Vector k() const; ///< Radial distortion parameters (4 of them, 2 0)
Vector vector() const;
/// focal length x
inline double fx() const {
return f_;
}
/// focal length y
inline double fy() const {
return f_;
}
/**
* convert intrinsic coordinates xy to image coordinates uv
* @param p point in intrinsic coordinates
@ -93,9 +93,9 @@ public:
boost::none, boost::optional<Matrix&> Dp = boost::none) const;
/// Conver a pixel coordinate to ideal coordinate
Point2 calibrate(const Point2& pi, const double tol=1e-5) const;
Point2 calibrate(const Point2& pi, const double tol = 1e-5) const;
/// @deprecated might be removed in next release, use uncalibrate
/// @deprecated might be removed in next release, use uncalibrate
Matrix D2d_intrinsic(const Point2& p) const;
/// @deprecated might be removed in next release, use uncalibrate