Subsampling on axis

To post any request/idea for new functionalities
Post Reply
APOS80
Posts: 7
Joined: Wed Sep 01, 2021 6:11 pm

Subsampling on axis

Post by APOS80 »

It would be nice to subsample by length on axis.

I use it for pointclouds thats from areal photos of the ground so the hight is on Z axis.
It would help to subsample with 0,5 on X/Y axis and 0,1 on Z axis.
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Subsampling on axis

Post by daniel »

Ah, that would make the algorithm much more complicated... well, a totally different algorithm actually.
Daniel, CloudCompare admin
JacekJaskolski
Posts: 4
Joined: Fri Oct 01, 2021 9:14 am
Contact:

Re: Subsampling on axis

Post by JacekJaskolski »

You could try a workaround:
  1. scale the pointcloud along the Z axis only: x(1.0) y(1.0) z(5.0)
  2. apply subsampling (0.5)
  3. scale the cloud back: x(1.0) y(1.0) z(0.2)
This should give you a point cloud with 5 times higher density in Z than in XY
daniel
Site Admin
Posts: 7382
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Subsampling on axis

Post by daniel »

Ah, nice trick!
Daniel, CloudCompare admin
Post Reply