#include <CameraInfo.h>
Collaboration diagram for CameraInfo:
Public Member Functions | |
CameraInfo () | |
Default constructor. | |
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 |
Vector2< double > | opticalCenter |
double | secondOrderRadialDistortion |
double | fourthOrderRadialDistortion |
double | focalLenPow2 |
double | focalLenPow4 |
bool | simulated |
Was the image generated by the simulator? |
Definition at line 66 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, fourthOrderRadialDistortion_ERS7, openingAngleHeight_ERS7, openingAngleWidth_ERS7, opticalCenterX_ERS7, opticalCenterY_ERS7, and secondOrderRadialDistortion_ERS7. Referenced by GT2004HeadControl::GT2004HeadControl(). |
|
Constructor.
Definition at line 28 of file CameraInfo.cpp. References cameraResolutionHeight_ERS210, cameraResolutionHeight_ERS7, cameraResolutionWidth_ERS210, cameraResolutionWidth_ERS7, focalLength_ERS210, focalLength_ERS7, fourthOrderRadialDistortion_ERS210, fourthOrderRadialDistortion_ERS7, openingAngleHeight_ERS210, openingAngleHeight_ERS7, openingAngleWidth_ERS210, openingAngleWidth_ERS7, opticalCenterX_ERS210, opticalCenterX_ERS7, opticalCenterY_ERS210, opticalCenterY_ERS7, secondOrderRadialDistortion_ERS210, and secondOrderRadialDistortion_ERS7. |
|
|
|
|
|
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 90 of file CameraInfo.h. Referenced by Geometry::angleSizeToPixelSize(), GT2004ImageProcessor::execute(), GT2004FlagSpecialist::getFlagPercept(), operator<<(), operator>>(), GT2004BallSpecialist::searchBall(), GT2004FlagSpecialist::searchFlags(), and Image::setCameraInfo(). |
|
Definition at line 91 of file CameraInfo.h. Referenced by GT2004FlagSpecialist::getFlagPercept(), operator>>(), Geometry::pixelSizeToAngleSize(), GT2004BallSpecialist::searchBall(), GT2004FlagSpecialist::searchFlags(), and Image::setCameraInfo(). |
|
Definition at line 92 of file CameraInfo.h. Referenced by GT2004ImageProcessor::execute(), GT2004FlagSpecialist::getFlagPercept(), operator<<(), operator>>(), Geometry::radialDistortionCorrection(), GT2004BallSpecialist::searchBall(), GT2004FlagSpecialist::searchFlags(), and Image::setCameraInfo(). |
|
Definition at line 93 of file CameraInfo.h. Referenced by operator<<(), operator>>(), Geometry::radialDistortionCorrection(), and Image::setCameraInfo(). |
|
Definition at line 94 of file CameraInfo.h. Referenced by operator<<(), operator>>(), Geometry::radialDistortionCorrection(), and Image::setCameraInfo(). |
|
Definition at line 95 of file CameraInfo.h. Referenced by operator<<(), operator>>(), Geometry::radialDistortionCorrection(), and Image::setCameraInfo(). |
|
Definition at line 96 of file CameraInfo.h. Referenced by operator<<(), operator>>(), Geometry::radialDistortionCorrection(), and Image::setCameraInfo(). |
|
Was the image generated by the simulator?
Definition at line 99 of file CameraInfo.h. Referenced by operator<<(), operator>>(), Geometry::rayFromCamera(), and Image::setCameraInfo(). |