MassProperties

Points of a polydata are not defined on a rectilinear grid, so there are no pixels or slices. Instead, point coordinates are floating-point values, defined directly in the world coordinate system.

If you create polydata from image (e.g., using marching cubes) then the conversion algorithm takes into account pixel and slice spacing.