Thanks for your wonderful work.
This function from the lego loam is used to transform Pointcloud from one frame to another. It is taking a single point from the source point cloud and then applying the transform operation on the source point and then filling the target Pointcloud in for a loop.
I want to ask if we can convert the transform operations into an Eigen matrix and then apply the transformation matrix on the whole source PointCloud in a single-shot manner (matrix multiplication) than the function should be quite fast.
Transformation matrix, T(4x4) and Source PointCloud in Homogenous format, sourcePC(4XN), then, target PointCloud, targetPC is:
targetPC = T x sourcePointCloud
What's your thought on this, what am I missing here?
Hi, @TixiaoShan and Lego-Loam team,
Thanks for your wonderful work. This function from the lego loam is used to transform Pointcloud from one frame to another. It is taking a single point from the source point cloud and then applying the transform operation on the source point and then filling the target Pointcloud in for a loop. I want to ask if we can convert the transform operations into an Eigen matrix and then apply the transformation matrix on the whole source PointCloud in a single-shot manner (matrix multiplication) than the function should be quite fast. Transformation matrix,
T(4x4)
and Source PointCloud in Homogenous format,sourcePC(4XN)
, then, target PointCloud,targetPC
is:What's your thought on this, what am I missing here?
Regards, Udit