Blurred background replacement
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:
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?
What happens if you convert your rgb image to grayscale values?