from typing import Tuple


def center_coord(image_size: int, subimage_size: int) -> Tuple[int, int]:
    """Center a subimage in image along some axis, given image and subimage sizes."""
    x0 = (image_size - subimage_size) // 2
    x1 = x0 + subimage_size
    return x0, x1