Hi @fazanham , recently I work on extracting ground from some city scene ply. And your code help me a lot, that's a wonderful work! But I have two questions that puzzle me for some time.
- in
TerrainFilter.cpp line 57 and line 92, I want to know why does the code calculate the convex hull before rasterization, and then determine whether each point is in the convex hull. I think convex hull is calculating by these points, so every point should in the convex hull?
- Still in
TerrainFilter.cpp line176, in double loop(i, j), rasterize is stored by that j is the row index, i is the column index, while other 2d arrays is stored by reversal ways. I wonder if some knowledge is behind the storing way?
Hope to get your reply soon:)
Hi @fazanham , recently I work on extracting ground from some city scene ply. And your code help me a lot, that's a wonderful work! But I have two questions that puzzle me for some time.
TerrainFilter.cppline 57andline 92, I want to know why does the code calculate theconvex hullbeforerasterization, and then determine whether each point is in the convex hull. I think convex hull is calculating by these points, so every point should in the convex hull?TerrainFilter.cppline176, in double loop(i, j), rasterize is stored by thatjis therow index,iis thecolumn index, while other 2d arrays is stored by reversal ways. I wonder if some knowledge is behind the storing way?Hope to get your reply soon:)