darrenlafreniere / lafarren-image-completer

Implementation of the research titled: "Image Completion Using Efficient Belief Propagation via Priority Scheduling and Dynamic Pruning"
http://www.lafarren.com/image-completer/
GNU General Public License v3.0
32 stars 18 forks source link

Optionally apply blending to the known region #45

Open daviddoria opened 13 years ago

daviddoria commented 13 years ago

In compositor.cpp, line 55 mentions a TODO to make this blending optional. We should do this :)


Original post: I tried using a mask with some sporadic masked pixels (imagine an all white mask except for a single missing pixel). The algorithm seems to fill a 3x4 block around the pixel instead of just the missing pixel - is this expected?