Namespace: Rx::LFR – Class: CExport – Header: Rx.LFR/Export.h

CExport::SavePointListPCD Static Method

C++
static void SavePointListPCD(const CRxString& sxFile, const CRxImage& xImgFocus, const CRxImage& xImgDepth3D, bool bUseVD, const double* pdCropXY)

Saves the 3D point list provided by the given 3D depth image to binary PCD format. Uses the Total Focus image as color values for each point in the data.

Point Cloud Data: http://pointclouds.org/documentation/tutorials/pcd_file_format.php.

Parameters

[const CRxString&] sxFile

[in] The output file name.

[const CRxImage&] xImgFocus

[in] The total focus image used as color values for each point in the data. Must be of type RGBA unsigned char or luminance unsigned char.

[const CRxImage&] xImgDepth3D

[in] The 3D depth image. Must be of type RGBA float.

[bool] bUseVD

[in] True to save the mesh in virtual depth units instead of metric units.

[const double*] pdCropXY

(Optional) [in] Pointer to 4 double values defining a mesh crop in X and Y. The values must be given in percentage of the image dimension in the order: Left, Right, Top, Bottom.