title: I don't know how can I solve OpenCV Python problem
body: <p>The original assignment is</p>
  <pre><code>Use np.array() to generate the following 8-bit image and obtain the result of applying the following mask: 
  However, the edges are padded to zero. (cv2.BORDER_CONSTANT)
  
  [[10, 20, 40, 50]
   [50, 20, 50, 20]
   [10, 10, 30, 60]
   [20, 40, 60, 70]]
  
  (a) 3x3 average filter
  (b) 3x3 gaussian filter, sigmaX=0
  (c) If the results of (a) and (b) are M(x,y) and G(x,y), 
      respectively, calculate M(0,0) and G(0,0) and show that 
      they are consistent with the results of (a) and (b).
  </code></pre>
  <p>The problem is,</p>
  <p>(a) - 3x3 average filter</p>
  <p>(b) - 3x3 gaussian filter, sigmaX=0</p>
  <p>And the result of (a) is M(x, y) and the result of (b) is G(x, y)</p>
  <p>So I should show that M(0, 0) and G(0, 0) are correct.</p>
  <p>I wrote code, but I can't solve this problem.</p>
  <p>How can I solve this problem ....</p>
  <p>The code -</p>
  <pre><code>import cv2
  import numpy as np
  
  src = np.array([[10, 20, 40, 50],
                   [50, 20, 50, 20],
                   [10, 10, 30, 60],
                   [20, 40, 60, 70]], dtype=np.uint8)
  
  dst1 = cv2.blur(src, ksize=(3, 3), borderType=cv2.BORDER_CONSTANT)
  dst2 = cv2.GaussianBlur(src, ksize=(3, 3), sigmaX=0, borderType=cv2.BORDER_CONSTANT)
  
  print(dst1)
  print(dst1[0][0])
  print(dst2)
  print(dst2[0][0])
  print(dst1[0][0] == dst2[0][0])
  </code></pre>
  <p>The result -</p>
  <p><a href="https://i.stack.imgur.com/6Vyhi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Vyhi.png" alt="enter image description here" /></a></p>
  <p>M(0, 0) is 11(dst1[0][0]) and G(0, 0) is 13(dst2[0][0])</p>
  <p>I mean, I need to make dst1[0][0] and dst2[0][0] match.</p>
  <p>but the result does not match.</p>
  <p>Sorry for my bad English skill .....</p>