The separation border is computed using morphological operations. The
weight map is then computed as
w(x) = wc(x) + w0 · exp −(d1(x) + d2(x))2
2σ2 ! (2)
where wc : Ω ! R is the weight map to balance the class frequencies, d1 : Ω ! R
denotes the distance to the border of the nearest cell and d2 : Ω ! R the distance
to the border of the second nearest cell. In our experiments we set w0 = 10 and
σ ≈ 5 pixels.
The separation border is computed using morphological operations. The weight map is then computed as w(x) = wc(x) + w0 · exp −(d1(x) + d2(x))2 2σ2 ! (2) where wc : Ω ! R is the weight map to balance the class frequencies, d1 : Ω ! R denotes the distance to the border of the nearest cell and d2 : Ω ! R the distance to the border of the second nearest cell. In our experiments we set w0 = 10 and σ ≈ 5 pixels.