Cython doesn't support broadcasting ? 

    t_row, t_col = np.ogrid[-offset:offset + 1, -offset:offset + 1]

To generate a window about a point `(i, j)`, I do `(i + t_row, j + t_col)`, but 

    TypeError: only integer arrays with one element can be converted to an index