def METHOD_NAME():
    template = diamond(2)
    image = np.zeros((10, 10))
    image[2:7, :3] = template[:, -3:]
    result = match_template(image, template, pad_input=True,
                            mode='reflect')
    assert_equal(np.unravel_index(result.argmax(), result.shape), (4, 0))