Adaptive river network extraction method using local characteristics of water system