25#include <VisionX/interface/components/Calibration.h>
27#include <Image/ImageProcessor.h>
28#include <rc_genicam_api/device.h>
29#include <rc_genicam_api/stream.h>
33 using DevicePtr = std::shared_ptr<rcg::Device>;
34 using StreamPtr = std::shared_ptr<rcg::Stream>;
79 const uint8_t* inputPixels,
85 fillCameraImageRGB(
unsigned char* outputPixels,
size_t nImage,
const rcg::Image& inputRgb);
90 const rcg::Image& disparity,
98 std::shared_ptr<GenApi::CNodeMapRef>
nodemap;
This class contains common implementation for RCImageProvider and RCPointCloudProvider.
CByteImage ** cameraImages
void enableDisparity(bool enabled)
visionx::StereoCalibration stereoCalibration
void enableError(bool enabled)
void enableIntensityCombined(bool enabled)
std::shared_ptr< GenApi::CNodeMapRef > nodemap
bool initDevice(const std::string &dname)
void printNodeMap() const
void enableConfidence(bool enabled)
CByteImage ** smallImages
void enableIntensity(bool enabled)
void setupStreamAndCalibration(float scalefactor, const std::string &calibSavePath)
visionx::ImageDimension dimensions
static void fillCameraImageDepth(unsigned char *outputPixels, double f, double t, double scale, const rcg::Image &disparity, size_t upscale=1)
static void fillCameraImageRGB(unsigned char *outputPixels, size_t nImage, const uint8_t *inputPixels, size_t width, size_t height, uint64_t pixelFormat, size_t xpadding)
std::shared_ptr< rcg::Stream > StreamPtr
std::shared_ptr< rcg::Device > DevicePtr