Metrics calculator for pedodetec