Generalized blit to work on color images
Fixed binding error in CV.Transforms.distanceTransform