Test if binary image is percolated
p = percol(img [,direction])
Function percol tests if an image is 4-connected from side to side. This is useful for analysing images comming from site percolation simulations. The percol routine has the advantage to be implemented in the C language.
http://siptoolbox.sourceforge.net