Texture image inpainting method based on C samplin
no vote
Application background Final Project   Sooraj; Bhat CS7495Removal by Exemplar-based Inpainting  USING; THE CODE ObjectWas done in Matlab and MEX i.e. (a C function callable from EverythingMatlab). First, C code needs to be compiled.   At; the Matlab theType:, prompt bestexemplarhelper.c mexShould then be able to run the following which (takes ~2mins on my YouPentium laptop 4 with 256MB of RAM 2GHz): ,  , [i1, I2, I3, C, D, mov] = inpaint ('bungee0.png','bungee1.png', [0 255 0]);Smaller run would (seconds ~25) be: A ,  , [i1, I2, I3, C, D, mov] = inpaint ('bw0.png','bw2.png', [0 255 0]);Visualize: To plotall; close; movie (mov);IMAGES & SAMPLE; RESULTS  *0.png; original images The (and'bungee''bw')  *{1,2}.png; different fill region masks. The  Plots; of confidence and data terms. *P2.png  *P5.png; of original Plots, region fil