An interface for retrieving intrinsic parameter from a rgb camera. More...
#include <yarp/dev/IRgbVisualParams.h>
Inheritance diagram for yarp::dev::IRgbVisualParams:Public Member Functions | |
| virtual | ~IRgbVisualParams () |
| virtual int | getRgbHeight ()=0 |
| Return the height of each frame. | |
| virtual int | getRgbWidth ()=0 |
| Return the width of each frame. | |
| virtual yarp::dev::ReturnValue | getRgbSupportedConfigurations (std::vector< yarp::dev::CameraConfigData > &configurations)=0 |
| Get the possible configurations of the camera. | |
| virtual yarp::dev::ReturnValue | getRgbResolution (int &width, int &height)=0 |
| Get the resolution of the rgb image from the camera. | |
| virtual yarp::dev::ReturnValue | setRgbResolution (int width, int height)=0 |
| Set the resolution of the rgb image from the camera. | |
| virtual yarp::dev::ReturnValue | getRgbFOV (double &horizontalFov, double &verticalFov)=0 |
| Get the field of view (FOV) of the rgb camera. | |
| virtual yarp::dev::ReturnValue | setRgbFOV (double horizontalFov, double verticalFov)=0 |
| Set the field of view (FOV) of the rgb camera. | |
| virtual yarp::dev::ReturnValue | getRgbIntrinsicParam (yarp::sig::IntrinsicParams &intrinsic)=0 |
| Get the intrinsic parameters of the rgb camera. | |
| virtual yarp::dev::ReturnValue | getRgbMirroring (bool &mirror)=0 |
| Get the mirroring setting of the sensor. | |
| virtual yarp::dev::ReturnValue | setRgbMirroring (bool mirror)=0 |
| Set the mirroring setting of the sensor. | |
An interface for retrieving intrinsic parameter from a rgb camera.
Definition at line 33 of file IRgbVisualParams.h.
|
virtualdefault |
|
pure virtual |
Get the field of view (FOV) of the rgb camera.
| horizontalFov | will return the value of the horizontal fov in degrees |
| verticalFov | will return the value of the vertical fov in degrees |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Return the height of each frame.
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Get the intrinsic parameters of the rgb camera.
| intrinsic | return a yarp::sig::IntrinsicParams containing intrinsic parameters of the optical model of the camera. |
Implemented in FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, USBCameraDriver, and V4L_camera.
|
pure virtual |
Get the mirroring setting of the sensor.
| mirror | true if image is mirrored, false otherwise |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Get the resolution of the rgb image from the camera.
| width | image width |
| height | image height |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Get the possible configurations of the camera.
| configurations | list of camera supported configurations as CameraConfig type |
Implemented in FrameGrabberCropper, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Return the width of each frame.
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Set the field of view (FOV) of the rgb camera.
| horizontalFov | will set the value of the horizontal fov in degrees |
| verticalFov | will set the value of the vertical fov in degrees |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Set the mirroring setting of the sensor.
| mirror | true if image should be mirrored, false otherwise |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.
|
pure virtual |
Set the resolution of the rgb image from the camera.
| width | image width |
| height | image height |
Implemented in argusCameraDriver, pylonCameraDriver, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, FakeFrameGrabber, FrameGrabberCropper, FrameGrabber_nwc_yarp, RGBDSensor_nwc_yarp, depthCameraDriver, USBCameraDriver, and V4L_camera.