Phase diagram of a long bar under a higher-order active contour energy: Application to hydrographic network extraction from VHR