00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00024
00025 #include <QVEuclideanMapping3>
00026 #include <QV3DPointF>
00027 #include <QVCameraPose>
00028 #include <QHash>
00029
00030 #ifndef QVREPROJECTIONERROR_H
00031 #define QVREPROJECTIONERROR_H
00032
00046 QVEuclideanMapping3 optimizeReprojectionErrorForCameraPose(const QVEuclideanMapping3 &camera0, const QList<QPointF> &points2D, const QList<QV3DPointF> &points3D, const int iterations = 5);
00047
00062 QV3DPointF optimizeReprojectionErrorFor3DPoint(const QV3DPointF &initialPoint3D, const QList<QVEuclideanMapping3> &cameraPoses, const QHash<int, QPointF> &projectionsOfAPoint,
00063 const int iterations = 5,
00064 const double lambda = 1e+0);
00065
00083 QVCameraPose optimizeReprojectionErrorForCameraPoseCauchy(const QVCameraPose &cameraPose, const QList<QPointF> &points2D, const QList<QV3DPointF> &points3D, const int iterations, const double lambda = 1e-5, const double sigma = 3.0);
00084
00085 #endif // QVREPROJECTIONERROR_H
00086