cvInpaint has a bug?

asked 2016-04-13 23:27:01 -0600

Senoh gravatar image

Hi!

I'm using OpenCV2.4.6, cvInpaint() in a C++ program on a Windows7 64bit machine. When I execute, cvInpaint(in.yuv, mask, out.yuv, 5, CV_INPAINT_NS); if the mask pattern is sticking to the left edge of image, such as mask(0, y)=255, that mask area is not inpainted. This happens here and there, but not always.

How can I complete the inpainting at the left edge of images?

Best regards, Taka Senoh [email protected]

edit retag flag offensive close merge delete

Comments

You could start by skipping the old C-API and moving to the C++ corresponding function especially since you are using OpenCV 2.4.6 ...

StevenPuttemans gravatar imageStevenPuttemans ( 2016-04-14 02:54:23 -0600 )edit

Thanks! I will try the C++ version of inpaint().

Senoh gravatar imageSenoh ( 2016-04-27 00:42:14 -0600 )edit