15 #ifndef VISIONTRANSFER_RECONSTRUCT3D_H 16 #define VISIONTRANSFER_RECONSTRUCT3D_H 19 #include "visiontransfer/common.h" 20 #include "visiontransfer/imagepair.h" 65 float* createPointMap(
const unsigned short* dispMap,
int width,
int height,
66 int rowStride,
const float* q,
unsigned short minDisparity = 1);
80 float* createPointMap(
const ImagePair& imagePair,
unsigned short minDisparity = 1);
105 void writePlyFile(
const char* file,
const unsigned short* dispMap,
106 const unsigned char* image,
int width,
int height,
107 int dispRowStride,
int imageRowStride,
const float* q,
108 double maxZ = std::numeric_limits<double>::max());
123 void writePlyFile(
const char* file,
const ImagePair& imagePair,
124 double maxZ = std::numeric_limits<double>::max());
Transforms a disparity map into a set of 3D points.
A set of two images, which are usually the left camera image and the disparity map.