Extracting statistical values from a scalar heatmap on vtk model

I used the model-to-model distance extension to create a scalar model as a VTK file. Is there a way to extract the mean and standard deviation of the distances from the file?

I was able to do it using Paraview and then exporting the information