OpenCV  3.3.1
Open Source Computer Vision
Classes | Enumerations | Functions
cv::sfm Namespace Reference

Classes

class  BaseSFM
 base class BaseSFM declares a common API that would be used in a typical scene reconstruction scenario More...
 
class  libmv_CameraIntrinsicsOptions
 Data structure describing the camera model and its parameters. More...
 
class  libmv_ReconstructionOptions
 Data structure describing the reconstruction options. More...
 
class  SFMLibmvEuclideanReconstruction
 SFMLibmvEuclideanReconstruction class provides an interface with the Libmv Structure From Motion pipeline. More...
 

Enumerations

enum  {
  SFM_IO_BUNDLER = 0,
  SFM_IO_VISUALSFM = 1,
  SFM_IO_OPENSFM = 2,
  SFM_IO_OPENMVG = 3,
  SFM_IO_THEIASFM = 4
}
 Different supported file formats. More...
 
enum  {
  SFM_DISTORTION_MODEL_POLYNOMIAL = 0,
  SFM_DISTORTION_MODEL_DIVISION = 1
}
 Different camera models that libmv supports. More...
 
enum  {
  SFM_REFINE_FOCAL_LENGTH = (1 << 0),
  SFM_REFINE_PRINCIPAL_POINT = (1 << 1),
  SFM_REFINE_RADIAL_DISTORTION_K1 = (1 << 2),
  SFM_REFINE_RADIAL_DISTORTION_K2 = (1 << 4)
}
 All internal camera parameters that libmv is able to refine. More...
 

Functions

void applyTransformationToPoints (InputArray points, InputArray T, OutputArray transformed_points)
 Apply Transformation to points. More...
 
void computeOrientation (InputArrayOfArrays x1, InputArrayOfArrays x2, OutputArray R, OutputArray t, double s)
 Computes Absolute or Exterior Orientation (Pose Estimation) between 2 sets of 3D point. More...
 
double depth (InputArray R, InputArray t, InputArray X)
 Returns the depth of a point transformed by a rigid transform. More...
 
void essentialFromFundamental (InputArray F, InputArray K1, InputArray K2, OutputArray E)
 Get Essential matrix from Fundamental and Camera matrices. More...
 
void essentialFromRt (InputArray R1, InputArray t1, InputArray R2, InputArray t2, OutputArray E)
 Get Essential matrix from Motion (R's and t's ). More...
 
void euclideanToHomogeneous (InputArray src, OutputArray dst)
 Converts points from Euclidean to homogeneous space. E.g., ((x,y)->(x,y,1)) More...
 
double fundamentalFromCorrespondences7PointRobust (InputArray x1, InputArray x2, double max_error, OutputArray F, OutputArray inliers, double outliers_probability=1e-2)
 Estimate robustly the fundamental matrix between two dataset of 2D point (image coords space). More...
 
double fundamentalFromCorrespondences8PointRobust (InputArray x1, InputArray x2, double max_error, OutputArray F, OutputArray inliers, double outliers_probability=1e-2)
 Estimate robustly the fundamental matrix between two dataset of 2D point (image coords space). More...
 
void fundamentalFromEssential (InputArray E, InputArray K1, InputArray K2, OutputArray F)
 Get Essential matrix from Fundamental and Camera matrices. More...
 
void fundamentalFromProjections (InputArray P1, InputArray P2, OutputArray F)
 Get Fundamental matrix from Projection matrices. More...
 
void homogeneousToEuclidean (InputArray src, OutputArray dst)
 Converts point coordinates from homogeneous to euclidean pixel coordinates. E.g., ((x,y,z)->(x/z, y/z)) More...
 
void importReconstruction (const cv::String &file, OutputArrayOfArrays Rs, OutputArrayOfArrays Ts, OutputArrayOfArrays Ks, OutputArray points3d, int file_format=SFM_IO_BUNDLER)
 Import a reconstruction file. More...
 
void isotropicPreconditionerFromPoints (InputArray points, OutputArray T)
 Point conditioning (isotropic). More...
 
void KRtFromProjection (InputArray P, OutputArray K, OutputArray R, OutputArray t)
 Get K, R and t from projection matrix P, decompose using the RQ decomposition. More...
 
void meanAndVarianceAlongRows (InputArray A, OutputArray mean, OutputArray variance)
 Computes the mean and variance of a given matrix along its rows. More...
 
void motionFromEssential (InputArray E, OutputArrayOfArrays Rs, OutputArrayOfArrays ts)
 
int motionFromEssentialChooseSolution (InputArrayOfArrays Rs, InputArrayOfArrays ts, InputArray K1, InputArray x1, InputArray K2, InputArray x2)
 
void normalizedEightPointSolver (InputArray x1, InputArray x2, OutputArray F)
 Estimate the fundamental matrix between two dataset of 2D point (image coords space). More...
 
void normalizeFundamental (InputArray F, OutputArray F_normalized)
 Normalizes the Fundamental matrix. More...
 
void normalizeIsotropicPoints (InputArray points, OutputArray normalized_points, OutputArray T)
 This function normalizes points. (isotropic). More...
 
void normalizePoints (InputArray points, OutputArray normalized_points, OutputArray T)
 This function normalizes points (non isotropic). More...
 
void preconditionerFromPoints (InputArray points, OutputArray T)
 
void projectionFromKRt (InputArray K, InputArray R, InputArray t, OutputArray P)
 Get projection matrix P from K, R and t. More...
 
void projectionsFromFundamental (InputArray F, OutputArray P1, OutputArray P2)
 Get projection matrices from Fundamental matrix. More...
 
void reconstruct (InputArrayOfArrays points2d, OutputArray Ps, OutputArray points3d, InputOutputArray K, bool is_projective=false)
 Reconstruct 3d points from 2d correspondences while performing autocalibration. More...
 
void reconstruct (InputArrayOfArrays points2d, OutputArray Rs, OutputArray Ts, InputOutputArray K, OutputArray points3d, bool is_projective=false)
 Reconstruct 3d points from 2d correspondences while performing autocalibration. More...
 
void reconstruct (const std::vector< String > images, OutputArray Ps, OutputArray points3d, InputOutputArray K, bool is_projective=false)
 Reconstruct 3d points from 2d images while performing autocalibration. More...
 
void reconstruct (const std::vector< String > images, OutputArray Rs, OutputArray Ts, InputOutputArray K, OutputArray points3d, bool is_projective=false)
 Reconstruct 3d points from 2d images while performing autocalibration. More...
 
void relativeCameraMotion (InputArray R1, InputArray t1, InputArray R2, InputArray t2, OutputArray R, OutputArray t)
 Computes the relative camera motion between two cameras. More...
 
Mat skew (InputArray x)
 Returns the 3x3 skew symmetric matrix of a vector. More...
 
void triangulatePoints (InputArrayOfArrays points2d, InputArrayOfArrays projection_matrices, OutputArray points3d)
 Reconstructs bunch of points by triangulation. More...