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-11T01:43:27+00:00
Authentication code: 1151

Retain unchanged parts of an image

Post by keir »

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: 25562
Joined: 2007-07-03T00:14:51+00:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Retain unchanged parts of an image

Post by fmw42 »

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