replaced LabelStatisticsImageFilter with LabelImageToStatisticsLabelMapFilter