13 cv::Vec<double, n> point;
14 StatusInfo statusInfo;
30 cv::Vec<double, n> top;
31 cv::Vec<double, n> temporal;
32 cv::Vec<double, n> bottom;
37 cv::Vec<double, n> top;
48 cv::Vec<double, n> pupil[LATERAL_SIDE];
56 cv::Vec<double, n> m_R;
57 cv::Vec<double, n> m_L;
58 cv::Vec<double, n> m_M;
61 cv::Vec<double, n> mark;
62 cv::Vec<double, n> ring;
83 cv::Vec3d K[LATERAL_SIDE];
84 cv::Vec3d Null_nrect_P[LATERAL_SIDE];
85 cv::Vec3d Null_rect_P[LATERAL_SIDE];
87 cv::Vec3d erc[LATERAL_SIDE];
108 cv::Vec<double, n> m_O;
109 cv::Vec<double, n> m_U;
112 cv::Vec<double, n> pupil;
113 cv::Vec<double, n> cornealVertex;
140 ExposureArrangement exposureArrangement;
160 cv::Matx33d cameraMatrix;
169 virtual cv::Matx33d get2dTo3dMatrix(
const PhotoParams& photoValues) = 0;
173 static const double sign[LATERAL_SIDE] = {+1.0, -1.0};
190 void transform2Dto3D();
191 void printTo(std::ofstream& rFile)
const;
193 cv::Matx33d get2dTo3dMatrix(
const PhotoParams& photoValues);
196 double getRotationAngle()
const;
205 double approximateDistance;
211 cv::Vec3d
compute3D(
const cv::Vec3d& p,
double z);
215 Line transformFToB(
const Line& line)
const;
216 void transformFToB(LateralSide d);
217 void transformFToB(
const bool isRightAvailable,
const bool isLeftAvailable);
222 const cv::Vec2d& m_R,
const cv::Vec2d& m_L,
const cv::Vec2d& m_M);
229 cv::Vec2d
XClampToXIm(
const cv::Vec3d& XClamp)
const;
230 cv::Vec3d XImToXClamp(
const cv::Point2d& XIm)
const;
232 double getComputedDistance()
const {
return computedDistance_; };
234 void printTo(std::ofstream& rFile)
const;
236 cv::Matx33d get2dTo3dMatrix(
const PhotoParams& photoValues);
238 double computedDistance_;
239 void getSys_B(std::vector<float>& null_B, std::vector<float>& axis_B)
const;
240 void computeSpringStrutPosition(LateralSide side);
245 cv::Vec3d getCol(
const cv::Matx33d& m,
int i);
Koordinatensystemunabhängige Daten, Dinge, die innerhalb der Engine sind und defaultwerte.
Definition: RealConstants.h:5
cv::Vec2d imagePoint3dTo2d(const cv::Vec3d &point3D) const
Projektion auf Bildebene (3D) -> Bildkoordinaten.
Definition: aspect.cpp:42
cv::Matx33d _3dTo2d
Trafo-Matrix Projektion auf Bildebene -> Bild.
Definition: aspect.h:168
vr::Line getViewRay(const cv::Vec2d &point) const
Sehstrahl zum Bildpunkt point, ins Bügelsystem transformiert.
Definition: aspect.cpp:67
const cv::Matx33d & getRotationMatrixBToCam3d() const
Drehmatrix Bügelsystem -> Kamera-3d.
Definition: aspect.cpp:26
cv::Vec3d compute3D(const cv::Vec3d &p, double z)
Ermittelt den Raumpunkt eines Punktes auf dem Frontalbild, z ist die zuvor ermittelte Tiefe im Bügels...
Definition: aspect.cpp:102
int calcSys_BfromExtern(const RealConstants &real, double *residuum, const cv::Vec2d &m_R, const cv::Vec2d &m_L, const cv::Vec2d &m_M)
Definition: aspect.cpp:269
cv::Vec< double, n > bottom
Definition: aspect.h:39
cv::Matx33d R_
Definition: aspect.h:164
int calcSys_B(const RealConstants &real, double *residuum)
Definition: aspect.cpp:206
cv::Vec3d transformToB(const cv::Vec3d &point) const
Koordinatentransformation Kamera-3d -> Bügelsystem.
Definition: aspect.cpp:49
void computeRotationMatrix()
Berechnet die Drehmatrix.
Definition: aspect.cpp:356
void computeO_B()
Berechnet Bügel-Null im Kamerasystem S.
Definition: aspect.cpp:367
cv::Vec3d O_B
Definition: aspect.h:142
cv::Vec3d transformFromB(const cv::Vec3d &point) const
Koordinatentransformation Bügelsystem -> Kamera-3d.
Definition: aspect.cpp:58
void transform2Dto3D(const LateralSide halfFace)
für Gesichtshälfte halfFace
Definition: aspect.cpp:155
cv::Matx33d _2dTo3d
Trafo-Matrix Bild -> Projektion auf Bildebene.
Definition: aspect.h:166
void transformSToB()
Transformiert die Raumpunkte in S in Punkte in B.
Definition: aspect.cpp:378
cv::Vec3d imagePoint2dTo3d(const cv::Vec2d &point2D) const
Bildkoordinaten -> Projektion auf Bildebene.
Definition: aspect.cpp:31
Definition: PhotoParams.h:27
Gerade im Raum.
Definition: algorithms.h:22
cv::Vec2d XClampToXIm(const cv::Vec3d &XClamp) const
Definition: aspect.cpp:328