An interface for retrieving intrinsic parameter from a depth camera. More...
#include <yarp/dev/IDepthVisualParams.h>
Inheritance diagram for yarp::dev::IDepthVisualParams:Public Member Functions | |
| virtual | ~IDepthVisualParams () |
| virtual int | getDepthHeight ()=0 |
| Return the height of each frame. | |
| virtual int | getDepthWidth ()=0 |
| Return the height of each frame. | |
| virtual yarp::dev::ReturnValue | getDepthResolution (int &width, int &height)=0 |
| Get the resolution of the depth image from the camera. | |
| virtual yarp::dev::ReturnValue | setDepthResolution (int width, int height)=0 |
| Set the resolution of the depth image from the camera. | |
| virtual yarp::dev::ReturnValue | getDepthFOV (double &horizontalFov, double &verticalFov)=0 |
| Get the field of view (FOV) of the depth camera. | |
| virtual yarp::dev::ReturnValue | setDepthFOV (double horizontalFov, double verticalFov)=0 |
| Set the field of view (FOV) of the depth camera. | |
| virtual yarp::dev::ReturnValue | getDepthIntrinsicParam (yarp::sig::IntrinsicParams &intrinsic)=0 |
| Get the intrinsic parameters of the depth camera. | |
| virtual yarp::dev::ReturnValue | getDepthAccuracy (double &accuracy)=0 |
| Get the minimum detectable variation in distance [meter]. | |
| virtual yarp::dev::ReturnValue | setDepthAccuracy (double accuracy)=0 |
| Set the minimum detectable variation in distance [meter] when possible. | |
| virtual yarp::dev::ReturnValue | getDepthClipPlanes (double &nearPlane, double &farPlane)=0 |
| Get the clipping planes of the sensor. | |
| virtual yarp::dev::ReturnValue | setDepthClipPlanes (double nearPlane, double farPlane)=0 |
| Set the clipping planes of the sensor. | |
| virtual yarp::dev::ReturnValue | getDepthMirroring (bool &mirror)=0 |
| Get the mirroring setting of the sensor. | |
| virtual yarp::dev::ReturnValue | setDepthMirroring (bool mirror)=0 |
| Set the mirroring setting of the sensor. | |
An interface for retrieving intrinsic parameter from a depth camera.
Definition at line 20 of file IDepthVisualParams.h.
|
virtualdefault |
|
pure virtual |
Get the minimum detectable variation in distance [meter].
| accuracy | will return the sensor resolution in meters. |
Implemented in FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Get the clipping planes of the sensor.
| nearPlane | minimum distance at which the sensor start measuring. Object closer than this distance will not be detected. |
| farPlane | maximum distance beyond which the sensor stop measuring. Object farther than this distance will not be detected. |
Implemented in RGBDSensor_nwc_yarp, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, and depthCameraDriver.
|
pure virtual |
Get the field of view (FOV) of the depth 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 realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Return the height of each frame.
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Get the intrinsic parameters of the depth camera.
| intrinsic | return a yarp::sig::IntrinsicParams containing intrinsic parameters of the optical model of the camera. |
Implemented in FakeDepthCameraDriver_mini, and RGBDSensor_nwc_yarp.
|
pure virtual |
Get the mirroring setting of the sensor.
| mirror | true if image is mirrored, false otherwise |
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Get the resolution of the depth image from the camera.
| width | image width |
| height | image height |
Implemented in FakeDepthCameraDriver_mini, and RGBDSensor_nwc_yarp.
|
pure virtual |
Return the height of each frame.
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Set the minimum detectable variation in distance [meter] when possible.
| the | desired resolution in meters. |
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Set the clipping planes of the sensor.
| nearPlane | minimum distance at which the sensor start measuring. Object closer than this distance will not be detected. |
| farPlane | maximum distance beyond which the sensor stop measuring. Object farther than this distance will not be detected. |
Implemented in RGBDSensor_nwc_yarp, realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, and depthCameraDriver.
|
pure virtual |
Set the field of view (FOV) of the depth 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 realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Set the mirroring setting of the sensor.
| mirror | true if image should be mirrored, false otherwise |
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.
|
pure virtual |
Set the resolution of the depth image from the camera.
| width | image width |
| height | image height |
Implemented in realsense2Driver, RgbdSensor_nwc_ros2, FakeDepthCameraDriver_mini, RGBDSensor_nwc_yarp, and depthCameraDriver.