def get_overlay_name(segmentation_name):
    """Get the appropriate name for an overlay."""
    splitted = segmentation_name.split('.')
    splitted[-2] = splitted[-2] + '-overlay'
    output_path = '.'.join(splitted)
    return output_path