Trimble Business Center

 View Only
Expand all | Collapse all

Point Cloud Sampling issue

  • 1.  Point Cloud Sampling issue

    Posted 11-06-2024 23:45

    Hi All, 

    I noticed some issuses with point cloud sampling...

    I have some scans from SX12 and i would like to sample point cloud to 0.10m 

    Screen of original cloud below. measured distance between points around 0.24m

    After sampling i got something like this : 

    Why TBC is sampling points where distance are bigger than my expected value?? 

    Point cloud around 26 000 000pts

    Algorithm of sampling set to 100 000 000pts

    Help please ! 



    ------------------------------
    Marek Lepkowski
    ------------------------------


  • 2.  RE: Point Cloud Sampling issue

    Posted 11-07-2024 20:11
    Edited by Ronny Schneider 11-07-2024 20:11

    Did you run classify/refining before attempting the sampling?

    I see the same behavior with SX10 data in some but not all scan projects. Can't put my finger on what is triggering the wrong sampling.

    Current workaround seems to be to export the cloud i.e. as LAZ and bring it into another project, and hence cutting the connection to the SX10.



    ------------------------------
    Ronny Schneider
    ------------------------------



  • 3.  RE: Point Cloud Sampling issue

    Posted 11-08-2024 01:22
    Edited by Marek Lepkowski 11-08-2024 01:36

    Hi Ronny,

    Point Cloud classified and refined. 

    Exported to .laz, imported to new project but unfortunetely got same results.

    Im losing points after sampling... 

    For this moment, i have to add points manually to surface from not sampled cloud in places where TBC remove important points...



    ------------------------------
    Marek Lepkowski
    ------------------------------



  • 4.  RE: Point Cloud Sampling issue

    Posted 11-19-2024 15:22

    Hi Marek,

    TBC's spatial sampling is designed to thin out points for an even distribution, but that can sometimes lead to distances between points being larger than you'd like. If your point cloud is pretty big, TBC might first apply a reduction step, which is controlled by the Max number of points setting in the Project Options. This initial thinning can mess with the uniformity, especially in areas where the point density varies.

    The algorithm tries to keep things evenly spaced, but in some directions, the measurements to neighboring points might end up larger than expected. So, as a result of thinning, distances might go beyond the desired tolerance, especially in spots where the data is less dense.

    If you could let me know what version of TBC you're using and share the point cloud data, I'd be happy to help more.

    R



    ------------------------------
    Ramin Rad
    ------------------------------



  • 5.  RE: Point Cloud Sampling issue

    Posted 11-21-2024 01:23
    Edited by Marek Lepkowski 11-21-2024 04:52

    Hi Ramin,

    I tried cloud sampling in TBC 2024.00 and also v5.0 

    Point cloud spatial sampling in Project Options = 100 000 000pts

    Result was the same. 

    I made some tests to check when TBC works correctly with sampling.

    Firstly, I sampled my point cloud in Trimble Realworks (old version 11.3) to get theoretical number of points. (Sampling in Realworks works without issues)

    Realworks:  25 938 930pts / sampling 0.10m  =  664 007pts

    TBC: 25 938 830pts / sampling 0.10m = 447 903pts

    Nextly I split my point cloud to 3 parts, station 1-8; 9-14; 15-20

    Part 1 (Station 1-3)

    Realworks: 10 513 688pts / sampling 0.10m = 266 500pts

    TBC: 10 513 688pts / sampling 0.10m = 260805pts

    Part 2 (Station 9-14)

    Realworks: 7 216 010pts / sampling 0.10m = 204 589pts

    TBC: 7 216 010pts / sampling 0.10m = 204 639pts

    Part 3 (Station 15-20)

    Realworks: 8 209 132pts / sampling 0.10m = 193 084pts

    TBC: 8 209 132pts / sampling 0.10m = 193 053pts

    We can notice it looks fine wih Part 2 and Part 3. Part 1 difference around 6000pts. 

    Finally I merged Part2 (station 9-14) with Part3 (station 15-20) 

    Realworks: 15 435 142pts / sampling 0.10m = 397 560pts

    TBC: 15 435 142pts / sampling 0.10m = 333 035pts

    My conclusion: 

    TBC works correctly only with small parts of point cloud - up to 10 000 000pts ?  

    I'm not happy about that, it causes extra work which i would like to avoid... 

    Point cloud below:

    https://drive.google.com/file/d/1sk3fkoc9Ou2VGXl9q6J8hpiSvzMwGkZZ/view?usp=sharing

    PS.

    I noticed also if you have more than 10 000 000 points of cloud in one TBC project, sampling doesn't work correctly even if you select a smaller cloud segment...

    ------------------------------
    Marek Lepkowski
    ------------------------------



  • 6.  RE: Point Cloud Sampling issue

    Posted 11-22-2024 08:15

    I would also suggest that you check your preferences/options and TBC to make sure that you are using the maximum amount of ram it's in the point cloud section underneath the options. If you type 100 in the ram field and tap tab, You'll see a number that is almost exactly 50% of your total ram. I would say the bare minimum is 32 gigs of ram to run TBC with point clouds (leaving roughly 16gb for TBC alone). 



    ------------------------------
    Zach Edwards
    ------------------------------



  • 7.  RE: Point Cloud Sampling issue

    Posted 11-22-2024 09:39
    I have 64GB, in options 32.
     
    In my opinion this is a software bug.
     
    Checked on several different workstations and versions of TBC..


    ------------------------------
    Marek Lepkowski
    ------------------------------



  • 8.  RE: Point Cloud Sampling issue

    Posted 11-22-2024 18:59

    Thanks for pointing this out and sharing all the details-it definitely looks like something odd is going on. We'll dig into this and see what's causing the issue. I'll keep you posted once we've had a closer look.

    R



    ------------------------------
    Ramin Rad
    ------------------------------