Am able to select patches
Added code to compute the probability which rates the match along that direction
Basic fill from all directions. Results in good patches on the outside but the innet part of a large region to be filled ends up with bad matches
Replaced naiive suggestion averaging with weighted averaging. Yields less blurry pixels and preseves information from the relevant edges better.
An independent thread continusly repaints the display and the mask-fill loop now continues until it's completely filled. The results are suprisingly good except we get the issue of it severely deteriorating as we reach the center.
Markov painter with local minimization. Problems: Lines don't continue and errors pile up
Changed rgb comparison to hsb comparison. Tried out algorithm with smaller images to see if an iterative approach will work. Nope.