def METHOD_NAME(labels_tif):
    labels = cv2.imread(labels_tif, 2)
    cell_labels = [i for i in np.unique(labels) if i > 0]
    ratios = []
    for c in cell_labels:
        one = np.where(labels == c, 1, 0).astype(np.uint8)
        contours, _ = cv2.findContours(one, mode=cv2.RETR_EXTERNAL, method=cv2.CHAIN_APPROX_NONE)
        per = cv2.arcLength(contours[0], True)
        area = np.sum(one == 1)
        ratios.append(per / area)
    ratios = np.array(ratios)
    return ratios