I have a 3D data set sampled on a regular grid shown in the Figure below. This data can be interpreted as an image where the point altitude is equivalent to the pixel intensity value.

In the middle of my 3D data, I have a peak, that becomes a bright spot when the data is interpreted as an image. My goal is to remove this hot spot from my data.

I was told to try some image inpainting techniques to remove it without introducing too many artifacts. After searching available implementations, I've found two algorithms already implemented in the opencv library:

  • one is the Navier-Stokes Inpainting by Bertalmio et al.;
  • the other one is a fast marching based approach by Telea;

but I don't know which one to use.

Is any of these methods suitable for my task? Which of these methods (if any) should I use?

Thank you.

my image


closed as off-topic by jonsca, Phonon Oct 24 '13 at 0:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "General programming questions are off-topic here, but can be asked on Stack Overflow." – jonsca, Phonon
If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ I've rephrased the question to make clear that you are asking about algorithm suitability and not about implementation. I will answer on SO later if the question does not get re-opened here. $\endgroup$ – sansuiso Oct 24 '13 at 7:32
  • $\begingroup$ Thanks for your revision. It could be used to pure 3d data set? How to estimate the result precisely?visual check? $\endgroup$ – questionhang Oct 24 '13 at 8:20