Remove moving objects to get the background from multiple images. [closed]

asked 2014-03-28 08:39:39 -0600

Asif Sharif gravatar image

updated 2014-03-28 10:01:47 -0600

berak gravatar image

Hi. I want to find the background in multiple images captured with a fixed camera. Camera detect moving objects(animal) and captured sequential Images. So I need to find a simple background image by process 5 to 10 captured images with same background. Can someone help me please??

These are some sample images:

image descriptionimage descriptionimage description

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sturkmen
close date 2020-10-05 23:49:39.055358


berak gravatar imageberak ( 2014-03-28 10:06:27 -0600 )edit

See what berak said, especially getBackgroundImage(OutputArray backgroundImage)

Will Stewart gravatar imageWill Stewart ( 2014-03-29 10:26:28 -0600 )edit

i got BG by calculating average of multiple images. but getting small noise.. trying to remove that.

Asif Sharif gravatar imageAsif Sharif ( 2014-04-09 08:43:33 -0600 )edit