kaolin icon indicating copy to clipboard operation
kaolin copied to clipboard

TranslatePointCloud transform

Open pushkalkatara opened this issue 5 years ago • 2 comments

Adding a new transform function in kaolin.Transform : translatePointCloud.

In dgcnn, author have used it as a preprocessing function: https://github.com/WangYueFt/dgcnn/blob/20fdb459ca5d10fe8aba1d296e66340f65990b85/pytorch/data.py#L50

pushkalkatara avatar May 06 '20 07:05 pushkalkatara

The preprocessing function is

(pc + xyz1) * xyz2

The mulitplication operation on pointcloud can be performed through https://github.com/NVIDIAGameWorks/kaolin/blob/c3ec5484c326e83d6e1a9fdfd170b4c67343c68b/kaolin/transforms/transforms.py#L201 but the addition operation is missing. Adding translate as a transform function might be useful

pushkalkatara avatar May 06 '20 08:05 pushkalkatara

Thanks for opening this issue! This would be a nice addition, and relatively simple to implement.

krrish94 avatar May 06 '20 12:05 krrish94