curvature flow smoothing extracted from region growing transform