def extract_data(image, i, lut):
    """
    Extract and return image data for given measurement point.
    """
    crop = image.crop(lut.cell_center(i, 6))
    data = list(crop.getdata())
    return data
