Rasterize - best fit plane

Feel free to ask any question here
Post Reply
Vit
Posts: 2
Joined: Tue Aug 06, 2024 4:04 pm
Location: Prague, Czech rep.

Rasterize - best fit plane

Post by Vit »

Hi, would it be possible for the Rasterize tool to calculate the cell height from the best fit plane? In the case of resampling the input cloud, the height would correspond to the position of the point on this plane. Or there is another trick for that. Thanks. Vit.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Rasterize - best fit plane

Post by daniel »

You can export the raster as a cloud, and then fit a plane on it, and eventually compute the distances to this plane?
Daniel, CloudCompare admin
Vit
Posts: 2
Joined: Tue Aug 06, 2024 4:04 pm
Location: Prague, Czech rep.

Re: Rasterize - best fit plane

Post by Vit »

daniel wrote: Tue Aug 06, 2024 6:50 pm You can export the raster as a cloud, and then fit a plane on it, and eventually compute the distances to this plane?
Hi, thanks for the reply. I need to calculate the best fit plane for each cell in the raster separately and derive the height of the raster point from it. Simply add the best fit plane option to the cell height options: maximum, minimum, average, median. It would be beneficial for decimation of ground surfaces. The mean or median is skewed by the distribution of points in the original cloud. Especially with sparse clouds or at the edges.
Thanks.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Rasterize - best fit plane

Post by daniel »

Ah ok, understood.

Someone would need to add that to the code.
Daniel, CloudCompare admin
Post Reply