from typing import Tuple


def get_center(frame_size: Tuple[int, int]) -> Tuple[float, float]:
    """
    Using the frame size of an image, determine the precise position
    of its center in the usual coordinate system that we place on our
    data: The *center* of the pixel in the bottom left corner of the
    image is defined as (0, 0), so the bottom left corner of the
    image is located at (-0.5, -0.5).

    This function is essentially a simplified port of the corresponding
    PynPoint function :py:func:`pynpoint.util.image.center_subpixel()`.

    Args:
        frame_size: A tuple of integers `(x_size, y_size)` specifying
            the size of the images (in pixels).

    Returns:
        A tuple of floats, `(center_x, center_y)` containing the
        position of the center of the image.
    """

    return frame_size[0] / 2 - 0.5, frame_size[1] / 2 - 0.5