def find_image_center(xsize,ysize):
    """
    Find the pixel coordinates of the image center
    """

    if xsize % 2 == 0:
        cen_x = (xsize+1)/2.0
    else:
        cen_x = xsize/2.0

    if ysize % 2 == 0:
        cen_y = (ysize+1)/2.0
    else:
        cen_y = ysize/2.0

    return (cen_x, cen_y)