Blurred background replacement

asked 2019-02-04 13:38:11 -0600

Hi I have the following problem: for fast moving object, certain areas will be blurred due to movement so the pixel color will be a mixture of original object and background. Is it possible to replace the background area with a new color? For example, original image is like this: image description

Apart from the middle black area, its surrounded pixels are a mixture of green and gray, then is it possible to move the object to a white background, so the center is black, and adjacent pixels are gray? Is it doable through OpenCV?

edit retag flag offensive close merge delete

Comments

What happens if you convert your rgb image to grayscale values?

Grillteller gravatar imageGrillteller ( 2019-02-06 02:15:16 -0600 )edit