title: how to get the gaussian filter?
body: <p>I want to get a Gaussian window of size <code>m rows</code> and <code>n columns</code>. 
  I know how to get to 1-dimension. i.e below.</p>
  
  <pre><code>from scipy.stats import multivariate_normal
  multivariate_normal(mean=[1, 5], cov=(2.5))
  </code></pre>
  
  <p>Now I want two dimensions of a matrix. 
  Purpose: I want fit this filter on top an image. the green color is a matrix of an image. Blue circle is a Gaussian filter. I am not sure how to get the blue window. </p>
  
  <p>I am thinking to apply <strong>something</strong> like this - </p>
  
  <pre><code>gw = multivariate_normal(mean=[1, 5], cov=(2.5))
  
  for i in range(image.shape[0):
      image_gauss_window[i:] = gw
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/OMTja.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OMTja.png" alt="enter image description here"></a> </p>
  
  <p>Can you give a way to find out the Gaussian filter for an image? I see opencv many functions apply a Gaussian blur to an image. But here I want the filter before applying/convolving on top of an image.</p>