import pickle


def load_pixel_lookup(filename):
    """
    Returns (lookup, X, Y), the pickeled objects created by save_pixel_lookup.
    Equivalent to the arguments returned by create_pixel_lookup.
    """
    with open(filename, 'rb') as f:
        obj = pickle.load(f)
    return obj