title: Guided filter in OpenCV and Python
body: <p>I wanted to use a guided filter on an image to compare bilateral and guided filters, but my guided filter code shows the error:</p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'GuidedFilter'
  </code></pre>
  
  <p>How do I fix this error? My code is as follows:</p>
  
  <pre><code>import cv2
  import numpy as np
  
  img = cv2.imread("C:\\Users\\Saloni\\Pictures\\p1.jpg")    
  guided = cv2.GuidedFilter(img,13,70)    
  cv2.imshow("image",img)    
  cv2.imshow("guided filtering",guided)    
  cv2.waitKey()
  </code></pre>