#include <CameraInfo.h>
Inheritance diagram for CameraInfo:


Public Member Functions | |
| CameraInfo () | |
| Default constructor. | |
| virtual void | serialize (In *in, Out *out) |
| CameraInfo (RobotDesign::Design robotDesign) | |
| Constructor. | |
Public Attributes | |
| int | resolutionWidth |
| int | resolutionHeight |
| double | openingAngleWidth |
| double | openingAngleHeight |
| double | focalLength |
| Intrinsic camera parameters: axis skew is modelled as 0 (90° perfectly orthogonal XY) and the same has been modeled for focal axis aspect ratio; distortion is considering only 2nd and 4th order coefficients of radial model, which account for about 95% of total. | |
| double | focalLengthInv |
| double | focalLengthMM |
| double | pixelPerMM |
| Vector2< double > | opticalCenter |
| double | secondOrderRadialDistortion |
| double | fourthOrderRadialDistortion |
| double | focalLenPow2 |
| double | focalLenPow4 |
| bool | simulated |
| Was the image generated by the simulator? | |
Definition at line 72 of file CameraInfo.h.
|
|
Default constructor. Sets the parameters for the ERS-7. Definition at line 12 of file CameraInfo.cpp. References cameraResolutionHeight_ERS7, cameraResolutionWidth_ERS7, focalLength_ERS7, focalLengthMM_ERS7, fourthOrderRadialDistortion_ERS7, openingAngleHeight_ERS7, openingAngleWidth_ERS7, opticalCenterX_ERS7, opticalCenterY_ERS7, pixelPerMM_ERS7, and secondOrderRadialDistortion_ERS7. Referenced by VLCRobotSpecialist::addPercept(), GT2005RobotSpecialist::addPercept(), VLCRobotSpecialist::clusterCandidates(), GT2005RobotSpecialist::clusterCandidates(), VLCRobotSpecialist::generatePercept(), GT2005RobotSpecialist::generatePercept(), GT2005HeadControl::GT2005HeadControl(), VLCRobotSpecialist::scan(), and GT2005RobotSpecialist::scan(). |
|
|
Constructor.
Definition at line 30 of file CameraInfo.cpp. References cameraResolutionHeight_ERS210, cameraResolutionHeight_ERS7, cameraResolutionWidth_ERS210, cameraResolutionWidth_ERS7, focalLength_ERS210, focalLength_ERS7, focalLengthMM_ERS210, focalLengthMM_ERS7, fourthOrderRadialDistortion_ERS210, fourthOrderRadialDistortion_ERS7, openingAngleHeight_ERS210, openingAngleHeight_ERS7, openingAngleWidth_ERS210, openingAngleWidth_ERS7, opticalCenterX_ERS210, opticalCenterX_ERS7, opticalCenterY_ERS210, opticalCenterY_ERS7, pixelPerMM_ERS210, pixelPerMM_ERS7, secondOrderRadialDistortion_ERS210, and secondOrderRadialDistortion_ERS7. |
|
||||||||||||
|
Implements Streamable. Definition at line 81 of file CameraInfo.h. References focalLength, focalLengthInv, focalLengthMM, focalLenPow2, focalLenPow4, fourthOrderRadialDistortion, openingAngleHeight, openingAngleWidth, opticalCenter, pixelPerMM, resolutionHeight, resolutionWidth, secondOrderRadialDistortion, simulated, STREAM, STREAM_REGISTER_BEGIN, and STREAM_REGISTER_FINISH. |
|
|
|
|
Definition at line 109 of file CameraInfo.h. Referenced by GT2005BasicBehaviorDirectedScanForLandmarks::execute(), serialize(), Image::setCameraInfo(), and GT2005HeadControl::simpleLookAtPointRelativeToRobot(). |
|
|
Definition at line 110 of file CameraInfo.h. Referenced by serialize(), Image::setCameraInfo(), and GT2005HeadControl::simpleLookAtPointRelativeToRobot(). |
|
|
Intrinsic camera parameters: axis skew is modelled as 0 (90° perfectly orthogonal XY) and the same has been modeled for focal axis aspect ratio; distortion is considering only 2nd and 4th order coefficients of radial model, which account for about 95% of total.
Definition at line 116 of file CameraInfo.h. Referenced by Geometry::angleSizeToPixelSize(), VLCImageProcessor::execute(), SlamImageProcessor::execute(), GT2005ImageProcessor::execute(), VLCFlagSpecialist::getFlagPercept(), SlamFlagSpecialist::getFlagPercept(), GT2005FlagSpecialist::getFlagPercept(), VLCBallSpecialist::searchBall(), GT2005BallSpecialist::searchBall(), VLCFlagSpecialist::searchFlags(), SlamFlagSpecialist::searchFlags(), GT2005FlagSpecialist::searchFlags(), serialize(), and Image::setCameraInfo(). |
|
|
|
Definition at line 118 of file CameraInfo.h. Referenced by serialize(). |
|
|
Definition at line 119 of file CameraInfo.h. Referenced by serialize(). |
|
|
|
Definition at line 121 of file CameraInfo.h. Referenced by Geometry::radialDistortionCorrection(), serialize(), and Image::setCameraInfo(). |
|
|
Definition at line 122 of file CameraInfo.h. Referenced by Geometry::radialDistortionCorrection(), serialize(), and Image::setCameraInfo(). |
|
|
Definition at line 123 of file CameraInfo.h. Referenced by Geometry::radialDistortionCorrection(), serialize(), and Image::setCameraInfo(). |
|
|
Definition at line 124 of file CameraInfo.h. Referenced by Geometry::radialDistortionCorrection(), serialize(), and Image::setCameraInfo(). |
|
|
Was the image generated by the simulator?
Definition at line 127 of file CameraInfo.h. Referenced by Geometry::rayFromCamera(), serialize(), and Image::setCameraInfo(). |
1.3.6