code: def corner_moravec(image, window_size=1):
      """Compute Moravec corner measure response image.
  
      This is one of the simplest corner detectors and is comparatively fast but
      has several limitations (e.g. not rotation invariant).
  
      Parameters
      ----------
      image : (M, N) ndarray
          Input image.
      window_size : int, optional
          Window size.
  
      Returns
      -------
      response : ndarray
          Moravec response image.
  
      References
      ----------
      .. [1] https://en.wikipedia.org/wiki/Corner_detection
  
      Examples
      --------
      >>> from skimage.feature import corner_moravec
      >>> square = np.zeros([7, 7])
      >>> square[3, 3] = 1
      >>> square.astype(int)
      array([[0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 1, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0]])
      >>> corner_moravec(square).astype(int)
      array([[0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 1, 1, 1, 0, 0],
             [0, 0, 1, 2, 1, 0, 0],
             [0, 0, 1, 1, 1, 0, 0],
             [0, 0, 0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0, 0, 0]])
      """
      image = img_as_float(image)
      float_dtype = _supported_float_type(image.dtype)
      image = image.astype(float_dtype, copy=False)
      return _corner_moravec(np.ascontiguousarray(image), window_size)
  
imports: import functools
  import math
  from itertools import combinations_with_replacement
  import numpy
  from scipy import ndimage
  from scipy import spatial, stats
  from .._shared.filters import gaussian
  from .._shared.utils import _supported_float_type, safe_as_int, warn
  from ..transform import integral_image
  from ..util import img_as_float
  from ._hessian_det_appx import _hessian_matrix_det
  from .corner_cy import _corner_fast, _corner_moravec, _corner_orientations
  from .peak import peak_local_max
  from .util import _prepare_grayscale_input_2D, _prepare_grayscale_input_nD
label_desc: Use image node_id 18 for calling a global function with example usage: corner_moravec(image, window_size) and returns: _corner_moravec