def f(slide, line, shape_slide_level):
    """
    Modified function from package useful_wsi.
    Instead of a taken a point, this function takes a table line.
    Parameters
    ----------
    slide : wsi object,
        openslide object from which we extract.
    line : dictionnary like object,
        this line has two options: Centroid_x and Centroid_y
        corresponding to a point_l at a given level dimension.
    level : int,
        level of the associated point.
    shape_slide_level : tuple of integer,
        corresponding to the size of the slide at level 'level'.
    Returns
    -------
    Returns the coordinates at a resolution level 
    of a given nuclei whose coordinates are at a level 0.
    """
    x_0, y_0 = (line["Centroid_x"], line["Centroid_y"])

    size_x_l = shape_slide_level[1]
    size_y_l = shape_slide_level[0]
    size_x_0 = float(slide.level_dimensions[0][0])
    size_y_0 = float(slide.level_dimensions[0][1])

    x_l = x_0 * size_x_l / size_x_0
    y_l = y_0 * size_y_l / size_y_0

    point_l = (round(x_l), round(y_l))

    return point_l