gradient calculation

Feel free to ask any question here
Post Reply
sscheidt77
Posts: 3
Joined: Fri Oct 09, 2015 5:28 pm

gradient calculation

Post by sscheidt77 »

I imported a raster of elevations into CC. I exported the z-coordinate to a scalar field, and then calculated gradient at Edit > Scalar Fields > Gradient. All units are in meters, both the cloud and scalar fields. Using the same raster of elevations, I calculated slope as a percentage in different applications (ENVI/IDL and ArcGIS). I get a different result.

I multiplied the gradients from CloudCompare by 100, and I compared their statistics and distributions. I'm attached histograms and statistics of the results. The white histogram on the left is from values calculated by CloudCompare. The red histogram on the right is from other applications.

Why is the gradient in CC approximately one half the value of percent slope calculated in other applications?

Gradient is obviously calculated differently, but only slightly, than slope in other software.
Attachments
slope_histograms.JPG
slope_histograms.JPG (112.84 KiB) Viewed 9071 times
Post Reply