Step in Rasterize function

Feel free to ask any question here
Post Reply
Sile
Posts: 21
Joined: Tue Oct 10, 2017 3:40 pm

Step in Rasterize function

Post by Sile »

From my understanding, the step function is starting from the bottom and then working its way up to the top of the point cloud identifying each point it comes in contact with and saving its height value. If a point is located between a step, is the point given a height value of zero?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Step in Rasterize function

Post by daniel »

Hum, not really.

Each point is projected in the nearest grid cell (each cell as a dimension of 'step' x 'step'). Basically you divide the coordinate expressed relatively to a corner of the grid and you divide it by 'step', and then you keep the integer part to deduce the cell position in the grid.

And we 'add' the height of each point to the corresponding cell, depending on the current parameter (we keep either the lowest, the highest or the average height).
Daniel, CloudCompare admin
Sile
Posts: 21
Joined: Tue Oct 10, 2017 3:40 pm

Re: Step in Rasterize function

Post by Sile »

Is it possible then for a point in the middle of a tree to be recognized as a base point, therefore dropping it to the ground when creating a DSM ?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Step in Rasterize function

Post by daniel »

As usual, I'm not sure to understand ;D
Daniel, CloudCompare admin
Sile
Posts: 21
Joined: Tue Oct 10, 2017 3:40 pm

Re: Step in Rasterize function

Post by Sile »

I am sure you are aware that this is related to creating the DSM from the other question forum. I set a step of 0.0025 to maximize the resolution. When I change the scalar field property to "height range". Some of my points in various heights on each tree stem turn blue, indicating they are ground points. When I set the scalar field to Z coordinates, those blue points drop to the ground, leaving me a lesser resolute tree.
Attachments
c (1).jpg
c (1).jpg (35.27 KiB) Viewed 4070 times
b (1).jpg
b (1).jpg (64.94 KiB) Viewed 4070 times
a (2).jpg
a (2).jpg (47.38 KiB) Viewed 4070 times
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Step in Rasterize function

Post by daniel »

If you set a too small grid step, then there's a chance that only one point that falls inside a cell. Or even if there's several points, there's a good chance they will all be very close to each other (in altitude). In this case, the 'height difference' inside the cells will be very small.
Daniel, CloudCompare admin
Post Reply