This component handles a real sense RGBD camera and provides access to the color image, the depth image, and the 3D point cloud.
More...
|
org::bcom::xpcf::XPCFErrorCode | onConfigured () override |
|
FrameworkReturnCode | getNextImage (SRef< datastructure::Image > &colorImg) override |
| At the moment we are not able to deliver you only the RGB Image, as we aquiere both depth and image at the same time Please use getNextRGBDFrame() instead. More...
|
|
FrameworkReturnCode | getNextDepthFrame (SRef< datastructure::Image > &depthImg) override |
| At the moment we are not able to deliver you only the Depth Image, as we aquiere both depth and image at the same time Please use getNextRGBDFrame() instead. More...
|
|
FrameworkReturnCode | getNextRGBDFrame (SRef< datastructure::Image > &colorImg, SRef< datastructure::Image > &depthImg) override |
| Provides the last color image, depth image, corresponding 3D point cloud, and aligned images (RGB on depth and depth on RGB). If output parameters are null (nullptr), it means that the implementation, or the requested mode does not provide this feature. More...
|
|
FrameworkReturnCode | getPointCloud (SRef< datastructure::PointCloud > &pc) override |
| Provides the corresponding 3D point cloud to last depth image aquiered (getNextRGBDFrame()) Should have no effect if the user didn't call getNextRGBDFrame() beforehand. More...
|
|
FrameworkReturnCode | start () override |
| Start the acquisition device reference. More...
|
|
FrameworkReturnCode | stop () override |
| Stop the acquisition device. More...
|
|
virtual FrameworkReturnCode | alignDepthToColor (SRef< datastructure::Image > &alignedDepthImg) const override |
| Provides a depth image aligned on the color image. More...
|
|
virtual FrameworkReturnCode | alignColorToDepth (SRef< datastructure::Image > &alignedColorImg) const override |
| Provides a color image alingned on the depth image. More...
|
|
virtual datastructure::Point3Df | getPixelToWorld (const datastructure::Point2Di &inPixel) const override |
| Provides the 3D point in the depth sensor coordinate system corresponding to a given pixel of the color image. More...
|
|
virtual datastructure::Point2Di | getWorldToPixel (const datastructure::CloudPoint &in3DPoint) const override |
| Provides the pixel of the color image to the projection of a given 3D point. More...
|
|
virtual std::vector< datastructure::Point2Df > | getWorldToPixels (const std::vector< SRef< datastructure::CloudPoint > > &in3DPoints) const override |
| Provides the pixels of the color image to the projection of given 3D points. More...
|
|
void | setResolution (const datastructure::Sizei &resolution) override |
| Set the color image resolution of the acquisition device.
|
|
FrameworkReturnCode | setDepthResolution (datastructure::Sizei resolution) override |
| Set the depth image resolution of the acquisition device.
|
|
void | setIntrinsicParameters (const datastructure::CamCalibration &intrinsic_parameters) override |
| Set the intrinsic RGB camera parameters.
|
|
FrameworkReturnCode | setIntrinsicDepthParameters (const datastructure::CamCalibration &intrinsic_parameters) override |
| Set the intrinsic parameters of the depth camera.
|
|
void | setDistortionParameters (const datastructure::CamDistortion &distortion_parameters) override |
| Set the distortion intrinsic parameters of the RGB camera.
|
|
FrameworkReturnCode | setDistortionDepthParameters (const datastructure::CamDistortion &distortion_parameters) override |
| Set the distortion intrinsic parameters of the depth camera.
|
|
void | setParameters (const datastructure::CameraParameters ¶meters) override |
| Set the distortion intrinsic camera parameters.
|
|
datastructure::Sizei | getResolution () const override |
| Get the image resolution of the RGB acquisition device.
|
|
datastructure::Sizei | getDepthResolution () const override |
| Get the image resolution of the depth acquisition device.
|
|
float | getDepthMinDistance () const override |
| Get the min acquisition distance of the device.
|
|
const datastructure::CamCalibration & | getIntrinsicsParameters () const override |
|
const datastructure::CameraParameters & | getParameters () const override |
|
const datastructure::CamCalibration & | getIntrinsicsDepthParameters () const override |
|
const datastructure::CamDistortion & | getDistortionParameters () const override |
|
const datastructure::CamDistortion & | getDistortionDepthParameters () const override |
|
void | unloadComponent () override final |
|
This component handles a real sense RGBD camera and provides access to the color image, the depth image, and the 3D point cloud.
- Properties
rgb_width | |
type: int; range : [0..MAX INT]; default: 0 |
rgb_height | |
type: int; range : [0..MAX INT]; default: 0 |
rgb_framerate | |
type: int; range : [0..MAX INT]; default: 30 |
depth_width | |
type: int; range : [0..MAX INT]; default: 0 |
depth_height | |
type: int; range : [0..MAX INT]; default: 0 |
depth_framerate | |
type: int; range : [0..MAX INT]; default: 30 |
depth_colorize | call rs2::colorizer if >= 0 |
type: int; range : [MIN INT..MAX INT]; default: -1 |
depth_minimum | |
type: float; range : [0..MAX FLOAT]; default: 0.105f |