Detection of hedges in a rural landscape using a local orientation feature: from linear opening to path opening