I usually manually correct the automatic segmentation before to fit the grains by ellipsoid. Doing so, I created (by mistake) a grain with only 2 points. When I try to fit the grains, CloudCompare crashes without any warning. Could it be possible to stop the process before the crash or to ignore grains that are too small ?
I use Cloud Compare V2.14.Alpha (installed 04/25).
Thanks a lot !
Crash when a grain is only 2 points
Re: Crash when a grain is only 2 points
Hello
My guess is that the fitting algorithm expects a minimum number of points and runs into trouble when it encounters a grain that small. A simple safeguard to ignore undersized grains would make sense. In the meantime, you might want to consider filtering out very small grains before running the fit.
My guess is that the fitting algorithm expects a minimum number of points and runs into trouble when it encounters a grain that small. A simple safeguard to ignore undersized grains would make sense. In the meantime, you might want to consider filtering out very small grains before running the fit.