Double counting due to tile overlap #32
-
Hi Thomas and all, I have been using raycloudtools to extract volume estimates from my TLS data. To do this, I have tiled my data and introduced and overlap, currently set to 5m. In these areas, I am finding that some structures are getting segmented to multiple trees, depending on which tile it is in. This means, some structures are being reconstructed multiple times, which is causing issues for my volume estimates from the plot. Initially, I thought this was just for full trees, and I filtered out these cases by only selecting one tree in instances where there were multiple trunks bases in the same location. However, it is not only these cases, but also situations where branches are assigned to 1 tree in 1 tile and to another tree in the second. Therefore, there is no metadata to signify that the points are assigned to multiple structures so they are difficult to filter. I was wondering if anyone had come across this issue and had thoughts for solving it? My initial ideas revolve around finding a common volume in the resultant tree mesh structures, but this will be quite complex to implement and require a sort of arbitrary threshold to determine what overlap is considered significant. I thought it would be best to ask if any solutions had been integrated into this toolkit that I had missed, to avoid "reinventing the wheel". Any advice from developers or users would be very much appreciated! All the best, Matthew |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Matthew, I'd like to help you resolve this, but I'm having difficulty picturing the problem. If you are able to send test data or a screen shot it might help. Just to check we're on the same page: If you have done this and all trees are less than 5m in crown radius then it sounds like a bug and I'd probably need to see pictures or get some data in order to figure out what is happening. Happy to help. |
Beta Was this translation helpful? Give feedback.
That's correct Matthew. To be clear here's a diagram for your example:
Grid cells are centred at multiples of 10m x 10m, so if you aren't using raysplit grid then you need your tiling to do the same. If you can't retile in that fashion then you could just translate before running rayextract trees (e.g. raytranslate cell_x_y.ply -5,-5,0) then translate the results back (treetranslate cell_x_y_trees.txt 5,5,0).
And the overlap is 5m, so each enlarged cell is only expanded by 2.5 m. So the crown radii should be under 2.5 m.