jospina65
(Juan Ospina)
1
I am trying to perform an inpainting experiment with Mathematica 10 for the following picture
I am using the following code
and I am obtaining the following result
It is observed that “diffusion” and “Navier Stokes” are performing well but "total variation " is not performing well.
My question is: why “total variation” is not performing well in this experiment?
jospina65
(Juan Ospina)
2
The answer is that the number of iiterations must be increased. Using the following code
Inpaint[img, Dilation[Binarize[img, {0.9, 1}], 1], Method → #,
MaxIterations → 1000] & /@ { “Diffusion”, “NavierStokes”,
“TotalVariation”}
I am obtaining the following results
It is observed that now, the “total variation” is performing better than “diffusion” and “Navier Stokes”.