title: Matlab 'bridge' 'shrink' and 'holes' equivalent morphological operations in openCV
body: <p>I am trying to bridge unconnected pixels in an image using opencv-python. In matlab there is bmmorph function which takes in 'bridge' operation which does this. I am trying to do similar thing using opencv-python. Can anyone tell me what is the equivalent of bridge operation in opencv? </p>
  
  <p>Similarly I am looking for 'shrink' and 'holes' operation too. </p>
  
  <p><a href="https://in.mathworks.com/help/images/ref/bwmorph.html" rel="nofollow noreferrer">Here</a> is the reference I am using: </p>