Flow accumulation

Algorithm

The accumulated flow value for each pixel is calculated using a recursive function.

When a pixel has neighboring pixels pointing to itself, the values of these neighbours are accumulated, including the value of the pixel itself.

 

See also: