parameters: (ws, hs, x_ctr, y_ctr)
return_statement: return anchors
docstring: Given a vector of widths (ws) and heights (hs) around a center
      (x_ctr, y_ctr), output a set of anchors (windows).
docstring_summary: Given a vector of widths (ws) and heights (hs) around a center
      (x_ctr, y_ctr), output a set of anchors (windows).
docstring_tokens: Given a vector of widths ( ws ) and heights ( hs ) around a center ( x_ctr y_ctr ) output a set of anchors ( windows ) .
function: def _mkanchors(ws, hs, x_ctr, y_ctr):
      """
      Given a vector of widths (ws) and heights (hs) around a center
      (x_ctr, y_ctr), output a set of anchors (windows).
      """
  
      ws = ws[:, np.newaxis]
      hs = hs[:, np.newaxis]
      anchors = np.hstack((x_ctr - 0.5 * (ws - 1),
                           y_ctr - 0.5 * (hs - 1),
                           x_ctr + 0.5 * (ws - 1),
                           y_ctr + 0.5 * (hs - 1)))
      return anchors
function_tokens: def _mkanchors ( ws , hs , x_ctr , y_ctr ) : ws = ws [ : , np . newaxis ] hs = hs [ : , np . newaxis ] anchors = np . hstack ( ( x_ctr - 0.5 * ( ws - 1 ) , y_ctr - 0.5 * ( hs - 1 ) , x_ctr + 0.5 * ( ws - 1 ) , y_ctr + 0.5 * ( hs - 1 ) ) ) return anchors