Retain unchanged parts of an image

Discuss digital image processing techniques and algorithms. We encourage its application to ImageMagick but you can discuss any software solutions here.
Post Reply
Posts: 1
Joined: 2017-08-10T18:43:27-07:00
Authentication code: 1151

Retain unchanged parts of an image

Post by keir » 2017-08-10T19:02:10-07:00

I have a series of images of an object taken on a tripod. People kept moving in and out of the pictures. I would like to take this time series set of pictures and remove the differences.

The command "convert -average" almost does this but leaves "ghosts" of the objects that move in an out of the photo.

How can I preserve those parts of the photo that are constant, removing the changed parts

User avatar
Posts: 22802
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Retain unchanged parts of an image

Post by fmw42 » 2017-08-10T19:36:22-07:00

You could use compare to find the frame-to-frame difference or -compose difference. Then make those parts transparent and possibly fill the holes.


Post Reply