title: Min filter in Python using OpenCV
body: <p>I am trying to apply min filter to some images using the OpenCV library. How can I implement a min filter in Python using OpenCV?
  Is there any function to do that?
  If not, how can I write one?</p>