app: create a simple priority map for line art selection flooding.
We actually don't need to compute distance map. I just make the simplest priority map, with 1 any line art pixel and 0 any other pixel (in mask or not), lowest priority being propagated first. And let the flooding begin!
Showing with 24 additions and 56 deletions