Automatic detection of perforators for microsurgical reconstruction