Average Mesh and mesh scalar operations

Are there any vtk filters that support the following operations, and if there is not, would anyone be opposed to the addition of said filters into VTK?

Given a set of meshes in point correspondence:

  • Compute the average mesh (each point is the average of the corresponding points in the input meshes)
  • Compute the mean of the input meshes’ scalar values at each point
  • Compute the variance of the input meshes’ scalar values at each point
  • Compute the standard deviation of the input meshes’ scalar values at each point

Is all this over time ? The vtkAdaptiveTemporalInterpolator is close but not the same.

Not necessarily over time. From looking at the vtkAdaptiveTemporalInterpolator it is interpolating (per the name :slight_smile: ). I am more looking to enable statistical analysis across different meshes for the SlicerSALT project.

I would expect that VTK statistics classes (e.g., vtkDescriptiveStatistics) can compute these values.

Do you know of a good/built-in way to convert a vtkPolyData with scalars into a vtkTable?

There are conversion filters (...ToTable classes), but you can also add data arrays manually to a table using AddColumn() method.