def METHOD_NAME(img, vertices_lst, tri):
    """cython version for depth image render"""
    h, w = img.shape[:2]
    c = 1
    depths_img = np.zeros((h, w, c))
    for i in range(len(vertices_lst)):
        vertices = vertices_lst[i]
        z = vertices[2, :]
        z_min, z_max = min(z), max(z)
        vertices[2, :] = (z - z_min) / (z_max - z_min)
        z = vertices[2:, :]
        depth_img = crender_colors(vertices.T, tri.T, z.T, h, w, 1)
        depths_img[depth_img > 0] = depth_img[depth_img > 0]
    depths_img = depths_img.squeeze() * 255
    return depths_img