title: Algorithm behind scipy.ndimage.measurements.label
body: <p>I sadly cannot find anything on how the "scipy.ndimage.measurements.label" algorithm works but need to know that for my thesis that I have to hand in way too soon. Is there anyone who can help me out here? Here the scipy link: <a href="https://docs.scipy.org/doc/scipy-0.16.0/reference/generated/scipy.ndimage.measurements.label.html" rel="nofollow noreferrer">https://docs.scipy.org/doc/scipy-0.16.0/reference/generated/scipy.ndimage.measurements.label.html</a> and also from the github page where the source links to, I cannot find anything about it. </p>
  
  <p>I could also not find anythin in the more extensive scipy docs (chapter 1.14.7  Segmentation and labeling): </p>
  
  <p><a href="https://docs.scipy.org/doc/scipy-0.16.0/scipy-ref-0.16.0.pdf" rel="nofollow noreferrer">https://docs.scipy.org/doc/scipy-0.16.0/scipy-ref-0.16.0.pdf</a></p>
  
  <p>Any ideas what algorithm is implemented here? It would mean a lot to me if anyone could help! Cheers!</p>