valleyDeeperThan
True if connected segments @param a, @param b form a Valley on channel @param canal
and the Valley relative intensity is above @param val
valleyDepth
Assuming that @param a and @param b forms a valley, this function returns the height
of its deepest slope according to @param canal channel values