Skip to main content

extract_streams

Function extract_streams 

Source
pub fn extract_streams(accum: &[u32], threshold: u32) -> Vec<bool>
Expand description

Extract stream network by thresholding flow accumulation.

Cells with accumulation ≥ threshold are classified as streams. Returns a boolean mask.