The barebone of Image Foresting Trasnform