vrcore  0.45
visuReal Messkern
 All Classes Files Functions Variables
vr::FrontAspect Class Reference
Inheritance diagram for vr::FrontAspect:
Collaboration diagram for vr::FrontAspect:

Public Member Functions

 FrontAspect (Front3D &FIn, const PhotoParams &frontValues)
 
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ügelsystem.
 
void compute3D (const LateralSide halfFace, const SideAspect &side)
 
void transform2Dto3D (const LateralSide halfFace)
 für Gesichtshälfte halfFace
 
Line transformFToB (const Line &line) const
 
void transformFToB (LateralSide d)
 
void transformFToB (const bool isRightAvailable, const bool isLeftAvailable)
 
int calcSys_B (const RealConstants &real, double *residuum)
 
int calcSys_BfromExtern (const RealConstants &real, double *residuum, const cv::Vec2d &m_R, const cv::Vec2d &m_L, const cv::Vec2d &m_M)
 
cv::Vec2d XClampToXIm (const cv::Vec3d &XClamp) const
 
cv::Vec3d XImToXClamp (const cv::Point2d &XIm) const
 
double getComputedDistance () const
 
void printTo (std::ofstream &rFile) const
 
- Public Member Functions inherited from vr::Aspect
 Aspect (const PhotoParams &photoValues)
 
cv::Vec3d imagePoint2dTo3d (const cv::Vec2d &point2D) const
 Bildkoordinaten -> Projektion auf Bildebene.
 
cv::Vec2d imagePoint3dTo2d (const cv::Vec3d &point3D) const
 Projektion auf Bildebene (3D) -> Bildkoordinaten.
 
cv::Vec3d transformToB (const cv::Vec3d &point) const
 Koordinatentransformation Kamera-3d -> Bügelsystem.
 
cv::Vec3d transformFromB (const cv::Vec3d &point) const
 Koordinatentransformation Bügelsystem -> Kamera-3d.
 
const cv::Matx33d & getRotationMatrixBToCam3d () const
 Drehmatrix Bügelsystem -> Kamera-3d.
 
vr::Line getViewRay (const cv::Vec2d &point) const
 Sehstrahl zum Bildpunkt point, ins Bügelsystem transformiert.
 
vr::Line getViewRay (const cv::Vec3d &point) const
 Sehstrahl zum Punkt point im Kamerakoordinatensystem, ins Bügelsystem transformiert.
 

Public Attributes

FrontPic2D im2D
 
FrontPic3D im3D
 
Front3DF
 
FrontB B
 
double approximateDistance
 
- Public Attributes inherited from vr::Aspect
ExposureArrangement exposureArrangement
 
cv::Vec3d O_B
 

Protected Member Functions

cv::Matx33d get2dTo3dMatrix (const PhotoParams &photoValues)
 

Additional Inherited Members

- Protected Attributes inherited from vr::Aspect
cv::Matx33d cameraMatrix
 
cv::Matx33d R_
 
cv::Matx33d _2dTo3d
 Trafo-Matrix Bild -> Projektion auf Bildebene.
 
cv::Matx33d _3dTo2d
 Trafo-Matrix Projektion auf Bildebene -> Bild.
 

Member Function Documentation

int vr::FrontAspect::calcSys_B ( const RealConstants real,
double *  residuum 
)

berechnet das Buegelsystem. return: Fehler, 3: Winkel zu gross 2:Konvergenz ohne erreichen der Schwelle, 1:Divergenz

Here is the caller graph for this function:

int vr::FrontAspect::calcSys_BfromExtern ( const RealConstants real,
double *  residuum,
const cv::Vec2d &  m_R,
const cv::Vec2d &  m_L,
const cv::Vec2d &  m_M 
)

Argumente: Marken-Bildkoordinaten. Rueckgabe: Fehler des verfahrens, d.h. Nicht-Konvergenz. Das gefundene Buegelsystem wird nicht mehr exportiert.

Here is the call graph for this function:

cv::Vec2d vr::FrontAspect::XClampToXIm ( const cv::Vec3d &  XClamp) const

berechnet aus Buegelkoordinaten OpenCV-Bildkoordinaten in Pixeln fuer das Bild, mit dem engine initialisiert wurde. D.h. gegenueber den Koords v. XCamF wird x = 1/pixelsize ( Y*focalF/Z) - Bildmitte, y = 1/pixelsize (-X*focalF/Z) + Bildmitte

Here is the call graph for this function:


The documentation for this class was generated from the following files: