DistanceTransform preprocessing contd. (normalizing to be implemented)