def hausdorff_result_to_dict(haudorff_result):
    """
    Converts the tuple returned by the Hausdorff distance functions to a dictionary
    for easier use.

    Args:
        haudorff_result: Tuple returned from Hausdorff distance function

    Returns:
        Dictionary version of the tuple.
    """

    return {
        "max_distance": haudorff_result[0],
        "x0": haudorff_result[1][0],
        "x0_origin": haudorff_result[1][1],
        "y0": haudorff_result[2][0],
        "y0_origin": haudorff_result[2][1]
    }