<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def strel_pair(x, y):
 """Create a structing element composed of the origin and another pixel x, y - x and y offsets of the other pixel returns a structuring element """

    x_center = int(np.abs(x))
    y_center = int(np.abs(y))

    result = np.zeros((y_center * 2 + 1, x_center * 2 + 1), bool)
    result[y_center, x_center] = True
    result[y_center + int(y), x_center + int(x)] = True
    return result